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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bae2b
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [str.W__a]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [str.W__a]
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 0x4a6f50
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.00408800
mov dword [esp + 0x1a0], ebx
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x4a6f9c
cmp dword [esp + 0x84], 0x10
mov ecx, dword [esp + 0x70]
jae 0x4a6f88
lea ecx, [esp + 0x70]
cmp byte [ecx + eax - 1], 0x5c
je 0x4a6f9c
push 0x5c
push 1
lea ecx, [esp + 0x78]
call fcn.004097c0
call fcn.004a76b0
test al, al
jne 0x4a6fcf
mov dword [esp + 0x1a0], 0xffffffff
cmp dword [esp + 0x84], 0x10
jb 0x4a6fc7
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00548a36
add esp, 4
or eax, 0xffffffff
jmp 0x4a726c
mov esi, dword [edi + 0x38]
cmp esi, ebx
jne 0x4a7004
mov esi, 0xffffff9a
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4a6feb
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
test esi, esi
je 0x4a7246
cmp esi, 0xffffff9c
je 0x4a7246
or esi, 0xffffffff
jmp 0x4a7248
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.0051ba40
xor edx, edx
add esp, 0x20
cmp eax, ebx
sete dl
mov dword [esi + 0x38], edx
mov esi, eax
cmp eax, ebx
jne 0x4a6fdb
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.0051ba40
add esp, 0x20
cmp byte [esp + 0x8c], 0
lea ecx, [esp + 0x8c]
je 0x4a707e
cmp byte [ecx], 0x2f
jne 0x4a7078
mov byte [ecx], 0x5c
inc ecx
cmp byte [ecx], 0
jne 0x4a7070
mov esi, eax
test eax, eax
jne 0x4a6fdb
mov ebx, dword [esp + 0x3c]
inc ebx
lea edi, [esp + 0x8c]
cmp ebx, 0x100
jbe 0x4a70e8
push ebx
call fcn.00547a7c
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.0051ba40
add esp, 0x20
mov ecx, edi
test edi, edi
je 0x4a70de
cmp byte [edi], 0
je 0x4a70de
lea ecx, [ecx]
cmp byte [ecx], 0x2f
jne 0x4a70d8
mov byte [ecx], 0x5c
inc ecx
cmp byte [ecx], 0
jne 0x4a70d0
mov esi, eax
test eax, eax
jne 0x4a6fdb
cmp byte [ebx + edi - 1], 0x5c
je 0x4a7166
mov ecx, str..readme
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4a7116
test dl, dl
je 0x4a7112
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4a7116
add eax, 2
add ecx, 2
test dl, dl
jne 0x4a70f6
xor eax, eax
jmp 0x4a711b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a7166
mov eax, dword [esp + 0x70]
mov ebx, 0x10
cmp dword [esp + 0x84], ebx
jae 0x4a7135
lea eax, [esp + 0x70]
mov edx, dword [esp + 0x80]
push edx
push edi
push eax
call fcn.0055f420
add esp, 0xc
test eax, eax
jne 0x4a7166
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x18]
lea ecx, [ecx + edi]
call fcn.0049e8b0
test al, al
je 0x4a71fc
lea ecx, [esp + 0x8c]
cmp edi, ecx
je 0x4a717a
push edi
call fcn.00549081
add esp, 4
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 0x38]
test esi, esi
je 0x4a6fd6
cmp dword [esi + 0x38], 0
je 0x4a71f2
mov eax, dword [esi + 0x24]
cmp eax, 0xffff
je 0x4a71a1
mov ecx, dword [esi + 0x30]
inc ecx
cmp ecx, eax
je 0x4a71f2
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.0051ba40
xor ecx, ecx
add esp, 0x20
test eax, eax
sete cl
mov dword [esi + 0x38], ecx
mov esi, eax
test eax, eax
jne 0x4a6fdb
mov edi, dword [esp + 0x14]
jmp 0x4a7038
mov esi, 0xffffff9c
jmp 0x4a6fdb
lea edx, [esp + 0x8c]
cmp edi, edx
je 0x4a7210
push edi
call fcn.00549081
add esp, 4
test esi, esi
je 0x4a721e
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 0x4a723f
mov eax, dword [esp + 0x70]
push eax
call fcn.00548a36
add esp, 4
mov eax, 1
jmp 0x4a726c
xor esi, esi
mov dword [esp + 0x1a0], 0xffffffff
cmp dword [esp + 0x84], 0x10
jb 0x4a726a
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00548a36
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.00548a41
mov esp, ebp
pop ebp
ret 4