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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 0xc]
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x1007f306
cmp ecx, 2
je 0x1007f306
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp dword [edx + 0x2c], 0
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0x14], ecx
movups xmm0, xmmword [eax + 0x34]
mov eax, dword [esi + 0x48]
mov dword [esp + 0x1c], eax
movups xmmword [esp + 0x30], xmm0
mov edi, dword [eax + ecx*4]
mov ecx, 1
mov dword [esp + 0x2c], edi
je 0x1007f33f
mov ecx, dword [esi + 0x78]
cmp dword [edx + 0xc], ecx
cmovle ecx, dword [edx + 0xc]
cmp dword [edx + 0x30], 0
mov eax, dword [esi + 0x78]
mov dword [esp + 0x18], eax
je 0x1007f359
sub eax, dword [esp + 0x14]
dec eax
cdq
idiv ecx
mov edx, dword [esi + 0x78]
jmp 0x1007f367
mov eax, dword [esp + 0x14]
cdq
idiv ecx
mov edx, dword [esi + 0x78]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x50], 0
je 0x1007f3a1
cmp dword [eax + 0x2c], 0
je 0x1007f3a1
cmp dword [eax + 0x30], 0
je 0x1007f391
mov eax, edx
sub eax, dword [esp + 0x14]
cdq
idiv ecx
mov edx, eax
mov dword [esp + 0x10], edx
jmp 0x1007f3a5
mov eax, dword [esp + 0x14]
inc eax
cdq
idiv ecx
mov edx, eax
mov dword [esp + 0x10], edx
jmp 0x1007f3a5
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
jle 0x1007f4eb
mov eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x18]
nop
mov edi, dword [eax]
cmp edx, edi
je 0x1007f4cf
mov edx, dword [esi + 0x44]
test edx, edx
je 0x1007f3da
mov eax, dword [edx + edi*4]
mov dword [esp + 0x20], eax
jmp 0x1007f3e2
mov dword [esp + 0x20], 0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 8]
test eax, eax
je 0x1007f40f
cmp eax, 2
je 0x1007f40f
mov eax, dword [esi + 0xc]
xor ecx, ecx
cmp edi, dword [esi + 0x58]
mov edx, dword [esi + 0xc]
sete cl
inc ecx
imul ecx, dword [eax + 0x20]
lea eax, [edi + 1]
imul eax, dword [edx + 0x18]
add ecx, eax
jmp 0x1007f41b
mov ecx, esi
call fcn.1007e660
mov ecx, eax
imul ecx, edi
movd xmm1, dword [esp + 0x20]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x44]
movd xmm0, ecx
cvtdq2pd xmm1, xmm1
movsd xmm2, qword [eax + 0x38]
mulsd xmm1, xmm2
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [esp + 0x28], eax
lea eax, [edi + 1]
test edx, edx
je 0x1007f458
mov ecx, dword [edx + eax*4]
mov dword [esp + 0x20], ecx
jmp 0x1007f460
mov dword [esp + 0x20], 0
mov edx, dword [esi + 0xc]
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x1007f485
cmp ecx, 2
je 0x1007f485
xor ecx, ecx
cmp eax, dword [esi + 0x58]
sete cl
inc eax
imul eax, dword [edx + 0x18]
inc ecx
imul ecx, dword [edx + 0x20]
add ecx, eax
jmp 0x1007f494
mov ecx, esi
call fcn.1007e660
mov ecx, eax
lea eax, [edi + 1]
imul ecx, eax
mov edx, dword [ebp + 8]
cmp edx, dword [esp + 0x28]
jl 0x1007f4c3
movd xmm1, dword [esp + 0x20]
cvtdq2pd xmm1, xmm1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
cvttsd2si eax, xmm1
cmp edx, eax
jl 0x1007f54a
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
add eax, 4
inc edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edi
cmp edi, ecx
jl 0x1007f3c0
mov edi, dword [esp + 0x2c]
xor eax, eax
test eax, eax
je 0x1007f53c
test edi, edi
js 0x1007f53c
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x94]
call eax
cmp edi, eax
jg 0x1007f53c
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x94]
call eax
cmp edi, eax
jl 0x1007f524
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x94]
call eax
lea edi, [eax - 1]
mov edx, dword [esi + 0x78]
xor ecx, ecx
test edx, edx
jle 0x1007f53c
mov eax, dword [esi + 0x48]
cmp dword [eax], edi
je 0x1007f540
inc ecx
add eax, 4
cmp ecx, edx
jl 0x1007f530
mov ecx, dword [esp + 0x14]
pop edi
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, edx
neg eax
cmp eax, dword [esi + 8]
jle 0x1007f59a
mov eax, dword [esp + 0x3c]
mov ecx, esi
sub eax, dword [esp + 0x34]
push dword [esp + 0x10]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
cvtps2pd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmmword [0x103a6b40]
cvtdq2pd xmm0, xmm0
addsd xmm2, xmm0
call fcn.1007e5f0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm2, xmm0
jbe 0x1007f59a
mov edi, dword [esp + 0x10]
jmp 0x1007f4eb
mov eax, 1
jmp 0x1007f4ed