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

Disassembly:
jmp 0x10004960
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [0x100d1168]
push esi
mov esi, dword [0x100d116c]
push edi
mov edi, dword [0x100d1164]
mov eax, edi
imul eax, esi
mov edx, eax
mov dword [esp + 0x1c], eax
imul edx, ebp
mov eax, dword [0x100d1170]
mov ebx, eax
sub ebx, edx
mov edx, ebx
mov ebx, dword [0x100d1160]
imul edx, ebx
sub edx, eax
imul edx, dword [0x100d115c]
add eax, eax
add eax, eax
sub edx, eax
mov ecx, esi
imul ecx, ebp
add edx, ecx
mov dword [esp + 0x18], ecx
imul edx, edx, 0x1f0
mov ecx, ebx
imul ecx, ecx, 0x1f0
lea eax, [esi + esi*2]
add eax, eax
add eax, eax
add eax, eax
sub eax, ecx
lea ecx, [eax + ebp + 0x1f1]
imul ecx, edi
mov eax, 1
sub eax, ebx
imul eax, ebp
add eax, dword [0x100d115c]
add edx, ecx
mov ecx, dword [esp + 0x2c]
add eax, edi
add eax, esi
lea eax, [eax + eax*2]
shl eax, 7
add edx, dword [eax + ecx + 0x3c]
mov ecx, dword [0x100d115c]
imul ecx, ebx
mov eax, dword [0x100d1170]
imul ecx, ebx
sub ecx, eax
sub ecx, 1
imul ecx, esi
add edx, ecx
mov ecx, ebx
imul ecx, ecx, 0x17
add edx, ecx
mov ecx, dword [0x100d115c]
add ecx, edi
lea ecx, [ecx + ebx - 1]
imul ecx, eax
mov eax, ebp
sub eax, esi
add eax, 3
imul eax, ebx
add ecx, eax
mov eax, edi
imul eax, edi
sub ecx, eax
lea eax, [esi - 1]
imul eax, esi
add ecx, eax
sub ecx, ebp
sub edx, ebp
imul ecx, ecx, 0xc8
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [edx + ecx + 0x78]
mov edx, dword [esp + 0x14]
add eax, edx
add eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
lea ecx, [eax + 1]
mov eax, dword [0x100d115c]
imul ecx, esi
mov edx, eax
sub edx, ecx
sub edx, ebp
sub edx, 1
imul edx, ebx
add edx, ebp
mov ecx, edi
sub ecx, esi
lea ecx, [eax + ecx*2]
sub eax, esi
sub eax, 3
imul eax, dword [0x100d1170]
lea edx, [edx + ecx*2]
add eax, edx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x20]
lea eax, [edx + eax*4]
add eax, dword [esp + 0x2c]
mov ecx, dword [0x100d1170]
mov dword [esp + 0x18], eax
lea eax, [ecx + ecx]
mov edx, eax
lea eax, [esi*4]
sub eax, esi
neg eax
sub eax, edx
add eax, dword [0x100d115c]
lea edx, [eax + eax*2]
lea eax, [ecx + ebp]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
mov ecx, 0x1e
sub ecx, eax
imul ecx, edi
lea eax, [ecx + edx*2]
lea edx, [ebx + ebx*2]
add edx, edx
mov ecx, 6
sub ecx, edx
mov edx, dword [esp + 0x10]
imul ecx, ebp
add eax, ecx
add eax, dword [edx + 0x1c]
mov ecx, dword [0x100d1170]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [0x100d115c]
lea edx, [eax + esi]
imul edx, ecx
imul ecx, ebx
add eax, eax
sub eax, edx
add eax, dword [esp + 0x1c]
mov edx, 0xc
sub edx, ecx
imul edx, ebx
lea eax, [eax + eax*2]
lea eax, [edx + eax*2]
lea ecx, [ebp + ebp]
mov edx, edi
sub edx, ecx
lea ecx, [eax + edx*4]
mov eax, dword [0x100d1170]
mov edx, eax
imul edx, edi
add edx, 2
imul edx, edi
add ecx, edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x24]
sub ecx, esi
add ecx, eax
lea ecx, [edx + ecx*2]
add ecx, dword [esp + 0x2c]
mov edx, edi
mov dword [esp + 0x20], ecx
mov ecx, dword [0x100d115c]
imul ecx, esi
imul ecx, ebx
sub edx, ecx
mov ecx, eax
imul ecx, eax
mov eax, ecx
mov ecx, dword [0x100d115c]
imul eax, ecx
lea eax, [edi + eax*2]
lea eax, [eax + edi - 4]
imul eax, ebp
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x10]
add eax, dword [edx + 0x18]
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
je 0x10004c0f
lea eax, [ecx + 1]
imul eax, esi
mov edx, 2
sub edx, eax
imul edx, dword [0x100d1170]
lea eax, [edi + 1]
imul eax, ebp
sub edx, eax
add ecx, ebx
lea eax, [edx + ecx*2]
mov edx, dword [esp + 0x18]
sub eax, esi
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*4]
mov dword [esp + 0x10], eax
jmp 0x10004be0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
add edx, dword [esp + 0x2c]
push edx
call fcn.10001c3f
add esp, 4
cmp eax, dword [esp + 0x30]
je 0x10004c19
mov eax, dword [esp + 0x14]
add dword [esp + 0x10], 4
add eax, 1
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jb 0x10004be0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov eax, dword [0x100d1170]
mov ecx, esi
sub ecx, eax
add ecx, 1
imul ecx, eax
lea edx, [esi + ebx + 4]
imul edx, edi
add ecx, edx
mov edx, dword [esp + 0x14]
lea eax, [ecx + ebx*4]
mov ecx, edi
sub ecx, ebp
imul ecx, edi
sub ecx, ebx
lea ecx, [edx + ecx*4]
mov edx, dword [esp + 0x20]
movzx ecx, word [edx + ecx*2]
sub eax, ebp
pop edi
lea edx, [ecx + eax*2]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + edx*4]
add eax, dword [esp + 0x28]
pop esi
pop ebp
pop ebx
add esp, 0x18
ret