;Imports of cl_main_mp:
	extern _Z8FS_WritePKvii
	extern memset
	extern cl_cdkey
	extern _Z6strlwrPc
	extern _Z7MD5InitP7MD5_CTXm
	extern _Z9MD5UpdateP7MD5_CTXPhj
	extern _Z8MD5FinalP7MD5_CTX
	extern sprintf
	extern _Z16DB_AddUserMapDirPKc
	extern _Z16DB_ResetZoneSizei
	extern _Z11Com_sprintfPciPKcz
	extern _Z14DB_LoadXAssetsP9XZoneInfoji
	extern _Z14DB_SyncXAssetsv
	extern _Z18DB_UpdateDebugZonev
	extern _Z17Com_ShutdownWorldv
	extern useFastFile
	extern _Z10R_Shutdowni
	extern _Z24Con_ShutdownClientAssetsv
	extern _Z11CM_Shutdownv
	extern cmd_args
	extern _Z10Com_PrintfiPKcz
	extern com_sv_running
	extern _Z9I_stricmpPKcS0_
	extern _Z16FS_FOpenFileReadPKcPi
	extern _Z10I_strncpyzPcPKci
	extern _Z9Con_Closei
	extern _Z2vaPKcz
	extern _Z9Com_Error11errorParm_tPKcz
	extern _Z14NET_CompareAdr8netadr_tS_
	extern _Z23SEH_SafeTranslateStringPKc
	extern _Z26UI_ReplaceConversionStringPKcS0_
	extern _Z14CL_VoicePacketiP5msg_t
	extern atoi
	extern _Z11Com_DPrintfiPKcz
	extern _Z18NET_CompareBaseAdr8netadr_tS_
	extern _Z15NET_AdrToString8netadr_t
	extern _Z19CL_ServerInfoPacket8netadr_tP5msg_ti
	extern g_qport
	extern _Z13Netchan_Setup8netsrc_tP9netchan_t8netadr_tiPciS3_i
	extern fs_gameDirVar
	extern _Z23CL_ServerStatusResponse8netadr_tP5msg_t
	extern _Z28LiveStorage_ReadStatsFromDirPKc
	extern _Z18NET_OutOfBandPrint8netsrc_t8netadr_tPKc
	extern _Z17MSG_ReadBigStringP5msg_t
	extern _Z16Com_PrintMessageiPKci
	extern _Z9I_strncmpPKcS0_i
	extern _Z24CL_ServersResponsePacket8netadr_tP5msg_t
	extern _Z23SEH_LocalizeTextMessagePKcS0_15msgLocErrType_t
	extern _Z16UI_CloseAllMenusi
	extern _Z12Cbuf_AddTextiPKc
	extern _Z18MSG_ReadStringLineP5msg_t
	extern _Z14Dvar_SetStringPK6dvar_sPKc
	extern _Z12Cbuf_Executeii
	extern _Z16Sys_Millisecondsv
	extern printf
	extern _Z13FS_FCloseFilei
	extern _Z10Com_Quit_fv
	extern _Z9R_SyncGpuPFiyE
	extern _Z22R_AddCmdDrawStretchPicffffffffPKfP8Material
	extern _Z18ScrPlace_ApplyRectPK15ScreenPlacementPfS2_S2_S2_ii
	extern _Z16R_AddCmdDrawTextPKciP6Font_sfffffPKfi
	extern com_expectedHunkUsage
	extern _Z9UI_SetMapPKcS0_
	extern _Z16SCR_UpdateScreenv
	extern _ZN10LargeLocalC1Ei
	extern _ZN10LargeLocal6GetBufEv
	extern _ZN10LargeLocalD1Ev
	extern _Z13FS_FileExistsPKc
	extern _Z17FS_FOpenFileWritePKc
	extern _Z14Com_PrintErroriPKcz
	extern _Z8MSG_InitP5msg_tPhi
	extern _Z13MSG_WriteLongP5msg_ti
	extern _Z13MSG_WriteByteP5msg_ti
	extern _Z14MSG_WriteShortP5msg_ti
	extern _Z13MSG_WriteBit0P5msg_t
	extern _Z13MSG_WriteBitsP5msg_tii
	extern _Z18MSG_WriteBigStringP5msg_tPKc
	extern svsHeader
	extern _Z15MSG_WriteEntityP14SnapshotInfo_sP5msg_tiPK13entityState_sS5_i
	extern _Z21MSG_WriteBitsCompresshPKhPhi
	extern _Unwind_Resume
	extern _Z9I_strncatPciPKc
	extern putenv
	extern getenv
	extern _Z10Sys_ShowIPv
	extern _Z15Com_SyncThreadsv
	extern puts
	extern _Z16Sys_IsMainThreadv
	extern _Z20CL_ShutdownDebugDatav
	extern _Z12SND_Shutdownv
	extern _Z16CL_ShutdownInputv
	extern _Z17Cmd_RemoveCommandPKc
	extern _Z15UI_IsFullscreeni
	extern _Z16CL_ShutdownCGamei
	extern _Z13Phys_Shutdownv
	extern _Z13CL_ShutdownUIv
	extern _Z26Com_ClientDObjClearAllSkeli
	extern legacyHacks
	extern _Z17SCR_StopCinematici
	extern _Z16Ragdoll_Shutdownv
	extern _Z17CL_ClearMutedListv
	extern _Z17DynEntCl_Shutdowni
	extern _Z22SND_DisconnectListeneri
	extern sv_disableClientConsole
	extern _Z12Dvar_SetBoolPK6dvar_sh
	extern cl_connectedToPureServer
	extern fs_checksumFeed
	extern _Z23LiveStorage_UploadStatsi
	extern _Z33LiveStorage_ReadStatsIfDirChangedi
	extern _Z17DL_CancelDownloadv
	extern _Z32MSG_WriteReliableCommandToBufferPKcPci
	extern _Z14CL_WritePacketi
	extern _Z24Cmd_ExecuteSingleCommandiiPKc
	extern _Z19FS_DisablePureCheckh
	extern nextmap
	extern _Z11UI_CloseAlli
	extern _Z15NET_StringToAdrPKcP8netadr_t
	extern _Z17SND_FadeAllSoundsfi
	extern _Z18Cbuf_ExecuteBufferiiPKc
	extern _Z14SND_StopSounds20snd_stopsounds_arg_t
	extern atof
	extern floorf
	extern _Z23Material_RegisterHandlePKci
	extern _Z16UI_SetActiveMenuii
	extern _Z15Netchan_ProcessP9netchan_tP5msg_t
	extern _Z12MSG_ReadLongP5msg_t
	extern _Z17CL_Netchan_DecodePhi
	extern _Z21CL_ParseServerMessageiP5msg_t
	extern _Z18R_SyncRenderThreadv
	extern _Z13StatMon_Resetv
	extern _Z18PIXBeginNamedEventiPKcz
	extern _Z16SND_PlayFXSoundsv
	extern _Z23SND_UpdateLoopingSoundsv
	extern _Z10SND_Updatev
	extern _Z15Dvar_InfoStringii
	extern _Z10Info_PrintPKc
	extern _Z19R_BeginRegistrationP11vidConfig_t
	extern scrPlaceFullUnsafe
	extern _Z28ScrPlace_SetupUnsafeViewportP15ScreenPlacementiiii
	extern scrPlaceFull
	extern _Z22ScrPlace_SetupViewportP15ScreenPlacementiiii
	extern scrPlaceView
	extern _Z14R_RegisterFontPKci
	extern g_console_field_width
	extern g_consoleField
	extern g_console_char_height
	extern _Z20Con_InitClientAssetsv
	extern strchr
	extern memmove
	extern _Z21CL_IsCgameInitializedi
	extern _Z17NET_OutOfBandData8netsrc_t8netadr_tPKhi
	extern _Z12PbSvAddEventiiiPc
	extern _Z16UI_GetActiveMenui
	extern _Z16DB_ModFileExistsv
	extern _Z15R_MakeDedicatedPK16GfxConfiguration
	extern _Z20Sys_HideSplashWindowv
	extern _Z15Sys_ShowConsolev
	extern _Z14Sys_NormalExitv
	extern _Z17Dvar_RegisterBoolPKchtS0_
	extern _Z11FS_ShiftStrPKci
	extern _Z25FS_CompareWithServerFilesPcii
	extern _Z15CG_GetClientNumi
	extern Z_VirtualAllocInternal
	extern _Z22MemFile_InitForWritingP10MemoryFileiPvhh
	extern _Z8SND_SaveP10MemoryFile
	extern _Z20MemFile_StartSegmentP10MemoryFilei
	extern memcpy
	extern Z_VirtualFreeInternal
	extern _Z17SND_SaveListenersP12snd_listener
	extern _Z14SND_InitDriverv
	extern _Z8SND_Initv
	extern _Z20SND_RestoreListenersP12snd_listener
	extern _Z22MemFile_InitForReadingP10MemoryFileiPvh
	extern _Z11SND_RestoreP10MemoryFile
	extern _Z21MemFile_MoveToSegmentP10MemoryFilei
	extern _Z33FS_ShutDownIwdPureCheckReferencesv
	extern _Z11Com_Restartv
	extern _Z16Dvar_RegisterIntPKciiitS0_
	extern _Z21FS_ConditionalRestartii
	extern _Z22SEH_UpdateLanguageInfov
	extern cl_paused
	extern _Z11Dvar_SetIntPK6dvar_si
	extern _Z19R_ConfigureRendererPK16GfxConfiguration
	extern com_dedicated
	extern _Z21CL_ArchiveClientStateiP10MemoryFilei
	extern _Z21LiveStorage_ReadStatsi
	extern _Z18CL_GetConfigStringii
	extern _Z16Info_ValueForKeyPKcS0_
	extern _Z12CL_InitCGamei
	extern _Z29FS_ReferencedIwdPureChecksumsv
	extern _Z9CL_InitUIv
	extern _Z19CL_WriteVoicePacketi
	extern _Z19Info_SetValueForKeyPcPKcS1_
	extern _Z18PbClientConnectingiPcPi
	extern dvar_modifiedFlags
	extern _Z15MSG_WriteStringP5msg_tPKc
	extern _Z25LiveStorage_DoWeHaveStatsi
	extern _Z25LiveStorage_GetStatBufferi
	extern _Z13MSG_WriteDataP5msg_tPKvi
	extern net_lanauthorize
	extern _Z16Sys_IsLANAddress8netadr_t
	extern _Z10Com_MemsetPvii
	extern _Z8BigShorts
	extern _Z18Dvar_SetBoolByNamePKch
	extern _Z13FS_LoadedIwdsPPKcS1_
	extern _Z7FS_ReadPvii
	extern _Z26UI_AllowScriptMenuResponsei
	extern _Z11Dvar_GetIntPKc
	extern sv_voice
	extern cl_talking
	extern _Z16IN_IsTalkKeyHeldv
	extern _Z10FS_Restartii
	extern fs_homepath
	extern _Z9Sys_MkdirPKc
	extern _Z14Cmd_ArgsBufferiPci
	extern _Z26R_AddCmdDrawTextWithCursorPKciP6Font_sfffffPKfiic
	extern _Z17FS_ReferencedIwdsPPKcS1_
	extern _Z23Sys_QuitAndStartProcessPKcS0_
	extern _Z16MSG_BeginReadingP5msg_t
	extern _Z30CL_Netchan_AddOOBProfilePacketii
	extern strncasecmp
	extern showpackets
	extern _Z18Cmd_TokenizeStringPKc
	extern _Z22Cmd_EndTokenizedStringv
	extern _Z12PbClAddEventiiPc
	extern cl_cdkeychecksum
	extern _Z16CL_CDKeyValidatePKcS0_
	extern _Z12Dvar_GetBoolPKc
	extern _Z19Sys_MillisecondsRawv
	extern _Z8ms_srandj
	extern _Z8Con_Initv
	extern _Z12CL_InitInputv
	extern _Z19Dvar_RegisterStringPKcS0_tS0_
	extern _Z18Dvar_RegisterFloatPKcffftS0_
	extern cl_yawspeed
	extern cl_pitchspeed
	extern cl_anglespeedkey
	extern cl_bypassMouseInput
	extern vehDriverViewHeightMin
	extern vehDriverViewHeightMax
	extern _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	extern _Z20Cbuf_AddServerText_fv
	extern _Z28Cmd_AddServerCommandInternalPKcPFvvEP14cmd_function_s
	extern _Z19Cmd_SetAutoCompletePKcS0_S0_
	extern _Z18CL_PlayCinematic_fv
	extern _Z29CL_PlayUnskippableCinematic_fv
	extern _Z12CL_Connect_fv
	extern _Z18CL_GlobalServers_fv
	extern _Z11CL_RconInitv
	extern _Z9CL_Rcon_fv
	extern _Z9CL_Ping_fv
	extern _Z17CL_ServerStatus_fv
	extern _Z23CL_UpdateLevelHunkUsagev
	extern _Z16CL_CubemapShot_fv
	extern _Z33Com_WriteLocalizedSoundAliasFilesv
	extern _Z14UI_CloseMenu_fv
	extern _Z33CL_SelectStringTableEntryInDvar_fv
	extern _Z8SCR_Initv
	extern _Z16CG_RegisterDvarsv
	extern _Z16Ragdoll_Registerv
	extern _Z8IN_Framev
	extern com_timescaleValue
	extern com_frameTime
	extern _Z27R_AddCmdDrawTextWithEffectsPKciP6Font_sfffffPKfiS4_P8MaterialS6_iiii
	extern _Z23Voice_GetLocalVoiceDataP19ClientVoicePacket_t
	extern _Z14Voice_Playbackv
	extern _Z14CL_UpdateColori
	extern _Z13DL_InProgressv
	extern _Z15CL_SetCGameTimei
	extern _Z29CL_CreateCmdsDuringConnectioni
	extern sv_paused
	extern _Z14CL_WWWDownloadv
	extern _Z10CL_SendCmdi

;Exports of cl_main_mp:
	global _Z25CL_WriteDemoClientArchivePK18clientConnection_tPK14clientActive_tii
	global _Z23CL_BuildMd5StrFromCDKeyPc
	global _Z17LoadMapLoadscreenPKc
	global _Z19CL_ShutdownRendereri
	global _ZZ21CL_GetServerIPAddressvE17szServerIPAddress
	global _ZZ17CL_CheckForResendiE9msgBuffer
	global _ZZ24CL_InitOnceForAllClientsvE19CL_ResetStats_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE37CL_SelectStringTableEntryInDvar_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE18UI_CloseMenu_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE37Com_WriteLocalizedSoundAliasFiles_VAR
	global _ZZ24CL_InitOnceForAllClientsvE23CL_OpenScriptMenu_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE20CL_CubemapShot_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE26CL_startSingleplayer_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE27CL_UpdateLevelHunkUsage_VAR
	global _ZZ24CL_InitOnceForAllClientsvE26CL_ReferencedIWDList_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE22CL_OpenedIWDList_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE19CL_ToggleMenu_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE15CL_ShowIP_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE15CL_Setenv_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE28CL_ServerStatus_f_VAR_SERVER
	global _ZZ24CL_InitOnceForAllClientsvE21CL_ServerStatus_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE20CL_Ping_f_VAR_SERVER
	global _ZZ24CL_InitOnceForAllClientsvE13CL_Ping_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE13CL_Rcon_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE22CL_GlobalServers_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE21CL_LocalServers_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE25CL_Reconnect_f_VAR_SERVER
	global _ZZ24CL_InitOnceForAllClientsvE18CL_Reconnect_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE23CL_Connect_f_VAR_SERVER
	global _ZZ24CL_InitOnceForAllClientsvE16CL_Connect_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE17CL_PlayLogo_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE33CL_PlayUnskippableCinematic_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE22CL_PlayCinematic_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE24CL_PlayDemo_f_VAR_SERVER_0
	global _ZZ24CL_InitOnceForAllClientsvE17CL_PlayDemo_f_VAR_0
	global _ZZ24CL_InitOnceForAllClientsvE24CL_PlayDemo_f_VAR_SERVER
	global _ZZ24CL_InitOnceForAllClientsvE17CL_PlayDemo_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE19CL_StopRecord_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE15CL_Record_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE26CL_Disconnect_f_VAR_SERVER
	global _ZZ24CL_InitOnceForAllClientsvE19CL_Disconnect_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE27CL_Snd_Restart_f_VAR_SERVER
	global _ZZ24CL_InitOnceForAllClientsvE20CL_Snd_Restart_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE27CL_Vid_Restart_f_VAR_SERVER
	global _ZZ24CL_InitOnceForAllClientsvE20CL_Vid_Restart_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE19CL_Clientinfo_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE22CL_Configstrings_f_VAR
	global _ZZ24CL_InitOnceForAllClientsvE24CL_ForwardToServer_f_VAR
	global _Z15CL_Disconnect_fv
	global _Z13CL_PlayDemo_fv
	global _ZZ11CL_ShutdowniE9recursive
	global _Z19CL_DisconnectPacketi8netadr_tPKc
	global _ZZ31CL_DispatchConnectionlessPacketi8netadr_tP5msg_tiE8printBuf
	global _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti
	global _Z16CL_DemoCompletedi
	global _Z10CL_SyncGpuPFiyE
	global _Z11CL_DrawLogoi
	global _Z11CL_DrawTextPK15ScreenPlacementPKciP6Font_sffiiffPKfi
	global _Z11CL_InitLoadPKcS0_
	global _Z11CL_Record_fv
	global _Z11CL_Setenv_fv
	global _Z11CL_ShowIP_fv
	global _Z11CL_Shutdowni
	global _Z13CL_ClearStatei
	global _Z13CL_Disconnecti
	global _Z13CL_IsUIActivei
	global _Z13CL_MapLoadingPKc
	global _Z13CL_PlayLogo_fv
	global _Z14CL_PacketEventi8netadr_tP5msg_ti
	global _Z14CL_Reconnect_fv
	global _Z14CL_ShutdownAllv
	global _Z14CL_ShutdownRefv
	global _Z14CL_UpdateSoundv
	global _Z14PBget_cl_cdkeyPc
	global _Z15CL_Clientinfo_fv
	global _Z15CL_GetMapCenterv
	global _Z15CL_InitRendererv
	global _Z15CL_NextDownloadi
	global _Z15CL_RegisterFontPKci
	global _Z15CL_ResetStats_fv
	global _Z15CL_SendPbPacketiiPc
	global _Z15CL_ShutdownDemov
	global _Z15CL_StopRecord_fv
	global _Z15CL_ToggleMenu_fv
	global _Z15PB_Q_Serveraddri
	global _Z15PB_Q_Serverinfoi
	global _Z16CL_BeginDownloadPKcS0_
	global _Z16CL_GetServerListiPP12serverInfo_tPi
	global _Z16CL_InitDedicatedv
	global _Z16CL_InitDownloadsi
	global _Z16CL_IsClientLocali
	global _Z16CL_Snd_Restart_fv
	global _Z16CL_Vid_Restart_fv
	global _Z16CL_VoiceTransmiti
	global _Z17CL_CheckForResendi
	global _Z17CL_DrawTextRotatePK15ScreenPlacementPKciP6Font_sfffiiffPKfi
	global _Z17CL_LocalServers_fv
	global _Z17CL_StartHunkUsersv
	global _Z17set_cl_punkbusterPc
	global _Z18CL_Configstrings_fv
	global _Z18CL_DisconnectErrorPKc
	global _Z18CL_OpenedIWDList_fv
	global _Z18CL_ReadDemoMessagei
	global _Z19CL_DrawTextPhysicalPKciP6Font_sffffPKfi
	global _Z19CL_OpenScriptMenu_fv
	global _Z19CL_ShouldDisplayHudi
	global _Z19CL_UpdateDirtyPingsii
	global _Z19Voice_SendVoiceDatav
	global _Z20CL_DownloadsCompletei
	global _Z20CL_ForwardToServer_fv
	global _Z20CL_ShutdownHunkUsersv
	global _Z20Client_SendVoiceDataiPc
	global _Z21CL_AddReliableCommandiPKc
	global _Z21CL_DrawTextWithCursorPK15ScreenPlacementPKciP6Font_sffiiffPKfiic
	global _Z21CL_GetServerIPAddressv
	global _Z21CL_IsServerLoadingMapv
	global _Z21CL_ResetSkeletonCachei
	global _Z21CL_ScaledMillisecondsv
	global _Z22CL_ClearStaticDownloadv
	global _Z22CL_IsLocalClientActivei
	global _Z22CL_ReferencedIWDList_fv
	global _Z22CL_StopLogoOrCinematici
	global _Z22CL_WasMapAlreadyLoadedi
	global _Z22CL_startSingleplayer_fv
	global _Z23CL_ConnectionlessPacketi8netadr_tP5msg_ti
	global _Z23CL_RequestAuthorizationi
	global _Z23CL_SetupForNewServerMapPKcS0_
	global _Z24CL_DisconnectLocalClienti
	global _Z24CL_InitOnceForAllClientsv
	global _Z24CL_RunOncePerClientFrameii
	global _Z25CL_AnyLocalClientsRunningv
	global _Z25CL_ForwardCommandToServeriPKc
	global _Z25CL_IsRenderingSplitScreenv
	global _Z26CL_IsLastActiveLocalClienti
	global _Z27CL_IsFirstActiveLocalClienti
	global _Z28CL_GetFirstActiveLocalClientv
	global _Z28CL_GetLocalClientActiveCountv
	global _Z28CL_GetUsernameForLocalClienti
	global _Z29CL_DrawTextPhysicalWithCursorPKciP6Font_sffffPKfiic
	global _Z29CL_IsWaitingOnServerToLoadMapi
	global _Z30CL_AllLocalClientsDisconnectedv
	global _Z30CL_DrawTextPhysicalWithEffectsPKciP6Font_sffffPKfiS4_P8MaterialS6_iiii
	global _Z30CL_SetWaitingOnServerToLoadMapih
	global _Z31CL_ControllerIndexFromClientNumi
	global _Z32CL_LocalActiveIndexFromClientNumi
	global _Z7CL_Initi
	global _Z8CL_Frameii
	global clientUIActives
	global g_waitingForServer
	global clients
	global cls
	global cl_noprint
	global cl_waitingOnServerToLoadMap
	global clientConnections
	global nextdemo
	global cl_activeAction
	global cl_freezeDemo
	global cl_serverLoadingMap
	global cl_showServerCommands
	global cl_showTimeDelta
	global cl_freelook
	global cl_maxpackets
	global cl_mouseAccel
	global cl_nodelta
	global cl_packetdup
	global cl_sensitivity
	global cl_showMouseRate
	global cl_showSend
	global frame_msec
	global m_filter
	global m_forward
	global m_pitch
	global m_side
	global m_yaw
	global cl_allowDownload
	global cl_avidemo
	global cl_connectTimeout
	global cl_connectionAttempts
	global cl_forceavidemo
	global cl_hudDrawsBehindUI
	global cl_inGameVideo
	global cl_ingame
	global cl_maxppf
	global cl_motdString
	global cl_pinglist
	global cl_serverStatusResendTime
	global cl_shownet
	global cl_shownuments
	global cl_timeout
	global cl_voice
	global cl_voiceCommunication
	global cl_wwwDownload
	global customClassDvars
	global customclass
	global lastUpdateKeyAuthTime
	global motd
	global name
	global old_com_frameTime
	global onlinegame


SECTION .text


