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

Disassembly:
sub esp, 0x64
mov eax, dword [0x517728]
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 + 0x24], edi
mov dword [esp + 0x20], esi
call fcn.00422620
mov ebp, edi
add esp, 8
lea ecx, [ebp + 1]
nop dword [eax]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x459a60
sub ebp, ecx
cmp ebp, 0x7a1200
ja 0x45a0e0
push 0x4f3780
push edi
call fcn.004c9430
add esp, 8
cmp eax, ebp
jne 0x45a0e0
mov ebx, dword [esp + 0x80]
test ebx, 0x800
jne 0x459aae
push 0x20
push edi
call fcn.004bae50
add esp, 8
test eax, eax
jne 0x45a0e0
mov edi, ebx
and edi, 0x204
setne al
movzx eax, al
push eax
push 0x29
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x28]
call fcn.00457b80
add esp, 0x10
mov dword [esp + 0x20], eax
test eax, eax
je 0x459ced
mov ecx, 0x4eb9ac
lea eax, [esp + 0x44]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x459b05
test dl, dl
je 0x459b01
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x459b05
add eax, 2
add ecx, 2
test dl, dl
jne 0x459ae5
xor eax, eax
jmp 0x459b0a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x459c94
mov byte [esp + 0x13], al
cmp ebp, 6
ja 0x459b25
mov esi, 0x13
jmp 0x45a0e5
mov edi, dword [esp + 0x1c]
lea ebx, [ebp - 5]
add edi, 5
push 0x4eb9ac
mov dword [esp + 0x18], edi
call dword [0x51700c]
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x45a066
cmp byte [edi], 0x2f
jne 0x459c33
cmp byte [edi + 1], 0x2f
jne 0x459c33
mov al, byte [edi + 2]
add edi, 2
cmp al, 0x2f
je 0x459c24
cmp al, 0x61
jl 0x459b74
cmp al, 0x7a
jle 0x459b7a
sub al, 0x41
cmp al, 0x19
ja 0x459ba0
mov al, byte [edi + 1]
cmp al, 0x3a
je 0x459b85
cmp al, 0x7c
jne 0x459ba0
mov al, byte [edi + 2]
cmp al, 0x2f
je 0x459c24
cmp al, 0x5c
je 0x459c24
test al, al
je 0x459c24
push 0xa
push str.localhost_
push edi
call fcn.00432e80
add esp, 0xc
test eax, eax
jne 0x459c87
push 0xa
push str.127.0.0.1_
push edi
call fcn.00432e80
add esp, 0xc
test eax, eax
jne 0x459c87
push str._:____
push edi
call fcn.004c9d10
add esp, 8
test eax, eax
je 0x459b1b
cmp byte [eax], 0x2f
jne 0x459b1b
sub eax, edi
je 0x459c20
push eax
lea eax, [esp + 0x38]
push edi
push eax
call fcn.004225e0
add esp, 0xc
test eax, eax
je 0x459c1b
cmp eax, 0x64
mov esi, 7
mov ecx, 0x1f
cmove esi, ecx
jmp 0x45a0e5
mov byte [esp + 0x13], 1
mov edi, dword [esp + 0x14]
mov ebx, ebp
sub ebx, edi
add ebx, dword [esp + 0x1c]
cmp byte [esp + 0x13], 0
jne 0x459c40
lea eax, [esp + 0x34]
push eax
call fcn.00422660
add esp, 4
cmp byte [edi], 0x2f
jne 0x459e9d
mov al, byte [edi + 1]
cmp al, 0x61
jl 0x459c54
cmp al, 0x7a
jle 0x459c5e
sub al, 0x41
cmp al, 0x19
ja 0x459e9d
mov al, byte [edi + 2]
cmp al, 0x3a
je 0x459c6d
cmp al, 0x7c
jne 0x459e9d
mov al, byte [edi + 3]
cmp al, 0x2f
je 0x459c80
cmp al, 0x5c
je 0x459c80
test al, al
jne 0x459e9d
inc edi
dec ebx
jmp 0x459e9d
add edi, 9
mov ebx, ebp
sub ebx, edi
add ebx, dword [esp + 0x1c]
jmp 0x459c33
mov esi, dword [esp + 0x20]
xor edi, edi
inc esi
add esi, dword [esp + 0x1c]
cmp byte [esi], 0x2f
jne 0x459cb0
cmp edi, 4
jge 0x459cb0
inc esi
inc edi
cmp byte [esi], 0x2f
je 0x459ca4
lea ebx, [esp + 0x44]
mov eax, ebx
mov dword [esp + 0x14], ebx
push eax
call fcn.00428d70
add esp, 4
test eax, eax
jne 0x459cdb
mov ecx, dword [esp + 0x80]
test cl, 8
jne 0x459cdb
lea esi, [eax + 5]
jmp 0x45a0e5
lea eax, [edi - 1]
cmp eax, 2
jbe 0x459d15
mov esi, 0x1c
jmp 0x45a0e5
test edi, edi
jne 0x459cf9
lea esi, [edi + 0x1b]
jmp 0x45a0e5
mov esi, dword [esp + 0x1c]
test bl, 4
mov ebx, str.https
mov eax, 0
cmove ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x459d2d
push ebx
call dword [0x51700c]
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x45a066
push 0x4f3824
push esi
call fcn.004c9430
mov ecx, eax
mov ebx, ebp
add esp, 8
lea edi, [ecx + esi]
sub ebx, edi
add ebx, dword [esp + 0x1c]
test ecx, ecx
je 0x459e6e
cmp dword [esp + 0x20], 0
setne al
movzx eax, al
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x88]
push ecx
push esi
push dword [esp + 0x2c]
call fcn.00459690
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x45a0e5
test dword [esp + 0x80], 0x200
je 0x459e99
cmp dword [esp + 0x14], eax
jne 0x459e99
lea eax, [esp + 0x34]
push eax
call fcn.00422650
push 4
mov esi, eax
push str.ftp.
push esi
call fcn.00432e80
add esp, 0x10
test eax, eax
je 0x459dc5
mov ecx, 0x4edea4
jmp 0x459e50
push 5
push str.dict.
push esi
call fcn.00432e80
add esp, 0xc
test eax, eax
je 0x459de0
mov ecx, str.dict
jmp 0x459e50
push 5
push str.ldap.
push esi
call fcn.00432e80
add esp, 0xc
test eax, eax
je 0x459dfb
mov ecx, str.ldap
jmp 0x459e50
push 5
push str.imap.
push esi
call fcn.00432e80
add esp, 0xc
test eax, eax
je 0x459e16
mov ecx, str.imap
jmp 0x459e50
push 5
push str.smtp.
push esi
call fcn.00432e80
add esp, 0xc
test eax, eax
je 0x459e31
mov ecx, str.smtp
jmp 0x459e50
push 5
push str.pop3.
push esi
call fcn.00432e80
add esp, 0xc
mov ecx, str.pop3
test eax, eax
mov edx, str.http
cmove ecx, edx
push ecx
call dword [0x51700c]
mov esi, dword [esp + 0x1c]
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x45a066
mov byte [esi + 0x2c], 1
jmp 0x459e9d
test dword [esp + 0x80], 0x400
je 0x45a0d9
lea eax, [esp + 0x34]
push 0x50a6ab
push eax
call fcn.00422580
add esp, 8
test eax, eax
jne 0x45a066
mov esi, dword [esp + 0x18]
push 0x23
push edi
call fcn.004bae50
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x459f3a
mov eax, ebx
mov byte [esi + 0x2b], 1
sub eax, ebp
add eax, edi
mov dword [esp + 0x14], eax
cmp eax, 1
jbe 0x459f38
dec eax
lea ecx, [ebp + 1]
test byte [esp + 0x80], 0x80
mov dword [esp + 0x20], eax
je 0x459f1f
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.00422620
push 0
push 1
push dword [esp + 0x30]
lea eax, [ebp + 1]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0045a170
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x45a0e5
lea eax, [esp + 0x24]
push eax
call fcn.00422650
mov esi, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x24], eax
jmp 0x459f34
push eax
push ecx
call fcn.0042cfb0
add esp, 8
mov dword [esi + 0x24], eax
test eax, eax
je 0x45a066
mov eax, dword [esp + 0x14]
sub ebx, eax
push ebx
push 0x3f
push edi
call fcn.004bb640
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x459fc0
test ebp, ebp
je 0x459f56
sub ebp, eax
jmp 0x459f5c
mov ebp, ebx
sub ebp, eax
add ebp, edi
sub ebx, ebp
mov byte [esi + 0x2a], 1
cmp ebp, 1
jbe 0x45a06d
mov ecx, dword [esp + 0x80]
dec ebp
test cl, cl
jns 0x45a050
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.00422620
mov eax, dword [esp + 0x1c]
push 1
push 1
inc eax
push ebp
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0045a170
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x45a0e5
lea eax, [esp + 0x24]
push eax
call fcn.00422650
mov esi, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x80]
test ebx, ebx
je 0x45a024
test cl, cl
jns 0x45a024
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.00422620
push 0
push 1
push ebx
lea eax, [esp + 0x38]
push edi
push eax
call fcn.0045a170
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x45a0e5
lea eax, [esp + 0x24]
push eax
call fcn.00422640
mov ebx, eax
lea eax, [esp + 0x28]
push eax
call fcn.00422650
mov esi, dword [esp + 0x20]
mov edi, eax
mov ecx, dword [esp + 0x88]
add esp, 8
mov dword [esi + 0x1c], edi
cmp ebx, 1
jbe 0x45a0b4
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x45a07d
push ebx
push edi
call fcn.0042cfb0
mov edi, eax
add esp, 8
mov dword [esi + 0x1c], edi
test edi, edi
je 0x45a066
mov ecx, dword [esp + 0x80]
jmp 0x45a085
inc eax
push ebp
push eax
call fcn.0042cfb0
add esp, 8
mov dword [esi + 0x20], eax
test eax, eax
jne 0x459fc0
mov esi, 7
jmp 0x45a0e5
push 0x50a6ab
call dword [0x51700c]
add esp, 4
jmp 0x45a05b
test cl, cl
jns 0x45a085
mov byte [eax + ebx], 0
test cl, 0x10
jne 0x45a0b4
lea eax, [esp + 0x14]
push eax
push ebx
push edi
call fcn.00458fc0
add esp, 0xc
test eax, eax
jne 0x45a066
mov edi, dword [esp + 0x14]
test edi, edi
je 0x45a0b4
push dword [esi + 0x1c]
call dword [0x517004]
add esp, 4
mov dword [esi + 0x1c], edi
lea eax, [esp + 0x34]
push eax
call fcn.00422650
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.004b90ac
add esp, 0x64
ret
mov esi, 0xe
jmp 0x45a0e5
mov esi, 3
lea eax, [esp + 0x34]
push eax
call fcn.004225f0
push dword [esp + 0x1c]
call fcn.00459230
mov ecx, dword [esp + 0x78]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b90ac
add esp, 0x64
ret