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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x10033008]
xor eax, esp
mov dword [esp + 0xb4], eax
mov edx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x40], 0
cmp dword [edx + 0x24], 0
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
mov esi, dword [edx + 0x2c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x18], esi
je 0x100105ed
mov eax, dword [edi + 4]
sub eax, esi
mov dword [esp + 0x18], eax
mov eax, ecx
imul eax, dword [esp + 0x1c]
shl eax, 2
push eax
push 0
push dword [edx + 0x14]
call fcn.10019a00
add esp, 0xc
lea ecx, [esp + 0x50]
call fcn.10001aa0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x50
jne 0x1001092e
cmp dword [edi + 8], 0
mov dword [esp + 0x14], 0
jle 0x10010738
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
push 0x40
lea eax, [esp + 0x54]
push 0
push eax
call fcn.10019a00
add esp, 0xc
mov dword [esp + 0x64], 0x3f800000
test byte [esp + 0x14], 1
je 0x1001068d
movd xmm0, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1002b2a0]
mulss xmm0, dword [0x1002b274]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
call fcn.10023950
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x20]
jmp 0x100106c5
mov eax, dword [esp + 0x18]
neg eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1002b2a0]
mulss xmm0, dword [0x1002b274]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
call fcn.10023950
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x20]
movss dword [esp + 0x78], xmm1
movss dword [esp + 0x50], xmm1
call fcn.10023df0
add esi, dword [edi + 0xc]
lea eax, [esp + 0x38]
cvtsd2ss xmm0, xmm0
push eax
mov ecx, esi
xorps xmm0, xmmword [0x1002b370]
movss dword [esp + 0x5c], xmm0
xorps xmm0, xmmword [0x1002b370]
movss dword [esp + 0x74], xmm0
call fcn.10011dc0
push eax
mov eax, dword [edi + 0x18]
lea ecx, [esp + 0x54]
add eax, dword [esp + 0x10]
push eax
push esi
call fcn.10001b40
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
inc eax
add dword [esp + 0xc], 0x20
add esi, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
cmp eax, dword [edi + 8]
jl 0x10010637
mov esi, dword [edi + 8]
xor ecx, ecx
test esi, esi
jle 0x10010770
mov eax, dword [edi + 0x18]
mov edx, esi
add eax, 0x18
nop dword [eax]
movss xmm1, dword [eax - 8]
subss xmm1, dword [eax]
movd xmm0, ecx
add eax, 0x20
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvttss2si ecx, xmm1
sub edx, 1
jne 0x10010750
mov eax, dword [esp + 0x1c]
xorps xmm3, xmm3
sub eax, ecx
cdq
sub eax, edx
xor edx, edx
mov ecx, eax
sar ecx, 1
test esi, esi
jle 0x10010825
mov eax, dword [edi + 0x18]
add eax, 0x14
movd xmm2, ecx
inc edx
cvtdq2ps xmm2, xmm2
movaps xmm1, xmm2
subss xmm1, dword [eax + 4]
movaps xmm0, xmm1
addss xmm0, dword [eax - 0x14]
movss dword [eax - 0x14], xmm0
movss xmm0, dword [eax - 0x10]
addss xmm0, xmm3
movss dword [eax - 0x10], xmm0
movss xmm0, dword [eax - 0xc]
addss xmm0, xmm1
movss dword [eax - 0xc], xmm0
movss xmm0, dword [eax - 8]
addss xmm0, xmm3
movss dword [eax - 8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [eax - 4]
movss dword [eax - 4], xmm0
movss xmm0, dword [eax]
addss xmm0, xmm3
movss dword [eax], xmm0
movss xmm0, dword [eax + 8]
addss xmm1, dword [eax + 4]
addss xmm0, xmm3
movss dword [eax + 4], xmm1
movss dword [eax + 8], xmm0
movss xmm0, dword [eax - 4]
add eax, 0x20
subss xmm0, xmm1
addss xmm0, xmm2
cvttss2si ecx, xmm0
cmp edx, dword [edi + 8]
jl 0x10010790
cmp dword [edi + 8], 0
mov dword [esp + 0x10], 0
jle 0x10010c34
movss xmm1, dword [0x1002b1fc]
xor esi, esi
movss xmm2, dword [0x1002b2cc]
xor eax, eax
mov dword [esp + 0xc], eax
nop
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x18]
add ecx, esi
add edx, eax
movss xmm4, dword [ecx]
comiss xmm4, xmm3
jb 0x10010868
movaps xmm0, xmm1
jmp 0x1001086b
movaps xmm0, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [esp + 0x28], eax
movss xmm4, dword [ecx + 4]
comiss xmm4, xmm3
jb 0x10010886
movaps xmm0, xmm1
jmp 0x10010889
movaps xmm0, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [esp + 0x2c], eax
movss xmm4, dword [ecx + 8]
comiss xmm4, xmm3
jb 0x100108a4
movaps xmm0, xmm1
jmp 0x100108a7
movaps xmm0, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [esp + 0x30], eax
movss xmm4, dword [ecx + 0xc]
comiss xmm4, xmm3
jb 0x100108c2
movaps xmm0, xmm1
jmp 0x100108c5
movaps xmm0, xmm2
addss xmm0, xmm4
push 0
push 0
lea ecx, [esp + 0x48]
cvttss2si eax, xmm0
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 8]
push dword [eax + 0x14]
push ecx
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x3c]
push ecx
push ecx
mov ecx, dword [eax + 0x28]
call fcn.10014680
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
mov eax, dword [esp + 0xc]
inc ecx
movss xmm1, dword [0x1002b1fc]
add eax, 0x20
movss xmm2, dword [0x1002b2cc]
add esi, 0x10
xorps xmm3, xmm3
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
cmp ecx, dword [edi + 8]
jl 0x10010850
jmp 0x10010c34
cmp dword [edi + 8], 0
mov dword [esp + 0xc], 0
jle 0x10010a4a
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
nop word [eax + eax]
push 0x40
lea eax, [esp + 0x54]
push 0
push eax
call fcn.10019a00
add esp, 0xc
mov dword [esp + 0x50], 0x3f800000
test byte [esp + 0xc], 1
je 0x100109a6
movd xmm0, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1002b2a0]
mulss xmm0, dword [0x1002b274]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x38], xmm0
call fcn.10023950
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x38]
jmp 0x100109de
mov eax, dword [esp + 0x18]
neg eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1002b2a0]
mulss xmm0, dword [0x1002b274]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x38], xmm0
call fcn.10023950
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x38]
movss dword [esp + 0x78], xmm1
movss dword [esp + 0x64], xmm1
call fcn.10023df0
add esi, dword [edi + 0xc]
lea eax, [esp + 0x28]
cvtsd2ss xmm0, xmm0
push eax
mov ecx, esi
movss dword [esp + 0x6c], xmm0
xorps xmm0, xmmword [0x1002b370]
movss dword [esp + 0x78], xmm0
call fcn.10011dc0
push eax
mov eax, dword [edi + 0x18]
lea ecx, [esp + 0x54]
add eax, dword [esp + 0x18]
push eax
push esi
call fcn.10001b40
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
inc eax
add dword [esp + 0x14], 0x20
add esi, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
cmp eax, dword [edi + 8]
jl 0x10010950
mov esi, dword [edi + 8]
xor ecx, ecx
test esi, esi
jle 0x10010a80
mov eax, dword [edi + 0x18]
mov edx, esi
add eax, 0xc
nop dword [eax + eax]
movss xmm1, dword [eax + 8]
subss xmm1, dword [eax]
movd xmm0, ecx
add eax, 0x20
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvttss2si ecx, xmm1
sub edx, 1
jne 0x10010a60
mov eax, dword [esp + 0x20]
xorps xmm3, xmm3
sub eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
test esi, esi
jle 0x10010b36
mov ecx, dword [edi + 0x18]
add ecx, 0x14
nop
movss xmm0, dword [ecx - 0x14]
inc edx
addss xmm0, xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm1, xmm2
subss xmm1, dword [ecx - 0x10]
movss dword [ecx - 0x14], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ecx - 0x10]
movss dword [ecx - 0x10], xmm0
movss xmm0, dword [ecx - 0xc]
addss xmm0, xmm3
movss dword [ecx - 0xc], xmm0
movss xmm0, dword [ecx - 8]
addss xmm0, xmm1
movss dword [ecx - 8], xmm0
movss xmm0, dword [ecx - 4]
addss xmm0, xmm3
movss dword [ecx - 4], xmm0
movss xmm0, dword [ecx]
addss xmm0, xmm1
movss dword [ecx], xmm0
movss xmm0, dword [ecx + 4]
addss xmm1, dword [ecx + 8]
addss xmm0, xmm3
movss dword [ecx + 8], xmm1
movss dword [ecx + 4], xmm0
movss xmm0, dword [ecx]
subss xmm0, dword [ecx - 8]
add ecx, 0x20
addss xmm0, xmm2
cvttss2si eax, xmm0
cmp edx, dword [edi + 8]
jl 0x10010aa0
cmp dword [edi + 8], 0
mov dword [esp + 0x10], 0
jle 0x10010c34
movss xmm1, dword [0x1002b1fc]
xor esi, esi
movss xmm2, dword [0x1002b2cc]
xor eax, eax
mov dword [esp + 0xc], eax
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x18]
add ecx, esi
add edx, eax
movss xmm0, dword [ecx]
comiss xmm0, xmm3
jb 0x10010b78
movaps xmm4, xmm1
jmp 0x10010b7b
movaps xmm4, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [esp + 0x28], eax
movss xmm0, dword [ecx + 4]
comiss xmm0, xmm3
jb 0x10010b96
movaps xmm4, xmm1
jmp 0x10010b99
movaps xmm4, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [esp + 0x2c], eax
movss xmm0, dword [ecx + 8]
comiss xmm0, xmm3
jb 0x10010bb4
movaps xmm4, xmm1
jmp 0x10010bb7
movaps xmm4, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [esp + 0x30], eax
movss xmm0, dword [ecx + 0xc]
comiss xmm0, xmm3
jb 0x10010bd0
movaps xmm2, xmm1
addss xmm0, xmm2
push 0
push 0
lea ecx, [esp + 0x48]
cvttss2si eax, xmm0
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 8]
push dword [eax + 0x14]
push ecx
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x3c]
push ecx
push ecx
mov ecx, dword [eax + 0x28]
call fcn.10014680
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
mov eax, dword [esp + 0xc]
inc ecx
movss xmm1, dword [0x1002b1fc]
add eax, 0x20
movss xmm2, dword [0x1002b2cc]
add esi, 0x10
xorps xmm3, xmm3
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
cmp ecx, dword [edi + 8]
jl 0x10010b60
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x2c]
cmp eax, dword [edi + 4]
jne 0x10010c46
mov dword [ecx + 0x30], 1
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.100170fb
mov esp, ebp
pop ebp
ret 4