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

Disassembly:
sub esp, 0x64
mov eax, dword [0x6a8c7c]
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.004ee520
mov ebp, edi
add esp, 8
lea ecx, [ebp + 1]
nop dword [eax]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x524f10
sub ebp, ecx
cmp ebp, 0x7a1200
ja 0x52554f
push 0x62eabc
push edi
call fcn.005fbe80
add esp, 8
cmp eax, ebp
jne 0x52554f
mov ebx, dword [esp + 0x80]
test ebx, 0x800
jne 0x524f5e
push 0x20
push edi
call fcn.005ed470
add esp, 8
test eax, eax
jne 0x52554f
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.00523270
add esp, 0x10
mov dword [esp + 0x20], eax
test eax, eax
je 0x52517e
mov ecx, 0x625c00
lea eax, [esp + 0x44]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x524fb5
test dl, dl
je 0x524fb1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x524fb5
add eax, 2
add ecx, 2
test dl, dl
jne 0x524f95
xor eax, eax
jmp 0x524fba
sbb eax, eax
or eax, 1
test eax, eax
jne 0x525127
mov byte [esp + 0x13], al
cmp ebp, 6
ja 0x524fd5
mov esi, 0x13
jmp 0x525554
mov edi, dword [esp + 0x18]
lea ebx, [ebp - 5]
add edi, 5
push 0x625c00
mov dword [esp + 0x20], edi
call dword [0x6a400c]
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x5252f3
cmp byte [edi], 0x2f
jne 0x5250c6
cmp byte [edi + 1], 0x2f
jne 0x5250c6
mov al, byte [edi + 2]
add edi, 2
cmp al, 0x2f
je 0x5250b7
cmp al, 0x61
jl 0x525024
cmp al, 0x7a
jle 0x52502a
sub al, 0x41
cmp al, 0x19
ja 0x525044
mov al, byte [edi + 1]
cmp al, 0x3a
je 0x525035
cmp al, 0x7c
jne 0x525044
mov al, byte [edi + 2]
cmp al, 0x2f
je 0x5250b7
cmp al, 0x5c
je 0x5250b7
test al, al
je 0x5250b7
push 0xa
push str.localhost_
push edi
call fcn.004fe070
add esp, 0xc
test eax, eax
jne 0x52511a
push 0xa
push str.127.0.0.1_
push edi
call fcn.004fe070
add esp, 0xc
test eax, eax
jne 0x52511a
push str._:____
push edi
call fcn.005fd9d0
add esp, 8
test eax, eax
je 0x524fcb
cmp byte [eax], 0x2f
jne 0x524fcb
sub eax, edi
je 0x5250b3
push eax
lea eax, [esp + 0x38]
push edi
push eax
call fcn.004ee4e0
add esp, 0xc
test eax, eax
jne 0x5252f3
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 0x5250d3
lea eax, [esp + 0x34]
push eax
call fcn.004ee560
add esp, 4
cmp byte [edi], 0x2f
jne 0x525324
mov al, byte [edi + 1]
cmp al, 0x61
jl 0x5250e7
cmp al, 0x7a
jle 0x5250f1
sub al, 0x41
cmp al, 0x19
ja 0x525324
mov al, byte [edi + 2]
cmp al, 0x3a
je 0x525100
cmp al, 0x7c
jne 0x525324
mov al, byte [edi + 3]
cmp al, 0x2f
je 0x525113
cmp al, 0x5c
je 0x525113
test al, al
jne 0x525324
inc edi
dec ebx
jmp 0x525324
mov ebx, dword [esp + 0x18]
add edi, 9
sub ebx, edi
add ebx, ebp
jmp 0x5250c6
mov esi, dword [esp + 0x20]
xor edi, edi
inc esi
add esi, dword [esp + 0x18]
cmp byte [esi], 0x2f
jne 0x525143
cmp edi, 4
jge 0x525143
inc esi
inc edi
cmp byte [esi], 0x2f
je 0x525137
lea ebx, [esp + 0x44]
mov eax, ebx
mov dword [esp + 0x1c], ebx
push eax
call fcn.004f4630
add esp, 4
test eax, eax
jne 0x52516c
test byte [esp + 0x80], 8
jne 0x52516c
lea esi, [eax + 5]
jmp 0x525554
lea eax, [edi - 1]
cmp eax, 2
jbe 0x5251a6
mov esi, 0x1c
jmp 0x525554
test edi, edi
jne 0x52518a
lea esi, [edi + 0x1b]
jmp 0x525554
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 0x5251be
push ebx
call dword [0x6a400c]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x5252f3
push 0x62eb5c
push esi
call fcn.005fbe80
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 0x5252fd
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.00524b90
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x525554
test dword [esp + 0x80], 0x200
je 0x525324
cmp dword [esp + 0x1c], eax
jne 0x525324
lea eax, [esp + 0x34]
push eax
call fcn.004ee550
push 4
mov esi, eax
push str.ftp.
push esi
call fcn.004fe070
add esp, 0x10
test eax, eax
je 0x525257
mov ecx, 0x626c14
jmp 0x5252e2
push 5
push str.dict.
push esi
call fcn.004fe070
add esp, 0xc
test eax, eax
je 0x525272
mov ecx, str.dict
jmp 0x5252e2
push 5
push str.ldap.
push esi
call fcn.004fe070
add esp, 0xc
test eax, eax
je 0x52528d
mov ecx, str.ldap
jmp 0x5252e2
push 5
push str.imap.
push esi
call fcn.004fe070
add esp, 0xc
test eax, eax
je 0x5252a8
mov ecx, str.imap
jmp 0x5252e2
push 5
push str.smtp.
push esi
call fcn.004fe070
add esp, 0xc
test eax, eax
je 0x5252c3
mov ecx, str.smtp
jmp 0x5252e2
push 5
push str.pop3.
push esi
call fcn.004fe070
add esp, 0xc
mov ecx, str.pop3
test eax, eax
mov edx, str.http
cmove ecx, edx
push ecx
call dword [0x6a400c]
add esp, 4
mov dword [ebp], eax
test eax, eax
jne 0x525324
mov esi, 7
jmp 0x525554
test dword [esp + 0x80], 0x400
je 0x525548
lea eax, [esp + 0x34]
push 0x685050
push eax
call fcn.004ee490
add esp, 8
test eax, eax
jne 0x5252f3
push 0x23
push edi
call fcn.005ed470
mov esi, eax
add esp, 8
test esi, esi
je 0x5253b1
mov ebp, ebx
sub ebp, esi
add ebp, edi
cmp ebp, 1
jbe 0x5253af
test byte [esp + 0x80], 0x80
lea eax, [ebp - 1]
lea ecx, [esi + 1]
je 0x525396
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.004ee520
push 0
push 1
lea eax, [ebp - 1]
push eax
lea eax, [esi + 1]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.005255f0
add esp, 0x1c
test eax, eax
jne 0x5252f3
lea eax, [esp + 0x24]
push eax
call fcn.004ee550
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 0x24], eax
jmp 0x5253af
push eax
push ecx
call fcn.004f86b0
mov ecx, dword [esp + 0x1c]
add esp, 8
mov dword [ecx + 0x24], eax
test eax, eax
je 0x5252f3
sub ebx, ebp
push ebx
push 0x3f
push edi
call fcn.005edc60
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x52545a
test esi, esi
je 0x5253cf
sub esi, ebp
jmp 0x5253d5
mov esi, ebx
sub esi, ebp
add esi, edi
sub ebx, esi
cmp esi, 1
jbe 0x52544a
dec esi
test byte [esp + 0x80], 0x80
je 0x52542a
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.004ee520
push 1
push 1
push esi
lea eax, [ebp + 1]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.005255f0
add esp, 0x1c
test eax, eax
jne 0x5252f3
lea eax, [esp + 0x24]
push eax
call fcn.004ee550
mov esi, dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x20], eax
jmp 0x52545e
lea eax, [ebp + 1]
push esi
push eax
call fcn.004f86b0
add esp, 8
mov esi, dword [esp + 0x14]
mov dword [esi + 0x20], eax
test eax, eax
jne 0x52545e
lea esi, [eax + 7]
jmp 0x525554
push 0x685050
call dword [0x6a400c]
add esp, 4
jmp 0x525437
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
test ebx, ebx
je 0x5254bc
test cl, cl
jns 0x5254bc
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.004ee520
push 0
push 1
push ebx
lea eax, [esp + 0x38]
push edi
push eax
call fcn.005255f0
add esp, 0x1c
test eax, eax
jne 0x5252f3
lea eax, [esp + 0x24]
push eax
call fcn.004ee540
mov ebx, eax
lea eax, [esp + 0x28]
push eax
call fcn.004ee550
mov ecx, dword [esp + 0x88]
mov edi, eax
add esp, 8
mov dword [esi + 0x1c], edi
cmp ebx, 1
jbe 0x525523
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x5254e8
push ebx
push edi
call fcn.004f86b0
mov edi, eax
add esp, 8
mov dword [esi + 0x1c], edi
test edi, edi
je 0x5252f3
mov ecx, dword [esp + 0x80]
jmp 0x5254f0
test cl, cl
jns 0x5254f0
mov byte [eax + ebx], 0
test cl, 0x10
jne 0x525523
lea eax, [esp + 0x1c]
push eax
push ebx
push edi
call fcn.005244c0
add esp, 0xc
test eax, eax
jne 0x5252f3
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x525523
push dword [esi + 0x1c]
call dword [0x6a4004]
add esp, 4
mov dword [esi + 0x1c], edi
lea eax, [esp + 0x34]
push eax
call fcn.004ee550
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.005d584c
add esp, 0x64
ret
mov esi, 0xe
jmp 0x525554
mov esi, 3
lea eax, [esp + 0x34]
push eax
call fcn.004ee4f0
push dword [esp + 0x18]
call fcn.00524730
mov ecx, dword [esp + 0x78]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005d584c
add esp, 0x64
ret