Function at 0x10005240
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002c595
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10085040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.mss32.dll
call esi
test eax, eax
jne 0x10005290
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call edi
push str.mss32.dll
call esi
test eax, eax
je 0x10005281
mov ecx, 0x10085f98
call fcn.1002a3c0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.client.dll
call edi
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
test eax, eax
je 0x100052e1
push str.CreateInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100052d1
push 0
push str.VClient017
call eax
add esp, 8
test eax, eax
jne 0x100052e3
push 0x10
push str.Failed_to_find_interface:
push str.VClient017
push 0
call esi
xor eax, eax
push str.client.dll
mov dword [0x10085fe4], eax
call edi
test eax, eax
je 0x10005323
push str.CreateInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10005313
push 0
push str.VClientEntityList003
call eax
add esp, 8
test eax, eax
jne 0x10005325
push 0x10
push str.Failed_to_find_interface:
push str.VClientEntityList003
push 0
call esi
xor eax, eax
push str.client.dll
mov dword [0x10085fe8], eax
call edi
test eax, eax
je 0x10005365
push str.CreateInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10005355
push 0
push str.GameMovement001
call eax
add esp, 8
test eax, eax
jne 0x10005367
push 0x10
push str.Failed_to_find_interface:
push str.GameMovement001
push 0
call esi
xor eax, eax
push str.client.dll
mov dword [0x10085ff8], eax
call edi
test eax, eax
je 0x100053a7
push str.CreateInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10005397
push 0
push str.VClientPrediction001
call eax
add esp, 8
test eax, eax
jne 0x100053a9
push 0x10
push str.Failed_to_find_interface:
push str.VClientPrediction001
push 0
call esi
xor eax, eax
push str.engine.dll
mov dword [0x1008600c], eax
call edi
test eax, eax
je 0x100053e9
push str.CreateInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100053d9
push 0
push str.VEngineClient014
call eax
add esp, 8
test eax, eax
jne 0x100053eb
push 0x10
push str.Failed_to_find_interface:
push str.VEngineClient014
push 0
call esi
xor eax, eax
push str.engine.dll
mov dword [0x10085fec], eax
call edi
test eax, eax
je 0x1000542b
push str.CreateInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000541b
push 0
push str.VEngineVGui001
call eax
add esp, 8
test eax, eax
jne 0x1000542d
push 0x10
push str.Failed_to_find_interface:
push str.VEngineVGui001
push 0
call esi
xor eax, eax
push str.inputsystem.dll
mov dword [0x10085ff4], eax
call edi
test eax, eax
je 0x1000546d
push str.CreateInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000545d
push 0
push str.InputSystemVersion001
call eax
add esp, 8
test eax, eax
jne 0x1000546f
push 0x10
push str.Failed_to_find_interface:
push str.InputSystemVersion001
push 0
call esi
xor eax, eax
push str.engine.dll
mov dword [0x10086000], eax
call edi
test eax, eax
je 0x100054af
push str.CreateInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000549f
push 0
push str.EngineTraceClient003
call eax
add esp, 8
test eax, eax
jne 0x100054af
push 0x10
push str.Failed_to_find_interface:
push str.EngineTraceClient003
push 0
call esi
push str.engine.dll
call edi
test eax, eax
je 0x100054ea
push str.CreateInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100054da
push 0
push str.VEngineRenderView014
call eax
add esp, 8
test eax, eax
jne 0x100054ec
push 0x10
push str.Failed_to_find_interface:
push str.VEngineRenderView014
push 0
call esi
xor eax, eax
push str.engine.dll
mov dword [0x10085fe0], eax
call edi
test eax, eax
je 0x1000552c
push str.CreateInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000551c
push 0
push str.VEngineModel016
call eax
add esp, 8
test eax, eax
jne 0x1000552c
push 0x10
push str.Failed_to_find_interface:
push str.VEngineModel016
push 0
call esi
push str.engine.dll
call edi
test eax, eax
je 0x10005567
push str.CreateInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10005557
push 0
push str.GAMEEVENTSMANAGER002
call eax
add esp, 8
test eax, eax
jne 0x10005567
push 0x10
push str.Failed_to_find_interface:
push str.GAMEEVENTSMANAGER002
push 0
call esi
push str.studiorender.dll
call edi
test eax, eax
je 0x100055a2
push str.CreateInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10005592
push 0
push str.VStudioRender025
call eax
add esp, 8
test eax, eax
jne 0x100055a2
push 0x10
push str.Failed_to_find_interface:
push str.VStudioRender025
push 0
call esi
push str.vguimatsurface.dll
call edi
test eax, eax
je 0x100055dd
push str.CreateInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100055cd
push 0
push str.VGUI_Surface030
call eax
add esp, 8
test eax, eax
jne 0x100055df
push 0x10
push str.Failed_to_find_interface:
push str.VGUI_Surface030
push 0
call esi
xor eax, eax
push 0x1007ca34
mov dword [0x10086004], eax
call edi
test eax, eax
je 0x1000561f
push str.CreateInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000560f
push 0
push str.VEngineCvar004
call eax
add esp, 8
test eax, eax
jne 0x10005621
push 0x10
push str.Failed_to_find_interface:
push str.VEngineCvar004
push 0
call esi
xor eax, eax
mov dword [0x10086008], eax
mov eax, dword [0x10085fb8]
mov eax, dword [eax + 8]
mov dword [0x10085ffc], eax
test eax, eax
jne 0x10005646
push 0x10
push str.FATAL_ERROR
push str.I::GlobalVars__nullptr
push eax
call esi
mov eax, dword [0x10085fb4]
mov eax, dword [eax + 1]
mov dword [0x10085fdc], eax
test eax, eax
jne 0x10005666
push 0x10
push str.FATAL_ERROR
push str.I::ClientState__nullptr
push eax
call esi
mov eax, dword [0x10085fac]
mov eax, dword [eax + 2]
mov dword [0x10085ff0], eax
test eax, eax
jne 0x10005686
push 0x10
push str.FATAL_ERROR
push str.I::PredictionPlayer__nullptr
push eax
call esi
call fcn.10027140
mov ecx, dword [0x10085fec]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100056ae
mov ecx, dword [0x10085fec]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov dword [0x10085fc4], eax
call fcn.10026f10
push 0
push str.Valve001
call dword [sym.imp.USER32.dll_FindWindowA]
push 0x10026ea0
push 0xfffffffffffffffc
push eax
mov dword [0x10086014], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
lea ecx, [ebp - 0x5c]
mov dword [0x10086010], eax
call fcn.10004cb0
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.1000a830
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov eax, ecx
mov edi, dword [ebp - 0x1c]
sub eax, edi
push 0x15
push str.Arsenaldefault.json
cmp eax, 0x15
jb 0x10005733
cmp ecx, 0xf
lea esi, [ebp - 0x2c]
lea eax, [edi + 0x15]
cmova esi, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
lea eax, [esi + edi]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + edi + 0x15], 0
lea eax, [ebp - 0x2c]
jmp 0x10005740
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
push 0x15
call fcn.1000da40
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
vmovdqu xmm0, xmmword [eax]
vmovdqu xmmword [ebp - 0x44], xmm0
vmovq xmm0, qword [eax + 0x10]
vmovq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0x44]
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 0xf
cmova ecx, dword [ebp - 0x44]
call fcn.10004ea0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x100057c7
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100057bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005852
push ecx
push edx
call fcn.1002b1f9
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x1000580d
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005803
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005852
push ecx
push edx
call fcn.1002b1f9
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 7
jbe 0x10005862
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005858
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005858
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1002b1f9
add esp, 8
push 0x16
vpxor xmm0, xmm0, xmm0
push str.Config_default_loaded_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
vmovdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
call fcn.1000b7b0
push 0xffffffffffffffff
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 3
vmovss xmm3, dword [0x1007f4e8]
push eax
call fcn.10025710
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x100058df
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100058d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100058d5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1002b1f9
add esp, 8
mov ecx, dword [0x10086004]
push str.botowned.wav
mov eax, dword [ecx]
call dword [eax + 0x138]
mov eax, dword [0x10086008]
lea edx, [ebp - 0x14]
push str._Arsenal__Loaded__n
push edx
push eax
mov ecx, dword [eax]
mov dword [ebp - 0x14], 0xff0f960f
call dword [ecx + 0x5c]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002ae9c
mov esp, ebp
pop ebp
ret