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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xc0
movsd xmm0, qword [0x10219fb0]
pxor xmm1, xmm1
ucomisd xmm0, xmm1
jp 0x101815f0
je 0x101815f9
cmp dword [0x1021f380], 1
je 0x101815ff
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1020ccd8]
test eax, eax
je 0x10181ae7
cmp eax, 1
je 0x1018161d
mov dword [0x1020cbdc], 0
jmp 0x10181678
cmp dword [0x1020cbdc], 0
movsd xmm2, qword [0x1020ccb8]
movsd xmm1, qword [0x10219d98]
jne 0x10181642
comisd xmm1, xmm2
jbe 0x10181642
xor eax, eax
mov esp, ebp
pop ebp
ret
movsd xmm0, qword [0x101f50e0]
mulsd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x10181666
movsd xmm0, qword [0x101f50e8]
mulsd xmm1, xmm0
comisd xmm1, xmm2
ja 0x1018163c
movsd qword [0x10219d98], xmm2
mov dword [0x1020cbdc], 0
cmp dword [0x1021f410], 0
jle 0x10181a2c
movsd xmm1, qword [0x101f50f0]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], ebx
mov eax, 1
pxor xmm0, xmm0
mov edi, eax
mov edx, dword [0x1021f3a0]
imul ecx, dword [edx + edi*4], 0xa10
mov ebx, dword [0x10219190]
mov esi, dword [ecx + ebx + 0xd0]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x78], ecx
mov dword [esp + 0xa0], edx
push 0x10
push edx
call fcn.101beb7a
mov esi, eax
push 8
push dword [esp + 0xac]
call fcn.101beb7a
mov ebx, eax
mov ecx, dword [0x10219190]
mov edx, dword [esp + 0x88]
mov edx, dword [edx + ecx + 0xd0]
mov ecx, dword [edx]
mov edx, dword [esp + 0xb0]
shl edx, 4
push edx
push dword [ecx]
push esi
call fcn.101d7590
lea edx, [esp + 0x90]
push edx
push ebx
push dword [esp + 0xc4]
push esi
call fcn.100b4460
add esp, 0x2c
mov dword [esp + 0x7c], edi
xor eax, eax
mov dword [esp + 0x90], eax
mov edi, eax
pxor xmm0, xmm0
movsd qword [esp + 0x88], xmm0
mov edx, dword [esp + 0xa0]
movsd xmm0, qword [0x101f50f0]
movsd qword [esp + 0x18], xmm0
movsd qword [esp + 0x20], xmm0
movsd qword [esp + 0x28], xmm0
movsd qword [esp + 0x4c], xmm0
xor eax, eax
mov dword [esp], esi
mov dword [esp + 0x40], 1
mov dword [esp + 4], ebx
mov dword [esp + 0x54], 7
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x94]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x9c]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], eax
lea ecx, [edx - 1]
mov edx, 0x14
cmp ecx, 0x14
cmovge ecx, edx
mov dword [esp + 0x44], ecx
call fcn.100b6020
movsd xmm0, qword [esp + 0x88]
addsd xmm0, qword [esp + 0x80]
mov edx, dword [0x1020ccd8]
movsd qword [esp + 0x88], xmm0
test edx, edx
je 0x10181aa4
cmp edx, 1
jne 0x10181838
movsd xmm0, qword [0x1021ef50]
mulsd xmm0, qword [esp + 0x88]
movsd xmm1, qword [0x1020ccb8]
mulsd xmm1, qword [0x10219fb0]
mov edx, 1
comisd xmm0, xmm1
cmovae edi, edx
mov edx, dword [esp + 0x9c]
cmp edx, 4
je 0x10181855
cmp edx, dword [esp + 0x90]
je 0x10181855
test edi, edi
je 0x10181a63
mov edi, dword [esp + 0x7c]
push dword [esp + 0x94]
call fcn.101bceaa
push dword [esp + 0x9c]
call fcn.101bceaa
push ebx
call fcn.101bceaa
add esp, 0xc
mov ebx, dword [0x1021f3f8]
mov edx, dword [0x1021f3fc]
cmp dword [edx + edi*4], 0
je 0x10181895
push dword [ebx + edi*4]
call fcn.101bceaa
pop ecx
mov edx, dword [esp + 0xa0]
mov dword [ebx + edi*4], esi
mov ecx, dword [0x1021f3fc]
mov dword [ecx + edi*4], edx
mov ebx, dword [0x1021f3f8]
mov ecx, dword [esp + 0x78]
mov edx, dword [ebx + edi*4]
mov dword [esp], edx
lea ebx, [esp + 8]
mov edx, dword [0x1021f3fc]
mov edx, dword [edx + edi*4]
mov dword [esp + 4], edx
mov edx, dword [0x10219190]
movsd xmm0, qword [edx + ecx + 0x78]
movsd qword [ebx], xmm0
movsd xmm1, qword [edx + ecx + 0x80]
movsd qword [ebx + 8], xmm1
mov ecx, edi
mov edx, dword [0x1021f404]
shl ecx, 4
lea ebx, [esp + 0x20]
pxor xmm2, xmm2
movsd qword [esp + 0x18], xmm2
movsd xmm3, qword [edx + ecx]
movsd qword [ebx], xmm3
movsd xmm4, qword [edx + ecx + 8]
movsd qword [ebx + 8], xmm4
mov edx, dword [0x1021f40c]
movsd xmm5, qword [edx + edi*8]
movsd qword [esp + 0x30], xmm5
call fcn.100ae4e0
mov edx, dword [0x1021f400]
lea ecx, [edx + edi*8]
push ecx
push dword [esp + 0xa4]
push esi
call fcn.100b0a90
mov ebx, dword [0x1021f3f8]
mov ecx, dword [0x1021f3fc]
lea edx, [esp + 0x70]
push edx
push dword [ecx + edi*4]
push dword [ebx + edi*4]
call fcn.100ae040
add esp, 0x18
mov ebx, dword [esp + 0x64]
mov edx, dword [0x1021f3f8]
mov esi, dword [0x1021f3c0]
mov ecx, dword [edx + edi*4]
shl ebx, 4
movsd xmm0, qword [ecx + ebx]
movsd qword [esi + edi*8], xmm0
mov ecx, dword [esp + 0x68]
shl ecx, 4
mov edx, dword [0x1021f3f8]
mov ebx, dword [0x1021f3c4]
mov edx, dword [edx + edi*4]
movsd xmm1, qword [edx + ecx]
movsd qword [ebx + edi*8], xmm1
mov ecx, dword [esp + 0x6c]
shl ecx, 4
mov edx, dword [0x1021f3f8]
mov ebx, dword [0x1021f3cc]
mov edx, dword [edx + edi*4]
movsd xmm2, qword [edx + ecx + 8]
movsd qword [ebx + edi*8], xmm2
mov ecx, dword [esp + 0x70]
shl ecx, 4
mov edx, dword [0x1021f3f8]
mov ebx, dword [0x1021f3c8]
mov edx, dword [edx + edi*4]
movsd xmm3, qword [edx + ecx + 8]
mov edx, dword [0x1021f8f8]
movsd qword [ebx + edi*8], xmm3
cmp edx, 2
je 0x101819f2
cmp edx, 1
jne 0x10181a13
mov edx, dword [0x1021f3cc]
movsd xmm0, qword [edx + edi*8]
comisd xmm0, xmmword [0x1021f508]
jbe 0x10181a13
mov eax, 0x1021f3a0
mov edx, edi
call fcn.10181b58
inc edi
cmp edi, dword [0x1021f410]
jle 0x101816a4
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov eax, 0x1021f3a0
mov edx, 0x1021f388
xor ecx, ecx
call fcn.1017f6bc
movsd xmm0, qword [0x1021f388]
movsd xmm1, qword [0x1021f490]
movsd qword [0x1021f480], xmm0
movsd qword [0x1021f488], xmm1
xor eax, eax
mov esp, ebp
pop ebp
ret
mov dword [0x1020cbdc], 1
mov dword [esp + 0x90], edx
push esi
call fcn.101bceaa
push ebx
call fcn.101bceaa
add esp, 8
mov esi, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
mov edx, dword [esp + 0x90]
mov dword [esp + 0xa0], edx
jmp 0x10181746
movsd xmm0, qword [0x101f50f8]
subsd xmm0, qword [0x10219fb0]
call fcn.101b91a0
mov edx, 1
pxor xmm1, xmm1
subsd xmm1, qword [esp + 0x88]
mulsd xmm1, qword [0x1021ef50]
divsd xmm1, xmm0
comisd xmm1, xmmword [0x1020cca0]
cmova edi, edx
jmp 0x10181838
cmp dword [0x1020cbdc], 0
movsd xmm1, qword [0x10219d98]
movsd xmm2, qword [0x1020cca0]
jne 0x10181b0c
comisd xmm1, xmm2
jbe 0x10181b0c
xor eax, eax
mov esp, ebp
pop ebp
ret
movsd xmm0, qword [0x101f50e0]
mulsd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x10181666
movsd xmm0, qword [0x101f50e8]
mulsd xmm1, xmm0
comisd xmm1, xmm2
ja 0x1018163c
movsd qword [0x10219d98], xmm2
mov dword [0x1020cbdc], 0
jmp 0x10181678