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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
push esi
mov esi, ecx
mov dword [esp + 4], edx
mov ecx, dword [0x10047020]
mov dword [esp + 8], ecx
push edi
mov eax, dword [ecx + 0x1734]
mov byte [eax + 0x86], 1
mov edi, dword [ecx + 0x1734]
xor ecx, ecx
mov eax, dword [esp + 8]
lea edx, [edi + 0x1c4]
test esi, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edi
cmovne eax, ecx
mov ecx, dword [edx]
add eax, 0x11223347
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 8]
mov edx, 4
push dword [eax + ecx*4 - 4]
lea ecx, [esp + 0x20]
call fcn.10002bb0
mov ecx, dword [esp + 0x10]
add esp, 4
cmp dword [ecx + 0x1750], eax
jne 0x1001635d
mov byte [ecx + 0x1758], 1
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
call fcn.10017000
mov ecx, dword [edi + 0x1c4]
test esi, esi
mov eax, dword [edi + 0x1cc]
push dword [eax + ecx*4 - 4]
mov ecx, str.columns
cmovne ecx, esi
xor edx, edx
call fcn.10002bb0
mov ecx, eax
add esp, 4
mov eax, dword [0x10047020]
cmp dword [eax + 0x1750], ecx
jne 0x100163a9
mov byte [eax + 0x1758], 1
mov dword [edi + 0x1b4], ecx
xorps xmm0, xmm0
mov eax, dword [eax + 0x1734]
mov ecx, dword [esp + 8]
dec dword [eax + 0x1c4]
movss xmm2, dword [edi + 0x38]
mov eax, dword [ebp + 8]
ucomiss xmm2, xmm0
mov dword [edi + 0x1b0], eax
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], ecx
lahf
test ah, 0x44
jp 0x100163f3
movss xmm2, dword [edi + 0x20]
subss xmm2, dword [edi + 0x78]
movss xmm1, dword [edi + 0x184]
lea esi, [ecx + 1]
mov eax, dword [esp + 0xc]
lea ecx, [edi + 0x1b8]
subss xmm2, dword [edi + 0x5c]
movaps xmm0, xmm1
mov dword [esp + 0x2c], esi
addss xmm1, dword [edi + 0x18]
subss xmm0, dword [eax + 0x13ec]
mov eax, dword [edi + 0xe0]
mov dword [edi + 0x1a4], eax
push esi
cvttss2si eax, xmm1
mov dword [edi + 0x18c], 0
movss dword [edi + 0x198], xmm0
movss xmm0, dword [edi + 0xcc]
movss dword [edi + 0x1a0], xmm0
movss dword [edi + 0x1ac], xmm0
movss dword [edi + 0x1a8], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x19c], xmm2
movss dword [edi + 0xc8], xmm0
call fcn.100170f0
mov edx, dword [0x10047020]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
test esi, esi
jle 0x100165a3
mov dword [esp + 0x1c], eax
nop dword [eax]
mov ecx, dword [edi + 0x1b4]
add ecx, eax
mov dword [esp + 0x18], ecx
cmp dword [edx + 0x1750], ecx
jne 0x100164bb
mov byte [edx + 0x1758], 1
mov edx, dword [edi + 0x194]
movd xmm4, eax
mov eax, dword [edi + 0x128]
mov dword [esp + 0x28], edx
movd xmm0, edx
cvtdq2ps xmm4, xmm4
mov edx, dword [eax]
mov esi, dword [eax + 8]
cvtdq2ps xmm0, xmm0
lea eax, [esi + edx*8]
mov dword [esp + 0x24], eax
divss xmm4, xmm0
test edx, edx
jle 0x1001651b
mov edi, dword [esp + 0x18]
mov ecx, edx
shr ecx, 1
cmp dword [esi + ecx*8], edi
lea eax, [esi + ecx*8]
jae 0x10016509
lea esi, [eax + 8]
or eax, 0xffffffff
sub eax, ecx
add edx, eax
jmp 0x1001650b
mov edx, ecx
test edx, edx
jg 0x100164f1
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
cmp esi, eax
je 0x10016528
cmp dword [esi], ecx
jne 0x10016528
movss xmm4, dword [esi + 4]
test byte [edi + 0x1b0], 8
jne 0x10016576
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x10]
movss xmm3, dword [edi + 0x19c]
movss xmm2, dword [edi + 0x198]
movaps xmm1, xmm3
subss xmm3, xmm2
movd xmm0, eax
mov eax, dword [esp + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x1408]
subss xmm1, xmm0
subss xmm1, xmm2
divss xmm1, xmm3
minss xmm1, xmm4
movaps xmm4, xmm1
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 0x1c0]
movss dword [edx + eax], xmm4
add edx, 0x14
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x2c]
jl 0x100164a0
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x100166d7
movss xmm6, dword [0x10042c70]
movss xmm5, dword [0x10042c90]
mov dword [esp + 0x1c], ecx
mov eax, dword [edx + 0x1734]
mov esi, ecx
movss xmm2, dword [edi + 0x18]
addss xmm2, xmm6
movss xmm4, dword [eax + 0x198]
movss xmm3, dword [eax + 0x19c]
mov edx, dword [eax + 0x1c0]
subss xmm3, xmm4
lea eax, [ecx + 1]
mov ecx, dword [edi + 0x1c0]
mov dword [esp + 0x2c], eax
lea eax, [eax + eax*4]
movaps xmm0, xmm3
mulss xmm0, dword [edx + eax*4]
addss xmm0, xmm4
addss xmm0, xmm2
subss xmm0, xmm5
cvttss2si eax, xmm0
movd xmm1, eax
lea eax, [esi + esi*4]
mulss xmm3, dword [edx + eax*4]
cvtdq2ps xmm1, xmm1
addss xmm3, xmm4
addss xmm3, xmm2
subss xmm3, xmm5
cvttss2si eax, xmm3
movd xmm0, eax
mov eax, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [ecx + eax + 4], xmm0
mov dword [ecx + eax + 8], 0xff7fffff
movss dword [ecx + eax + 0xc], xmm1
mov dword [ecx + eax + 0x10], 0x7f7fffff
mov ecx, dword [edi + 0x1c0]
movss xmm0, dword [edi + 0x1d0]
comiss xmm0, dword [ecx + eax + 4]
jbe 0x10016677
movss dword [ecx + eax + 4], xmm0
movss xmm0, dword [edi + 0x1d4]
comiss xmm0, dword [ecx + eax + 8]
jbe 0x1001668c
movss dword [ecx + eax + 8], xmm0
movss xmm1, dword [edi + 0x1d8]
movss xmm0, dword [ecx + eax + 0xc]
comiss xmm0, xmm1
jbe 0x100166a5
movss dword [ecx + eax + 0xc], xmm1
movss xmm1, dword [edi + 0x1dc]
movss xmm0, dword [ecx + eax + 0x10]
comiss xmm0, xmm1
jbe 0x100166be
movss dword [ecx + eax + 0x10], xmm1
mov ecx, dword [esp + 0x2c]
add eax, 0x14
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
cmp ecx, dword [esp + 8]
jl 0x100165c3
push dword [edi + 0x194]
mov ecx, dword [edi + 0x258]
call fcn.1001f1f0
mov edx, dword [0x10047020]
mov ecx, dword [edx + 0x1734]
mov eax, dword [ecx + 0x190]
mov ecx, dword [ecx + 0x1c0]
lea esi, [eax + eax*4]
mov eax, dword [edx + 0x1734]
mov byte [eax + 0x86], 1
mov eax, dword [edx + 0x1734]
movss xmm0, dword [ecx + esi*4 + 0xc]
movss xmm2, dword [ecx + esi*4 + 4]
comiss xmm2, xmm0
mov dword [esp + 0x28], eax
mov eax, dword [eax + 0x258]
mov dword [esp + 0x2c], eax
movss xmm3, dword [ecx + esi*4 + 0x10]
movss xmm1, dword [ecx + esi*4 + 8]
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x3c], xmm3
jb 0x1001675f
movss dword [esp + 0x38], xmm2
comiss xmm1, xmm3
jb 0x1001676a
movss dword [esp + 0x3c], xmm1
mov edi, dword [eax + 0x34]
lea esi, [eax + 0x34]
mov ecx, dword [esi + 4]
cmp edi, ecx
jne 0x10016799
inc edi
test ecx, ecx
je 0x10016787
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1001678c
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.10024270
mov eax, dword [esi]
movups xmm0, xmmword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
shl eax, 4
add eax, dword [esi + 8]
movups xmmword [eax], xmm0
inc dword [esi]
call fcn.1001ef60
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x258]
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x3c]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edx + 0x1d0], eax
movss dword [edx + 0x1d4], xmm0
movss dword [edx + 0x1d8], xmm1
movss dword [edx + 0x1dc], xmm2
mov esi, dword [0x10047020]
mov edx, dword [esi + 0x1734]
mov eax, dword [edx + 0x190]
movss xmm1, dword [edx + 0x19c]
subss xmm1, dword [edx + 0x198]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x1c0]
movss xmm0, dword [eax + ecx*4 + 0x14]
subss xmm0, dword [eax + ecx*4]
mov eax, edx
mulss xmm1, xmm0
mov byte [eax + 0x86], 1
mov ecx, dword [esi + 0x1734]
mulss xmm1, dword [0x10042c74]
ucomiss xmm1, dword [0x10042c2c]
lahf
test ah, 0x44
jp 0x10016860
movss xmm1, dword [ecx + 0x1f4]
lea eax, [ecx + 0x134]
add ecx, 0x148
movss dword [eax], xmm1
push eax
call fcn.10017000
pop edi
pop esi
mov esp, ebp
pop ebp
ret