;CL_WriteDemoClientArchive(clientConnection_t const*, clientActive_t const*, int, int)
_Z25CL_WriteDemoClientArchivePK18clientConnection_tPK14clientActive_tii:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov esi, eax
	mov ebx, [ebp+0x8]
	lea ebx, [ebx+ebx*2]
	shl ebx, 0x4
	lea ebx, [ebx+edx+0x666c0]
	lea edi, [ebx+0xc]
	mov byte [ebp-0x19], 0x1
	mov eax, [eax+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x1
	lea eax, [ebp-0x19]
	mov [esp], eax
	call _Z8FS_WritePKvii
	mov eax, [esi+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x4
	lea eax, [ebp+0x8]
	mov [esp], eax
	call _Z8FS_WritePKvii
	mov eax, [esi+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0xc
	lea eax, [ebx+0x10]
	mov [esp], eax
	call _Z8FS_WritePKvii
	mov eax, [esi+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0xc
	lea eax, [ebx+0x1c]
	mov [esp], eax
	call _Z8FS_WritePKvii
	mov eax, [esi+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x4
	lea eax, [ebx+0x2c]
	mov [esp], eax
	call _Z8FS_WritePKvii
	mov eax, [esi+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x4
	lea eax, [ebx+0x28]
	mov [esp], eax
	call _Z8FS_WritePKvii
	mov eax, [esi+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x4
	mov [esp], edi
	call _Z8FS_WritePKvii
	mov eax, [esi+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0xc
	add ebx, 0x30
	mov [esp], ebx
	call _Z8FS_WritePKvii
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;CL_BuildMd5StrFromCDKey(char*)
_Z23CL_BuildMd5StrFromCDKeyPc:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x11c
	mov [ebp-0xcc], eax
	mov dword [esp+0x8], 0x40
	mov dword [esp+0x4], 0x0
	lea eax, [ebp-0x58]
	mov [esp], eax
	call memset
	mov eax, cl_cdkey
	mov [ebp-0xd0], eax
	cld
	mov ecx, 0xffffffff
	xor eax, eax
	mov edi, [ebp-0xd0]
	repne scasb
	not ecx
	sub ecx, 0x1
	cmp ecx, 0x20
	jle _Z23CL_BuildMd5StrFromCDKeyPc_10
	mov ecx, 0x20
_Z23CL_BuildMd5StrFromCDKeyPc_130:
	xor ebx, ebx
	xor esi, esi
	jmp _Z23CL_BuildMd5StrFromCDKeyPc_20
_Z23CL_BuildMd5StrFromCDKeyPc_40:
	mov [ebp+esi-0x58], dl
	add esi, 0x1
	add ebx, 0x1
	cmp ecx, ebx
	jz _Z23CL_BuildMd5StrFromCDKeyPc_30
_Z23CL_BuildMd5StrFromCDKeyPc_20:
	mov eax, [ebp-0xd0]
	movzx edx, byte [ebx+eax]
	lea eax, [edx-0x30]
	cmp al, 0x9
	jbe _Z23CL_BuildMd5StrFromCDKeyPc_40
	lea eax, [edx-0x61]
	cmp al, 0x19
	jbe _Z23CL_BuildMd5StrFromCDKeyPc_40
	lea eax, [edx-0x41]
	cmp al, 0x19
	jbe _Z23CL_BuildMd5StrFromCDKeyPc_40
	add ebx, 0x1
	cmp ecx, ebx
	jnz _Z23CL_BuildMd5StrFromCDKeyPc_20
_Z23CL_BuildMd5StrFromCDKeyPc_30:
	mov byte [ebp+esi-0x58], 0x0
	lea esi, [ebp-0x58]
_Z23CL_BuildMd5StrFromCDKeyPc_70:
	movzx eax, byte [esi]
	cmp al, 0x20
	jz _Z23CL_BuildMd5StrFromCDKeyPc_50
	cmp al, 0x9
	jz _Z23CL_BuildMd5StrFromCDKeyPc_50
	cmp al, 0xa
	jz _Z23CL_BuildMd5StrFromCDKeyPc_50
	cmp al, 0xd
	jnz _Z23CL_BuildMd5StrFromCDKeyPc_60
_Z23CL_BuildMd5StrFromCDKeyPc_50:
	add esi, 0x1
	jmp _Z23CL_BuildMd5StrFromCDKeyPc_70
_Z23CL_BuildMd5StrFromCDKeyPc_60:
	test al, al
	jz _Z23CL_BuildMd5StrFromCDKeyPc_80
	mov ecx, esi
	mov edx, esi
_Z23CL_BuildMd5StrFromCDKeyPc_110:
	cmp al, 0xa
	jz _Z23CL_BuildMd5StrFromCDKeyPc_90
	cmp al, 0xd
	jz _Z23CL_BuildMd5StrFromCDKeyPc_90
	add edx, 0x1
	mov ecx, edx
	movzx eax, byte [edx]
	test al, al
	jz _Z23CL_BuildMd5StrFromCDKeyPc_100
_Z23CL_BuildMd5StrFromCDKeyPc_120:
	cmp al, 0x20
	jz _Z23CL_BuildMd5StrFromCDKeyPc_90
	cmp al, 0x9
	jnz _Z23CL_BuildMd5StrFromCDKeyPc_110
_Z23CL_BuildMd5StrFromCDKeyPc_90:
	add edx, 0x1
	movzx eax, byte [edx]
	test al, al
	jnz _Z23CL_BuildMd5StrFromCDKeyPc_120
_Z23CL_BuildMd5StrFromCDKeyPc_100:
	mov byte [ecx], 0x0
	mov [esp], esi
	call _Z6strlwrPc
	mov dword [esp+0x4], 0xb684a3
	lea ebx, [ebp-0xc0]
	mov [esp], ebx
	call _Z7MD5InitP7MD5_CTXm
	cld
	mov ecx, 0xffffffff
	xor eax, eax
	mov edi, esi
	repne scasb
	not ecx
	sub ecx, 0x1
	mov [esp+0x8], ecx
	mov [esp+0x4], esi
	mov [esp], ebx
	call _Z9MD5UpdateP7MD5_CTXPhj
	mov [esp], ebx
	call _Z8MD5FinalP7MD5_CTX
	movzx eax, byte [ebp-0x59]
	mov [esp+0x44], eax
	movzx eax, byte [ebp-0x5a]
	mov [esp+0x40], eax
	movzx eax, byte [ebp-0x5b]
	mov [esp+0x3c], eax
	movzx eax, byte [ebp-0x5c]
	mov [esp+0x38], eax
	movzx eax, byte [ebp-0x5d]
	mov [esp+0x34], eax
	movzx eax, byte [ebp-0x5e]
	mov [esp+0x30], eax
	movzx eax, byte [ebp-0x5f]
	mov [esp+0x2c], eax
	movzx eax, byte [ebp-0x60]
	mov [esp+0x28], eax
	movzx eax, byte [ebp-0x61]
	mov [esp+0x24], eax
	movzx eax, byte [ebp-0x62]
	mov [esp+0x20], eax
	movzx eax, byte [ebp-0x63]
	mov [esp+0x1c], eax
	movzx eax, byte [ebp-0x64]
	mov [esp+0x18], eax
	movzx eax, byte [ebp-0x65]
	mov [esp+0x14], eax
	movzx eax, byte [ebp-0x66]
	mov [esp+0x10], eax
	movzx eax, byte [ebp-0x67]
	mov [esp+0xc], eax
	movzx eax, byte [ebp-0x68]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_02x02x02x02x02x0
	mov eax, [ebp-0xcc]
	mov [esp], eax
	call sprintf
	add esp, 0x11c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23CL_BuildMd5StrFromCDKeyPc_80:
	mov ecx, esi
	jmp _Z23CL_BuildMd5StrFromCDKeyPc_100
_Z23CL_BuildMd5StrFromCDKeyPc_10:
	test ecx, ecx
	jg _Z23CL_BuildMd5StrFromCDKeyPc_130
	xor esi, esi
	jmp _Z23CL_BuildMd5StrFromCDKeyPc_30


;LoadMapLoadscreen(char const*)
_Z17LoadMapLoadscreenPKc:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x64
	mov ebx, eax
	mov [esp], eax
	call _Z16DB_AddUserMapDirPKc
	mov dword [esp], 0x0
	call _Z16DB_ResetZoneSizei
	mov [esp+0xc], ebx
	mov dword [esp+0x8], _cstring_s_load
	mov dword [esp+0x4], 0x40
	lea ebx, [ebp-0x54]
	mov [esp], ebx
	call _Z11Com_sprintfPciPKcz
	mov [ebp-0x14], ebx
	mov dword [ebp-0x10], 0x20
	mov dword [ebp-0xc], 0x60
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x1
	lea eax, [ebp-0x14]
	mov [esp], eax
	call _Z14DB_LoadXAssetsP9XZoneInfoji
	call _Z14DB_SyncXAssetsv
	call _Z18DB_UpdateDebugZonev
	add esp, 0x64
	pop ebx
	pop ebp
	ret


;CL_ShutdownRenderer(int)
_Z19CL_ShutdownRendereri:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, eax
	mov dword [cls+0x108], 0x0
	call _Z17Com_ShutdownWorldv
	mov eax, useFastFile
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z19CL_ShutdownRendereri_10
	test ebx, ebx
	jnz _Z19CL_ShutdownRendereri_20
_Z19CL_ShutdownRendereri_10:
	mov [esp], ebx
	call _Z10R_Shutdowni
	mov dword [cls+0x2dbff0], 0x0
	mov dword [cls+0x2dbff4], 0x0
	mov dword [cls+0x2dbff8], 0x0
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z24Con_ShutdownClientAssetsv
_Z19CL_ShutdownRendereri_20:
	call _Z11CM_Shutdownv
	jmp _Z19CL_ShutdownRendereri_10


;CL_Disconnect_f()
_Z15CL_Disconnect_fv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z24CL_DisconnectLocalClienti
	leave
	ret


;CL_PlayDemo_f()
_Z13CL_PlayDemo_fv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x14c
	mov ebx, cmd_args
	mov edx, [ebx]
	mov eax, [ebx+edx*4+0x44]
	cmp eax, 0x1
	jle _Z13CL_PlayDemo_fv_10
	cmp eax, 0x3
	jle _Z13CL_PlayDemo_fv_20
_Z13CL_PlayDemo_fv_120:
	mov eax, [ebx+edx*4+0x64]
	mov eax, [eax]
_Z13CL_PlayDemo_fv_130:
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_s_demoname_quit
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	add esp, 0x14c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z13CL_PlayDemo_fv_20:
	mov eax, com_sv_running
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jnz _Z13CL_PlayDemo_fv_30
	mov dword [esp], 0x0
	call _Z13CL_Disconnecti
	mov eax, cmd_args
	mov edx, [eax]
	cmp dword [eax+edx*4+0x44], 0x1
	jle _Z13CL_PlayDemo_fv_40
	mov eax, [eax+edx*4+0x64]
	mov esi, [eax+0x4]
_Z13CL_PlayDemo_fv_210:
	mov dword [esp+0xc], 0x1
	mov dword [esp+0x8], _cstring_dm_d
	mov dword [esp+0x4], 0x20
	lea eax, [ebp-0x38]
	mov [esp], eax
	call _Z11Com_sprintfPciPKcz
	lea ecx, [ebp-0x38]
	mov [esp+0x4], ecx
	xor eax, eax
	cld
	mov ecx, 0xffffffff
	mov edi, esi
	repne scasb
	mov edx, ecx
	not edx
	mov ecx, 0xffffffff
	lea edi, [ebp-0x38]
	repne scasb
	not ecx
	mov eax, esi
	sub eax, ecx
	add eax, edx
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z13CL_PlayDemo_fv_50
	mov [esp+0xc], esi
	mov dword [esp+0x8], _cstring_demoss
	mov dword [esp+0x4], 0x100
	lea ebx, [ebp-0x138]
	mov [esp], ebx
	call _Z11Com_sprintfPciPKcz
_Z13CL_PlayDemo_fv_150:
	mov dword [esp+0x4], clientConnections+0x401a0
	mov [esp], ebx
	call _Z16FS_FOpenFileReadPKcPi
	mov esi, [clientConnections+0x401a0]
	test esi, esi
	jz _Z13CL_PlayDemo_fv_60
_Z13CL_PlayDemo_fv_160:
	mov eax, cmd_args
	mov edx, [eax]
	cmp dword [eax+edx*4+0x44], 0x1
	jle _Z13CL_PlayDemo_fv_70
	mov eax, [eax+edx*4+0x64]
	mov eax, [eax+0x4]
_Z13CL_PlayDemo_fv_200:
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], eax
	mov dword [esp], clientConnections+0x40148
	call _Z10I_strncpyzPcPKci
	mov dword [esp], 0x0
	call _Z9Con_Closei
	mov dword [clientUIActives+0xc], 0x5
	mov dword [clientConnections+0x4018c], 0x1
	mov eax, cmd_args
	mov edx, [eax]
	mov ecx, [eax+edx*4+0x44]
	test ecx, ecx
	jle _Z13CL_PlayDemo_fv_80
	mov eax, [eax+edx*4+0x64]
	mov eax, [eax]
_Z13CL_PlayDemo_fv_190:
	mov dword [esp+0x4], _cstring_timedemo
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	setz al
	movzx eax, al
	mov [clientConnections+0x40190], eax
	mov dword [clientConnections+0x40144], 0x0
	mov ebx, cmd_args
	mov eax, [ebx]
	cmp dword [ebx+eax*4+0x44], 0x3
	jz _Z13CL_PlayDemo_fv_90
_Z13CL_PlayDemo_fv_170:
	xor eax, eax
_Z13CL_PlayDemo_fv_180:
	mov [clientConnections+0x40194], eax
	mov eax, [ebx]
	cmp dword [ebx+eax*4+0x44], 0x1
	jle _Z13CL_PlayDemo_fv_100
	mov eax, [ebx+eax*4+0x64]
	mov eax, [eax+0x4]
_Z13CL_PlayDemo_fv_220:
	mov dword [esp+0x8], 0x100
	mov [esp+0x4], eax
	mov dword [esp], cls+0x8
	call _Z10I_strncpyzPcPKci
	mov eax, [clientUIActives+0xc]
	sub eax, 0x5
	cmp eax, 0x2
	jbe _Z13CL_PlayDemo_fv_110
_Z13CL_PlayDemo_fv_140:
	mov dword [clientConnections+0x4019c], 0x0
	add esp, 0x14c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z13CL_PlayDemo_fv_10:
	jz _Z13CL_PlayDemo_fv_120
	mov eax, _cstring_null
	jmp _Z13CL_PlayDemo_fv_130
_Z13CL_PlayDemo_fv_30:
	mov dword [esp+0x4], _cstring_listen_server_ca
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	add esp, 0x14c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z13CL_PlayDemo_fv_110:
	mov dword [esp], 0x0
	call _Z18CL_ReadDemoMessagei
	mov eax, [clientUIActives+0xc]
	sub eax, 0x5
	cmp eax, 0x2
	ja _Z13CL_PlayDemo_fv_140
	mov dword [esp], 0x0
	call _Z18CL_ReadDemoMessagei
	mov eax, [clientUIActives+0xc]
	sub eax, 0x5
	cmp eax, 0x2
	jbe _Z13CL_PlayDemo_fv_110
	jmp _Z13CL_PlayDemo_fv_140
_Z13CL_PlayDemo_fv_50:
	mov dword [esp+0x10], 0x1
	mov [esp+0xc], esi
	mov dword [esp+0x8], _cstring_demossdm_d
	mov dword [esp+0x4], 0x100
	lea ebx, [ebp-0x138]
	mov [esp], ebx
	call _Z11Com_sprintfPciPKcz
	jmp _Z13CL_PlayDemo_fv_150
_Z13CL_PlayDemo_fv_60:
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_exe_err_not_foun
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	jmp _Z13CL_PlayDemo_fv_160
_Z13CL_PlayDemo_fv_90:
	mov dword [esp+0x4], _cstring_quit
	mov eax, [ebx+eax*4+0x64]
	mov eax, [eax+0x8]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z13CL_PlayDemo_fv_170
	mov al, 0x1
	jmp _Z13CL_PlayDemo_fv_180
_Z13CL_PlayDemo_fv_80:
	mov eax, _cstring_null
	jmp _Z13CL_PlayDemo_fv_190
_Z13CL_PlayDemo_fv_70:
	mov eax, _cstring_null
	jmp _Z13CL_PlayDemo_fv_200
_Z13CL_PlayDemo_fv_40:
	mov esi, _cstring_null
	jmp _Z13CL_PlayDemo_fv_210
_Z13CL_PlayDemo_fv_100:
	mov eax, _cstring_null
	jmp _Z13CL_PlayDemo_fv_220
	nop


;CL_DisconnectPacket(int, netadr_t, char const*)
_Z19CL_DisconnectPacketi8netadr_tPKc:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x5c
	mov [ebp-0x40], eax
	mov eax, [ebp+0x14]
	mov [ebp-0x44], eax
	movzx esi, word [ebp+0x10]
	movzx ecx, byte [ebp+0xf]
	movzx edx, byte [ebp+0xe]
	movzx edi, byte [ebp+0xd]
	movzx eax, byte [ebp+0xc]
	mov [ebp-0x39], al
	mov ebx, [ebp+0x8]
	cmp dword [clientUIActives+0xc], 0x2
	jg _Z19CL_DisconnectPacketi8netadr_tPKc_10
_Z19CL_DisconnectPacketi8netadr_tPKc_20:
	add esp, 0x5c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19CL_DisconnectPacketi8netadr_tPKc_10:
	mov eax, [clientConnections+0x401c8]
	mov [ebp-0x30], eax
	mov eax, [clientConnections+0x401cc]
	mov [ebp-0x2c], eax
	mov eax, [clientConnections+0x401d0]
	mov [ebp-0x28], eax
	mov [ebp-0x1c], si
	mov [ebp-0x1d], cl
	mov [ebp-0x1e], dl
	mov edx, edi
	mov [ebp-0x1f], dl
	movzx edx, byte [ebp-0x39]
	mov [ebp-0x20], dl
	mov [ebp-0x24], ebx
	mov edx, [clientConnections+0x401c8]
	mov [esp+0xc], edx
	mov edx, [clientConnections+0x401cc]
	mov [esp+0x10], edx
	mov [esp+0x14], eax
	mov [esp], ebx
	mov eax, [ebp-0x20]
	mov [esp+0x4], eax
	mov eax, [ebp-0x1c]
	mov [esp+0x8], eax
	call _Z14NET_CompareAdr8netadr_tS_
	test eax, eax
	jz _Z19CL_DisconnectPacketi8netadr_tPKc_20
	mov eax, [cls+0x118]
	sub eax, [clientConnections+0xc]
	cmp eax, 0xbb7
	jle _Z19CL_DisconnectPacketi8netadr_tPKc_20
	mov eax, [cls+0x2dc6b0]
	test eax, eax
	jnz _Z19CL_DisconnectPacketi8netadr_tPKc_30
	mov eax, [ebp-0x44]
	test eax, eax
	jz _Z19CL_DisconnectPacketi8netadr_tPKc_40
	mov eax, [ebp-0x44]
	mov [esp], eax
	call _Z23SEH_SafeTranslateStringPKc
	mov ebx, eax
	mov dword [esp], _cstring_exe_serverdiscon
	call _Z23SEH_SafeTranslateStringPKc
	mov [esp+0x4], ebx
	mov [esp], eax
	call _Z26UI_ReplaceConversionStringPKcS0_
	mov [ebp+0xc], eax
	mov dword [ebp+0x8], 0x3
_Z19CL_DisconnectPacketi8netadr_tPKc_50:
	add esp, 0x5c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z9Com_Error11errorParm_tPKcz
_Z19CL_DisconnectPacketi8netadr_tPKc_30:
	mov edx, [ebp-0x40]
	mov [ebp+0x8], edx
	add esp, 0x5c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z13CL_Disconnecti
_Z19CL_DisconnectPacketi8netadr_tPKc_40:
	mov dword [ebp+0xc], _cstring_exe_server_disco
	mov dword [ebp+0x8], 0x2
	jmp _Z19CL_DisconnectPacketi8netadr_tPKc_50
	nop


;CL_DispatchConnectionlessPacket(int, netadr_t, msg_t*, int)
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x15c
	movzx eax, word [ebp+0x14]
	mov [ebp-0x12a], ax
	movzx edx, byte [ebp+0x13]
	mov [ebp-0x12b], dl
	movzx ebx, byte [ebp+0x12]
	mov [ebp-0x12c], bl
	movzx eax, byte [ebp+0x11]
	mov [ebp-0x12d], al
	movzx edx, byte [ebp+0x10]
	mov [ebp-0x12e], dl
	mov esi, [ebp+0xc]
	mov eax, cmd_args
	mov edx, [eax]
	mov ecx, [eax+edx*4+0x44]
	test ecx, ecx
	jle _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_10
	mov eax, [eax+edx*4+0x64]
	mov ebx, [eax]
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_70:
	mov dword [esp+0x4], _cstring_v
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_20
	mov ebx, [ebp+0x18]
	mov [esp+0x4], ebx
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z14CL_VoicePacketiP5msg_t
	mov eax, 0x1
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60:
	add esp, 0x15c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_20:
	mov dword [esp+0x4], _cstring_vt
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_30
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_320:
	mov eax, 0x1
	add esp, 0x15c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_30:
	mov edi, [clientUIActives+0xc]
	mov dword [esp+0x4], _cstring_challengerespons
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_40
	cmp edi, 0x3
	jz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_50
	mov dword [esp+0x4], _cstring_unwanted_challen
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	xor eax, eax
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_10:
	mov ebx, _cstring_null
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_70
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_40:
	mov dword [esp+0x4], _cstring_connectresponse
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_80
	cmp edi, 0x4
	jg _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_90
	jz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_100
	mov dword [esp+0x4], _cstring_connectresponse_
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	xor eax, eax
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_50:
	mov eax, cmd_args
	mov edx, [eax]
	cmp dword [eax+edx*4+0x44], 0x1
	jle _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_110
	mov eax, [eax+edx*4+0x64]
	mov eax, [eax+0x4]
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_150:
	mov [esp], eax
	call atoi
	mov [clientConnections+0x124], eax
	shl dword [ebp+0x8], 0x4
	mov edx, [ebp+0x8]
	mov dword [edx+clientUIActives+0xc], 0x4
	mov dword [clientConnections+0x20], 0x0
	mov dword [clientConnections+0x1c], 0xfffe7961
	movzx ebx, word [ebp-0x12a]
	mov [clientConnections+0x18], bx
	movzx edx, byte [ebp-0x12b]
	mov [clientConnections+0x17], dl
	movzx ebx, byte [ebp-0x12c]
	mov [clientConnections+0x16], bl
	movzx edx, byte [ebp-0x12d]
	mov [clientConnections+0x15], dl
	movzx ebx, byte [ebp-0x12e]
	mov [clientConnections+0x14], bl
	mov [clientConnections+0x10], esi
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_challenge_d
	mov dword [esp], 0xe
	call _Z11Com_DPrintfiPKcz
	mov eax, 0x1
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_80:
	mov dword [esp+0x4], _cstring_statresponse
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_120
	cmp edi, 0x6
	jg _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_130
	jz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_140
	mov dword [esp+0x4], _cstring_statresponse_pac
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	xor eax, eax
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_110:
	mov eax, _cstring_null
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_150
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_90:
	mov dword [esp+0x4], _cstring_dup_connect_rece
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	xor eax, eax
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_100:
	mov ecx, [clientConnections+0x10]
	mov [ebp-0xe4], ecx
	mov edx, [clientConnections+0x14]
	mov [ebp-0xe0], edx
	mov eax, [clientConnections+0x18]
	mov [ebp-0xdc], eax
	movzx ebx, word [ebp-0x12a]
	mov [ebp-0xd0], bx
	movzx ebx, byte [ebp-0x12b]
	mov [ebp-0xd1], bl
	movzx ebx, byte [ebp-0x12c]
	mov [ebp-0xd2], bl
	movzx ebx, byte [ebp-0x12d]
	mov [ebp-0xd3], bl
	movzx ebx, byte [ebp-0x12e]
	mov [ebp-0xd4], bl
	mov [ebp-0xd8], esi
	mov [esp+0xc], ecx
	mov [esp+0x10], edx
	mov [esp+0x14], eax
	mov [esp], esi
	mov eax, [ebp-0xd4]
	mov [esp+0x4], eax
	mov eax, [ebp-0xd0]
	mov [esp+0x8], eax
	call _Z18NET_CompareBaseAdr8netadr_tS_
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_160
	mov dword [esp+0x4], _cstring_connectresponse_1
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	mov ecx, [clientConnections+0x10]
	mov [ebp-0xcc], ecx
	mov edx, [clientConnections+0x14]
	mov [ebp-0xc8], edx
	mov eax, [clientConnections+0x18]
	mov [ebp-0xc4], eax
	mov [esp], ecx
	mov [esp+0x4], edx
	mov [esp+0x8], eax
	call _Z15NET_AdrToString8netadr_t
	mov ebx, eax
	movzx eax, word [ebp-0x12a]
	mov [ebp-0xb8], ax
	movzx edx, byte [ebp-0x12b]
	mov [ebp-0xb9], dl
	movzx eax, byte [ebp-0x12c]
	mov [ebp-0xba], al
	movzx edx, byte [ebp-0x12d]
	mov [ebp-0xbb], dl
	movzx eax, byte [ebp-0x12e]
	mov [ebp-0xbc], al
	mov [ebp-0xc0], esi
	mov [esp], esi
	mov eax, [ebp-0xbc]
	mov [esp+0x4], eax
	mov eax, [ebp-0xb8]
	mov [esp+0x8], eax
	call _Z15NET_AdrToString8netadr_t
	mov [esp+0xc], ebx
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_s_should_have_be
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	xor eax, eax
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_120:
	mov dword [esp+0x4], _cstring_inforesponse
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_170
	movzx ebx, word [ebp-0x12a]
	mov [ebp-0xa0], bx
	movzx eax, byte [ebp-0x12b]
	mov [ebp-0xa1], al
	movzx edx, byte [ebp-0x12c]
	mov [ebp-0xa2], dl
	movzx ebx, byte [ebp-0x12d]
	mov [ebp-0xa3], bl
	movzx eax, byte [ebp-0x12e]
	mov [ebp-0xa4], al
	mov [ebp-0xa8], esi
	mov edx, [ebp+0x1c]
	mov [esp+0x10], edx
	mov ebx, [ebp+0x18]
	mov [esp+0xc], ebx
	mov [esp], esi
	mov eax, [ebp-0xa4]
	mov [esp+0x4], eax
	mov eax, [ebp-0xa0]
	mov [esp+0x8], eax
	call _Z19CL_ServerInfoPacket8netadr_tP5msg_ti
	mov eax, 0x1
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_140:
	mov eax, cmd_args
	mov edx, [eax]
	cmp dword [eax+edx*4+0x44], 0x1
	jle _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_180
	mov eax, [eax+edx*4+0x64]
	mov eax, [eax+0x4]
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_270:
	mov [esp], eax
	call atoi
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_190
	shl dword [ebp+0x8], 0x4
	mov edx, [ebp+0x8]
	mov dword [edx+clientUIActives+0xc], 0x5
	mov byte [clientConnections+0x615bc], 0x0
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_230:
	mov eax, [cls+0x118]
	mov [clientConnections+0xc], eax
	mov dword [clientConnections+0x8], 0xffffd8f1
	mov eax, 0x1
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_160:
	mov eax, g_qport
	mov eax, [eax]
	add eax, [ebp+0x8]
	movzx edx, word [ebp-0x12a]
	mov [ebp-0xac], dx
	movzx ebx, byte [ebp-0x12b]
	mov [ebp-0xad], bl
	movzx edx, byte [ebp-0x12c]
	mov [ebp-0xae], dl
	movzx ebx, byte [ebp-0x12d]
	mov [ebp-0xaf], bl
	movzx edx, byte [ebp-0x12e]
	mov [ebp-0xb0], dl
	mov [ebp-0xb4], esi
	mov dword [esp+0x24], 0x20000
	mov dword [esp+0x20], clientConnections+0x40fdc
	mov dword [esp+0x1c], 0x800
	mov dword [esp+0x18], clientConnections+0x407dc
	mov [esp+0x14], eax
	mov [esp+0x8], esi
	mov eax, [ebp-0xb0]
	mov [esp+0xc], eax
	mov eax, [ebp-0xac]
	mov [esp+0x10], eax
	mov dword [esp+0x4], clientConnections+0x401b8
	mov ebx, [ebp+0x8]
	mov [esp], ebx
	call _Z13Netchan_Setup8netsrc_tP9netchan_t8netadr_tiPciS3_i
	mov eax, cmd_args
	mov edx, [eax]
	cmp dword [eax+edx*4+0x44], 0x1
	jle _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_200
	mov eax, [eax+edx*4+0x64]
	mov ebx, [eax+0x4]
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_280:
	mov eax, fs_gameDirVar
	mov eax, [eax]
	mov eax, [eax+0xc]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_210
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_260:
	shl dword [ebp+0x8], 0x4
	mov eax, [ebp+0x8]
	mov dword [eax+clientUIActives+0xc], 0x6
	mov edi, clientConnections+0x615c0
	cld
	mov ecx, 0x7
	xor eax, eax
	rep stosd
	mov byte [clientConnections+0x615bc], 0x7f
	mov eax, [cls+0x118]
	mov [clientConnections+0xc], eax
	mov dword [clientConnections+0x8], 0xffffd8f1
	mov eax, 0x1
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_130:
	mov dword [esp+0x4], _cstring_dup_statresponse
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	xor eax, eax
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_170:
	mov dword [esp+0x4], _cstring_statusresponse
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_220
	movzx eax, word [ebp-0x12a]
	mov [ebp-0x94], ax
	movzx edx, byte [ebp-0x12b]
	mov [ebp-0x95], dl
	movzx ebx, byte [ebp-0x12c]
	mov [ebp-0x96], bl
	movzx eax, byte [ebp-0x12d]
	mov [ebp-0x97], al
	movzx edx, byte [ebp-0x12e]
	mov [ebp-0x98], dl
	mov [ebp-0x9c], esi
	mov ebx, [ebp+0x18]
	mov [esp+0xc], ebx
	mov [esp], esi
	mov eax, [ebp-0x98]
	mov [esp+0x4], eax
	mov eax, [ebp-0x94]
	mov [esp+0x8], eax
	call _Z23CL_ServerStatusResponse8netadr_tP5msg_t
	mov eax, 0x1
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_190:
	and al, 0x7f
	mov [clientConnections+0x615bc], al
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_230
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_220:
	mov dword [esp+0x4], _cstring_disconnect
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_240
	mov eax, cmd_args
	mov edx, [eax]
	cmp dword [eax+edx*4+0x44], 0x1
	jle _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_250
	mov eax, [eax+edx*4+0x64]
	mov eax, [eax+0x4]
	movzx edx, word [ebp-0x12a]
	mov [ebp-0x88], dx
	movzx ebx, byte [ebp-0x12b]
	mov [ebp-0x89], bl
	movzx edx, byte [ebp-0x12c]
	mov [ebp-0x8a], dl
	movzx ebx, byte [ebp-0x12d]
	mov [ebp-0x8b], bl
	movzx edx, byte [ebp-0x12e]
	mov [ebp-0x8c], dl
	mov [ebp-0x90], esi
	mov [esp+0xc], eax
	mov [esp], esi
	mov eax, [ebp-0x8c]
	mov [esp+0x4], eax
	mov eax, [ebp-0x88]
	mov [esp+0x8], eax
	mov eax, [ebp+0x8]
	call _Z19CL_DisconnectPacketi8netadr_tPKc
	mov eax, 0x1
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_210:
	mov [esp], ebx
	call _Z28LiveStorage_ReadStatsFromDirPKc
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_260
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_180:
	mov eax, _cstring_null
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_270
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_200:
	mov ebx, _cstring_null
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_280
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_240:
	mov dword [esp+0x4], _cstring_echo
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_290
	mov eax, cmd_args
	mov edx, [eax]
	cmp dword [eax+edx*4+0x44], 0x1
	jle _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_300
	mov eax, [eax+edx*4+0x64]
	mov eax, [eax+0x4]
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_310:
	mov [esp+0x4], eax
	mov dword [esp], _cstring_s
	call _Z2vaPKcz
	movzx edx, word [ebp-0x12a]
	mov [ebp-0x70], dx
	movzx ebx, byte [ebp-0x12b]
	mov [ebp-0x71], bl
	movzx edx, byte [ebp-0x12c]
	mov [ebp-0x72], dl
	movzx ebx, byte [ebp-0x12d]
	mov [ebp-0x73], bl
	movzx edx, byte [ebp-0x12e]
	mov [ebp-0x74], dl
	mov [ebp-0x78], esi
	mov [esp+0x10], eax
	mov [esp+0x4], esi
	mov eax, [ebp-0x74]
	mov [esp+0x8], eax
	mov eax, [ebp-0x70]
	mov [esp+0xc], eax
	mov ebx, [ebp+0x8]
	mov [esp], ebx
	call _Z18NET_OutOfBandPrint8netsrc_t8netadr_tPKc
	mov eax, 0x1
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_250:
	movzx ebx, word [ebp-0x12a]
	mov [ebp-0x7c], bx
	movzx eax, byte [ebp-0x12b]
	mov [ebp-0x7d], al
	movzx edx, byte [ebp-0x12c]
	mov [ebp-0x7e], dl
	movzx ebx, byte [ebp-0x12d]
	mov [ebp-0x7f], bl
	movzx eax, byte [ebp-0x12e]
	mov [ebp-0x80], al
	mov [ebp-0x84], esi
	mov dword [esp+0xc], 0x0
	mov [esp], esi
	mov eax, [ebp-0x80]
	mov [esp+0x4], eax
	mov eax, [ebp-0x7c]
	mov [esp+0x8], eax
	mov eax, [ebp+0x8]
	call _Z19CL_DisconnectPacketi8netadr_tPKc
	mov eax, 0x1
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_300:
	mov eax, _cstring_null
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_310
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_290:
	mov dword [esp+0x4], _cstring_keyauthorize
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_320
	mov dword [esp+0x4], _cstring_print
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_330
	mov eax, [ebp+0x18]
	mov [esp], eax
	call _Z17MSG_ReadBigStringP5msg_t
	mov ebx, eax
	mov dword [esp+0x8], 0x100
	mov [esp+0x4], eax
	mov dword [esp], clientConnections+0x24
	call _Z10I_strncpyzPcPKci
	mov [esp+0xc], ebx
	mov dword [esp+0x8], _cstring_s
	mov dword [esp+0x4], 0x800
	mov dword [esp], _ZZ31CL_DispatchConnectionlessPacketi8netadr_tP5msg_tiE8printBuf
	call _Z11Com_sprintfPciPKcz
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], _ZZ31CL_DispatchConnectionlessPacketi8netadr_tP5msg_tiE8printBuf
	mov dword [esp], 0xe
	call _Z16Com_PrintMessageiPKci
	mov eax, 0x1
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_330:
	mov dword [esp+0x4], _cstring_error
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_340
	test edi, edi
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_350
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_370:
	xor eax, eax
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_340:
	mov dword [esp+0x8], 0x12
	mov dword [esp+0x4], _cstring_getserversrespon
	mov [esp], ebx
	call _Z9I_strncmpPKcS0_i
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_360
	movzx edx, word [ebp-0x12a]
	mov [ebp-0x4c], dx
	movzx ebx, byte [ebp-0x12b]
	mov [ebp-0x4d], bl
	movzx eax, byte [ebp-0x12c]
	mov [ebp-0x4e], al
	movzx edx, byte [ebp-0x12d]
	mov [ebp-0x4f], dl
	movzx ebx, byte [ebp-0x12e]
	mov [ebp-0x50], bl
	mov [ebp-0x54], esi
	mov eax, [ebp+0x18]
	mov [esp+0xc], eax
	mov [esp], esi
	mov eax, [ebp-0x50]
	mov [esp+0x4], eax
	mov eax, [ebp-0x4c]
	mov [esp+0x8], eax
	call _Z24CL_ServersResponsePacket8netadr_tP5msg_t
	mov eax, 0x1
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_350:
	mov eax, [clientConnections+0x10]
	mov [ebp-0x6c], eax
	mov edx, [clientConnections+0x14]
	mov [ebp-0x68], edx
	mov ecx, [clientConnections+0x18]
	mov [ebp-0x64], ecx
	movzx ebx, word [ebp-0x12a]
	mov [ebp-0x58], bx
	movzx ebx, byte [ebp-0x12b]
	mov [ebp-0x59], bl
	movzx ebx, byte [ebp-0x12c]
	mov [ebp-0x5a], bl
	movzx ebx, byte [ebp-0x12d]
	mov [ebp-0x5b], bl
	movzx ebx, byte [ebp-0x12e]
	mov [ebp-0x5c], bl
	mov [ebp-0x60], esi
	mov [esp+0xc], eax
	mov [esp+0x10], edx
	mov [esp+0x14], ecx
	mov [esp], esi
	mov eax, [ebp-0x5c]
	mov [esp+0x4], eax
	mov eax, [ebp-0x58]
	mov [esp+0x8], eax
	call _Z18NET_CompareBaseAdr8netadr_tS_
	test eax, eax
	jz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_370
	mov eax, [ebp+0x18]
	mov [esp], eax
	call _Z17MSG_ReadBigStringP5msg_t
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_s
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	mov eax, 0x1
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_360:
	mov dword [esp+0x8], 0x9
	mov dword [esp+0x4], _cstring_needcdkey
	mov [esp], ebx
	call _Z9I_strncmpPKcS0_i
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_380
	mov dword [esp+0x8], 0x100
	mov dword [esp+0x4], _cstring_exe_awaitingcdke
	mov dword [esp], clientConnections+0x24
	call _Z10I_strncpyzPcPKci
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], _cstring_need_cd_key_mess
	mov dword [esp], _cstring_exe_awaitingcdke
	call _Z23SEH_LocalizeTextMessagePKcS0_15msgLocErrType_t
	mov dword [esp+0x8], clientConnections+0x24
	mov dword [esp+0x4], _cstring_s1
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z23CL_RequestAuthorizationi
	mov eax, 0x1
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_380:
	mov dword [esp+0x4], _cstring_loadingnewmap
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_390
	mov eax, [clientConnections+0x10]
	mov [ebp-0x48], eax
	mov edx, [clientConnections+0x14]
	mov [ebp-0x44], edx
	mov ecx, [clientConnections+0x18]
	mov [ebp-0x40], ecx
	movzx ebx, word [ebp-0x12a]
	mov [ebp-0x34], bx
	movzx ebx, byte [ebp-0x12b]
	mov [ebp-0x35], bl
	movzx ebx, byte [ebp-0x12c]
	mov [ebp-0x36], bl
	movzx ebx, byte [ebp-0x12d]
	mov [ebp-0x37], bl
	movzx ebx, byte [ebp-0x12e]
	mov [ebp-0x38], bl
	mov [ebp-0x3c], esi
	mov [esp+0xc], eax
	mov [esp+0x10], edx
	mov [esp+0x14], ecx
	mov [esp], esi
	mov eax, [ebp-0x38]
	mov [esp+0x4], eax
	mov eax, [ebp-0x34]
	mov [esp+0x8], eax
	call _Z18NET_CompareBaseAdr8netadr_tS_
	test eax, eax
	jz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_320
	cmp byte [cls+0x2dc198], 0x0
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_320
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z16UI_CloseAllMenusi
	mov dword [esp+0x4], _cstring_uploadstats
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z12Cbuf_AddTextiPKc
	mov ebx, [ebp+0x18]
	mov [esp], ebx
	call _Z18MSG_ReadStringLineP5msg_t
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], eax
	lea ebx, [ebp-0x124]
	mov [esp], ebx
	call _Z10I_strncpyzPcPKci
	shl dword [ebp+0x8], 0x4
	mov eax, [ebp+0x8]
	mov dword [eax+clientUIActives+0xc], 0x5
	mov edx, [ebp+0x18]
	mov [esp], edx
	call _Z18MSG_ReadStringLineP5msg_t
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z23CL_SetupForNewServerMapPKcS0_
	mov eax, 0x1
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_390:
	mov dword [esp+0x4], _cstring_requeststats
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_400
	cmp byte [cls+0x2dc198], 0x0
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_320
	cmp dword [clientUIActives+0xc], 0x6
	jz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_400
	shl dword [ebp+0x8], 0x4
	mov edx, [ebp+0x8]
	mov dword [edx+clientUIActives+0xc], 0x6
	mov edi, clientConnections+0x615c0
	cld
	mov ecx, 0x7
	rep stosd
	mov byte [clientConnections+0x615bc], 0x7f
	mov eax, [cls+0x118]
	mov [clientConnections+0xc], eax
	mov dword [clientConnections+0x8], 0xffffd8f1
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_400:
	mov dword [esp+0x4], _cstring_fastrestart
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_370
	cmp dword [clientUIActives+0xc], 0x9
	jz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_410
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_420:
	xor eax, eax
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_430:
	mov [clientConnections+0x40140], al
	mov eax, 0x1
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_60
_Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_410:
	mov eax, [clientConnections+0x10]
	mov [ebp-0x30], eax
	mov edx, [clientConnections+0x14]
	mov [ebp-0x2c], edx
	mov ecx, [clientConnections+0x18]
	mov [ebp-0x28], ecx
	movzx ebx, word [ebp-0x12a]
	mov [ebp-0x1c], bx
	movzx ebx, byte [ebp-0x12b]
	mov [ebp-0x1d], bl
	movzx ebx, byte [ebp-0x12c]
	mov [ebp-0x1e], bl
	movzx ebx, byte [ebp-0x12d]
	mov [ebp-0x1f], bl
	movzx ebx, byte [ebp-0x12e]
	mov [ebp-0x20], bl
	mov [ebp-0x24], esi
	mov [esp+0xc], eax
	mov [esp+0x10], edx
	mov [esp+0x14], ecx
	mov [esp], esi
	mov eax, [ebp-0x20]
	mov [esp+0x4], eax
	mov eax, [ebp-0x1c]
	mov [esp+0x8], eax
	call _Z18NET_CompareBaseAdr8netadr_tS_
	test eax, eax
	jz _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_420
	mov eax, 0x1
	jmp _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti_430


;CL_DemoCompleted(int)
_Z16CL_DemoCompletedi:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x434
	mov eax, [clientConnections+0x40190]
	test eax, eax
	jnz _Z16CL_DemoCompletedi_10
_Z16CL_DemoCompletedi_50:
	mov eax, [clientConnections+0x401a4]
	test eax, eax
	jnz _Z16CL_DemoCompletedi_20
_Z16CL_DemoCompletedi_60:
	mov eax, [clientConnections+0x40194]
	test eax, eax
	jnz _Z16CL_DemoCompletedi_30
_Z16CL_DemoCompletedi_70:
	mov dword [esp], 0x0
	call _Z13CL_Disconnecti
	mov dword [esp+0x8], 0x400
	mov eax, [nextdemo]
	mov eax, [eax+0xc]
	mov [esp+0x4], eax
	lea ebx, [ebp-0x408]
	mov [esp], ebx
	call _Z10I_strncpyzPcPKci
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_cl_nextdemo_s
	mov dword [esp], 0xe
	call _Z11Com_DPrintfiPKcz
	cmp byte [ebp-0x408], 0x0
	jnz _Z16CL_DemoCompletedi_40
	mov dword [esp+0x4], _cstring_demo_is_over
	mov dword [esp], 0x4
	call _Z9Com_Error11errorParm_tPKcz
	add esp, 0x434
	pop ebx
	pop ebp
	ret
_Z16CL_DemoCompletedi_40:
	mov dword [esp+0x4], _cstring_null
	mov eax, [nextdemo]
	mov [esp], eax
	call _Z14Dvar_SetStringPK6dvar_sPKc
	mov [esp+0x4], ebx
	mov dword [esp], 0x0
	call _Z12Cbuf_AddTextiPKc
	mov dword [esp+0x4], _cstring_
	mov dword [esp], 0x0
	call _Z12Cbuf_AddTextiPKc
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0x0
	call _Z12Cbuf_Executeii
	add esp, 0x434
	pop ebx
	pop ebp
	ret
_Z16CL_DemoCompletedi_10:
	call _Z16Sys_Millisecondsv
	mov edx, eax
	sub edx, [clientConnections+0x401ac]
	test edx, edx
	jle _Z16CL_DemoCompletedi_50
	mov eax, [clientConnections+0x401a8]
	cvtsi2sd xmm0, edx
	movsd [ebp-0x418], xmm0
	divsd xmm0, qword [_double_1000_00000000]
	movsd [ebp-0x410], xmm0
	cvtsi2sd xmm0, eax
	mulsd xmm0, [_double_1000_00000000]
	divsd xmm0, qword [ebp-0x418]
	movsd [esp+0x14], xmm0
	movsd xmm0, qword [ebp-0x410]
	movsd [esp+0xc], xmm0
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_i_frames_31f_sec
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	mov eax, [clientConnections+0x401a8]
	cvtsi2sd xmm0, eax
	mulsd xmm0, [_double_1000_00000000]
	divsd xmm0, qword [ebp-0x418]
	movsd [esp+0x10], xmm0
	movsd xmm0, qword [ebp-0x410]
	movsd [esp+0x8], xmm0
	mov [esp+0x4], eax
	mov dword [esp], _cstring_i_frames_31f_sec
	call printf
	mov eax, [clientConnections+0x401a4]
	test eax, eax
	jz _Z16CL_DemoCompletedi_60
_Z16CL_DemoCompletedi_20:
	mov [esp], eax
	call _Z13FS_FCloseFilei
	mov dword [clientConnections+0x401a4], 0x0
	mov eax, [clientConnections+0x40194]
	test eax, eax
	jz _Z16CL_DemoCompletedi_70
_Z16CL_DemoCompletedi_30:
	call _Z10Com_Quit_fv
	jmp _Z16CL_DemoCompletedi_70


;CL_SyncGpu(int (*)(unsigned long long))
_Z10CL_SyncGpuPFiyE:
	push ebp
	mov ebp, esp
	pop ebp
	jmp _Z9R_SyncGpuPFiyE
	nop


;CL_DrawLogo(int)
_Z11CL_DrawLogoi:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x7c
	mov edi, [ebp+0x8]
	mov esi, [cls+0x118]
	sub esi, [cls+0x120]
	mov eax, [cls+0x128]
	cmp esi, eax
	jge _Z11CL_DrawLogoi_10
	cvtsi2ss xmm1, esi
	cvtsi2ss xmm0, eax
	divss xmm1, xmm0
	ucomiss xmm1, [_float_0_00000000]
	jb _Z11CL_DrawLogoi_20
_Z11CL_DrawLogoi_70:
	movss xmm0, dword [_float_1_00000000]
	minss xmm0, xmm1
	movaps xmm1, xmm0
_Z11CL_DrawLogoi_110:
	movss [ebp-0x28], xmm1
	movss [ebp-0x24], xmm1
	movss [ebp-0x20], xmm1
	mov dword [ebp-0x1c], 0x3f800000
	mov edx, [cls+0x2dc004]
	test edx, edx
	js _Z11CL_DrawLogoi_30
_Z11CL_DrawLogoi_80:
	cvtsi2ss xmm2, edx
	mov edx, [cls+0x2dc008]
	test edx, edx
	js _Z11CL_DrawLogoi_40
_Z11CL_DrawLogoi_90:
	cvtsi2ss xmm1, edx
_Z11CL_DrawLogoi_100:
	movaps xmm0, xmm1
	addss xmm0, xmm1
	divss xmm0, dword [_float_3_00000000]
	mov eax, [cls+0x130]
	mov [esp+0x24], eax
	lea ebx, [ebp-0x28]
	mov [esp+0x20], ebx
	mov dword [esp+0x1c], 0x3f800000
	mov dword [esp+0x18], 0x3f800000
	mov dword [esp+0x14], 0x0
	mov dword [esp+0x10], 0x0
	movss [esp+0xc], xmm0
	movss [esp+0x8], xmm2
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0x0
	movss [ebp-0x38], xmm0
	movss [ebp-0x48], xmm1
	movss [ebp-0x58], xmm2
	call _Z22R_AddCmdDrawStretchPicffffffffPKfP8Material
	mov eax, [cls+0x134]
	mov [esp+0x24], eax
	mov [esp+0x20], ebx
	mov dword [esp+0x1c], 0x3f800000
	mov dword [esp+0x18], 0x3f800000
	mov dword [esp+0x14], 0x0
	mov dword [esp+0x10], 0x0
	movss xmm0, dword [ebp-0x38]
	movss xmm1, dword [ebp-0x48]
	subss xmm1, xmm0
	movss [esp+0xc], xmm1
	movss xmm2, dword [ebp-0x58]
	movss [esp+0x8], xmm2
	movss [esp+0x4], xmm0
	mov dword [esp], 0x0
	call _Z22R_AddCmdDrawStretchPicffffffffPKfP8Material
	cmp esi, [cls+0x124]
	jle _Z11CL_DrawLogoi_50
	shl edi, 0x4
	mov dword [edi+clientUIActives+0xc], 0x0
_Z11CL_DrawLogoi_50:
	add esp, 0x7c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z11CL_DrawLogoi_10:
	mov edx, [cls+0x124]
	mov ecx, [cls+0x12c]
	mov eax, edx
	sub eax, ecx
	cmp esi, eax
	jle _Z11CL_DrawLogoi_60
	sub edx, esi
	cvtsi2ss xmm1, edx
	cvtsi2ss xmm0, ecx
	divss xmm1, xmm0
	ucomiss xmm1, [_float_0_00000000]
	jae _Z11CL_DrawLogoi_70
_Z11CL_DrawLogoi_20:
	jp _Z11CL_DrawLogoi_70
	pxor xmm1, xmm1
	movss [ebp-0x28], xmm1
	movss [ebp-0x24], xmm1
	movss [ebp-0x20], xmm1
	mov dword [ebp-0x1c], 0x3f800000
	mov edx, [cls+0x2dc004]
	test edx, edx
	jns _Z11CL_DrawLogoi_80
_Z11CL_DrawLogoi_30:
	mov eax, edx
	shr eax, 1
	and edx, 0x1
	or eax, edx
	cvtsi2ss xmm2, eax
	addss xmm2, xmm2
	mov edx, [cls+0x2dc008]
	test edx, edx
	jns _Z11CL_DrawLogoi_90
_Z11CL_DrawLogoi_40:
	mov eax, edx
	shr eax, 1
	and edx, 0x1
	or eax, edx
	cvtsi2ss xmm1, eax
	addss xmm1, xmm1
	jmp _Z11CL_DrawLogoi_100
_Z11CL_DrawLogoi_60:
	movss xmm1, dword [_float_1_00000000]
	jmp _Z11CL_DrawLogoi_110
	nop


;CL_DrawText(ScreenPlacement const*, char const*, int, Font_s*, float, float, int, int, float, float, float const*, int)
_Z11CL_DrawTextPK15ScreenPlacementPKciP6Font_sffiiffPKfi:
	push ebp
	mov ebp, esp
	sub esp, 0x38
	mov eax, [ebp+0x24]
	mov [esp+0x18], eax
	mov eax, [ebp+0x20]
	mov [esp+0x14], eax
	lea eax, [ebp+0x2c]
	mov [esp+0x10], eax
	lea eax, [ebp+0x28]
	mov [esp+0xc], eax
	lea eax, [ebp+0x1c]
	mov [esp+0x8], eax
	lea eax, [ebp+0x18]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z18ScrPlace_ApplyRectPK15ScreenPlacementPfS2_S2_S2_ii
	mov eax, [ebp+0x34]
	mov [esp+0x24], eax
	mov eax, [ebp+0x30]
	mov [esp+0x20], eax
	mov dword [esp+0x1c], 0x0
	mov eax, [ebp+0x2c]
	mov [esp+0x18], eax
	mov eax, [ebp+0x28]
	mov [esp+0x14], eax
	mov eax, [ebp+0x1c]
	mov [esp+0x10], eax
	mov eax, [ebp+0x18]
	mov [esp+0xc], eax
	mov eax, [ebp+0x14]
	mov [esp+0x8], eax
	mov eax, [ebp+0x10]
	mov [esp+0x4], eax
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z16R_AddCmdDrawTextPKciP6Font_sfffffPKfi
	leave
	ret


;CL_InitLoad(char const*, char const*)
_Z11CL_InitLoadPKcS0_:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov ecx, [ebp+0x8]
	mov edx, [ebp+0xc]
	cmp byte [clientUIActives+0x1], 0x0
	jnz _Z11CL_InitLoadPKcS0__10
	leave
	ret
_Z11CL_InitLoadPKcS0__10:
	mov eax, com_expectedHunkUsage
	mov dword [eax], 0x0
	mov [esp+0x4], edx
	mov [esp], ecx
	call _Z9UI_SetMapPKcS0_
	xor eax, eax
	cmp dword [clientUIActives+0xc], 0x5
	setge al
	lea eax, [eax+eax*4]
	mov [clientUIActives+0xc], eax
	leave
	jmp _Z16SCR_UpdateScreenv


;CL_Record_f()
_Z11CL_Record_fv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2cc
	mov dword [esp+0x4], 0x20000
	lea eax, [ebp-0x30]
	mov [esp], eax
	call _ZN10LargeLocalC1Ei
	lea edx, [ebp-0x30]
	mov [esp], edx
	call _ZN10LargeLocal6GetBufEv
	mov [ebp-0x2b0], eax
	mov dword [esp+0x4], 0x20000
	lea eax, [ebp-0x28]
	mov [esp], eax
	call _ZN10LargeLocalC1Ei
	lea edx, [ebp-0x28]
	mov [esp], edx
	call _ZN10LargeLocal6GetBufEv
	mov [ebp-0x2ac], eax
	mov ecx, cmd_args
	mov ebx, [ecx]
	mov edx, [ecx+ebx*4+0x44]
	cmp edx, 0x2
	jg _Z11CL_Record_fv_10
	mov eax, [clientUIActives+0xc]
	mov esi, [clientConnections+0x40188]
	test esi, esi
	jnz _Z11CL_Record_fv_20
	cmp eax, 0x9
	jz _Z11CL_Record_fv_30
	mov dword [esp+0x4], _cstring_you_must_be_in_a
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
_Z11CL_Record_fv_80:
	lea eax, [ebp-0x28]
	mov [esp], eax
	call _ZN10LargeLocalD1Ev
	lea eax, [ebp-0x30]
	mov [esp], eax
	call _ZN10LargeLocalD1Ev
	add esp, 0x2cc
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z11CL_Record_fv_30:
	cmp edx, 0x2
	jz _Z11CL_Record_fv_40
	xor ebx, ebx
	lea edi, [ebp-0xa8]
	lea esi, [ebp-0x29c]
	jmp _Z11CL_Record_fv_50
_Z11CL_Record_fv_70:
	add ebx, 0x1
	cmp ebx, 0x2710
	jz _Z11CL_Record_fv_60
_Z11CL_Record_fv_50:
	mov [esp+0xc], ebx
	mov dword [esp+0x8], _cstring_demo04i
	mov dword [esp+0x4], 0x40
	mov [esp], edi
	call _Z11Com_sprintfPciPKcz
	mov dword [esp+0x10], 0x1
	mov [esp+0xc], edi
	mov dword [esp+0x8], _cstring_demossdm_d
	mov dword [esp+0x4], 0x100
	mov [esp], esi
	call _Z11Com_sprintfPciPKcz
	mov [esp], esi
	call _Z13FS_FileExistsPKc
	test eax, eax
	jnz _Z11CL_Record_fv_70
	jmp _Z11CL_Record_fv_60
_Z11CL_Record_fv_10:
	mov dword [esp+0x4], _cstring_record_demoname
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	jmp _Z11CL_Record_fv_80
_Z11CL_Record_fv_20:
	mov dword [esp+0x4], _cstring_already_recordin
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	jmp _Z11CL_Record_fv_80
_Z11CL_Record_fv_40:
	mov dword [esp+0x8], 0x40
	mov eax, [ecx+ebx*4+0x64]
	mov eax, [eax+0x4]
	mov [esp+0x4], eax
	lea edi, [ebp-0xa8]
	mov [esp], edi
	call _Z10I_strncpyzPcPKci
	mov dword [esp+0x10], 0x1
	mov [esp+0xc], edi
	mov dword [esp+0x8], _cstring_demossdm_d
	mov dword [esp+0x4], 0x100
	lea esi, [ebp-0x29c]
	mov [esp], esi
	call _Z11Com_sprintfPciPKcz
_Z11CL_Record_fv_60:
	mov [esp+0x8], esi
	mov dword [esp+0x4], _cstring_recording_to_s
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	mov [esp], esi
	call _Z17FS_FOpenFileWritePKc
	mov [clientConnections+0x401a0], eax
	test eax, eax
	jnz _Z11CL_Record_fv_90
	mov dword [esp+0x4], _cstring_error_couldnt_op
	mov dword [esp], 0x0
	call _Z14Com_PrintErroriPKcz
	jmp _Z11CL_Record_fv_80
_Z11CL_Record_fv_90:
	mov dword [clientConnections+0x40188], 0x1
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], edi
	mov dword [esp], clientConnections+0x40148
	call _Z10I_strncpyzPcPKci
	mov dword [clientConnections+0x40198], 0x1
	mov dword [esp+0x8], 0x20000
	mov edx, [ebp-0x2b0]
	mov [esp+0x4], edx
	lea eax, [ebp-0x68]
	mov [esp], eax
	call _Z8MSG_InitP5msg_tPhi
	mov eax, [clientConnections+0x12c]
	mov [esp+0x4], eax
	lea edx, [ebp-0x68]
	mov [esp], edx
	call _Z13MSG_WriteLongP5msg_ti
	mov dword [esp+0x4], 0x1
	lea eax, [ebp-0x68]
	mov [esp], eax
	call _Z13MSG_WriteByteP5msg_ti
	mov eax, [clientConnections+0x20138]
	mov [esp+0x4], eax
	lea edx, [ebp-0x68]
	mov [esp], edx
	call _Z13MSG_WriteLongP5msg_ti
	mov dword [esp+0x4], 0x2
	lea eax, [ebp-0x68]
	mov [esp], eax
	call _Z13MSG_WriteByteP5msg_ti
	xor edx, edx
	mov eax, clients
	mov ecx, clients+0x2628
_Z11CL_Record_fv_100:
	cmp dword [eax+0x2fbc], 0x1
	sbb edx, 0xffffffff
	add eax, 0x4
	cmp ecx, eax
	jnz _Z11CL_Record_fv_100
	mov [esp+0x4], edx
	lea edx, [ebp-0x68]
	mov [esp], edx
	call _Z14MSG_WriteShortP5msg_ti
	xor ebx, ebx
	mov esi, clients
	jmp _Z11CL_Record_fv_110
_Z11CL_Record_fv_130:
	add ebx, 0x1
	add esi, 0x4
	cmp ebx, 0x98a
	jz _Z11CL_Record_fv_120
_Z11CL_Record_fv_110:
	mov eax, [esi+0x2fbc]
	test eax, eax
	jz _Z11CL_Record_fv_130
	lea edi, [eax+clients+0x55e4]
	lea eax, [ebp-0x68]
	mov [esp], eax
	call _Z13MSG_WriteBit0P5msg_t
	mov dword [esp+0x8], 0xc
	mov [esp+0x4], ebx
	lea edx, [ebp-0x68]
	mov [esp], edx
	call _Z13MSG_WriteBitsP5msg_tii
	mov [esp+0x4], edi
	lea eax, [ebp-0x68]
	mov [esp], eax
	call _Z18MSG_WriteBigStringP5msg_tPKc
	add ebx, 0x1
	add esi, 0x4
	cmp ebx, 0x98a
	jnz _Z11CL_Record_fv_110
_Z11CL_Record_fv_120:
	mov edx, svsHeader
	mov eax, [cls+0x138]
	mov [edx+0x28], eax
	mov eax, [cls+0x13c]
	mov [edx+0x2c], eax
	mov eax, [cls+0x140]
	mov [edx+0x30], eax
	mov dword [ebp-0x40], 0x0
	mov dword [ebp-0x3c], 0x0
	mov dword [ebp-0x38], 0x0
	mov dword [ebp-0x34], 0x0
	mov dword [esp+0x8], 0xf4
	mov dword [esp+0x4], 0x0
	lea edx, [ebp-0x19c]
	mov [esp], edx
	call memset
	xor edi, edi
	mov ebx, 0xc8ad0
	jmp _Z11CL_Record_fv_140
_Z11CL_Record_fv_160:
	add edi, 0x1
	add ebx, 0xf4
	cmp edi, 0x400
	jz _Z11CL_Record_fv_150
_Z11CL_Record_fv_140:
	lea esi, [ebx+clients]
	mov eax, [ebx+clients]
	test eax, eax
	jz _Z11CL_Record_fv_160
	mov dword [esp+0x4], 0x3
	lea eax, [ebp-0x68]
	mov [esp], eax
	call _Z13MSG_WriteByteP5msg_ti
	mov dword [esp+0x14], 0x1
	mov [esp+0x10], esi
	lea edx, [ebp-0x19c]
	mov [esp+0xc], edx
	mov dword [esp+0x8], 0xfffea070
	lea eax, [ebp-0x68]
	mov [esp+0x4], eax
	lea edx, [ebp-0x40]
	mov [esp], edx
	call _Z15MSG_WriteEntityP14SnapshotInfo_sP5msg_tiPK13entityState_sS5_i
	add edi, 0x1
	add ebx, 0xf4
	cmp edi, 0x400
	jnz _Z11CL_Record_fv_140
_Z11CL_Record_fv_150:
	mov dword [esp+0x4], 0x7
	lea eax, [ebp-0x68]
	mov [esp], eax
	call _Z13MSG_WriteByteP5msg_ti
	mov eax, [clientConnections+0x4]
	mov [esp+0x4], eax
	lea edx, [ebp-0x68]
	mov [esp], edx
	call _Z13MSG_WriteLongP5msg_ti
	mov eax, [clientConnections+0x128]
	mov [esp+0x4], eax
	lea eax, [ebp-0x68]
	mov [esp], eax
	call _Z13MSG_WriteLongP5msg_ti
	mov dword [esp+0x4], 0x7
	lea edx, [ebp-0x68]
	mov [esp], edx
	call _Z13MSG_WriteByteP5msg_ti
	mov eax, [ebp-0x60]
	mov eax, [eax]
	mov edx, [ebp-0x2ac]
	mov [edx], eax
	mov eax, [ebp-0x54]
	sub eax, 0x4
	mov [esp+0xc], eax
	mov eax, edx
	add eax, 0x4
	mov [esp+0x8], eax
	mov eax, [ebp-0x60]
	add eax, 0x4
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z21MSG_WriteBitsCompresshPKhPhi
	lea ebx, [eax+0x4]
	mov byte [ebp-0x19], 0x0
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x1
	lea eax, [ebp-0x19]
	mov [esp], eax
	call _Z8FS_WritePKvii
	mov eax, [clientConnections+0x20134]
	mov [ebp-0x20], eax
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x4
	lea esi, [ebp-0x20]
	mov [esp], esi
	call _Z8FS_WritePKvii
	mov [ebp-0x20], ebx
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x4
	mov [esp], esi
	call _Z8FS_WritePKvii
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov [esp+0x4], ebx
	mov eax, [ebp-0x2ac]
	mov [esp], eax
	call _Z8FS_WritePKvii
	xor ebx, ebx
_Z11CL_Record_fv_170:
	mov [esp], ebx
	xor ecx, ecx
	mov edx, clients
	mov eax, clientConnections
	call _Z25CL_WriteDemoClientArchivePK18clientConnection_tPK14clientActive_tii
	add ebx, 0x1
	cmp ebx, 0x100
	jnz _Z11CL_Record_fv_170
	mov eax, [clients+0x696cc]
	mov [clientConnections+0x40144], eax
	lea edx, [ebp-0x28]
	mov [esp], edx
	call _ZN10LargeLocalD1Ev
	lea eax, [ebp-0x30]
	mov [esp], eax
	call _ZN10LargeLocalD1Ev
	add esp, 0x2cc
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	mov ebx, eax
_Z11CL_Record_fv_180:
	lea edx, [ebp-0x30]
	mov [esp], edx
	call _ZN10LargeLocalD1Ev
	mov [esp], ebx
	call _Unwind_Resume
	mov ebx, eax
	lea edx, [ebp-0x28]
	mov [esp], edx
	call _ZN10LargeLocalD1Ev
	jmp _Z11CL_Record_fv_180


;CL_Setenv_f()
_Z11CL_Setenv_fv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, cmd_args
	mov eax, [ebx]
	mov edx, [ebx+eax*4+0x44]
	mov [ebp-0x41c], edx
	cmp edx, 0x2
	jg _Z11CL_Setenv_fv_10
	jz _Z11CL_Setenv_fv_20
_Z11CL_Setenv_fv_100:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z11CL_Setenv_fv_10:
	mov dword [esp+0x8], 0x400
	mov eax, [ebx+eax*4+0x64]
	mov eax, [eax+0x4]
	mov [esp+0x4], eax
	lea edi, [ebp-0x418]
	mov [esp], edi
	call _Z10I_strncpyzPcPKci
	mov dword [esp+0x8], _cstring_1
	mov dword [esp+0x4], 0x400
	mov [esp], edi
	call _Z9I_strncatPciPKc
	mov esi, 0x2
	jmp _Z11CL_Setenv_fv_30
_Z11CL_Setenv_fv_50:
	mov eax, _cstring_null
_Z11CL_Setenv_fv_60:
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x400
	mov [esp], edi
	call _Z9I_strncatPciPKc
	mov dword [esp+0x8], _cstring_space
	mov dword [esp+0x4], 0x400
	mov [esp], edi
	call _Z9I_strncatPciPKc
	add esi, 0x1
	cmp [ebp-0x41c], esi
	jz _Z11CL_Setenv_fv_40
_Z11CL_Setenv_fv_30:
	mov eax, [ebx]
	cmp esi, [ebx+eax*4+0x44]
	jge _Z11CL_Setenv_fv_50
	mov eax, [ebx+eax*4+0x64]
	mov eax, [eax+esi*4]
	jmp _Z11CL_Setenv_fv_60
_Z11CL_Setenv_fv_40:
	mov [esp], edi
	call putenv
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z11CL_Setenv_fv_20:
	mov eax, [ebx+eax*4+0x64]
	mov eax, [eax+0x4]
	mov [esp], eax
	call getenv
	mov edx, eax
	test eax, eax
	jz _Z11CL_Setenv_fv_70
	mov eax, [ebx]
	cmp dword [ebx+eax*4+0x44], 0x1
	jle _Z11CL_Setenv_fv_80
	mov eax, [ebx+eax*4+0x64]
	mov eax, [eax+0x4]
_Z11CL_Setenv_fv_110:
	mov [esp+0xc], edx
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_ss
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z11CL_Setenv_fv_70:
	mov eax, [ebx]
	cmp dword [ebx+eax*4+0x44], 0x1
	jle _Z11CL_Setenv_fv_90
	mov eax, [ebx+eax*4+0x64]
	mov eax, [eax+0x4]
_Z11CL_Setenv_fv_120:
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_s_undefined
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	jmp _Z11CL_Setenv_fv_100
_Z11CL_Setenv_fv_80:
	mov eax, _cstring_null
	jmp _Z11CL_Setenv_fv_110
_Z11CL_Setenv_fv_90:
	mov eax, _cstring_null
	jmp _Z11CL_Setenv_fv_120
	nop


;CL_ShowIP_f()
_Z11CL_ShowIP_fv:
	push ebp
	mov ebp, esp
	pop ebp
	jmp _Z10Sys_ShowIPv
	nop


;CL_Shutdown(int)
_Z11CL_Shutdowni:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0x8]
	call _Z15Com_SyncThreadsv
	mov dword [esp+0x4], _cstring__cl_shutdown_
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	mov eax, [_ZZ11CL_ShutdowniE9recursive]
	test eax, eax
	jz _Z11CL_Shutdowni_10
	mov dword [esp], _cstring_recursive_shutdo
	call puts
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z11CL_Shutdowni_10:
	mov dword [_ZZ11CL_ShutdowniE9recursive], 0x1
	mov [esp], ebx
	call _Z13CL_Disconnecti
	call _Z16Sys_IsMainThreadv
	test al, al
	jnz _Z11CL_Shutdowni_20
_Z11CL_Shutdowni_40:
	call _Z20CL_ShutdownDebugDatav
	call _Z15Com_SyncThreadsv
	mov eax, [cls+0x4]
	test eax, eax
	jnz _Z11CL_Shutdowni_30
_Z11CL_Shutdowni_60:
	call _Z12SND_Shutdownv
	call _Z16CL_ShutdownInputv
	mov dword [esp], _cstring_cmd
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_configstrings
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_clientinfo
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_vid_restart
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_snd_restart
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_disconnect
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_record
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_demo
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_cinematic
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_logo
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_stoprecord
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_connect
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_reconnect
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_localservers
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_globalservers
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_rcon
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_setenv
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_ping
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_serverstatus
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_showip
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_fs_openedlist
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_fs_referencedlis
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_updatehunkusage
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_savetranslations
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_savenewtranslati
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_loadtranslations
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_startsingleplaye
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_buynow
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_singleplaylink
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_setrecommended
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_cubemapshot
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_openscriptmenu
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp], _cstring_closemenu
	call _Z17Cmd_RemoveCommandPKc
	mov dword [esp+0x8], 0x2dc708
	mov dword [esp+0x4], 0x0
	mov dword [esp], cls
	call memset
_Z11CL_Shutdowni_50:
	shl ebx, 0x4
	mov byte [ebx+clientUIActives+0x1], 0x0
	mov dword [_ZZ11CL_ShutdowniE9recursive], 0x0
	mov dword [esp+0x4], _cstring_2
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z11CL_Shutdowni_20:
	mov dword [esp], 0x0
	call _Z15UI_IsFullscreeni
	test eax, eax
	jnz _Z11CL_Shutdowni_40
	cmp byte [clientUIActives], 0x0
	jz _Z11CL_Shutdowni_40
	cmp dword [clientUIActives+0xc], 0x2
	jle _Z11CL_Shutdowni_40
	jmp _Z11CL_Shutdowni_50
_Z11CL_Shutdowni_30:
	mov dword [esp], 0x0
	call _Z16CL_ShutdownCGamei
	call _Z13Phys_Shutdownv
	call _Z13CL_ShutdownUIv
	mov dword [cls+0x4], 0x0
	jmp _Z11CL_Shutdowni_60
	nop


;CL_ClearState(int)
_Z13CL_ClearStatei:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0x8]
	test ebx, ebx
	jle _Z13CL_ClearStatei_10
	mov [ebp+0x8], ebx
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z26Com_ClientDObjClearAllSkeli
_Z13CL_ClearStatei_10:
	mov dword [esp+0x8], 0x1b1bdc
	mov dword [esp+0x4], 0x0
	mov dword [esp], clients
	call memset
	mov [ebp+0x8], ebx
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z26Com_ClientDObjClearAllSkeli


