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

Disassembly:
sub esp, 0x1c
mov ecx, dword [0x10043140]
push ebx
push ebp
lea eax, [ecx + ecx]
mov dword [esp + 0xc], eax
mov eax, dword [0x10043134]
push esi
mov esi, dword [0x10043130]
push edi
mov edi, eax
imul edi, eax
mov edx, ecx
imul edx, esi
mov dword [esp + 0x24], edx
mov ebp, esi
sub ebp, edi
sub ebp, edx
mov edi, dword [0x10043138]
add ebp, 2
imul ebp, edi
add ebp, dword [esp + 0x14]
mov ebx, ecx
imul ebx, eax
mov dword [esp + 0x28], ebx
lea edx, [esi + eax]
imul edx, edx, 0x5d
add edx, ebx
mov ebx, dword [0x1004313c]
imul edx, ebx
add ebp, esi
imul ebp, ebp, 0x5d
sub ebp, edx
mov edx, eax
imul edx, edi
sub edx, ecx
add edx, esi
imul edx, ebx
lea ebx, [eax - 2]
imul ebx, edi
add edx, ebx
mov ebx, dword [esp + 0x30]
sub edx, esi
add edx, eax
lea edx, [edx + edx*4]
shl edx, 6
shl ebp, 4
add ebp, dword [edx + ebx + 0x3c]
mov edx, esi
imul edx, dword [0x1004313c]
mov ebx, eax
sub ebx, edx
mov edx, dword [0x1004313c]
sub ebx, 2
imul ebx, ecx
lea edx, [edx + edx*2]
add ebx, edx
sub ebx, esi
add ebx, eax
add ebx, edi
imul ebx, ebx, 0xc8
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x30]
mov edx, dword [ebx + ebp + 0x78]
mov ebp, dword [esp + 0x18]
add edx, ebp
add edx, ebx
mov dword [esp + 0x10], edx
mov edx, esi
sub edx, dword [esp + 0x14]
mov ebx, eax
add edx, 2
shl ebx, 4
lea edx, [edx + edx*4]
add edx, ebx
mov ebx, edi
imul ebx, ebx, 0x15
sub edx, ebx
mov ebx, dword [0x1004313c]
imul edx, esi
imul ebx, edi
imul ebx, ebx, 0xb
mov ebp, 5
sub ebp, ebx
imul ebp, eax
mov ebx, dword [0x1004313c]
sub ebp, 5
lea ebx, [eax + ebx*2]
imul ebp, edi
lea ebx, [ebx + ebx*4]
add edx, ebp
add edx, ebx
mov ebx, dword [esp + 0x10]
add edx, dword [ebx + 0x20]
mov ebx, esi
imul ebx, eax
add ebx, 1
imul ebx, eax
lea ebp, [ecx + ecx*2]
mov dword [esp + 0x20], ebp
lea ebp, [ebp + ebx*2]
add ebp, ebx
imul ebp, eax
mov dword [esp + 0x18], ebp
mov ebp, dword [0x1004313c]
lea ebx, [ecx + ebp*4]
lea ebx, [ebx + ebx*2 - 3]
imul ebx, ebp
mov ebp, ebx
mov ebx, dword [esp + 0x18]
add ebx, ebp
lea ebp, [ecx + ecx*2]
add ebp, ebp
add ebp, ebp
sub ebx, ebp
lea ebp, [esi + esi*8]
add ebx, ebp
mov ebp, dword [esp + 0x10]
add ebx, dword [ebp + 0x1c]
mov ebp, 6
add ebx, dword [esp + 0x30]
sub edx, ecx
mov dword [esp + 0x1c], ebx
mov ebx, edi
imul ebx, edi
sub ebp, ebx
add edx, dword [esp + 0x30]
imul ebp, eax
lea ebx, [edi + edi*2 - 6]
sub ebx, esi
sub ebx, eax
imul ebx, esi
sub ecx, eax
lea eax, [edi + 3]
imul eax, edi
add ebp, ebx
lea ebx, [ebp + ecx*2]
mov ecx, dword [0x1004313c]
add ebx, eax
sub ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x24]
sub ebx, ecx
lea ebx, [ebp + ebx*2]
mov ebp, dword [eax + 0x18]
add ebx, dword [esp + 0x30]
test ebp, ebp
mov dword [esp + 0x18], 0
jbe 0x100043bd
add ecx, ecx
add ecx, ecx
add ecx, ecx
sub edx, ecx
mov dword [esp + 0x10], edx
lea esp, [esp]
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
add eax, dword [esp + 0x30]
push eax
call fcn.10003210
add esp, 4
cmp eax, dword [esp + 0x34]
je 0x100043c7
mov eax, dword [esp + 0x18]
add dword [esp + 0x10], 4
add eax, 1
cmp eax, ebp
mov dword [esp + 0x18], eax
jb 0x10004390
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x24]
imul eax, edi
add eax, dword [0x1004313c]
mov ecx, dword [esp + 0x14]
imul eax, esi
imul eax, edi
sub eax, dword [esp + 0x28]
pop edi
add eax, 1
imul eax, esi
lea edx, [ecx + eax*2]
add edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [ebx + edx*2]
mov eax, dword [ecx + eax*4]
add eax, dword [esp + 0x2c]
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret