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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10094040
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
push esi
push edi
mov eax, dword [0x100e0458]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x48], esi
movss xmm1, dword [0x1009558c]
movss xmm3, dword [0x10095598]
movaps xmm6, xmm1
mov edi, dword [ebx + 0x14]
movaps xmm7, xmm1
mov cl, byte [ebx + 0xc]
movaps xmm5, xmm3
mov edx, dword [ebx + 0x10]
movaps xmm4, xmm3
mov eax, dword [ebx + 8]
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x18], xmm6
test edi, edi
jle 0x1005e226
add eax, 8
test cl, cl
mov ecx, edi
je 0x1005e1d0
nop dword [eax]
nop word [eax + eax]
movsd xmm2, qword [eax - 8]
movsd xmm1, qword [eax + 8]
movsd xmm0, qword [eax]
add eax, edx
movss xmm6, dword [ebp - 0x1c]
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm1, xmm1
comiss xmm6, xmm2
movss xmm6, dword [ebp - 0x18]
cvtpd2ps xmm0, xmm0
jbe 0x1005e190
movss dword [ebp - 0x1c], xmm2
comiss xmm6, xmm0
jbe 0x1005e19d
movaps xmm6, xmm0
movss dword [ebp - 0x18], xmm6
comiss xmm7, xmm1
jbe 0x1005e1a5
movaps xmm7, xmm1
comiss xmm2, xmm3
jbe 0x1005e1ad
movaps xmm3, xmm2
comiss xmm0, xmm5
jbe 0x1005e1b5
movaps xmm5, xmm0
comiss xmm1, xmm4
jbe 0x1005e1bd
movaps xmm4, xmm1
sub ecx, 1
jne 0x1005e160
jmp 0x1005e226
movss xmm2, dword [eax - 8]
movss xmm6, dword [ebp - 0x1c]
movss xmm0, dword [eax - 4]
movss xmm1, dword [eax]
add eax, edx
comiss xmm6, xmm2
movss xmm6, dword [ebp - 0x18]
jbe 0x1005e1f4
movss dword [ebp - 0x1c], xmm2
comiss xmm6, xmm0
jbe 0x1005e201
movaps xmm6, xmm0
movss dword [ebp - 0x18], xmm6
comiss xmm7, xmm1
jbe 0x1005e209
movaps xmm7, xmm1
comiss xmm2, xmm3
jbe 0x1005e211
movaps xmm3, xmm2
comiss xmm0, xmm5
jbe 0x1005e219
movaps xmm5, xmm0
comiss xmm1, xmm4
jbe 0x1005e221
movaps xmm4, xmm1
sub ecx, 1
jne 0x1005e1d0
movaps xmm1, xmm5
mov dword [ebp - 0x54], 0
subss xmm1, dword [ebp - 0x18]
movaps xmm2, xmm3
movaps xmm6, xmm4
subss xmm2, dword [ebp - 0x1c]
xor ecx, ecx
subss xmm6, xmm7
comiss xmm1, xmm2
jbe 0x1005e269
comiss xmm6, xmm1
lea eax, [esi + 0x70]
mov edx, 2
mov dword [ebp - 0x34], eax
seta cl
inc ecx
mov dword [eax], ecx
xor eax, eax
comiss xmm6, xmm2
cmova edx, eax
jmp 0x1005e285
comiss xmm6, xmm2
mov eax, 2
cmova ecx, eax
xor edx, edx
comiss xmm6, xmm1
lea eax, [esi + 0x70]
mov dword [eax], ecx
mov dword [ebp - 0x34], eax
setbe dl
inc edx
mov dword [esi + 0x68], edx
mov eax, 3
mov dword [ebp - 0x44], eax
cmp edx, ecx
jne 0x1005e2a4
lea eax, [ecx + 1]
xor edx, edx
div dword [ebp - 0x44]
mov eax, 3
mov dword [esi + 0x68], edx
sub eax, edx
movss xmm0, dword [0x10095fec]
sub eax, ecx
mulss xmm2, xmm0
mov dword [esi + 0x6c], eax
inc eax
cdq
idiv dword [ebp - 0x44]
mulss xmm1, xmm0
mulss xmm6, xmm0
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x60], xmm2
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x5c], xmm1
movss dword [ebp - 0x40], xmm6
movss dword [ebp - 0x58], xmm6
cmp edx, ecx
je 0x1005e315
movss xmm0, dword [0x10095380]
xorps xmm2, xmm0
xorps xmm1, xmm0
xorps xmm6, xmm0
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x60], xmm2
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x5c], xmm1
movss dword [ebp - 0x40], xmm6
movss dword [ebp - 0x58], xmm6
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [esi], xmm0
xorps xmm0, xmm0
ucomiss xmm2, xmm0
movss xmm0, dword [0x100da100]
lahf
test ah, 0x44
jnp 0x1005e344
divss xmm0, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100da100]
movss dword [ebp - 0x30], xmm2
xorps xmm2, xmm2
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1005e35c
divss xmm0, xmm1
movaps xmm1, xmm0
movss dword [ebp - 0x20], xmm1
ucomiss xmm6, xmm2
lahf
test ah, 0x44
jnp 0x1005e379
movss xmm0, dword [0x100da100]
divss xmm0, xmm6
movaps xmm6, xmm0
movss dword [ebp - 0x40], xmm6
addss xmm3, dword [ebp - 0x1c]
movss xmm0, dword [0x10095350]
addss xmm4, xmm7
addss xmm5, dword [ebp - 0x18]
mulss xmm3, xmm0
mulss xmm5, xmm0
movss dword [esi + 0x10], xmm3
mulss xmm4, xmm0
movss dword [esi + 0x14], xmm5
movss dword [esi + 0x18], xmm4
mov dword [esi + 0x1c], 0
mov byte [ebp - 0x74], 1
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 4], 0
test edi, edi
js 0x1005e46c
jle 0x1005e46c
mov eax, edi
shl eax, 4
push 0x10
push eax
call fcn.1005c880
mov edx, eax
add esp, 8
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x44], eax
test eax, eax
jle 0x1005e41a
xor ecx, ecx
mov esi, eax
mov eax, dword [ebp - 0x78]
lea ecx, [ecx + 0x10]
movups xmm0, xmmword [eax + ecx - 0x10]
movups xmmword [edx + ecx - 0x10], xmm0
sub esi, 1
jne 0x1005e402
mov esi, dword [ebp - 0x48]
lea eax, [esi + 0x70]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x1005e439
cmp byte [ebp - 0x74], 0
je 0x1005e439
push eax
call fcn.1005c890
mov edx, dword [ebp - 0x1c]
add esp, 4
movups xmm0, xmmword [ebp - 0x70]
mov byte [ebp - 0x74], 1
xor eax, eax
mov dword [ebp - 0x78], edx
mov ecx, edi
mov dword [ebp - 0x7c], edi
nop dword [eax + eax]
lea eax, [eax + 0x10]
movups xmmword [edx + eax - 0x10], xmm0
sub ecx, 1
je 0x1005e462
mov edx, dword [ebp - 0x78]
jmp 0x1005e450
movss xmm6, dword [ebp - 0x40]
movss xmm1, dword [ebp - 0x20]
cmp byte [ebx + 0xc], 0
mov eax, edi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x44], 0
je 0x1005e547
test edi, edi
jle 0x1005e60d
mov eax, dword [ebx + 8]
xor edx, edx
movss xmm5, dword [ebp - 0x30]
add eax, 8
mov dword [ebp - 0x54], 0
nop
movsd xmm0, qword [eax + 8]
movaps xmm2, xmm6
movsd xmm3, qword [eax]
movsd xmm4, qword [eax - 8]
add eax, dword [ebx + 0x10]
cvtpd2ps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x6c]
cvtpd2ps xmm3, xmm3
subss xmm0, dword [esi + 0x18]
subss xmm3, dword [esi + 0x14]
cvtpd2ps xmm4, xmm4
mulss xmm2, xmm0
movaps xmm0, xmm5
subss xmm4, dword [esi + 0x10]
mulss xmm1, xmm3
movss dword [ebp - 0x58], xmm2
mulss xmm0, xmm4
movss dword [ebp - 0x5c], xmm1
movss xmm1, dword [ebp - 0x20]
movss dword [ebp - 0x60], xmm0
cvttss2si ecx, dword [ebp + eax*4 - 0x60]
mov eax, dword [ebp - 0x78]
mov dword [eax + edx], ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cvttss2si ecx, dword [ebp + eax*4 - 0x60]
mov eax, dword [ebp - 0x78]
mov dword [eax + edx + 4], ecx
mov eax, dword [esi + 0x68]
cvttss2si ecx, dword [ebp + eax*4 - 0x60]
mov eax, dword [ebp - 0x78]
mov dword [eax + edx + 8], ecx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x44]
mov dword [eax + edx + 0xc], ecx
inc ecx
mov eax, dword [ebp - 0x40]
add edx, 0x10
mov dword [ebp - 0x44], ecx
cmp ecx, edi
jl 0x1005e4a0
jmp 0x1005e60a
test edi, edi
jle 0x1005e60d
mov eax, dword [ebx + 8]
xor edx, edx
movss xmm4, dword [ebp - 0x20]
add eax, 8
movss xmm5, dword [ebp - 0x30]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x40], eax
nop dword [eax + eax]
movss xmm0, dword [eax - 4]
movaps xmm3, xmm6
mov edi, dword [ebp - 0x40]
movss xmm2, dword [eax - 8]
subss xmm0, dword [esi + 0x14]
subss xmm2, dword [esi + 0x10]
movss xmm1, dword [edi]
subss xmm1, dword [esi + 0x18]
mov eax, dword [esi + 0x6c]
add edi, dword [ebx + 0x10]
mov dword [ebp - 0x40], edi
mov edi, dword [ebx + 0x14]
mulss xmm3, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm2
movss dword [ebp - 0x5c], xmm1
movss dword [ebp - 0x58], xmm3
movss dword [ebp - 0x60], xmm0
cvttss2si ecx, dword [ebp + eax*4 - 0x60]
mov eax, dword [ebp - 0x78]
mov dword [eax + edx], ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cvttss2si ecx, dword [ebp + eax*4 - 0x60]
mov eax, dword [ebp - 0x78]
mov dword [eax + edx + 4], ecx
mov eax, dword [esi + 0x68]
cvttss2si ecx, dword [ebp + eax*4 - 0x60]
mov eax, dword [ebp - 0x78]
mov dword [eax + edx + 8], ecx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x44]
mov dword [eax + edx + 0xc], ecx
inc ecx
mov eax, dword [ebp - 0x40]
add edx, 0x10
mov dword [ebp - 0x44], ecx
cmp ecx, edi
jl 0x1005e570
mov eax, dword [ebp - 0x80]
cmp eax, 1
jle 0x1005e625
dec eax
lea ecx, [ebp - 0x84]
push eax
push 0
lea eax, [ebp - 0x11]
push eax
call fcn.1005cee0
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], edi
mov ecx, dword [esi + 0x54]
mov dword [ebp - 0x34], ecx
cmp edi, ecx
jl 0x1005e6d1
jle 0x1005e6be
cmp dword [esi + 0x58], edi
jge 0x1005e6be
test edi, edi
je 0x1005e667
lea eax, [edi*4]
push 0x10
push eax
call fcn.1005c880
add esp, 8
mov dword [ebp - 0x44], eax
mov edx, eax
jmp 0x1005e66c
xor edx, edx
mov dword [ebp - 0x44], edx
mov eax, dword [esi + 0x54]
xor ecx, ecx
mov dword [ebp - 0x40], eax
test eax, eax
jle 0x1005e691
mov edi, eax
nop word [eax + eax]
mov eax, dword [esi + 0x5c]
mov eax, dword [eax + ecx*4]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x1005e680
mov edi, dword [ebx + 0x14]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x1005e6ae
cmp byte [esi + 0x60], 0
je 0x1005e6a7
push eax
call fcn.1005c890
add esp, 4
mov dword [esi + 0x5c], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
mov byte [esi + 0x60], 1
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], edi
cmp ecx, edi
jge 0x1005e6d1
mov eax, dword [esi + 0x5c]
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, edi
jl 0x1005e6c2
xor edx, edx
mov dword [esi + 0x54], edi
mov dword [ebp - 0x34], edx
test edi, edi
jle 0x1005e7c1
mov dword [ebp - 0x40], edx
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x1005e76c
mov edi, dword [esi + 0x24]
test edi, edi
je 0x1005e6fe
mov eax, dword [edi + 8]
mov dword [esi + 0x24], eax
jmp 0x1005e72f
push 0x10
push 0xc
call fcn.1005c880
mov ecx, dword [esi + 0x2c]
mov edi, eax
push 0x10
mov dword [edi + 4], ecx
imul ecx, ecx, 0x70
mov dword [edi + 8], 0
push ecx
call fcn.1005c880
mov dword [edi], eax
add esp, 0x10
mov eax, dword [esi + 0x20]
mov dword [edi + 8], eax
mov dword [esi + 0x20], edi
mov eax, dword [edi]
xor edx, edx
mov dword [ebp - 0x44], eax
cmp dword [edi + 4], edx
jle 0x1005e767
mov esi, dword [edi + 4]
nop
inc edx
mov dword [ebp - 0x30], 0
cmp edx, esi
lea ecx, [eax + 0x70]
mov esi, dword [ebp - 0x44]
mov eax, ecx
cmovge eax, dword [ebp - 0x30]
mov dword [esi], eax
mov eax, ecx
mov esi, dword [edi + 4]
mov dword [ebp - 0x44], eax
cmp edx, esi
jl 0x1005e740
mov esi, dword [ebp - 0x48]
mov ecx, dword [edi]
mov edx, dword [ebp - 0x34]
mov eax, dword [ecx]
mov edi, dword [ebp - 0x40]
add dword [ebp - 0x40], 0x10
mov dword [esi + 0x28], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x68], 0xffffffff
mov dword [ecx + 8], 0
mov eax, dword [ebp - 0x78]
movups xmm0, xmmword [eax + edi]
mov edi, dword [ebx + 0x14]
movups xmmword [ecx + 0x58], xmm0
mov eax, dword [esi + 0x5c]
mov dword [eax + edx*4], ecx
inc edx
mov dword [ebp - 0x34], edx
cmp edx, edi
jl 0x1005e6e4
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x1005e7d7
cmp byte [ebp - 0x74], 0
je 0x1005e7d7
push eax
call fcn.1005c890
add esp, 4
mov eax, dword [esi + 0x30]
xorps xmm0, xmm0
mov dword [esi + 0x34], eax
mov ecx, esi
lea eax, [edi + edi*2]
mov byte [ebp - 0x74], 1
add eax, eax
mov dword [ebp - 0x78], 0
mov dword [esi + 0x3c], eax
lea eax, [ebp - 0x70]
push eax
push edi
push 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x64], 0xfffffffd
movups xmmword [ebp - 0x70], xmm0
call fcn.1005e870
mov eax, dword [ebp - 0x70]
mov dword [esi + 0x7c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 4], 1
test eax, eax
je 0x1005e852
cmp byte [ebp - 0x74], 0
je 0x1005e852
push eax
call fcn.1005c890
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10