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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100acce5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
mov eax, dword [0x100c2380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
lea eax, [ebp - 0xb4]
push 0x30
push 0
push eax
mov dword [ebp - 0x1c], esi
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [ebp - 0xb8], 0
add esp, 0xc
cmp dword [esi + 4], 0
movups xmmword [ebp - 0xd8], xmm0
movups xmmword [ebp - 0xc8], xmm0
je 0x10086429
cmp dword [0x101386d8], 1
je 0x10086429
mov edi, dword [esi]
test edi, edi
je 0x10086429
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10086429
mov eax, dword [0x1013be94]
add eax, 0xffffffc9
xor eax, 0x280eb30a
cmp dword [eax + edi], 0
jne 0x10086429
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0x1970
lea esi, [eax + 0x100c0c00]
test esi, esi
je 0x10086429
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp dword [eax + 0x3e8], 0
je 0x10086429
mov eax, dword [0x1013be50]
mov ecx, edi
add eax, 0xffffffda
xor eax, 0x280eb2f9
movq xmm0, qword [eax + edi]
mov eax, dword [eax + edi + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [edi]
movq qword [ebp - 0x50], xmm0
mov eax, dword [eax + 0x28]
call eax
mov ecx, edi
movq xmm0, qword [eax]
movq qword [ebp - 0x74], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
call eax
mov ecx, dword [0x1013be50]
add ecx, 0xffffffda
xor ecx, 0x280eb2f9
movq xmm0, qword [eax]
movq qword [ebp - 0x80], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [0x1013be5c]
add eax, 0xffffffd7
xor eax, 0x280eb2fc
movq xmm0, qword [eax + edi]
mov eax, dword [eax + edi + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [0x1013be60]
add eax, 0xffffffd6
movq qword [ebp - 0x5c], xmm0
xor eax, 0x280eb2fd
movq xmm0, qword [eax + edi]
mov eax, dword [eax + edi + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [0x1013bf50]
add eax, 0xffffff9a
movq qword [ebp - 0x68], xmm0
xor eax, 0x280eb339
mov eax, dword [eax + edi]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 4]
mov eax, dword [edx + 0x3f0]
mov dword [ecx + edi], eax
mov eax, dword [edx + 0x3f4]
mov dword [ecx + edi + 4], eax
mov eax, dword [edx + 0x3f8]
mov dword [ecx + edi + 8], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
mov eax, dword [0x1013bd60]
add ecx, 0x3f0
push ecx
mov ecx, edi
call eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
mov eax, dword [0x1013bd5c]
add ecx, 0x78
push ecx
mov ecx, edi
call eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x1013be5c]
add ecx, 0xffffffd7
xor ecx, 0x280eb2fc
mov edx, dword [eax + 4]
mov eax, dword [edx + 0x54]
mov dword [ecx + edi], eax
mov eax, dword [edx + 0x58]
mov dword [ecx + edi + 4], eax
mov eax, dword [edx + 0x5c]
mov dword [ecx + edi + 8], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x1013be60]
mov edx, dword [eax + 4]
mov eax, dword [edx + 0x60]
add ecx, 0xffffffd6
xor ecx, 0x280eb2fd
mov dword [ecx + edi], eax
mov eax, dword [edx + 0x64]
mov dword [ecx + edi + 4], eax
mov eax, dword [edx + 0x68]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + edi + 8], eax
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x3e8]
mov eax, dword [0x1013bf50]
add eax, 0xffffff9a
xor eax, 0x280eb339
mov dword [eax + edi], ecx
movss xmm6, dword [edx + 0x18]
movss xmm7, dword [edx + 0x1c]
movss xmm5, dword [edx + 0x24]
movss xmm4, dword [edx + 0x28]
subss xmm5, xmm6
movss xmm0, dword [edx + 0x20]
subss xmm4, xmm7
movss xmm3, dword [edx + 0x2c]
subss xmm3, xmm0
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x2c], xmm6
movaps xmm0, xmm5
movss dword [ebp - 0x28], xmm7
movaps xmm1, xmm4
mulss xmm0, xmm5
mulss xmm1, xmm4
addss xmm0, xmm1
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm0, xmm1
call fcn.100205a0
addss xmm0, dword [0x100b80f8]
movss xmm1, dword [0x100b81cc]
movaps xmm2, xmm6
mov dword [ebp - 0x114], 0
mov byte [ebp - 0xeb], 1
divss xmm1, xmm0
movss xmm0, dword [edx + 0x14]
mulss xmm5, xmm1
mulss xmm4, xmm1
mulss xmm3, xmm1
movaps xmm1, xmm7
mulss xmm5, xmm0
mulss xmm4, xmm0
mulss xmm3, xmm0
addss xmm2, xmm5
movss xmm0, dword [edx + 0x20]
addss xmm1, xmm4
movss dword [ebp - 0x120], xmm5
movss dword [ebp - 0x11c], xmm4
addss xmm0, xmm3
mulss xmm5, xmm5
mulss xmm4, xmm4
movss dword [ebp - 0x118], xmm3
mulss xmm3, xmm3
addss xmm5, xmm4
movss dword [ebp - 0x3c], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x44], xmm2
movss dword [ebp - 0x40], xmm1
addss xmm5, xmm3
ucomiss xmm5, xmm0
lahf
test ah, 0x44
jp 0x10085f8d
mov byte [ebp - 0xeb], 0
movss xmm0, dword [edx + 0x20]
lea edx, [ebp - 0xd8]
mov ecx, dword [0x1013bc28]
push edx
mov dword [ebp - 0xf0], 0
lea edx, [ebp - 0x130]
mov byte [ebp - 0xec], 1
movss dword [ebp - 0x130], xmm6
movss dword [ebp - 0x12c], xmm7
movss dword [ebp - 0x128], xmm0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x100], 0
mov eax, dword [ecx]
push edi
push 0x4600400b
push edx
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x44]
push dword [eax + 0x50]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push dword [eax + 4]
call fcn.10024e70
test al, al
mov eax, dword [ebp - 0x1c]
je 0x100861f4
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x410]
dec eax
cmp eax, 0x23
ja case.0x1008605d.4
movzx eax, byte [eax + 0x100865e4]
jmp dword [eax*4 + 0x10086598]
inc dword [esi + 0xec]
jmp case.0x1008605d.4
inc dword [esi + 0xe4]
jmp case.0x1008605d.4
inc dword [esi + 0xd4]
jmp case.0x1008605d.4
inc dword [esi + 0xd0]
jmp case.0x1008605d.4
inc dword [esi + 0xdc]
jmp case.0x1008605d.4
inc dword [esi + 0xe0]
jmp case.0x1008605d.4
inc dword [esi + 0x74]
jmp case.0x1008605d.4
inc dword [esi + 0x6c]
jmp case.0x1008605d.4
inc dword [esi + 0xb8]
jmp case.0x1008605d.4
inc dword [esi + 0xa8]
jmp case.0x1008605d.4
inc dword [esi + 0xb0]
jmp case.0x1008605d.4
inc dword [esi + 0xb4]
jmp case.0x1008605d.4
inc dword [esi + 0xa0]
jmp case.0x1008605d.4
inc dword [esi + 0x9c]
jmp case.0x1008605d.4
inc dword [esi + 0xc0]
jmp case.0x1008605d.4
inc dword [esi + 0x70]
jmp case.0x1008605d.4
inc dword [esi + 0xe8]
jmp case.0x1008605d.4
inc dword [esi + 0x58]
inc dword [esi + 0x54]
lea ecx, [ebp - 0x38]
mov esi, dword [0x100b335c]
mov edx, str.missed_shot_due_to_fake_angles_n
call fcn.1002a090
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x41000000
push ecx
mov edx, eax
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x40]
call fcn.1002c2a0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 1
mov ecx, dword [0x1013be18]
cmp ecx, dword [0x1013be1c]
je 0x10086166
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x1013be18], 8
jmp 0x1008616d
push edx
push ecx
call fcn.1002c7e0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x1008619b
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x1008619b
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x20]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x1008619b
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
mov ecx, esp
push dword [ebp - 0x18]
call fcn.1002c000
push 0x10141348
call fcn.10037b60
mov dword [ebp - 4], 0xffffffff
add esp, 0x1c
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x10086372
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10086368
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10086368
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
movss xmm2, dword [eax + 0x3c]
movss xmm0, dword [eax + 0x40]
subss xmm0, dword [eax + 0x1c]
subss xmm2, dword [eax + 0x18]
movss xmm4, dword [eax + 0x24]
movss xmm3, dword [eax + 0x28]
subss xmm4, dword [eax + 0x18]
subss xmm3, dword [eax + 0x1c]
mulss xmm0, xmm0
mulss xmm2, xmm2
addss xmm0, xmm2
call fcn.100205a0
mulss xmm3, xmm3
movaps xmm1, xmm0
subss xmm1, dword [0x100b8280]
mulss xmm4, xmm4
addss xmm3, xmm4
movaps xmm0, xmm3
call fcn.100205a0
mov esi, dword [0x100b335c]
lea ecx, [ebp - 0x38]
comiss xmm1, xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
jbe 0x10086449
push 0x1d
push str.missed_shot_due_to_occlusion_n
call fcn.100270c0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0x41000000
push eax
lea edx, [ebp - 0x38]
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x40]
call fcn.1002c2a0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 3
mov ecx, dword [0x1013be18]
cmp ecx, dword [0x1013be1c]
je 0x100862e7
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x1013be18], 8
jmp 0x100862ee
push edx
push ecx
call fcn.1002c7e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1008631c
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x1008631c
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x1008631c
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.1002c000
push 0x10141348
call fcn.10037b60
mov dword [ebp - 4], 0xffffffff
add esp, 0x1c
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x10086372
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10086368
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100861ee
push ecx
push edx
call fcn.100a32db
add esp, 8
mov eax, dword [0x1013be50]
lea ecx, [ebp - 0x74]
movss xmm0, dword [ebp - 0x50]
add eax, 0xffffffda
xor eax, 0x280eb2f9
push ecx
mov ecx, edi
movss dword [eax + edi], xmm0
movss xmm0, dword [ebp - 0x4c]
movss dword [eax + edi + 4], xmm0
movss xmm0, dword [ebp - 0x48]
movss dword [eax + edi + 8], xmm0
mov eax, dword [0x1013bd60]
call eax
mov eax, dword [0x1013bd5c]
lea ecx, [ebp - 0x80]
push ecx
mov ecx, edi
call eax
mov eax, dword [0x1013be5c]
movss xmm0, dword [ebp - 0x5c]
add eax, 0xffffffd7
xor eax, 0x280eb2fc
mov ecx, dword [ebp - 0xdc]
movss dword [eax + edi], xmm0
movss xmm0, dword [ebp - 0x58]
movss dword [eax + edi + 4], xmm0
movss xmm0, dword [ebp - 0x54]
movss dword [eax + edi + 8], xmm0
mov eax, dword [0x1013be60]
movss xmm0, dword [ebp - 0x68]
add eax, 0xffffffd6
xor eax, 0x280eb2fd
movss dword [eax + edi], xmm0
movss xmm0, dword [ebp - 0x64]
movss dword [eax + edi + 4], xmm0
movss xmm0, dword [ebp - 0x60]
movss dword [eax + edi + 8], xmm0
mov eax, dword [0x1013bf50]
add eax, 0xffffff9a
xor eax, 0x280eb339
mov dword [eax + edi], ecx
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.100a2d7c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
cmp dword [eax + 0x58], 0x64
jne 0x100864de
push 0x24
push str.missed_shot_due_to_prediction_error_n
call fcn.100270c0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0x41000000
push eax
lea edx, [ebp - 0x38]
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x40]
call fcn.1002c2a0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 5
mov ecx, dword [0x1013be18]
cmp ecx, dword [0x1013be1c]
je 0x100864ce
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x1013be18], 8
mov byte [ebp - 4], 4
jmp 0x100862f2
push edx
push ecx
call fcn.1002c7e0
mov byte [ebp - 4], 4
jmp 0x100862f2
push 0x1a
push str.missed_shot_due_to_spread_n
call fcn.100270c0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 6
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0x41000000
push eax
lea edx, [ebp - 0x38]
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x40]
call fcn.1002c2a0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 7
mov ecx, dword [0x1013be18]
cmp ecx, dword [0x1013be1c]
je 0x10086552
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x1013be18], 8
jmp 0x10086559
push edx
push ecx
call fcn.1002c7e0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10086587
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x10086587
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x10086587
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
jmp 0x100861a3