Function at 0x100d4d20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
mov eax, dword [0x1015692c]
push esi
push edi
mov edi, ecx
mov ecx, dword [eax]
mov dword [esp + 0xc], edi
test ecx, ecx
je 0x100d4d5d
mov eax, dword [ecx]
xor edx, edx
push dword [0x1015c940]
push dword [eax + 8]
lea eax, [esp + 0x3c]
push eax
call fcn.1009e0f0
mov edx, dword [eax]
mov dword [0x10152d48], edx
jmp 0x100d4d63
mov edx, dword [0x10152d48]
mov eax, dword [ebp + 0xc]
cmp eax, 2
jne 0x100d4e93
mov ecx, dword [edi + 0x28]
push edx
push dword [edi + 0x1c]
xor edx, edx
mov eax, dword [ecx]
push dword [eax + 0x10]
lea eax, [esp + 0x40]
push eax
call fcn.1009e0f0
mov edx, dword [0x1015c940]
mov esi, dword [ebp + 8]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
test eax, eax
je 0x100d4e13
mov ecx, dword [esi + 0x88]
xor edx, edx
push dword [esi + 0x84]
mov eax, dword [ecx]
push dword [eax + 0x5c]
lea eax, [esp + 0x3c]
push eax
call fcn.1009e0f0
mov edx, dword [0x1015c940]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100d4e13
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [edi + 0x5c]
push eax
push esi
push ecx
lea edx, [edi + 0x1c]
mov ecx, edi
call fcn.100d0e10
mov eax, dword [edi]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
push ecx
lea eax, [edi + 0x1c]
mov ecx, edi
push eax
call fcn.100d12a0
mov edx, dword [0x1015c940]
cmp byte [0x1015697f], 0
je 0x100d51c3
mov eax, dword [0x1015692c]
mov ecx, dword [eax]
test ecx, ecx
je 0x100d51c3
mov eax, dword [ecx + 8]
add ecx, 8
push edx
xor edx, edx
push dword [eax + 0x24]
lea eax, [esp + 0x3c]
push eax
call fcn.1009e0f0
test al, al
jne 0x100d51c3
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x34]
push str.CCSGO_HudWeaponSelection
call eax
mov esi, eax
sub esi, 0xa0
je 0x100d4e84
xor ecx, ecx
cmp dword [esi + 0x80], ecx
jle 0x100d4e84
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
push ecx
mov ecx, esi
call eax
lea ecx, [eax + 1]
cmp ecx, dword [esi + 0x80]
jl 0x100d4e71
mov byte [0x1015697f], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
cmp eax, 5
jne 0x100d51c3
mov esi, dword [ebp + 8]
xor edx, edx
mov ecx, dword [esi + 0x88]
push dword [esi + 0x84]
mov eax, dword [ecx]
push dword [eax + 0x5c]
lea eax, [esp + 0x3c]
push eax
call fcn.1009e0f0
mov edx, dword [0x1015c940]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100d51c3
mov eax, dword [0x1015692c]
mov ecx, dword [eax]
test ecx, ecx
je 0x100d4f04
mov dword [esp + 0x24], ecx
lea eax, [edi + 0x5c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edx
push ecx
lea ecx, [esp + 0x1c]
push ecx
push eax
push esi
push ecx
lea edx, [edi + 0x1c]
mov ecx, edi
call fcn.100d0a50
mov eax, dword [0x1015692c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x100d4fa9
mov eax, dword [esi + 0x78]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
test eax, eax
je 0x100d4fa9
push 0x330ca589
lea ecx, [esp + 0xc]
mov byte [esp + 0xc], 0x36
push ecx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [edi + 0x1a8]
call fcn.100c2ff0
mov eax, dword [eax + 4]
test eax, eax
jne 0x100d4f4f
mov eax, dword [edi + 0x1ac]
cmp eax, dword [edi + 0x1ac]
je 0x100d4fa9
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
cmp byte [eax], 4
jne 0x100d4fa9
mov eax, dword [eax + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x94]
mov edi, dword [eax + ecx*4]
mov ecx, 0xcccdb626
call fcn.100e7b40
mov ecx, dword [esp + 0x18]
mov esi, eax
push dword [0x1015c940]
add esi, dword [esp + 0x14]
lea eax, [esp + 0x38]
add ecx, 8
mov edx, dword [ecx]
push dword [edx + 0x28]
xor edx, edx
push eax
call fcn.1009e0f0
mov dword [esi + eax*4], edi
mov edi, dword [esp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [edi]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0xc]
push esi
mov dword [esp + 0x28], eax
lea eax, [edi + 0x1c]
push ecx
push eax
mov ecx, edi
call fcn.100d14e0
mov eax, dword [0x1015692c]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
test eax, eax
je 0x100d506c
mov eax, dword [esi + 0x78]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x100d506c
push 0x320ca3f6
lea eax, [esp + 0xc]
mov byte [esp + 0xc], 0x37
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [edi + 0x1a8]
call fcn.100c2ff0
mov eax, dword [eax + 4]
test eax, eax
jne 0x100d5017
mov eax, dword [edi + 0x1ac]
cmp eax, dword [edi + 0x1ac]
je 0x100d506c
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 8]
mov al, byte [ecx]
cmp al, 6
je 0x100d5033
cmp al, 0xe
je 0x100d5033
cmp al, 0x10
jne 0x100d506c
movsx edi, word [ecx + 2]
mov ecx, 0xf33ddc01
call fcn.100e7b40
mov ecx, dword [esp + 0x10]
mov esi, eax
push dword [0x1015c940]
add esi, dword [esp + 0x1c]
lea eax, [esp + 0x38]
add ecx, 8
mov edx, dword [ecx]
push dword [edx + 0x28]
xor edx, edx
push eax
call fcn.1009e0f0
mov dword [esi + eax*4], edi
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x28]
call fcn.100c39a0
mov esi, dword [0x1015ce20]
mov ecx, dword [0x1015ce24]
cmp esi, ecx
je 0x100d51ad
add esi, 0x18
nop dword [eax]
mov edx, dword [esp + 0x28]
sub edx, dword [esi - 0x18]
mov eax, dword [esp + 0x2c]
sbb eax, dword [esi - 0x14]
cmp edx, 0x1dcd6500
jne 0x100d50aa
test eax, eax
je 0x100d50c0
test eax, eax
jg 0x100d50c0
jl 0x100d50b8
cmp edx, 0x1dcd6500
jae 0x100d50c0
add esi, 0x18
jmp 0x100d51a2
cmp byte [esi - 6], 0
jne 0x100d5183
mov edx, dword [ebp + 8]
mov eax, dword [esi - 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esi - 0xc]
mov ecx, dword [edx + 0x88]
push dword [edx + 0x84]
mov dword [esp + 0x1c], eax
xor edx, edx
mov eax, dword [ecx]
push dword [eax + 0x5c]
lea eax, [esp + 0x48]
push eax
call fcn.1009e0f0
mov ecx, dword [0x1015c940]
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], ecx
test eax, eax
je 0x100d517d
push dword [esp + 0x18]
mov eax, dword [ebp + 8]
push dword [esp + 0x14]
push dword [eax + 0x90]
push dword [eax + 0x94]
lea eax, [esp + 0x5c]
push eax
call fcn.1009e0c0
add esp, 0x14
test eax, eax
je 0x100d517d
mov ecx, dword [0x1015c940]
mov edx, dword [edi + 0x328]
push ecx
push edx
lea ecx, [esp + 0x60]
xor edx, edx
push ecx
mov ecx, eax
call fcn.1009e0f0
test eax, eax
je 0x100d517d
mov ecx, dword [esp + 0xc]
xor edx, edx
push 4
push eax
sub esp, 0x10
movups xmm0, xmmword [ecx + 8]
mov eax, esp
push dword [esp + 0x38]
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push dword [eax + 4]
lea eax, [esp + 0x84]
push eax
call fcn.1009e0f0
mov ecx, dword [0x1015ce24]
sub ecx, esi
lea eax, [esi - 0x18]
push ecx
push esi
push eax
call fcn.100fe460
mov ecx, dword [0x1015ce24]
add esp, 0xc
sub ecx, 0x18
mov dword [0x1015ce24], ecx
lea eax, [esi - 0x18]
cmp eax, ecx
jne 0x100d5090
push 0
push 0x12c
lea eax, [edi + 0x2e8]
push eax
lea ecx, [edi + 0x5c]
call fcn.100d93d0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8