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

Disassembly:
sub esp, 0xf4
mov eax, dword [0x1032e6c0]
xor eax, esp
mov dword [esp + 0xf0], eax
mov ecx, dword [esp + 0xfc]
push esi
push edi
mov edi, dword [esp + 0x100]
mov dword [esp + 0x44], ecx
mov eax, dword [edi + 0x44c]
mov dword [edi + 0x3a0], eax
lea eax, [edi + 0x394]
mov edx, dword [ecx]
mov esi, dword [edi + 0x390]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 4]
lea ecx, [edi + 0x394]
cmp esi, edx
jne 0x1002f38d
cmp dword [ecx], eax
je 0x1002f8c2
jmp 0x1002f391
mov dword [esp + 0x54], ecx
cmp dword [edi + 0x468], 0
mov dword [esp + 0x40], 1
je 0x1002f3f9
cmp dword [edi + 0x46c], esi
jg 0x1002f3f1
cmp esi, dword [edi + 0x474]
jg 0x1002f3f1
mov ecx, dword [ecx]
cmp dword [edi + 0x470], ecx
jg 0x1002f3f1
cmp ecx, dword [edi + 0x478]
jg 0x1002f3f1
mov ecx, eax
cmp dword [edi + 0x46c], edx
jg 0x1002f3ef
cmp edx, dword [edi + 0x474]
jg 0x1002f3ef
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
mov ecx, eax
cmp dword [edi + 0x470], eax
jg 0x1002f3ef
cmp eax, dword [edi + 0x478]
jle 0x1002f3f9
mov eax, ecx
mov dword [esp + 0x40], 0
sub edx, esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x30], edx
sub eax, dword [esi]
movd xmm2, edx
cvtdq2pd xmm2, xmm2
mov dword [esp + 0x34], eax
movd xmm1, eax
lea eax, [esp + 0x50]
mulsd xmm2, qword [0x102a4388]
push eax
cvtdq2pd xmm1, xmm1
lea eax, [esp + 0x4c]
push eax
push dword [edi + 0x3c]
mulsd xmm1, qword [0x102a4388]
movsd qword [esp + 0x54], xmm2
movsd qword [esp + 0x5c], xmm1
call fcn.100134c0
movsd xmm0, qword [esp + 0x54]
add esp, 0xc
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002f4a1
movsd xmm0, qword [esp + 0x50]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002f8c2
comisd xmm0, xmm1
xorps xmm2, xmm2
movsd qword [esp + 0x48], xmm2
jbe 0x1002f48d
movsd xmm3, qword [0x102a2928]
jmp 0x1002f528
xorps xmm0, xmmword [0x102a2950]
movsd xmm3, qword [0x102a51d8]
jmp 0x1002f528
movsd xmm2, qword [esp + 0x50]
ucomisd xmm2, xmm1
lahf
test ah, 0x44
jp 0x1002f4e7
comisd xmm0, xmm1
xorps xmm3, xmm3
movsd qword [esp + 0x50], xmm3
jbe 0x1002f4d0
movsd xmm2, qword [0x102a2928]
movsd qword [esp + 0x48], xmm2
jmp 0x1002f52e
movsd xmm2, qword [0x102a51d8]
xorps xmm0, xmmword [0x102a2950]
movsd qword [esp + 0x48], xmm2
jmp 0x1002f52e
fld qword [esp + 0x50]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x58]
fstp qword [esp]
call fcn.1026cfb4
movsd xmm2, qword [esp + 0x58]
add esp, 0x10
fstp qword [esp + 0x38]
movsd xmm0, qword [esp + 0x38]
xorps xmm1, xmm1
divsd xmm2, xmm0
movsd xmm3, qword [esp + 0x50]
movsd qword [esp + 0x48], xmm2
divsd xmm3, xmm0
movsd qword [esp + 0x50], xmm3
mov eax, dword [edi + 0x390]
mov ecx, dword [edi + 0x394]
ucomisd xmm0, xmm1
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
lahf
test ah, 0x44
jnp 0x1002f853
movaps xmm4, xmm0
movsd qword [esp + 0x48], xmm2
movsd qword [esp + 0x50], xmm3
movsd qword [esp + 8], xmm4
nop dword [eax + eax]
movsd xmm1, qword [edi + 0x450]
lea eax, [esp + 0x18]
minsd xmm1, xmm0
push eax
lea eax, [esp + 0x24]
push eax
push dword [edi + 0x38]
subsd xmm0, xmm1
movsd qword [esp + 0x1c], xmm1
movaps xmm1, xmm4
subsd xmm1, xmm0
movsd qword [esp + 0x44], xmm0
movaps xmm0, xmm1
mulsd xmm1, xmm3
mulsd xmm0, xmm2
movsd qword [esp + 0x24], xmm1
movsd qword [esp + 0x2c], xmm0
call fcn.100134c0
movsd xmm0, qword [esp + 0x2c]
add esp, 0xc
addsd xmm0, qword [0x102a2da8]
mov eax, dword [edi + 0x390]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [esp + 0x18]
add eax, dword [esp + 0x28]
addsd xmm0, qword [0x102a2da8]
mov dword [esp + 0xf0], eax
mov eax, dword [esi]
movsd qword [esp + 0x28], xmm0
add eax, dword [esp + 0x28]
cmp dword [edi + 0x448], 0
mov dword [esp + 0xf4], eax
je 0x1002f7c9
cmp dword [esp + 0x40], 0
jne 0x1002f64a
cmp dword [edi + 0x3f0], 0
jne 0x1002f62b
cmp dword [edi + 0x44c], 0
jne 0x1002f64a
lea eax, [esp + 0xe8]
push eax
lea eax, [edi + 0x46c]
push eax
call fcn.10015a00
add esp, 8
test eax, eax
je 0x1002f7c9
movsd xmm0, qword [esp + 0x50]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0xa4]
push eax
sub esp, 0x10
lea eax, [esp + 0x48]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x60]
movsd qword [esp], xmm0
push eax
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x108]
push eax
push edi
call fcn.1002e3e0
add esp, 0x28
test eax, eax
jne 0x1002f8c4
cmp dword [edi + 0x3a4], eax
je 0x1002f6ca
lea eax, [esp + 0xa0]
push eax
lea eax, [edi + 0x3a8]
push eax
push edi
call fcn.1002eac0
add esp, 0xc
test eax, eax
jne 0x1002f8c4
mov dword [edi + 0x3a4], eax
jmp 0x1002f74e
cmp dword [edi + 0x3f0], 0
jne 0x1002f735
cmp dword [edi + 0x44c], 0
je 0x1002f735
movups xmm0, xmmword [esp + 0xa0]
mov dword [edi + 0x3f0], 1
movups xmmword [edi + 0x3f8], xmm0
movups xmm0, xmmword [esp + 0xb0]
movups xmmword [edi + 0x408], xmm0
movups xmm0, xmmword [esp + 0xc0]
movups xmmword [edi + 0x418], xmm0
movups xmm0, xmmword [esp + 0xd0]
movups xmmword [edi + 0x428], xmm0
movq xmm0, qword [esp + 0xe0]
movq qword [edi + 0x438], xmm0
jmp 0x1002f74e
lea eax, [esp + 0xa0]
push eax
push edi
call fcn.1002e2e0
add esp, 8
test eax, eax
jne 0x1002f8c4
movsd xmm0, qword [esp + 0x38]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002f779
lea eax, [esp + 0x58]
push eax
push edi
call fcn.1002dfe0
add esp, 8
test eax, eax
jne 0x1002f8c4
jmp 0x1002f7f0
movups xmm0, xmmword [esp + 0x58]
mov dword [edi + 0x3a4], 1
movups xmmword [edi + 0x3a8], xmm0
movups xmm0, xmmword [esp + 0x68]
movups xmmword [edi + 0x3b8], xmm0
movups xmm0, xmmword [esp + 0x78]
movups xmmword [edi + 0x3c8], xmm0
movups xmm0, xmmword [esp + 0x88]
movups xmmword [edi + 0x3d8], xmm0
movq xmm0, qword [esp + 0x98]
movq qword [edi + 0x3e8], xmm0
jmp 0x1002f7f0
cmp dword [edi + 0x3a4], 0
je 0x1002f7f0
lea eax, [edi + 0x3a8]
push eax
push edi
call fcn.1002dfe0
add esp, 8
test eax, eax
jne 0x1002f8c4
mov dword [edi + 0x3a4], eax
movsd xmm0, qword [esp + 0x10]
lea eax, [edi + 0x440]
sub esp, 8
movsd qword [esp], xmm0
push eax
call fcn.1004f580
movsd xmm0, qword [esp + 0x44]
add esp, 0xc
mov eax, dword [esp + 0xf0]
xorps xmm1, xmm1
mov ecx, dword [esp + 0xf4]
ucomisd xmm0, xmm1
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
lahf
test ah, 0x44
jnp 0x1002f853
movsd xmm2, qword [esp + 0x48]
movsd xmm3, qword [esp + 0x50]
movsd xmm4, qword [esp + 8]
jmp 0x1002f570
cmp dword [edi + 0x448], 0
je 0x1002f8ad
cmp dword [edi + 0x3a4], 0
jne 0x1002f8ad
movsd xmm0, qword [esp + 0x50]
lea esi, [edi + 0x3a8]
push esi
push edi
sub esp, 0x10
lea eax, [esp + 0x48]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x60]
movsd qword [esp], xmm0
push eax
push dword [esp + 0x60]
call fcn.1002fde0
push esi
push edi
call fcn.1002e2e0
add esp, 0x28
test eax, eax
jne 0x1002f8c4
mov dword [edi + 0x3a4], 1
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x390], eax
mov dword [edi + 0x394], ecx
xor eax, eax
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
xor ecx, esp
call fcn.1026465b
add esp, 0xf4
ret