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

Disassembly:
sub esp, 0x86c
mov ecx, dword [esp + 0x878]
mov eax, dword [esp + 0x874]
push ebx
push ebp
mov ebp, 1
shl ebp, cl
push esi
push edi
mov edi, dword [esp + 0x880]
lea eax, [eax + ebp - 1]
shr eax, cl
lea ebx, [edi + ebp - 1]
shr ebx, cl
mov ecx, dword [esp + 0x8a0]
mov edx, dword [ecx]
xor esi, esi
push 0x3fc
mov dword [esp + 0x34], eax
lea eax, [esp + 0x84]
push esi
push eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edx
mov dword [esp + 0x88], esi
call fcn.10059b00
push 0x3fc
lea ecx, [esp + 0x490]
push esi
push ecx
mov dword [esp + 0x494], esi
call fcn.10059b00
xor eax, eax
add esp, 0x18
cmp dword [esp + 0x30], eax
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 0
mov dword [esp + 0x44], esi
jle 0x10044007
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x58], eax
mov eax, ebp
imul eax, edi
mov dword [esp + 0x70], eax
mov eax, ebp
neg eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x894]
lea ecx, [ebx*4]
mov dword [esp + 0x50], eax
sub eax, ecx
mov dword [esp + 0x48], eax
jmp 0x10043d00
xor eax, eax
cmp ebx, eax
mov dword [esp + 0x40], eax
jle 0x10043fa0
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, ebp
neg eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], eax
mov edi, edi
mov ecx, dword [esp + 0x1c]
lea eax, [ecx + ebp]
cmp eax, edi
mov dword [esp + 0x24], edi
jg 0x10043d43
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x884]
lea eax, [edx + ebp]
cmp eax, ebx
mov dword [esp + 0x20], ebx
jg 0x10043d5d
mov dword [esp + 0x20], eax
test esi, esi
je 0x10043d7b
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
mov ecx, eax
shr ecx, 8
mov byte [esp + 0x14], al
shr eax, 0x10
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], al
mov edx, dword [esp + 0x890]
push edx
mov edx, dword [esp + 0x890]
lea eax, [esp + 0x480]
push eax
lea ecx, [esp + 0x84]
push ecx
push ebx
push edx
movzx edx, byte [esp + 0x2a]
push ecx
movzx ecx, word [esp + 0x2c]
mov eax, esp
mov word [eax], cx
push ecx
movzx ecx, word [esp + 0x2c]
mov byte [eax + 2], dl
movzx edx, byte [esp + 0x2e]
mov eax, esp
mov word [eax], cx
mov ecx, dword [esp + 0x8a4]
mov byte [eax + 2], dl
mov eax, dword [esp + 0x5c]
push esi
push eax
lea esi, [esp + 0x9c]
call fcn.10043b40
mov cx, word [eax]
mov al, byte [eax + 2]
movzx edx, al
or edx, 0xffffff00
mov word [esp + 0x34], cx
movzx esi, byte [esp + 0x35]
shl edx, 8
or edx, esi
movzx esi, cl
shl edx, 8
or edx, esi
mov esi, dword [esp + 0x60]
mov byte [esp + 0x36], al
mov byte [esp + 0x5e], al
mov eax, dword [esp + 0x78]
add esp, 0x24
cmp ebp, eax
mov dword [esi], edx
mov word [esp + 0x38], cx
mov dword [esp + 0x18], eax
jg 0x10043e27
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x58]
lea esi, [eax + ebx]
cmp ebp, esi
jg 0x10043e34
mov esi, ebp
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x890]
lea edi, [ecx + edx]
lea ebx, [eax + edi*4]
mov ebp, ebx
test esi, esi
jle 0x10043e76
nop
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x3c]
push ebp
push edx
dec esi
call dword [0x10078300]
mov eax, dword [esp + 0x88c]
add eax, eax
add eax, eax
add esp, 0xc
add ebp, eax
test esi, esi
jg 0x10043e50
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
cmp ecx, eax
jge 0x10043f5d
mov edx, dword [esp + 0x880]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x890]
add ebx, 0xfffffffc
mov dword [esp + 0x18], ebx
lea ebx, [ecx - 1]
imul ebx, edx
add ebx, esi
lea ebp, [ebp + ebx*4 - 4]
mov ebx, dword [esp + 0x24]
sub ebx, esi
sub eax, ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x24], eax
nop
lea eax, [edi + ebx]
cmp edi, eax
mov esi, edi
jge 0x10043f3b
mov ecx, dword [esp + 0x18]
lea ecx, [ecx]
cmp esi, 2
mov eax, dword [ecx + 4]
jl 0x10043ee1
cmp eax, dword [ecx - 4]
jne 0x10043ee1
cmp eax, dword [ecx]
je 0x10043f29
lea ebx, [edx + 2]
cmp esi, ebx
jl 0x10043efc
mov ebx, dword [ecx - 4]
cmp ebx, dword [ebp - 4]
jne 0x10043efc
mov ebx, dword [ecx]
cmp ebx, dword [ebp]
jne 0x10043efc
cmp eax, dword [ebp + 4]
je 0x10043f29
mov edx, eax
shr edx, 0x10
and edx, 0xff
inc dword [esp + edx*4 + 0x7c]
and eax, 0xff
inc dword [esp + eax*4 + 0x47c]
lea edx, [esp + edx*4 + 0x7c]
mov edx, dword [esp + 0x880]
lea eax, [esp + eax*4 + 0x47c]
mov ebx, dword [esp + 0x6c]
inc esi
lea eax, [edi + ebx]
add ecx, 4
add ebp, 4
cmp esi, eax
jl 0x10043ed0
mov ebp, dword [esp + 0x20]
lea eax, [edx*4]
add dword [esp + 0x18], eax
add ebp, eax
add edi, edx
sub dword [esp + 0x24], 1
mov dword [esp + 0x20], ebp
jne 0x10043ec0
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x40]
add dword [esp + 0x1c], edx
mov edx, dword [esp + 0x74]
add dword [esp + 0x54], edx
mov edi, dword [esp + 0x880]
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x5c]
mov ecx, 4
add dword [esp + 0x34], ecx
add dword [esp + 0x3c], ecx
inc eax
cmp eax, dword [esp + 0x60]
mov dword [esp + 0x40], eax
jl 0x10043d30
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x8a0]
push eax
mov eax, dword [esp + 0x50]
cdq
idiv dword [esp + 0x34]
mov ecx, dword [esp + 0x89c]
add eax, dword [esp + 0x68]
push eax
push ecx
call fcn.1004c5f0
add esp, 0xc
test eax, eax
je 0x10044017
mov eax, dword [esp + 0x70]
add dword [esp + 0x2c], eax
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x89c]
add dword [esp + 0x28], ebp
add dword [esp + 0x58], edx
add dword [esp + 0x4c], ecx
lea eax, [ebx*4]
add dword [esp + 0x50], eax
add dword [esp + 0x48], eax
inc esi
cmp esi, dword [esp + 0x30]
mov dword [esp + 0x44], esi
jl 0x10043d00
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x86c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x86c
ret