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

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 0xc], al
push ebx
push ebp
mov ebp, dword [esp + 0x68]
push esi
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
push edi
mov eax, dword [esi + 4]
dec eax
add eax, ebp
cdq
idiv ebp
mov dword [esp + 0x24], eax
lea eax, [ebp - 1]
add eax, dword [ebx + 4]
cdq
idiv ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 0x20]
lea edi, [eax + 0x14]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x74], edi
lea eax, [edx - 1]
imul eax, dword [edi]
cdq
idiv dword [ebx + 8]
cdq
idiv dword [ebx + 4]
mov ecx, edx
mov dword [esp + 0x20], ecx
test ecx, ecx
jle 0x10014acf
mov eax, dword [esp + 0x6c]
inc ecx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [esp + 0x20]
add eax, ebp
cdq
idiv ebp
imul ecx, eax
mov eax, dword [esp + 0x64]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x6c], eax
dec eax
imul eax, dword [ecx + 0x18]
cdq
idiv dword [ebx + 8]
cdq
idiv dword [ebx + 4]
mov eax, edx
mov dword [esp + 0x20], eax
test eax, eax
jle 0x10014b14
lea ecx, [eax + 1]
mov eax, dword [esp + 0x6c]
cdq
idiv ecx
mov ecx, eax
mov eax, dword [esp + 0x20]
add eax, ebp
cdq
idiv ebp
imul ecx, eax
mov eax, dword [esp + 0x64]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x6c], eax
dec eax
imul eax, dword [ecx + 0x1c]
cdq
idiv dword [ebx + 8]
cdq
idiv dword [ebx + 4]
mov eax, edx
mov dword [esp + 0x20], eax
test eax, eax
jle 0x10014b57
lea ecx, [eax + 1]
mov eax, dword [esp + 0x6c]
cdq
idiv ecx
mov ecx, eax
mov eax, dword [esp + 0x20]
add eax, ebp
cdq
idiv ebp
imul ecx, eax
mov eax, dword [esp + 0x64]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x60]
jmp 0x10014b5b
mov eax, dword [esp + 0x64]
lea ebp, [eax + 4]
mov dword [esp + 0x20], 3
sub eax, ecx
mov dword [esp + 0x6c], eax
mov ecx, eax
jmp 0x10014b74
mov esi, dword [esp + 0x68]
mov eax, dword [edi + 0xc]
cmp eax, 1
jg 0x10014b8d
xor eax, eax
mov dword [ebp], 0
add esi, 8
jmp 0x10014c9c
lea ecx, [eax - 1]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], ecx
push dword [esp + 0x10]
mov eax, dword [eax]
imul eax, ecx
cdq
idiv dword [ebx + 8]
mov ecx, eax
mov esi, edx
cdq
idiv dword [ebx + 4]
mov dword [esp + 0x50], esi
mov dword [esp + 0x48], eax
mov eax, ecx
cdq
idiv dword [ebx + 4]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x4c], edx
mov edi, dword [eax + 4]
lea ecx, [eax + 8]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x1c], ecx
mov eax, dword [eax - 0x10]
imul eax, dword [esp + 0x18]
cdq
idiv dword [ecx]
mov ecx, eax
mov esi, edx
cdq
idiv edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x54], eax
mov eax, ecx
cdq
idiv edi
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x54]
mov esi, dword [esp + 0x6c]
push edi
push esi
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x64], edx
push eax
call fcn.10013b00
add esp, 0x14
cmp byte [esp + 0x10], 0
push dword [esp + 0x1c]
push edi
push ebx
je 0x10014c52
mov eax, dword [esi]
imul eax, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
add eax, dword [esp + 0x44]
imul eax, dword [esi]
add eax, dword [esp + 0x4c]
mov dword [ebp], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10013b00
mov eax, dword [ebx]
imul eax, dword [esp + 0x44]
add eax, dword [esp + 0x40]
jmp 0x10014c89
mov eax, dword [esp + 0x44]
imul eax, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
add eax, dword [esp + 0x48]
imul eax, dword [esi]
add eax, dword [esp + 0x4c]
mov dword [ebp], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10013b00
mov eax, dword [esp + 0x40]
imul eax, dword [esp + 0x3c]
add eax, dword [esp + 0x44]
imul eax, dword [ebx + 8]
add esp, 0x14
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x74]
add eax, dword [esp + 0x34]
mov dword [ecx + edi], eax
add ebp, 4
add edi, 4
sub dword [esp + 0x20], 1
mov dword [esp + 0x74], edi
jne 0x10014b70
mov eax, dword [esp + 0x60]
mov edi, dword [esi]
mov ecx, dword [esp + 0x68]
mov eax, dword [eax]
cdq
idiv edi
mov esi, edx
cdq
idiv dword [ecx + 4]
imul eax, edi
cmp byte [esp + 0x10], 0
je 0x10014ce8
mov ecx, dword [ecx]
add eax, esi
mov esi, dword [esp + 0x70]
imul ecx, edx
imul eax, esi
imul ecx, edi
add eax, ecx
jmp 0x10014cfb
imul eax, dword [esp + 0x24]
imul edx, edi
add eax, esi
mov esi, dword [esp + 0x70]
imul eax, esi
add eax, edx
mov ebp, dword [esp + 0x64]
mov dword [ebp], eax
mov eax, dword [esp + 0x60]
mov edi, dword [ebx + 8]
mov eax, dword [eax + 0x10]
cdq
idiv edi
mov ecx, edx
cdq
idiv dword [ebx + 4]
cmp byte [esp + 0x10], 0
mov dword [esp + 0x60], edx
mov edx, eax
mov dword [esp + 0x68], ecx
je 0x10014d49
mov ecx, dword [ebx]
imul ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x68]
imul edx, esi
imul eax, esi
add ecx, edx
imul ecx, edi
pop edi
pop esi
add ecx, eax
mov dword [ebp + 0x10], ecx
pop ebp
pop ebx
add esp, 0x4c
ret
mov eax, edi
imul edi, dword [esp + 0x60]
imul eax, edx
imul eax, dword [esp + 0x28]
add eax, ecx
imul eax, esi
add eax, edi
pop edi
pop esi
mov dword [ebp + 0x10], eax
pop ebp
pop ebx
add esp, 0x4c
ret