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

Disassembly:
sub esp, 0x64
mov eax, dword [0x6e1c7c]
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.0051ae10
mov ebp, edi
add esp, 8
lea ecx, [ebp + 1]
nop dword [eax]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x5517d0
sub ebp, ecx
cmp ebp, 0x7a1200
ja 0x551e0f
push 0x65facc
push edi
call fcn.00628830
add esp, 8
cmp eax, ebp
jne 0x551e0f
mov ebx, dword [esp + 0x80]
test ebx, 0x800
jne 0x55181e
push 0x20
push edi
call fcn.00619e20
add esp, 8
test eax, eax
jne 0x551e0f
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.0054fb30
add esp, 0x10
mov dword [esp + 0x20], eax
test eax, eax
je 0x551a3e
mov ecx, 0x656c10
lea eax, [esp + 0x44]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x551875
test dl, dl
je 0x551871
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x551875
add eax, 2
add ecx, 2
test dl, dl
jne 0x551855
xor eax, eax
jmp 0x55187a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5519e7
mov byte [esp + 0x13], al
cmp ebp, 6
ja 0x551895
mov esi, 0x13
jmp 0x551e14
mov edi, dword [esp + 0x18]
lea ebx, [ebp - 5]
add edi, 5
push 0x656c10
mov dword [esp + 0x20], edi
call dword [0x6dd00c]
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x551bb3
cmp byte [edi], 0x2f
jne 0x551986
cmp byte [edi + 1], 0x2f
jne 0x551986
mov al, byte [edi + 2]
add edi, 2
cmp al, 0x2f
je 0x551977
cmp al, 0x61
jl 0x5518e4
cmp al, 0x7a
jle 0x5518ea
sub al, 0x41
cmp al, 0x19
ja 0x551904
mov al, byte [edi + 1]
cmp al, 0x3a
je 0x5518f5
cmp al, 0x7c
jne 0x551904
mov al, byte [edi + 2]
cmp al, 0x2f
je 0x551977
cmp al, 0x5c
je 0x551977
test al, al
je 0x551977
push 0xa
push str.localhost_
push edi
call fcn.0052a940
add esp, 0xc
test eax, eax
jne 0x5519da
push 0xa
push str.127.0.0.1_
push edi
call fcn.0052a940
add esp, 0xc
test eax, eax
jne 0x5519da
push str._:____
push edi
call fcn.0062a3b0
add esp, 8
test eax, eax
je 0x55188b
cmp byte [eax], 0x2f
jne 0x55188b
sub eax, edi
je 0x551973
push eax
lea eax, [esp + 0x38]
push edi
push eax
call fcn.0051add0
add esp, 0xc
test eax, eax
jne 0x551bb3
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 0x551993
lea eax, [esp + 0x34]
push eax
call fcn.0051ae50
add esp, 4
cmp byte [edi], 0x2f
jne 0x551be4
mov al, byte [edi + 1]
cmp al, 0x61
jl 0x5519a7
cmp al, 0x7a
jle 0x5519b1
sub al, 0x41
cmp al, 0x19
ja 0x551be4
mov al, byte [edi + 2]
cmp al, 0x3a
je 0x5519c0
cmp al, 0x7c
jne 0x551be4
mov al, byte [edi + 3]
cmp al, 0x2f
je 0x5519d3
cmp al, 0x5c
je 0x5519d3
test al, al
jne 0x551be4
inc edi
dec ebx
jmp 0x551be4
mov ebx, dword [esp + 0x18]
add edi, 9
sub ebx, edi
add ebx, ebp
jmp 0x551986
mov esi, dword [esp + 0x20]
xor edi, edi
inc esi
add esi, dword [esp + 0x18]
cmp byte [esi], 0x2f
jne 0x551a03
cmp edi, 4
jge 0x551a03
inc esi
inc edi
cmp byte [esi], 0x2f
je 0x5519f7
lea ebx, [esp + 0x44]
mov eax, ebx
mov dword [esp + 0x1c], ebx
push eax
call fcn.00520f10
add esp, 4
test eax, eax
jne 0x551a2c
test byte [esp + 0x80], 8
jne 0x551a2c
lea esi, [eax + 5]
jmp 0x551e14
lea eax, [edi - 1]
cmp eax, 2
jbe 0x551a66
mov esi, 0x1c
jmp 0x551e14
test edi, edi
jne 0x551a4a
lea esi, [edi + 0x1b]
jmp 0x551e14
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 0x551a7e
push ebx
call dword [0x6dd00c]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x551bb3
push 0x65fb6c
push esi
call fcn.00628830
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 0x551bbd
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.00551450
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x551e14
test dword [esp + 0x80], 0x200
je 0x551be4
cmp dword [esp + 0x1c], eax
jne 0x551be4
lea eax, [esp + 0x34]
push eax
call fcn.0051ae40
push 4
mov esi, eax
push str.ftp.
push esi
call fcn.0052a940
add esp, 0x10
test eax, eax
je 0x551b17
mov ecx, 0x657c24
jmp 0x551ba2
push 5
push str.dict.
push esi
call fcn.0052a940
add esp, 0xc
test eax, eax
je 0x551b32
mov ecx, str.dict
jmp 0x551ba2
push 5
push str.ldap.
push esi
call fcn.0052a940
add esp, 0xc
test eax, eax
je 0x551b4d
mov ecx, str.ldap
jmp 0x551ba2
push 5
push str.imap.
push esi
call fcn.0052a940
add esp, 0xc
test eax, eax
je 0x551b68
mov ecx, str.imap
jmp 0x551ba2
push 5
push str.smtp.
push esi
call fcn.0052a940
add esp, 0xc
test eax, eax
je 0x551b83
mov ecx, str.smtp
jmp 0x551ba2
push 5
push str.pop3.
push esi
call fcn.0052a940
add esp, 0xc
mov ecx, str.pop3
test eax, eax
mov edx, str.http
cmove ecx, edx
push ecx
call dword [0x6dd00c]
add esp, 4
mov dword [ebp], eax
test eax, eax
jne 0x551be4
mov esi, 7
jmp 0x551e14
test dword [esp + 0x80], 0x400
je 0x551e08
lea eax, [esp + 0x34]
push 0x6b6098
push eax
call fcn.0051ad80
add esp, 8
test eax, eax
jne 0x551bb3
push 0x23
push edi
call fcn.00619e20
mov esi, eax
add esp, 8
test esi, esi
je 0x551c71
mov ebp, ebx
sub ebp, esi
add ebp, edi
cmp ebp, 1
jbe 0x551c6f
test byte [esp + 0x80], 0x80
lea eax, [ebp - 1]
lea ecx, [esi + 1]
je 0x551c56
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.0051ae10
push 0
push 1
lea eax, [ebp - 1]
push eax
lea eax, [esi + 1]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00551eb0
add esp, 0x1c
test eax, eax
jne 0x551bb3
lea eax, [esp + 0x24]
push eax
call fcn.0051ae40
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 0x24], eax
jmp 0x551c6f
push eax
push ecx
call fcn.00524f80
mov ecx, dword [esp + 0x1c]
add esp, 8
mov dword [ecx + 0x24], eax
test eax, eax
je 0x551bb3
sub ebx, ebp
push ebx
push 0x3f
push edi
call fcn.0061a610
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x551d1a
test esi, esi
je 0x551c8f
sub esi, ebp
jmp 0x551c95
mov esi, ebx
sub esi, ebp
add esi, edi
sub ebx, esi
cmp esi, 1
jbe 0x551d0a
dec esi
test byte [esp + 0x80], 0x80
je 0x551cea
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.0051ae10
push 1
push 1
push esi
lea eax, [ebp + 1]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00551eb0
add esp, 0x1c
test eax, eax
jne 0x551bb3
lea eax, [esp + 0x24]
push eax
call fcn.0051ae40
mov esi, dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x20], eax
jmp 0x551d1e
lea eax, [ebp + 1]
push esi
push eax
call fcn.00524f80
add esp, 8
mov esi, dword [esp + 0x14]
mov dword [esi + 0x20], eax
test eax, eax
jne 0x551d1e
lea esi, [eax + 7]
jmp 0x551e14
push 0x6b6098
call dword [0x6dd00c]
add esp, 4
jmp 0x551cf7
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
test ebx, ebx
je 0x551d7c
test cl, cl
jns 0x551d7c
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.0051ae10
push 0
push 1
push ebx
lea eax, [esp + 0x38]
push edi
push eax
call fcn.00551eb0
add esp, 0x1c
test eax, eax
jne 0x551bb3
lea eax, [esp + 0x24]
push eax
call fcn.0051ae30
mov ebx, eax
lea eax, [esp + 0x28]
push eax
call fcn.0051ae40
mov ecx, dword [esp + 0x88]
mov edi, eax
add esp, 8
mov dword [esi + 0x1c], edi
cmp ebx, 1
jbe 0x551de3
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x551da8
push ebx
push edi
call fcn.00524f80
mov edi, eax
add esp, 8
mov dword [esi + 0x1c], edi
test edi, edi
je 0x551bb3
mov ecx, dword [esp + 0x80]
jmp 0x551db0
test cl, cl
jns 0x551db0
mov byte [eax + ebx], 0
test cl, 0x10
jne 0x551de3
lea eax, [esp + 0x1c]
push eax
push ebx
push edi
call fcn.00550d80
add esp, 0xc
test eax, eax
jne 0x551bb3
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x551de3
push dword [esi + 0x1c]
call dword [0x6dd004]
add esp, 4
mov dword [esi + 0x1c], edi
lea eax, [esp + 0x34]
push eax
call fcn.0051ae40
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.006021fd
add esp, 0x64
ret
mov esi, 0xe
jmp 0x551e14
mov esi, 3
lea eax, [esp + 0x34]
push eax
call fcn.0051ade0
push dword [esp + 0x18]
call fcn.00550ff0
mov ecx, dword [esp + 0x78]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006021fd
add esp, 0x64
ret