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

Disassembly:
sub esp, 0x64
mov eax, dword [0x10091628]
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.10024e10
mov ebp, edi
add esp, 8
lea ecx, [ebp + 1]
nop dword [eax]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x100647c0
sub ebp, ecx
cmp ebp, 0x7a1200
ja 0x10064e36
push 0x1008614c
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcspn
add esp, 8
cmp eax, ebp
jne 0x10064e36
mov ebx, dword [esp + 0x80]
test ebx, 0x800
jne 0x1006480e
push 0x20
push edi
call sub.VCRUNTIME140.dll_strchr
add esp, 8
test eax, eax
jne 0x10064e36
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.10062a70
add esp, 0x10
mov dword [esp + 0x20], eax
test eax, eax
je 0x10064a4b
mov ecx, str.file
lea eax, [esp + 0x44]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10064865
test dl, dl
je 0x10064861
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10064865
add eax, 2
add ecx, 2
test dl, dl
jne 0x10064845
xor eax, eax
jmp 0x1006486a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100649f4
mov byte [esp + 0x13], al
cmp ebp, 6
ja 0x10064885
mov esi, 0x13
jmp 0x10064e3b
mov edi, dword [esp + 0x1c]
lea ebx, [ebp - 5]
add edi, 5
push str.file
mov dword [esp + 0x1c], edi
call dword [0x10091264]
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x10064bc0
cmp byte [edi], 0x2f
jne 0x10064993
cmp byte [edi + 1], 0x2f
jne 0x10064993
mov al, byte [edi + 2]
add edi, 2
cmp al, 0x2f
je 0x10064984
cmp al, 0x61
jl 0x100648d4
cmp al, 0x7a
jle 0x100648da
sub al, 0x41
cmp al, 0x19
ja 0x10064900
mov al, byte [edi + 1]
cmp al, 0x3a
je 0x100648e5
cmp al, 0x7c
jne 0x10064900
mov al, byte [edi + 2]
cmp al, 0x2f
je 0x10064984
cmp al, 0x5c
je 0x10064984
test al, al
je 0x10064984
push 0xa
push str.localhost_
push edi
call fcn.10023540
add esp, 0xc
test eax, eax
jne 0x100649e7
push 0xa
push str.127.0.0.1_
push edi
call fcn.10023540
add esp, 0xc
test eax, eax
jne 0x100649e7
push str._:____
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strpbrk
add esp, 8
test eax, eax
je 0x1006487b
cmp byte [eax], 0x2f
jne 0x1006487b
sub eax, edi
je 0x10064980
push eax
lea eax, [esp + 0x38]
push edi
push eax
call fcn.10024dd0
add esp, 0xc
test eax, eax
je 0x1006497b
cmp eax, 0x64
mov esi, 7
mov ecx, 0x1f
cmove esi, ecx
jmp 0x10064e3b
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 0x100649a0
lea eax, [esp + 0x34]
push eax
call fcn.10024e50
add esp, 4
cmp byte [edi], 0x2f
jne 0x10064bf1
mov al, byte [edi + 1]
cmp al, 0x61
jl 0x100649b4
cmp al, 0x7a
jle 0x100649be
sub al, 0x41
cmp al, 0x19
ja 0x10064bf1
mov al, byte [edi + 2]
cmp al, 0x3a
je 0x100649cd
cmp al, 0x7c
jne 0x10064bf1
mov al, byte [edi + 3]
cmp al, 0x2f
je 0x100649e0
cmp al, 0x5c
je 0x100649e0
test al, al
jne 0x10064bf1
inc edi
dec ebx
jmp 0x10064bf1
mov ebx, dword [esp + 0x1c]
add edi, 9
sub ebx, edi
add ebx, ebp
jmp 0x10064993
mov esi, dword [esp + 0x20]
xor edi, edi
inc esi
add esi, dword [esp + 0x1c]
cmp byte [esi], 0x2f
jne 0x10064a10
cmp edi, 4
jge 0x10064a10
inc esi
inc edi
cmp byte [esi], 0x2f
je 0x10064a04
lea ebx, [esp + 0x44]
mov eax, ebx
mov dword [esp + 0x18], ebx
push eax
call fcn.100308f0
add esp, 4
test eax, eax
jne 0x10064a39
test byte [esp + 0x80], 8
jne 0x10064a39
lea esi, [eax + 5]
jmp 0x10064e3b
lea eax, [edi - 1]
cmp eax, 2
jbe 0x10064a73
mov esi, 0x1c
jmp 0x10064e3b
test edi, edi
jne 0x10064a57
lea esi, [edi + 0x1b]
jmp 0x10064e3b
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 0x10064a8b
push ebx
call dword [0x10091264]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x10064bc0
push 0x100861f0
push esi
call sub.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 0x10064bca
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.10064410
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x10064e3b
test dword [esp + 0x80], 0x200
je 0x10064bf1
cmp dword [esp + 0x18], eax
jne 0x10064bf1
lea eax, [esp + 0x34]
push eax
call fcn.10024e40
push 4
mov esi, eax
push str.ftp.
push esi
call fcn.10023540
add esp, 0x10
test eax, eax
je 0x10064b24
mov ecx, 0x1007f308
jmp 0x10064baf
push 5
push str.dict.
push esi
call fcn.10023540
add esp, 0xc
test eax, eax
je 0x10064b3f
mov ecx, str.dict
jmp 0x10064baf
push 5
push str.ldap.
push esi
call fcn.10023540
add esp, 0xc
test eax, eax
je 0x10064b5a
mov ecx, str.ldap
jmp 0x10064baf
push 5
push str.imap.
push esi
call fcn.10023540
add esp, 0xc
test eax, eax
je 0x10064b75
mov ecx, str.imap
jmp 0x10064baf
push 5
push str.smtp.
push esi
call fcn.10023540
add esp, 0xc
test eax, eax
je 0x10064b90
mov ecx, str.smtp
jmp 0x10064baf
push 5
push str.pop3.
push esi
call fcn.10023540
add esp, 0xc
mov ecx, str.pop3
test eax, eax
mov edx, str.http
cmove ecx, edx
push ecx
call dword [0x10091264]
add esp, 4
mov dword [ebp], eax
test eax, eax
jne 0x10064bf1
mov esi, 7
jmp 0x10064e3b
test dword [esp + 0x80], 0x400
je 0x10064e2f
lea eax, [esp + 0x34]
push 0x10079660
push eax
call fcn.10024d70
add esp, 8
test eax, eax
jne 0x10064bc0
push 0x23
push edi
call sub.VCRUNTIME140.dll_strchr
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x10064c90
mov esi, ebx
sub esi, ebp
add esi, edi
mov dword [esp + 0x20], esi
cmp esi, 1
jbe 0x10064c8e
test byte [esp + 0x80], 0x80
lea eax, [esi - 1]
mov dword [esp + 0x18], eax
lea ecx, [ebp + 1]
je 0x10064c75
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.10024e10
push 0
push 1
push dword [esp + 0x28]
lea eax, [ebp + 1]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10064ee0
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x10064e3b
lea eax, [esp + 0x24]
push eax
call fcn.10024e40
mov ecx, dword [esp + 0x18]
add esp, 4
mov esi, dword [esp + 0x20]
mov dword [ecx + 0x24], eax
jmp 0x10064c8e
push eax
push ecx
call fcn.100253b0
mov ecx, dword [esp + 0x1c]
add esp, 8
mov dword [ecx + 0x24], eax
test eax, eax
je 0x10064bc0
sub ebx, esi
push ebx
push 0x3f
push edi
call sub.VCRUNTIME140.dll_memchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10064d3b
test ebp, ebp
je 0x10064cae
sub ebp, esi
jmp 0x10064cb4
mov ebp, ebx
sub ebp, esi
add ebp, edi
sub ebx, ebp
cmp ebp, 1
jbe 0x10064d2b
dec ebp
test byte [esp + 0x80], 0x80
je 0x10064d0b
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.10024e10
push 1
push 1
push ebp
lea eax, [esi + 1]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10064ee0
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x10064e3b
lea eax, [esp + 0x24]
push eax
call fcn.10024e40
mov esi, dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x20], eax
jmp 0x10064d3f
lea eax, [esi + 1]
push ebp
push eax
call fcn.100253b0
add esp, 8
mov esi, dword [esp + 0x14]
mov dword [esi + 0x20], eax
test eax, eax
jne 0x10064d3f
lea esi, [eax + 7]
jmp 0x10064e3b
push 0x10079660
call dword [0x10091264]
add esp, 4
jmp 0x10064d18
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
test ebx, ebx
je 0x10064da3
test cl, cl
jns 0x10064da3
lea eax, [esp + 0x24]
push 0x7a1200
push eax
call fcn.10024e10
push 0
push 1
push ebx
lea eax, [esp + 0x38]
push edi
push eax
call fcn.10064ee0
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x10064e3b
lea eax, [esp + 0x24]
push eax
call fcn.10024e30
mov ebx, eax
lea eax, [esp + 0x28]
push eax
call fcn.10024e40
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 0x10064e0a
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x10064dcf
push ebx
push edi
call fcn.100253b0
mov edi, eax
add esp, 8
mov dword [esi + 0x1c], edi
test edi, edi
je 0x10064bc0
mov ecx, dword [esp + 0x80]
jmp 0x10064dd7
test cl, cl
jns 0x10064dd7
mov byte [eax + ebx], 0
test cl, 0x10
jne 0x10064e0a
lea eax, [esp + 0x18]
push eax
push ebx
push edi
call fcn.10063d30
add esp, 0xc
test eax, eax
jne 0x10064bc0
mov edi, dword [esp + 0x18]
test edi, edi
je 0x10064e0a
push dword [esi + 0x1c]
call dword [0x1009125c]
add esp, 4
mov dword [esi + 0x1c], edi
lea eax, [esp + 0x34]
push eax
call fcn.10024e40
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.10075d21
add esp, 0x64
ret
mov esi, 0xe
jmp 0x10064e3b
mov esi, 3
lea eax, [esp + 0x34]
push eax
call fcn.10024de0
push dword [esp + 0x18]
call fcn.10063fa0
mov ecx, dword [esp + 0x78]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10075d21
add esp, 0x64
ret