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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x10185028]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [eax + 0x3e40]
mov dword [esp + 0x34], eax
cmp dword [esi + 0x48], 0xffffffff
mov dword [esp + 0x1c], edi
je 0x1005e4d4
push esi
call fcn.1005eb90
mov eax, dword [esp + 0x38]
add esp, 4
cmp byte [eax + 0x5a74], 0
je 0x1005e4ee
push 0
push 0x100ee018
push 0
call fcn.1001b670
add esp, 0xc
mov eax, dword [esi + 0x54]
mov dword [edi + 0xf4], eax
movsx eax, word [esi + 0x1c8]
movss xmm2, dword [esi + 0x50]
movss xmm1, dword [esi + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x44]
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x34], xmm1
lea ecx, [eax + 1]
mov dword [esp + 0x10], ecx
movsx ecx, word [esi + 0x1c6]
mov dword [esp + 0x3c], ecx
test eax, eax
jne 0x1005e55a
movsx ecx, word [esi + 0x4c]
test ecx, ecx
jne 0x1005e541
lea eax, [esi + 0x16c]
jmp 0x1005e54f
mov eax, dword [esi + 0x17c]
shl ecx, 4
add eax, 0xfffffff8
add eax, ecx
movaps xmm0, xmm1
subss xmm0, xmm2
movss dword [eax], xmm0
comiss xmm1, dword [esi + 0xf0]
jb 0x1005e8e9
movss xmm0, dword [esi + 0xf8]
comiss xmm0, xmm2
jb 0x1005e8e9
mov eax, dword [esi + 0x6c]
lea ecx, [esi + 4]
mov dword [esp + 0x14], 0
cmp eax, 0x1000000
jne 0x1005e5af
test byte [ecx], 0x40
je 0x1005e5b3
mov eax, dword [esi + 0x68]
push ecx
and eax, 1
mov dword [esp], 0x3f800000
add eax, 0x2d
push eax
call fcn.10011380
add esp, 8
lea ecx, [esi + 4]
mov dword [esp + 0x14], eax
mov edx, dword [esi + 0x70]
xor eax, eax
cmp edx, 0x1000000
mov dword [esp + 0x18], eax
cmove edx, eax
mov dword [esp + 0x24], edx
cmp dword [esi + 0x44], eax
jg 0x1005e5dc
mov eax, dword [esi + 0x150]
cmp eax, dword [esi + 0x14c]
jne 0x1005e5f6
test byte [ecx], 0x80
je 0x1005e5f6
test dword [esi + 0x64], 0x10000
je 0x1005e5ef
mov eax, dword [esi + 0x74]
jmp 0x1005e5f2
mov eax, dword [esi + 0x78]
mov dword [esp + 0x18], eax
mov ax, word [esi + 0x1ce]
shr ax, 0xf
xor al, 1
mov word [esp + 0xe], ax
mov eax, edx
or eax, dword [esp + 0x18]
or eax, dword [esp + 0x14]
jne 0x1005e625
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x10], eax
je 0x1005e625
cmp byte [esp + 0xe], 0
je 0x1005e65f
test dword [ecx], 0x100000
jne 0x1005e648
movups xmm0, xmmword [esi + 0x10c]
mov eax, dword [edi + 0x264]
movups xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [eax + 0x60], xmm0
mov ecx, dword [esi + 0x160]
push 0
push dword [edi + 0x264]
call fcn.10046060
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1005e66f
test edx, edx
je 0x1005e725
movss xmm0, dword [esi + 0xdc]
movss xmm1, dword [esi + 0x100]
movss xmm2, dword [esi + 0x108]
maxss xmm0, dword [esi + 0xfc]
maxss xmm1, dword [esp + 0x2c]
minss xmm2, dword [esp + 0x34]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 0xe4]
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x4c], xmm2
minss xmm0, dword [esi + 0x104]
movss dword [esp + 0x48], xmm0
test eax, eax
je 0x1005e6f8
comiss xmm2, xmm1
jbe 0x1005e6f8
push 0
push ecx
mov ecx, dword [edi + 0x264]
mov dword [esp], 0
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10046570
movss xmm2, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1005e725
comiss xmm2, xmm1
jbe 0x1005e725
push 0
push ecx
mov ecx, dword [edi + 0x264]
mov dword [esp], 0
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10046570
cmp byte [esp + 0xe], 0
je 0x1005e817
mov edi, dword [esi + 0x20]
movsx eax, word [esi + 0x1ce]
lea eax, [edi + eax*8]
mov dword [esp + 0x14], eax
cmp edi, eax
ja 0x1005e813
nop dword [eax]
movsx eax, word [edi + 4]
imul ecx, eax, 0x70
push eax
lea eax, [esp + 0x44]
push esi
push eax
add ecx, dword [esi + 0x10]
mov dword [esp + 0x30], ecx
call fcn.1005ec30
movss xmm0, dword [esi + 0x100]
add esp, 0xc
maxss xmm0, dword [esp + 0x44]
movss xmm2, dword [esp + 0x48]
movss xmm1, dword [esi + 0xfc]
maxss xmm1, dword [esp + 0x40]
minss xmm2, dword [esi + 0x104]
mov eax, dword [esp + 0x24]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x108]
minss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [eax + 0x20]
comiss xmm1, xmm0
jae 0x1005e7d1
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 0xc]
comiss xmm0, xmm2
ja 0x1005e7e1
movss dword [esp + 0x48], xmm0
push 0
push ecx
mov dword [esp], 0
lea eax, [esp + 0x50]
push dword [edi]
push eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x264]
call fcn.10046570
add edi, 8
cmp edi, dword [esp + 0x14]
jbe 0x1005e750
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1005e87e
movss xmm1, dword [esp + 0x2c]
comiss xmm1, dword [esi + 0x100]
jb 0x1005e87e
movss xmm0, dword [esi + 0x108]
comiss xmm0, xmm1
jbe 0x1005e87e
movss xmm0, dword [esi + 0x80]
push ecx
mov ecx, dword [edi + 0x264]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x34]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esi + 0x7c]
push eax
lea eax, [esp + 0x30]
movss dword [esp + 0x3c], xmm1
push eax
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x38], xmm1
call fcn.100463c0
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x20]
jne 0x1005e8ed
movss xmm1, dword [esp + 0x34]
comiss xmm1, dword [esi + 0x100]
jb 0x1005e8ed
movss xmm0, dword [esi + 0x108]
comiss xmm0, xmm1
jbe 0x1005e8ed
movss xmm0, dword [esi + 0x80]
lea eax, [esp + 0x34]
push ecx
mov ecx, dword [edi + 0x264]
mov dword [esp], 0x3f800000
push dword [esi + 0x74]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esi + 0x7c]
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x44], xmm1
push eax
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x40], xmm1
call fcn.100463c0
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x3c]
jne 0x1005e915
xor edx, edx
cmp dword [esi + 0x40], edx
jle 0x1005e915
xor ecx, ecx
nop dword [eax]
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov byte [eax + ecx - 6], 0
cmp edx, dword [esi + 0x40]
jl 0x1005e900
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x20]
jne 0x1005ea2f
movss xmm0, dword [esi + 0x54]
addss xmm0, dword [0x100d5914]
movsx ecx, word [esi + 0x4c]
maxss xmm0, dword [edi + 0x1e4]
mov byte [esi + 0x1e1], 1
movaps xmm1, xmm0
subss xmm1, dword [esi + 0xc0]
test ecx, ecx
jne 0x1005e956
lea eax, [esi + 0x170]
jmp 0x1005e964
mov eax, dword [esi + 0x17c]
shl ecx, 4
add eax, 0xfffffffc
add eax, ecx
movss dword [eax], xmm1
minss xmm0, dword [edi + 0x1ec]
movss xmm1, dword [esi + 0x54]
mov ax, word [esi + 0x1d4]
movss dword [esi + 0x120], xmm0
movss dword [esi + 0x100], xmm0
movss xmm0, dword [edi + 0x1ec]
movss dword [esi + 0x128], xmm0
movss dword [esi + 0x108], xmm0
movaps xmm0, xmm1
addss xmm1, dword [esi + 0xe0]
subss xmm0, dword [esi + 0x50]
mov word [esi + 0x1d2], ax
subss xmm1, dword [esi + 0xc0]
movss dword [edi + 0xf4], xmm1
xor edi, edi
movss dword [esi + 0x54], xmm1
subss xmm1, xmm0
movss dword [esi + 0x50], xmm1
cmp dword [esi + 0x40], edi
jle 0x1005ea02
xor edx, edx
mov ecx, dword [esi + 0x10]
lea edx, [edx + 0x70]
inc edi
mov ax, word [ecx + edx - 0x10]
mov word [ecx + edx - 0x14], ax
mov eax, dword [esi + 0x120]
mov dword [ecx + edx - 0x4c], eax
cmp edi, dword [esi + 0x40]
jl 0x1005e9e2
mov eax, dword [esi + 0x10]
mov edi, dword [esp + 0x1c]
add eax, 0x20
push eax
push edi
call fcn.10059bf0
mov eax, dword [esi + 0x10]
add esp, 8
mov ecx, dword [esi + 0x160]
movzx eax, word [eax + 0x5c]
push eax
push dword [edi + 0x264]
call fcn.10046060
test byte [esi + 0x64], 1
mov byte [esi + 0x1d7], 0
jne 0x1005ea3f
inc dword [esi + 0x68]
pop edi
pop esi
mov esp, ebp
pop ebp
ret