Function at 0x100bb160
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 0x100ee294
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x3470
call fcn.100e2f60
mov eax, dword [0x10112040]
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 [0x101160f0]
push dword [edx + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, dword [0x10116080]
mov esi, eax
mov dword [ebp - 0x3480], esi
test edi, edi
je 0x100bb892
mov ecx, dword fs:[0x2c]
mov edx, dword [0x10115fb4]
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x10116050]
mov dword [ebp - 0x347c], edx
cmp ecx, dword [edx + 4]
jle 0x100bb267
push 0x10116050
call fcn.100e217f
mov ecx, dword [0x10116050]
add esp, 4
cmp ecx, 0xffffffff
jne 0x100bb261
push str.m_lifeState
push str.CBasePlayer
mov byte [ebp - 4], 1
call fcn.100e1330
push 0x10116050
mov dword [0x10116010], eax
mov byte [ebp - 4], 0
call fcn.100e212e
mov ecx, dword [0x10116050]
add esp, 4
mov edx, dword [ebp - 0x347c]
mov eax, dword [0x10116010]
cmp byte [eax + edi], 0
jne 0x100bb892
test esi, esi
je 0x100bb892
cmp ecx, dword [edx + 4]
jle 0x100bb2c5
push 0x10116050
call fcn.100e217f
add esp, 4
cmp dword [0x10116050], 0xffffffff
jne 0x100bb2c5
push str.m_lifeState
push str.CBasePlayer
mov byte [ebp - 4], 2
call fcn.100e1330
push 0x10116050
mov dword [0x10116010], eax
mov byte [ebp - 4], 0
call fcn.100e212e
add esp, 4
mov eax, dword [0x10116010]
cmp byte [eax + esi], 0
jne 0x100bb892
cmp esi, dword [0x10116080]
je 0x100bb892
lea edi, [esi + 8]
mov dword [ebp - 0x34], edi
test edi, edi
je 0x100bb892
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100bb892
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0xf7
jne 0x100bb892
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x20]
call eax
test al, al
jne 0x100bb892
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x48], 0
je 0x100bb892
cmp byte [eax + 0x49], 0
jne 0x100bb348
cmp byte [eax + 0x50], 0
je 0x100bb892
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [0x101178c0]
mov eax, dword [eax + 0x24]
call eax
lea eax, [eax + eax*4]
cmp dword [esi + eax*4 + 0x30], 0
je 0x100bb892
mov eax, dword [0x101178dc]
cmp byte [eax], 0
je 0x100bb533
mov eax, dword [0x101178b0]
mov ecx, dword [eax + 0x10]
cmp byte [ecx + 0x50], 0
je 0x100bb533
mov eax, dword [eax + 0x20]
mov eax, dword [eax]
cmp byte [eax], 0
je 0x100bb533
mov eax, dword [0x10117880]
mov eax, dword [eax + 0x9c]
cmp byte [eax], 0
jne 0x100bb533
cmp byte [ecx + 0x51], 0
mov ecx, edi
mov eax, dword [edi]
je 0x100bb427
mov eax, dword [eax + 0x24]
call eax
push eax
lea eax, [ebp - 0x1a50]
push eax
call fcn.10043170
cmp dword [ebp - 0x208], 0
mov esi, dword [ebp - 0x346c]
je 0x100bb539
cmp byte [ebp - 0x204], 0
je 0x100bb539
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 0x100bb405
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 0x100bb539
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.10043810
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100bb512
xor esi, esi
test eax, eax
je 0x100bb512
nop
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, esi
mov eax, dword [ebp - 0x24]
dec edx
and edx, ecx
mov edi, dword [eax + edx*4]
test esi, esi
je 0x100bb505
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.1001c310
vmovss xmm1, dword [0x10100bf8]
vcomiss xmm1, xmm0
ja 0x100bb505
lea eax, [edi + 0x48]
test eax, eax
je 0x100bb505
cmp dword [edi + 0x1848], 0
je 0x100bb505
cmp byte [edi + 0x184c], 0
je 0x100bb505
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 0x100bb3ff
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 0x100bb460
mov edi, dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100232e0
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x28], 0
call fcn.100e20a3
add esp, 8
mov esi, dword [ebp - 0x346c]
mov ecx, dword [0x101178e0]
cmp byte [ecx], 0
je 0x100bb892
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp byte [eax], 0
je 0x100bb892
mov edx, dword [ecx + 0x64]
test edx, edx
je 0x100bb572
mov ecx, dword [0x101160e8]
push 0
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov eax, dword [0x101178b0]
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.100dee80
mov ecx, dword [ebp - 0x347c]
mov eax, dword [0x10116034]
cmp eax, dword [ecx + 4]
jle 0x100bb5dc
push 0x10116034
call fcn.100e217f
add esp, 4
cmp dword [0x10116034], 0xffffffff
jne 0x100bb5dc
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.100234e0
push 0x10116034
mov dword [0x10116064], eax
mov byte [ebp - 4], 0
call fcn.100e212e
add esp, 4
push dword [ebp - 0x3480]
mov eax, dword [0x10116064]
call eax
test al, al
je 0x100bb5fc
mov eax, dword [0x101178b0]
mov eax, dword [eax]
mov eax, dword [eax + 0x8c]
jmp 0x100bb5ff
mov eax, dword [ebp - 0x34]
vmovss xmm2, dword [0x10100da8]
mov edx, dword [0x101160ec]
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 [0x101178b0]
mov ecx, dword [0x101160ec]
push ecx
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x49], 0
je 0x100bb69e
vmovss xmm0, dword [eax + 0x4c]
mov eax, dword [ecx]
vmovss dword [esp], xmm0
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [0x101162dc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x190]
call eax
vmovss xmm0, dword [0x10100b9c]
jmp 0x100bb6c6
mov eax, dword [ecx]
vxorps xmm0, xmm0, xmm0
vmovss dword [esp], xmm0
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [0x101162dc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x190]
call eax
vmovss xmm0, dword [0x10100bf8]
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 [0x101178b0]
mov ecx, edi
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x51], 0
mov eax, dword [edi]
je 0x100bb763
mov eax, dword [eax + 0x24]
call eax
push eax
lea eax, [ebp - 0x3468]
push eax
call fcn.10043170
cmp dword [ebp - 0x1c20], 0
je 0x100bb892
cmp byte [ebp - 0x1c1c], 0
je 0x100bb892
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 0x100bb741
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 0x100bb892
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.10043810
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100bb875
xor esi, esi
test eax, eax
je 0x100bb875
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 0x100bb86b
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.1001c310
vmovss xmm1, dword [0x10100bf8]
vcomiss xmm1, xmm0
ja 0x100bb86b
mov ecx, dword [0x10117704]
mov eax, dword [0x101160a4]
push esi
push 0x100f7230
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 0x100bb86b
cmp dword [edi + 0x1848], 0
je 0x100bb86b
cmp byte [edi + 0x184c], 0
je 0x100bb86b
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 0x100bb3ff
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 0x100bb7a0
lea ecx, [ebp - 0x28]
call fcn.100232e0
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x28], 0
call fcn.100e20a3
add esp, 8
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x100bb8aa
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.100e1c31
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x38