;CL_Disconnect(int)
_Z13CL_Disconnecti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov ebx, [ebp+0x8]
	cmp byte [clientUIActives+0x1], 0x0
	jz _Z13CL_Disconnecti_10
	mov esi, [clientUIActives+0xc]
	cmp esi, 0x4
	jg _Z13CL_Disconnecti_20
	xor edi, edi
	mov eax, [cls+0x2dc6b0]
	test eax, eax
	jnz _Z13CL_Disconnecti_30
_Z13CL_Disconnecti_150:
	mov eax, [cls+0x2dc094]
	test eax, eax
	jnz _Z13CL_Disconnecti_40
_Z13CL_Disconnecti_220:
	mov byte [cls+0x2dc198], 0x0
	mov byte [cls+0x2dc098], 0x0
	mov eax, legacyHacks
	mov byte [eax+0xc], 0x0
_Z13CL_Disconnecti_160:
	mov byte [eax+0xc], 0x0
	cmp esi, 0x4
	jle _Z13CL_Disconnecti_50
	mov eax, [edi+0x401a0]
	test eax, eax
	jnz _Z13CL_Disconnecti_60
_Z13CL_Disconnecti_50:
	mov [esp], ebx
	call _Z17SCR_StopCinematici
	cmp esi, 0x4
	jle _Z13CL_Disconnecti_70
	mov eax, [edi+0x12c]
	sub eax, [edi+0x130]
	add eax, 0xffffff80
	jle _Z13CL_Disconnecti_80
_Z13CL_Disconnecti_70:
	test ebx, ebx
	jle _Z13CL_Disconnecti_90
_Z13CL_Disconnecti_230:
	mov [esp], ebx
	call _Z26Com_ClientDObjClearAllSkeli
	call _Z16Ragdoll_Shutdownv
	call _Z17CL_ClearMutedListv
	cmp esi, 0x4
	jg _Z13CL_Disconnecti_100
_Z13CL_Disconnecti_190:
	mov eax, ebx
	shl eax, 0x4
	mov dword [eax+clientUIActives+0xc], 0x0
	mov edi, [cls+0x2dc6b0]
	test edi, edi
	jz _Z13CL_Disconnecti_110
_Z13CL_Disconnecti_180:
	mov [esp], ebx
	call _Z17DynEntCl_Shutdowni
	mov [esp], ebx
	call _Z22SND_DisconnectListeneri
	cmp esi, 0x2
	jle _Z13CL_Disconnecti_120
	and dword [clientUIActives+0x4], 0x1
_Z13CL_Disconnecti_120:
	call _Z16Sys_IsMainThreadv
	test al, al
	jnz _Z13CL_Disconnecti_130
_Z13CL_Disconnecti_170:
	mov dword [esp+0x4], 0x0
	mov eax, sv_disableClientConsole
	mov eax, [eax]
	mov [esp], eax
	call _Z12Dvar_SetBoolPK6dvar_sh
	mov eax, cl_connectedToPureServer
	mov dword [eax], 0x0
	mov eax, fs_checksumFeed
	mov dword [eax], 0x0
	mov dword [esp], 0x0
	call _Z23LiveStorage_UploadStatsi
	mov dword [ebp+0x8], 0x0
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z33LiveStorage_ReadStatsIfDirChangedi
_Z13CL_Disconnecti_20:
	mov eax, [clientConnections+0x40188]
	test eax, eax
	jnz _Z13CL_Disconnecti_140
	mov edi, clientConnections
_Z13CL_Disconnecti_210:
	mov eax, [cls+0x2dc6b0]
	test eax, eax
	jz _Z13CL_Disconnecti_150
_Z13CL_Disconnecti_30:
	mov eax, legacyHacks
	jmp _Z13CL_Disconnecti_160
_Z13CL_Disconnecti_130:
	mov dword [esp], 0x0
	call _Z15UI_IsFullscreeni
	test eax, eax
	jnz _Z13CL_Disconnecti_170
	cmp byte [clientUIActives], 0x0
	jz _Z13CL_Disconnecti_170
	cmp dword [clientUIActives+0xc], 0x2
	jle _Z13CL_Disconnecti_170
_Z13CL_Disconnecti_10:
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z13CL_Disconnecti_110:
	mov dword [cls+0x2dc6a8], 0x0
	mov byte [cls+0x2dc098], 0x0
	mov byte [cls+0x2dc198], 0x0
	mov byte [cls+0x2dc6bc], 0x0
	mov dword [cls+0x2dc6b4], 0x0
	mov dword [cls+0x2dc6b0], 0x0
	mov dword [cls+0x2dc6b8], 0x0
	call _Z17DL_CancelDownloadv
	jmp _Z13CL_Disconnecti_180
_Z13CL_Disconnecti_100:
	mov dword [esp+0x8], 0x615dc
	mov dword [esp+0x4], 0x0
	mov [esp], edi
	call memset
	jmp _Z13CL_Disconnecti_190
_Z13CL_Disconnecti_80:
	mov edx, [clientConnections+0x12c]
	mov eax, edx
	sub eax, [clientConnections+0x130]
	add eax, 0xffffff80
	jg _Z13CL_Disconnecti_200
_Z13CL_Disconnecti_240:
	lea eax, [edx+0x1]
	mov [clientConnections+0x12c], eax
	mov dword [esp+0x8], 0x400
	and eax, 0x7f
	shl eax, 0xa
	add eax, clientConnections+0x134
	mov [esp+0x4], eax
	mov dword [esp], _cstring_disconnect
	call _Z32MSG_WriteReliableCommandToBufferPKcPci
	mov [esp], ebx
	call _Z14CL_WritePacketi
	mov [esp], ebx
	call _Z14CL_WritePacketi
	mov [esp], ebx
	call _Z14CL_WritePacketi
	jmp _Z13CL_Disconnecti_70
_Z13CL_Disconnecti_140:
	mov dword [esp+0x8], _cstring_stoprecord
	mov [esp+0x4], ebx
	mov [esp], ebx
	call _Z24Cmd_ExecuteSingleCommandiiPKc
	mov edi, clientConnections
	jmp _Z13CL_Disconnecti_210
_Z13CL_Disconnecti_60:
	mov [esp], eax
	call _Z13FS_FCloseFilei
	mov dword [edi+0x401a0], 0x0
	mov dword [edi+0x4018c], 0x0
	mov dword [edi+0x40188], 0x0
	jmp _Z13CL_Disconnecti_50
_Z13CL_Disconnecti_40:
	mov [esp], eax
	call _Z13FS_FCloseFilei
	mov dword [cls+0x2dc094], 0x0
	jmp _Z13CL_Disconnecti_220
_Z13CL_Disconnecti_90:
	mov dword [esp+0x8], 0x1b1bdc
	mov dword [esp+0x4], 0x0
	mov dword [esp], clients
	call memset
	jmp _Z13CL_Disconnecti_230
_Z13CL_Disconnecti_200:
	mov dword [esp+0x4], _cstring_exe_err_client_c
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	mov edx, [clientConnections+0x12c]
	jmp _Z13CL_Disconnecti_240
	nop


;CL_IsUIActive(int)
_Z13CL_IsUIActivei:
	push ebp
	mov ebp, esp
	xor eax, eax
	test byte [clientUIActives+0x4], 0x10
	setnz al
	pop ebp
	ret
	nop


;CL_MapLoading(char const*)
_Z13CL_MapLoadingPKc:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	cmp byte [clientUIActives+0x1], 0x0
	jnz _Z13CL_MapLoadingPKc_10
	leave
	ret
_Z13CL_MapLoadingPKc_10:
	mov byte [g_waitingForServer], 0x0
	mov dword [esp], 0x0
	call _Z19FS_DisablePureCheckh
	mov dword [esp], 0x0
	call _Z9Con_Closei
	mov dword [clientUIActives+0x4], 0x0
	mov byte [clientUIActives+0x8], 0x0
	mov dword [esp], 0x0
	call _Z23LiveStorage_UploadStatsi
	mov dword [esp], 0x0
	call _Z16UI_CloseAllMenusi
	mov byte [cl_serverLoadingMap], 0x1
	mov eax, com_sv_running
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z13CL_MapLoadingPKc_20
	cmp dword [clientUIActives+0xc], 0x4
	jg _Z13CL_MapLoadingPKc_30
_Z13CL_MapLoadingPKc_40:
	mov dword [esp+0x4], _cstring_null
	mov eax, nextmap
	mov eax, [eax]
	mov [esp], eax
	call _Z14Dvar_SetStringPK6dvar_sPKc
	mov dword [esp+0x8], 0x100
	mov dword [esp+0x4], _cstring_localhost
	mov dword [esp], cls+0x8
	call _Z10I_strncpyzPcPKci
	mov dword [esp], 0x0
	call _Z13CL_Disconnecti
	mov dword [esp], 0x0
	call _Z11UI_CloseAlli
	mov dword [clientUIActives+0xc], 0x4
	mov dword [clientConnections+0x1c], 0xfffff448
	mov eax, g_qport
	mov eax, [eax]
	mov [clientConnections], eax
	mov dword [esp+0x4], clientConnections+0x10
	mov dword [esp], cls+0x8
	call _Z15NET_StringToAdrPKcP8netadr_t
	mov dword [esp], 0x0
	call _Z17CL_CheckForResendi
	mov byte [cl_waitingOnServerToLoadMap], 0x0
_Z13CL_MapLoadingPKc_50:
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0x0
	call _Z17SND_FadeAllSoundsfi
	leave
	ret
_Z13CL_MapLoadingPKc_20:
	mov dword [esp+0x8], _cstring_selectstringtabl
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0x0
	call _Z18Cbuf_ExecuteBufferiiPKc
	cmp dword [clientUIActives+0xc], 0x4
	jle _Z13CL_MapLoadingPKc_40
_Z13CL_MapLoadingPKc_30:
	mov dword [esp+0x4], _cstring_localhost
	mov dword [esp], cls+0x8
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z13CL_MapLoadingPKc_40
	mov dword [clientUIActives+0xc], 0x5
	mov dword [esp+0x8], 0x100
	mov dword [esp+0x4], 0x0
	mov dword [esp], clientConnections+0x24
	call memset
	mov dword [esp+0x8], 0x2262c
	mov dword [esp+0x4], 0x0
	mov dword [esp], clients+0x2fbc
	call memset
	mov dword [clientConnections+0x8], 0xffffd8f1
	mov byte [cl_waitingOnServerToLoadMap], 0x0
	jmp _Z13CL_MapLoadingPKc_50
	nop


;CL_PlayLogo_f()
_Z13CL_PlayLogo_fv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x40
	mov edx, cmd_args
	mov eax, [edx]
	cmp dword [edx+eax*4+0x44], 0x5
	jz _Z13CL_PlayLogo_fv_10
	mov dword [esp+0x4], _cstring_usage_logo_image
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
_Z13CL_PlayLogo_fv_40:
	add esp, 0x40
	pop ebx
	pop esi
	pop ebp
	ret
_Z13CL_PlayLogo_fv_10:
	mov dword [esp+0x4], _cstring_cl_playlogo_f
	mov dword [esp], 0x0
	call _Z11Com_DPrintfiPKcz
	mov eax, [clientUIActives+0xc]
	cmp eax, 0x1
	jz _Z13CL_PlayLogo_fv_20
	cmp eax, 0x2
	jz _Z13CL_PlayLogo_fv_30
	test eax, eax
	jnz _Z13CL_PlayLogo_fv_40
_Z13CL_PlayLogo_fv_100:
	mov dword [clientUIActives+0xc], 0x2
	mov eax, [cls+0x110]
	test eax, eax
	jnz _Z13CL_PlayLogo_fv_50
_Z13CL_PlayLogo_fv_140:
	mov dword [esp], 0x0
	call _Z14SND_StopSounds20snd_stopsounds_arg_t
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0x3f800000
	call _Z17SND_FadeAllSoundsfi
	mov ebx, cmd_args
	mov edx, [ebx]
	mov ecx, [ebx+edx*4+0x44]
	cmp ecx, 0x1
	jle _Z13CL_PlayLogo_fv_60
	mov eax, [ebx+edx*4+0x64]
	mov esi, [eax+0x4]
_Z13CL_PlayLogo_fv_150:
	cmp ecx, 0x2
	jg _Z13CL_PlayLogo_fv_70
	mov eax, _cstring_null
_Z13CL_PlayLogo_fv_130:
	mov [esp], eax
	call atof
	fstp qword [ebp-0x20]
	cvtsd2ss xmm0, [ebp-0x20]
	mulss xmm0, [_float_1000_00000000]
	addss xmm0, [_float_0_50000000]
	movss [esp], xmm0
	call floorf
	fstp dword [ebp-0x24]
	cvttss2si eax, [ebp-0x24]
	mov [cls+0x128], eax
	mov eax, cmd_args
	mov edx, [eax]
	cmp dword [eax+edx*4+0x44], 0x3
	jg _Z13CL_PlayLogo_fv_80
	mov eax, _cstring_null
_Z13CL_PlayLogo_fv_120:
	mov [esp], eax
	call atof
	fstp qword [ebp-0x18]
	cvtsd2ss xmm0, [ebp-0x18]
	mulss xmm0, [_float_1000_00000000]
	addss xmm0, [_float_0_50000000]
	movss [esp], xmm0
	call floorf
	fstp dword [ebp-0x28]
	cvttss2si eax, [ebp-0x28]
	mov [cls+0x124], eax
	mov eax, cmd_args
	mov edx, [eax]
	cmp dword [eax+edx*4+0x44], 0x4
	jg _Z13CL_PlayLogo_fv_90
	mov eax, _cstring_null
_Z13CL_PlayLogo_fv_110:
	mov [esp], eax
	call atof
	fstp qword [ebp-0x10]
	cvtsd2ss xmm0, [ebp-0x10]
	mulss xmm0, [_float_1000_00000000]
	addss xmm0, [_float_0_50000000]
	movss [esp], xmm0
	call floorf
	fstp dword [ebp-0x2c]
	cvttss2si eax, [ebp-0x2c]
	mov [cls+0x12c], eax
	add eax, [cls+0x128]
	add [cls+0x124], eax
	mov [esp+0x4], esi
	mov dword [esp], _cstring_s11
	call _Z2vaPKcz
	mov dword [esp+0x4], 0x3
	mov [esp], eax
	call _Z23Material_RegisterHandlePKci
	mov [cls+0x130], eax
	mov [esp+0x4], esi
	mov dword [esp], _cstring_s2
	call _Z2vaPKcz
	mov dword [esp+0x4], 0x3
	mov [esp], eax
	call _Z23Material_RegisterHandlePKci
	mov [cls+0x134], eax
	mov eax, [cls+0x118]
	add eax, 0x64
	mov [cls+0x120], eax
	add esp, 0x40
	pop ebx
	pop esi
	pop ebp
	ret
_Z13CL_PlayLogo_fv_30:
	mov dword [clientUIActives+0xc], 0x0
	jmp _Z13CL_PlayLogo_fv_100
_Z13CL_PlayLogo_fv_90:
	mov eax, [eax+edx*4+0x64]
	mov eax, [eax+0x10]
	jmp _Z13CL_PlayLogo_fv_110
_Z13CL_PlayLogo_fv_80:
	mov eax, [eax+edx*4+0x64]
	mov eax, [eax+0xc]
	jmp _Z13CL_PlayLogo_fv_120
_Z13CL_PlayLogo_fv_70:
	mov eax, [ebx+edx*4+0x64]
	mov eax, [eax+0x8]
	jmp _Z13CL_PlayLogo_fv_130
