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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push edi
push esi
push ebx
sub esp, 0x134
mov dword [esp + 0x120], ecx
pxor xmm0, xmm0
movsd qword [esp + 0xf0], xmm0
movsd qword [esp + 0xf8], xmm0
push 0x40
call fcn.101bcde0
mov dword [esp + 0xbc], eax
mov eax, dword [0x102836cc]
lea edx, [eax + eax*4]
shl edx, 2
push edx
call fcn.101bcde0
add esp, 8
mov ebx, eax
mov edx, dword [ebp + 0x38]
mov dword [esp + 0xbc], edx
lea edi, [esp + 0xc0]
movsd xmm0, qword [edx]
mov eax, esp
movsd qword [eax], xmm0
movsd xmm1, qword [edx + 8]
movsd qword [eax + 8], xmm1
lea ecx, [esp + 0x10]
movsd xmm2, qword [edx + 0x10]
movsd qword [ecx], xmm2
movsd xmm3, qword [edx + 0x18]
movsd qword [ecx + 8], xmm3
mov dword [esp + 0x28], edi
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call fcn.1007ca10
mov ecx, dword [ebp + 0x60]
mov esi, dword [0x10283548]
mov dword [esp + 0x128], ecx
movsd xmm0, qword [esi]
mov edi, esp
movsd qword [edi], xmm0
movsd xmm1, qword [esi + 8]
movsd qword [edi + 8], xmm1
lea edx, [esp + 0x10]
mov eax, dword [0x1028354c]
movsd xmm2, qword [eax]
movsd qword [edx], xmm2
movsd xmm3, qword [eax + 8]
movsd qword [edx + 8], xmm3
lea edx, [esp + 0x20]
mov esi, dword [ebp + 0x10]
mov dword [edx], esi
mov edi, dword [ebp + 0x14]
mov dword [edx + 4], edi
mov eax, dword [ebp + 0x18]
mov dword [edx + 8], eax
lea eax, [esp + 0x30]
mov esi, dword [ebp + 0x1c]
mov dword [edx + 0xc], esi
mov edx, dword [esp + 0xc0]
mov dword [eax], edx
mov edi, dword [esp + 0xc4]
mov dword [eax + 4], edi
mov edx, dword [esp + 0xc8]
lea edi, [esp + 0x98]
mov dword [eax + 8], edx
mov esi, dword [esp + 0xcc]
mov dword [eax + 0xc], esi
lea eax, [esp + 0x88]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ecx
call fcn.1007cf70
mov esi, dword [ebp + 0x54]
mov edi, dword [ebp + 0x34]
movsd xmm3, qword [ebp + 0x2c]
movsd xmm2, qword [ebp + 0x24]
movsd qword [esp + 0xb0], xmm3
movsd qword [esp + 0xa8], xmm2
mov dword [esi], 0
mov edx, esp
mov eax, dword [0x10283548]
mov ecx, dword [0x1028354c]
movsd xmm0, qword [ecx]
subsd xmm0, qword [eax]
movsd xmm1, qword [ecx + 8]
subsd xmm1, qword [eax + 8]
movsd qword [esp + 0x100], xmm0
movsd qword [esp + 0x108], xmm1
mov ecx, dword [esp + 0x88]
mov dword [edx], ecx
mov eax, dword [esp + 0x8c]
mov dword [edx + 4], eax
mov ecx, dword [esp + 0x90]
mov dword [edx + 8], ecx
mov eax, dword [esp + 0x94]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x88]
lea eax, [esp + 0x10]
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x90]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x94]
mov dword [eax + 0xc], edx
movsd qword [esp + 0x20], xmm2
movsd qword [esp + 0x28], xmm3
mov dword [esp + 0x30], edi
lea eax, [esp + 0xd0]
mov dword [esp + 0x34], eax
lea eax, [esp + 0xe0]
mov dword [esp + 0x38], eax
lea edx, [esp + 0xb8]
mov dword [esp + 0x3c], edx
call fcn.1007c6c0
mov eax, dword [ebp + 0x64]
mov ecx, dword [0x10283548]
mov dword [esp + 0x124], eax
movsd xmm0, qword [ecx]
mov edx, esp
movsd qword [edx], xmm0
movsd xmm1, qword [ecx + 8]
movsd qword [edx + 8], xmm1
lea edx, [esp + 0x10]
mov ecx, dword [0x1028354c]
movsd xmm2, qword [ecx]
movsd qword [edx], xmm2
movsd xmm3, qword [ecx + 8]
movsd qword [edx + 8], xmm3
lea edx, [esp + 0x30]
movsd xmm4, qword [esp + 0x100]
movsd xmm5, qword [esp + 0x108]
movsd qword [esp + 0x20], xmm4
movsd qword [esp + 0x28], xmm5
mov ecx, dword [ebp + 0x10]
mov dword [edx], ecx
mov ecx, dword [ebp + 0x14]
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 0x18]
mov dword [edx + 8], ecx
pxor xmm6, xmm6
mov ecx, dword [ebp + 0x1c]
mov dword [edx + 0xc], ecx
movsd qword [esp + 0x40], xmm6
lea ecx, [esp + 0x48]
mov edx, dword [esp + 0xc0]
mov dword [ecx], edx
mov edx, dword [esp + 0xc4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0xc8]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0xcc]
mov dword [ecx + 0xc], edx
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x5c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0xe0]
mov dword [edx], ecx
mov ecx, dword [esp + 0xe4]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0xe8]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0xec]
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x120]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0x78], eax
lea eax, [esp + 0xf0]
mov dword [esp + 0x7c], eax
lea edx, [esp + 0xf8]
mov dword [esp + 0x80], edx
lea ecx, [esp + 0x110]
mov dword [esp + 0x84], ecx
call fcn.1007cc30
mov ecx, dword [esp + 0x88]
mov edx, esp
mov dword [edx], ecx
mov eax, dword [esp + 0x8c]
mov dword [edx + 4], eax
mov ecx, dword [esp + 0x90]
mov dword [edx + 8], ecx
mov eax, dword [esp + 0x94]
mov dword [edx + 0xc], eax
lea eax, [esp + 0x10]
mov edx, dword [esp + 0x88]
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x90]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x94]
mov dword [eax + 0xc], edx
movsd xmm0, qword [esp + 0xa8]
movsd xmm1, qword [esp + 0xb0]
movsd qword [esp + 0x20], xmm0
movsd qword [esp + 0x28], xmm1
mov dword [esp + 0x30], edi
lea eax, [esp + 0xd0]
mov dword [esp + 0x34], eax
lea eax, [esp + 0xe0]
mov dword [esp + 0x38], eax
lea edx, [esp + 0xb8]
mov dword [esp + 0x3c], edx
call fcn.1007c6c0
mov edx, dword [esi]
cmp edx, dword [esp + 0x120]
jge 0x100773d2
mov dword [esp + 0xa8], edi
xor eax, eax
mov dword [ebx + eax*4], 0
mov dword [esp + 0x114], esi
mov edx, 1
mov dword [esp + 0xb0], ebx
lea edi, [eax + 1]
lea ecx, [eax + eax + 2]
mov ebx, edx
xor esi, esi
mov dword [esp + 0xac], ecx
jmp 0x10077195
mov ebx, 1
mov ecx, ebx
test ecx, ecx
jle 0x10077371
mov dword [esp + 0x118], ecx
mov ebx, esi
mov esi, dword [esp + 0xbc]
mov dword [esp + 0x11c], edx
mov dword [esp + 0xb4], eax
movsd xmm0, qword [esi]
mov eax, esp
movsd qword [eax], xmm0
movsd xmm1, qword [esi + 8]
movsd qword [eax + 8], xmm1
lea eax, [esp + 0xc0]
movsd xmm2, qword [esi + 0x10]
lea edx, [esp + 0x10]
movsd qword [edx], xmm2
movsd xmm3, qword [esi + 0x18]
movsd qword [edx + 8], xmm3
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
call fcn.1007ca10
mov eax, dword [0x10283548]
movsd xmm0, qword [eax]
mov edx, esp
movsd qword [edx], xmm0
movsd xmm1, qword [eax + 8]
movsd qword [edx + 8], xmm1
lea eax, [esp + 0x10]
mov ecx, dword [0x1028354c]
movsd xmm2, qword [ecx]
movsd qword [eax], xmm2
movsd xmm3, qword [ecx + 8]
movsd qword [eax + 8], xmm3
lea ecx, [esp + 0x30]
movsd xmm4, qword [esp + 0x100]
movsd xmm5, qword [esp + 0x108]
movsd qword [esp + 0x20], xmm4
movsd qword [esp + 0x28], xmm5
mov edx, dword [ebp + 0x10]
mov dword [ecx], edx
mov eax, dword [ebp + 0x14]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x18]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0xc], eax
lea edx, [esp + 0x48]
pxor xmm6, xmm6
movsd qword [esp + 0x40], xmm6
mov ecx, dword [esp + 0xc0]
mov dword [edx], ecx
mov eax, dword [esp + 0xc4]
mov dword [edx + 4], eax
mov ecx, dword [esp + 0xc8]
mov dword [edx + 8], ecx
mov eax, dword [esp + 0xcc]
mov dword [edx + 0xc], eax
lea eax, [esp + 0x5c]
lea edx, [esp + 0xd0]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0xe0]
mov dword [eax], edx
mov ecx, dword [esp + 0xe4]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0xe8]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0xec]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x120]
mov edx, dword [esp + 0x124]
mov ecx, dword [esp + 0x128]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
lea eax, [esp + 0xf0]
mov dword [esp + 0x7c], eax
lea edx, [esp + 0xf8]
mov dword [esp + 0x80], edx
lea ecx, [esp + 0x110]
mov dword [esp + 0x84], ecx
call fcn.1007cc30
cmp dword [esp + 0x110], 0
jne 0x10077353
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
inc dword [eax + edx*4]
inc ebx
cmp ebx, dword [esp + 0x118]
jl 0x100771bd
mov edx, dword [esp + 0x11c]
mov eax, dword [esp + 0xb4]
xor esi, esi
inc edx
cmp edx, 6
jg 0x1007739e
cmp edx, 1
je 0x10077190
cmp edx, 2
jne 0x1007738c
mov ecx, edi
jmp 0x10077197
mov ecx, dword [esp + 0xac]
cmp edx, 6
cmove ecx, eax
jmp 0x10077197
mov esi, dword [esp + 0x114]
mov ebx, dword [esp + 0xb0]
cmp dword [ebx + eax*4], 0
jne 0x100773ba
test eax, eax
jg 0x100774e0
mov edx, dword [esi]
cmp edx, dword [esp + 0x120]
mov eax, edi
jl 0x10077162
mov edi, dword [esp + 0xa8]
cvtsi2sd xmm1, edx
mov eax, dword [ebp + 0x5c]
test eax, eax
mov ecx, dword [ebp + 0x58]
movsd xmm2, qword [ebp + 0x3c]
mulsd xmm1, xmm2
movsd xmm3, qword [esp + 0xf0]
movsd xmm4, qword [esp + 0xf8]
movaps xmm0, xmm4
mulsd xmm0, xmm3
divsd xmm1, xmm0
movsd qword [ecx], xmm1
je 0x10077437
mov edx, dword [esp + 0xbc]
movsd xmm1, qword [edx]
mulsd xmm1, qword [edx + 0x18]
movsd xmm0, qword [edx + 8]
mulsd xmm0, qword [edx + 0x10]
subsd xmm1, xmm0
andps xmm1, xmmword [0x101e4970]
divsd xmm2, xmm1
movsd qword [eax], xmm2
mov ecx, dword [ebp + 0x68]
mov eax, dword [esp + 0xd0]
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0xd4]
mov dword [edx + 4], eax
mov eax, dword [esp + 0xd8]
mov dword [edx + 8], eax
mov eax, dword [esp + 0xdc]
mov dword [edx + 0xc], eax
lea eax, [esp + 0x10]
mov edx, dword [esp + 0x88]
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x90]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x94]
mov dword [eax + 0xc], edx
movsd qword [esp + 0x20], xmm3
movsd qword [esp + 0x28], xmm4
mov dword [esp + 0x30], edi
xor edi, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ecx
call fcn.1007c6c0
cmp dword [esi], 0
jle 0x100774ee
test ebx, ebx
je 0x100774c1
push ebx
call fcn.101bceaa
pop ecx
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x100774d3
push eax
call fcn.101bceaa
pop ecx
add esp, 0x134
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0xa8]
mov edx, dword [esi]
jmp 0x100773d2
test ebx, ebx
je 0x100774f9
push ebx
call fcn.101bceaa
pop ecx
add esp, 0x134
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret