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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [0x100f3900]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
mov esi, dword [0x1010d920]
push edi
xor edi, edi
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x50]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x54]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x100185a8
nop dword [eax]
mov ecx, dword [ecx + edi*4]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
test al, al
jne 0x10018781
mov eax, dword [esi + 0x34]
inc edi
mov ecx, dword [esi + 0x30]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x10018580
mov ecx, dword [esi + 0x114]
test ecx, ecx
je 0x100185da
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x34]
push edx
mov eax, dword [eax + 8]
push esi
call eax
test al, al
jne 0x10018781
mov ecx, esi
mov byte [esi + 0x70], 1
call fcn.10018460
imul ecx, dword [esi + 0x28], 0x220
xorps xmm0, xmm0
mov edi, dword [esi + 0x1c]
xorps xmm3, xmm3
mov dword [esp + 8], edi
mov eax, dword [ecx + edi + 0x78]
mov dword [esi + 0x64], eax
mov eax, dword [ecx + edi + 0x7c]
mov dword [esi + 0x68], eax
mov eax, dword [ecx + edi + 0x80]
mov dword [esi + 0x6c], eax
imul ecx, dword [esi + 0x10], 0x370
mov eax, dword [esi + 4]
movups xmmword [esp + 0x40], xmm0
movsd qword [esp + 0x50], xmm3
lea edx, [ecx + eax]
mov dword [esp + 0x30], edx
mov edx, dword [ecx + eax + 4]
test edx, edx
jle 0x100186c2
mov eax, dword [ecx + eax + 8]
xor edi, edi
movd xmm4, edx
mov dword [esp + 0x2c], eax
cvtdq2pd xmm4, xmm4
test eax, eax
jle 0x100186bf
mov esi, dword [esp + 0x30]
mov edx, dword [esi + 4]
mov ecx, edx
mov eax, dword [esi]
imul ecx, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edx
lea eax, [eax + ecx*8]
mov dword [esp + 0x10], eax
test edx, edx
jne 0x10018685
movaps xmm0, xmm3
jmp 0x1001869e
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x34]
lea eax, [esp + 0x10]
mov dword [esp + 0x3c], edx
push eax
call fcn.10052670
add esp, 4
divsd xmm0, xmm4
movsd qword [esp + edi*8 + 0x40], xmm0
inc edi
cmp edi, dword [esp + 0x2c]
jl 0x10018653
movsd xmm3, qword [esp + 0x50]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 8]
jmp 0x100186c2
mov edi, dword [esi + 0x1c]
imul ecx, dword [esi + 0x28], 0x220
lea eax, [edi + 0xd0]
movsd xmm1, qword [esp + 0x48]
lea edx, [esp + 0x34]
movsd xmm0, qword [esp + 0x40]
cvtpd2ps xmm2, xmm3
add eax, ecx
push eax
lea eax, [edi + 0x120]
add eax, ecx
cvtpd2ps xmm1, xmm1
push eax
lea eax, [ecx + 0xe0]
add eax, edi
lea ecx, [esp + 0x60]
push eax
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x48], xmm2
call fcn.100242c0
imul ecx, dword [esi + 0x28], 0x220
add esp, 0xc
movss xmm0, dword [esp + 0x60]
movss dword [esi + 0x60], xmm0
mov eax, dword [esi + 0x1c]
movups xmm0, xmmword [ecx + eax + 0x50]
mov eax, dword [ebp + 8]
movups xmmword [esi + 0x40], xmm0
mov dword [esi], 1
sub eax, 0
je 0x1001876a
sub eax, 2
je 0x1001877b
mov dword [esi], 0
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10075417
mov esp, ebp
pop ebp
ret 8
imul ecx, dword [esi + 0x28], 0x220
mov eax, dword [esi + 0x1c]
cmp dword [ecx + eax + 0x48], 2
jne 0x10018781
mov dword [esi], 4
mov ecx, dword [esp + 0x64]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.10075417
mov esp, ebp
pop ebp
ret 8