_Z13CL_PlayLogo_fv_50:
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0x0
	call _Z16UI_SetActiveMenuii
	jmp _Z13CL_PlayLogo_fv_140
_Z13CL_PlayLogo_fv_60:
	mov esi, _cstring_null
	jmp _Z13CL_PlayLogo_fv_150
_Z13CL_PlayLogo_fv_20:
	mov dword [esp], 0x0
	call _Z17SCR_StopCinematici
	jmp _Z13CL_PlayLogo_fv_100


;CL_PacketEvent(int, netadr_t, msg_t*, int)
_Z14CL_PacketEventi8netadr_tP5msg_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x8c
	movzx ebx, word [ebp+0x14]
	movzx eax, byte [ebp+0x13]
	mov [ebp-0x69], al
	movzx edx, byte [ebp+0x12]
	mov [ebp-0x6a], dl
	movzx ecx, byte [ebp+0x11]
	mov [ebp-0x6b], cl
	movzx eax, byte [ebp+0x10]
	mov [ebp-0x6c], al
	mov esi, [ebp+0xc]
	mov ecx, [ebp+0x18]
	mov edx, [ecx+0x14]
	cmp edx, 0x3
	jle _Z14CL_PacketEventi8netadr_tP5msg_ti_10
	mov eax, [ecx+0x8]
	cmp dword [eax], 0xffffffff
	jz _Z14CL_PacketEventi8netadr_tP5msg_ti_20
_Z14CL_PacketEventi8netadr_tP5msg_ti_10:
	mov edi, [clientUIActives+0xc]
	cmp edi, 0x4
	jle _Z14CL_PacketEventi8netadr_tP5msg_ti_30
	cmp edx, 0x3
	jg _Z14CL_PacketEventi8netadr_tP5msg_ti_40
	mov [ebp-0x30], bx
	movzx ecx, byte [ebp-0x69]
	mov [ebp-0x31], cl
	movzx eax, byte [ebp-0x6a]
	mov [ebp-0x32], al
	movzx edx, byte [ebp-0x6b]
	mov [ebp-0x33], dl
	movzx ecx, byte [ebp-0x6c]
	mov [ebp-0x34], cl
	mov [ebp-0x38], esi
	mov [esp], esi
	mov eax, [ebp-0x34]
	mov [esp+0x4], eax
	mov eax, [ebp-0x30]
	mov [esp+0x8], eax
	call _Z15NET_AdrToString8netadr_t
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_s_runt_packet
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	mov eax, 0x1
_Z14CL_PacketEventi8netadr_tP5msg_ti_60:
	add esp, 0x8c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z14CL_PacketEventi8netadr_tP5msg_ti_40:
	mov ecx, [clientConnections+0x401c8]
	mov [ebp-0x2c], ecx
	mov edx, [clientConnections+0x401cc]
	mov [ebp-0x28], edx
	mov edi, [clientConnections+0x401d0]
	mov [ebp-0x24], edi
	mov [ebp-0x60], bx
	movzx eax, byte [ebp-0x69]
	mov [ebp-0x61], al
	movzx eax, byte [ebp-0x6a]
	mov [ebp-0x62], al
	movzx eax, byte [ebp-0x6b]
	mov [ebp-0x63], al
	movzx eax, byte [ebp-0x6c]
	mov [ebp-0x64], al
	mov [ebp-0x68], esi
	mov [esp+0xc], ecx
	mov [esp+0x10], edx
	mov [esp+0x14], edi
	mov [esp], esi
	mov eax, [ebp-0x64]
	mov [esp+0x4], eax
	mov eax, [ebp-0x60]
	mov [esp+0x8], eax
	call _Z14NET_CompareAdr8netadr_tS_
	test eax, eax
	jz _Z14CL_PacketEventi8netadr_tP5msg_ti_50
	mov eax, [cls+0x118]
	mov [clientConnections+0xc], eax
	mov ecx, [ebp+0x18]
	mov [esp+0x4], ecx
	mov dword [esp], clientConnections+0x401b8
	call _Z15Netchan_ProcessP9netchan_tP5msg_t
	test eax, eax
	jz _Z14CL_PacketEventi8netadr_tP5msg_ti_60
	mov eax, [ebp+0x18]
	mov eax, [eax+0x1c]
	mov [ebp-0x70], eax
	mov esi, [clientConnections+0x20134]
	mov ebx, [clientConnections+0x130]
	mov edx, [ebp+0x18]
	mov eax, [edx+0x8]
	mov eax, [eax]
	mov [clientConnections+0x20134], eax
	mov [esp], edx
	call _Z12MSG_ReadLongP5msg_t
	mov [clientConnections+0x130], eax
	mov ecx, [clientConnections+0x12c]
	lea edx, [ecx-0x80]
	cmp eax, edx
	jge _Z14CL_PacketEventi8netadr_tP5msg_ti_70
	mov [clientConnections+0x130], ecx
	xor eax, eax
	jmp _Z14CL_PacketEventi8netadr_tP5msg_ti_60
_Z14CL_PacketEventi8netadr_tP5msg_ti_30:
	mov edx, [ebp+0x18]
	mov eax, [edx+0x8]
	mov eax, [eax]
	mov [ebp-0x74], eax
	mov [ebp-0x54], bx
	movzx ecx, byte [ebp-0x69]
	mov [ebp-0x55], cl
	movzx eax, byte [ebp-0x6a]
	mov [ebp-0x56], al
	movzx edx, byte [ebp-0x6b]
	mov [ebp-0x57], dl
	movzx ecx, byte [ebp-0x6c]
	mov [ebp-0x58], cl
	mov [ebp-0x5c], esi
	mov [esp], esi
	mov eax, [ebp-0x58]
	mov [esp+0x4], eax
	mov eax, [ebp-0x54]
	mov [esp+0x8], eax
	call _Z15NET_AdrToString8netadr_t
	mov [esp+0x10], edi
	mov edx, [ebp-0x74]
	mov [esp+0xc], edx
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_s_got_msg_sequen
	mov dword [esp], 0xe
	call _Z11Com_DPrintfiPKcz
	xor eax, eax
	add esp, 0x8c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z14CL_PacketEventi8netadr_tP5msg_ti_50:
	mov [ebp-0x3c], bx
	movzx edx, byte [ebp-0x69]
	mov [ebp-0x3d], dl
	movzx ecx, byte [ebp-0x6a]
	mov [ebp-0x3e], cl
	movzx eax, byte [ebp-0x6b]
	mov [ebp-0x3f], al
	movzx edx, byte [ebp-0x6c]
	mov [ebp-0x40], dl
	mov [ebp-0x44], esi
	mov [esp], esi
	mov eax, [ebp-0x40]
	mov [esp+0x4], eax
	mov eax, [ebp-0x3c]
	mov [esp+0x8], eax
	call _Z15NET_AdrToString8netadr_t
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_ssequenced_packe
	mov dword [esp], 0xe
	call _Z11Com_DPrintfiPKcz
	xor eax, eax
	add esp, 0x8c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z14CL_PacketEventi8netadr_tP5msg_ti_20:
	mov [ebp-0x48], bx
	movzx eax, byte [ebp-0x69]
	mov [ebp-0x49], al
	movzx edx, byte [ebp-0x6a]
	mov [ebp-0x4a], dl
	movzx ecx, byte [ebp-0x6b]
	mov [ebp-0x4b], cl
	movzx eax, byte [ebp-0x6c]
	mov [ebp-0x4c], al
	mov [ebp-0x50], esi
	mov edx, [ebp+0x1c]
	mov [esp+0x14], edx
	mov ecx, [ebp+0x18]
	mov [esp+0x10], ecx
	mov [esp+0x4], esi
	mov eax, [ebp-0x4c]
	mov [esp+0x8], eax
	mov eax, [ebp-0x48]
	mov [esp+0xc], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z23CL_ConnectionlessPacketi8netadr_tP5msg_ti
	movzx eax, al
	jmp _Z14CL_PacketEventi8netadr_tP5msg_ti_60
_Z14CL_PacketEventi8netadr_tP5msg_ti_70:
	mov ecx, [ebp+0x18]
	mov edx, [ecx+0x1c]
	mov eax, [ecx+0x14]
	sub eax, edx
	mov [esp+0x4], eax
	add edx, [ecx+0x8]
	mov [esp], edx
	call _Z17CL_Netchan_DecodePhi
	mov eax, [ebp+0x18]
	mov [esp+0x4], eax
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z21CL_ParseServerMessageiP5msg_t
	mov ecx, [ebp+0x18]
	mov eax, [ecx]
	test eax, eax
	jnz _Z14CL_PacketEventi8netadr_tP5msg_ti_80
	mov eax, [clientConnections+0x40188]
	test eax, eax
	jz _Z14CL_PacketEventi8netadr_tP5msg_ti_90
	mov eax, [clientConnections+0x40198]
	test eax, eax
	jnz _Z14CL_PacketEventi8netadr_tP5msg_ti_90
	mov eax, [clientConnections+0x40144]
	cmp [clients+0x696cc], eax
	jnz _Z14CL_PacketEventi8netadr_tP5msg_ti_100
	jmp _Z14CL_PacketEventi8netadr_tP5msg_ti_110
_Z14CL_PacketEventi8netadr_tP5msg_ti_120:
	mov [clientConnections+0x40144], eax
	cmp eax, [clients+0x696cc]
	jz _Z14CL_PacketEventi8netadr_tP5msg_ti_110
_Z14CL_PacketEventi8netadr_tP5msg_ti_100:
	mov [esp], eax
	mov ecx, [ebp+0x8]
	mov edx, clients
	mov eax, clientConnections
	call _Z25CL_WriteDemoClientArchivePK18clientConnection_tPK14clientActive_tii
	mov eax, [clientConnections+0x40144]
	add eax, 0x1
	and eax, 0x800000ff
	jns _Z14CL_PacketEventi8netadr_tP5msg_ti_120
	sub eax, 0x1
	or eax, 0xffffff00
	add eax, 0x1
	jmp _Z14CL_PacketEventi8netadr_tP5msg_ti_120
_Z14CL_PacketEventi8netadr_tP5msg_ti_110:
	mov byte [ebp-0x19], 0x0
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x1
	lea eax, [ebp-0x19]
	mov [esp], eax
	call _Z8FS_WritePKvii
	mov eax, [clientConnections+0x20134]
	mov [ebp-0x20], eax
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x4
	lea esi, [ebp-0x20]
	mov [esp], esi
	call _Z8FS_WritePKvii
	mov eax, [ebp+0x18]
	mov edi, [eax+0x14]
	sub edi, [ebp-0x70]
	mov [ebp-0x20], edi
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x4
	mov [esp], esi
	call _Z8FS_WritePKvii
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov [esp+0x4], edi
	mov edx, [ebp+0x18]
	mov edx, [edx+0x8]
	add [ebp-0x70], edx
	mov ecx, [ebp-0x70]
	mov [esp], ecx
	call _Z8FS_WritePKvii
_Z14CL_PacketEventi8netadr_tP5msg_ti_90:
	mov eax, 0x1
	jmp _Z14CL_PacketEventi8netadr_tP5msg_ti_60
_Z14CL_PacketEventi8netadr_tP5msg_ti_80:
	mov dword [esp+0x4], _cstring_ignoring_illegib
	mov dword [esp], 0xe
	call _Z11Com_DPrintfiPKcz
	mov [clientConnections+0x20134], esi
	mov [clientConnections+0x130], ebx
	xor eax, eax
	jmp _Z14CL_PacketEventi8netadr_tP5msg_ti_60


;CL_Reconnect_f()
_Z14CL_Reconnect_fv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	sub esp, 0x10
	cmp byte [cls+0x8], 0x0
	jz _Z14CL_Reconnect_fv_10
	mov esi, cls+0x8
	mov edi, _cstring_localhost
	mov ecx, 0xa
	cld
	repe cmpsb
	mov eax, 0x0
	jz _Z14CL_Reconnect_fv_20
	movzx eax, byte [esi-0x1]
	movzx ecx, byte [edi-0x1]
	sub eax, ecx
_Z14CL_Reconnect_fv_20:
	test eax, eax
	jnz _Z14CL_Reconnect_fv_30
_Z14CL_Reconnect_fv_10:
	mov dword [esp+0x4], _cstring_cant_reconnect_t
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	add esp, 0x10
	pop esi
	pop edi
	pop ebp
	ret
_Z14CL_Reconnect_fv_30:
	mov dword [esp+0x4], cls+0x8
	mov dword [esp], _cstring_connect_s_reconn
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z12Cbuf_AddTextiPKc
	add esp, 0x10
	pop esi
	pop edi
	pop ebp
	ret


;CL_ShutdownAll()
_Z14CL_ShutdownAllv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	call _Z18R_SyncRenderThreadv
	call _Z15Com_SyncThreadsv
	mov eax, [cls+0x4]
	test eax, eax
	jnz _Z14CL_ShutdownAllv_10
_Z14CL_ShutdownAllv_30:
	mov eax, [cls+0x108]
	test eax, eax
	jnz _Z14CL_ShutdownAllv_20
	leave
	ret
_Z14CL_ShutdownAllv_20:
	xor eax, eax
	leave
	jmp _Z19CL_ShutdownRendereri
_Z14CL_ShutdownAllv_10:
	mov dword [esp], 0x0
	call _Z16CL_ShutdownCGamei
	call _Z13Phys_Shutdownv
	call _Z13CL_ShutdownUIv
	mov dword [cls+0x4], 0x0
	jmp _Z14CL_ShutdownAllv_30


;CL_ShutdownRef()
_Z14CL_ShutdownRefv:
	push ebp
	mov ebp, esp
	sub esp, 0x8
	call _Z18R_SyncRenderThreadv
	mov eax, 0x1
	call _Z19CL_ShutdownRendereri
	leave
	jmp _Z13StatMon_Resetv
	nop


;CL_UpdateSound()
_Z14CL_UpdateSoundv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp+0x4], _cstring_update_sound
	mov dword [esp], 0xffffffff
	call _Z18PIXBeginNamedEventiPKcz
	call _Z16SND_PlayFXSoundsv
	call _Z23SND_UpdateLoopingSoundsv
	leave
	jmp _Z10SND_Updatev


;PBget_cl_cdkey(char*)
_Z14PBget_cl_cdkeyPc:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	mov eax, [ebp+0x8]
	mov byte [eax], 0x0
	mov esi, cl_cdkey
	cld
	mov ecx, 0xffffffff
	xor eax, eax
	mov edi, esi
	repne scasb
	not ecx
	lea ebx, [ecx-0x1]
	cmp ebx, 0x20
	jle _Z14PBget_cl_cdkeyPc_10
	mov ebx, 0x20
_Z14PBget_cl_cdkeyPc_50:
	xor edi, edi
	xor ecx, ecx
	jmp _Z14PBget_cl_cdkeyPc_20
_Z14PBget_cl_cdkeyPc_40:
	mov eax, [ebp+0x8]
	mov [eax+ecx], dl
	add ecx, 0x1
	add edi, 0x1
	cmp ebx, edi
	jz _Z14PBget_cl_cdkeyPc_30
_Z14PBget_cl_cdkeyPc_20:
	movzx edx, byte [edi+esi]
	lea eax, [edx-0x30]
	cmp al, 0x9
	jbe _Z14PBget_cl_cdkeyPc_40
	lea eax, [edx-0x61]
	cmp al, 0x19
	jbe _Z14PBget_cl_cdkeyPc_40
	lea eax, [edx-0x41]
	cmp al, 0x19
	jbe _Z14PBget_cl_cdkeyPc_40
	add edi, 0x1
	cmp ebx, edi
	jnz _Z14PBget_cl_cdkeyPc_20
_Z14PBget_cl_cdkeyPc_30:
	mov eax, ecx
	mov edx, [ebp+0x8]
	mov byte [edx+eax], 0x0
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z14PBget_cl_cdkeyPc_10:
	test ebx, ebx
	jg _Z14PBget_cl_cdkeyPc_50
	xor eax, eax
	mov edx, [ebp+0x8]
	mov byte [edx+eax], 0x0
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;CL_Clientinfo_f()
_Z15CL_Clientinfo_fv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp+0x4], _cstring__client_informat
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	mov eax, [clientUIActives+0xc]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_state_i
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	mov dword [esp+0x8], cls+0x8
	mov dword [esp+0x4], _cstring_server_s
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	mov dword [esp+0x4], _cstring_user_info_settin
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	mov dword [esp+0x4], 0x2
	mov dword [esp], 0x0
	call _Z15Dvar_InfoStringii
	mov [esp], eax
	call _Z10Info_PrintPKc
	mov dword [esp+0x4], _cstring_3
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	leave
	ret
	nop


;CL_GetMapCenter()
_Z15CL_GetMapCenterv:
	push ebp
	mov ebp, esp
	mov eax, cls+0x138
	pop ebp
	ret


;CL_InitRenderer()
_Z15CL_InitRendererv:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	mov dword [cls+0x108], 0x1
	mov dword [esp], cls+0x2dbffc
	call _Z19R_BeginRegistrationP11vidConfig_t
	mov eax, [cls+0x2dc008]
	mov [esp+0x10], eax
	mov eax, [cls+0x2dc004]
	mov [esp+0xc], eax
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov eax, scrPlaceFullUnsafe
	mov [esp], eax
	call _Z28ScrPlace_SetupUnsafeViewportP15ScreenPlacementiiii
	mov eax, [cls+0x2dc008]
	mov [esp+0x10], eax
	mov eax, [cls+0x2dc004]
	mov [esp+0xc], eax
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov eax, scrPlaceFull
	mov [esp], eax
	call _Z22ScrPlace_SetupViewportP15ScreenPlacementiiii
	mov eax, [cls+0x2dc008]
	mov [esp+0x10], eax
	mov eax, [cls+0x2dc004]
	mov [esp+0xc], eax
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov eax, scrPlaceView
	mov [esp], eax
	call _Z22ScrPlace_SetupViewportP15ScreenPlacementiiii
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_white
	call _Z23Material_RegisterHandlePKci
	mov [cls+0x2dbff0], eax
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_console
	call _Z23Material_RegisterHandlePKci
	mov [cls+0x2dbff4], eax
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_fontsconsolefont
	call _Z14R_RegisterFontPKci
	mov [cls+0x2dbff8], eax
	mov ecx, [cls+0x2dc004]
	sub ecx, 0x30
	mov eax, g_console_field_width
	mov [eax], ecx
	mov edx, g_consoleField
	mov [edx+0xc], ecx
	mov eax, g_console_char_height
	mov eax, [eax]
	mov [edx+0x10], eax
	mov dword [edx+0x14], 0x1
	call _Z13StatMon_Resetv
	leave
	jmp _Z20Con_InitClientAssetsv
	nop


;CL_NextDownload(int)
_Z15CL_NextDownloadi:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov ebx, [ebp+0x8]
	cmp byte [cls+0x2dc2a8], 0x0
	jz _Z15CL_NextDownloadi_10
	mov dword [ebp-0x1c], cls+0x2dc2a9
	cmp byte [cls+0x2dc2a8], 0x40
	mov eax, cls+0x2dc2a8
	cmovz eax, [ebp-0x1c]
	mov [ebp-0x1c], eax
	mov dword [esp+0x4], 0x40
	mov [esp], eax
	call strchr
	test eax, eax
	jz _Z15CL_NextDownloadi_20
	mov byte [eax], 0x0
	lea esi, [eax+0x1]
	mov dword [esp+0x4], 0x40
	mov [esp], esi
	call strchr
	test eax, eax
	jz _Z15CL_NextDownloadi_30
	mov byte [eax], 0x0
	lea ebx, [eax+0x1]
_Z15CL_NextDownloadi_40:
	mov eax, [ebp-0x1c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z16CL_BeginDownloadPKcS0_
	mov dword [cls+0x2dc6a8], 0x1
	cld
	mov ecx, 0xffffffff
	xor eax, eax
	mov edi, ebx
	repne scasb
	not ecx
	mov [esp+0x8], ecx
	mov [esp+0x4], ebx
	mov dword [esp], cls+0x2dc2a8
	call memmove
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15CL_NextDownloadi_10:
	mov [ebp+0x8], ebx
_Z15CL_NextDownloadi_20:
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z20CL_DownloadsCompletei
_Z15CL_NextDownloadi_30:
	cld
	mov ecx, 0xffffffff
	xor eax, eax
	mov edi, esi
	repne scasb
	not ecx
	lea ebx, [ecx+esi-0x1]
	jmp _Z15CL_NextDownloadi_40
	nop


;CL_RegisterFont(char const*, int)
_Z15CL_RegisterFontPKci:
	push ebp
	mov ebp, esp
	pop ebp
	jmp _Z14R_RegisterFontPKci
	nop


;CL_ResetStats_f()
_Z15CL_ResetStats_fv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;CL_SendPbPacket(int, int, char*)
_Z15CL_SendPbPacketiiPc:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x3c
	mov ebx, [ebp+0x8]
	mov edi, [ebp+0xc]
	mov esi, [ebp+0x10]
	mov [esp], ebx
	call _Z21CL_IsCgameInitializedi
	test eax, eax
	jz _Z15CL_SendPbPacketiiPc_10
	mov ecx, [clientUIActives+0xc]
	test ecx, ecx
	jz _Z15CL_SendPbPacketiiPc_20
	cmp dword [clientConnections+0x10], 0x2
	jz _Z15CL_SendPbPacketiiPc_30
	mov ecx, [clientConnections+0x10]
	mov [ebp-0x24], ecx
	mov edx, [clientConnections+0x14]
	mov [ebp-0x20], edx
	mov eax, [clientConnections+0x18]
	mov [ebp-0x1c], eax
	mov [esp+0x14], edi
	mov [esp+0x10], esi
	mov [esp+0x4], ecx
	mov [esp+0x8], edx
	mov [esp+0xc], eax
	mov dword [esp], 0x0
	call _Z17NET_OutOfBandData8netsrc_t8netadr_tPKhi
_Z15CL_SendPbPacketiiPc_10:
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15CL_SendPbPacketiiPc_20:
	mov dword [ebp+0xc], _cstring_trying_to_send_p
	mov dword [ebp+0x8], 0x10
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z14Com_PrintErroriPKcz
_Z15CL_SendPbPacketiiPc_30:
	mov [esp+0xc], esi
	mov [esp+0x8], edi
	mov [esp+0x4], ebx
	mov dword [esp], 0xd
	call _Z12PbSvAddEventiiiPc
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;CL_ShutdownDemo()
_Z15CL_ShutdownDemov:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [clientConnections+0x401a0]
	test eax, eax
	jnz _Z15CL_ShutdownDemov_10
	leave
	ret
_Z15CL_ShutdownDemov_10:
	mov [esp], eax
	call _Z13FS_FCloseFilei
	mov dword [clientConnections+0x401a0], 0x0
	mov dword [clientConnections+0x4018c], 0x0
	mov dword [clientConnections+0x40188], 0x0
	leave
	ret
	nop


;CL_StopRecord_f()
_Z15CL_StopRecord_fv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x24
	mov eax, [clientConnections+0x40188]
	test eax, eax
	jnz _Z15CL_StopRecord_fv_10
	mov dword [esp+0x4], _cstring_not_recording_a_
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	add esp, 0x24
	pop ebx
	pop ebp
	ret
_Z15CL_StopRecord_fv_10:
	mov byte [ebp-0x9], 0x0
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x1
	lea eax, [ebp-0x9]
	mov [esp], eax
	call _Z8FS_WritePKvii
	mov dword [ebp-0x10], 0xffffffff
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x4
	lea ebx, [ebp-0x10]
	mov [esp], ebx
	call _Z8FS_WritePKvii
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x4
	mov [esp], ebx
	call _Z8FS_WritePKvii
	mov eax, [clientConnections+0x401a0]
	mov [esp], eax
	call _Z13FS_FCloseFilei
	mov dword [clientConnections+0x401a0], 0x0
	mov dword [clientConnections+0x40188], 0x0
	mov dword [esp+0x4], _cstring_stopped_demo
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	add esp, 0x24
	pop ebx
	pop ebp
	ret
	nop


;CL_ToggleMenu_f()
_Z15CL_ToggleMenu_fv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [clientUIActives+0xc]
	test byte [clientUIActives+0x4], 0x10
	jnz _Z15CL_ToggleMenu_fv_10
	xor eax, eax
_Z15CL_ToggleMenu_fv_60:
	mov edx, [clientConnections+0x4018c]
	test edx, edx
	jnz _Z15CL_ToggleMenu_fv_20
	cmp ebx, 0x9
	jz _Z15CL_ToggleMenu_fv_30
	cmp byte [cl_waitingOnServerToLoadMap], 0x0
	jz _Z15CL_ToggleMenu_fv_40
_Z15CL_ToggleMenu_fv_20:
	mov dword [esp+0x4], 0x1
	mov dword [esp], 0x0
	call _Z16UI_SetActiveMenuii
_Z15CL_ToggleMenu_fv_40:
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z15CL_ToggleMenu_fv_30:
	mov edx, [clientUIActives+0x4]
	test dl, 0x10
	jnz _Z15CL_ToggleMenu_fv_50
_Z15CL_ToggleMenu_fv_70:
	test edx, edx
	jnz _Z15CL_ToggleMenu_fv_40
	mov dword [esp+0x4], 0x2
	mov dword [esp], 0x0
	call _Z16UI_SetActiveMenuii
	jmp _Z15CL_ToggleMenu_fv_40
_Z15CL_ToggleMenu_fv_10:
	mov dword [esp], 0x0
	call _Z16UI_GetActiveMenui
	jmp _Z15CL_ToggleMenu_fv_60
_Z15CL_ToggleMenu_fv_50:
	cmp eax, 0x2
	jnz _Z15CL_ToggleMenu_fv_70
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0x0
	call _Z16UI_SetActiveMenuii
	jmp _Z15CL_ToggleMenu_fv_40


;PB_Q_Serveraddr(int)
_Z15PB_Q_Serveraddri:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z21CL_IsCgameInitializedi
	test eax, eax
	jz _Z15PB_Q_Serveraddri_10
	mov eax, [clientUIActives+0xc]
	test eax, eax
	jz _Z15PB_Q_Serveraddri_20
	mov ecx, [clientConnections+0x10]
	mov [ebp-0x14], ecx
	mov edx, [clientConnections+0x14]
	mov [ebp-0x10], edx
	mov eax, [clientConnections+0x18]
	mov [ebp-0xc], eax
	mov [esp], ecx
	mov [esp+0x4], edx
	mov [esp+0x8], eax
	call _Z15NET_AdrToString8netadr_t
	leave
	ret
_Z15PB_Q_Serveraddri_20:
	mov dword [esp+0x4], _cstring_trying_to_get_se
	mov dword [esp], 0x10
	call _Z14Com_PrintErroriPKcz
_Z15PB_Q_Serveraddri_10:
	mov eax, _cstring_bot
	leave
	ret
	nop
	add [eax], al


;PB_Q_Serverinfo(int)
_Z15PB_Q_Serverinfoi:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z21CL_IsCgameInitializedi
	test eax, eax
	jz _Z15PB_Q_Serverinfoi_10
	mov eax, [clientUIActives+0xc]
	test eax, eax
	jz _Z15PB_Q_Serverinfoi_20
	mov eax, [clients+0x2fbc]
	add eax, clients+0x55e4
	leave
	ret
_Z15PB_Q_Serverinfoi_20:
	mov dword [esp+0x4], _cstring_trying_to_get_se1
	mov dword [esp], 0x10
	call _Z14Com_PrintErroriPKcz
_Z15PB_Q_Serverinfoi_10:
	mov eax, _cstring_null
	leave
	ret
	nop


;CL_BeginDownload(char const*, char const*)
_Z16CL_BeginDownloadPKcS0_:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov ebx, [ebp+0x8]
	mov esi, [ebp+0xc]
	mov [esp+0xc], esi
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring__cl_begindownloa
	mov dword [esp], 0xe
	call _Z11Com_DPrintfiPKcz
	mov dword [esp+0x8], 0x100
	mov [esp+0x4], ebx
	mov dword [esp], cls+0x2dc198
	call _Z10I_strncpyzPcPKci
	mov [esp+0xc], ebx
	mov dword [esp+0x8], _cstring_stmp
	mov dword [esp+0x4], 0x100
	mov dword [esp], cls+0x2dc098
	call _Z11Com_sprintfPciPKcz
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], esi
	mov ebx, legacyHacks
	lea eax, [ebx+0xc]
	mov [esp], eax
	call _Z10I_strncpyzPcPKci
	mov dword [ebx], 0x0
	mov dword [ebx+0x4], 0x0
	mov eax, [cls+0x118]
	mov [ebx+0x8], eax
	mov dword [cls+0x2dc29c], 0x0
	mov dword [cls+0x2dc2a0], 0x0
	mov [esp+0x4], esi
	mov dword [esp], _cstring_download_s
	call _Z2vaPKcz
	mov ebx, eax
	mov edx, [clientConnections+0x12c]
	mov eax, edx
	sub eax, [clientConnections+0x130]
	add eax, 0xffffff80
	jle _Z16CL_BeginDownloadPKcS0__10
	mov dword [esp+0x4], _cstring_exe_err_client_c
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	mov edx, [clientConnections+0x12c]
_Z16CL_BeginDownloadPKcS0__10:
	lea eax, [edx+0x1]
	mov [clientConnections+0x12c], eax
	mov dword [esp+0x8], 0x400
	and eax, 0x7f
	shl eax, 0xa
	add eax, clientConnections+0x134
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z32MSG_WriteReliableCommandToBufferPKcPci
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;CL_GetServerList(int, serverInfo_t**, int*)
_Z16CL_GetServerListiPP12serverInfo_tPi:
	push ebp
	mov ebp, esp
	mov eax, [ebp+0x8]
	cmp eax, 0x1
	jz _Z16CL_GetServerListiPP12serverInfo_tPi_10
	cmp eax, 0x2
	jz _Z16CL_GetServerListiPP12serverInfo_tPi_20
	test eax, eax
	jz _Z16CL_GetServerListiPP12serverInfo_tPi_30
	pop ebp
	ret
_Z16CL_GetServerListiPP12serverInfo_tPi_30:
	mov eax, [ebp+0xc]
	mov dword [eax], cls+0x148
	mov eax, [cls+0x144]
	mov edx, [ebp+0x10]
	mov [edx], eax
	pop ebp
	ret
_Z16CL_GetServerListiPP12serverInfo_tPi_10:
	mov eax, [ebp+0xc]
	mov dword [eax], cls+0x4b5c
	mov eax, [cls+0x4b58]
	mov edx, [ebp+0x10]
	mov [edx], eax
	pop ebp
	ret
_Z16CL_GetServerListiPP12serverInfo_tPi_20:
	mov eax, [ebp+0xc]
	mov dword [eax], cls+0x2d75e0
	mov eax, [cls+0x2d75dc]
	mov edx, [ebp+0x10]
	mov [edx], eax
	pop ebp
	ret
	nop


;CL_InitDedicated()
_Z16CL_InitDedicatedv:
	push ebp
	mov ebp, esp
	sub esp, 0x48
	mov edx, [onlinegame]
	test edx, edx
	jz _Z16CL_InitDedicatedv_10
_Z16CL_InitDedicatedv_20:
	mov dword [ebp-0x38], 0x1
	mov dword [ebp-0x34], 0x400
	mov dword [ebp-0x30], 0x3ff
	mov dword [ebp-0x2c], 0x3fe
	mov dword [ebp-0x28], 0x2
	mov dword [ebp-0x24], 0x11
	mov dword [ebp-0x20], _cstring_code_post_gfx_mp
	mov dword [ebp-0x1c], 0x0
	mov dword [ebp-0x18], _cstring_common_mp
	mov dword [ebp-0x14], _cstring_localized_code_p
	mov dword [ebp-0x10], _cstring_localized_common
	call _Z16DB_ModFileExistsv
	xor edx, edx
	test al, al
	mov eax, _cstring_mod
	cmovnz edx, eax
	mov [ebp-0xc], edx
	lea eax, [ebp-0x38]
	mov [esp], eax
	call _Z15R_MakeDedicatedPK16GfxConfiguration
	call _Z20Sys_HideSplashWindowv
	call _Z15Sys_ShowConsolev
	call _Z14Sys_NormalExitv
	leave
	ret
_Z16CL_InitDedicatedv_10:
	mov dword [esp+0xc], _cstring_current_game_is_
	mov dword [esp+0x8], 0x80
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_onlinegame
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [onlinegame], eax
	jmp _Z16CL_InitDedicatedv_20
	nop


;CL_InitDownloads(int)
_Z16CL_InitDownloadsi:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x410
	mov esi, [ebp+0x8]
	mov dword [esp+0x4], 0x7
	mov dword [esp], _cstring_nizml
	call _Z11FS_ShiftStrPKci
	mov dword [cls+0x2dc6a8], 0x0
	mov byte [cls+0x2dc098], 0x0
	mov byte [cls+0x2dc198], 0x0
	mov byte [cls+0x2dc6bc], 0x0
	mov dword [cls+0x2dc6b4], 0x0
	mov dword [cls+0x2dc6b0], 0x0
	mov dword [cls+0x2dc6b8], 0x0
	call _Z17DL_CancelDownloadv
	mov eax, com_sv_running
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jnz _Z16CL_InitDownloadsi_10
	mov eax, [cl_allowDownload]
	cmp byte [eax+0xc], 0x0
	jz _Z16CL_InitDownloadsi_20
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0x400
	mov dword [esp], cls+0x2dc2a8
	call _Z25FS_CompareWithServerFilesPcii
	cmp eax, 0x1
	jz _Z16CL_InitDownloadsi_30
	cmp eax, 0x2
	jz _Z16CL_InitDownloadsi_40
_Z16CL_InitDownloadsi_10:
	mov [esp], esi
	call _Z20CL_DownloadsCompletei
_Z16CL_InitDownloadsi_60:
	add esp, 0x410
	pop ebx
	pop esi
	pop ebp
	ret
_Z16CL_InitDownloadsi_20:
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x400
	lea ebx, [ebp-0x408]
	mov [esp], ebx
	call _Z25FS_CompareWithServerFilesPcii
	cmp eax, 0x1
	jz _Z16CL_InitDownloadsi_50
	cmp eax, 0x2
	jnz _Z16CL_InitDownloadsi_10
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_s_is_different_f
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	jmp _Z16CL_InitDownloadsi_10
_Z16CL_InitDownloadsi_30:
	mov dword [esp+0x8], cls+0x2dc2a8
	mov dword [esp+0x4], _cstring_need_files_s
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	cmp byte [cls+0x2dc2a8], 0x0
	jz _Z16CL_InitDownloadsi_10
	mov eax, esi
	shl eax, 0x4
	mov dword [eax+clientUIActives+0xc], 0x5
	mov [esp], esi
	call _Z15CL_NextDownloadi
	jmp _Z16CL_InitDownloadsi_60
_Z16CL_InitDownloadsi_50:
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_you_are_missing_
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	jmp _Z16CL_InitDownloadsi_10
_Z16CL_InitDownloadsi_40:
	mov dword [esp+0x8], cls+0x2dc2a8
	mov dword [esp+0x4], _cstring_s_is_different_f
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	jmp _Z16CL_InitDownloadsi_10
	nop


;CL_IsClientLocal(int)
_Z16CL_IsClientLocali:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	cmp dword [clientUIActives+0xc], 0x7
	jg _Z16CL_IsClientLocali_10
_Z16CL_IsClientLocali_20:
	xor eax, eax
	leave
	ret
_Z16CL_IsClientLocali_10:
	mov dword [esp], 0x0
	call _Z15CG_GetClientNumi
	cmp eax, [ebp+0x8]
	jnz _Z16CL_IsClientLocali_20
	mov eax, 0x1
	leave
	ret
	nop


