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

Disassembly:
sub esp, 0x90
mov eax, dword [0x1008c00c]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
push ebx
push ebp
push esi
mov dword [esp + 0x28], eax
mov ebp, edx
mov eax, dword [esp + 0xa4]
push edi
mov edi, dword [0x10090d48]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x3e28]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x70], edi
mov byte [eax + 0xa8], 1
mov ebx, dword [edi + 0x3e28]
mov dword [esp + 0x64], ebx
cmp byte [ebx + 0xab], 0
jne 0x1005f576
push ecx
push ebp
mov ecx, ebx
call fcn.100065cf
push ecx
mov dword [esp], 0xbf800000
lea ecx, [esp + 0x5c]
push 1
push 0
mov edx, ebp
mov esi, eax
call fcn.10008639
movss xmm0, dword [esp + 0xcc]
add esp, 0xc
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1005edd3
call fcn.10010350
movss dword [esp + 0xc0], xmm0
movss xmm1, dword [esp + 0xc4]
movss xmm3, dword [edi + 0x37d8]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x1005ee03
movaps xmm1, xmm3
addss xmm1, xmm3
addss xmm1, dword [esp + 0x5c]
movss dword [esp + 0xc4], xmm1
movss xmm4, dword [ebx + 0xec]
movss xmm5, dword [ebx + 0xf0]
addss xmm4, xmm0
mov eax, dword [ebx + 0xec]
addss xmm5, xmm1
movss xmm1, dword [edi + 0x37d4]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0xf0]
movaps xmm0, xmm4
mov dword [esp + 0x80], eax
subss xmm0, xmm1
movss dword [esp + 0x84], xmm4
movaps xmm6, xmm5
movss dword [esp + 0x88], xmm5
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm3
subss xmm6, xmm0
movss dword [esp + 0x34], xmm6
movss xmm6, dword [esp + 0x7c]
addss xmm6, xmm1
movss xmm1, dword [esp + 0x80]
addss xmm1, xmm0
movss dword [esp + 0x54], xmm6
movss dword [esp + 0x3c], xmm1
movss xmm1, dword [esp + 0x58]
comiss xmm1, xmm2
jbe 0x1005eea5
movss xmm0, dword [edi + 0x37ec]
addss xmm0, xmm1
jmp 0x1005eea8
xorps xmm0, xmm0
mov eax, dword [ebx + 0xec]
addss xmm4, xmm0
addss xmm5, xmm2
mov dword [esp + 0x8c], eax
mov eax, dword [ebx + 0xf0]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x90], eax
movaps xmm1, xmm3
movss dword [esp + 0x94], xmm4
subss xmm4, dword [esp + 0x8c]
movss dword [esp + 0x98], xmm5
subss xmm5, dword [esp + 0x90]
movss dword [esp + 0x4c], xmm4
movss dword [esp + 0x50], xmm5
call fcn.1000fcb8
lea eax, [esp + 0x7c]
xor edx, edx
push 0
push eax
lea ecx, [esp + 0x94]
call fcn.1000fe07
pop ecx
pop ecx
test al, al
je 0x1005f576
mov edx, esi
lea ecx, [esp + 0x7c]
call fcn.10006b68
movss xmm1, dword [0x100886f4]
movss xmm0, dword [esp + 0xb8]
mov ebp, dword [esp + 0xac]
ucomiss xmm0, xmm1
mov byte [esp + 0x23], al
lahf
test ah, 0x44
jnp 0x1005ef6b
movss xmm2, dword [esp + 0xbc]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x1005f01c
movss xmm3, dword [0x1008876c]
movaps xmm2, xmm1
xor esi, esi
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x14], xmm3
test ebp, ebp
jle 0x1005efec
mov ebx, dword [esp + 0x28]
push esi
push ebx
call dword [esp + 0x34]
fstp dword [esp + 0x2c]
movss xmm0, dword [esp + 0x2c]
ucomiss xmm0, xmm0
pop ecx
pop ecx
lahf
test ah, 0x44
jp 0x1005efca
comiss xmm0, dword [esp + 0x18]
ja 0x1005efb4
movss dword [esp + 0x18], xmm0
movss xmm3, dword [esp + 0x14]
comiss xmm3, xmm0
jae 0x1005efd0
movaps xmm3, xmm0
movss dword [esp + 0x14], xmm3
jmp 0x1005efd0
movss xmm3, dword [esp + 0x14]
inc esi
cmp esi, ebp
jl 0x1005ef8c
movss xmm0, dword [esp + 0xb8]
movss xmm1, dword [0x100886f4]
movss xmm2, dword [esp + 0x18]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1005f001
movaps xmm0, xmm2
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0xbc]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1005f01c
movss dword [esp + 0xbc], xmm3
movss xmm1, dword [0x10088500]
push 7
pop ecx
call fcn.10004763
push dword [esp + 0x88]
movss xmm2, dword [edi + 0x37dc]
mov dl, 1
push dword [esp + 0x88]
mov ecx, eax
push dword [esp + 0x88]
push dword [esp + 0x88]
call fcn.100053a5
mov edx, dword [esp + 0x40]
xor eax, eax
add esp, 0x10
or ebx, 0xffffffff
test edx, edx
sete al
inc eax
cmp ebp, eax
jl 0x1005f4ca
cvttss2si eax, dword [esp + 0xc0]
xor ecx, ecx
mov esi, ebp
test edx, edx
setne cl
dec ecx
cmp eax, ebp
cmovl esi, eax
lea eax, [ecx + ebp]
add esi, ecx
mov dword [esp + 0x44], eax
cmp byte [esp + 0x23], 0
mov dword [esp + 0x48], esi
je 0x1005f1b6
movss xmm1, dword [edi + 0xdb8]
movss xmm2, dword [esp + 0x54]
comiss xmm1, xmm2
jb 0x1005f1b6
movss xmm0, dword [edi + 0xdbc]
comiss xmm0, dword [esp + 0x3c]
jb 0x1005f1b6
movss xmm3, dword [esp + 0x38]
comiss xmm3, xmm1
jbe 0x1005f1b6
movss xmm4, dword [esp + 0x34]
comiss xmm4, xmm0
jbe 0x1005f1b6
movaps xmm0, xmm3
subss xmm1, xmm2
subss xmm0, xmm2
divss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1005f107
xorps xmm2, xmm2
jmp 0x1005f113
movss xmm2, dword [0x100884f4]
minss xmm2, xmm1
mov esi, dword [esp + 0xb0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
cvttss2si ebx, xmm0
add esi, ebx
mov eax, esi
cdq
idiv ebp
push edx
push dword [esp + 0x2c]
call dword [esp + 0x34]
lea eax, [esi + 1]
cdq
idiv ebp
fstp dword [esp + 0x20]
push edx
push dword [esp + 0x34]
call dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add esp, 0x10
fstp dword [esp + 0x24]
test edx, edx
jne 0x1005f18f
movss xmm0, dword [esp + 0x24]
lea eax, [ebx + 1]
cvtps2pd xmm0, xmm0
push ecx
push ecx
movsd qword [esp], xmm0
movss xmm0, dword [esp + 0x20]
push eax
cvtps2pd xmm0, xmm0
push ecx
push ecx
movsd qword [esp], xmm0
push ebx
push str._d:__8.4g_n_d:__8.4g
call fcn.10011116
add esp, 0x1c
jmp 0x1005f1b2
cmp edx, 1
jne 0x1005f1b2
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
push ecx
push ecx
movsd qword [esp], xmm0
push ebx
push str._d:__8.4g
call fcn.10011116
add esp, 0x10
mov esi, dword [esp + 0x48]
movss xmm2, dword [0x10088500]
movd xmm0, esi
movaps xmm1, xmm2
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x68], xmm1
movss xmm1, dword [esp + 0xb8]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1005f1f2
xorps xmm1, xmm1
jmp 0x1005f1fd
subss xmm0, xmm1
movaps xmm1, xmm2
divss xmm1, xmm0
mov eax, dword [esp + 0xb0]
xorps xmm0, xmm0
cdq
idiv ebp
movss dword [esp + 0x18], xmm1
push edx
push dword [esp + 0x2c]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x48], xmm0
call dword [esp + 0x34]
fsub dword [esp + 0xc0]
pop ecx
pop ecx
movss xmm6, dword [0x10088500]
xorps xmm5, xmm5
fmul dword [esp + 0x18]
fstp dword [esp + 0x1c]
comiss xmm5, dword [esp + 0x1c]
jbe 0x1005f24d
xorps xmm0, xmm0
jmp 0x1005f256
movaps xmm0, xmm6
minss xmm0, dword [esp + 0x1c]
xorps xmm1, xmm1
movss dword [esp + 0x48], xmm1
movaps xmm1, xmm6
subss xmm1, xmm0
movss dword [esp + 0x24], xmm1
movss xmm1, dword [esp + 0xb8]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0xbc]
comiss xmm5, xmm0
jbe 0x1005f296
movss xmm5, dword [esp + 0x14]
mulss xmm5, xmm1
addss xmm5, xmm6
jmp 0x1005f29b
comiss xmm5, xmm1
jbe 0x1005f2a3
movss dword [esp + 0x14], xmm5
jmp 0x1005f2a9
movss dword [esp + 0x14], xmm6
cmp dword [esp + 0x30], 0
movaps xmm1, xmm6
push 0x28
pop ecx
push 0x26
pop eax
cmove ecx, eax
call fcn.10004763
cmp dword [esp + 0x30], 0
movaps xmm1, xmm6
push 0x29
pop ecx
mov dword [esp + 0x1c], eax
push 0x27
pop eax
cmove ecx, eax
call fcn.10004763
mov dword [esp + 0x60], eax
test esi, esi
jle 0x1005f4ca
movss xmm0, dword [esp + 0x38]
subss xmm0, dword [esp + 0x54]
movd xmm1, dword [esp + 0x44]
movss xmm2, dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x34]
subss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0x34], xmm0
mov ecx, dword [esp + 0xb0]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x68]
inc ecx
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm2
addss xmm0, dword [0x100884b0]
cvttss2si eax, xmm0
mov dword [esp + 0x40], eax
add eax, ecx
cdq
idiv ebp
push edx
push dword [esp + 0x2c]
call dword [esp + 0x34]
fsub dword [esp + 0xc0]
pop ecx
pop ecx
movss xmm2, dword [0x10088500]
xorps xmm5, xmm5
fmul dword [esp + 0x18]
fstp dword [esp + 0x1c]
comiss xmm5, dword [esp + 0x1c]
ja 0x1005f38a
movaps xmm5, xmm2
minss xmm5, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x48]
movaps xmm1, xmm2
movss xmm6, dword [esp + 0x38]
subss xmm1, xmm5
movss xmm0, dword [esp + 0x24]
movss xmm4, dword [esp + 0x34]
movss xmm5, dword [esp + 0x54]
movss xmm7, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
mulss xmm3, xmm6
mulss xmm0, xmm4
movss dword [esp + 0x1c], xmm1
addss xmm3, xmm5
addss xmm0, xmm7
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x50], xmm0
test eax, eax
jne 0x1005f3e4
movaps xmm4, xmm1
jmp 0x1005f3ea
movss xmm4, dword [esp + 0x14]
movss xmm1, dword [esp + 0x44]
movss xmm0, dword [esp + 0x34]
mulss xmm1, xmm6
mulss xmm0, xmm4
addss xmm1, xmm5
addss xmm0, xmm7
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x90], xmm0
test eax, eax
jne 0x1005f44e
cmp ebx, dword [esp + 0x40]
mov eax, edi
push ecx
cmove eax, dword [esp + 0x64]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x260]
call fcn.1003c046
jmp 0x1005f49c
cmp eax, 1
jne 0x1005f49c
addss xmm3, dword [0x10088580]
comiss xmm1, xmm3
jb 0x1005f46d
subss xmm1, xmm2
movss dword [esp + 0x8c], xmm1
push 0
push ecx
and dword [esp], 0
mov eax, edi
cmp ebx, dword [esp + 0x48]
cmove eax, dword [esp + 0x68]
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x260]
call fcn.1003c1ae
movss xmm2, dword [esp + 0x44]
movaps xmm1, xmm2
movss dword [esp + 0x48], xmm1
movss xmm1, dword [esp + 0x1c]
movss dword [esp + 0x24], xmm1
movss xmm1, dword [esp + 0x6c]
sub esi, 1
jne 0x1005f322
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x1005f529
movss xmm0, dword [esp + 0x7c]
lea ecx, [esp + 0x4c]
and dword [esp + 0x50], 0
xor edx, edx
push edx
movss dword [esp + 0x90], xmm0
movss xmm0, dword [edi + 0x37d8]
addss xmm0, dword [esp + 0x84]
push ecx
push edx
push edx
push eax
lea edx, [esp + 0x98]
mov dword [esp + 0x60], 0x3f000000
lea ecx, [esp + 0xa0]
movss dword [esp + 0xa4], xmm0
call fcn.10004fdc
add esp, 0x14
movss xmm1, dword [esp + 0x58]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1005f572
movss xmm0, dword [edi + 0x37ec]
xor edx, edx
addss xmm0, dword [esp + 0x84]
mov ecx, dword [esp + 0x78]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push 1
call fcn.10004d36
add esp, 0xc
mov eax, ebx
jmp 0x1005f579
or eax, 0xffffffff
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1006dac1
add esp, 0x90
ret