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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4efc7b
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
xor ebx, ebx
mov edi, edx
mov eax, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4be0e0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.00404fd0
mov dword [esp + 0x1a0], ebx
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x4be12c
cmp dword [esp + 0x84], 0x10
mov ecx, dword [esp + 0x70]
jae 0x4be118
lea ecx, [esp + 0x70]
cmp byte [ecx + eax - 1], 0x5c
je 0x4be12c
push 0x5c
push 1
lea esi, [esp + 0x78]
call fcn.0040a480
call fcn.004be840
test al, al
jne 0x4be15f
mov dword [esp + 0x1a0], 0xffffffff
cmp dword [esp + 0x84], 0x10
jb 0x4be157
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004c9387
add esp, 4
or eax, 0xffffffff
jmp 0x4be3fc
mov esi, dword [edi + 0x38]
cmp esi, ebx
jne 0x4be194
mov esi, 0xffffff9a
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4be17b
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
test esi, esi
je 0x4be3d6
cmp esi, 0xffffff9c
je 0x4be3d6
or esi, 0xffffffff
jmp 0x4be3d8
mov edx, dword [esi + 0x44]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esi + 0x98]
push eax
lea ecx, [esi + 0x48]
push ecx
mov eax, esi
mov dword [esi + 0x34], edx
mov dword [esi + 0x30], ebx
call fcn.004c0e90
xor edx, edx
add esp, 0x20
cmp eax, ebx
sete dl
mov dword [esi + 0x38], edx
mov esi, eax
cmp eax, ebx
jne 0x4be16b
mov eax, dword [edi + 0x38]
push 0
push 0
push 0
push 0
push 0x100
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x34]
push 0
push edx
call fcn.004c0e90
add esp, 0x20
cmp byte [esp + 0x8c], 0
lea ecx, [esp + 0x8c]
je 0x4be20e
cmp byte [ecx], 0x2f
jne 0x4be208
mov byte [ecx], 0x5c
inc ecx
cmp byte [ecx], 0
jne 0x4be200
mov esi, eax
test eax, eax
jne 0x4be16b
mov ebx, dword [esp + 0x3c]
inc ebx
lea edi, [esp + 0x8c]
cmp ebx, 0x100
jbe 0x4be278
push ebx
call fcn.004c83da
add esp, 4
push esi
push esi
push esi
push esi
mov edi, eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x38]
push ebx
push edi
lea ecx, [esp + 0x34]
push esi
push ecx
call fcn.004c0e90
add esp, 0x20
mov ecx, edi
test edi, edi
je 0x4be26e
cmp byte [edi], 0
je 0x4be26e
lea ecx, [ecx]
cmp byte [ecx], 0x2f
jne 0x4be268
mov byte [ecx], 0x5c
inc ecx
cmp byte [ecx], 0
jne 0x4be260
mov esi, eax
test eax, eax
jne 0x4be16b
cmp byte [ebx + edi - 1], 0x5c
je 0x4be2f6
mov ecx, str..readme
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4be2a6
test dl, dl
je 0x4be2a2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4be2a6
add eax, 2
add ecx, 2
test dl, dl
jne 0x4be286
xor eax, eax
jmp 0x4be2ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4be2f6
mov eax, dword [esp + 0x70]
mov ebx, 0x10
cmp dword [esp + 0x84], ebx
jae 0x4be2c5
lea eax, [esp + 0x70]
mov edx, dword [esp + 0x80]
push edx
push edi
push eax
call fcn.004e2752
add esp, 0xc
test eax, eax
jne 0x4be2f6
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x18]
lea ecx, [ecx + edi]
call fcn.004b9de0
test al, al
je 0x4be38c
lea ecx, [esp + 0x8c]
cmp edi, ecx
je 0x4be30a
push edi
call fcn.004c9b0b
add esp, 4
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 0x38]
test esi, esi
je 0x4be166
cmp dword [esi + 0x38], 0
je 0x4be382
mov eax, dword [esi + 0x24]
cmp eax, 0xffff
je 0x4be331
mov ecx, dword [esi + 0x30]
inc ecx
cmp ecx, eax
je 0x4be382
mov edx, dword [esi + 0x70]
add edx, dword [esi + 0x6c]
mov eax, dword [esi + 0x68]
inc dword [esi + 0x30]
push 0
push 0
push 0
push 0
lea ecx, [edx + eax + 0x2e]
add dword [esi + 0x34], ecx
push 0
push 0
lea edx, [esi + 0x98]
push edx
lea eax, [esi + 0x48]
push eax
mov eax, esi
call fcn.004c0e90
xor ecx, ecx
add esp, 0x20
test eax, eax
sete cl
mov dword [esi + 0x38], ecx
mov esi, eax
test eax, eax
jne 0x4be16b
mov edi, dword [esp + 0x14]
jmp 0x4be1c8
mov esi, 0xffffff9c
jmp 0x4be16b
lea edx, [esp + 0x8c]
cmp edi, edx
je 0x4be3a0
push edi
call fcn.004c9b0b
add esp, 4
test esi, esi
je 0x4be3ae
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov dword [esp + 0x1a0], 0xffffffff
cmp dword [esp + 0x84], ebx
jb 0x4be3cf
mov eax, dword [esp + 0x70]
push eax
call fcn.004c9387
add esp, 4
mov eax, 1
jmp 0x4be3fc
xor esi, esi
mov dword [esp + 0x1a0], 0xffffffff
cmp dword [esp + 0x84], 0x10
jb 0x4be3fa
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004c9387
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.004c9392
mov esp, ebp
pop ebp
ret 4