;CL_Snd_Restart_f()
_Z16CL_Snd_Restart_fv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0xbc
	mov eax, com_sv_running
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z16CL_Snd_Restart_fv_10
	mov dword [esp+0x4], _cstring_listen_server_ca1
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	add esp, 0xbc
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z16CL_Snd_Restart_fv_10:
	mov dword [esp], 0xa00000
	call Z_VirtualAllocInternal
	mov dword [esp+0x10], 0x0
	mov dword [esp+0xc], 0x1
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0xa00000
	lea esi, [ebp-0x34]
	mov [esp], esi
	call _Z22MemFile_InitForWritingP10MemoryFileiPvhh
	mov [esp], esi
	call _Z8SND_SaveP10MemoryFile
	mov dword [esp+0x4], 0xffffffff
	mov [esp], esi
	call _Z20MemFile_StartSegmentP10MemoryFilei
	mov eax, [ebp-0x2c]
	mov [esp], eax
	call Z_VirtualAllocInternal
	mov edi, eax
	mov eax, [ebp-0x2c]
	mov [esp+0x8], eax
	mov eax, [ebp-0x34]
	mov [esp+0x4], eax
	mov [esp], edi
	call memcpy
	mov eax, [ebp-0x34]
	mov [esp], eax
	call Z_VirtualFreeInternal
	lea ebx, [ebp-0xa4]
	mov [esp], ebx
	call _Z17SND_SaveListenersP12snd_listener
	call _Z12SND_Shutdownv
	call _Z14SND_InitDriverv
	call _Z8SND_Initv
	mov [esp], ebx
	call _Z20SND_RestoreListenersP12snd_listener
	call _Z16CL_Vid_Restart_fv
	mov dword [esp+0xc], 0x0
	mov [esp+0x8], edi
	mov eax, [ebp-0x2c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z22MemFile_InitForReadingP10MemoryFileiPvh
	mov [esp], esi
	call _Z11SND_RestoreP10MemoryFile
	mov dword [esp+0x4], 0xffffffff
	mov [esp], esi
	call _Z21MemFile_MoveToSegmentP10MemoryFilei
	mov [esp], edi
	call Z_VirtualFreeInternal
	add esp, 0xbc
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;CL_Vid_Restart_f()
_Z16CL_Vid_Restart_fv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x50c
	mov eax, [cls+0x2dc6ac]
	mov [ebp-0x4f8], eax
	mov dword [cls+0x2dc6ac], 0x0
	mov eax, com_sv_running
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jnz _Z16CL_Vid_Restart_fv_10
	mov eax, [clientUIActives+0xc]
	mov [ebp-0x4f0], eax
	cmp byte [clientUIActives+0x2], 0x0
	jnz _Z16CL_Vid_Restart_fv_20
	xor edi, edi
	mov dword [ebp-0x4ec], 0x0
_Z16CL_Vid_Restart_fv_150:
	mov eax, com_expectedHunkUsage
	mov dword [eax], 0x0
	mov byte [g_waitingForServer], 0x0
	mov dword [esp], 0x0
	call _Z19FS_DisablePureCheckh
	mov dword [esp], 0x1
	call _Z14SND_StopSounds20snd_stopsounds_arg_t
	call _Z15Com_SyncThreadsv
	mov ecx, [cls+0x4]
	test ecx, ecx
	jnz _Z16CL_Vid_Restart_fv_30
_Z16CL_Vid_Restart_fv_170:
	call _Z18R_SyncRenderThreadv
	mov eax, 0x1
	call _Z19CL_ShutdownRendereri
	call _Z13StatMon_Resetv
	mov dword [cls+0x108], 0x0
	call _Z33FS_ShutDownIwdPureCheckReferencesv
	mov dword [esp], _cstring_vdr
	call _Z2vaPKcz
	mov ebx, eax
	mov edx, [clientConnections+0x12c]
	mov eax, edx
	sub eax, [clientConnections+0x130]
	add eax, 0xffffff80
	jg _Z16CL_Vid_Restart_fv_40
_Z16CL_Vid_Restart_fv_160:
	add edx, 0x1
	mov [clientConnections+0x12c], edx
	mov dword [esp+0x8], 0x400
	and edx, 0x7f
	shl edx, 0xa
	lea eax, [edx+clientConnections+0x134]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z32MSG_WriteReliableCommandToBufferPKcPci
	call _Z11Com_Restartv
	mov dword [esp+0x14], _cstring_the_current_lang
	mov dword [esp+0x10], 0x21
	mov dword [esp+0xc], 0xe
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_loc_language
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov dword [esp+0xc], _cstring_turn_on_string_t
	mov dword [esp+0x8], 0x20
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_loc_translate
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov dword [esp+0xc], _cstring_ignore_localized
	mov dword [esp+0x8], 0xa0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_fs_ignorelocaliz
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov eax, [clientConnections+0x128]
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z21FS_ConditionalRestartii
	test eax, eax
	jnz _Z16CL_Vid_Restart_fv_50
	mov edx, [cls+0x2dc6ac]
	test edx, edx
	jz _Z16CL_Vid_Restart_fv_60
_Z16CL_Vid_Restart_fv_50:
	mov byte [ebp-0x4f1], 0x1
_Z16CL_Vid_Restart_fv_180:
	call _Z22SEH_UpdateLanguageInfov
	mov dword [esp+0x4], 0x0
	mov ebx, cl_paused
	mov eax, [ebx]
	mov [esp], eax
	call _Z11Dvar_SetIntPK6dvar_si
	mov dword [esp+0x4], _cstring__initializing_re
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	mov dword [ebp-0x64], 0x1
	mov dword [ebp-0x60], 0x400
	mov dword [ebp-0x5c], 0x3ff
	mov dword [ebp-0x58], 0x3fe
	mov dword [ebp-0x54], 0x2
	mov dword [ebp-0x50], 0x11
	mov dword [ebp-0x4c], _cstring_code_post_gfx_mp
	mov dword [ebp-0x48], _cstring_ui_mp
	mov dword [ebp-0x44], _cstring_common_mp
	mov dword [ebp-0x40], _cstring_localized_code_p
	mov dword [ebp-0x3c], _cstring_localized_common
	call _Z16DB_ModFileExistsv
	xor edx, edx
	test al, al
	mov eax, _cstring_mod
	cmovnz edx, eax
	mov [ebp-0x38], edx
	lea esi, [ebp-0x64]
	mov [esp], esi
	call _Z19R_ConfigureRendererPK16GfxConfiguration
	mov dword [esp+0x4], 0x0
	mov eax, [ebx]
	mov [esp], eax
	call _Z11Dvar_SetIntPK6dvar_si
	call _Z15CL_InitRendererv
	cmp byte [clientUIActives+0x1], 0x0
	jz _Z16CL_Vid_Restart_fv_70
	mov eax, [cls+0x110]
	test eax, eax
	jz _Z16CL_Vid_Restart_fv_80
_Z16CL_Vid_Restart_fv_210:
	mov dword [cls+0x4], 0x1
_Z16CL_Vid_Restart_fv_70:
	mov eax, [ebp-0x4f0]
	sub eax, 0x6
	cmp eax, 0x7ffffff9
	ja _Z16CL_Vid_Restart_fv_90
	mov eax, [ebp-0x4f8]
	test eax, eax
	jz _Z16CL_Vid_Restart_fv_100
_Z16CL_Vid_Restart_fv_90:
	cmp byte [ebp-0x4f1], 0x0
	jz _Z16CL_Vid_Restart_fv_110
	mov eax, com_dedicated
	mov eax, [eax]
	mov eax, [eax+0xc]
	test eax, eax
	jz _Z16CL_Vid_Restart_fv_120
_Z16CL_Vid_Restart_fv_110:
	test edi, edi
	jz _Z16CL_Vid_Restart_fv_130
	cmp byte [clientUIActives+0x2], 0x0
	jnz _Z16CL_Vid_Restart_fv_140
_Z16CL_Vid_Restart_fv_190:
	mov [esp], edi
	call Z_VirtualFreeInternal
_Z16CL_Vid_Restart_fv_130:
	add esp, 0x50c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z16CL_Vid_Restart_fv_20:
	mov dword [esp], 0xa00000
	call Z_VirtualAllocInternal
	mov dword [esp+0x10], 0x0
	mov dword [esp+0xc], 0x1
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0xa00000
	lea ebx, [ebp-0x34]
	mov [esp], ebx
	call _Z22MemFile_InitForWritingP10MemoryFileiPvhh
	mov dword [esp+0x8], 0x0
	mov [esp+0x4], ebx
	mov dword [esp], 0x0
	call _Z21CL_ArchiveClientStateiP10MemoryFilei
	mov dword [esp+0x4], 0xffffffff
	mov [esp], ebx
	call _Z20MemFile_StartSegmentP10MemoryFilei
	mov eax, [ebp-0x2c]
	mov [ebp-0x4ec], eax
	mov [esp], eax
	call Z_VirtualAllocInternal
	mov edi, eax
	mov eax, [ebp-0x4ec]
	mov [esp+0x8], eax
	mov eax, [ebp-0x34]
	mov [esp+0x4], eax
	mov [esp], edi
	call memcpy
	mov eax, [ebp-0x34]
	mov [esp], eax
	call Z_VirtualFreeInternal
	jmp _Z16CL_Vid_Restart_fv_150
_Z16CL_Vid_Restart_fv_10:
	mov dword [esp+0x4], _cstring_listen_server_ca2
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	add esp, 0x50c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z16CL_Vid_Restart_fv_40:
	mov dword [esp+0x4], _cstring_exe_err_client_c
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	mov edx, [clientConnections+0x12c]
	jmp _Z16CL_Vid_Restart_fv_160
_Z16CL_Vid_Restart_fv_30:
	mov dword [esp], 0x0
	call _Z16CL_ShutdownCGamei
	call _Z13Phys_Shutdownv
	call _Z13CL_ShutdownUIv
	mov dword [cls+0x4], 0x0
	jmp _Z16CL_Vid_Restart_fv_170
_Z16CL_Vid_Restart_fv_60:
	mov byte [ebp-0x4f1], 0x0
	jmp _Z16CL_Vid_Restart_fv_180
_Z16CL_Vid_Restart_fv_140:
	mov dword [esp+0xc], 0x0
	mov [esp+0x8], edi
	mov eax, [ebp-0x4ec]
	mov [esp+0x4], eax
	lea ebx, [ebp-0x34]
	mov [esp], ebx
	call _Z22MemFile_InitForReadingP10MemoryFileiPvh
	mov dword [esp+0x8], 0x0
	mov [esp+0x4], ebx
	mov dword [esp], 0x0
	call _Z21CL_ArchiveClientStateiP10MemoryFilei
	mov dword [esp+0x4], 0xffffffff
	mov [esp], ebx
	call _Z21MemFile_MoveToSegmentP10MemoryFilei
	jmp _Z16CL_Vid_Restart_fv_190
_Z16CL_Vid_Restart_fv_120:
	mov dword [esp], 0x0
	call _Z21LiveStorage_ReadStatsi
	jmp _Z16CL_Vid_Restart_fv_110
_Z16CL_Vid_Restart_fv_100:
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0x0
	call _Z18CL_GetConfigStringii
	mov dword [esp+0x4], _cstring_mapname
	mov [esp], eax
	call _Z16Info_ValueForKeyPKcS0_
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], eax
	lea ebx, [ebp-0xa4]
	mov [esp], ebx
	call _Z10I_strncpyzPcPKci
	mov [esp], ebx
	call _Z16DB_AddUserMapDirPKc
	mov dword [esp], 0x0
	call _Z16DB_ResetZoneSizei
	mov [esp+0xc], ebx
	mov dword [esp+0x8], _cstring_s_load
	mov dword [esp+0x4], 0x40
	lea ebx, [ebp-0xe4]
	mov [esp], ebx
	call _Z11Com_sprintfPciPKcz
	mov [ebp-0x64], ebx
	mov dword [ebp-0x60], 0x20
	mov dword [ebp-0x5c], 0x60
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x1
	mov [esp], esi
	call _Z14DB_LoadXAssetsP9XZoneInfoji
	call _Z14DB_SyncXAssetsv
	call _Z18DB_UpdateDebugZonev
	mov dword [esp], 0x0
	call _Z12CL_InitCGamei
	call _Z29FS_ReferencedIwdPureChecksumsv
	mov ebx, eax
	mov dword [esp+0x8], _cstring_va_
	mov dword [esp+0x4], 0x400
	lea esi, [ebp-0x4e4]
	mov [esp], esi
	call _Z11Com_sprintfPciPKcz
	mov [esp+0x8], ebx
	mov dword [esp+0x4], 0x400
	mov [esp], esi
	call _Z9I_strncatPciPKc
	add byte [ebp-0x4e4], 0xd
	add byte [ebp-0x4e3], 0xf
	mov edx, [clientConnections+0x12c]
	mov eax, edx
	sub eax, [clientConnections+0x130]
	add eax, 0xffffff80
	jg _Z16CL_Vid_Restart_fv_200
_Z16CL_Vid_Restart_fv_220:
	lea eax, [edx+0x1]
	mov [clientConnections+0x12c], eax
	mov dword [esp+0x8], 0x400
	and eax, 0x7f
	shl eax, 0xa
	add eax, clientConnections+0x134
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z32MSG_WriteReliableCommandToBufferPKcPci
	jmp _Z16CL_Vid_Restart_fv_90
_Z16CL_Vid_Restart_fv_80:
	call _Z9CL_InitUIv
	jmp _Z16CL_Vid_Restart_fv_210
_Z16CL_Vid_Restart_fv_200:
	mov dword [esp+0x4], _cstring_exe_err_client_c
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	mov edx, [clientConnections+0x12c]
	jmp _Z16CL_Vid_Restart_fv_220


;CL_VoiceTransmit(int)
_Z16CL_VoiceTransmiti:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	call _Z16Sys_Millisecondsv
	sub eax, [cl_voiceCommunication+0xa2c]
	cmp eax, 0xc7
	jg _Z16CL_VoiceTransmiti_10
	cmp dword [cl_voiceCommunication+0xa28], 0x9
	jle _Z16CL_VoiceTransmiti_20
_Z16CL_VoiceTransmiti_10:
	mov eax, [cl_voiceCommunication+0xa28]
	test eax, eax
	jle _Z16CL_VoiceTransmiti_30
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z19CL_WriteVoicePacketi
	mov dword [cl_voiceCommunication+0xa28], 0x0
_Z16CL_VoiceTransmiti_30:
	call _Z16Sys_Millisecondsv
	mov [cl_voiceCommunication+0xa2c], eax
_Z16CL_VoiceTransmiti_20:
	leave
	ret
	nop


;CL_CheckForResend(int)
_Z17CL_CheckForResendi:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x118c
	mov edx, [clientUIActives+0xc]
	lea eax, [edx-0x3]
	cmp eax, 0x1
	jbe _Z17CL_CheckForResendi_10
	cmp edx, 0x6
	jz _Z17CL_CheckForResendi_20
_Z17CL_CheckForResendi_40:
	add esp, 0x118c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17CL_CheckForResendi_10:
	cmp edx, 0x6
	jnz _Z17CL_CheckForResendi_30
_Z17CL_CheckForResendi_20:
	mov ecx, [cls+0x118]
	mov eax, ecx
	sub eax, [clientConnections+0x8]
	cmp eax, 0x63
	jle _Z17CL_CheckForResendi_40
_Z17CL_CheckForResendi_80:
	mov ebx, [clientConnections+0x4018c]
	test ebx, ebx
	jnz _Z17CL_CheckForResendi_40
	mov [clientConnections+0x1c], ecx
	add dword [clientConnections+0x20], 0x1
	cmp edx, 0x4
	jz _Z17CL_CheckForResendi_50
	cmp edx, 0x6
	jz _Z17CL_CheckForResendi_60
	cmp edx, 0x3
	jz _Z17CL_CheckForResendi_70
	mov dword [esp+0x4], _cstring_cl_checkforresen
	mov dword [esp], 0x1
	call _Z9Com_Error11errorParm_tPKcz
	jmp _Z17CL_CheckForResendi_40
_Z17CL_CheckForResendi_30:
	mov ecx, [cls+0x118]
	mov eax, ecx
	sub eax, [clientConnections+0x1c]
	cmp eax, 0xbb7
	jg _Z17CL_CheckForResendi_80
	jmp _Z17CL_CheckForResendi_40
_Z17CL_CheckForResendi_50:
	mov dword [esp+0x4], 0x2
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z15Dvar_InfoStringii
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], eax
	lea ebx, [ebp-0x898]
	mov [esp], ebx
	call _Z10I_strncpyzPcPKci
	mov dword [esp+0x4], 0x6
	mov dword [esp], _cstring_i
	call _Z2vaPKcz
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_protocol
	mov edi, ebx
	mov [esp], ebx
	call _Z19Info_SetValueForKeyPcPKcS1_
	mov eax, [clientConnections+0x124]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_i
	call _Z2vaPKcz
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_challenge
	mov [esp], ebx
	call _Z19Info_SetValueForKeyPcPKcS1_
	mov eax, [clientConnections]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_i
	call _Z2vaPKcz
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_qport
	mov [esp], ebx
	call _Z19Info_SetValueForKeyPcPKcS1_
	mov dword [ebp-0x498], 0x6e6e6f63
	mov dword [ebp-0x494], 0x20746365
	mov byte [ebp-0x490], 0x22
	cld
	mov ecx, 0xffffffff
	xor eax, eax
	repne scasb
	mov ebx, ecx
	not ebx
	lea esi, [ebx-0x1]
	lea eax, [ebp-0x48f]
	mov [esp+0x8], esi
	lea edx, [ebp-0x898]
	mov [esp+0x4], edx
	mov [esp], eax
	call memcpy
	mov byte [ebp+esi-0x48f], 0x22
	add ebx, 0x9
	mov byte [ebp+ebx-0x498], 0x0
	mov [ebp-0x1c], ebx
	lea esi, [ebp-0xc99]
	mov [esp+0x8], ebx
	lea edi, [ebp-0x498]
	mov [esp+0x4], edi
	mov [esp], esi
	call memcpy
	lea eax, [ebp-0x1c]
	mov [esp+0x8], eax
	mov [esp+0x4], esi
	mov dword [esp], 0x2
	call _Z18PbClientConnectingiPcPi
	mov ecx, [clientConnections+0x10]
	mov [ebp-0x28], ecx
	mov edx, [clientConnections+0x14]
	mov [ebp-0x24], edx
	mov eax, [clientConnections+0x18]
	mov [ebp-0x20], eax
	mov [esp+0x14], ebx
	mov [esp+0x10], edi
	mov [esp+0x4], ecx
	mov [esp+0x8], edx
	mov [esp+0xc], eax
	mov edi, [ebp+0x8]
	mov [esp], edi
	call _Z17NET_OutOfBandData8netsrc_t8netadr_tPKhi
	mov eax, dvar_modifiedFlags
	and dword [eax], 0xfffffffd
	jmp _Z17CL_CheckForResendi_40
_Z17CL_CheckForResendi_60:
	mov dword [esp+0x8], 0x800
	mov dword [esp+0x4], _ZZ17CL_CheckForResendiE9msgBuffer
	lea eax, [ebp-0x98]
	mov [esp], eax
	call _Z8MSG_InitP5msg_tPhi
	mov dword [esp+0x4], _cstring_stats
	lea edx, [ebp-0x98]
	mov [esp], edx
	call _Z15MSG_WriteStringP5msg_tPKc
	mov esi, [cls+0x118]
	movzx ebx, byte [clientConnections+0x615bc]
	mov edi, 0xffffffff
	xor ecx, ecx
	mov edx, clientConnections
_Z17CL_CheckForResendi_110:
	mov eax, ebx
	sar eax, cl
	test al, 0x1
	jz _Z17CL_CheckForResendi_90
	mov eax, [edx+0x615c0]
	test eax, eax
	jz _Z17CL_CheckForResendi_100
	cmp eax, esi
	jge _Z17CL_CheckForResendi_90
	mov esi, eax
	mov edi, ecx
_Z17CL_CheckForResendi_90:
	add ecx, 0x1
	add edx, 0x4
	cmp ecx, 0x7
	jnz _Z17CL_CheckForResendi_110
_Z17CL_CheckForResendi_160:
	mov ebx, [ebp+0x8]
	mov [esp], ebx
	call _Z25LiveStorage_DoWeHaveStatsi
	test al, al
	jz _Z17CL_CheckForResendi_120
	mov [esp], ebx
	call _Z25LiveStorage_GetStatBufferi
	lea ecx, [edi+edi*4]
	mov edx, ecx
	shl edx, 0x5
	sub edx, ecx
	lea esi, [edx*8]
	lea ebx, [eax+esi]
_Z17CL_CheckForResendi_130:
	mov eax, [clientConnections]
	mov [esp+0x4], eax
	lea eax, [ebp-0x98]
	mov [esp], eax
	call _Z14MSG_WriteShortP5msg_ti
	mov [esp+0x4], edi
	lea edx, [ebp-0x98]
	mov [esp], edx
	call _Z13MSG_WriteByteP5msg_ti
	mov eax, 0x2000
	sub eax, esi
	cmp eax, 0x4d9
	mov edx, 0x4d8
	cmovge eax, edx
	mov [esp+0x8], eax
	mov [esp+0x4], ebx
	lea ebx, [ebp-0x98]
	mov [esp], ebx
	call _Z13MSG_WriteDataP5msg_tPKvi
	mov eax, [cls+0x118]
	mov [edi*4+clientConnections+0x615c0], eax
	mov [clientConnections+0x8], eax
	mov ebx, [clientConnections+0x10]
	mov [ebp-0x4c], ebx
	mov ecx, [clientConnections+0x14]
	mov [ebp-0x48], ecx
	mov edx, [clientConnections+0x18]
	mov [ebp-0x44], edx
	mov eax, [ebp-0x84]
	mov [esp+0x14], eax
	mov eax, [ebp-0x90]
	mov [esp+0x10], eax
	mov [esp+0x4], ebx
	mov [esp+0x8], ecx
	mov [esp+0xc], edx
	mov edi, [ebp+0x8]
	mov [esp], edi
	call _Z17NET_OutOfBandData8netsrc_t8netadr_tPKhi
	jmp _Z17CL_CheckForResendi_40
_Z17CL_CheckForResendi_120:
	lea ebx, [ebp-0x1171]
	mov dword [esp+0x8], 0x4d8
	mov dword [esp+0x4], 0x0
	mov [esp], ebx
	call memset
	lea edx, [edi+edi*4]
	mov eax, edx
	shl eax, 0x5
	sub eax, edx
	lea esi, [eax*8]
	jmp _Z17CL_CheckForResendi_130
_Z17CL_CheckForResendi_70:
	mov eax, net_lanauthorize
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jnz _Z17CL_CheckForResendi_140
	mov ecx, [clientConnections+0x10]
	mov [ebp-0x40], ecx
	mov edx, [clientConnections+0x14]
	mov [ebp-0x3c], edx
	mov eax, [clientConnections+0x18]
	mov [ebp-0x38], eax
	mov [esp], ecx
	mov [esp+0x4], edx
	mov [esp+0x8], eax
	call _Z16Sys_IsLANAddress8netadr_t
	test eax, eax
	jnz _Z17CL_CheckForResendi_150
_Z17CL_CheckForResendi_140:
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z23CL_RequestAuthorizationi
_Z17CL_CheckForResendi_150:
	lea ebx, [ebp-0xc99]
	mov dword [ebp-0xc99], 0x63746567
	mov dword [ebp-0xc95], 0x6c6c6168
	mov dword [ebp-0xc91], 0x65676e65
	mov byte [ebp-0xc8d], 0x0
	cld
	mov ecx, 0xffffffff
	xor eax, eax
	mov edi, ebx
	repne scasb
	not ecx
	sub ecx, 0x1
	mov [ebp-0x1c], ecx
	lea eax, [ebp-0x1c]
	mov [esp+0x8], eax
	mov [esp+0x4], ebx
	mov dword [esp], 0x1
	call _Z18PbClientConnectingiPcPi
	lea ebx, [ebp-0x6d]
	mov eax, ebx
	call _Z23CL_BuildMd5StrFromCDKeyPc
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_getchallenge_0_s
	call _Z2vaPKcz
	mov ebx, [clientConnections+0x10]
	mov [ebp-0x34], ebx
	mov ecx, [clientConnections+0x14]
	mov [ebp-0x30], ecx
	mov edx, [clientConnections+0x18]
	mov [ebp-0x2c], edx
	mov [esp+0x10], eax
	mov [esp+0x4], ebx
	mov [esp+0x8], ecx
	mov [esp+0xc], edx
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z18NET_OutOfBandPrint8netsrc_t8netadr_tPKc
	jmp _Z17CL_CheckForResendi_40
_Z17CL_CheckForResendi_100:
	mov edi, ecx
	jmp _Z17CL_CheckForResendi_160
	nop


;CL_DrawTextRotate(ScreenPlacement const*, char const*, int, Font_s*, float, float, float, int, int, float, float, float const*, int)
_Z17CL_DrawTextRotatePK15ScreenPlacementPKciP6Font_sfffiiffPKfi:
	push ebp
	mov ebp, esp
	sub esp, 0x38
	mov eax, [ebp+0x28]
	mov [esp+0x18], eax
	mov eax, [ebp+0x24]
	mov [esp+0x14], eax
	lea eax, [ebp+0x30]
	mov [esp+0x10], eax
	lea eax, [ebp+0x2c]
	mov [esp+0xc], eax
	lea eax, [ebp+0x1c]
	mov [esp+0x8], eax
	lea eax, [ebp+0x18]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z18ScrPlace_ApplyRectPK15ScreenPlacementPfS2_S2_S2_ii
	mov eax, [ebp+0x38]
	mov [esp+0x24], eax
	mov eax, [ebp+0x34]
	mov [esp+0x20], eax
	mov eax, [ebp+0x20]
	mov [esp+0x1c], eax
	mov eax, [ebp+0x30]
	mov [esp+0x18], eax
	mov eax, [ebp+0x2c]
	mov [esp+0x14], eax
	mov eax, [ebp+0x1c]
	mov [esp+0x10], eax
	mov eax, [ebp+0x18]
	mov [esp+0xc], eax
	mov eax, [ebp+0x14]
	mov [esp+0x8], eax
	mov eax, [ebp+0x10]
	mov [esp+0x4], eax
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z16R_AddCmdDrawTextPKciP6Font_sfffffPKfi
	leave
	ret
	nop


;CL_LocalServers_f()
_Z17CL_LocalServers_fv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x5c
	mov dword [esp+0x4], _cstring_scanning_for_ser
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	mov dword [cls+0x144], 0x0
	mov dword [cls+0x2dbfe0], 0x0
	mov dword [ebp-0x3c], 0x0
	mov esi, cls
	mov edi, cls+0x148
_Z17CL_LocalServers_fv_10:
	movzx ebx, byte [esi+0x15b]
	mov dword [esp+0x8], 0x94
	mov dword [esp+0x4], 0x0
	mov [esp], edi
	call _Z10Com_MemsetPvii
	mov [esi+0x15b], bl
	add dword [ebp-0x3c], 0x1
	add edi, 0x94
	add esi, 0x94
	cmp dword [ebp-0x3c], 0x80
	jnz _Z17CL_LocalServers_fv_10
	mov dword [esp+0x8], 0xc
	mov dword [esp+0x4], 0x0
	lea eax, [ebp-0x30]
	mov [esp], eax
	call _Z10Com_MemsetPvii
	mov esi, 0x2
_Z17CL_LocalServers_fv_30:
	mov ebx, 0x7120
_Z17CL_LocalServers_fv_20:
	mov [esp], ebx
	call _Z8BigShorts
	mov [ebp-0x28], ax
	mov dword [ebp-0x30], 0x3
	mov dword [ebp-0x24], 0x3
	mov edx, [ebp-0x2c]
	mov [ebp-0x20], edx
	mov eax, [ebp-0x28]
	mov [ebp-0x1c], eax
	mov dword [esp+0x14], 0xb
	mov dword [esp+0x10], _cstring_getinfo_xxx
	mov dword [esp+0x4], 0x3
	mov [esp+0x8], edx
	mov [esp+0xc], eax
	mov dword [esp], 0x0
	call _Z17NET_OutOfBandData8netsrc_t8netadr_tPKhi
	add ebx, 0x1
	cmp ebx, 0x7124
	jnz _Z17CL_LocalServers_fv_20
	sub esi, 0x1
	jnz _Z17CL_LocalServers_fv_30
	add esp, 0x5c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;CL_StartHunkUsers()
_Z17CL_StartHunkUsersv:
	push ebp
	mov ebp, esp
	sub esp, 0x8
	cmp byte [clientUIActives+0x1], 0x0
	jz _Z17CL_StartHunkUsersv_10
	mov eax, [cls+0x110]
	test eax, eax
	jz _Z17CL_StartHunkUsersv_20
	mov dword [cls+0x4], 0x1
_Z17CL_StartHunkUsersv_10:
	leave
	ret
_Z17CL_StartHunkUsersv_20:
	call _Z9CL_InitUIv
	mov dword [cls+0x4], 0x1
	jmp _Z17CL_StartHunkUsersv_10
	nop


;set_cl_punkbuster(char*)
_Z17set_cl_punkbusterPc:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp+0x4], _cstring_0
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	setnz al
	movzx eax, al
	mov [esp+0x4], eax
	mov dword [esp], _cstring_cl_punkbuster
	call _Z18Dvar_SetBoolByNamePKch
	leave
	ret
	nop
	add [eax], al


;CL_Configstrings_f()
_Z18CL_Configstrings_fv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	cmp dword [clientUIActives+0xc], 0x9
	jz _Z18CL_Configstrings_fv_10
	mov dword [esp+0x4], _cstring_not_connected_to
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
_Z18CL_Configstrings_fv_30:
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z18CL_Configstrings_fv_10:
	xor ebx, ebx
	mov esi, clients
	jmp _Z18CL_Configstrings_fv_20
_Z18CL_Configstrings_fv_40:
	add ebx, 0x1
	add esi, 0x4
	cmp ebx, 0x98a
	jz _Z18CL_Configstrings_fv_30
_Z18CL_Configstrings_fv_20:
	mov eax, [esi+0x2fbc]
	test eax, eax
	jz _Z18CL_Configstrings_fv_40
	add eax, clients+0x55e4
	mov [esp+0xc], eax
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_4i_s
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	jmp _Z18CL_Configstrings_fv_40


;CL_DisconnectError(char const*)
_Z18CL_DisconnectErrorPKc:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z23SEH_SafeTranslateStringPKc
	mov ebx, eax
	mov dword [esp], _cstring_exe_serverdiscon
	call _Z23SEH_SafeTranslateStringPKc
	mov [esp+0x4], ebx
	mov [esp], eax
	call _Z26UI_ReplaceConversionStringPKcS0_
	mov [esp+0x4], eax
	mov dword [esp], 0x3
	call _Z9Com_Error11errorParm_tPKcz
	add esp, 0x14
	pop ebx
	pop ebp
	ret


;CL_OpenedIWDList_f()
_Z18CL_OpenedIWDList_fv:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	lea eax, [ebp-0x10]
	mov [esp+0x4], eax
	lea eax, [ebp-0xc]
	mov [esp], eax
	call _Z13FS_LoadedIwdsPPKcS1_
	mov eax, [ebp-0x10]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_opened_iwd_names
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	leave
	ret
	nop


;CL_ReadDemoMessage(int)
_Z18CL_ReadDemoMessagei:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x50
	mov eax, [clientConnections+0x401a0]
	test eax, eax
	jz _Z18CL_ReadDemoMessagei_10
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x1
	lea eax, [ebp-0x9]
	mov [esp], eax
	call _Z7FS_ReadPvii
	sub eax, 0x1
	jz _Z18CL_ReadDemoMessagei_20
_Z18CL_ReadDemoMessagei_10:
	mov eax, [ebp+0x8]
	call _Z16CL_DemoCompletedi
_Z18CL_ReadDemoMessagei_50:
	add esp, 0x50
	pop ebx
	pop esi
	pop ebp
	ret
_Z18CL_ReadDemoMessagei_20:
	movzx eax, byte [ebp-0x9]
	test al, al
	jnz _Z18CL_ReadDemoMessagei_30
	mov dword [esp+0x4], 0x20000
	lea esi, [ebp-0x18]
	mov [esp], esi
	call _ZN10LargeLocalC1Ei
	mov [esp], esi
	call _ZN10LargeLocal6GetBufEv
	mov ebx, eax
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x4
	lea eax, [ebp-0x10]
	mov [esp], eax
	call _Z7FS_ReadPvii
	cmp eax, 0x4
	jz _Z18CL_ReadDemoMessagei_40
_Z18CL_ReadDemoMessagei_70:
	mov eax, [ebp+0x8]
	call _Z16CL_DemoCompletedi
_Z18CL_ReadDemoMessagei_110:
	mov [esp], esi
	call _ZN10LargeLocalD1Ev
	add esp, 0x50
	pop ebx
	pop esi
	pop ebp
	ret
