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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x1c]
shl eax, 6
mov ecx, dword [ebp + 8]
sub ecx, eax
mov edx, dword [ebp + 0x18]
imul edx, dword [ebp + 0x18]
shl edx, 6
add ecx, edx
mov eax, dword [ebp + 0x1c]
imul eax, dword [ebp + 0x10]
shl eax, 6
sub ecx, eax
mov edx, dword [ebp + 0x20]
shl edx, 6
add ecx, edx
mov eax, dword [ebp + 0x14]
shl eax, 6
sub ecx, eax
mov edx, dword [ebp + 0x20]
shl edx, 6
add ecx, edx
mov eax, dword [ebp + 0x20]
shl eax, 6
add ecx, eax
mov edx, dword [ebp + 0x14]
shl edx, 6
sub ecx, edx
mov eax, dword [ebp + 0x1c]
shl eax, 6
sub ecx, eax
mov edx, dword [ebp + 0x18]
imul edx, dword [ebp + 0x18]
shl edx, 6
add ecx, edx
mov eax, dword [ebp + 0x1c]
imul eax, dword [ebp + 0x10]
shl eax, 6
sub ecx, eax
mov edx, dword [ebp + 0x20]
shl edx, 6
add ecx, edx
mov eax, dword [ebp + 0x14]
shl eax, 6
sub ecx, eax
mov edx, dword [ebp + 0x20]
shl edx, 6
add ecx, edx
mov eax, dword [ebp + 0x20]
shl eax, 6
add ecx, eax
mov edx, dword [ebp + 0x14]
shl edx, 6
sub ecx, edx
mov eax, dword [ebp + 0x1c]
shl eax, 6
sub ecx, eax
mov edx, dword [ebp + 0x18]
imul edx, dword [ebp + 0x18]
shl edx, 6
add ecx, edx
mov eax, dword [ebp + 0x1c]
imul eax, dword [ebp + 0x10]
shl eax, 6
sub ecx, eax
mov edx, dword [ebp + 0x20]
shl edx, 6
add ecx, edx
mov eax, dword [ebp + 0x14]
shl eax, 6
sub ecx, eax
mov edx, dword [ebp + 0x20]
shl edx, 6
add ecx, edx
mov eax, dword [ebp + 0x20]
shl eax, 6
add ecx, eax
mov edx, dword [ebp + 0x14]
shl edx, 6
sub ecx, edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 0x18]
imul edx, dword [ebp + 0x1c]
xor eax, eax
sub eax, edx
add eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x14]
imul ecx, dword [ebp + 0x1c]
sub eax, ecx
add eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
imul edx, dword [ebp + 0x1c]
sub eax, edx
add eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x14]
imul ecx, dword [ebp + 0x1c]
sub eax, ecx
add eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
imul edx, dword [ebp + 0x1c]
sub eax, edx
add eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x14]
imul ecx, dword [ebp + 0x1c]
sub eax, ecx
add eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
imul edx, dword [ebp + 0x1c]
sub eax, edx
add eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x14]
imul ecx, dword [ebp + 0x1c]
sub eax, ecx
add eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
imul edx, dword [ebp + 0x1c]
sub eax, edx
add eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x14]
imul ecx, dword [ebp + 0x1c]
sub eax, ecx
add eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add ecx, dword [edx + eax*8 + 0x78]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
add eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x14]
imul ecx, dword [ebp + 0x1c]
sub eax, ecx
add eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x24]
imul edx, dword [ebp + 0x1c]
add eax, dword [ebp + 0x14]
add edx, eax
sub edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
imul eax, dword [ebp + 0x1c]
sub edx, eax
add edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x24]
imul ecx, dword [ebp + 0x1c]
add edx, dword [ebp + 0x14]
add ecx, edx
sub ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
imul edx, dword [ebp + 0x1c]
sub ecx, edx
add ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x24]
imul eax, dword [ebp + 0x1c]
add ecx, dword [ebp + 0x14]
add eax, ecx
sub eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x14]
imul ecx, dword [ebp + 0x1c]
sub eax, ecx
add eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x24]
imul edx, dword [ebp + 0x1c]
add eax, dword [ebp + 0x14]
add edx, eax
sub edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
imul eax, dword [ebp + 0x1c]
sub edx, eax
add edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x24]
imul ecx, dword [ebp + 0x1c]
add edx, ecx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
add eax, dword [ebp + 0x18]
add eax, dword [ebp + 0x18]
add eax, dword [ebp + 0x18]
add eax, dword [ebp + 0x18]
add eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
sub edx, dword [ebp + 0x1c]
add edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
imul eax, dword [ebp + 0x18]
imul eax, dword [ebp + 0x10]
sub edx, eax
sub edx, dword [ebp + 0x1c]
sub edx, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0
jmp 0x10016d15
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
sub eax, dword [ebp + 0x14]
add eax, dword [ebp + 0x24]
add eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0x1c]
cmp dword [ebp - 4], eax
jae 0x10016e02
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0x20]
sub ecx, dword [ebp + 0x1c]
add ecx, dword [ebp + 0x14]
add ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x1c]
imul edx, dword [ebp + 0x1c]
sub ecx, edx
mov eax, dword [ebp + 0x18]
imul eax, dword [ebp + 0x1c]
add ecx, dword [ebp + 0x14]
add eax, ecx
sub eax, dword [ebp + 0x1c]
add eax, dword [ebp + 0x14]
add eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x1c]
imul ecx, dword [ebp + 0x1c]
sub eax, ecx
mov edx, dword [ebp + 0x18]
imul edx, dword [ebp + 0x1c]
add eax, dword [ebp + 0x14]
add edx, eax
add edx, dword [ebp + 0x20]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.1001685b
add esp, 0x1c
cmp eax, dword [ebp + 0xc]
jne 0x10016dfd
mov eax, dword [ebp - 4]
add eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x20]
add eax, dword [ebp + 0x18]
add eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x20]
add eax, dword [ebp + 0x18]
add eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x20]
add eax, dword [ebp + 0x18]
add eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x20]
add eax, dword [ebp + 0x18]
add eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x20]
add eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x10016e04
jmp 0x10016d0c
xor eax, eax
mov esp, ebp
pop ebp
ret