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

Disassembly:
sub esp, 0x70
mov eax, dword [0x6d35ac]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x80]
xor ebp, ebp
mov dword [esp + 0x10], eax
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 0
mov dword [esp + 0x24], 0
push edi
test esi, esi
je 0x527f4c
mov ebx, esi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x527c42
sub ebx, ecx
cmp ebx, 0x7a1200
ja 0x527f4c
lea eax, [ebx*2 + 2]
push eax
call dword [section..data]
mov edi, eax
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [eax + 0x28], edi
test edi, edi
je 0x5282d7
lea eax, [ebx + 1]
add eax, edi
mov dword [esp + 0x1c], eax
push 0x29
mov byte [eax], 0
lea eax, [esp + 0x40]
push eax
push esi
call fcn.00526740
mov ebx, dword [esp + 0x98]
add esp, 0xc
mov dword [esp + 0x18], ebx
test al, al
je 0x527ee1
lea ebp, [esp + 0x3c]
mov byte [esp + 0x13], 1
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x527cb4
lea eax, [esp + 0x3c]
sub ebp, ecx
push str.file
push eax
call fcn.00501b50
add esp, 8
test eax, eax
je 0x527ee1
add esi, 5
mov ecx, edi
sub ecx, esi
nop
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x527ce0
push str.file
xor ebp, ebp
call dword [0x6d300c]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x5282d7
mov cl, byte [edi]
cmp cl, 0x2f
jne 0x527dd7
cmp byte [edi + 1], cl
jne 0x527d8d
mov cl, byte [edi + 2]
add edi, 2
cmp cl, 0x2f
je 0x527d8d
cmp cl, 0x61
jl 0x527d30
cmp cl, 0x7a
jle 0x527d38
mov al, cl
sub al, 0x41
cmp al, 0x19
ja 0x527d56
mov al, byte [edi + 1]
cmp al, 0x3a
je 0x527d43
cmp al, 0x7c
jne 0x527d56
mov al, byte [edi + 2]
mov bl, cl
mov dl, cl
cmp al, 0x2f
je 0x527d88
cmp al, 0x5c
je 0x527d88
test al, al
je 0x527d88
push 0xa
push edi
push str.localhost_
call fcn.00501d60
add esp, 0xc
test eax, eax
jne 0x527d82
push 0xa
push edi
push str.127.0.0.1_
call fcn.00501d60
add esp, 0xc
test eax, eax
je 0x527f4c
mov cl, byte [edi + 9]
add edi, 9
cmp cl, 0x2f
jne 0x527dd7
mov al, byte [edi + 1]
lea edx, [edi + 1]
cmp al, 0x61
jl 0x527d9b
cmp al, 0x7a
jle 0x527da1
sub al, 0x41
cmp al, 0x19
ja 0x527dd7
mov al, byte [edi + 2]
cmp al, 0x3a
je 0x527dac
cmp al, 0x7c
jne 0x527dd7
mov al, byte [edi + 3]
cmp al, 0x2f
je 0x527dbb
cmp al, 0x5c
je 0x527dbb
test al, al
jne 0x527dd7
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x527dc0
sub ecx, esi
lea eax, [ecx + 1]
push eax
push edx
push edi
call fcn.005b2b80
add esp, 0xc
mov ebx, dword [esp + 0x14]
push dword [esp + 0x18]
push edi
call fcn.00527b70
add esp, 8
test al, al
jne 0x527f4c
test byte [esp + 0x18], 0x80
je 0x527e36
cmp byte [edi], al
je 0x527e36
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x527e00
sub ecx, edx
lea eax, [ecx + ecx*2]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
je 0x5282d7
push 1
push edi
push esi
mov byte [esp + 0x1e], 1
call fcn.00528430
add esp, 0xc
mov dword [ebx + 0x2c], esi
mov edi, esi
push 0x23
push edi
call fcn.005b31b0
add esp, 8
test eax, eax
je 0x527e63
mov byte [eax], 0
inc eax
cmp byte [eax], 0
je 0x527e63
push eax
call dword [0x6d300c]
add esp, 4
mov dword [ebx + 0x24], eax
test eax, eax
je 0x5282d7
push 0x3f
push edi
call fcn.005b31b0
add esp, 8
test eax, eax
je 0x527e8b
mov byte [eax], 0
inc eax
push eax
call dword [0x6d300c]
add esp, 4
mov dword [ebx + 0x20], eax
test eax, eax
je 0x5282d7
cmp byte [edi], 0
je 0x528063
test byte [esp + 0x18], 0x10
jne 0x52803e
push edi
call fcn.00534ee0
mov esi, eax
add esp, 4
test esi, esi
je 0x5282d7
mov edx, edi
mov ecx, esi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x528011
test al, al
je 0x527eda
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x528011
add ecx, 2
add edx, 2
test al, al
jne 0x527eb6
xor eax, eax
jmp 0x528016
cmp byte [esp + 0x13], 0
mov byte [edi], 0
je 0x527f64
inc esi
xor eax, eax
add esi, ebp
je 0x527f4c
cmp byte [esi], 0x2f
jne 0x527f02
cmp eax, 4
jge 0x527f02
inc eax
add esi, 1
jne 0x527ef2
dec eax
cmp eax, 2
ja 0x527f4c
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x2c], eax
call fcn.004f9420
add esp, 4
test eax, eax
jne 0x527f3a
test bl, 8
jne 0x527f3a
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0059a7a2
add esp, 0x70
ret
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00527b70
add esp, 8
test al, al
je 0x527f80
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0059a7a2
add esp, 0x70
ret
test ebx, 0x204
je 0x527f4c
test bl, 4
mov ebp, 0x6334d0
mov eax, 0
cmove ebp, eax
mov dword [esp + 0x28], ebp
mov al, byte [esi]
mov ecx, esi
test al, al
je 0x527f9c
cmp al, 0x2f
je 0x527f9c
cmp al, 0x3f
je 0x527f9c
cmp al, 0x23
je 0x527f9c
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x527f88
mov ebx, esi
sub ebx, ecx
je 0x527fb7
mov ebp, dword [esp + 0x1c]
push ebx
push ecx
push ebp
call fcn.005b2600
add esp, 0xc
mov byte [ebx + ebp], 0
jmp 0x527fc5
test dword [esp + 0x18], 0x400
je 0x527f4c
mov ebp, dword [esp + 0x1c]
mov ebx, esi
lea ecx, [ebx + 1]
nop word [eax + eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x527fd0
sub ebx, ecx
push ebx
push esi
push edi
call fcn.005b2600
mov eax, dword [esp + 0x34]
add esp, 0xc
mov byte [ebx + edi], 0
test eax, eax
je 0x527dd7
push eax
call dword [0x6d300c]
mov ebx, dword [esp + 0x18]
add esp, 4
mov dword [ebx], eax
test eax, eax
je 0x5282d7
jmp 0x527ddb
sbb eax, eax
or eax, 1
test eax, eax
je 0x528034
cmp byte [esp + 0x12], 0
je 0x52802d
push dword [ebx + 0x2c]
call dword [0x6d3004]
add esp, 4
mov edi, esi
mov dword [ebx + 0x2c], esi
jmp 0x528051
push esi
call dword [0x6d3004]
add esp, 4
cmp byte [esp + 0x12], 0
jne 0x528051
push edi
call dword [0x6d300c]
add esp, 4
mov edi, eax
mov dword [ebx + 0x1c], edi
test edi, edi
je 0x5282d7
mov dword [ebx + 0x2c], 0
test ebp, ebp
je 0x5283ee
push dword [esp + 0x18]
push ebp
call fcn.00527b70
add esp, 8
test al, al
jne 0x527f4c
xor edi, edi
push 0x40
push ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], edi
call fcn.005b31b0
mov esi, eax
add esp, 8
mov ebx, ebp
test esi, esi
je 0x528154
mov edi, dword [esp + 0x14]
inc esi
mov ebp, esi
mov eax, dword [edi]
test eax, eax
je 0x5280ce
push eax
call fcn.004f9420
add esp, 4
test eax, eax
je 0x5280ce
test dword [eax + 0x4c], 0x400
je 0x5280ce
lea eax, [esp + 0x1c]
jmp 0x5280d0
xor eax, eax
push eax
lea eax, [esp + 0x30]
sub esi, ebx
push eax
lea eax, [esp + 0x28]
dec esi
push eax
push esi
push ebx
call fcn.004fa0a0
add esp, 0x14
test eax, eax
mov eax, dword [esp + 0x20]
je 0x5280f7
mov edi, 3
jmp 0x528158
test eax, eax
je 0x52810c
test byte [esp + 0x18], 0x20
je 0x528109
mov edi, 8
jmp 0x528158
mov dword [edi + 4], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x528117
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x528122
mov dword [edi + 0xc], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x16]
push eax
push str.__45_0123456789abcdefABCDEF:.__c_n
push ebp
call fcn.00404591
add esp, 0x10
cmp eax, 1
jne 0x5281e5
mov al, byte [esp + 0x12]
cmp al, 0x5d
jne 0x52818f
mov eax, dword [esp + 0x24]
lea esi, [eax + ebp]
jmp 0x5281d2
mov eax, dword [esp + 0x20]
push eax
call dword [0x6d3004]
push dword [esp + 0x30]
call dword [0x6d3004]
push dword [esp + 0x24]
call dword [0x6d3004]
add esp, 0xc
test edi, edi
je 0x528122
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0059a7a2
add esp, 0x70
ret
cmp al, 0x25
jne 0x527f4c
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x16]
push eax
lea eax, [esi + ebp]
push str._____c_n
push eax
call fcn.00404591
add esp, 0x10
cmp eax, 1
jne 0x527f4c
cmp byte [esp + 0x12], 0x5d
jne 0x527f4c
mov eax, dword [esp + 0x24]
add esi, eax
add esi, ebp
test esi, esi
je 0x528215
mov al, byte [esi]
test al, al
je 0x528215
cmp al, 0x3a
je 0x5281f2
jmp 0x527f4c
push 0x3a
push ebp
call fcn.005b31b0
add esp, 8
mov esi, eax
test esi, esi
je 0x528215
mov al, byte [esi + 1]
lea edi, [esi + 1]
test al, al
jne 0x528269
mov byte [esi], al
movzx eax, byte [esp + 0x13]
xor eax, 1
shl eax, 2
test eax, eax
jne 0x527f51
mov ebx, dword [esp + 0x14]
mov ecx, ebp
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x528220
sub ecx, edx
jne 0x528235
test dword [esp + 0x18], 0x400
jne 0x528247
push ebp
push ebx
call fcn.00527840
add esp, 8
test eax, eax
jne 0x527f51
push 0x11
lea eax, [esp + 0x6c]
push eax
push ebp
call fcn.005279d0
add esp, 0xc
test al, al
je 0x528307
lea eax, [esp + 0x68]
push eax
jmp 0x528308
movzx eax, al
push eax
call fcn.00528570
add esp, 4
test eax, eax
je 0x5282ef
push 0xa
lea eax, [esp + 0x34]
push eax
push edi
call fcn.005c61b7
mov edi, eax
add esp, 0xc
lea ecx, [edi - 1]
cmp ecx, 0xfffe
ja 0x5282ef
mov eax, dword [esp + 0x30]
cmp byte [eax], 0
jne 0x5282ef
push edi
mov byte [esi], 0
push 0x602bc0
mov byte [eax], 0
lea eax, [esp + 0x3c]
push 7
push eax
call fcn.0050e830
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
mov dword [ebx + 0x30], edi
call dword [0x6d300c]
add esp, 0x14
mov dword [ebx + 0x18], eax
test eax, eax
jne 0x528219
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0059a7a2
add esp, 0x70
ret
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0059a7a2
add esp, 0x70
ret
push ebp
call dword [0x6d300c]
add esp, 4
mov dword [ebx + 0x10], eax
test eax, eax
je 0x5282d7
test dword [esp + 0x18], 0x200
je 0x5283ee
cmp dword [esp + 0x28], 0
jne 0x5283ee
push 4
push ebp
push str.ftp.
call fcn.00501d60
add esp, 0xc
test eax, eax
je 0x52834f
mov ecx, 0x6017ac
jmp 0x5283da
push 5
push ebp
push str.dict.
call fcn.00501d60
add esp, 0xc
test eax, eax
je 0x52836a
mov ecx, str.dict
jmp 0x5283da
push 5
push ebp
push str.ldap.
call fcn.00501d60
add esp, 0xc
test eax, eax
je 0x528385
mov ecx, str.ldap
jmp 0x5283da
push 5
push ebp
push str.imap.
call fcn.00501d60
add esp, 0xc
test eax, eax
je 0x5283a0
mov ecx, str.imap
jmp 0x5283da
push 5
push ebp
push str.smtp.
call fcn.00501d60
add esp, 0xc
test eax, eax
je 0x5283bb
mov ecx, str.smtp
jmp 0x5283da
push 5
push ebp
push str.pop3.
call fcn.00501d60
add esp, 0xc
mov ecx, str.pop3
test eax, eax
mov edx, 0x63af7c
cmove ecx, edx
push ecx
call dword [0x6d300c]
add esp, 4
mov dword [ebx], eax
test eax, eax
je 0x5282d7
push dword [ebx + 0x28]
call dword [0x6d3004]
push dword [ebx + 0x2c]
mov dword [ebx + 0x28], 0
call dword [0x6d3004]
mov ecx, dword [esp + 0x84]
add esp, 8
mov dword [ebx + 0x2c], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059a7a2
add esp, 0x70
ret