_Z18CL_ReadDemoMessagei_30:
	sub al, 0x1
	jnz _Z18CL_ReadDemoMessagei_50
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x4
	lea eax, [ebp-0x10]
	mov [esp], eax
	call _Z7FS_ReadPvii
	cmp eax, 0x4
	jnz _Z18CL_ReadDemoMessagei_10
	mov eax, [ebp-0x10]
	cmp eax, 0xff
	jbe _Z18CL_ReadDemoMessagei_60
	mov dword [esp+0x4], _cstring_demo_file_was_co
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	jmp _Z18CL_ReadDemoMessagei_10
_Z18CL_ReadDemoMessagei_40:
	mov eax, [ebp-0x10]
	mov [clientConnections+0x20134], eax
	mov dword [esp+0x8], 0x20000
	mov [esp+0x4], ebx
	lea ebx, [ebp-0x40]
	mov [esp], ebx
	call _Z8MSG_InitP5msg_tPhi
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x4
	lea eax, [ebp-0x2c]
	mov [esp], eax
	call _Z7FS_ReadPvii
	cmp eax, 0x4
	jnz _Z18CL_ReadDemoMessagei_70
	mov eax, [ebp-0x2c]
	cmp eax, 0xffffffff
	jz _Z18CL_ReadDemoMessagei_70
	cmp eax, [ebp-0x30]
	jle _Z18CL_ReadDemoMessagei_80
	mov dword [esp+0x4], _cstring_cl_readdemomessa
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
_Z18CL_ReadDemoMessagei_80:
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov eax, [ebp-0x2c]
	mov [esp+0x4], eax
	mov eax, [ebp-0x38]
	mov [esp], eax
	call _Z7FS_ReadPvii
	cmp eax, [ebp-0x2c]
	jz _Z18CL_ReadDemoMessagei_90
	mov dword [esp+0x4], _cstring_demo_file_was_tr
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	jmp _Z18CL_ReadDemoMessagei_70
_Z18CL_ReadDemoMessagei_60:
	lea ebx, [eax+eax*2]
	shl ebx, 0x4
	add ebx, clients+0x666c0
	lea esi, [ebx+0xc]
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0xc
	lea eax, [ebx+0x10]
	mov [esp], eax
	call _Z7FS_ReadPvii
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0xc
	lea eax, [ebx+0x1c]
	mov [esp], eax
	call _Z7FS_ReadPvii
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x4
	lea eax, [ebx+0x2c]
	mov [esp], eax
	call _Z7FS_ReadPvii
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x4
	lea eax, [ebx+0x28]
	mov [esp], eax
	call _Z7FS_ReadPvii
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x4
	mov [esp], esi
	call _Z7FS_ReadPvii
	mov eax, [clientConnections+0x401a0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0xc
	add ebx, 0x30
	mov [esp], ebx
	call _Z7FS_ReadPvii
	mov eax, [ebp-0x10]
	add eax, 0x1
	mov [clients+0x696cc], eax
	jmp _Z18CL_ReadDemoMessagei_50
_Z18CL_ReadDemoMessagei_90:
	mov eax, [cls+0x118]
	mov [clientConnections+0xc], eax
	mov dword [ebp-0x24], 0x0
	mov [esp], ebx
	call _Z12MSG_ReadLongP5msg_t
	mov [clientConnections+0x130], eax
	mov ecx, [clientConnections+0x12c]
	lea edx, [ecx-0x80]
	cmp eax, edx
	jge _Z18CL_ReadDemoMessagei_100
	mov [clientConnections+0x130], ecx
	jmp _Z18CL_ReadDemoMessagei_110
_Z18CL_ReadDemoMessagei_100:
	mov [esp+0x4], ebx
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z21CL_ParseServerMessageiP5msg_t
	jmp _Z18CL_ReadDemoMessagei_110
	mov ebx, eax
	mov [esp], esi
	call _ZN10LargeLocalD1Ev
	mov [esp], ebx
	call _Unwind_Resume
	nop


;CL_DrawTextPhysical(char const*, int, Font_s*, float, float, float, float, float const*, int)
_Z19CL_DrawTextPhysicalPKciP6Font_sffffPKfi:
	push ebp
	mov ebp, esp
	sub esp, 0x38
	mov eax, [ebp+0x28]
	mov [esp+0x24], eax
	mov eax, [ebp+0x24]
	mov [esp+0x20], eax
	mov dword [esp+0x1c], 0x0
	mov eax, [ebp+0x20]
	mov [esp+0x18], eax
	mov eax, [ebp+0x1c]
	mov [esp+0x14], eax
	mov eax, [ebp+0x18]
	mov [esp+0x10], eax
	mov eax, [ebp+0x14]
	mov [esp+0xc], eax
	mov eax, [ebp+0x10]
	mov [esp+0x8], eax
	mov eax, [ebp+0xc]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z16R_AddCmdDrawTextPKciP6Font_sfffffPKfi
	leave
	ret
	nop


;CL_OpenScriptMenu_f()
_Z19CL_OpenScriptMenu_fv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov ebx, cmd_args
	mov eax, [ebx]
	cmp dword [ebx+eax*4+0x44], 0x3
	jz _Z19CL_OpenScriptMenu_fv_10
	mov dword [esp+0x4], _cstring_usage_openscript
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	mov dword [esp+0x4], _cstring_example_openscri
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
_Z19CL_OpenScriptMenu_fv_20:
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19CL_OpenScriptMenu_fv_10:
	mov dword [esp], 0x0
	call _Z26UI_AllowScriptMenuResponsei
	test al, al
	jz _Z19CL_OpenScriptMenu_fv_20
	mov eax, [cls+0x110]
	test eax, eax
	jz _Z19CL_OpenScriptMenu_fv_20
	mov edx, [ebx]
	mov ecx, [ebx+edx*4+0x44]
	cmp ecx, 0x1
	jle _Z19CL_OpenScriptMenu_fv_30
	mov eax, [ebx+edx*4+0x64]
	mov esi, [eax+0x4]
_Z19CL_OpenScriptMenu_fv_100:
	cmp ecx, 0x2
	jg _Z19CL_OpenScriptMenu_fv_40
	mov edi, _cstring_null
_Z19CL_OpenScriptMenu_fv_80:
	test esi, esi
	jz _Z19CL_OpenScriptMenu_fv_20
	test edi, edi
	jz _Z19CL_OpenScriptMenu_fv_20
	xor ebx, ebx
	jmp _Z19CL_OpenScriptMenu_fv_50
_Z19CL_OpenScriptMenu_fv_70:
	add ebx, 0x1
	cmp ebx, 0x20
	jz _Z19CL_OpenScriptMenu_fv_60
_Z19CL_OpenScriptMenu_fv_50:
	lea eax, [ebx+0x7b2]
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z18CL_GetConfigStringii
	cmp byte [eax], 0x0
	jz _Z19CL_OpenScriptMenu_fv_70
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z19CL_OpenScriptMenu_fv_70
_Z19CL_OpenScriptMenu_fv_90:
	mov dword [esp], _cstring_sv_serverid
	call _Z11Dvar_GetIntPKc
	mov [esp+0xc], edi
	mov [esp+0x8], ebx
	mov [esp+0x4], eax
	mov dword [esp], _cstring_cmd_mr_i_i_s
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z12Cbuf_AddTextiPKc
	jmp _Z19CL_OpenScriptMenu_fv_20
_Z19CL_OpenScriptMenu_fv_40:
	mov eax, cmd_args
	mov eax, [eax+edx*4+0x64]
	mov edi, [eax+0x8]
	jmp _Z19CL_OpenScriptMenu_fv_80
_Z19CL_OpenScriptMenu_fv_60:
	mov ebx, 0xffffffff
	jmp _Z19CL_OpenScriptMenu_fv_90
_Z19CL_OpenScriptMenu_fv_30:
	mov esi, _cstring_null
	jmp _Z19CL_OpenScriptMenu_fv_100
	nop


;CL_ShouldDisplayHud(int)
_Z19CL_ShouldDisplayHudi:
	push ebp
	mov ebp, esp
	mov eax, [cl_hudDrawsBehindUI]
	cmp byte [eax+0xc], 0x0
	jnz _Z19CL_ShouldDisplayHudi_10
	test byte [clientUIActives+0x4], 0x10
	jz _Z19CL_ShouldDisplayHudi_10
	cmp byte [clientUIActives+0x8], 0x0
	jnz _Z19CL_ShouldDisplayHudi_10
	xor eax, eax
	pop ebp
	ret
_Z19CL_ShouldDisplayHudi_10:
	mov eax, 0x1
	pop ebp
	ret
	nop


;CL_UpdateDirtyPings(int, int)
_Z19CL_UpdateDirtyPingsii:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x4c
	mov eax, [ebp+0xc]
	mov edx, [clientUIActives+0xc]
	test edx, edx
	jnz _Z19CL_UpdateDirtyPingsii_10
	cmp eax, 0x2
	ja _Z19CL_UpdateDirtyPingsii_10
	mov [cls+0x2dbfe0], eax
	cmp eax, 0x1
	jz _Z19CL_UpdateDirtyPingsii_20
	cmp eax, 0x2
	jz _Z19CL_UpdateDirtyPingsii_30
	test eax, eax
	jz _Z19CL_UpdateDirtyPingsii_40
_Z19CL_UpdateDirtyPingsii_100:
	test esi, esi
	jz _Z19CL_UpdateDirtyPingsii_10
	xor eax, eax
	cmp [cls+0x4b48], esi
	cmovl eax, [cls+0x4b48]
	mov [cls+0x4b48], eax
	mov [ebp-0x30], eax
	mov ecx, eax
	xor edi, edi
	mov dword [ebp-0x2c], 0x0
	jmp _Z19CL_UpdateDirtyPingsii_50
_Z19CL_UpdateDirtyPingsii_70:
	mov eax, [cl_maxppf]
	cmp [eax+0xc], edi
	jle _Z19CL_UpdateDirtyPingsii_60
	mov edx, [ebp-0x30]
	cmp edx, [cls+0x4b48]
	jz _Z19CL_UpdateDirtyPingsii_60
	mov ecx, [cls+0x4b48]
_Z19CL_UpdateDirtyPingsii_50:
	lea edx, [ecx+0x1]
	xor eax, eax
	cmp edx, esi
	cmovl eax, edx
	mov [cls+0x4b48], eax
	lea eax, [ecx+ecx*8]
	lea eax, [ecx+eax*4]
	mov edx, [ebp-0x34]
	lea ebx, [edx+eax*4]
	cmp byte [ebx+0x13], 0x0
	jz _Z19CL_UpdateDirtyPingsii_70
	cmp word [ebx+0x22], 0xffff
	jnz _Z19CL_UpdateDirtyPingsii_70
	mov eax, [ebx+0x24]
	test eax, eax
	jz _Z19CL_UpdateDirtyPingsii_80
_Z19CL_UpdateDirtyPingsii_110:
	mov eax, [ebx+0x24]
	cmp [ebp-0x2c], eax
	cmovge eax, [ebp-0x2c]
	mov [ebp-0x2c], eax
	jmp _Z19CL_UpdateDirtyPingsii_70
_Z19CL_UpdateDirtyPingsii_60:
	test edi, edi
	jnz _Z19CL_UpdateDirtyPingsii_90
	call _Z16Sys_Millisecondsv
	mov edx, [ebp-0x2c]
	add edx, 0x7d0
	cmp eax, edx
	jl _Z19CL_UpdateDirtyPingsii_90
_Z19CL_UpdateDirtyPingsii_10:
	xor eax, eax
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19CL_UpdateDirtyPingsii_90:
	mov eax, 0x1
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19CL_UpdateDirtyPingsii_40:
	mov esi, [cls+0x144]
	mov dword [ebp-0x34], cls+0x148
	jmp _Z19CL_UpdateDirtyPingsii_100
_Z19CL_UpdateDirtyPingsii_80:
	call _Z16Sys_Millisecondsv
	mov [ebx+0x24], eax
	mov ecx, [ebx]
	mov [ebp-0x24], ecx
	mov edx, [ebx+0x4]
	mov [ebp-0x20], edx
	mov eax, [ebx+0x8]
	mov [ebp-0x1c], eax
	mov dword [esp+0x10], _cstring_getinfo_xxx
	mov [esp+0x4], ecx
	mov [esp+0x8], edx
	mov [esp+0xc], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z18NET_OutOfBandPrint8netsrc_t8netadr_tPKc
	add edi, 0x1
	add dword [cls+0x4b4c], 0x1
	jmp _Z19CL_UpdateDirtyPingsii_110
_Z19CL_UpdateDirtyPingsii_20:
	mov esi, [cls+0x4b58]
	mov dword [ebp-0x34], cls+0x4b5c
	jmp _Z19CL_UpdateDirtyPingsii_100
_Z19CL_UpdateDirtyPingsii_30:
	mov esi, [cls+0x2d75dc]
	mov dword [ebp-0x34], cls+0x2d75e0
	jmp _Z19CL_UpdateDirtyPingsii_100
	nop


;Voice_SendVoiceData()
_Z19Voice_SendVoiceDatav:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, sv_voice
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z19Voice_SendVoiceDatav_10
	mov eax, [cl_voice]
	cmp byte [eax+0xc], 0x0
	jnz _Z19Voice_SendVoiceDatav_20
_Z19Voice_SendVoiceDatav_10:
	xor eax, eax
	leave
	ret
_Z19Voice_SendVoiceDatav_20:
	mov dword [esp], _cstring_rate
	call _Z11Dvar_GetIntPKc
	cmp eax, 0x1387
	jle _Z19Voice_SendVoiceDatav_10
	cmp dword [clientUIActives+0xc], 0x9
	jnz _Z19Voice_SendVoiceDatav_10
	mov eax, cl_talking
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z19Voice_SendVoiceDatav_30
_Z19Voice_SendVoiceDatav_40:
	mov eax, 0x1
_Z19Voice_SendVoiceDatav_50:
	leave
	ret
_Z19Voice_SendVoiceDatav_30:
	call _Z16IN_IsTalkKeyHeldv
	test al, al
	jnz _Z19Voice_SendVoiceDatav_40
	mov eax, [cl_voiceCommunication+0xa28]
	test eax, eax
	jz _Z19Voice_SendVoiceDatav_10
	mov eax, 0x1
	jmp _Z19Voice_SendVoiceDatav_50
	nop


;CL_DownloadsComplete(int)
_Z20CL_DownloadsCompletei:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x49c
	mov edi, [ebp+0x8]
	mov eax, [cls+0x2dc6a8]
	test eax, eax
	jz _Z20CL_DownloadsCompletei_10
	mov dword [cls+0x2dc6a8], 0x0
	mov eax, [clientConnections+0x128]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z10FS_Restartii
	call _Z16CL_Vid_Restart_fv
	mov eax, [cls+0x2dc6b0]
	test eax, eax
	jz _Z20CL_DownloadsCompletei_20
_Z20CL_DownloadsCompletei_150:
	mov dword [cls+0x2dc6a8], 0x0
	mov byte [cls+0x2dc098], 0x0
	mov byte [cls+0x2dc198], 0x0
	mov byte [cls+0x2dc6bc], 0x0
	mov dword [cls+0x2dc6b4], 0x0
	mov dword [cls+0x2dc6b0], 0x0
	mov dword [cls+0x2dc6b8], 0x0
	call _Z17DL_CancelDownloadv
_Z20CL_DownloadsCompletei_50:
	add esp, 0x49c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20CL_DownloadsCompletei_10:
	call _Z15Com_SyncThreadsv
	mov eax, fs_gameDirVar
	mov eax, [eax]
	mov eax, [eax+0xc]
	cmp byte [eax], 0x0
	jnz _Z20CL_DownloadsCompletei_30
_Z20CL_DownloadsCompletei_160:
	mov eax, edi
	shl eax, 0x4
	mov dword [eax+clientUIActives+0xc], 0x7
	mov dword [esp+0x4], _cstring_setting_state_to
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	mov eax, com_sv_running
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z20CL_DownloadsCompletei_40
	mov [esp], edi
	call _Z21CL_IsCgameInitializedi
	test eax, eax
	jnz _Z20CL_DownloadsCompletei_50
_Z20CL_DownloadsCompletei_130:
	mov dword [esp+0x4], 0x1
	mov eax, cl_paused
	mov eax, [eax]
	mov [esp], eax
	call _Z11Dvar_SetIntPK6dvar_si
	mov [esp], edi
	call _Z12CL_InitCGamei
	call _Z29FS_ReferencedIwdPureChecksumsv
	mov ebx, eax
	mov dword [esp+0x8], _cstring_va_
	mov dword [esp+0x4], 0x400
	lea esi, [ebp-0x498]
	mov [esp], esi
	call _Z11Com_sprintfPciPKcz
	mov [esp+0x8], ebx
	mov dword [esp+0x4], 0x400
	mov [esp], esi
	call _Z9I_strncatPciPKc
	add byte [ebp-0x498], 0xd
	add byte [ebp-0x497], 0xf
	mov edx, [clientConnections+0x12c]
	mov eax, edx
	sub eax, [clientConnections+0x130]
	add eax, 0xffffff80
	jg _Z20CL_DownloadsCompletei_60
_Z20CL_DownloadsCompletei_220:
	lea eax, [edx+0x1]
	mov [clientConnections+0x12c], eax
	mov dword [esp+0x8], 0x400
	and eax, 0x7f
	shl eax, 0xa
	add eax, clientConnections+0x134
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z32MSG_WriteReliableCommandToBufferPKcPci
	mov [esp], edi
	call _Z14CL_WritePacketi
	mov [esp], edi
	call _Z14CL_WritePacketi
	mov [esp], edi
	call _Z14CL_WritePacketi
	add esp, 0x49c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20CL_DownloadsCompletei_40:
	mov dword [esp+0x4], 0x0
	mov [esp], edi
	call _Z18CL_GetConfigStringii
	mov ebx, eax
	mov dword [esp+0x4], _cstring_mapname
	mov [esp], eax
	call _Z16Info_ValueForKeyPKcS0_
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], eax
	lea esi, [ebp-0x58]
	mov [esp], esi
	call _Z10I_strncpyzPcPKci
	mov dword [esp+0x4], _cstring_g_gametype
	mov [esp], ebx
	call _Z16Info_ValueForKeyPKcS0_
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], eax
	lea ebx, [ebp-0x98]
	mov [esp], ebx
	call _Z10I_strncpyzPcPKci
	mov eax, [cls+0x2dc6ac]
	test eax, eax
	jnz _Z20CL_DownloadsCompletei_70
_Z20CL_DownloadsCompletei_210:
	cmp byte [g_waitingForServer], 0x0
	jz _Z20CL_DownloadsCompletei_80
_Z20CL_DownloadsCompletei_190:
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z9UI_SetMapPKcS0_
	call _Z16SCR_UpdateScreenv
	call _Z18R_SyncRenderThreadv
	call _Z15Com_SyncThreadsv
	mov esi, [cls+0x4]
	test esi, esi
	jnz _Z20CL_DownloadsCompletei_90
_Z20CL_DownloadsCompletei_180:
	mov ebx, [cls+0x108]
	test ebx, ebx
	jnz _Z20CL_DownloadsCompletei_100
_Z20CL_DownloadsCompletei_170:
	call _Z11Com_Restartv
	call _Z15CL_InitRendererv
	cmp byte [clientUIActives+0x1], 0x0
	jz _Z20CL_DownloadsCompletei_110
	mov ecx, [cls+0x110]
	test ecx, ecx
	jz _Z20CL_DownloadsCompletei_120
_Z20CL_DownloadsCompletei_230:
	mov dword [cls+0x4], 0x1
_Z20CL_DownloadsCompletei_110:
	call _Z16SCR_UpdateScreenv
	jmp _Z20CL_DownloadsCompletei_130
_Z20CL_DownloadsCompletei_20:
	mov edx, [clientConnections+0x12c]
	mov eax, edx
	sub eax, [clientConnections+0x130]
	add eax, 0xffffff80
	jg _Z20CL_DownloadsCompletei_140
_Z20CL_DownloadsCompletei_200:
	add edx, 0x1
	mov [clientConnections+0x12c], edx
	mov dword [esp+0x8], 0x400
	and edx, 0x7f
	shl edx, 0xa
	lea eax, [edx+clientConnections+0x134]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_donedl
	call _Z32MSG_WriteReliableCommandToBufferPKcPci
	jmp _Z20CL_DownloadsCompletei_150
_Z20CL_DownloadsCompletei_30:
	mov [esp+0x8], eax
	mov eax, fs_homepath
	mov eax, [eax]
	mov eax, [eax+0xc]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_ss1
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Sys_MkdirPKc
	jmp _Z20CL_DownloadsCompletei_160
_Z20CL_DownloadsCompletei_100:
	xor eax, eax
	call _Z19CL_ShutdownRendereri
	jmp _Z20CL_DownloadsCompletei_170
_Z20CL_DownloadsCompletei_90:
	mov dword [esp], 0x0
	call _Z16CL_ShutdownCGamei
	call _Z13Phys_Shutdownv
	call _Z13CL_ShutdownUIv
	mov dword [cls+0x4], 0x0
	jmp _Z20CL_DownloadsCompletei_180
_Z20CL_DownloadsCompletei_80:
	mov eax, esi
	call _Z17LoadMapLoadscreenPKc
	jmp _Z20CL_DownloadsCompletei_190
_Z20CL_DownloadsCompletei_140:
	mov dword [esp+0x4], _cstring_exe_err_client_c
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	mov edx, [clientConnections+0x12c]
	jmp _Z20CL_DownloadsCompletei_200
_Z20CL_DownloadsCompletei_70:
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_null
	call _Z9UI_SetMapPKcS0_
	call _Z16CL_Vid_Restart_fv
	jmp _Z20CL_DownloadsCompletei_210
_Z20CL_DownloadsCompletei_60:
	mov dword [esp+0x4], _cstring_exe_err_client_c
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	mov edx, [clientConnections+0x12c]
	jmp _Z20CL_DownloadsCompletei_220
_Z20CL_DownloadsCompletei_120:
	call _Z9CL_InitUIv
	jmp _Z20CL_DownloadsCompletei_230
	nop


;CL_ForwardToServer_f()
_Z20CL_ForwardToServer_fv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x414
	mov eax, [clientUIActives+0xc]
	mov edx, [clientConnections+0x4018c]
	test edx, edx
	jnz _Z20CL_ForwardToServer_fv_10
	cmp eax, 0x9
	jz _Z20CL_ForwardToServer_fv_20
_Z20CL_ForwardToServer_fv_10:
	mov dword [esp+0x4], _cstring_not_connected_to
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
_Z20CL_ForwardToServer_fv_30:
	add esp, 0x414
	pop ebx
	pop ebp
	ret
_Z20CL_ForwardToServer_fv_20:
	mov edx, cmd_args
	mov eax, [edx]
	cmp dword [edx+eax*4+0x44], 0x1
	jle _Z20CL_ForwardToServer_fv_30
	mov dword [esp+0x8], 0x400
	lea ebx, [ebp-0x408]
	mov [esp+0x4], ebx
	mov dword [esp], 0x1
	call _Z14Cmd_ArgsBufferiPci
	mov edx, [clientConnections+0x12c]
	mov eax, edx
	sub eax, [clientConnections+0x130]
	add eax, 0xffffff80
	jg _Z20CL_ForwardToServer_fv_40
_Z20CL_ForwardToServer_fv_50:
	lea eax, [edx+0x1]
	mov [clientConnections+0x12c], eax
	mov dword [esp+0x8], 0x400
	and eax, 0x7f
	shl eax, 0xa
	add eax, clientConnections+0x134
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z32MSG_WriteReliableCommandToBufferPKcPci
	add esp, 0x414
	pop ebx
	pop ebp
	ret
_Z20CL_ForwardToServer_fv_40:
	mov dword [esp+0x4], _cstring_exe_err_client_c
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	mov edx, [clientConnections+0x12c]
	jmp _Z20CL_ForwardToServer_fv_50
	nop


;CL_ShutdownHunkUsers()
_Z20CL_ShutdownHunkUsersv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	call _Z15Com_SyncThreadsv
	mov eax, [cls+0x4]
	test eax, eax
	jnz _Z20CL_ShutdownHunkUsersv_10
	leave
	ret
_Z20CL_ShutdownHunkUsersv_10:
	mov dword [esp], 0x0
	call _Z16CL_ShutdownCGamei
	call _Z13Phys_Shutdownv
	call _Z13CL_ShutdownUIv
	mov dword [cls+0x4], 0x0
	leave
	ret


;Client_SendVoiceData(int, char*)
_Z20Client_SendVoiceDataiPc:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0x8]
	test ebx, ebx
	jle _Z20Client_SendVoiceDataiPc_10
	mov edx, [cl_voiceCommunication+0xa28]
	mov eax, edx
	shl eax, 0x8
	lea edx, [eax+edx*4+cl_voiceCommunication]
	mov [esp+0x8], ebx
	mov eax, [ebp+0xc]
	mov [esp+0x4], eax
	mov [esp], edx
	call memcpy
	mov edx, [cl_voiceCommunication+0xa28]
	mov eax, edx
	shl eax, 0x8
	mov [eax+edx*4+cl_voiceCommunication+0x100], ebx
	add dword [cl_voiceCommunication+0xa28], 0x1
	call _Z16Sys_Millisecondsv
	sub eax, [cl_voiceCommunication+0xa2c]
	cmp eax, 0xc7
	jle _Z20Client_SendVoiceDataiPc_20
	mov eax, [cl_voiceCommunication+0xa28]
	test eax, eax
	jle _Z20Client_SendVoiceDataiPc_30
_Z20Client_SendVoiceDataiPc_40:
	mov dword [esp], 0x0
	call _Z19CL_WriteVoicePacketi
	mov dword [cl_voiceCommunication+0xa28], 0x0
_Z20Client_SendVoiceDataiPc_30:
	call _Z16Sys_Millisecondsv
	mov [cl_voiceCommunication+0xa2c], eax
_Z20Client_SendVoiceDataiPc_10:
	mov eax, ebx
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z20Client_SendVoiceDataiPc_20:
	cmp dword [cl_voiceCommunication+0xa28], 0x9
	jle _Z20Client_SendVoiceDataiPc_10
	mov eax, [cl_voiceCommunication+0xa28]
	test eax, eax
	jg _Z20Client_SendVoiceDataiPc_40
	jmp _Z20Client_SendVoiceDataiPc_30
	nop


;CL_AddReliableCommand(int, char const*)
_Z21CL_AddReliableCommandiPKc:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov edx, [clientConnections+0x12c]
	mov eax, edx
	sub eax, [clientConnections+0x130]
	add eax, 0xffffff80
	jle _Z21CL_AddReliableCommandiPKc_10
	mov dword [esp+0x4], _cstring_exe_err_client_c
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	mov edx, [clientConnections+0x12c]
_Z21CL_AddReliableCommandiPKc_10:
	lea eax, [edx+0x1]
	mov [clientConnections+0x12c], eax
	mov dword [esp+0x8], 0x400
	and eax, 0x7f
	shl eax, 0xa
	add eax, clientConnections+0x134
	mov [esp+0x4], eax
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z32MSG_WriteReliableCommandToBufferPKcPci
	leave
	ret
	nop


;CL_DrawTextWithCursor(ScreenPlacement const*, char const*, int, Font_s*, float, float, int, int, float, float, float const*, int, int, char)
_Z21CL_DrawTextWithCursorPK15ScreenPlacementPKciP6Font_sffiiffPKfiic:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x34
	movsx ebx, byte [ebp+0x3c]
	mov eax, [ebp+0x24]
	mov [esp+0x18], eax
	mov eax, [ebp+0x20]
	mov [esp+0x14], eax
	lea eax, [ebp+0x2c]
	mov [esp+0x10], eax
	lea eax, [ebp+0x28]
	mov [esp+0xc], eax
	lea eax, [ebp+0x1c]
	mov [esp+0x8], eax
	lea eax, [ebp+0x18]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z18ScrPlace_ApplyRectPK15ScreenPlacementPfS2_S2_S2_ii
	mov [esp+0x2c], ebx
	mov eax, [ebp+0x38]
	mov [esp+0x28], eax
	mov eax, [ebp+0x34]
	mov [esp+0x24], eax
	mov eax, [ebp+0x30]
	mov [esp+0x20], eax
	mov dword [esp+0x1c], 0x0
	mov eax, [ebp+0x2c]
	mov [esp+0x18], eax
	mov eax, [ebp+0x28]
	mov [esp+0x14], eax
	mov eax, [ebp+0x1c]
	mov [esp+0x10], eax
	mov eax, [ebp+0x18]
	mov [esp+0xc], eax
	mov eax, [ebp+0x14]
	mov [esp+0x8], eax
	mov eax, [ebp+0x10]
	mov [esp+0x4], eax
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z26R_AddCmdDrawTextWithCursorPKciP6Font_sfffffPKfiic
	add esp, 0x34
	pop ebx
	pop ebp
	ret


;CL_GetServerIPAddress()
_Z21CL_GetServerIPAddressv:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	cmp dword [clientUIActives+0xc], 0x4
	jg _Z21CL_GetServerIPAddressv_10
	mov dword [esp+0x8], 0x80
	mov dword [esp+0x4], 0x0
	mov dword [esp], _ZZ21CL_GetServerIPAddressvE17szServerIPAddress
	call memset
	mov eax, _ZZ21CL_GetServerIPAddressvE17szServerIPAddress
	leave
	ret
_Z21CL_GetServerIPAddressv_10:
	movsx eax, word [clientConnections+0x18]
	mov [esp], eax
	call _Z8BigShorts
	cwde
	mov [esp+0x1c], eax
	movzx eax, byte [clientConnections+0x17]
	mov [esp+0x18], eax
	movzx eax, byte [clientConnections+0x16]
	mov [esp+0x14], eax
	movzx eax, byte [clientConnections+0x15]
	mov [esp+0x10], eax
	movzx eax, byte [clientConnections+0x14]
	mov [esp+0xc], eax
	mov dword [esp+0x8], _cstring_iiiii
	mov dword [esp+0x4], 0x80
	mov dword [esp], _ZZ21CL_GetServerIPAddressvE17szServerIPAddress
	call _Z11Com_sprintfPciPKcz
	mov eax, _ZZ21CL_GetServerIPAddressvE17szServerIPAddress
	leave
	ret
	nop


;CL_IsServerLoadingMap()
_Z21CL_IsServerLoadingMapv:
	push ebp
	mov ebp, esp
	movzx eax, byte [cl_serverLoadingMap]
	pop ebp
	ret


;CL_ResetSkeletonCache(int)
_Z21CL_ResetSkeletonCachei:
	push ebp
	mov ebp, esp
	mov ecx, [ebp+0x8]
	lea eax, [ecx+ecx*2]
	lea eax, [eax+eax*8]
	lea eax, [ecx+eax*4]
	lea eax, [ecx+eax*4]
	lea eax, [ecx+eax*8]
	lea eax, [ecx+eax*4]
	mov edx, eax
	shl edx, 0x7
	sub edx, eax
	lea edx, [edx+ecx+clients]
	mov eax, 0x1
	mov ecx, [edx+0x256b8]
	add ecx, 0x1
	cmovnz eax, ecx
	mov [edx+0x256b8], eax
	lea eax, [edx+0x256cf]
	and eax, 0xfffffff0
	mov [edx+0x656c0], eax
	mov dword [edx+0x256bc], 0x0
	pop ebp
	ret


;CL_ScaledMilliseconds()
_Z21CL_ScaledMillisecondsv:
	push ebp
	mov ebp, esp
	mov eax, [cls+0x118]
	pop ebp
	ret


;CL_ClearStaticDownload()
_Z22CL_ClearStaticDownloadv:
	push ebp
	mov ebp, esp
	mov dword [cls+0x2dc6a8], 0x0
	mov byte [cls+0x2dc098], 0x0
	mov byte [cls+0x2dc198], 0x0
	mov byte [cls+0x2dc6bc], 0x0
	mov dword [cls+0x2dc6b4], 0x0
	mov dword [cls+0x2dc6b0], 0x0
	mov dword [cls+0x2dc6b8], 0x0
	pop ebp
	jmp _Z17DL_CancelDownloadv


;CL_IsLocalClientActive(int)
_Z22CL_IsLocalClientActivei:
	push ebp
	mov ebp, esp
	mov eax, 0x1
	pop ebp
	ret


;CL_ReferencedIWDList_f()
_Z22CL_ReferencedIWDList_fv:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	lea eax, [ebp-0x10]
	mov [esp+0x4], eax
	lea eax, [ebp-0xc]
	mov [esp], eax
	call _Z17FS_ReferencedIwdsPPKcS1_
	mov eax, [ebp-0x10]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_referenced_iwd_n
	mov dword [esp], 0x0
	call _Z10Com_PrintfiPKcz
	leave
	ret
	nop


;CL_StopLogoOrCinematic(int)
_Z22CL_StopLogoOrCinematici:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov esi, [ebp+0x8]
	mov ebx, [clientUIActives+0xc]
	cmp ebx, 0x1
	jz _Z22CL_StopLogoOrCinematici_10
	mov eax, esi
	shl eax, 0x4
	mov dword [eax+clientUIActives+0xc], 0x0
_Z22CL_StopLogoOrCinematici_30:
	mov dword [esp], 0x0
	call _Z14SND_StopSounds20snd_stopsounds_arg_t
	test ebx, ebx
	jnz _Z22CL_StopLogoOrCinematici_20
	mov dword [esp+0x4], 0x1
	mov [esp], esi
	call _Z16UI_SetActiveMenuii
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z22CL_StopLogoOrCinematici_20:
	mov dword [esp+0x4], 0x0
	mov [esp], esi
	call _Z16UI_SetActiveMenuii
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z22CL_StopLogoOrCinematici_10:
	mov [esp], esi
	call _Z17SCR_StopCinematici
	jmp _Z22CL_StopLogoOrCinematici_30
	nop


;CL_WasMapAlreadyLoaded(int)
_Z22CL_WasMapAlreadyLoadedi:
	push ebp
	mov ebp, esp
	mov eax, com_sv_running
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	setnz al
	movzx eax, al
	pop ebp
	ret


;CL_startSingleplayer_f()
_Z22CL_startSingleplayer_fv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_iw3spexe
	call _Z23Sys_QuitAndStartProcessPKcS0_
	leave
	ret


;CL_ConnectionlessPacket(int, netadr_t, msg_t*, int)
_Z23CL_ConnectionlessPacketi8netadr_tP5msg_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x5c
	mov ebx, [ebp+0x18]
	movzx eax, word [ebp+0x14]
	mov [ebp-0x3a], ax
	movzx eax, byte [ebp+0x13]
	mov [ebp-0x3b], al
	movzx eax, byte [ebp+0x12]
	mov [ebp-0x3c], al
	movzx eax, byte [ebp+0x11]
	mov [ebp-0x3d], al
	movzx eax, byte [ebp+0x10]
	mov [ebp-0x3e], al
	mov esi, [ebp+0xc]
	mov [esp], ebx
	call _Z16MSG_BeginReadingP5msg_t
	mov [esp], ebx
	call _Z12MSG_ReadLongP5msg_t
	mov eax, [ebx+0x14]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z30CL_Netchan_AddOOBProfilePacketii
	mov dword [esp+0x8], 0x3
	mov dword [esp+0x4], _cstring_pb_
	mov eax, [ebx+0x8]
	add eax, 0x4
	mov [esp], eax
	call strncasecmp
	test eax, eax
	jnz _Z23CL_ConnectionlessPacketi8netadr_tP5msg_ti_10
	mov eax, [ebx+0x8]
	movzx edx, byte [eax+0x7]
	cmp dl, 0x53
	jz _Z23CL_ConnectionlessPacketi8netadr_tP5msg_ti_20
	cmp dl, 0x32
	jz _Z23CL_ConnectionlessPacketi8netadr_tP5msg_ti_20
	cmp dl, 0x49
	jnz _Z23CL_ConnectionlessPacketi8netadr_tP5msg_ti_30
_Z23CL_ConnectionlessPacketi8netadr_tP5msg_ti_20:
	add eax, 0x4
	mov [esp+0xc], eax
	mov eax, [ebx+0x14]
	sub eax, 0x4
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0xffffffff
	mov dword [esp], 0xd
	call _Z12PbSvAddEventiiiPc
	mov eax, 0x1
	add esp, 0x5c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23CL_ConnectionlessPacketi8netadr_tP5msg_ti_10:
	mov [esp], ebx
	call _Z18MSG_ReadStringLineP5msg_t
	mov edi, eax
	mov eax, showpackets
	mov eax, [eax]
	mov eax, [eax+0xc]
	test eax, eax
	jnz _Z23CL_ConnectionlessPacketi8netadr_tP5msg_ti_40
_Z23CL_ConnectionlessPacketi8netadr_tP5msg_ti_50:
	mov [esp], edi
	call _Z18Cmd_TokenizeStringPKc
	movzx eax, word [ebp-0x3a]
	mov [ebp-0x1c], ax
	movzx eax, byte [ebp-0x3b]
	mov [ebp-0x1d], al
	movzx eax, byte [ebp-0x3c]
	mov [ebp-0x1e], al
	movzx eax, byte [ebp-0x3d]
	mov [ebp-0x1f], al
	movzx eax, byte [ebp-0x3e]
	mov [ebp-0x20], al
	mov [ebp-0x24], esi
	mov eax, [ebp+0x1c]
	mov [esp+0x14], eax
	mov [esp+0x10], ebx
	mov [esp+0x4], esi
	mov eax, [ebp-0x20]
	mov [esp+0x8], eax
	mov eax, [ebp-0x1c]
	mov [esp+0xc], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z31CL_DispatchConnectionlessPacketi8netadr_tP5msg_ti
	mov ebx, eax
	call _Z22Cmd_EndTokenizedStringv
	movzx eax, bl
	add esp, 0x5c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23CL_ConnectionlessPacketi8netadr_tP5msg_ti_30:
	add eax, 0x4
	mov [esp+0x8], eax
	mov eax, [ebx+0x14]
	sub eax, 0x4
	mov [esp+0x4], eax
	mov dword [esp], 0xd
	call _Z12PbClAddEventiiPc
	mov eax, 0x1
	add esp, 0x5c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23CL_ConnectionlessPacketi8netadr_tP5msg_ti_40:
	movzx eax, word [ebp-0x3a]
	mov [ebp-0x28], ax
	movzx eax, byte [ebp-0x3b]
	mov [ebp-0x29], al
	movzx eax, byte [ebp-0x3c]
	mov [ebp-0x2a], al
	movzx eax, byte [ebp-0x3d]
	mov [ebp-0x2b], al
	movzx eax, byte [ebp-0x3e]
	mov [ebp-0x2c], al
	mov [ebp-0x30], esi
	mov [esp], esi
	mov eax, [ebp-0x2c]
	mov [esp+0x4], eax
	mov eax, [ebp-0x28]
	mov [esp+0x8], eax
	call _Z15NET_AdrToString8netadr_t
	mov [esp+0xc], edi
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_recv_ss
	mov dword [esp], 0x10
	call _Z10Com_PrintfiPKcz
	jmp _Z23CL_ConnectionlessPacketi8netadr_tP5msg_ti_50


;CL_RequestAuthorization(int)
_Z23CL_RequestAuthorizationi:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0xac
	mov eax, [cls+0x118]
	mov [lastUpdateKeyAuthTime], eax
	mov eax, cl_cdkeychecksum
	mov [esp+0x4], eax
	mov eax, cl_cdkey
	mov [esp], eax
	call _Z16CL_CDKeyValidatePKcS0_
	test eax, eax
	jz _Z23CL_RequestAuthorizationi_10
	cmp word [cls+0x2dbfec], 0x0
	jz _Z23CL_RequestAuthorizationi_20
	cmp dword [cls+0x2dbfe4], 0x1
	jz _Z23CL_RequestAuthorizationi_30
_Z23CL_RequestAuthorizationi_60:
	mov dword [esp], _cstring_fs_restrict
	call _Z12Dvar_GetBoolPKc
	test al, al
	jz _Z23CL_RequestAuthorizationi_40
	mov dword [esp+0x8], 0x40
	mov dword [esp+0x4], _cstring_demo
	lea edi, [ebp-0x85]
	mov [esp], edi
	call _Z10I_strncpyzPcPKci
