Function at 0x100bd450
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f01d4
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x3470
call fcn.100e4d20
mov eax, dword [0x10114008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0x14]
mov dword [ebp - 0x346c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x3470], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x3478], eax
mov dword [ebp - 0x3474], edx
mov dword [ebp - 4], 0
mov ecx, dword [0x10118090]
push dword [edx + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, dword [0x10118020]
mov esi, eax
mov dword [ebp - 0x3480], esi
test edi, edi
je 0x100bdb82
mov ecx, dword fs:[0x2c]
mov edx, dword [0x10117f54]
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x10117ff0]
mov dword [ebp - 0x347c], edx
cmp ecx, dword [edx + 4]
jle 0x100bd557
push 0x10117ff0
call fcn.100e3eef
mov ecx, dword [0x10117ff0]
add esp, 4
cmp ecx, 0xffffffff
jne 0x100bd551
push str.m_lifeState
push str.CBasePlayer
mov byte [ebp - 4], 1
call fcn.100e2fc0
push 0x10117ff0
mov dword [0x10117fb0], eax
mov byte [ebp - 4], 0
call fcn.100e3ea5
mov ecx, dword [0x10117ff0]
add esp, 4
mov edx, dword [ebp - 0x347c]
mov eax, dword [0x10117fb0]
cmp byte [eax + edi], 0
jne 0x100bdb82
test esi, esi
je 0x100bdb82
cmp ecx, dword [edx + 4]
jle 0x100bd5b5
push 0x10117ff0
call fcn.100e3eef
add esp, 4
cmp dword [0x10117ff0], 0xffffffff
jne 0x100bd5b5
push str.m_lifeState
push str.CBasePlayer
mov byte [ebp - 4], 2
call fcn.100e2fc0
push 0x10117ff0
mov dword [0x10117fb0], eax
mov byte [ebp - 4], 0
call fcn.100e3ea5
add esp, 4
mov eax, dword [0x10117fb0]
cmp byte [eax + esi], 0
jne 0x100bdb82
cmp esi, dword [0x10118020]
je 0x100bdb82
lea edi, [esi + 8]
mov dword [ebp - 0x34], edi
test edi, edi
je 0x100bdb82
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100bdb82
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0xf7
jne 0x100bdb82
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x20]
call eax
test al, al
jne 0x100bdb82
mov eax, dword [0x1011984c]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x48], 0
je 0x100bdb82
cmp byte [eax + 0x49], 0
jne 0x100bd638
cmp byte [eax + 0x50], 0
je 0x100bdb82
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [0x1011985c]
mov eax, dword [eax + 0x24]
call eax
lea eax, [eax + eax*4]
cmp dword [esi + eax*4 + 0x30], 0
je 0x100bdb82
mov eax, dword [0x10119878]
cmp byte [eax], 0
je 0x100bd823
mov eax, dword [0x1011984c]
mov ecx, dword [eax + 0x10]
cmp byte [ecx + 0x50], 0
je 0x100bd823
mov eax, dword [eax + 0x20]
mov eax, dword [eax]
cmp byte [eax], 0
je 0x100bd823
mov eax, dword [0x1011981c]
mov eax, dword [eax + 0x9c]
cmp byte [eax], 0
jne 0x100bd823
cmp byte [ecx + 0x51], 0
mov ecx, edi
mov eax, dword [edi]
je 0x100bd717
mov eax, dword [eax + 0x24]
call eax
push eax
lea eax, [ebp - 0x1a50]
push eax
call fcn.10046560
cmp dword [ebp - 0x208], 0
mov esi, dword [ebp - 0x346c]
je 0x100bd829
cmp byte [ebp - 0x204], 0
je 0x100bd829
mov ecx, dword [ebx + 0x3c]
lea eax, [ebp - 0x1a08]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3470]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esi
test ecx, ecx
jne 0x100bd6f5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
push dword [ebp - 0x3474]
lea edx, [ebp - 0x2c]
push dword [ebp - 0x3478]
push edx
lea edx, [ebp - 0x30]
push edx
call dword [eax + 8]
jmp 0x100bd829
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov eax, dword [eax + 0x24]
call eax
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10046c10
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100bd802
xor esi, esi
test eax, eax
je 0x100bd802
nop
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
add ecx, esi
dec eax
and ecx, eax
mov eax, dword [ebp - 0x24]
mov edi, dword [eax + ecx*4]
test esi, esi
je 0x100bd7f5
vmovss xmm0, dword [edi + 0x24]
vmovss xmm3, dword [edi + 0x28]
vmovss xmm2, dword [edi + 0x2c]
vmulss xmm1, xmm0, xmm0
vmulss xmm0, xmm3, xmm3
vaddss xmm1, xmm1, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
call fcn.10021260
vmovss xmm1, dword [0x10102c90]
vcomiss xmm1, xmm0
ja 0x100bd7f5
lea eax, [edi + 0x48]
test eax, eax
je 0x100bd7f5
cmp dword [edi + 0x1848], 0
je 0x100bd7f5
cmp byte [edi + 0x184c], 0
je 0x100bd7f5
mov ecx, dword [ebx + 0x3c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3470]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x346c]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x100bd6ef
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
push dword [ebp - 0x3474]
lea edx, [ebp - 0x2c]
push dword [ebp - 0x3478]
push edx
lea edx, [ebp - 0x38]
push edx
call dword [eax + 8]
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x100bd750
mov edi, dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100281f0
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x28], 0
call fcn.100e3d5c
add esp, 8
mov esi, dword [ebp - 0x346c]
mov ecx, dword [0x1011987c]
cmp byte [ecx], 0
je 0x100bdb82
mov eax, dword [0x1011984c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp byte [eax], 0
je 0x100bdb82
mov edx, dword [ecx + 0x64]
test edx, edx
je 0x100bd862
mov ecx, dword [0x10118088]
push 0
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov eax, dword [0x1011984c]
mov ecx, dword [ebp - 0x3480]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
push dword [eax + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.100e0b50
mov ecx, dword [ebp - 0x347c]
mov eax, dword [0x10117fd4]
cmp eax, dword [ecx + 4]
jle 0x100bd8cc
push 0x10117fd4
call fcn.100e3eef
add esp, 4
cmp dword [0x10117fd4], 0xffffffff
jne 0x100bd8cc
push str.55_8B_EC_81_EC_________E8_________85_C0_74_7E_8B_4D_08_85_C9_74_77_A1_________83_78_08_00_74_6C_83_78_0C_00_74_66_A1_________83_C1_08_56_8B_30_8D_85_________50_8B_01
push ecx
mov byte [ebp - 4], 4
call fcn.100283f0
push 0x10117fd4
mov dword [0x10118004], eax
mov byte [ebp - 4], 0
call fcn.100e3ea5
add esp, 4
push dword [ebp - 0x3480]
mov eax, dword [0x10118004]
call eax
test al, al
je 0x100bd8ec
mov eax, dword [0x1011984c]
mov eax, dword [eax]
mov eax, dword [eax + 0x8c]
jmp 0x100bd8ef
mov eax, dword [ebp - 0x34]
vmovss xmm2, dword [0x10102e4c]
mov edx, dword [0x1011808c]
movzx ecx, al
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, ecx
mov ecx, eax
shr eax, 0x10
vdivss xmm3, xmm0, xmm2
shr ecx, 8
vxorps xmm0, xmm0, xmm0
movzx ecx, cl
vcvtsi2ss xmm0, xmm0, ecx
vdivss xmm1, xmm0, xmm2
movzx eax, al
lea ecx, [ebp - 0x20]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
mov eax, dword [edx]
vdivss xmm0, xmm0, xmm2
vmovss dword [ebp - 0x20], xmm3
vmovss dword [ebp - 0x1c], xmm1
vmovss dword [ebp - 0x18], xmm0
mov eax, dword [eax + 0x18]
push ecx
mov ecx, edx
call eax
mov eax, dword [0x1011984c]
mov ecx, dword [0x1011808c]
push ecx
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x49], 0
je 0x100bd98e
vmovss xmm0, dword [eax + 0x4c]
mov eax, dword [ecx]
vmovss dword [esp], xmm0
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [0x1011827c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x190]
call eax
vmovss xmm0, dword [0x10102c34]
jmp 0x100bd9b6
mov eax, dword [ecx]
vxorps xmm0, xmm0, xmm0
vmovss dword [esp], xmm0
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [0x1011827c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x190]
call eax
vmovss xmm0, dword [0x10102c90]
mov ecx, dword [eax]
sub esp, 8
mov edx, dword [ecx + 0x2c]
mov ecx, eax
vmovss dword [esp + 4], xmm0
vxorps xmm0, xmm0, xmm0
vmovss dword [esp], xmm0
call edx
mov eax, dword [0x1011984c]
mov ecx, edi
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x51], 0
mov eax, dword [edi]
je 0x100bda53
mov eax, dword [eax + 0x24]
call eax
push eax
lea eax, [ebp - 0x3468]
push eax
call fcn.10046560
cmp dword [ebp - 0x1c20], 0
je 0x100bdb82
cmp byte [ebp - 0x1c1c], 0
je 0x100bdb82
mov ecx, dword [ebx + 0x3c]
lea eax, [ebp - 0x3420]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3470]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], esi
test ecx, ecx
jne 0x100bda31
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
mov eax, dword [ecx]
lea edx, [ebp - 0x34]
push edx
push dword [ebp - 0x3474]
lea edx, [ebp - 0x30]
push dword [ebp - 0x3478]
push edx
lea edx, [ebp - 0x2c]
push edx
call dword [eax + 8]
jmp 0x100bdb82
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov eax, dword [eax + 0x24]
call eax
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10046c10
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100bdb65
xor esi, esi
test eax, eax
je 0x100bdb65
nop dword [eax + eax]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
add ecx, esi
dec eax
and ecx, eax
mov eax, dword [ebp - 0x24]
mov edi, dword [eax + ecx*4]
test esi, esi
je 0x100bdb5b
vmovss xmm0, dword [edi + 0x24]
vmovss xmm3, dword [edi + 0x28]
vmovss xmm2, dword [edi + 0x2c]
vmulss xmm1, xmm0, xmm0
vmulss xmm0, xmm3, xmm3
vaddss xmm1, xmm1, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
call fcn.10021260
vmovss xmm1, dword [0x10102c90]
vcomiss xmm1, xmm0
ja 0x100bdb5b
mov ecx, dword [0x101196a0]
mov eax, dword [0x10118044]
push esi
push 0x100f92e8
mov edx, dword [ecx]
vmovss xmm0, dword [eax + 8]
push ecx
vmovss dword [esp], xmm0
push edi
push ecx
call dword [edx + 0x14]
lea eax, [edi + 0x48]
add esp, 0x14
test eax, eax
je 0x100bdb5b
cmp dword [edi + 0x1848], 0
je 0x100bdb5b
cmp byte [edi + 0x184c], 0
je 0x100bdb5b
mov ecx, dword [ebx + 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3470]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x346c]
mov dword [ebp - 0x2c], eax
test ecx, ecx
je 0x100bd6ef
mov eax, dword [ecx]
lea edx, [ebp - 0x34]
push edx
push dword [ebp - 0x3474]
lea edx, [ebp - 0x30]
push dword [ebp - 0x3478]
push edx
lea edx, [ebp - 0x2c]
push edx
call dword [eax + 8]
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x100bda90
lea ecx, [ebp - 0x28]
call fcn.100281f0
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x28], 0
call fcn.100e3d5c
add esp, 8
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x100bdb9a
mov edx, dword [ecx]
lea eax, [ebx + 0x18]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100e38ea
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x38