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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x5b4ef4]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, edx
movss dword [esp + 0x38], xmm2
push esi
mov esi, ecx
mov dword [esp + 0x2c], eax
push edi
movss xmm0, dword [eax + 0x80]
movsx ecx, byte [eax + 0x7d]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [eax + 0x54]
mulss xmm0, xmm2
mov dword [esp + 0x3c], ecx
movsx ecx, byte [eax + 0x7e]
mov eax, dword [eax + 0x98]
mov dword [esp + 0x54], ecx
movss dword [esp + 0x50], xmm0
mov dword [esp + 0x48], eax
test eax, eax
je 0x41abb1
mov edi, dword [sym.imp.msvcrt.dll_realloc]
nop
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x20], 0
mov eax, dword [eax]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
xor eax, eax
mulss xmm0, xmm2
mulss xmm1, xmm2
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x4c], xmm1
cmp ecx, 1
jge 0x41a1b1
lea eax, [ecx + ecx]
test ecx, ecx
jg 0x41a18c
mov eax, 0x40
mov dword [esi + 0x24], eax
shl eax, 5
push eax
push dword [esi + 0x1c]
call edi
add esp, 8
mov dword [esi + 0x1c], eax
test eax, eax
je 0x41a1c7
mov eax, dword [esi + 0x20]
movss xmm0, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x4c]
shl eax, 5
add eax, dword [esi + 0x1c]
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
mov byte [eax + 0x1c], 1
inc dword [esi + 0x20]
mov edx, dword [esp + 0x48]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov eax, dword [edx + 4]
dec eax
test eax, eax
jle 0x41a542
nop dword [eax]
mov eax, dword [edx]
movss xmm7, dword [esp + 0x40]
movss xmm1, dword [eax + ecx*8 + 4]
movss xmm2, dword [eax + ecx*8 + 0xc]
movss xmm3, dword [eax + ecx*8 + 0x14]
movss xmm6, dword [eax + ecx*8 + 0x18]
movss xmm0, dword [eax + ecx*8]
movss xmm5, dword [eax + ecx*8 + 8]
movss xmm4, dword [eax + ecx*8 + 0x10]
mulss xmm1, xmm7
mulss xmm0, xmm7
mulss xmm5, xmm7
mulss xmm2, xmm7
mulss xmm4, xmm7
mulss xmm3, xmm7
mulss xmm6, xmm7
movss xmm7, dword [eax + ecx*8 + 0x1c]
mulss xmm7, dword [esp + 0x40]
movss dword [esp + 0x10], xmm1
addss xmm1, xmm2
movss dword [esp + 0xc], xmm0
addss xmm0, xmm5
movss dword [esp + 0x24], xmm7
movaps xmm7, xmm3
addss xmm7, xmm2
movss dword [esp + 8], xmm3
movss dword [esp + 0x78], xmm6
mulss xmm1, dword [0x59c134]
mulss xmm0, dword [0x59c134]
movss dword [esp + 0x34], xmm1
movss xmm1, dword [0x59c134]
mulss xmm7, xmm1
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm5
addss xmm0, xmm4
movss dword [esp + 0x38], xmm7
subss xmm5, xmm6
movaps xmm7, xmm6
addss xmm7, xmm4
subss xmm4, xmm6
mulss xmm0, xmm1
mulss xmm7, xmm1
movaps xmm1, xmm3
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x4c], xmm7
movss xmm7, dword [esp + 0x24]
addss xmm1, xmm7
subss xmm2, xmm7
subss xmm3, xmm7
mulss xmm1, dword [0x59c134]
movss dword [esp + 8], xmm1
movaps xmm1, xmm0
addss xmm1, dword [esp + 0x20]
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [esp + 0x34]
mulss xmm1, dword [0x59c134]
mulss xmm0, dword [0x59c134]
movss dword [esp + 0x5c], xmm1
movaps xmm1, xmm6
subss xmm1, dword [esp + 0xc]
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm7
subss xmm0, dword [esp + 0x10]
mulss xmm2, xmm1
mulss xmm5, xmm0
mulss xmm4, xmm0
mulss xmm3, xmm1
subss xmm5, xmm2
mulss xmm0, xmm0
subss xmm4, xmm3
mulss xmm1, xmm1
andps xmm5, xmmword [0x59c2d0]
addss xmm0, xmm1
andps xmm4, xmmword [0x59c2d0]
addss xmm5, xmm4
mulss xmm0, dword [esi + 8]
mulss xmm5, xmm5
comiss xmm0, xmm5
jbe 0x41a418
mov ecx, dword [esi + 0x20]
test ecx, ecx
jle 0x41a3be
mov edi, dword [esi + 0x1c]
mov edx, ecx
movss xmm2, dword [esi + 0xc]
movaps xmm0, xmm6
shl edx, 5
movaps xmm1, xmm7
mulss xmm2, xmm2
xor eax, eax
subss xmm1, dword [edx + edi - 0x1c]
subss xmm0, dword [edx + edi - 0x20]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm2, xmm1
seta al
test eax, eax
je 0x41a3b8
or byte [edx + edi - 4], 1
jmp 0x41a521
mov edi, dword [sym.imp.msvcrt.dll_realloc]
mov edx, dword [esi + 0x24]
lea eax, [ecx + 1]
cmp eax, edx
jle 0x41a3fd
lea eax, [edx + edx]
test edx, edx
jg 0x41a3d4
mov eax, 0x40
mov dword [esi + 0x24], eax
shl eax, 5
push eax
push dword [esi + 0x1c]
call edi
add esp, 8
mov dword [esi + 0x1c], eax
test eax, eax
je 0x41a521
mov ecx, dword [esi + 0x20]
movss xmm6, dword [esp + 0x78]
movss xmm7, dword [esp + 0x24]
shl ecx, 5
add ecx, dword [esi + 0x1c]
movss dword [ecx], xmm6
movss dword [ecx + 4], xmm7
mov byte [ecx + 0x1c], 1
inc dword [esi + 0x20]
jmp 0x41a521
movss xmm0, dword [esp + 8]
mov edx, 1
addss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0x4c]
mov ecx, esi
addss xmm1, dword [esp + 0x58]
movss xmm2, dword [0x59c134]
movss xmm3, dword [esp + 0x5c]
movss xmm4, dword [esp + 0x44]
mulss xmm0, xmm2
push 0
mulss xmm1, xmm2
sub esp, 0x14
movss dword [esp + 0x70], xmm0
addss xmm0, xmm4
movss dword [esp + 0x78], xmm1
addss xmm1, xmm3
mulss xmm0, xmm2
mulss xmm1, xmm2
movss xmm2, dword [esp + 0x28]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm4
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 4], xmm3
movss xmm3, dword [esp + 0x38]
movss dword [esp + 0x74], xmm1
movss xmm1, dword [esp + 0x24]
movss dword [esp], xmm0
call fcn.004180b0
movss xmm0, dword [esp + 0x3c]
add esp, 0x18
movss xmm3, dword [esp + 0x60]
mov edx, 1
movss xmm2, dword [esp + 0x44]
mov ecx, esi
movss xmm1, dword [esp + 0x5c]
push 1
sub esp, 0x14
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp], xmm0
call fcn.004180b0
add esp, 0x18
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
mov edi, dword [sym.imp.msvcrt.dll_realloc]
add ecx, 3
mov dword [esp + 0x2c], ecx
mov eax, dword [edx + 4]
dec eax
cmp ecx, eax
jl 0x41a1e0
mov ecx, dword [esi + 0x20]
cmp ecx, 2
jl 0x41ab92
movsx edi, byte [edx + 8]
mov eax, ecx
mov edx, dword [esi + 0x1c]
movss xmm2, dword [esi + 0xc]
shl eax, 5
mulss xmm2, xmm2
movss xmm0, dword [edx]
subss xmm0, dword [eax + edx - 0x20]
movss xmm1, dword [edx + 4]
subss xmm1, dword [eax + edx - 0x1c]
xor eax, eax
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
comiss xmm2, xmm1
seta al
test eax, eax
je 0x41a599
dec ecx
mov edi, 1
mov dword [esi + 0x20], ecx
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x7c], 0
jle 0x41ab5c
xor eax, eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], eax
xorps xmm0, xmm0
movss dword [esp + 0x34], xmm0
test edi, edi
je 0x41a625
movups xmm0, xmmword [edx]
mov edi, dword [esi + 0x24]
lea eax, [ecx + 1]
movups xmm1, xmmword [edx + 0x10]
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0xa0], xmm1
cmp eax, edi
jle 0x41a616
lea eax, [edi + edi]
test edi, edi
jg 0x41a5ec
mov eax, 0x40
mov dword [esi + 0x24], eax
shl eax, 5
push eax
push edx
call dword [sym.imp.msvcrt.dll_realloc]
mov edx, eax
add esp, 8
mov dword [esi + 0x1c], edx
test edx, edx
je 0x41a625
mov ecx, dword [esi + 0x20]
movaps xmm0, xmmword [esp + 0x60]
movaps xmm1, xmmword [esp + 0xa0]
shl ecx, 5
movups xmmword [ecx + edx], xmm0
movups xmmword [ecx + edx + 0x10], xmm1
inc dword [esi + 0x20]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
mov edi, dword [sym.imp.msvcrt.dll_realloc]
cmp eax, dword [esi + 0x30]
jle 0x41a64f
mov dword [esi + 0x30], eax
shl eax, 5
push eax
push ecx
call edi
mov ecx, eax
add esp, 8
mov dword [esi + 0x28], ecx
test ecx, ecx
je 0x41a668
mov eax, dword [esi + 0x20]
shl eax, 5
push eax
push dword [esi + 0x1c]
push ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [esi + 0x20]
add esp, 0xc
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x20], 0
xor eax, eax
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [ecx + 0x10]
mov ecx, dword [esi + 0x24]
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x60], xmm1
movaps xmmword [esp + 0x90], xmm1
cmp ecx, 1
jge 0x41a6cf
lea eax, [ecx + ecx]
test ecx, ecx
jg 0x41a6a9
mov eax, 0x40
mov dword [esi + 0x24], eax
shl eax, 5
push eax
push dword [esi + 0x1c]
call edi
add esp, 8
mov dword [esi + 0x1c], eax
test eax, eax
je 0x41a6df
mov eax, dword [esi + 0x20]
movaps xmm0, xmmword [esp + 0xa0]
movaps xmm1, xmmword [esp + 0x60]
shl eax, 5
add eax, dword [esi + 0x1c]
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm1
inc dword [esi + 0x20]
mov ecx, dword [esp + 0x30]
xorps xmm1, xmm1
xor edx, edx
movss dword [esp + 8], xmm1
mov al, byte [ecx + 0x7c]
movsx edi, al
mov byte [esp + 0x2b], al
cmp edi, 4
jl 0x41a735
lea eax, [ecx + 0x60]
lea ecx, [edi - 4]
shr ecx, 2
inc ecx
lea edx, [ecx*4]
nop
addss xmm1, dword [eax - 4]
addss xmm1, dword [eax]
addss xmm1, dword [eax + 4]
addss xmm1, dword [eax + 8]
add eax, 0x10
sub ecx, 1
jne 0x41a710
mov ecx, dword [esp + 0x30]
movss dword [esp + 8], xmm1
cmp edx, edi
jge 0x41a755
lea eax, [ecx + 0x5c]
mov ecx, edi
lea eax, [eax + edx*4]
sub ecx, edx
addss xmm1, dword [eax]
add eax, 4
sub ecx, 1
jne 0x41a743
movss dword [esp + 8], xmm1
test byte [esp + 0x2b], 1
je 0x41a769
movaps xmm0, xmm1
addss xmm1, xmm0
movss dword [esp + 8], xmm1
mov eax, dword [esp + 0x30]
movss xmm0, dword [eax + 0x58]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x60], xmm0
fld qword [esp + 0x60]
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x60], xmm0
fld qword [esp + 0x60]
call sub.msvcrt.dll__CIfmod
fstp dword [esp + 0x60]
movss xmm1, dword [esp + 0x60]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x41a7a9
addss xmm1, dword [esp + 8]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
movss xmm0, dword [ecx + 0x5c]
comiss xmm1, xmm0
jbe 0x41a7d9
nop dword [eax + eax]
inc eax
subss xmm1, xmm0
cdq
idiv edi
mov eax, edx
movss xmm0, dword [ecx + eax*4 + 0x5c]
comiss xmm1, xmm0
ja 0x41a7c0
mov dword [esp + 0x20], eax
cmp dword [esi + 0x2c], 1
movss xmm0, dword [ecx + eax*4 + 0x5c]
subss xmm0, xmm1
mov dword [esp + 0x38], 1
mulss xmm0, dword [esp + 0x40]
movss dword [esp + 0x2c], xmm0
jle 0x41aa77
movss xmm0, dword [esp + 0x84]
mov eax, 0x20
movss xmm1, dword [esp + 0x80]
mov dword [esp + 8], eax
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x10], xmm1
nop dword [eax + eax]
mov edi, dword [esi + 0x28]
movss xmm2, dword [edi + eax]
movss xmm3, dword [edi + eax + 4]
subss xmm2, xmm1
subss xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x60], xmm2
movaps xmm1, xmm3
mulss xmm0, xmm2
mulss xmm1, xmm3
movss dword [esp + 0x44], xmm3
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
call fcn.00572fe0
movss xmm3, dword [esp + 0x34]
xorps xmm2, xmm2
movss xmm1, dword [esp + 0x2c]
mov ecx, dword [esi + 0x20]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm2
addss xmm0, xmm3
comiss xmm0, xmm1
jbe 0x41aaaa
subss xmm1, xmm3
divss xmm1, xmm2
movaps xmm3, xmm1
mulss xmm1, dword [esp + 0x44]
mulss xmm3, dword [esp + 0x60]
addss xmm1, dword [esp + 0xc]
addss xmm3, dword [esp + 0x10]
movss dword [esp + 0xc], xmm1
movss dword [esp + 0x10], xmm3
test ecx, ecx
jle 0x41a904
mov edi, dword [esi + 0x1c]
mov edx, ecx
movss xmm2, dword [esi + 0xc]
movaps xmm0, xmm3
shl edx, 5
xor eax, eax
mulss xmm2, xmm2
subss xmm1, dword [edx + edi - 0x1c]
subss xmm0, dword [edx + edi - 0x20]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm2, xmm1
seta al
test eax, eax
je 0x41a904
or byte [edx + edi - 4], 1
jmp 0x41a959
mov edx, dword [esi + 0x24]
lea eax, [ecx + 1]
cmp eax, edx
jle 0x41a93d
lea eax, [edx + edx]
test edx, edx
jg 0x41a91a
mov eax, 0x40
mov dword [esi + 0x24], eax
shl eax, 5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.msvcrt.dll_realloc]
add esp, 8
mov dword [esi + 0x1c], eax
test eax, eax
je 0x41a959
mov ecx, dword [esi + 0x20]
movss xmm3, dword [esp + 0x10]
movss xmm0, dword [esp + 0xc]
shl ecx, 5
add ecx, dword [esi + 0x1c]
movss dword [ecx], xmm3
movss dword [ecx + 4], xmm0
mov byte [ecx + 0x1c], 1
inc dword [esi + 0x20]
cmp dword [esi + 0x20], 1
mov edi, dword [esp + 0x24]
jle 0x41a99e
test edi, edi
je 0x41a99e
mov edx, dword [esp + 0x3c]
mov ecx, esi
movss xmm1, dword [esp + 0x7c]
call fcn.00419ed0
movss xmm0, dword [esp + 0x50]
mov edx, dword [esi + 0x1c]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push dword [esp + 0x58]
push dword [esp + 0x44]
push 0
push dword [esi + 0x20]
call fcn.00419100
add esp, 0x14
xor eax, eax
movss xmm2, dword [esp + 0x10]
test edi, edi
movss dword [esp + 0x80], xmm2
mov edi, dword [esp + 0x30]
sete al
mov byte [esp + 0x9c], 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
movsx ecx, byte [edi + 0x7c]
inc eax
cdq
idiv ecx
mov ecx, dword [esi + 0x24]
mov eax, edx
mov dword [esp + 0x20], eax
movss xmm0, dword [edi + eax*4 + 0x5c]
xor eax, eax
mulss xmm0, dword [esp + 0x40]
mov dword [esi + 0x20], 0
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0xc]
movss dword [esp + 0x84], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x34], xmm0
cmp ecx, 1
jge 0x41aa3a
lea eax, [ecx + ecx]
test ecx, ecx
jg 0x41aa1d
mov eax, 0x40
mov dword [esi + 0x24], eax
shl eax, 5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.msvcrt.dll_realloc]
add esp, 8
mov dword [esi + 0x1c], eax
test eax, eax
je 0x41aa5a
mov eax, dword [esi + 0x20]
movups xmm0, xmmword [esp + 0x80]
shl eax, 5
add eax, dword [esi + 0x1c]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x90]
movups xmmword [eax + 0x10], xmm0
inc dword [esi + 0x20]
mov eax, dword [esp + 8]
movss xmm1, dword [esp + 0x10]
movss xmm0, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
cmp ecx, dword [esi + 0x2c]
jl 0x41a830
mov eax, dword [esi + 0x20]
cmp eax, 1
jle 0x41ab92
cmp dword [esp + 0x24], 0
je 0x41ab92
movss xmm0, dword [esp + 0x50]
push ecx
movss dword [esp], xmm0
push dword [esp + 0x58]
push dword [esp + 0x44]
push 0
push eax
jmp 0x41ab85
mov eax, dword [esp + 8]
mov edx, dword [esi + 0x24]
movss dword [esp + 0x34], xmm0
movups xmm0, xmmword [edi + eax]
movups xmm1, xmmword [edi + eax + 0x10]
lea eax, [ecx + 1]
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x60], xmm1
movaps xmmword [esp + 0x90], xmm1
cmp eax, edx
jle 0x41ab1a
lea eax, [edx + edx]
test edx, edx
jg 0x41aaf0
mov eax, 0x40
mov dword [esi + 0x24], eax
shl eax, 5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.msvcrt.dll_realloc]
add esp, 8
mov dword [esi + 0x1c], eax
test eax, eax
je 0x41ab2a
mov ecx, dword [esi + 0x20]
movaps xmm0, xmmword [esp + 0xa0]
movaps xmm1, xmmword [esp + 0x60]
shl ecx, 5
add ecx, dword [esi + 0x1c]
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm1
inc dword [esi + 0x20]
mov eax, dword [esp + 8]
inc dword [esp + 0x38]
add eax, 0x20
movss xmm0, dword [esp + 0x84]
movss xmm1, dword [esp + 0x80]
mov dword [esp + 8], eax
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x10], xmm1
jmp 0x41aa6a
mov edx, dword [esp + 0x3c]
mov ecx, esi
movss xmm1, dword [esp + 0x7c]
call fcn.00419ed0
movss xmm0, dword [esp + 0x50]
push ecx
movss dword [esp], xmm0
push dword [esp + 0x58]
push dword [esp + 0x44]
push edi
push dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
mov ecx, esi
call fcn.00419100
add esp, 0x14
mov eax, dword [esp + 0x48]
movss xmm2, dword [esp + 0x40]
mov edi, dword [sym.imp.msvcrt.dll_realloc]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x48], eax
test eax, eax
jne 0x41a150
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.0053325b
mov esp, ebp
pop ebp
ret