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

Disassembly:
sub esp, 0x64
mov eax, dword [0x55747c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
lea eax, [esp + 0x30]
push edi
mov edi, dword [esp + 0x78]
push 0x7a1200
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
call fcn.00474ce0
mov ebp, edi
add esp, 8
lea ecx, [ebp + 1]
nop dword [eax]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x4a8bf0
sub ebp, ecx
cmp ebp, 0x7a1200
ja 0x4a922f
push 0x5217d4
push edi
call fcn.004f54a0
add esp, 8
cmp eax, ebp
jne 0x4a922f
mov ebx, dword [esp + 0x80]
test ebx, 0x800
jne 0x4a8c3e
push 0x20
push edi
call fcn.004e7e10
add esp, 8
test eax, eax
jne 0x4a922f
mov edi, ebx
and edi, 0x204
setne al
movzx eax, al
push eax
push 0x29
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x24]
call fcn.004a6f50
add esp, 0x10
mov dword [esp + 0x20], eax
test eax, eax
je 0x4a8e5e
mov ecx, str.file
lea eax, [esp + 0x44]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4a8c95
test dl, dl
je 0x4a8c91
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4a8c95
add eax, 2
add ecx, 2
test dl, dl
jne 0x4a8c75
xor eax, eax
jmp 0x4a8c9a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4a8e07
mov byte [esp + 0x13], al
cmp ebp, 6
ja 0x4a8cb5
mov esi, 0x13
jmp 0x4a9234
mov edi, dword [esp + 0x18]
lea ebx, [ebp - 5]
add edi, 5
push str.file
mov dword [esp + 0x20], edi
call dword [0x55700c]
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x4a8fd3
cmp byte [edi], 0x2f
jne 0x4a8da6
cmp byte [edi + 1], 0x2f
jne 0x4a8da6
mov al, byte [edi + 2]
add edi, 2
cmp al, 0x2f
je 0x4a8d97
cmp al, 0x61
jl 0x4a8d04
cmp al, 0x7a
jle 0x4a8d0a
sub al, 0x41
cmp al, 0x19
ja 0x4a8d24
mov al, byte [edi + 1]
cmp al, 0x3a
je 0x4a8d15
cmp al, 0x7c
jne 0x4a8d24
mov al, byte [edi + 2]
cmp al, 0x2f
je 0x4a8d97
cmp al, 0x5c
je 0x4a8d97
test al, al
je 0x4a8d97
push 0xa
push str.localhost_
push edi
call fcn.00484800
add esp, 0xc
test eax, eax
jne 0x4a8dfa
push 0xa
push str.127.0.0.1_
push edi
call fcn.00484800
add esp, 0xc
test eax, eax
jne 0x4a8dfa
push str._:____
push edi
call fcn.004f9530
add esp, 8
test eax, eax
je 0x4a8cab
cmp byte [eax], 0x2f
jne 0x4a8cab
sub eax, edi
je 0x4a8d93
push eax
lea eax, [esp + 0x38]
push edi
push eax
call fcn.00474ca0
add esp, 0xc
test eax, eax
jne 0x4a8fd3
mov byte [esp + 0x13], 1
mov edi, dword [esp + 0x1c]
mov ebx, ebp
sub ebx, edi
add ebx, dword [esp + 0x18]
cmp byte [esp + 0x13], 0
jne 0x4a8db3
lea eax, [esp + 0x34]
push eax
call fcn.00474d20
add esp, 4
cmp byte [edi], 0x2f
jne 0x4a9004
mov al, byte [edi + 1]
cmp al, 0x61
jl 0x4a8dc7
cmp al, 0x7a
jle 0x4a8dd1
sub al, 0x41
cmp al, 0x19
ja 0x4a9004
mov al, byte [edi + 2]
cmp al, 0x3a
je 0x4a8de0
cmp al, 0x7c
jne 0x4a9004
mov al, byte [edi + 3]
cmp al, 0x2f
je 0x4a8df3
cmp al, 0x5c
je 0x4a8df3
test al, al
jne 0x4a9004
inc edi
dec ebx
jmp 0x4a9004
mov ebx, dword [esp + 0x18]
add edi, 9
sub ebx, edi
add ebx, ebp
jmp 0x4a8da6
mov esi, dword [esp + 0x20]
xor edi, edi
inc esi
add esi, dword [esp + 0x18]
cmp byte [esi], 0x2f
jne 0x4a8e23
cmp edi, 4
jge 0x4a8e23
inc esi
inc edi
cmp byte [esi], 0x2f
je 0x4a8e17
lea ebx, [esp + 0x44]
mov eax, ebx
mov dword [esp + 0x1c], ebx
push eax
call fcn.0047ade0
add esp, 4
test eax, eax
jne 0x4a8e4c
test byte [esp + 0x80], 8
jne 0x4a8e4c
lea esi, [eax + 5]
jmp 0x4a9234
lea eax, [edi - 1]
cmp eax, 2
jbe 0x4a8e86
mov esi, 0x1c
jmp 0x4a9234
test edi, edi
jne 0x4a8e6a
lea esi, [edi + 0x1b]
jmp 0x4a9234
mov esi, dword [esp + 0x18]
test bl, 4
mov ebx, str.https
mov eax, 0
cmove ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x4a8e9e
push ebx
call dword [0x55700c]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x4a8fd3
push 0x521874
push esi
call fcn.004f54a0
mov ecx, eax
mov ebx, ebp
add esp, 8
lea edi, [ecx + esi]
sub ebx, edi
add ebx, dword [esp + 0x18]
test ecx, ecx
je 0x4a8fdd
cmp dword [esp + 0x20], 0
mov ebp, dword [esp + 0x14]
setne al
movzx eax, al
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x88]
push ecx
push esi
push ebp
call fcn.004a8870
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4a9234
test dword [esp + 0x80], 0x200
je 0x4a9004
cmp dword [esp + 0x1c], eax
jne 0x4a9004
lea eax, [esp + 0x34]
push eax
call fcn.00474d10
push 4
mov esi, eax
push str.ftp.
push esi
call fcn.00484800
add esp, 0x10
test eax, eax
je 0x4a8f37
mov ecx, 0x51c464
jmp 0x4a8fc2
push 5
push str.dict.
push esi
call fcn.00484800
add esp, 0xc
test eax, eax
je 0x4a8f52
mov ecx, str.dict
jmp 0x4a8fc2
push 5
push str.ldap.
push esi
call fcn.00484800
add esp, 0xc
test eax, eax
je 0x4a8f6d
mov ecx, str.ldap
jmp 0x4a8fc2
push 5
push str.imap.
push esi
call fcn.00484800
add esp, 0xc
test eax, eax
je 0x4a8f88
mov ecx, str.imap
jmp 0x4a8fc2
push 5
push str.smtp.
push esi
call fcn.00484800
add esp, 0xc
test eax, eax
je 0x4a8fa3
mov ecx, str.smtp
jmp 0x4a8fc2
push 5
push str.pop3.
push esi
call fcn.00484800
add esp, 0xc
mov ecx, str.pop3
test eax, eax
mov edx, str.http
cmove ecx, edx
push ecx
call dword [0x55700c]
add esp, 4
mov dword [ebp], eax
test eax, eax
jne 0x4a9004
mov esi, 7
jmp 0x4a9234
test dword [esp + 0x80], 0x400
je 0x4a9228
lea eax, [esp + 0x34]
push 0x533cd4
push eax
call fcn.00474c50
add esp, 8
test eax, eax
jne 0x4a8fd3
push 0x23
push edi
call fcn.004e7e10
mov esi, eax
add esp, 8
test esi, esi
je 0x4a9091
mov ebp, ebx
sub ebp, esi
add ebp, edi
cmp ebp, 1
jbe 0x4a908f
test byte [esp + 0x80], 0x80
lea eax, [ebp - 1]
lea ecx, [esi + 1]
je 0x4a9076
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.00474ce0
push 0
push 1
lea eax, [ebp - 1]
push eax
lea eax, [esi + 1]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004a92d0
add esp, 0x1c
test eax, eax
jne 0x4a8fd3
lea eax, [esp + 0x24]
push eax
call fcn.00474d10
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 0x24], eax
jmp 0x4a908f
push eax
push ecx
call fcn.0047ee50
mov ecx, dword [esp + 0x1c]
add esp, 8
mov dword [ecx + 0x24], eax
test eax, eax
je 0x4a8fd3
sub ebx, ebp
push ebx
push 0x3f
push edi
call fcn.004e8c00
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x4a913a
test esi, esi
je 0x4a90af
sub esi, ebp
jmp 0x4a90b5
mov esi, ebx
sub esi, ebp
add esi, edi
sub ebx, esi
cmp esi, 1
jbe 0x4a912a
dec esi
test byte [esp + 0x80], 0x80
je 0x4a910a
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.00474ce0
push 1
push 1
push esi
lea eax, [ebp + 1]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004a92d0
add esp, 0x1c
test eax, eax
jne 0x4a8fd3
lea eax, [esp + 0x24]
push eax
call fcn.00474d10
mov esi, dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x20], eax
jmp 0x4a913e
lea eax, [ebp + 1]
push esi
push eax
call fcn.0047ee50
add esp, 8
mov esi, dword [esp + 0x14]
mov dword [esi + 0x20], eax
test eax, eax
jne 0x4a913e
lea esi, [eax + 7]
jmp 0x4a9234
push 0x533cd4
call dword [0x55700c]
add esp, 4
jmp 0x4a9117
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
test ebx, ebx
je 0x4a919c
test cl, cl
jns 0x4a919c
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.00474ce0
push 0
push 1
push ebx
lea eax, [esp + 0x38]
push edi
push eax
call fcn.004a92d0
add esp, 0x1c
test eax, eax
jne 0x4a8fd3
lea eax, [esp + 0x24]
push eax
call fcn.00474d00
mov ebx, eax
lea eax, [esp + 0x28]
push eax
call fcn.00474d10
mov ecx, dword [esp + 0x88]
mov edi, eax
add esp, 8
mov dword [esi + 0x1c], edi
cmp ebx, 1
jbe 0x4a9203
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x4a91c8
push ebx
push edi
call fcn.0047ee50
mov edi, eax
add esp, 8
mov dword [esi + 0x1c], edi
test edi, edi
je 0x4a8fd3
mov ecx, dword [esp + 0x80]
jmp 0x4a91d0
test cl, cl
jns 0x4a91d0
mov byte [eax + ebx], 0
test cl, 0x10
jne 0x4a9203
lea eax, [esp + 0x1c]
push eax
push ebx
push edi
call fcn.004a81a0
add esp, 0xc
test eax, eax
jne 0x4a8fd3
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4a9203
push dword [esi + 0x1c]
call dword [0x557004]
add esp, 4
mov dword [esi + 0x1c], edi
lea eax, [esp + 0x34]
push eax
call fcn.00474d10
add esp, 4
mov dword [esi + 0x10], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004d04d5
add esp, 0x64
ret
mov esi, 0xe
jmp 0x4a9234
mov esi, 3
lea eax, [esp + 0x34]
push eax
call fcn.00474cb0
push dword [esp + 0x18]
call fcn.004a8410
mov ecx, dword [esp + 0x78]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d04d5
add esp, 0x64
ret