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

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
push str.cheat_handle_actor_autoaim__
call fcn.1005ba7f
mov dword [esp], 0x1016c17c
call fcn.1003f088
pop ecx
xor ecx, ecx
xor ebx, ebx
inc ecx
test al, al
je 0x100285d2
mov eax, dword [0x1015c888]
xor dword [eax + 0x20], ecx
cmp dword [0x1016c188], ebx
je 0x100285de
mov eax, dword [0x1015c888]
push 0x100dd0d0
cmp dword [eax + 0x20], ecx
jne 0x100285cc
mov byte [0xb6ec2e], cl
mov byte [0xba6818], bl
call fcn.1003fb00
jmp 0x100285d1
call fcn.1003fce5
pop ecx
cmp dword [0x1016c188], ebx
jne 0x1002894f
mov ecx, dword [0x1019a9a4]
mov eax, dword [ecx]
call dword [eax + 0x78]
mov esi, eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 8]
mov edx, dword [esi]
mov ecx, esi
test al, al
je 0x100287ea
push 2
push ebx
call dword [edx + 4]
push eax
call fcn.10038fb1
push eax
call fcn.1003efce
pop ecx
pop ecx
test eax, eax
je 0x1002861d
xor eax, eax
lea ebx, [eax + 1]
jmp 0x1002863f
mov eax, dword [esi]
mov ecx, esi
push ebx
push ebx
call dword [eax + 4]
push eax
call fcn.10038fb1
push eax
call fcn.1003efce
pop ecx
pop ecx
test eax, eax
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
mov eax, dword [esi]
mov ecx, esi
push 2
push 0x2d
call dword [eax + 4]
push eax
call fcn.10038fb1
push eax
call fcn.1003efce
pop ecx
xor edi, edi
pop ecx
test eax, eax
jne 0x10028681
mov eax, dword [esi]
mov ecx, esi
push edi
push 0x2d
call dword [eax + 4]
push eax
call fcn.10038fb1
push eax
call fcn.1003efce
pop ecx
pop ecx
test eax, eax
jne 0x10028681
or dword [0x100dd5ac], 0xffffffff
mov eax, dword [0x1015c888]
cmp dword [eax + 0x20], edi
je 0x1002894f
test bl, bl
je 0x1002894f
mov ecx, dword [0x1019a9ac]
mov eax, dword [ecx]
call dword [eax + 0x6c]
sub eax, edi
je 0x1002894f
sub eax, 1
je 0x1002894f
sub eax, 7
je 0x1002894f
sub eax, 1
je 0x1002894f
sub eax, 1
je 0x1002894f
sub eax, 1
je 0x1002894f
sub eax, 1
je 0x1002894f
mov ecx, dword [0x101228d4]
mov ebx, 0xc3efa4
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov esi, eax
mov ecx, esi
mov edi, dword [esi]
call dword [edi + 0x28]
movzx ecx, al
push ecx
mov ecx, esi
call dword [edi + 0x2c]
mov esi, dword [eax + 4]
mov eax, dword [0x100dd5ac]
cmp eax, 0xffffffff
jne 0x1002873a
sub esp, 0x28
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_11fd117fbd736a131a4b1ec6bb1776b2___bool__struct_actor_info__.0
mov dword [eax + 4], esi
mov dword [eax + 0x24], eax
xor eax, eax
inc eax
push eax
call fcn.1002ad04
add esp, 0x2c
mov dword [0x100dd5ac], eax
cmp eax, 0xffffffff
je 0x1002894f
push 1
push eax
call fcn.1002ae00
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10028948
mov ecx, dword [0x101228d4]
mov edx, dword [ecx]
call dword [edx]
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x64]
test eax, eax
je 0x10028948
and dword [esp + 0xc], 0
lea ecx, [esp + 0xc]
and dword [esp + 0x10], 0
and dword [esp + 0x14], 0
mov edx, dword [eax]
push ecx
push 8
mov ecx, eax
call dword [edx + 0x78]
movss xmm0, dword [esi + 0x1a4]
movss xmm2, dword [esi + 0x19c]
movss xmm1, dword [esi + 0x1a0]
subss xmm0, dword [esp + 0x14]
subss xmm1, dword [esp + 0x10]
subss xmm2, dword [esp + 0xc]
movzx eax, word [esi + 0xc]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [0x100896a8]
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x18], xmm1
cmp ax, 0x35
je 0x10028827
cmp ax, 0x37
je 0x10028827
movaps xmm5, xmm0
movaps xmm4, xmm0
jmp 0x100288c7
push 3
push ebx
call dword [edx + 4]
push eax
call fcn.10038fb1
push eax
call fcn.1003efce
pop ecx
pop ecx
push 1
test eax, eax
movzx ebx, bl
pop eax
cmovne ebx, eax
mov ecx, esi
mov eax, dword [esi]
push 3
push 0x2d
call dword [eax + 4]
push eax
call fcn.10038fb1
push eax
call fcn.1003efce
xor edi, edi
jmp 0x10028674
movss xmm0, dword [esi + 0xb4]
mulss xmm0, dword [0x10089648]
call fcn.10069ea9
movss xmm2, dword [0x100831a4]
mov eax, 0xb6ec10
movaps xmm3, xmm0
movss xmm4, dword [0x100896d8]
movss xmm0, dword [0xb6ec14]
movaps xmm5, xmm4
addss xmm0, xmm0
movss xmm1, dword [esp + 0x24]
subss xmm2, dword [eax]
subss xmm0, dword [0x100831ac]
addss xmm2, dword [0x100831a4]
mulss xmm0, xmm3
subss xmm2, dword [eax]
divss xmm2, dword [ebx]
mulss xmm2, xmm3
movss dword [esp + 0x28], xmm2
fld dword [esp + 0x28]
fld1
fld st(0)
movss xmm2, dword [esp + 0x20]
fxch st(1)
fxch st(2)
fpatan
fstp dword [esp + 0x28]
subss xmm5, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
fld dword [esp + 0x28]
fpatan
fstp dword [esp + 0x28]
subss xmm4, dword [esp + 0x28]
movaps xmm0, xmm2
mulss xmm1, xmm1
and dword [esi + 0xb0], 0
mulss xmm0, xmm2
and dword [esi + 0xc0], 0
xorps xmm2, xmmword [0x10088ea0]
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss dword [esp + 0x20], xmm0
fld dword [esp + 0x20]
fld dword [esp + 0x1c]
fpatan
fstp dword [esp + 0x1c]
movss xmm0, dword [esp + 0x1c]
fld dword [esp + 0x18]
subss xmm0, xmm5
movss dword [esp + 0x1c], xmm2
fld dword [esp + 0x1c]
fpatan
movss dword [esi + 0xac], xmm0
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [0x100896a8]
subss xmm4, xmm0
movss dword [esi + 0xbc], xmm4
jmp 0x1002894f
or dword [0x100dd5ac], 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0x20
ret