_Z23CL_RequestAuthorizationi_90:
	mov dword [esp+0xc], _cstring_allow_anonymous_
	mov dword [esp+0x8], 0x1b
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cl_anonymous
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov esi, eax
	lea ebx, [ebp-0x45]
	mov eax, ebx
	call _Z23CL_BuildMd5StrFromCDKeyPc
	mov [esp+0xc], ebx
	mov [esp+0x8], edi
	movzx eax, byte [esi+0xc]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_getkeyauthorize_
	call _Z2vaPKcz
	mov ebx, [cls+0x2dbfe4]
	mov [ebp-0x24], ebx
	mov ecx, [cls+0x2dbfe8]
	mov [ebp-0x20], ecx
	mov edx, [cls+0x2dbfec]
	mov [ebp-0x1c], edx
	mov [esp+0x10], eax
	mov [esp+0x4], ebx
	mov [esp+0x8], ecx
	mov [esp+0xc], edx
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z18NET_OutOfBandPrint8netsrc_t8netadr_tPKc
_Z23CL_RequestAuthorizationi_30:
	add esp, 0xac
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23CL_RequestAuthorizationi_20:
	mov dword [esp+0x8], _cstring_cod4masteractivi
	mov dword [esp+0x4], _cstring_resolving_s
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	mov dword [esp+0x4], cls+0x2dbfe4
	mov dword [esp], _cstring_cod4masteractivi
	call _Z15NET_StringToAdrPKcP8netadr_t
	test eax, eax
	jz _Z23CL_RequestAuthorizationi_50
	mov dword [esp], 0x5140
	call _Z8BigShorts
	mov [cls+0x2dbfec], ax
	cwde
	mov [esp], eax
	call _Z8BigShorts
	cwde
	mov [esp+0x1c], eax
	movzx eax, byte [cls+0x2dbfeb]
	mov [esp+0x18], eax
	movzx eax, byte [cls+0x2dbfea]
	mov [esp+0x14], eax
	movzx eax, byte [cls+0x2dbfe9]
	mov [esp+0x10], eax
	movzx eax, byte [cls+0x2dbfe8]
	mov [esp+0xc], eax
	mov dword [esp+0x8], _cstring_cod4masteractivi
	mov dword [esp+0x4], _cstring_s_resolved_to_ii
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	cmp dword [cls+0x2dbfe4], 0x1
	jnz _Z23CL_RequestAuthorizationi_60
	jmp _Z23CL_RequestAuthorizationi_30
_Z23CL_RequestAuthorizationi_10:
	mov dword [esp+0x4], _cstring_exe_err_invalid_
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	add esp, 0xac
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23CL_RequestAuthorizationi_40:
	mov edx, cl_cdkey
	mov [ebp-0x8c], edx
	cld
	mov ecx, 0xffffffff
	mov edi, edx
	repne scasb
	not ecx
	sub ecx, 0x1
	cmp ecx, 0x20
	jg _Z23CL_RequestAuthorizationi_70
	test ecx, ecx
	jg _Z23CL_RequestAuthorizationi_80
	xor esi, esi
_Z23CL_RequestAuthorizationi_110:
	mov byte [ebp+esi-0x85], 0x0
	lea edi, [ebp-0x85]
	jmp _Z23CL_RequestAuthorizationi_90
_Z23CL_RequestAuthorizationi_50:
	mov dword [esp+0x4], _cstring_couldnt_resolve_
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	add esp, 0xac
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23CL_RequestAuthorizationi_70:
	mov ecx, 0x20
_Z23CL_RequestAuthorizationi_80:
	xor ebx, ebx
	xor esi, esi
	jmp _Z23CL_RequestAuthorizationi_100
_Z23CL_RequestAuthorizationi_120:
	mov [ebp+esi-0x85], dl
	add esi, 0x1
_Z23CL_RequestAuthorizationi_130:
	add ebx, 0x1
	cmp ecx, ebx
	jz _Z23CL_RequestAuthorizationi_110
_Z23CL_RequestAuthorizationi_100:
	mov eax, [ebp-0x8c]
	movzx edx, byte [ebx+eax]
	lea eax, [edx-0x30]
	cmp al, 0x9
	jbe _Z23CL_RequestAuthorizationi_120
	lea eax, [edx-0x61]
	cmp al, 0x19
	jbe _Z23CL_RequestAuthorizationi_120
	lea eax, [edx-0x41]
	cmp al, 0x19
	ja _Z23CL_RequestAuthorizationi_130
	jmp _Z23CL_RequestAuthorizationi_120


;CL_SetupForNewServerMap(char const*, char const*)
_Z23CL_SetupForNewServerMapPKcS0_:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov ebx, [ebp+0x8]
	mov edi, [ebp+0xc]
	mov [esp+0xc], edi
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_server_changing_
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	mov esi, com_sv_running
	mov eax, [esi]
	cmp byte [eax+0xc], 0x0
	jz _Z23CL_SetupForNewServerMapPKcS0__10
_Z23CL_SetupForNewServerMapPKcS0__30:
	mov byte [cl_serverLoadingMap], 0x1
	mov byte [cl_waitingOnServerToLoadMap], 0x0
	cmp byte [eax+0xc], 0x0
	jnz _Z23CL_SetupForNewServerMapPKcS0__20
	mov eax, com_expectedHunkUsage
	mov dword [eax], 0x0
	mov byte [g_waitingForServer], 0x1
	mov dword [esp], 0x1
	call _Z19FS_DisablePureCheckh
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_null
	call _Z9UI_SetMapPKcS0_
	mov eax, ebx
	call _Z17LoadMapLoadscreenPKc
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z9UI_SetMapPKcS0_
_Z23CL_SetupForNewServerMapPKcS0__20:
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z16SCR_UpdateScreenv
_Z23CL_SetupForNewServerMapPKcS0__10:
	mov dword [esp+0x8], _cstring_selectstringtabl
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0x0
	call _Z18Cbuf_ExecuteBufferiiPKc
	mov eax, [esi]
	jmp _Z23CL_SetupForNewServerMapPKcS0__30
	nop


;CL_DisconnectLocalClient(int)
_Z24CL_DisconnectLocalClienti:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov ebx, [ebp+0x8]
	mov [esp], ebx
	call _Z17SCR_StopCinematici
	mov esi, [clientUIActives+0xc]
	mov [esp], ebx
	call _Z13CL_Disconnecti
	cmp esi, 0x2
	ja _Z24CL_DisconnectLocalClienti_10
_Z24CL_DisconnectLocalClienti_40:
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z24CL_DisconnectLocalClienti_10:
	call _Z16Sys_IsMainThreadv
	test al, al
	jnz _Z24CL_DisconnectLocalClienti_20
_Z24CL_DisconnectLocalClienti_30:
	mov dword [esp+0x4], _cstring_platform_disconn
	mov dword [esp], 0x4
	call _Z9Com_Error11errorParm_tPKcz
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z24CL_DisconnectLocalClienti_20:
	mov dword [esp], 0x0
	call _Z15UI_IsFullscreeni
	test eax, eax
	jnz _Z24CL_DisconnectLocalClienti_30
	cmp byte [clientUIActives], 0x0
	jz _Z24CL_DisconnectLocalClienti_30
	cmp dword [clientUIActives+0xc], 0x2
	jle _Z24CL_DisconnectLocalClienti_30
	jmp _Z24CL_DisconnectLocalClienti_40
	nop


;CL_InitOnceForAllClients()
_Z24CL_InitOnceForAllClientsv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x5c
	call _Z19Sys_MillisecondsRawv
	mov [esp], eax
	call _Z8ms_srandj
	call _Z8Con_Initv
	call _Z12CL_InitInputv
	mov dword [esp+0xc], _cstring_print_nothing_to
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cl_noprint
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [cl_noprint], eax
	xor ebx, ebx
_Z24CL_InitOnceForAllClientsv_10:
	mov dword [esp+0xc], _cstring_custom_class_nam
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov eax, [ebx+customClassDvars]
	mov [esp], eax
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov [ebx+customclass], eax
	add ebx, 0x4
	cmp ebx, 0x14
	jnz _Z24CL_InitOnceForAllClientsv_10
	mov dword [esp+0xc], _cstring_current_game_is_
	mov dword [esp+0x8], 0x80
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_onlinegame
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [onlinegame], eax
	mov dword [esp+0x4], 0x1
	mov [esp], eax
	call _Z12Dvar_SetBoolPK6dvar_sh
	mov dword [esp+0xc], _cstring_should_the_hud_d
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_cl_huddrawsbehin
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [cl_hudDrawsBehindUI], eax
	mov dword [esp+0xc], _cstring_use_voice_commun
	mov dword [esp+0x8], 0x3
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_cl_voice
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [cl_voice], eax
	mov dword [esp+0x14], _cstring_seconds_with_no_
	mov dword [esp+0x10], 0x0
	mov ebx, 0x45610000
	mov [esp+0xc], ebx
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x42200000
	mov dword [esp], _cstring_cl_timeout
	call _Z18Dvar_RegisterFloatPKcffftS0_
	mov [cl_timeout], eax
	mov dword [esp+0x14], _cstring_timeout_time_in_
	mov dword [esp+0x10], 0x0
	mov [esp+0xc], ebx
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x43480000
	mov dword [esp], _cstring_cl_connecttimeou
	call _Z18Dvar_RegisterFloatPKcffftS0_
	mov [cl_connectTimeout], eax
	mov dword [esp+0x14], _cstring_maximum_number_o
	mov dword [esp+0x10], 0x0
	mov dword [esp+0xc], 0x7fffffff
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0xa
	mov dword [esp], _cstring_cl_connectionatt
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [cl_connectionAttempts], eax
	mov dword [esp+0x14], _cstring_display_network_
	mov dword [esp+0x10], 0x0
	mov dword [esp+0xc], 0x4
	mov dword [esp+0x8], 0xfffffffe
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cl_shownet
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [cl_shownet], eax
	mov dword [esp+0xc], _cstring_show_the_number_
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cl_shownuments
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [cl_shownuments], eax
	mov dword [esp+0xc], _cstring_enable_debugging
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cl_showservercom
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [cl_showServerCommands], eax
	mov dword [esp+0xc], _cstring_enable_debugging1
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cl_showsend
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [cl_showSend], eax
	mov dword [esp+0xc], _cstring_enable_debugging2
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cl_showtimedelta
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [cl_showTimeDelta], eax
	mov dword [esp+0xc], _cstring_cl_freezedemo_is
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cl_freezedemo
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [cl_freezeDemo], eax
	mov dword [esp+0xc], _cstring_action_to_execut
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_activeaction
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov [cl_activeAction], eax
	mov dword [esp+0x14], _cstring_avi_demo_frames_
	mov dword [esp+0x10], 0x0
	mov dword [esp+0xc], 0x7fffffff
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cl_avidemo
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [cl_avidemo], eax
	mov dword [esp+0xc], _cstring_record_avi_demo_
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cl_forceavidemo
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [cl_forceavidemo], eax
	mov dword [esp+0x14], _cstring_max_yaw_speed_in
	mov dword [esp+0x10], 0x1
	mov ebx, 0x7f7fffff
	mov [esp+0xc], ebx
	mov edi, 0xff7fffff
	mov [esp+0x8], edi
	mov esi, 0x430c0000
	mov [esp+0x4], esi
	mov dword [esp], _cstring_cl_yawspeed
	call _Z18Dvar_RegisterFloatPKcffftS0_
	mov edx, cl_yawspeed
	mov [edx], eax
	mov dword [esp+0x14], _cstring_max_pitch_speed_
	mov dword [esp+0x10], 0x1
	mov [esp+0xc], ebx
	mov [esp+0x8], edi
	mov [esp+0x4], esi
	mov dword [esp], _cstring_cl_pitchspeed
	call _Z18Dvar_RegisterFloatPKcffftS0_
	mov edx, cl_pitchspeed
	mov [edx], eax
	mov dword [esp+0x14], _cstring_multiplier_for_m
	mov dword [esp+0x10], 0x0
	mov [esp+0xc], ebx
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x3fc00000
	mov dword [esp], _cstring_cl_anglespeedkey
	call _Z18Dvar_RegisterFloatPKcffftS0_
	mov edx, cl_anglespeedkey
	mov [edx], eax
	mov dword [esp+0x14], _cstring_maximum_number_o1
	mov dword [esp+0x10], 0x1
	mov dword [esp+0xc], 0x64
	mov dword [esp+0x8], 0xf
	mov dword [esp+0x4], 0x1e
	mov dword [esp], _cstring_cl_maxpackets
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [cl_maxpackets], eax
	mov dword [esp+0x14], _cstring_enable_packet_du
	mov dword [esp+0x10], 0x1
	mov dword [esp+0xc], 0x5
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_cl_packetdup
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [cl_packetdup], eax
	mov dword [esp+0x14], _cstring_mouse_sensitivit
	mov dword [esp+0x10], 0x1
	mov ebx, 0x42c80000
	mov [esp+0xc], ebx
	mov dword [esp+0x8], 0x3c23d70a
	mov dword [esp+0x4], 0x40a00000
	mov dword [esp], _cstring_sensitivity
	call _Z18Dvar_RegisterFloatPKcffftS0_
	mov [cl_sensitivity], eax
	mov dword [esp+0x14], _cstring_mouse_accelerati
	mov dword [esp+0x10], 0x1
	mov [esp+0xc], ebx
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cl_mouseaccel
	call _Z18Dvar_RegisterFloatPKcffftS0_
	mov [cl_mouseAccel], eax
	mov dword [esp+0xc], _cstring_enable_looking_w
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_cl_freelook
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [cl_freelook], eax
	mov dword [esp+0xc], _cstring_print_mouse_rate
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cl_showmouserate
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [cl_showMouseRate], eax
	mov dword [esp+0xc], _cstring_allow_client_dow
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_cl_allowdownload
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [cl_allowDownload], eax
	mov dword [esp+0xc], _cstring_download_files_v
	mov dword [esp+0x8], 0x3
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_cl_wwwdownload
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [cl_wwwDownload], eax
	mov dword [esp+0xc], _cstring_client_is_talkin
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cl_talking
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov edx, cl_talking
	mov [edx], eax
	mov dword [esp+0xc], _cstring_allow_in_game_ci
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_r_ingamevideo
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [cl_inGameVideo], eax
	mov dword [esp+0x14], _cstring_time_in_millisec
	mov dword [esp+0x10], 0x0
	mov dword [esp+0xc], 0xe10
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x2ee
	mov dword [esp], _cstring_cl_serverstatusr
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [cl_serverStatusResendTime], eax
	mov dword [esp+0x14], _cstring_maximum_servers_
	mov dword [esp+0x10], 0x1
	mov dword [esp+0xc], 0xa
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0x5
	mov dword [esp], _cstring_cl_maxppf
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [cl_maxppf], eax
	mov dword [esp+0xc], _cstring_bypass_ui_mouse_
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cl_bypassmousein
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov edx, cl_bypassMouseInput
	mov [edx], eax
	mov dword [esp+0x14], _cstring_default_pitch
	mov dword [esp+0x10], 0x1
	mov esi, 0x3f800000
	mov [esp+0xc], esi
	mov ebx, 0xbf800000
	mov [esp+0x8], ebx
	mov edi, 0x3cb43958
	mov [esp+0x4], edi
	mov dword [esp], _cstring_m_pitch
	call _Z18Dvar_RegisterFloatPKcffftS0_
	mov [m_pitch], eax
	mov dword [esp+0x14], _cstring_default_yaw
	mov dword [esp+0x10], 0x1
	mov [esp+0xc], esi
	mov [esp+0x8], ebx
	mov [esp+0x4], edi
	mov dword [esp], _cstring_m_yaw
	call _Z18Dvar_RegisterFloatPKcffftS0_
	mov [m_yaw], eax
	mov dword [esp+0x14], _cstring_forward_speed_in
	mov dword [esp+0x10], 0x1
	mov [esp+0xc], esi
	mov [esp+0x8], ebx
	mov edi, 0x3e800000
	mov [esp+0x4], edi
	mov dword [esp], _cstring_m_forward
	call _Z18Dvar_RegisterFloatPKcffftS0_
	mov [m_forward], eax
	mov dword [esp+0x14], _cstring_sideways_motion_
	mov dword [esp+0x10], 0x1
	mov [esp+0xc], esi
	mov [esp+0x8], ebx
	mov [esp+0x4], edi
	mov dword [esp], _cstring_m_side
	call _Z18Dvar_RegisterFloatPKcffftS0_
	mov [m_side], eax
	mov dword [esp+0xc], _cstring_allow_mouse_move
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_m_filter
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [m_filter], eax
	mov dword [esp+0xc], _cstring_message_of_the_d
	mov dword [esp+0x8], 0x40
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_cl_motdstring
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov [cl_motdString], eax
	mov dword [esp+0xc], _cstring_true_if_the_game
	mov dword [esp+0x8], 0x40
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cl_ingame
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [cl_ingame], eax
	mov dword [esp+0x14], _cstring_maximum_ping_for
	mov dword [esp+0x10], 0x1
	mov dword [esp+0xc], 0x7d0
	mov dword [esp+0x8], 0x14
	mov dword [esp+0x4], 0x320
	mov dword [esp], _cstring_cl_maxping
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov dword [esp+0xc], _cstring_player_name
	mov dword [esp+0x8], 0x3
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_name
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov [name], eax
	mov dword [esp+0x14], _cstring_players_preferre
	mov dword [esp+0x10], 0x3
	mov dword [esp+0xc], 0x61a8
	mov dword [esp+0x8], 0x3e8
	mov dword [esp+0x4], 0x61a8
	mov dword [esp], _cstring_rate
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov dword [esp+0x14], _cstring_snapshot_rate
	mov dword [esp+0x10], 0x3
	mov dword [esp+0xc], 0x1e
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0x14
	mov dword [esp], _cstring_snaps
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov dword [esp+0xc], _cstring_determines_wheth
	mov dword [esp+0x8], 0x13
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_cl_punkbuster
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov dword [esp+0xc], _cstring_password
	mov dword [esp+0x8], 0x2
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_password
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov dword [esp+0xc], _cstring_the_next_demo_to
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_nextdemo
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov [nextdemo], eax
	mov dword [esp+0xc], _cstring_enable_the_hud_d
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_hud_enable
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov dword [esp+0xc], _cstring_show_blood
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_cg_blood
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov dword [esp+0xc], _cstring_message_of_the_d
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_motd
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov [motd], eax
	mov dword [esp+0x14], _cstring_min_orbit_altitu
	mov dword [esp+0x10], 0x1
	mov esi, 0x42a00000
	mov [esp+0xc], esi
	mov ebx, 0xc2a00000
	mov [esp+0x8], ebx
	mov dword [esp+0x4], 0xc1700000
	mov dword [esp], _cstring_vehdriverviewhei
	call _Z18Dvar_RegisterFloatPKcffftS0_
	mov edx, vehDriverViewHeightMin
	mov [edx], eax
	mov dword [esp+0x14], _cstring_max_orbit_altitu
	mov dword [esp+0x10], 0x1
	mov [esp+0xc], esi
	mov [esp+0x8], ebx
	mov dword [esp+0x4], 0x42480000
	mov dword [esp], _cstring_vehdriverviewhei1
	call _Z18Dvar_RegisterFloatPKcffftS0_
	mov edx, vehDriverViewHeightMax
	mov [edx], eax
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE24CL_ForwardToServer_f_VAR
	mov dword [esp+0x4], _Z20CL_ForwardToServer_fv
	mov dword [esp], _cstring_cmd
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE22CL_Configstrings_f_VAR
	mov dword [esp+0x4], _Z18CL_Configstrings_fv
	mov dword [esp], _cstring_configstrings
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE19CL_Clientinfo_f_VAR
	mov dword [esp+0x4], _Z15CL_Clientinfo_fv
	mov dword [esp], _cstring_clientinfo
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE20CL_Vid_Restart_f_VAR
	mov ebx, _Z20Cbuf_AddServerText_fv
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_vid_restart
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE27CL_Vid_Restart_f_VAR_SERVER
	mov dword [esp+0x4], _Z16CL_Vid_Restart_fv
	mov dword [esp], _cstring_vid_restart
	call _Z28Cmd_AddServerCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE20CL_Snd_Restart_f_VAR
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_snd_restart
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE27CL_Snd_Restart_f_VAR_SERVER
	mov dword [esp+0x4], _Z16CL_Snd_Restart_fv
	mov dword [esp], _cstring_snd_restart
	call _Z28Cmd_AddServerCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE19CL_Disconnect_f_VAR
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_disconnect
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE26CL_Disconnect_f_VAR_SERVER
	mov dword [esp+0x4], _Z15CL_Disconnect_fv
	mov dword [esp], _cstring_disconnect
	call _Z28Cmd_AddServerCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE15CL_Record_f_VAR
	mov dword [esp+0x4], _Z11CL_Record_fv
	mov dword [esp], _cstring_record
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE19CL_StopRecord_f_VAR
	mov dword [esp+0x4], _Z15CL_StopRecord_fv
	mov dword [esp], _cstring_stoprecord
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE17CL_PlayDemo_f_VAR
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_demo
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE24CL_PlayDemo_f_VAR_SERVER
	mov dword [esp+0x4], _Z13CL_PlayDemo_fv
	mov dword [esp], _cstring_demo
	call _Z28Cmd_AddServerCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE17CL_PlayDemo_f_VAR_0
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_timedemo
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE24CL_PlayDemo_f_VAR_SERVER_0
	mov dword [esp+0x4], _Z13CL_PlayDemo_fv
	mov dword [esp], _cstring_timedemo
	call _Z28Cmd_AddServerCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _cstring_dm_1
	mov dword [esp+0x4], _cstring_demos
	mov dword [esp], _cstring_demo
	call _Z19Cmd_SetAutoCompletePKcS0_S0_
	mov dword [esp+0x8], _cstring_dm_1
	mov dword [esp+0x4], _cstring_demos
	mov dword [esp], _cstring_timedemo
	call _Z19Cmd_SetAutoCompletePKcS0_S0_
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE22CL_PlayCinematic_f_VAR
	mov eax, _Z18CL_PlayCinematic_fv
	mov [esp+0x4], eax
	mov dword [esp], _cstring_cinematic
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE33CL_PlayUnskippableCinematic_f_VAR
	mov eax, _Z29CL_PlayUnskippableCinematic_fv
	mov [esp+0x4], eax
	mov dword [esp], _cstring_unskippablecinem
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _cstring_roq
	mov dword [esp+0x4], _cstring_video
	mov dword [esp], _cstring_cinematic
	call _Z19Cmd_SetAutoCompletePKcS0_S0_
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE17CL_PlayLogo_f_VAR
	mov dword [esp+0x4], _Z13CL_PlayLogo_fv
	mov dword [esp], _cstring_logo
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE16CL_Connect_f_VAR
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_connect
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE23CL_Connect_f_VAR_SERVER
	mov eax, _Z12CL_Connect_fv
	mov [esp+0x4], eax
	mov dword [esp], _cstring_connect
	call _Z28Cmd_AddServerCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE18CL_Reconnect_f_VAR
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_reconnect
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE25CL_Reconnect_f_VAR_SERVER
	mov dword [esp+0x4], _Z14CL_Reconnect_fv
	mov dword [esp], _cstring_reconnect
	call _Z28Cmd_AddServerCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE21CL_LocalServers_f_VAR
	mov dword [esp+0x4], _Z17CL_LocalServers_fv
	mov dword [esp], _cstring_localservers
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE22CL_GlobalServers_f_VAR
	mov eax, _Z18CL_GlobalServers_fv
	mov [esp+0x4], eax
	mov dword [esp], _cstring_globalservers
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	call _Z11CL_RconInitv
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE13CL_Rcon_f_VAR
	mov eax, _Z9CL_Rcon_fv
	mov [esp+0x4], eax
	mov dword [esp], _cstring_rcon
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE13CL_Ping_f_VAR
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_ping
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE20CL_Ping_f_VAR_SERVER
	mov eax, _Z9CL_Ping_fv
	mov [esp+0x4], eax
	mov dword [esp], _cstring_ping
	call _Z28Cmd_AddServerCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE21CL_ServerStatus_f_VAR
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_serverstatus
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE28CL_ServerStatus_f_VAR_SERVER
	mov eax, _Z17CL_ServerStatus_fv
	mov [esp+0x4], eax
	mov dword [esp], _cstring_serverstatus
	call _Z28Cmd_AddServerCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE15CL_Setenv_f_VAR
	mov dword [esp+0x4], _Z11CL_Setenv_fv
	mov dword [esp], _cstring_setenv
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE15CL_ShowIP_f_VAR
	mov dword [esp+0x4], _Z11CL_ShowIP_fv
	mov dword [esp], _cstring_showip
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE19CL_ToggleMenu_f_VAR
	mov dword [esp+0x4], _Z15CL_ToggleMenu_fv
	mov dword [esp], _cstring_togglemenu
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE22CL_OpenedIWDList_f_VAR
	mov dword [esp+0x4], _Z18CL_OpenedIWDList_fv
	mov dword [esp], _cstring_fs_openedlist
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE26CL_ReferencedIWDList_f_VAR
	mov dword [esp+0x4], _Z22CL_ReferencedIWDList_fv
	mov dword [esp], _cstring_fs_referencedlis
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE27CL_UpdateLevelHunkUsage_VAR
	mov eax, _Z23CL_UpdateLevelHunkUsagev
	mov [esp+0x4], eax
	mov dword [esp], _cstring_updatehunkusage
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE26CL_startSingleplayer_f_VAR
	mov dword [esp+0x4], _Z22CL_startSingleplayer_fv
	mov dword [esp], _cstring_startsingleplaye
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE20CL_CubemapShot_f_VAR
	mov eax, _Z16CL_CubemapShot_fv
	mov [esp+0x4], eax
	mov dword [esp], _cstring_cubemapshot
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE23CL_OpenScriptMenu_f_VAR
	mov dword [esp+0x4], _Z19CL_OpenScriptMenu_fv
	mov dword [esp], _cstring_openscriptmenu
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE37Com_WriteLocalizedSoundAliasFiles_VAR
	mov eax, _Z33Com_WriteLocalizedSoundAliasFilesv
	mov [esp+0x4], eax
	mov dword [esp], _cstring_localizesoundali
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE18UI_CloseMenu_f_VAR
	mov eax, _Z14UI_CloseMenu_fv
	mov [esp+0x4], eax
	mov dword [esp], _cstring_closemenu
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE37CL_SelectStringTableEntryInDvar_f_VAR
	mov eax, _Z33CL_SelectStringTableEntryInDvar_fv
	mov [esp+0x4], eax
	mov dword [esp], _cstring_selectstringtabl1
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x8], _ZZ24CL_InitOnceForAllClientsvE19CL_ResetStats_f_VAR
	mov dword [esp+0x4], _Z15CL_ResetStats_fv
	mov dword [esp], _cstring_resetstats
	call _Z22Cmd_AddCommandInternalPKcPFvvEP14cmd_function_s
	mov dword [esp+0x4], _cstring__initializing_re
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	mov dword [ebp-0x48], 0x1
	mov dword [ebp-0x44], 0x400
	mov dword [ebp-0x40], 0x3ff
	mov dword [ebp-0x3c], 0x3fe
	mov dword [ebp-0x38], 0x2
	mov dword [ebp-0x34], 0x11
	mov dword [ebp-0x30], _cstring_code_post_gfx_mp
	mov dword [ebp-0x2c], _cstring_ui_mp
	mov dword [ebp-0x28], _cstring_common_mp
	mov dword [ebp-0x24], _cstring_localized_code_p
	mov dword [ebp-0x20], _cstring_localized_common
	call _Z16DB_ModFileExistsv
	xor edx, edx
	test al, al
	mov eax, _cstring_mod
	cmovnz edx, eax
	mov [ebp-0x1c], edx
	lea eax, [ebp-0x48]
	mov [esp], eax
	call _Z19R_ConfigureRendererPK16GfxConfiguration
	mov dword [esp+0x4], 0x0
	mov eax, cl_paused
	mov eax, [eax]
	mov [esp], eax
	call _Z11Dvar_SetIntPK6dvar_si
	call _Z8SCR_Initv
	call _Z16CG_RegisterDvarsv
	call _Z16Ragdoll_Registerv
	mov dword [cl_voiceCommunication+0xa28], 0x0
	add esp, 0x5c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;CL_RunOncePerClientFrame(int, int)
_Z24CL_RunOncePerClientFrameii:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov esi, [ebp+0x8]
	mov ebx, [ebp+0xc]
	mov [esp], esi
	call _Z15UI_IsFullscreeni
	test eax, eax
	jnz _Z24CL_RunOncePerClientFrameii_10
_Z24CL_RunOncePerClientFrameii_40:
	call _Z8IN_Framev
	mov edx, [cl_avidemo]
	mov ecx, [edx+0xc]
	test ecx, ecx
	jz _Z24CL_RunOncePerClientFrameii_20
	test ebx, ebx
	jz _Z24CL_RunOncePerClientFrameii_20
	cmp dword [clientUIActives+0xc], 0x9
	jz _Z24CL_RunOncePerClientFrameii_30
	mov eax, [cl_forceavidemo]
	cmp byte [eax+0xc], 0x0
	jnz _Z24CL_RunOncePerClientFrameii_30
_Z24CL_RunOncePerClientFrameii_50:
	cvtsi2ss xmm1, dword [edx+0xc]
	movss xmm0, dword [_float_1000_00000000]
	divss xmm0, xmm1
	mov eax, com_timescaleValue
	mulss xmm0, [eax]
	cvttss2si ebx, xmm0
	test ebx, ebx
	mov eax, 0x1
	cmovz ebx, eax
_Z24CL_RunOncePerClientFrameii_20:
	mov [cls+0x11c], ebx
	mov [cls+0x114], ebx
	add [cls+0x118], ebx
	mov eax, com_frameTime
	mov ecx, [eax]
	mov eax, 0x1
	mov edx, ecx
	sub edx, [old_com_frameTime]
	cmovnz eax, edx
	mov [frame_msec], eax
	mov eax, 0xc8
	cmp dword [frame_msec], 0xc9
	cmovb eax, [frame_msec]
	mov [frame_msec], eax
	mov [old_com_frameTime], ecx
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z24CL_RunOncePerClientFrameii_10:
	mov dword [esp], 0x0
	call _Z9R_SyncGpuPFiyE
	jmp _Z24CL_RunOncePerClientFrameii_40
_Z24CL_RunOncePerClientFrameii_30:
	mov dword [esp+0x8], _cstring_screenshot_silen
	mov [esp+0x4], esi
	mov dword [esp], 0x0
	call _Z24Cmd_ExecuteSingleCommandiiPKc
	mov edx, [cl_avidemo]
	jmp _Z24CL_RunOncePerClientFrameii_50


;CL_AnyLocalClientsRunning()
_Z25CL_AnyLocalClientsRunningv:
	push ebp
	mov ebp, esp
	xor eax, eax
	cmp byte [clientUIActives+0x1], 0x0
	setnz al
	pop ebp
	ret
	nop


;CL_ForwardCommandToServer(int, char const*)
_Z25CL_ForwardCommandToServeriPKc:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, cmd_args
	mov edx, [eax]
	mov ecx, [eax+edx*4+0x44]
	test ecx, ecx
	jle _Z25CL_ForwardCommandToServeriPKc_10
	mov eax, [eax+edx*4+0x64]
	mov ebx, [eax]
_Z25CL_ForwardCommandToServeriPKc_60:
	movzx eax, byte [ebx]
	cmp al, 0x2d
	jz _Z25CL_ForwardCommandToServeriPKc_20
	cmp dword [clientUIActives+0xc], 0x4
	jle _Z25CL_ForwardCommandToServeriPKc_30
	cmp al, 0x2b
	jz _Z25CL_ForwardCommandToServeriPKc_30
	mov eax, [clientConnections+0x4018c]
	test eax, eax
	jnz _Z25CL_ForwardCommandToServeriPKc_30
	sub ecx, 0x1
	jle _Z25CL_ForwardCommandToServeriPKc_40
	mov edx, [clientConnections+0x12c]
	mov eax, edx
	sub eax, [clientConnections+0x130]
	add eax, 0xffffff80
	jg _Z25CL_ForwardCommandToServeriPKc_50
_Z25CL_ForwardCommandToServeriPKc_70:
	add edx, 0x1
	mov [clientConnections+0x12c], edx
	mov dword [esp+0x8], 0x400
	and edx, 0x7f
	shl edx, 0xa
	lea eax, [edx+clientConnections+0x134]
	mov [esp+0x4], eax
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z32MSG_WriteReliableCommandToBufferPKcPci
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z25CL_ForwardCommandToServeriPKc_30:
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_unknown_command_
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
_Z25CL_ForwardCommandToServeriPKc_20:
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z25CL_ForwardCommandToServeriPKc_10:
	mov ebx, _cstring_null
	jmp _Z25CL_ForwardCommandToServeriPKc_60
_Z25CL_ForwardCommandToServeriPKc_50:
	mov dword [esp+0x4], _cstring_exe_err_client_c
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	mov edx, [clientConnections+0x12c]
	jmp _Z25CL_ForwardCommandToServeriPKc_70
_Z25CL_ForwardCommandToServeriPKc_40:
	mov edx, [clientConnections+0x12c]
	mov eax, edx
	sub eax, [clientConnections+0x130]
	add eax, 0xffffff80
	jg _Z25CL_ForwardCommandToServeriPKc_80
_Z25CL_ForwardCommandToServeriPKc_90:
	lea eax, [edx+0x1]
	mov [clientConnections+0x12c], eax
	mov dword [esp+0x8], 0x400
	and eax, 0x7f
	shl eax, 0xa
	add eax, clientConnections+0x134
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z32MSG_WriteReliableCommandToBufferPKcPci
	jmp _Z25CL_ForwardCommandToServeriPKc_20
_Z25CL_ForwardCommandToServeriPKc_80:
	mov dword [esp+0x4], _cstring_exe_err_client_c
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	mov edx, [clientConnections+0x12c]
	jmp _Z25CL_ForwardCommandToServeriPKc_90
	nop


;CL_IsRenderingSplitScreen()
_Z25CL_IsRenderingSplitScreenv:
	push ebp
	mov ebp, esp
	xor eax, eax
	pop ebp
	ret
	nop


;CL_IsLastActiveLocalClient(int)
_Z26CL_IsLastActiveLocalClienti:
	push ebp
	mov ebp, esp
	mov eax, 0x1
	pop ebp
	ret


;CL_IsFirstActiveLocalClient(int)
_Z27CL_IsFirstActiveLocalClienti:
	push ebp
	mov ebp, esp
	mov eax, 0x1
	pop ebp
	ret


;CL_GetFirstActiveLocalClient()
_Z28CL_GetFirstActiveLocalClientv:
	push ebp
	mov ebp, esp
	xor eax, eax
	pop ebp
	ret
	nop


;CL_GetLocalClientActiveCount()
_Z28CL_GetLocalClientActiveCountv:
	push ebp
	mov ebp, esp
	mov eax, 0x1
	pop ebp
	ret


;CL_GetUsernameForLocalClient(int)
_Z28CL_GetUsernameForLocalClienti:
	push ebp
	mov ebp, esp
	mov eax, [name]
	mov eax, [eax+0xc]
	pop ebp
	ret
	nop


;CL_DrawTextPhysicalWithCursor(char const*, int, Font_s*, float, float, float, float, float const*, int, int, char)
_Z29CL_DrawTextPhysicalWithCursorPKciP6Font_sffffPKfiic:
	push ebp
	mov ebp, esp
	sub esp, 0x38
	movsx eax, byte [ebp+0x30]
	mov [esp+0x2c], eax
	mov eax, [ebp+0x2c]
	mov [esp+0x28], eax
	mov eax, [ebp+0x28]
	mov [esp+0x24], eax
	mov eax, [ebp+0x24]
	mov [esp+0x20], eax
	mov dword [esp+0x1c], 0x0
	mov eax, [ebp+0x20]
	mov [esp+0x18], eax
	mov eax, [ebp+0x1c]
	mov [esp+0x14], eax
	mov eax, [ebp+0x18]
	mov [esp+0x10], eax
	mov eax, [ebp+0x14]
	mov [esp+0xc], eax
	mov eax, [ebp+0x10]
	mov [esp+0x8], eax
	mov eax, [ebp+0xc]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z26R_AddCmdDrawTextWithCursorPKciP6Font_sfffffPKfiic
	leave
	ret


;CL_IsWaitingOnServerToLoadMap(int)
_Z29CL_IsWaitingOnServerToLoadMapi:
	push ebp
	mov ebp, esp
	mov eax, [ebp+0x8]
	movzx eax, byte [eax+cl_waitingOnServerToLoadMap]
	pop ebp
	ret
	nop


;CL_AllLocalClientsDisconnected()
_Z30CL_AllLocalClientsDisconnectedv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	call _Z16Sys_IsMainThreadv
	test al, al
	jnz _Z30CL_AllLocalClientsDisconnectedv_10
_Z30CL_AllLocalClientsDisconnectedv_20:
	mov eax, 0x1
_Z30CL_AllLocalClientsDisconnectedv_30:
	leave
	ret
_Z30CL_AllLocalClientsDisconnectedv_10:
	mov dword [esp], 0x0
	call _Z15UI_IsFullscreeni
	test eax, eax
	jnz _Z30CL_AllLocalClientsDisconnectedv_20
	cmp byte [clientUIActives], 0x0
	jz _Z30CL_AllLocalClientsDisconnectedv_20
	cmp dword [clientUIActives+0xc], 0x2
	jg _Z30CL_AllLocalClientsDisconnectedv_30
	mov eax, 0x1
	jmp _Z30CL_AllLocalClientsDisconnectedv_30
	nop
	add [eax], al


