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

Disassembly:
sub esp, 0x64
mov eax, dword [0x49b3f4]
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 + 0x1c], esi
call fcn.0042f840
mov ebp, edi
add esp, 8
lea ecx, [ebp + 1]
nop dword [eax]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x468100
sub ebp, ecx
cmp ebp, 0x7a1200
ja 0x468787
push 0x48e200
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcspn]
add esp, 8
cmp eax, ebp
jne 0x468787
mov ebx, dword [esp + 0x80]
test ebx, 0x800
jne 0x46814f
push 0x20
push edi
call sub.VCRUNTIME140.dll_strchr
add esp, 8
test eax, eax
jne 0x468787
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.00466260
add esp, 0x10
mov dword [esp + 0x20], eax
test eax, eax
je 0x46838d
mov ecx, str.file
lea eax, [esp + 0x44]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4681a6
test dl, dl
je 0x4681a2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4681a6
add eax, 2
add ecx, 2
test dl, dl
jne 0x468186
xor eax, eax
jmp 0x4681ab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x468336
mov byte [esp + 0x13], al
cmp ebp, 6
ja 0x4681c6
mov esi, 0x13
jmp 0x46878c
mov edi, dword [esp + 0x1c]
lea ebx, [ebp - 5]
add edi, 5
push str.file
mov dword [esp + 0x1c], edi
call dword [0x49b00c]
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x468503
cmp byte [edi], 0x2f
jne 0x4682d5
cmp byte [edi + 1], 0x2f
jne 0x4682d5
mov al, byte [edi + 2]
add edi, 2
cmp al, 0x2f
je 0x4682c6
cmp al, 0x61
jl 0x468215
cmp al, 0x7a
jle 0x46821b
sub al, 0x41
cmp al, 0x19
ja 0x468241
mov al, byte [edi + 1]
cmp al, 0x3a
je 0x468226
cmp al, 0x7c
jne 0x468241
mov al, byte [edi + 2]
cmp al, 0x2f
je 0x4682c6
cmp al, 0x5c
je 0x4682c6
test al, al
je 0x4682c6
push 0xa
push str.localhost_
push edi
call fcn.00440ce0
add esp, 0xc
test eax, eax
jne 0x468329
push 0xa
push str.127.0.0.1_
push edi
call fcn.00440ce0
add esp, 0xc
test eax, eax
jne 0x468329
push str._:____
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
add esp, 8
test eax, eax
je 0x4681bc
cmp byte [eax], 0x2f
jne 0x4681bc
sub eax, edi
je 0x4682c2
push eax
lea eax, [esp + 0x38]
push edi
push eax
call fcn.0042f800
add esp, 0xc
test eax, eax
je 0x4682bd
cmp eax, 0x64
mov esi, 7
mov ecx, 0x1f
cmove esi, ecx
jmp 0x46878c
mov byte [esp + 0x13], 1
mov edi, dword [esp + 0x18]
mov ebx, ebp
sub ebx, edi
add ebx, dword [esp + 0x1c]
cmp byte [esp + 0x13], 0
jne 0x4682e2
lea eax, [esp + 0x34]
push eax
call fcn.0042f880
add esp, 4
cmp byte [edi], 0x2f
jne 0x468534
mov al, byte [edi + 1]
cmp al, 0x61
jl 0x4682f6
cmp al, 0x7a
jle 0x468300
sub al, 0x41
cmp al, 0x19
ja 0x468534
mov al, byte [edi + 2]
cmp al, 0x3a
je 0x46830f
cmp al, 0x7c
jne 0x468534
mov al, byte [edi + 3]
cmp al, 0x2f
je 0x468322
cmp al, 0x5c
je 0x468322
test al, al
jne 0x468534
inc edi
dec ebx
jmp 0x468534
mov ebx, dword [esp + 0x1c]
add edi, 9
sub ebx, edi
add ebx, ebp
jmp 0x4682d5
mov esi, dword [esp + 0x20]
xor edi, edi
inc esi
add esi, dword [esp + 0x1c]
cmp byte [esi], 0x2f
jne 0x468352
cmp edi, 4
jge 0x468352
inc esi
inc edi
cmp byte [esi], 0x2f
je 0x468346
lea ebx, [esp + 0x44]
mov eax, ebx
mov dword [esp + 0x18], ebx
push eax
call fcn.00437490
add esp, 4
test eax, eax
jne 0x46837b
test byte [esp + 0x80], 8
jne 0x46837b
lea esi, [eax + 5]
jmp 0x46878c
lea eax, [edi - 1]
cmp eax, 2
jbe 0x4683b5
mov esi, 0x1c
jmp 0x46878c
test edi, edi
jne 0x468399
lea esi, [edi + 0x1b]
jmp 0x46878c
mov esi, dword [esp + 0x1c]
test bl, 4
mov ebx, str.https
mov eax, 0
cmove ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x4683cd
push ebx
call dword [0x49b00c]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x468503
push 0x48e2a4
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcspn]
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 0x46850d
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.00467d30
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x46878c
test dword [esp + 0x80], 0x200
je 0x468534
cmp dword [esp + 0x18], eax
jne 0x468534
lea eax, [esp + 0x34]
push eax
call fcn.0042f870
push 4
mov esi, eax
push str.ftp.
push esi
call fcn.00440ce0
add esp, 0x10
test eax, eax
je 0x468467
mov ecx, 0x486ae4
jmp 0x4684f2
push 5
push str.dict.
push esi
call fcn.00440ce0
add esp, 0xc
test eax, eax
je 0x468482
mov ecx, str.dict
jmp 0x4684f2
push 5
push str.ldap.
push esi
call fcn.00440ce0
add esp, 0xc
test eax, eax
je 0x46849d
mov ecx, str.ldap
jmp 0x4684f2
push 5
push str.imap.
push esi
call fcn.00440ce0
add esp, 0xc
test eax, eax
je 0x4684b8
mov ecx, str.imap
jmp 0x4684f2
push 5
push str.smtp.
push esi
call fcn.00440ce0
add esp, 0xc
test eax, eax
je 0x4684d3
mov ecx, str.smtp
jmp 0x4684f2
push 5
push str.pop3.
push esi
call fcn.00440ce0
add esp, 0xc
mov ecx, str.pop3
test eax, eax
mov edx, str.http
cmove ecx, edx
push ecx
call dword [0x49b00c]
add esp, 4
mov dword [ebp], eax
test eax, eax
jne 0x468534
mov esi, 7
jmp 0x46878c
test dword [esp + 0x80], 0x400
je 0x468780
lea eax, [esp + 0x34]
push 0x491fc3
push eax
call fcn.0042f7a0
add esp, 8
test eax, eax
jne 0x468503
push 0x23
push edi
call sub.VCRUNTIME140.dll_strchr
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4685db
mov eax, dword [esp + 0x14]
mov esi, ebx
sub esi, ebp
add esi, edi
mov dword [esp + 0x20], esi
mov byte [eax + 0x2b], 1
cmp esi, 1
jbe 0x4685d9
test byte [esp + 0x80], 0x80
lea eax, [esi - 1]
mov dword [esp + 0x18], eax
lea ecx, [ebp + 1]
je 0x4685c0
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.0042f840
push 0
push 1
push dword [esp + 0x28]
lea eax, [ebp + 1]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00468830
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x46878c
lea eax, [esp + 0x24]
push eax
call fcn.0042f870
mov ecx, dword [esp + 0x18]
add esp, 4
mov esi, dword [esp + 0x20]
mov dword [ecx + 0x24], eax
jmp 0x4685d9
push eax
push ecx
call fcn.0043a910
mov ecx, dword [esp + 0x1c]
add esp, 8
mov dword [ecx + 0x24], eax
test eax, eax
je 0x468503
sub ebx, esi
push ebx
push 0x3f
push edi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x46868c
test ebp, ebp
je 0x4685fb
sub ebp, eax
jmp 0x468601
mov ebp, ebx
sub ebp, eax
add ebp, edi
mov esi, dword [esp + 0x14]
sub ebx, ebp
mov byte [esi + 0x2a], 1
cmp ebp, 1
jbe 0x46867c
dec ebp
test byte [esp + 0x80], 0x80
je 0x468662
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.0042f840
mov eax, dword [esp + 0x20]
push 1
push 1
inc eax
push ebp
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00468830
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x46878c
lea eax, [esp + 0x24]
push eax
call fcn.0042f870
mov esi, dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x20], eax
jmp 0x468690
inc eax
push ebp
push eax
call fcn.0043a910
add esp, 8
mov dword [esi + 0x20], eax
test eax, eax
jne 0x468690
lea esi, [eax + 7]
jmp 0x46878c
push 0x491fc3
call dword [0x49b00c]
add esp, 4
jmp 0x46866d
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
test ebx, ebx
je 0x4686f4
test cl, cl
jns 0x4686f4
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.0042f840
push 0
push 1
push ebx
lea eax, [esp + 0x38]
push edi
push eax
call fcn.00468830
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x46878c
lea eax, [esp + 0x24]
push eax
call fcn.0042f860
mov ebx, eax
lea eax, [esp + 0x28]
push eax
call fcn.0042f870
mov esi, dword [esp + 0x1c]
mov edi, eax
mov ecx, dword [esp + 0x88]
add esp, 8
mov dword [esi + 0x1c], edi
cmp ebx, 1
jbe 0x46875b
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x468720
push ebx
push edi
call fcn.0043a910
mov edi, eax
add esp, 8
mov dword [esi + 0x1c], edi
test edi, edi
je 0x468503
mov ecx, dword [esp + 0x80]
jmp 0x468728
test cl, cl
jns 0x468728
mov byte [eax + ebx], 0
test cl, 0x10
jne 0x46875b
lea eax, [esp + 0x18]
push eax
push ebx
push edi
call fcn.00467650
add esp, 0xc
test eax, eax
jne 0x468503
mov edi, dword [esp + 0x18]
test edi, edi
je 0x46875b
push dword [esi + 0x1c]
call dword [0x49b004]
add esp, 4
mov dword [esi + 0x1c], edi
lea eax, [esp + 0x34]
push eax
call fcn.0042f870
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.0047e496
add esp, 0x64
ret
mov esi, 0xe
jmp 0x46878c
mov esi, 3
lea eax, [esp + 0x34]
push eax
call fcn.0042f810
push dword [esp + 0x18]
call fcn.004678c0
mov ecx, dword [esp + 0x78]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047e496
add esp, 0x64
ret