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

Disassembly:
sub esp, 0x64
mov eax, dword [0x562904]
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.00452e30
mov ebp, edi
add esp, 8
lea ecx, [ebp + 1]
nop dword [eax]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x46d560
sub ebp, ecx
cmp ebp, 0x7a1200
ja 0x46dbe0
push 0x52c270
push edi
call fcn.004feeb0
add esp, 8
cmp eax, ebp
jne 0x46dbe0
mov ebx, dword [esp + 0x80]
test ebx, 0x800
jne 0x46d5ae
push 0x20
push edi
call fcn.004f37e0
add esp, 8
test eax, eax
jne 0x46dbe0
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.0046b640
add esp, 0x10
mov dword [esp + 0x20], eax
test eax, eax
je 0x46d7ed
mov ecx, 0x52a20c
lea eax, [esp + 0x44]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x46d605
test dl, dl
je 0x46d601
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x46d605
add eax, 2
add ecx, 2
test dl, dl
jne 0x46d5e5
xor eax, eax
jmp 0x46d60a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x46d794
mov byte [esp + 0x13], al
cmp ebp, 6
ja 0x46d625
mov esi, 0x13
jmp 0x46dbe5
mov edi, dword [esp + 0x1c]
lea ebx, [ebp - 5]
add edi, 5
push 0x52a20c
mov dword [esp + 0x18], edi
call dword [0x56200c]
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x46db66
cmp byte [edi], 0x2f
jne 0x46d733
cmp byte [edi + 1], 0x2f
jne 0x46d733
mov al, byte [edi + 2]
add edi, 2
cmp al, 0x2f
je 0x46d724
cmp al, 0x61
jl 0x46d674
cmp al, 0x7a
jle 0x46d67a
sub al, 0x41
cmp al, 0x19
ja 0x46d6a0
mov al, byte [edi + 1]
cmp al, 0x3a
je 0x46d685
cmp al, 0x7c
jne 0x46d6a0
mov al, byte [edi + 2]
cmp al, 0x2f
je 0x46d724
cmp al, 0x5c
je 0x46d724
test al, al
je 0x46d724
push 0xa
push str.localhost_
push edi
call fcn.00467800
add esp, 0xc
test eax, eax
jne 0x46d787
push 0xa
push str.127.0.0.1_
push edi
call fcn.00467800
add esp, 0xc
test eax, eax
jne 0x46d787
push str._:____
push edi
call fcn.004fff50
add esp, 8
test eax, eax
je 0x46d61b
cmp byte [eax], 0x2f
jne 0x46d61b
sub eax, edi
je 0x46d720
push eax
lea eax, [esp + 0x38]
push edi
push eax
call fcn.00452df0
add esp, 0xc
test eax, eax
je 0x46d71b
cmp eax, 0x64
mov esi, 7
mov ecx, 0x1f
cmove esi, ecx
jmp 0x46dbe5
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 0x46d740
lea eax, [esp + 0x34]
push eax
call fcn.00452e50
add esp, 4
cmp byte [edi], 0x2f
jne 0x46d99d
mov al, byte [edi + 1]
cmp al, 0x61
jl 0x46d754
cmp al, 0x7a
jle 0x46d75e
sub al, 0x41
cmp al, 0x19
ja 0x46d99d
mov al, byte [edi + 2]
cmp al, 0x3a
je 0x46d76d
cmp al, 0x7c
jne 0x46d99d
mov al, byte [edi + 3]
cmp al, 0x2f
je 0x46d780
cmp al, 0x5c
je 0x46d780
test al, al
jne 0x46d99d
inc edi
dec ebx
jmp 0x46d99d
add edi, 9
mov ebx, ebp
sub ebx, edi
add ebx, dword [esp + 0x1c]
jmp 0x46d733
mov esi, dword [esp + 0x20]
xor edi, edi
inc esi
add esi, dword [esp + 0x1c]
cmp byte [esi], 0x2f
jne 0x46d7b0
cmp edi, 4
jge 0x46d7b0
inc esi
inc edi
cmp byte [esi], 0x2f
je 0x46d7a4
lea ebx, [esp + 0x44]
mov eax, ebx
mov dword [esp + 0x14], ebx
push eax
call fcn.0045b810
add esp, 4
test eax, eax
jne 0x46d7db
mov ecx, dword [esp + 0x80]
test cl, 8
jne 0x46d7db
lea esi, [eax + 5]
jmp 0x46dbe5
lea eax, [edi - 1]
cmp eax, 2
jbe 0x46d815
mov esi, 0x1c
jmp 0x46dbe5
test edi, edi
jne 0x46d7f9
lea esi, [edi + 0x1b]
jmp 0x46dbe5
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 0x46d82d
push ebx
call dword [0x56200c]
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x46db66
push 0x52c320
push esi
call fcn.004feeb0
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 0x46d96e
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.0046d190
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x46dbe5
test dword [esp + 0x80], 0x200
je 0x46d999
cmp dword [esp + 0x14], eax
jne 0x46d999
lea eax, [esp + 0x34]
push eax
call fcn.00450d70
push 4
mov esi, eax
push str.ftp.
push esi
call fcn.00467800
add esp, 0x10
test eax, eax
je 0x46d8c5
mov ecx, 0x52c32c
jmp 0x46d950
push 5
push str.dict.
push esi
call fcn.00467800
add esp, 0xc
test eax, eax
je 0x46d8e0
mov ecx, str.dict
jmp 0x46d950
push 5
push str.ldap.
push esi
call fcn.00467800
add esp, 0xc
test eax, eax
je 0x46d8fb
mov ecx, str.ldap
jmp 0x46d950
push 5
push str.imap.
push esi
call fcn.00467800
add esp, 0xc
test eax, eax
je 0x46d916
mov ecx, str.imap
jmp 0x46d950
push 5
push str.smtp.
push esi
call fcn.00467800
add esp, 0xc
test eax, eax
je 0x46d931
mov ecx, str.smtp
jmp 0x46d950
push 5
push str.pop3.
push esi
call fcn.00467800
add esp, 0xc
mov ecx, str.pop3
test eax, eax
mov edx, str.http
cmove ecx, edx
push ecx
call dword [0x56200c]
mov esi, dword [esp + 0x1c]
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x46db66
mov byte [esi + 0x2c], 1
jmp 0x46d99d
test dword [esp + 0x80], 0x400
je 0x46dbd9
lea eax, [esp + 0x34]
push 0x550028
push eax
call fcn.00452d90
add esp, 8
test eax, eax
jne 0x46db66
mov esi, dword [esp + 0x18]
push 0x23
push edi
call fcn.004f37e0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x46da3a
mov eax, ebx
mov byte [esi + 0x2b], 1
sub eax, ebp
add eax, edi
mov dword [esp + 0x14], eax
cmp eax, 1
jbe 0x46da38
dec eax
lea ecx, [ebp + 1]
test byte [esp + 0x80], 0x80
mov dword [esp + 0x20], eax
je 0x46da1f
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.00452e30
push 0
push 1
push dword [esp + 0x30]
lea eax, [ebp + 1]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0046dc70
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x46dbe5
lea eax, [esp + 0x24]
push eax
call fcn.00450d70
mov esi, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x24], eax
jmp 0x46da34
push eax
push ecx
call fcn.0045f350
add esp, 8
mov dword [esi + 0x24], eax
test eax, eax
je 0x46db66
mov eax, dword [esp + 0x14]
sub ebx, eax
push ebx
push 0x3f
push edi
call fcn.004f3fd0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x46dac0
test ebp, ebp
je 0x46da56
sub ebp, eax
jmp 0x46da5c
mov ebp, ebx
sub ebp, eax
add ebp, edi
sub ebx, ebp
mov byte [esi + 0x2a], 1
cmp ebp, 1
jbe 0x46db6d
mov ecx, dword [esp + 0x80]
dec ebp
test cl, cl
jns 0x46db50
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.00452e30
mov eax, dword [esp + 0x1c]
push 1
push 1
inc eax
push ebp
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0046dc70
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x46dbe5
lea eax, [esp + 0x24]
push eax
call fcn.00450d70
mov esi, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x80]
test ebx, ebx
je 0x46db24
test cl, cl
jns 0x46db24
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.00452e30
push 0
push 1
push ebx
lea eax, [esp + 0x38]
push edi
push eax
call fcn.0046dc70
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x46dbe5
lea eax, [esp + 0x24]
push eax
call fcn.00450e20
mov ebx, eax
lea eax, [esp + 0x28]
push eax
call fcn.00450d70
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 0x46dbb4
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x46db7d
push ebx
push edi
call fcn.0045f350
mov edi, eax
add esp, 8
mov dword [esi + 0x1c], edi
test edi, edi
je 0x46db66
mov ecx, dword [esp + 0x80]
jmp 0x46db85
inc eax
push ebp
push eax
call fcn.0045f350
add esp, 8
mov dword [esi + 0x20], eax
test eax, eax
jne 0x46dac0
mov esi, 7
jmp 0x46dbe5
push 0x550028
call dword [0x56200c]
add esp, 4
jmp 0x46db5b
test cl, cl
jns 0x46db85
mov byte [eax + ebx], 0
test cl, 0x10
jne 0x46dbb4
lea eax, [esp + 0x14]
push eax
push ebx
push edi
call fcn.0046cae0
add esp, 0xc
test eax, eax
jne 0x46db66
mov edi, dword [esp + 0x14]
test edi, edi
je 0x46dbb4
push dword [esi + 0x1c]
call dword [0x562004]
add esp, 4
mov dword [esi + 0x1c], edi
lea eax, [esp + 0x34]
push eax
call fcn.00450d70
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.004f1532
add esp, 0x64
ret
mov esi, 0xe
jmp 0x46dbe5
mov esi, 3
lea eax, [esp + 0x34]
push eax
call fcn.00452e00
push dword [esp + 0x1c]
call fcn.0046cd50
mov ecx, dword [esp + 0x78]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f1532
add esp, 0x64
ret