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

Disassembly:
sub esp, 0x98
mov eax, dword [0x100bd040]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
push ebx
push ebp
push esi
mov dword [esp + 0x28], eax
mov ebx, edx
mov eax, dword [esp + 0xac]
push edi
mov edi, dword [0x100c353c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x3e28]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x7c], edi
mov byte [eax + 0xa8], 1
mov ebp, dword [edi + 0x3e28]
mov dword [esp + 0x68], ebp
cmp byte [ebp + 0xab], 0
jne 0x1005be9e
push ecx
push ebx
mov ecx, ebp
call fcn.10006542
push ecx
mov dword [esp], 0xbf800000
lea ecx, [esp + 0x5c]
push 1
push 0
mov edx, ebx
mov esi, eax
call fcn.100085b1
movss xmm4, dword [esp + 0xd4]
add esp, 0xc
xorps xmm3, xmm3
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jp 0x1005b6f5
call fcn.1000fe89
movaps xmm4, xmm0
movss dword [esp + 0xc8], xmm4
movss xmm2, dword [esp + 0xcc]
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x1005b722
movss xmm2, dword [edi + 0x37d8]
addss xmm2, xmm2
addss xmm2, dword [esp + 0x5c]
movss dword [esp + 0xcc], xmm2
addss xmm4, dword [ebp + 0xec]
movss xmm1, dword [edi + 0x37d4]
addss xmm2, dword [ebp + 0xf0]
mov edx, dword [ebp + 0xec]
mov ebx, dword [ebp + 0xf0]
movaps xmm0, xmm4
mov dword [esp + 0x84], edx
subss xmm0, xmm1
mov dword [esp + 0x88], ebx
movaps xmm5, xmm2
movss dword [esp + 0x8c], xmm4
movss dword [esp + 0x90], xmm2
movss dword [esp + 0x34], xmm0
movss xmm0, dword [edi + 0x37d8]
subss xmm5, xmm0
movss dword [esp + 0x30], xmm5
movss xmm5, dword [esp + 0x84]
addss xmm5, xmm1
movss xmm1, dword [esp + 0x88]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x58]
comiss xmm0, xmm3
movss dword [esp + 0x4c], xmm5
movss dword [esp + 0x38], xmm1
jbe 0x1005b7c3
addss xmm0, dword [edi + 0x37ec]
jmp 0x1005b7c6
xorps xmm0, xmm0
movss xmm1, dword [edi + 0x37d8]
addss xmm4, xmm0
addss xmm2, xmm3
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ebx
lea ecx, [esp + 0x44]
movss dword [esp + 0x9c], xmm4
subss xmm4, dword [esp + 0x94]
movss dword [esp + 0xa0], xmm2
subss xmm2, dword [esp + 0x98]
movss dword [esp + 0x44], xmm4
movss dword [esp + 0x48], xmm2
call fcn.1000f819
lea eax, [esp + 0x84]
xor edx, edx
push 0
push eax
lea ecx, [esp + 0x9c]
call fcn.1000f96d
pop ecx
pop ecx
test al, al
je 0x1005be9e
mov edx, esi
lea ecx, [esp + 0x84]
call fcn.10006ada
movss xmm1, dword [0x100b1c98]
movss xmm0, dword [esp + 0xc0]
mov ebp, dword [esp + 0xb4]
ucomiss xmm0, xmm1
mov byte [esp + 0x27], al
lahf
test ah, 0x44
jnp 0x1005b888
movss xmm2, dword [esp + 0xc4]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x1005b936
movss xmm3, dword [0x100b1d0c]
movaps xmm2, xmm1
xor esi, esi
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x18], xmm3
test ebp, ebp
jle 0x1005b906
mov ebx, dword [esp + 0x28]
push esi
push ebx
call dword [esp + 0x34]
fstp dword [esp + 0x58]
movss xmm1, dword [esp + 0x58]
ucomiss xmm1, xmm1
pop ecx
pop ecx
lahf
test ah, 0x44
jp 0x1005b8e4
movaps xmm2, xmm1
maxss xmm1, dword [esp + 0x18]
minss xmm2, dword [esp + 0x14]
movaps xmm3, xmm1
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x18], xmm3
jmp 0x1005b8f0
movss xmm2, dword [esp + 0x14]
movss xmm3, dword [esp + 0x18]
inc esi
cmp esi, ebp
jl 0x1005b8a9
movss xmm0, dword [esp + 0xc0]
movss xmm1, dword [0x100b1c98]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1005b91b
movaps xmm0, xmm2
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0xc4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1005b936
movss dword [esp + 0xc4], xmm3
movss xmm1, dword [0x100b1aa4]
push 7
pop ecx
call fcn.1000471a
push dword [esp + 0x90]
movss xmm2, dword [edi + 0x37dc]
mov dl, 1
push dword [esp + 0x90]
mov ecx, eax
push dword [esp + 0x90]
push dword [esp + 0x90]
call fcn.10005354
mov edx, dword [esp + 0x2c]
xor eax, eax
add esp, 0x10
or ebx, 0xffffffff
test edx, edx
sete al
inc eax
cmp ebp, eax
jl 0x1005bdef
cvttss2si eax, dword [esp + 0xc8]
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 + 0x3c], eax
cmp byte [esp + 0x27], 0
mov dword [esp + 0x40], esi
je 0x1005bad0
movss xmm1, dword [edi + 0xdb8]
movss xmm2, dword [esp + 0x4c]
comiss xmm1, xmm2
jb 0x1005bad0
movss xmm0, dword [edi + 0xdbc]
comiss xmm0, dword [esp + 0x38]
jb 0x1005bad0
movss xmm3, dword [esp + 0x34]
comiss xmm3, xmm1
jbe 0x1005bad0
movss xmm4, dword [esp + 0x30]
comiss xmm4, xmm0
jbe 0x1005bad0
movaps xmm0, xmm3
subss xmm1, xmm2
subss xmm0, xmm2
divss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1005ba21
xorps xmm2, xmm2
jmp 0x1005ba2d
movss xmm2, dword [0x100b1a98]
minss xmm2, xmm1
mov esi, dword [esp + 0xb8]
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 + 0x2c]
add esp, 0x10
fstp dword [esp + 0x50]
test edx, edx
jne 0x1005baa9
movss xmm0, dword [esp + 0x50]
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.10010a29
add esp, 0x1c
jmp 0x1005bacc
cmp edx, 1
jne 0x1005bacc
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.10010a29
add esp, 0x10
mov esi, dword [esp + 0x40]
movss xmm2, dword [0x100b1aa4]
movd xmm0, esi
movaps xmm1, xmm2
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x74], xmm1
movss xmm1, dword [esp + 0xc0]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1005bb0c
xorps xmm1, xmm1
jmp 0x1005bb17
subss xmm0, xmm1
movaps xmm1, xmm2
divss xmm1, xmm0
mov eax, dword [esp + 0xb8]
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 + 0x9c], xmm0
call dword [esp + 0x34]
fsub dword [esp + 0xc8]
pop ecx
pop ecx
movss xmm6, dword [0x100b1aa4]
xorps xmm5, xmm5
fmul dword [esp + 0x18]
fstp dword [esp + 0x20]
comiss xmm5, dword [esp + 0x20]
jbe 0x1005bb6a
xorps xmm0, xmm0
jmp 0x1005bb73
movaps xmm0, xmm6
minss xmm0, dword [esp + 0x20]
xorps xmm1, xmm1
movss dword [esp + 0x40], xmm1
movaps xmm1, xmm6
subss xmm1, xmm0
movss dword [esp + 0x50], xmm1
movss xmm1, dword [esp + 0xc0]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0xc4]
comiss xmm5, xmm0
jbe 0x1005bbb3
movss xmm5, dword [esp + 0x14]
mulss xmm5, xmm1
addss xmm5, xmm6
jmp 0x1005bbb8
comiss xmm5, xmm1
jbe 0x1005bbc0
movss dword [esp + 0x14], xmm5
jmp 0x1005bbc6
movss dword [esp + 0x14], xmm6
cmp dword [esp + 0x1c], 0
movaps xmm1, xmm6
push 0x28
pop ecx
push 0x26
pop eax
cmove ecx, eax
call fcn.1000471a
cmp dword [esp + 0x1c], 0
movaps xmm1, xmm6
push 0x29
pop ecx
mov dword [esp + 0x60], eax
push 0x27
pop eax
cmove ecx, eax
call fcn.1000471a
mov dword [esp + 0x64], eax
test esi, esi
jle 0x1005bdef
movss xmm0, dword [esp + 0x34]
subss xmm0, dword [esp + 0x4c]
movd xmm1, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x94]
mov edi, dword [esp + 0x1c]
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [esp + 0x38]
movss dword [esp + 0x78], xmm1
movss dword [esp + 0x30], xmm0
mov ecx, dword [esp + 0xb8]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x74]
inc ecx
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm2
addss xmm0, dword [0x100b1a5c]
cvttss2si eax, xmm0
mov dword [esp + 0x3c], eax
add eax, ecx
cdq
idiv ebp
push edx
push dword [esp + 0x2c]
call dword [esp + 0x34]
fsub dword [esp + 0xc8]
pop ecx
pop ecx
movss xmm1, dword [0x100b1aa4]
xorps xmm5, xmm5
fmul dword [esp + 0x18]
fstp dword [esp + 0x20]
comiss xmm5, dword [esp + 0x20]
ja 0x1005bcaa
movaps xmm5, xmm1
minss xmm5, dword [esp + 0x20]
movss xmm3, dword [esp + 0x40]
movaps xmm0, xmm1
movss xmm6, dword [esp + 0x34]
subss xmm0, xmm5
movss xmm5, dword [esp + 0x4c]
movss xmm7, dword [esp + 0x38]
movss xmm2, dword [esp + 0x1c]
mulss xmm3, xmm6
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x50]
mulss xmm0, dword [esp + 0x30]
addss xmm3, xmm5
addss xmm0, xmm7
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x48], xmm0
test edi, edi
jne 0x1005bd0b
movss xmm4, dword [esp + 0x20]
movss dword [esp + 0x50], xmm2
jmp 0x1005bd11
movss xmm4, dword [esp + 0x14]
movss xmm0, dword [esp + 0x30]
mulss xmm2, xmm6
mulss xmm0, xmm4
addss xmm2, xmm5
addss xmm0, xmm7
movss dword [esp + 0x94], xmm2
movss dword [esp + 0x98], xmm0
test edi, edi
jne 0x1005bd71
cmp ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x60]
cmove eax, dword [esp + 0x64]
push ecx
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x260]
call fcn.1003c328
jmp 0x1005bdc1
cmp edi, 1
jne 0x1005bdc1
addss xmm3, dword [0x100b1b20]
comiss xmm2, xmm3
jb 0x1005bd90
subss xmm2, xmm1
movss dword [esp + 0x94], xmm2
mov eax, dword [esp + 0x60]
push 0
push ecx
and dword [esp], 0
cmp ebx, dword [esp + 0x44]
cmove eax, dword [esp + 0x6c]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x260]
call fcn.1003c4a2
movss xmm1, dword [esp + 0x20]
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x50], xmm1
movaps xmm2, xmm0
movss xmm1, dword [esp + 0x78]
movss dword [esp + 0x40], xmm0
sub esi, 1
jne 0x1005bc42
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x1005be4e
movss xmm0, dword [esp + 0x84]
lea ecx, [esp + 0x44]
and dword [esp + 0x48], 0
xor edx, edx
push edx
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x8c]
addss xmm0, dword [edi + 0x37d8]
push ecx
push edx
push edx
push eax
lea edx, [esp + 0xa0]
mov dword [esp + 0x58], 0x3f000000
lea ecx, [esp + 0x80]
movss dword [esp + 0x84], xmm0
call fcn.10004f82
add esp, 0x14
movss xmm1, dword [esp + 0x58]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1005be9a
movss xmm0, dword [esp + 0x8c]
xor edx, edx
addss xmm0, dword [edi + 0x37ec]
mov ecx, dword [esp + 0x80]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push 1
call fcn.10004cde
add esp, 0xc
mov eax, ebx
jmp 0x1005bea1
or eax, 0xffffffff
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10069b82
add esp, 0x98
ret