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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x1027e110]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor edi, edi
lea ecx, [esp + 0x24]
push 0x7a1200
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], edi
call fcn.1004d6b0
mov eax, ebx
add esp, 8
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1007ae55
sub eax, esi
mov ebp, eax
cmp ebp, 0x7a1200
jbe 0x1007ae77
mov dword [esp + 0x10], 3
jmp 0x1007b601
mov esi, dword [esp + 0x84]
and esi, 0x204
push esi
push 0x29
lea edx, [esp + 0x54]
push edx
push ebx
call fcn.1007a0e0
add esp, 0x10
cmp eax, edi
mov dword [esp + 0x34], eax
je 0x1007b095
mov edi, str.file
lea esi, [esp + 0x4c]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1007b00d
cmp ebp, 6
ja 0x1007aecb
mov dword [esp + 0x10], 0x13
jmp 0x1007b601
push str.file
add ebx, 5
call dword [0x1027900c]
mov ecx, dword [esp + 0x18]
add esp, 4
test eax, eax
mov dword [ecx], eax
mov dword [esp + 0x18], eax
je 0x1007b5f9
cmp byte [ebx], 0x2f
jne 0x1007afb2
cmp byte [ebx + 1], 0x2f
jne 0x1007afb2
mov al, byte [ebx + 2]
add ebx, 2
cmp al, 0x2f
je 0x1007afab
cmp al, 0x61
jl 0x1007af17
cmp al, 0x7a
jle 0x1007af1f
cmp al, 0x41
jl 0x1007af39
cmp al, 0x5a
jg 0x1007af39
mov al, byte [ebx + 1]
cmp al, 0x3a
je 0x1007af2a
cmp al, 0x7c
jne 0x1007af39
mov al, byte [ebx + 2]
cmp al, 0x2f
je 0x1007afab
cmp al, 0x5c
je 0x1007afab
test al, al
je 0x1007afab
push 0xa
push str.localhost_
push ebx
call fcn.10051f80
add esp, 0xc
test eax, eax
jne 0x1007afa8
push 0xa
push str.127.0.0.1_
push ebx
call fcn.10051f80
add esp, 0xc
test eax, eax
jne 0x1007afa8
push str._:____
push ebx
call fcn.101b70d0
add esp, 8
test eax, eax
je 0x1007aebe
cmp byte [eax], 0x2f
jne 0x1007aebe
sub eax, ebx
je 0x1007afa3
push eax
lea edx, [esp + 0x28]
push ebx
push edx
call fcn.1004d810
add esp, 0xc
test eax, eax
jne 0x1007b5f9
mov dword [esp + 0x1c], 1
sub ebx, 2
jmp 0x1007afab
add ebx, 9
cmp dword [esp + 0x1c], 0
jne 0x1007afbf
lea eax, [esp + 0x24]
push eax
call fcn.1004d790
add esp, 4
cmp byte [ebx], 0x2f
jne 0x1007b111
mov al, byte [ebx + 1]
cmp al, 0x61
jl 0x1007afd3
cmp al, 0x7a
jle 0x1007afe3
cmp al, 0x41
jl 0x1007b111
cmp al, 0x5a
jg 0x1007b111
mov al, byte [ebx + 2]
cmp al, 0x3a
je 0x1007aff2
cmp al, 0x7c
jne 0x1007b111
mov al, byte [ebx + 3]
cmp al, 0x2f
je 0x1007b005
cmp al, 0x5c
je 0x1007b005
test al, al
jne 0x1007b111
add ebx, 1
jmp 0x1007b111
lea esi, [ebx + eax + 1]
xor edi, edi
test esi, esi
je 0x1007b02b
cmp byte [esi], 0x2f
jne 0x1007b02b
cmp edi, 4
jge 0x1007b02b
add esi, 1
add edi, 1
test esi, esi
jne 0x1007b017
lea ecx, [esp + 0x4c]
mov edx, ecx
push 0xffffffffffffffff
push edx
mov dword [esp + 0x20], ecx
call fcn.1004f2a0
add esp, 8
test eax, eax
jne 0x1007b05b
test byte [esp + 0x84], 8
jne 0x1007b05b
mov dword [esp + 0x10], 5
jmp 0x1007b601
add edi, 0xffffffff
cmp edi, 2
ja 0x1007b088
mov eax, dword [esp + 0x84]
push eax
lea edi, [esp + 0x50]
call fcn.1007a430
add esp, 4
test eax, eax
je 0x1007b0ad
mov dword [esp + 0x10], 0x1b
jmp 0x1007b601
mov dword [esp + 0x10], 0x1c
jmp 0x1007b601
cmp esi, edi
je 0x1007b07b
test byte [esp + 0x84], 4
je 0x1007b0ab
mov dword [esp + 0x18], str.https
mov esi, ebx
mov al, byte [esi]
test al, al
mov ecx, esi
je 0x1007b0cb
cmp al, 0x2f
je 0x1007b0cb
cmp al, 0x3f
je 0x1007b0cb
cmp al, 0x23
je 0x1007b0cb
mov al, byte [esi + 1]
add esi, 1
test al, al
jne 0x1007b0b5
mov eax, esi
sub eax, ecx
je 0x1007b17a
push eax
push ecx
lea ecx, [esp + 0x2c]
push ecx
call fcn.1004d810
add esp, 0xc
test eax, eax
jne 0x1007b5f9
cmp dword [esp + 0x18], 0
mov ebx, esi
je 0x1007b111
mov edx, dword [esp + 0x18]
push edx
call dword [0x1027900c]
mov ecx, dword [esp + 0x18]
add esp, 4
test eax, eax
mov dword [ecx], eax
je 0x1007b5f9
push 0x23
push ebx
call fcn.101b5310
mov esi, eax
add esp, 8
test esi, esi
je 0x1007b198
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1007b125
sub eax, edx
mov ebp, eax
cmp ebp, 1
mov dword [esp + 0x20], ebp
jbe 0x1007b19c
lea edx, [esi + 1]
push ebp
push edx
call fcn.1005ee50
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
mov dword [ecx + 0x24], eax
je 0x1007b5f9
mov edx, dword [esp + 0x84]
push edx
mov edi, eax
call fcn.1007a430
add esp, 4
test eax, eax
je 0x1007b19c
mov dword [esp + 0x10], 0x14
jmp 0x1007b601
test dword [esp + 0x84], 0x400
jne 0x1007b0ec
mov dword [esp + 0x10], 0xe
jmp 0x1007b601
mov ebp, dword [esp + 0x20]
push 0x3f
push ebx
call fcn.101b5310
mov edi, eax
add esp, 8
test edi, edi
je 0x1007b2a5
test esi, esi
je 0x1007b1bd
cmp edi, esi
jae 0x1007b2a5
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1007b1c2
sub eax, edx
sub eax, ebp
mov esi, eax
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1007b1d6
sub eax, edx
sub eax, esi
sub eax, dword [esp + 0x20]
cmp esi, 1
mov ebp, eax
jbe 0x1007b287
test byte [esp + 0x84], 0x80
je 0x1007b23e
lea eax, [esp + 0x38]
push 0x7a1200
push eax
call fcn.1004d6b0
push 1
add esi, 0xffffffff
push 1
push esi
lea eax, [edi + 1]
lea esi, [esp + 0x4c]
call fcn.1007a000
add esp, 0x14
test eax, eax
jne 0x1007b5f9
mov ecx, esi
push ecx
call fcn.100d3700
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [edx + 0x20], eax
jmp 0x1007b25f
push esi
add edi, 1
push edi
call fcn.1005ee50
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
mov dword [ecx + 0x20], eax
je 0x1007b5f9
mov byte [eax + esi - 1], 0
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x20]
push edx
call fcn.1007a430
add esp, 4
test eax, eax
je 0x1007b2c1
mov dword [esp + 0x10], 0x1a
jmp 0x1007b601
push 0x1025e490
call dword [0x1027900c]
mov ecx, dword [esp + 0x18]
add esp, 4
test eax, eax
mov dword [ecx + 0x20], eax
jne 0x1007b2c1
jmp 0x1007b5f9
mov eax, ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1007b2b0
sub eax, edx
sub eax, dword [esp + 0x20]
mov ebp, eax
test ebp, ebp
je 0x1007b317
test byte [esp + 0x84], 0x80
je 0x1007b317
lea edx, [esp + 0x38]
push 0x7a1200
push edx
call fcn.1004d6b0
push 0
push 1
push ebp
mov eax, ebx
lea esi, [esp + 0x4c]
call fcn.1007a000
add esp, 0x14
test eax, eax
jne 0x1007b5f9
mov eax, esi
push eax
call fcn.100d4520
mov ecx, esi
push ecx
mov ebp, eax
call fcn.100d3700
mov edx, dword [esp + 0x1c]
add esp, 8
mov dword [edx + 0x1c], eax
mov ebx, eax
cmp ebp, 1
jbe 0x1007b3b8
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x1007b34c
lea eax, [ebp + 1]
push eax
push ebx
call fcn.1005ee50
add esp, 8
test eax, eax
mov dword [esi + 0x1c], eax
je 0x1007b5f9
mov byte [eax + ebp], 0
mov ebx, dword [esi + 0x1c]
jmp 0x1007b35a
test byte [esp + 0x84], 0x80
je 0x1007b35a
mov byte [eax + ebp], 0
mov ecx, dword [esp + 0x84]
mov edi, dword [esi + 0x1c]
push ecx
call fcn.1007a430
add esp, 4
test eax, eax
je 0x1007b37e
mov dword [esp + 0x10], 0x19
jmp 0x1007b601
test byte [esp + 0x84], 0x10
jne 0x1007b3b8
lea edx, [esp + 0x1c]
push edx
push ebp
mov eax, ebx
call fcn.1007ab90
add esp, 8
test eax, eax
jne 0x1007b5f9
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x1007b3b8
mov eax, dword [esi + 0x1c]
push eax
call dword [0x10279004]
add esp, 4
mov dword [esi + 0x1c], edi
lea ecx, [esp + 0x24]
push ecx
call fcn.100d4520
add esp, 4
test eax, eax
je 0x1007b5d6
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.1007a490
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
jne 0x1007b601
mov ecx, dword [esp + 0x34]
mov edx, ebx
push ecx
push edx
lea ebx, [esp + 0x2c]
call fcn.1007a600
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
jne 0x1007b601
mov esi, dword [esp + 0x84]
mov eax, ebx
push esi
push eax
call fcn.100d3700
add esp, 4
mov edi, eax
call fcn.1007a430
add esp, 4
test eax, eax
je 0x1007b440
mov dword [esp + 0x10], 0x15
jmp 0x1007b601
push 0x11
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.100d3700
add esp, 4
call fcn.1007a950
add esp, 8
test eax, eax
je 0x1007b485
lea eax, [esp + 0x24]
push eax
call fcn.1004d790
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.1004d830
add esp, 0xc
test eax, eax
je 0x1007b4cc
jmp 0x1007b5f9
lea edi, [esp + 0x24]
call fcn.1007ab00
test eax, eax
mov dword [esp + 0x10], eax
jne 0x1007b601
mov eax, edi
push eax
call fcn.100d4520
add esp, 4
push eax
mov ecx, edi
push ecx
call fcn.100d3700
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
mov ecx, eax
call fcn.1007a750
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
jne 0x1007b601
test esi, 0x200
je 0x1007b5ab
cmp dword [esp + 0x18], 0
jne 0x1007b5ab
lea eax, [esp + 0x24]
push eax
call fcn.100d3700
push 4
mov esi, eax
push str.ftp.
push esi
call fcn.10051f80
add esp, 0x10
test eax, eax
je 0x1007b50d
mov eax, 0x101f1710
jmp 0x1007b597
push 5
push str.dict.
push esi
call fcn.10051f80
add esp, 0xc
test eax, eax
je 0x1007b528
mov eax, str.dict
jmp 0x1007b597
push 5
push str.ldap.
push esi
call fcn.10051f80
add esp, 0xc
test eax, eax
je 0x1007b543
mov eax, str.ldap
jmp 0x1007b597
push 5
push str.imap.
push esi
call fcn.10051f80
add esp, 0xc
test eax, eax
je 0x1007b55e
mov eax, str.imap
jmp 0x1007b597
push 5
push str.smtp.
push esi
call fcn.10051f80
add esp, 0xc
test eax, eax
je 0x1007b579
mov eax, str.smtp
jmp 0x1007b597
push 5
push str.pop3.
push esi
call fcn.10051f80
add esp, 0xc
test eax, eax
mov eax, str.pop3
jne 0x1007b597
mov eax, str.http
push eax
call dword [0x1027900c]
mov ecx, dword [esp + 0x18]
add esp, 4
test eax, eax
mov dword [ecx], eax
je 0x1007b5f9
lea ecx, [esp + 0x24]
push ecx
call fcn.100d3700
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [edx + 0x10], eax
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b40e2
add esp, 0x6c
ret
test dword [esp + 0x84], 0x400
je 0x1007b5ab
lea edx, [esp + 0x24]
push 0x1025e490
push edx
call fcn.1004d830
add esp, 8
test eax, eax
je 0x1007b5ab
mov dword [esp + 0x10], 7
lea eax, [esp + 0x24]
push eax
call fcn.1004d6d0
mov esi, dword [esp + 0x18]
add esp, 4
call fcn.10079f20
jmp 0x1007b5bf