;CL_DrawTextPhysicalWithEffects(char const*, int, Font_s*, float, float, float, float, float const*, int, float const*, Material*, Material*, int, int, int, int)
_Z30CL_DrawTextPhysicalWithEffectsPKciP6Font_sffffPKfiS4_P8MaterialS6_iiii:
	push ebp
	mov ebp, esp
	sub esp, 0x58
	mov eax, [ebp+0x44]
	mov [esp+0x40], eax
	mov eax, [ebp+0x40]
	mov [esp+0x3c], eax
	mov eax, [ebp+0x3c]
	mov [esp+0x38], eax
	mov eax, [ebp+0x38]
	mov [esp+0x34], eax
	mov eax, [ebp+0x34]
	mov [esp+0x30], eax
	mov eax, [ebp+0x30]
	mov [esp+0x2c], eax
	mov eax, [ebp+0x2c]
	mov [esp+0x28], eax
	mov eax, [ebp+0x28]
	mov [esp+0x24], eax
	mov eax, [ebp+0x24]
	mov [esp+0x20], eax
	mov dword [esp+0x1c], 0x0
	mov eax, [ebp+0x20]
	mov [esp+0x18], eax
	mov eax, [ebp+0x1c]
	mov [esp+0x14], eax
	mov eax, [ebp+0x18]
	mov [esp+0x10], eax
	mov eax, [ebp+0x14]
	mov [esp+0xc], eax
	mov eax, [ebp+0x10]
	mov [esp+0x8], eax
	mov eax, [ebp+0xc]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z27R_AddCmdDrawTextWithEffectsPKciP6Font_sfffffPKfiS4_P8MaterialS6_iiii
	leave
	ret


;CL_SetWaitingOnServerToLoadMap(int, unsigned char)
_Z30CL_SetWaitingOnServerToLoadMapih:
	push ebp
	mov ebp, esp
	mov edx, [ebp+0xc]
	mov eax, [ebp+0x8]
	mov [eax+cl_waitingOnServerToLoadMap], dl
	pop ebp
	ret
	nop


;CL_ControllerIndexFromClientNum(int)
_Z31CL_ControllerIndexFromClientNumi:
	push ebp
	mov ebp, esp
	mov eax, [ebp+0x8]
	pop ebp
	ret


;CL_LocalActiveIndexFromClientNum(int)
_Z32CL_LocalActiveIndexFromClientNumi:
	push ebp
	mov ebp, esp
	xor eax, eax
	pop ebp
	ret
	nop


;CL_Init(int)
_Z7CL_Initi:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0x8]
	mov dword [esp+0x4], _cstring__client_initiali
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	test ebx, ebx
	jle _Z7CL_Initi_10
_Z7CL_Initi_20:
	mov [esp], ebx
	call _Z26Com_ClientDObjClearAllSkeli
	call _Z17CL_ClearMutedListv
	mov dword [clientUIActives+0xc], 0x0
	mov dword [cls+0x118], 0x0
	mov byte [clientUIActives], 0x1
	mov byte [cl_serverLoadingMap], 0x0
	mov byte [ebx+cl_waitingOnServerToLoadMap], 0x0
	mov byte [g_waitingForServer], 0x0
	mov dword [esp], 0x0
	call _Z19FS_DisablePureCheckh
	mov [esp+0x4], ebx
	mov [esp], ebx
	call _Z12Cbuf_Executeii
	mov byte [clientUIActives+0x1], 0x1
	mov dword [esp+0x4], _cstring__client_initiali1
	mov dword [esp], 0xe
	call _Z10Com_PrintfiPKcz
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z7CL_Initi_10:
	mov dword [esp+0x8], 0x1b1bdc
	mov dword [esp+0x4], 0x0
	mov dword [esp], clients
	call memset
	jmp _Z7CL_Initi_20
	nop


;CL_Frame(int, int)
_Z8CL_Frameii:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov ebx, [ebp+0x8]
	mov esi, [clientUIActives+0xc]
	cmp byte [clientUIActives+0x1], 0x0
	jnz _Z8CL_Frameii_10
_Z8CL_Frameii_100:
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z8CL_Frameii_10:
	mov eax, [cl_voiceCommunication+0xa28]
	mov edx, eax
	shl edx, 0x8
	lea eax, [edx+eax*4+cl_voiceCommunication]
	mov [esp], eax
	call _Z23Voice_GetLocalVoiceDataP19ClientVoicePacket_t
	call _Z14Voice_Playbackv
	mov [esp], ebx
	call _Z14CL_UpdateColori
	cmp dword [clientUIActives+0xc], 0x3
	jle _Z8CL_Frameii_20
	mov eax, cl_paused
	mov eax, [eax]
	mov edx, [eax+0xc]
	test edx, edx
	jz _Z8CL_Frameii_30
_Z8CL_Frameii_20:
	mov [esp], ebx
	call _Z17CL_CheckForResendi
	mov edx, [clientUIActives+0xc]
	cmp edx, 0x2
	jg _Z8CL_Frameii_40
	test ebx, ebx
	jle _Z8CL_Frameii_50
_Z8CL_Frameii_200:
	call _Z13DL_InProgressv
	test al, al
	jnz _Z8CL_Frameii_60
_Z8CL_Frameii_160:
	cmp dword [clientUIActives+0xc], 0x9
	jz _Z8CL_Frameii_70
_Z8CL_Frameii_170:
	mov eax, [cl_ingame]
	cmp byte [eax+0xc], 0x0
	jnz _Z8CL_Frameii_80
_Z8CL_Frameii_180:
	mov [esp], ebx
	call _Z15CL_SetCGameTimei
	mov [esp], ebx
	call _Z29CL_CreateCmdsDuringConnectioni
	lea eax, [esi-0x5]
	cmp eax, 0x3
	jbe _Z8CL_Frameii_90
_Z8CL_Frameii_220:
	cmp dword [clientUIActives+0xc], 0x9
	jnz _Z8CL_Frameii_100
	mov eax, [cls+0x118]
	sub eax, [lastUpdateKeyAuthTime]
	cmp eax, 0x493e0
	jle _Z8CL_Frameii_100
	mov eax, net_lanauthorize
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jnz _Z8CL_Frameii_110
	mov ecx, [clientConnections+0x10]
	mov [ebp-0x24], ecx
	mov edx, [clientConnections+0x14]
	mov [ebp-0x20], edx
	mov eax, [clientConnections+0x18]
	mov [ebp-0x1c], eax
	mov [esp], ecx
	mov [esp+0x4], edx
	mov [esp+0x8], eax
	call _Z16Sys_IsLANAddress8netadr_t
	test eax, eax
	jnz _Z8CL_Frameii_100
_Z8CL_Frameii_110:
	mov [ebp+0x8], ebx
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z23CL_RequestAuthorizationi
_Z8CL_Frameii_40:
	mov eax, cl_paused
	mov eax, [eax]
	mov eax, [eax+0xc]
	test eax, eax
	jz _Z8CL_Frameii_120
	mov eax, sv_paused
	mov eax, [eax]
	mov eax, [eax+0xc]
	test eax, eax
	jz _Z8CL_Frameii_120
_Z8CL_Frameii_190:
	lea eax, [edx-0x4]
	cmp eax, 0x3
	ja _Z8CL_Frameii_130
	mov ecx, [clientConnections+0xc]
	test ecx, ecx
	jle _Z8CL_Frameii_130
	mov eax, [cls+0x118]
	sub eax, ecx
	cvtsi2ss xmm1, eax
	movss xmm0, dword [_float_1000_00000000]
	mov eax, [cl_connectTimeout]
	mulss xmm0, [eax+0xc]
	ucomiss xmm1, xmm0
	ja _Z8CL_Frameii_140
_Z8CL_Frameii_130:
	cmp edx, 0x3
	jz _Z8CL_Frameii_150
_Z8CL_Frameii_50:
	mov dword [clients+0x4], 0x0
	call _Z13DL_InProgressv
	test al, al
	jz _Z8CL_Frameii_160
_Z8CL_Frameii_60:
	call _Z14CL_WWWDownloadv
	cmp dword [clientUIActives+0xc], 0x9
	jnz _Z8CL_Frameii_170
_Z8CL_Frameii_70:
	mov eax, [cl_ingame]
	cmp byte [eax+0xc], 0x0
	jnz _Z8CL_Frameii_180
	mov dword [esp+0x4], 0x1
	mov [esp], eax
	call _Z12Dvar_SetBoolPK6dvar_sh
	jmp _Z8CL_Frameii_180
_Z8CL_Frameii_120:
	cmp edx, 0x7
	jle _Z8CL_Frameii_190
	mov ecx, [clientConnections+0xc]
	test ecx, ecx
	jle _Z8CL_Frameii_190
	mov eax, [cls+0x118]
	sub eax, ecx
	cvtsi2ss xmm1, eax
	movss xmm0, dword [_float_1000_00000000]
	mov eax, [cl_timeout]
	mulss xmm0, [eax+0xc]
	ucomiss xmm1, xmm0
	jbe _Z8CL_Frameii_190
_Z8CL_Frameii_140:
	mov eax, [clients+0x4]
	add eax, 0x1
	mov [clients+0x4], eax
	cmp eax, 0x5
	jle _Z8CL_Frameii_200
	mov dword [esp+0x4], _cstring_exe_err_server_t
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	jmp _Z8CL_Frameii_200
_Z8CL_Frameii_30:
	mov eax, dvar_modifiedFlags
	test byte [eax], 0x2
	jz _Z8CL_Frameii_20
	mov dword [esp+0x4], 0x2
	mov [esp], ebx
	call _Z15Dvar_InfoStringii
	mov [esp+0x4], eax
	mov dword [esp], _cstring_userinfo_s
	call _Z2vaPKcz
	mov edi, eax
	mov edx, [clientConnections+0x12c]
	mov eax, edx
	sub eax, [clientConnections+0x130]
	add eax, 0xffffff80
	jg _Z8CL_Frameii_210
_Z8CL_Frameii_230:
	lea eax, [edx+0x1]
	mov [clientConnections+0x12c], eax
	mov dword [esp+0x8], 0x400
	and eax, 0x7f
	shl eax, 0xa
	add eax, clientConnections+0x134
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z32MSG_WriteReliableCommandToBufferPKcPci
	jmp _Z8CL_Frameii_20
_Z8CL_Frameii_90:
	mov [esp], ebx
	call _Z10CL_SendCmdi
	jmp _Z8CL_Frameii_220
_Z8CL_Frameii_80:
	mov dword [esp+0x4], 0x0
	mov [esp], eax
	call _Z12Dvar_SetBoolPK6dvar_sh
	jmp _Z8CL_Frameii_180
_Z8CL_Frameii_150:
	mov eax, [clientConnections+0xc]
	test eax, eax
	jnz _Z8CL_Frameii_50
	mov edx, [clientConnections+0x20]
	mov eax, [cl_connectionAttempts]
	cmp edx, [eax+0xc]
	jle _Z8CL_Frameii_50
	jmp _Z8CL_Frameii_140
_Z8CL_Frameii_210:
	mov dword [esp+0x4], _cstring_exe_err_client_c
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	mov edx, [clientConnections+0x12c]
	jmp _Z8CL_Frameii_230


;Initialized global or static variables of cl_main_mp:
SECTION .data
cl_shownet: dd 0x0, 0x0
customClassDvars: dd _cstring_customclass1, _cstring_customclass2, _cstring_customclass3, _cstring_customclass4, _cstring_customclass5, 0x0


;Initialized constant data of cl_main_mp:
SECTION .rdata


;Zero initialized global or static variables of cl_main_mp:
SECTION .bss
_ZZ21CL_GetServerIPAddressvE17szServerIPAddress: resb 0x80
_ZZ17CL_CheckForResendiE9msgBuffer: resb 0x800
_ZZ24CL_InitOnceForAllClientsvE19CL_ResetStats_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE37CL_SelectStringTableEntryInDvar_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE18UI_CloseMenu_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE37Com_WriteLocalizedSoundAliasFiles_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE23CL_OpenScriptMenu_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE20CL_CubemapShot_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE26CL_startSingleplayer_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE27CL_UpdateLevelHunkUsage_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE26CL_ReferencedIWDList_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE22CL_OpenedIWDList_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE19CL_ToggleMenu_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE15CL_ShowIP_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE15CL_Setenv_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE28CL_ServerStatus_f_VAR_SERVER: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE21CL_ServerStatus_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE20CL_Ping_f_VAR_SERVER: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE13CL_Ping_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE13CL_Rcon_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE22CL_GlobalServers_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE21CL_LocalServers_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE25CL_Reconnect_f_VAR_SERVER: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE18CL_Reconnect_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE23CL_Connect_f_VAR_SERVER: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE16CL_Connect_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE17CL_PlayLogo_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE33CL_PlayUnskippableCinematic_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE22CL_PlayCinematic_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE24CL_PlayDemo_f_VAR_SERVER_0: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE17CL_PlayDemo_f_VAR_0: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE24CL_PlayDemo_f_VAR_SERVER: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE17CL_PlayDemo_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE19CL_StopRecord_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE15CL_Record_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE26CL_Disconnect_f_VAR_SERVER: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE19CL_Disconnect_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE27CL_Snd_Restart_f_VAR_SERVER: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE20CL_Snd_Restart_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE27CL_Vid_Restart_f_VAR_SERVER: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE20CL_Vid_Restart_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE19CL_Clientinfo_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE22CL_Configstrings_f_VAR: resb 0x14
_ZZ24CL_InitOnceForAllClientsvE24CL_ForwardToServer_f_VAR: resb 0x14
_ZZ11CL_ShutdowniE9recursive: resb 0x18
_ZZ31CL_DispatchConnectionlessPacketi8netadr_tP5msg_tiE8printBuf: resb 0x820
clientUIActives: resb 0x10
g_waitingForServer: resb 0x1e
clients: resb 0x1b1bdc
cls: resb 0x2dc708
cl_noprint: resb 0x4
cl_waitingOnServerToLoadMap: resb 0x1
clientConnections: resb 0x615e0
nextdemo: resb 0x4
cl_activeAction: resb 0x4
cl_freezeDemo: resb 0x4
cl_serverLoadingMap: resb 0x1
cl_showServerCommands: resb 0x4
cl_showTimeDelta: resb 0x4
cl_freelook: resb 0x4
cl_maxpackets: resb 0x4
cl_mouseAccel: resb 0x4
cl_nodelta: resb 0x64
cl_packetdup: resb 0x4
cl_sensitivity: resb 0x4
cl_showMouseRate: resb 0x4
cl_showSend: resb 0x4
frame_msec: resb 0x18
m_filter: resb 0x4
m_forward: resb 0x4
m_pitch: resb 0x4
m_side: resb 0x4
m_yaw: resb 0x4
cl_allowDownload: resb 0x4
cl_avidemo: resb 0x4
cl_connectTimeout: resb 0x4
cl_connectionAttempts: resb 0x4
cl_forceavidemo: resb 0x4
cl_hudDrawsBehindUI: resb 0x4
cl_inGameVideo: resb 0x8
cl_ingame: resb 0x4
cl_maxppf: resb 0x4
cl_motdString: resb 0x4
cl_pinglist: resb 0x4140
cl_serverStatusResendTime: resb 0x4
cl_shownuments: resb 0x4
cl_timeout: resb 0x4
cl_voice: resb 0x4
cl_voiceCommunication: resb 0xa40
cl_wwwDownload: resb 0x4
customclass: resb 0x14
lastUpdateKeyAuthTime: resb 0x4
motd: resb 0x4
name: resb 0x4
old_com_frameTime: resb 0x4
onlinegame: resb 0x4


;All cstrings:
SECTION .rdata
_cstring_02x02x02x02x02x0:		db "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x",0
_cstring_s_load:		db "%s_load",0
_cstring_s_demoname_quit:		db "%s <demoname> [quit]",0ah,0
_cstring_dm_d:		db ".dm_%d",0
_cstring_demoss:		db "demos/%s",0
_cstring_timedemo:		db "timedemo",0
_cstring_null:		db 0
_cstring_listen_server_ca:		db "listen server cannot play a demo.",0ah,0
_cstring_demossdm_d:		db "demos/%s.dm_%d",0
_cstring_exe_err_not_foun:		db "EXE_ERR_NOT_FOUND",015h,"%s",0
_cstring_quit:		db "quit",0
_cstring_exe_serverdiscon:		db "EXE_SERVERDISCONNECTREASON",0
_cstring_exe_server_disco:		db "EXE_SERVER_DISCONNECTED",0
_cstring_v:		db "v",0
_cstring_vt:		db "vt",0
_cstring_challengerespons:		db "challengeResponse",0
_cstring_unwanted_challen:		db "Unwanted challenge response received.  Ignored.",0ah,0
_cstring_connectresponse:		db "connectResponse",0
_cstring_connectresponse_:		db "connectResponse packet while not connecting.  Ignored.",0ah,0
_cstring_challenge_d:		db "challenge: %d",0ah,0
_cstring_statresponse:		db "statResponse",0
_cstring_statresponse_pac:		db "statResponse packet while not syncing stats.  Ignored.",0ah,0
_cstring_dup_connect_rece:		db "Dup connect received.  Ignored.",0ah,0
_cstring_connectresponse_1:		db "connectResponse from a different address.  Ignored.",0ah,0
_cstring_s_should_have_be:		db "%s should have been %s",0ah,0
_cstring_inforesponse:		db "infoResponse",0
_cstring_dup_statresponse:		db "Dup statResponse received.  Ignored.",0ah,0
_cstring_statusresponse:		db "statusResponse",0
_cstring_disconnect:		db "disconnect",0
_cstring_echo:		db "echo",0
_cstring_s:		db "%s",0
_cstring_keyauthorize:		db "keyAuthorize",0
_cstring_print:		db "print",0
_cstring_error:		db "error",0
_cstring_getserversrespon:		db "getserversResponse",0
_cstring_needcdkey:		db "needcdkey",0
_cstring_exe_awaitingcdke:		db "EXE_AWAITINGCDKEYAUTH",0
_cstring_need_cd_key_mess:		db "need cd key message",0
_cstring_s1:		db "%s",0ah,0
_cstring_loadingnewmap:		db "loadingnewmap",0
_cstring_uploadstats:		db "uploadStats",0ah,0
_cstring_requeststats:		db "requeststats",0
_cstring_fastrestart:		db "fastrestart",0
_cstring_cl_nextdemo_s:		db "CL_NextDemo: %s",0ah,0
_cstring_demo_is_over:		db "Demo is over",0
_cstring_:		db 0ah,0
_cstring_i_frames_31f_sec:		db "%i frames, %3.1f seconds: %3.1f fps",0ah,0
_cstring_you_must_be_in_a:		db "You must be in a level to record.",0ah,0
_cstring_demo04i:		db "demo%04i",0
_cstring_record_demoname:		db "record <demoname>",0ah,0
_cstring_already_recordin:		db "Already recording.",0ah,0
_cstring_recording_to_s:		db "recording to %s.",0ah,0
_cstring_error_couldnt_op:		db "ERROR: couldn",27h,"t open.",0ah,0
_cstring_1:		db "=",0
_cstring_space:		db " ",0
_cstring_ss:		db "%s=%s",0ah,0
_cstring_s_undefined:		db "%s undefined",0ah,0
_cstring__cl_shutdown_:		db "----- CL_Shutdown -----",0ah,0
_cstring_recursive_shutdo:		db "recursive shutdown",0
_cstring_cmd:		db "cmd",0
_cstring_configstrings:		db "configstrings",0
_cstring_clientinfo:		db "clientinfo",0
_cstring_vid_restart:		db "vid_restart",0
_cstring_snd_restart:		db "snd_restart",0
_cstring_record:		db "record",0
_cstring_demo:		db "demo",0
_cstring_cinematic:		db "cinematic",0
_cstring_logo:		db "logo",0
_cstring_stoprecord:		db "stoprecord",0
_cstring_connect:		db "connect",0
_cstring_reconnect:		db "reconnect",0
_cstring_localservers:		db "localservers",0
_cstring_globalservers:		db "globalservers",0
_cstring_rcon:		db "rcon",0
_cstring_setenv:		db "setenv",0
_cstring_ping:		db "ping",0
_cstring_serverstatus:		db "serverstatus",0
_cstring_showip:		db "showip",0
_cstring_fs_openedlist:		db "fs_openedList",0
_cstring_fs_referencedlis:		db "fs_referencedList",0
_cstring_updatehunkusage:		db "updatehunkusage",0
_cstring_savetranslations:		db "SaveTranslations",0
_cstring_savenewtranslati:		db "SaveNewTranslations",0
_cstring_loadtranslations:		db "LoadTranslations",0
_cstring_startsingleplaye:		db "startSingleplayer",0
_cstring_buynow:		db "buyNow",0
_cstring_singleplaylink:		db "singlePlayLink",0
_cstring_setrecommended:		db "setRecommended",0
_cstring_cubemapshot:		db "cubemapShot",0
_cstring_openscriptmenu:		db "openScriptMenu",0
_cstring_closemenu:		db "closemenu",0
_cstring_2:		db "-----------------------",0ah,0
_cstring_exe_err_client_c:		db "EXE_ERR_CLIENT_CMD_OVERFLOW",0
_cstring_localhost:		db "localhost",0
_cstring_selectstringtabl:		db "selectStringTableEntryInDvar mp/didyouknow.csv 0 didyouknow",0
_cstring_usage_logo_image:		db "USAGE: logo <image name> <fadein seconds> <full duration seconds> <fadeout seconds>",0ah,0
_cstring_cl_playlogo_f:		db "CL_PlayLogo_f",0ah,0
_cstring_s11:		db "%s1",0
_cstring_s2:		db "%s2",0
_cstring_s_runt_packet:		db "%s: Runt packet",0ah,0
_cstring_s_got_msg_sequen:		db "%s: Got msg sequence %i but connstate (%i) is < CA_CONNECTED",0ah,0
_cstring_ssequenced_packe:		db "%s:sequenced packet without connection",0ah,0
_cstring_ignoring_illegib:		db "ignoring illegible message",0
_cstring_cant_reconnect_t:		db "Can",27h,"t reconnect to localhost.",0ah,0
_cstring_connect_s_reconn:		db "connect %s reconnect",0ah,0
_cstring_update_sound:		db "update sound",0
_cstring__client_informat:		db "--------- Client Information ---------",0ah,0
_cstring_state_i:		db "state: %i",0ah,0
_cstring_server_s:		db "Server: %s",0ah,0
_cstring_user_info_settin:		db "User info settings:",0ah,0
_cstring_3:		db "--------------------------------------",0ah,0
_cstring_white:		db "white",0
_cstring_console:		db "console",0
_cstring_fontsconsolefont:		db "fonts/consoleFont",0
_cstring_trying_to_send_p:		db "Trying to send PB Packet but connection state is ",27h,"disconnected",27h,0ah,0
_cstring_not_recording_a_:		db "Not recording a demo.",0ah,0
_cstring_stopped_demo:		db "Stopped demo.",0ah,0
_cstring_trying_to_get_se:		db "Trying to get server address but connection state is ",27h,"disconnected",27h,0ah,0
_cstring_bot:		db "bot",0
_cstring_trying_to_get_se1:		db "Trying to get serverinfo but connection state is ",27h,"disconnected",27h,0ah,0
_cstring__cl_begindownloa:		db "***** CL_BeginDownload *****",0ah,"Localname: %s",0ah,"Remotename: %s",0ah,"****************************",0ah,0
_cstring_stmp:		db "%s.tmp",0
_cstring_download_s:		db "download %s",0
_cstring_code_post_gfx_mp:		db "code_post_gfx_mp",0
_cstring_common_mp:		db "common_mp",0
_cstring_localized_code_p:		db "localized_code_post_gfx_mp",0
_cstring_localized_common:		db "localized_common_mp",0
_cstring_mod:		db "mod",0
_cstring_current_game_is_:		db "Current game is an online game with stats, custom classes, unlocks",0
_cstring_onlinegame:		db "onlinegame",0
_cstring_nizml:		db "ni]Zm^l",0
_cstring_s_is_different_f:		db 015h,"%s is different from the server",0ah,0
_cstring_need_files_s:		db "Need files: %s",0ah,0
_cstring_you_are_missing_:		db 015h,"You are missing some files referenced by the server:",0ah,"%sGo to the Multiplayer options menu to allow downloads",0ah,0ah,0
_cstring_listen_server_ca1:		db "Listen server cannot sound restart.",0ah,0
_cstring_vdr:		db "vdr",0
_cstring_the_current_lang:		db "The current language locale",0
_cstring_loc_language:		db "loc_language",0
_cstring_turn_on_string_t:		db "Turn on string translation",0
_cstring_loc_translate:		db "loc_translate",0
_cstring_ignore_localized:		db "Ignore localized assets",0
_cstring_fs_ignorelocaliz:		db "fs_ignoreLocalized",0
_cstring__initializing_re:		db "----- Initializing Renderer ----",0ah,0
_cstring_ui_mp:		db "ui_mp",0
_cstring_listen_server_ca2:		db "Listen server cannot video restart.",0ah,0
_cstring_mapname:		db "mapname",0
_cstring_va_:		db "Va ",0
_cstring_cl_checkforresen:		db 015h,"CL_CheckForResend: bad connstate",0
_cstring_i:		db "%i",0
_cstring_protocol:		db "protocol",0
_cstring_challenge:		db "challenge",0
_cstring_qport:		db "qport",0
_cstring_stats:		db "stats",0
_cstring_getchallenge_0_s:		db "getchallenge 0 ",22h,"%s",22h,0
_cstring_scanning_for_ser:		db "Scanning for servers on the local network...",0ah,0
_cstring_getinfo_xxx:		db "getinfo xxx",0
_cstring_0:		db "0",0
_cstring_cl_punkbuster:		db "cl_punkbuster",0
_cstring_not_connected_to:		db "Not connected to a server.",0ah,0
_cstring_4i_s:		db "%4i: %s",0ah,0
_cstring_opened_iwd_names:		db "Opened IWD Names: %s",0ah,0
_cstring_demo_file_was_co:		db "Demo file was corrupt.",0ah,0
_cstring_cl_readdemomessa:		db 015h,"CL_ReadDemoMessage: demoMsglen > MAX_MSGLEN",0
_cstring_demo_file_was_tr:		db "Demo file was truncated.",0ah,0
_cstring_usage_openscript:		db "USAGE: openscriptmenu <parent menu name> <script menu response>",0ah,0
_cstring_example_openscri:		db "EXAMPLE: openscriptmenu ingame changeweapon",0ah,0
_cstring_sv_serverid:		db "sv_serverId",0
_cstring_cmd_mr_i_i_s:		db "cmd mr %i %i %s",0ah,0
_cstring_rate:		db "rate",0
_cstring_setting_state_to:		db "Setting state to CA_LOADING in CL_DownloadsComplete",0ah,0
_cstring_g_gametype:		db "g_gametype",0
_cstring_donedl:		db "donedl",0
_cstring_ss1:		db "%s/%s",0
_cstring_iiiii:		db "%i.%i.%i.%i:%i",0
_cstring_referenced_iwd_n:		db "Referenced IWD Names: %s",0ah,0
_cstring_iw3spexe:		db "iw3sp.exe",0
_cstring_pb_:		db "PB_",0
_cstring_recv_ss:		db "recv: %s->",27h,"%s",27h,0ah,0
_cstring_fs_restrict:		db "fs_restrict",0
_cstring_allow_anonymous_:		db "Allow anonymous log in",0
_cstring_cl_anonymous:		db "cl_anonymous",0
_cstring_getkeyauthorize_:		db "getKeyAuthorize %i %s PB %s",0
_cstring_cod4masteractivi:		db "cod4master.activision.com",0
_cstring_resolving_s:		db "Resolving %s",0ah,0
_cstring_s_resolved_to_ii:		db "%s resolved to %i.%i.%i.%i:%i",0ah,0
_cstring_exe_err_invalid_:		db "EXE_ERR_INVALID_CD_KEY",0
_cstring_couldnt_resolve_:		db "Couldn",27h,"t resolve address",0ah,0
_cstring_server_changing_:		db "Server changing map %s, gametype %s",0ah,0
_cstring_platform_disconn:		db "PLATFORM_DISCONNECTED_FROM_SERVER",0
_cstring_print_nothing_to:		db "Print nothing to the console",0
_cstring_cl_noprint:		db "cl_noprint",0
_cstring_custom_class_nam:		db "Custom class name",0
_cstring_should_the_hud_d:		db "Should the HUD draw when the UI is up",3fh,0
_cstring_cl_huddrawsbehin:		db "cl_hudDrawsBehindUI",0
_cstring_use_voice_commun:		db "Use voice communications",0
_cstring_cl_voice:		db "cl_voice",0
_cstring_seconds_with_no_:		db "Seconds with no received packets until a timeout occurs",0
_cstring_cl_timeout:		db "cl_timeout",0
_cstring_timeout_time_in_:		db "Timeout time in seconds while connecting to a server",0
_cstring_cl_connecttimeou:		db "cl_connectTimeout",0
_cstring_maximum_number_o:		db "Maximum number of connection attempts before aborting",0
_cstring_cl_connectionatt:		db "cl_connectionAttempts",0
_cstring_display_network_:		db "Display network debugging information",0
_cstring_cl_shownet:		db "cl_shownet",0
_cstring_show_the_number_:		db "Show the number of entities",0
_cstring_cl_shownuments:		db "cl_shownuments",0
_cstring_enable_debugging:		db "Enable debugging information for server commands",0
_cstring_cl_showservercom:		db "cl_showServerCommands",0
_cstring_enable_debugging1:		db "Enable debugging information for sent commands",0
_cstring_cl_showsend:		db "cl_showSend",0
_cstring_enable_debugging2:		db "Enable debugging information for time delta",0
_cstring_cl_showtimedelta:		db "cl_showTimeDelta",0
_cstring_cl_freezedemo_is:		db "cl_freezeDemo is used to lock a demo in place for single frame advances",0
_cstring_cl_freezedemo:		db "cl_freezeDemo",0
_cstring_action_to_execut:		db "Action to execute in first frame",0
_cstring_activeaction:		db "activeAction",0
_cstring_avi_demo_frames_:		db "AVI demo frames per second",0
_cstring_cl_avidemo:		db "cl_avidemo",0
_cstring_record_avi_demo_:		db "Record AVI demo even if client is not active",0
_cstring_cl_forceavidemo:		db "cl_forceavidemo",0
_cstring_max_yaw_speed_in:		db "Max yaw speed in degrees for game pad and keyboard",0
_cstring_cl_yawspeed:		db "cl_yawspeed",0
_cstring_max_pitch_speed_:		db "Max pitch speed in degrees for game pad",0
_cstring_cl_pitchspeed:		db "cl_pitchspeed",0
_cstring_multiplier_for_m:		db "Multiplier for max angle speed for game pad and keyboard",0
_cstring_cl_anglespeedkey:		db "cl_anglespeedkey",0
_cstring_maximum_number_o1:		db "Maximum number of packets sent per frame",0
_cstring_cl_maxpackets:		db "cl_maxpackets",0
_cstring_enable_packet_du:		db "Enable packet duplication",0
_cstring_cl_packetdup:		db "cl_packetdup",0
_cstring_mouse_sensitivit:		db "Mouse sensitivity",0
_cstring_sensitivity:		db "sensitivity",0
_cstring_mouse_accelerati:		db "Mouse acceleration",0
_cstring_cl_mouseaccel:		db "cl_mouseAccel",0
_cstring_enable_looking_w:		db "Enable looking with mouse",0
_cstring_cl_freelook:		db "cl_freelook",0
_cstring_print_mouse_rate:		db "Print mouse rate debugging information to the console",0
_cstring_cl_showmouserate:		db "cl_showmouserate",0
_cstring_allow_client_dow:		db "Allow client downloads from the server",0
_cstring_cl_allowdownload:		db "cl_allowDownload",0
_cstring_download_files_v:		db "Download files via HTTP",0
_cstring_cl_wwwdownload:		db "cl_wwwDownload",0
_cstring_client_is_talkin:		db "Client is talking",0
_cstring_cl_talking:		db "cl_talking",0
_cstring_allow_in_game_ci:		db "Allow in game cinematics",0
_cstring_r_ingamevideo:		db "r_inGameVideo",0
_cstring_time_in_millisec:		db "Time in milliseconds to resend a server status message",0
_cstring_cl_serverstatusr:		db "cl_serverStatusResendTime",0
_cstring_maximum_servers_:		db "Maximum servers to ping per frame in server browser",0
_cstring_cl_maxppf:		db "cl_maxppf",0
_cstring_bypass_ui_mouse_:		db "Bypass UI mouse input and send directly to the game",0
_cstring_cl_bypassmousein:		db "cl_bypassMouseInput",0
_cstring_default_pitch:		db "Default pitch",0
_cstring_m_pitch:		db "m_pitch",0
_cstring_default_yaw:		db "Default yaw",0
_cstring_m_yaw:		db "m_yaw",0
_cstring_forward_speed_in:		db "Forward speed in units per second",0
_cstring_m_forward:		db "m_forward",0
_cstring_sideways_motion_:		db "Sideways motion in units per second",0
_cstring_m_side:		db "m_side",0
_cstring_allow_mouse_move:		db "Allow mouse movement smoothing",0
_cstring_m_filter:		db "m_filter",0
_cstring_message_of_the_d:		db "Message of the day",0
_cstring_cl_motdstring:		db "cl_motdString",0
_cstring_true_if_the_game:		db "True if the game is active",0
_cstring_cl_ingame:		db "cl_ingame",0
_cstring_maximum_ping_for:		db "Maximum ping for the client",0
_cstring_cl_maxping:		db "cl_maxPing",0
_cstring_player_name:		db "Player name",0
_cstring_name:		db "name",0
_cstring_players_preferre:		db "Player",27h,"s preferred baud rate",0
_cstring_snapshot_rate:		db "Snapshot rate",0
_cstring_snaps:		db "snaps",0
_cstring_determines_wheth:		db "Determines whether PunkBuster is enabled",0
_cstring_password:		db "password",0
_cstring_the_next_demo_to:		db "The next demo to play",0
_cstring_nextdemo:		db "nextdemo",0
_cstring_enable_the_hud_d:		db "Enable the HUD display",0
_cstring_hud_enable:		db "hud_enable",0
_cstring_show_blood:		db "Show blood",0
_cstring_cg_blood:		db "cg_blood",0
_cstring_motd:		db "motd",0
_cstring_min_orbit_altitu:		db "Min orbit altitude for driver",27h,"s view",0
_cstring_vehdriverviewhei:		db "vehDriverViewHeightMin",0
_cstring_max_orbit_altitu:		db "Max orbit altitude for driver",27h,"s view",0
_cstring_vehdriverviewhei1:		db "vehDriverViewHeightMax",0
_cstring_dm_1:		db "dm_1",0
_cstring_demos:		db "demos",0
_cstring_unskippablecinem:		db "unskippablecinematic",0
_cstring_roq:		db "roq",0
_cstring_video:		db "video",0
_cstring_togglemenu:		db "toggleMenu",0
_cstring_localizesoundali:		db "localizeSoundAliasFiles",0
_cstring_selectstringtabl1:		db "selectStringTableEntryInDvar",0
_cstring_resetstats:		db "resetStats",0
_cstring_screenshot_silen:		db "screenshot silent",0ah,0
_cstring_unknown_command_:		db "Unknown command ",22h,"%s",22h,0ah,0
_cstring__client_initiali:		db "----- Client Initialization -----",0ah,0
_cstring__client_initiali1:		db "----- Client Initialization Complete -----",0ah,0
_cstring_exe_err_server_t:		db "EXE_ERR_SERVER_TIMEOUT",0
_cstring_userinfo_s:		db "userinfo ",22h,"%s",22h,0
_cstring_customclass1:		db "customclass1",0
_cstring_customclass2:		db "customclass2",0
_cstring_customclass3:		db "customclass3",0
_cstring_customclass4:		db "customclass4",0
_cstring_customclass5:		db "customclass5",0



;All constant floats and doubles:
SECTION .rdata
_double_1000_00000000:		dq 0x408f400000000000	; 1000
_float_0_00000000:		dd 0x0	; 0
_float_1_00000000:		dd 0x3f800000	; 1
_float_3_00000000:		dd 0x40400000	; 3
_float_1000_00000000:		dd 0x447a0000	; 1000
_float_0_50000000:		dd 0x3f000000	; 0.5

