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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
sub eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x64]
add eax, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x70]
lea esi, [eax*4]
mov dword [esp], esi
call fcn.0042d7a0
mov dword [esp + 0x24], eax
test eax, eax
je 0x43f957
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
add esi, eax
add edx, 5
test ecx, ecx
je 0x43f769
mov dword [eax], edx
add eax, 4
cmp esi, eax
jne 0x43f760
mov eax, dword [ebx]
mov edx, dword [esp + 0x68]
lea ecx, [ebx + 0xc]
mov ebp, 1
mov dword [esp + 0x2c], ecx
mov dword [edx], eax
mov eax, dword [ebx + 4]
lea edi, [edx + 0xc]
mov dword [edx + 4], eax
mov ebx, dword [ebx + 8]
mov dword [edx + 8], ebx
mov dword [esp], ebx
mov dword [esp + 4], 0x11
call sub.msvcrt.dll__lrotr
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], 1
mov edx, eax
mov eax, dword [esp + 0x68]
lea edx, [edx + edx*4]
mov eax, dword [eax + 7]
lea eax, [eax + eax*2]
add eax, ebx
add eax, edx
lea edx, [esi - 1]
mov esi, dword [esp + 0x6c]
and eax, dword [esp + 0x20]
mov dword [esp + 0x30], edx
lea edx, [esi - 1]
mov esi, ebx
mov ebx, ecx
mov dword [esp + 0x34], edx
jmp 0x43f825
test ebp, ebp
jne 0x43f7ef
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov dword [edx + eax*4], edi
movzx eax, byte [ebx - 1]
add edi, 1
mov byte [edi - 1], al
mov esi, dword [edi - 4]
mov dword [esp + 4], 0x11
mov dword [esp], esi
call sub.msvcrt.dll__lrotr
mov ecx, eax
mov eax, dword [edi - 5]
lea ecx, [ecx + ecx*4]
lea eax, [eax + eax*2]
add ecx, esi
add eax, ecx
and eax, dword [esp + 0x20]
cmp dword [esp + 0x1c], ebx
jbe 0x43f860
add ebx, 1
sub ebp, 1
cmp byte [ebx - 1], 0xb5
jne 0x43f7e0
mov edx, dword [esp + 0x24]
lea eax, [edx + eax*4]
mov edx, dword [eax]
test ebp, ebp
jne 0x43f844
mov dword [eax], edi
mov ebp, dword [esp + 0x28]
cmp dword [edx - 4], esi
jne 0x43f7ef
mov esi, dword [esp + 0x1c]
lea ecx, [esi - 1]
cmp byte [esi - 1], 0xff
mov dword [esp + 0x2c], ecx
jne 0x43f880
mov dword [esp + 0x1c], ecx
jmp 0x43f7ef
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.0042d920
mov eax, edi
sub eax, dword [esp + 0x68]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [eax], edi
mov eax, dword [esp + 0x28]
mov esi, edi
sub esi, edx
add eax, 1
imul eax, dword [esp + 0x70]
cmp esi, eax
seta cl
xor eax, eax
cmp dword [esp + 0x28], 6
setbe al
and eax, ecx
add dword [esp + 0x28], eax
cmp esi, dword [esp + 0x74]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
cmovle eax, dword [esp + 0x34]
movzx ecx, byte [esi - 1]
test cl, cl
jne 0x43f8dc
mov esi, dword [esp + 0x2c]
lea esi, [esi]
movzx ecx, byte [esi - 1]
sub esi, 1
add eax, 0xfe
test cl, cl
je 0x43f8c8
mov dword [esp + 0x2c], esi
add ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
mov esi, edx
add ecx, edi
mov dword [esp + 0x3c], ebp
lea eax, [eax + eax + 1]
mov ebx, ecx
mov dword [esp + 0x1c], eax
jmp 0x43f908
movsb byte es:[edi], byte [esi]
cmp edi, ebx
je 0x43f942
sub eax, 1
test eax, eax
jne 0x43f900
mov ebp, dword [edi - 4]
mov dword [esp + 4], 0x11
mov dword [esp], ebp
call sub.msvcrt.dll__lrotr
mov ecx, eax
mov eax, dword [edi - 5]
lea edx, [ecx + ecx*4]
lea eax, [eax + eax*2]
add eax, ebp
add eax, edx
mov edx, dword [esp + 0x24]
and eax, dword [esp + 0x20]
mov dword [edx + eax*4], edi
mov eax, dword [esp + 0x1c]
movsb byte es:[edi], byte [esi]
cmp edi, ebx
jne 0x43f905
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
jmp 0x43f7f9
mov eax, 0xfffffffb
jmp 0x43f872