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

Disassembly:
mov eax, 0x18a4
call fcn.100d7610
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x98]
mov dword [esp + 0x2c], ecx
xor edi, edi
push eax
mov dword [esp + 0x38], edi
call fcn.10004dc0
xor edx, edx
xor ebp, ebp
add esp, 4
mov dword [esp + 0x10], ebp
mov dword [esp + 0x30], edx
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [esp + 0x68], xmm1
psrldq xmm1, 0xc
movd eax, xmm1
movq qword [esp + 0x78], xmm0
movd xmm0, eax
mov eax, dword [0x10132a9c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x28], xmm0
cmp dword [eax + 0x18], edx
jle 0x10005f3a
nop dword [eax + eax]
mov ecx, dword [0x10132a94]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ebx, eax
test ebx, ebx
je 0x10005f22
mov edx, dword [ebx + 8]
lea ecx, [ebx + 8]
mov edx, dword [edx + 0x24]
call edx
test al, al
jne 0x10005f22
cmp ebx, dword [0x10132ac8]
je 0x10005f22
mov ecx, dword [0x10132a90]
test ecx, ecx
jne 0x10005b52
mov edx, 0xe80c2f78
mov ecx, 0x10111409
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113c9
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov ecx, eax
mov dword [0x10132a90], ecx
mov eax, dword [0x10132ac8]
lea ebp, [ecx + ebx]
mov dword [esp + 0x24], eax
test ecx, ecx
jne 0x10005b93
mov edx, 0xe80c2f78
mov ecx, 0x10111409
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113c9
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov ecx, eax
mov dword [0x10132a90], ecx
mov edx, dword [esp + 0x24]
mov eax, dword [ebp]
cmp eax, dword [edx + ecx]
je 0x10005f1e
mov eax, dword [0x10132ac4]
test eax, eax
jne 0x10005bda
mov edx, 0xe80c2f78
mov ecx, 0x101114a5
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113bd
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov dword [0x10132ac4], eax
cmp dword [eax + ebx], 0
jle 0x10005f1e
test eax, eax
jne 0x10005c16
mov edx, 0xe80c2f78
mov ecx, 0x101114a5
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113bd
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov dword [0x10132ac4], eax
cmp dword [eax + ebx], 0
jle 0x10005f1e
mov eax, dword [0x10132a88]
test eax, eax
jne 0x10005c57
mov edx, 0xe80c2f78
mov ecx, 0x10111471
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113bd
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov dword [0x10132a88], eax
cmp byte [eax + ebx], 0
jne 0x10005f1e
mov ecx, dword [0x10132ac8]
lea eax, [esp + 0x50]
push eax
call fcn.10004950
mov eax, dword [0x10131d0c]
mov esi, dword [0x10131d08]
mov dword [esp + 0x34], eax
cmp esi, eax
je 0x10005f1e
push dword [esi]
lea eax, [esp + 0x60]
mov ecx, ebx
push eax
call fcn.10004bc0
mov edx, dword [esp + 0x2c]
mov ecx, ebx
call fcn.10005780
mov ecx, dword [ebx + 4]
mov ebp, eax
push ecx
mov dword [esp], 0
push pe_nt_image_headers32
mov edx, dword [ecx + 0x34]
lea ecx, [esp + 0xb8]
push 0x80
push ecx
lea ecx, [ebx + 4]
call edx
test al, al
je 0x10005d00
lea eax, [ebp*2]
add eax, ebp
add eax, eax
movss xmm0, dword [esp + eax*8 + 0xbc]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + eax*8 + 0xcc]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + eax*8 + 0xdc]
jmp 0x10005d0f
xorps xmm0, xmm0
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x14], xmm0
mov ecx, dword [0x10132ac8]
lea eax, [esp + 0x80]
push eax
movss dword [esp + 0x28], xmm0
call fcn.10004950
movq xmm0, qword [eax]
movq qword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [esp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x4c], eax
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x48]
subss xmm0, dword [esp + 0x20]
fstp dword [esp + 0x18]
movss xmm2, dword [esp + 0x18]
mulss xmm2, xmm2
movss dword [esp + 0x20], xmm0
fld dword [esp + 0x20]
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
mulss xmm1, xmm1
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x4c]
addss xmm2, xmm1
xorps xmm1, xmm1
subss xmm0, dword [esp + 0x24]
sqrtss xmm1, xmm2
movss dword [esp + 0x18], xmm1
fld dword [esp + 0x18]
fstp dword [esp + 0x18]
divss xmm0, dword [esp + 0x18]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
mulss xmm0, dword [0x1012c93c]
mov ebp, dword [esp + 0x2c]
subss xmm0, dword [ebp + 0xc]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x1c]
divss xmm0, dword [esp + 0x14]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
movaps xmm1, xmm0
mov dword [esp + 0x40], 0
mulss xmm1, dword [0x1012c93c]
movss xmm0, dword [esp + 0x14]
comiss xmm0, dword [0x1012c718]
subss xmm1, dword [ebp + 0x10]
movss dword [esp + 0x3c], xmm1
jb 0x10005e20
addss xmm1, dword [0x1012c96c]
movss dword [esp + 0x3c], xmm1
lea ecx, [esp + 0x38]
call fcn.1007af90
fld dword [esp + 0x38]
fstp dword [esp + 0x1c]
movss xmm1, dword [esp + 0x1c]
fld dword [esp + 0x3c]
fstp dword [esp + 0x1c]
movss xmm0, dword [esp + 0x1c]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
movss xmm0, dword [esp + 0x28]
fstp dword [esp + 0x14]
comiss xmm0, dword [esp + 0x14]
jbe 0x10005f0b
cmp byte [esp + 0x6c], 0
je 0x10005ec4
movd xmm3, dword [esp + 0x70]
lea edx, [esp + 0x5c]
movq xmm0, qword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x5c]
sub esp, 0xc
mov eax, esp
cvtdq2ps xmm3, xmm3
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, ebx
call fcn.10005100
add esp, 0x10
test al, al
je 0x10005ee5
movss xmm0, dword [esp + 0x14]
mov ebp, ebx
movss dword [esp + 0x28], xmm0
mov dword [esp + 0x10], ebp
jmp 0x10005f0f
lea eax, [esp + 0x8c]
mov ecx, ebx
push eax
or edi, 1
call fcn.10004950
push eax
push ebx
call fcn.10004a10
test al, al
je 0x10005ee5
mov dl, 1
jmp 0x10005ee7
xor dl, dl
mov eax, edi
mov ecx, edi
and edi, 0xfffffffe
test al, 1
cmove edi, ecx
test dl, dl
je 0x10005f0b
movss xmm0, dword [esp + 0x14]
mov ebp, ebx
movss dword [esp + 0x28], xmm0
mov dword [esp + 0x10], ebp
jmp 0x10005f0f
mov ebp, dword [esp + 0x10]
add esi, 4
cmp esi, dword [esp + 0x34]
jne 0x10005c88
jmp 0x10005f22
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov ecx, dword [0x10132a9c]
inc edx
mov dword [esp + 0x30], edx
cmp edx, dword [ecx + 0x18]
jl 0x10005ae0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x18a4
ret