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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
mov ebx, ecx
mov ecx, 0xff
push esi
push edi
mov dword [esp + 0x28], ebx
mov ax, word [ebx + 0x34]
xor ax, word [ebx + 0x32]
xor ax, word [ebx + 0x30]
cmp ax, cx
jne 0x43e1d3
cmp dword [ebx + 0x70], 0
mov byte [esp + 0x12], 1
jne 0x43e1d8
mov byte [esp + 0x12], 0
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0xe89c]
cmp dword [ebx + 0x64], eax
je 0x43e1f5
mov ecx, ebx
call fcn.0043d0a0
test eax, eax
je 0x43e65e
mov edi, dword [ebp + 8]
xor edx, edx
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x24], ebx
mov ecx, dword [edi + 4]
mov eax, ecx
div ebx
lea esi, [ebx - 1]
sub ecx, edx
xor edx, edx
mov dword [edi + 4], ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [edi + 0xc]
mov eax, ecx
div ebx
mov ebx, dword [edi]
mov eax, ebx
sub ecx, edx
xor edx, edx
div dword [esp + 0x24]
add esi, ecx
mov ecx, dword [edi + 8]
sub ebx, edx
mov dword [edi + 0xc], esi
xor edx, edx
mov dword [edi], ebx
mov eax, ecx
div dword [esp + 0x24]
mov eax, dword [esp + 0x24]
dec eax
sub ecx, edx
add ecx, eax
xor eax, eax
mov dword [edi + 8], ecx
mov edi, dword [esp + 0x5c]
test edi, edi
cmovns eax, edi
xor edx, edx
div dword [esp + 0x24]
mov dword [esp + 0x5c], eax
xor eax, eax
test esi, esi
cmovns eax, esi
mov esi, dword [esp + 0x24]
xor edx, edx
div esi
xor edx, edx
test ebx, ebx
mov dword [esp + 0x14], eax
mov eax, ebx
cmovs eax, edx
div esi
mov dword [esp + 0x54], eax
xor eax, eax
test ecx, ecx
cmovs ecx, eax
xor edx, edx
mov eax, ecx
div esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 4]
lea ecx, [eax + 4]
mov dword [esp + 0x40], ecx
mov ecx, esi
imul ecx, edi
mov al, byte [eax + 0x2c]
mov byte [esp + 0x13], al
movzx eax, al
mov dword [esp + 0x18], eax
imul eax, ebx
mov ebx, dword [esp + 0x28]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov edi, eax
add edi, ecx
mov ecx, dword [esp + 0x18]
add edi, dword [ebx + 0x64]
mov dword [esp + 0x20], edi
mov eax, ecx
imul eax, dword [esp + 0x54]
cdq
and edx, 7
add eax, edx
mov edx, dword [esp + 0x5c]
imul esi, edx
sar eax, 3
add eax, esi
mov esi, eax
mov eax, dword [ebx + 0x14]
add esi, dword [ebx + 0x18]
mov dword [esp + 0x1c], esi
cmp eax, 1
jne 0x43e30b
cmp byte [ebx + 0x74], 0
jne 0x43e30b
cmp dword [ebx + 0x70], 0
je 0x43e65e
cmp byte [ebx + 0x2f], 0
je 0x43e316
cmp eax, 1
jne 0x43e32d
cmp dword [ebx + 0x70], 0
lea eax, [ebx + 4]
mov esi, eax
mov dword [esp + 0x40], esi
je 0x43e611
mov esi, dword [esp + 0x1c]
shr ecx, 3
mov dword [esp + 0x18], ecx
cmp edx, dword [esp + 0x14]
jge 0x43e65e
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x54]
sub dword [esp + 0x14], edx
mov edi, dword [ebx + 0x14]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
nop word [eax + eax]
mov dword [esp + 0x3c], 0
test eax, eax
jle 0x43e5de
mov dword [esp + 0x54], esi
mov edi, dword [ebx + 0x14]
xor eax, eax
mov esi, edi
mov dword [esp + 0x48], eax
xor edx, edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x84], esi
mov dword [esp + 0x38], edx
test esi, esi
je 0x43e539
mov dword [esp + 0x5c], esi
xor eax, eax
mov edi, esi
mov dword [esp + 0x44], eax
test esi, esi
je 0x43e51d
movzx edx, byte [ebx + 0x36]
mov dword [esp + 0x6c], edx
movzx edx, byte [ebx + 0x37]
mov dword [esp + 0x74], edx
movzx edx, byte [ebx + 0x38]
mov dword [esp + 0x7c], edx
movzx edx, word [ebx + 0x30]
mov dword [esp + 0x70], edx
movzx edx, word [ebx + 0x32]
mov dword [esp + 0x78], edx
movzx edx, word [ebx + 0x34]
mov dword [esp + 0x80], edx
xor edx, edx
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x2c], edx
cmp ecx, 2
jb 0x43e47d
mov edx, dword [esp + 0x40]
mov dword [esp + 0x64], edi
imul edi, dword [esp + 0x3c]
mov edx, dword [edx]
mov dword [esp + 0x68], edx
add edi, eax
mov eax, dword [esp + 0x38]
imul edi, ecx
imul eax, edx
add edi, dword [esp + 0x20]
add eax, edi
lea edi, [ecx - 2]
shr edi, 1
inc edi
lea ecx, [edi + edi]
mov dword [esp + 0x2c], ecx
movzx edx, byte [eax]
lea eax, [eax + 2]
mov ecx, esi
shl edx, cl
lea ecx, [esi + 8]
add ebx, edx
add esi, 0x10
movzx edx, byte [eax - 1]
shl edx, cl
add dword [esp + 0x34], edx
sub edi, 1
jne 0x43e434
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x2c], eax
jae 0x43e4c4
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
jmp 0x43e494
test ecx, ecx
je 0x43e4c4
mov eax, dword [esp + 0x40]
mov ebx, dword [eax]
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x14]
mov ecx, edi
mov eax, dword [esp + 0x18]
imul ecx, dword [esp + 0x3c]
add ecx, dword [esp + 0x44]
imul ecx, eax
mov eax, dword [esp + 0x38]
imul eax, ebx
add ecx, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x20]
movzx ebx, byte [eax + ecx]
mov eax, dword [esp + 0x2c]
lea ecx, [eax*8]
shl ebx, cl
jmp 0x43e4c8
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x6c]
lea eax, [esi + edx]
add ebx, eax
mov eax, ebx
shr eax, cl
and eax, dword [esp + 0x70]
add dword [esp + 0x48], eax
mov eax, ebx
mov ecx, dword [esp + 0x74]
shr eax, cl
and eax, dword [esp + 0x78]
add dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x44]
shr ebx, cl
inc eax
and ebx, dword [esp + 0x80]
add dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0x5c]
jb 0x43e3e7
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
inc edx
mov dword [esp + 0x5c], edi
mov esi, edi
mov dword [esp + 0x38], edx
cmp edx, dword [esp + 0x84]
jb 0x43e3a4
mov eax, dword [esp + 0x48]
mov ecx, edi
xor edx, edx
imul ecx, edi
div ecx
xor edx, edx
mov esi, eax
mov eax, dword [esp + 0x4c]
div ecx
xor edx, edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x50]
div ecx
cmp byte [esp + 0x12], 0
mov edx, dword [esp + 0x5c]
je 0x43e570
push eax
mov ecx, esi
call fcn.0043e110
add esp, 4
jmp 0x43e586
movzx ecx, byte [ebx + 0x38]
shl eax, cl
movzx ecx, byte [ebx + 0x36]
shl esi, cl
movzx ecx, byte [ebx + 0x37]
add eax, esi
shl edx, cl
add eax, edx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
test ecx, ecx
je 0x43e5bf
mov esi, dword [esp + 0x54]
xor edx, edx
mov edi, ecx
mov ebx, eax
nop dword [eax]
mov ecx, edx
lea esi, [esi + 1]
mov eax, ebx
add edx, 8
shr eax, cl
mov byte [esi - 1], al
sub edi, 1
jne 0x43e5a0
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edi, dword [ebx + 0x14]
mov eax, dword [esp + 0x3c]
add dword [esp + 0x54], ecx
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x24]
jl 0x43e374
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov eax, edi
imul eax, ecx
add esi, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], esi
add edx, eax
sub dword [esp + 0x14], 1
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], edx
jne 0x43e360
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx eax, byte [esp + 0x13]
shr eax, 3
cmp edx, dword [esp + 0x14]
jge 0x43e65e
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x54]
imul ecx, eax
sub dword [esp + 0x14], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
push ecx
push edi
push eax
call fcn.005264b0
mov eax, dword [ebx + 0x14]
add esp, 0xc
imul eax, dword [esi]
mov ecx, dword [esp + 0x24]
add edi, eax
mov eax, dword [esp + 0x1c]
add eax, dword [esi]
sub dword [esp + 0x14], 1
mov dword [esp + 0x1c], eax
jne 0x43e636
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4