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

Disassembly:
sub esp, 0x70
mov eax, dword [0x1026e004]
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 0x10130e9c
mov ebx, esi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10130b92
sub ebx, ecx
cmp ebx, 0x7a1200
ja 0x10130e9c
lea eax, [ebx*2 + 2]
push eax
call dword [0x1026e9e8]
mov edi, eax
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [eax + 0x28], edi
test edi, edi
je 0x10131227
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.1012f6c0
mov ebx, dword [esp + 0x98]
add esp, 0xc
mov dword [esp + 0x18], ebx
test al, al
je 0x10130e31
lea ebp, [esp + 0x3c]
mov byte [esp + 0x13], 1
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x10130c04
lea eax, [esp + 0x3c]
sub ebp, ecx
push str.file
push eax
call fcn.10139350
add esp, 8
test eax, eax
je 0x10130e31
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 0x10130c30
push str.file
xor ebp, ebp
call dword [0x1026e9f4]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x10131227
mov cl, byte [edi]
cmp cl, 0x2f
jne 0x10130d27
cmp byte [edi + 1], cl
jne 0x10130cdd
mov cl, byte [edi + 2]
add edi, 2
cmp cl, 0x2f
je 0x10130cdd
cmp cl, 0x61
jl 0x10130c80
cmp cl, 0x7a
jle 0x10130c88
mov al, cl
sub al, 0x41
cmp al, 0x19
ja 0x10130ca6
mov al, byte [edi + 1]
cmp al, 0x3a
je 0x10130c93
cmp al, 0x7c
jne 0x10130ca6
mov al, byte [edi + 2]
mov bl, cl
mov dl, cl
cmp al, 0x2f
je 0x10130cd8
cmp al, 0x5c
je 0x10130cd8
test al, al
je 0x10130cd8
push 0xa
push edi
push str.localhost_
call fcn.10139560
add esp, 0xc
test eax, eax
jne 0x10130cd2
push 0xa
push edi
push str.127.0.0.1_
call fcn.10139560
add esp, 0xc
test eax, eax
je 0x10130e9c
mov cl, byte [edi + 9]
add edi, 9
cmp cl, 0x2f
jne 0x10130d27
mov al, byte [edi + 1]
lea edx, [edi + 1]
cmp al, 0x61
jl 0x10130ceb
cmp al, 0x7a
jle 0x10130cf1
sub al, 0x41
cmp al, 0x19
ja 0x10130d27
mov al, byte [edi + 2]
cmp al, 0x3a
je 0x10130cfc
cmp al, 0x7c
jne 0x10130d27
mov al, byte [edi + 3]
cmp al, 0x2f
je 0x10130d0b
cmp al, 0x5c
je 0x10130d0b
test al, al
jne 0x10130d27
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10130d10
sub ecx, esi
lea eax, [ecx + 1]
push eax
push edx
push edi
call fcn.100e3f30
add esp, 0xc
mov ebx, dword [esp + 0x14]
push dword [esp + 0x18]
push edi
call fcn.10130ac0
add esp, 8
test al, al
jne 0x10130e9c
test byte [esp + 0x18], 0x80
je 0x10130d86
cmp byte [edi], al
je 0x10130d86
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10130d50
sub ecx, edx
lea eax, [ecx + ecx*2]
push eax
call dword [0x1026e9e8]
mov esi, eax
add esp, 4
test esi, esi
je 0x10131227
push 1
push edi
push esi
mov byte [esp + 0x1e], 1
call fcn.101313b0
add esp, 0xc
mov dword [ebx + 0x2c], esi
mov edi, esi
push 0x23
push edi
call fcn.100e2630
add esp, 8
test eax, eax
je 0x10130db3
mov byte [eax], 0
inc eax
cmp byte [eax], 0
je 0x10130db3
push eax
call dword [0x1026e9f4]
add esp, 4
mov dword [ebx + 0x24], eax
test eax, eax
je 0x10131227
push 0x3f
push edi
call fcn.100e2630
add esp, 8
test eax, eax
je 0x10130ddb
mov byte [eax], 0
inc eax
push eax
call dword [0x1026e9f4]
add esp, 4
mov dword [ebx + 0x20], eax
test eax, eax
je 0x10131227
cmp byte [edi], 0
je 0x10130fb3
test byte [esp + 0x18], 0x10
jne 0x10130f8e
push edi
call fcn.10139750
mov esi, eax
add esp, 4
test esi, esi
je 0x10131227
mov edx, edi
mov ecx, esi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10130f61
test al, al
je 0x10130e2a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10130f61
add ecx, 2
add edx, 2
test al, al
jne 0x10130e06
xor eax, eax
jmp 0x10130f66
cmp byte [esp + 0x13], 0
mov byte [edi], 0
je 0x10130eb4
inc esi
xor eax, eax
add esi, ebp
je 0x10130e9c
cmp byte [esi], 0x2f
jne 0x10130e52
cmp eax, 4
jge 0x10130e52
inc eax
add esi, 1
jne 0x10130e42
dec eax
cmp eax, 2
ja 0x10130e9c
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x2c], eax
call fcn.1013a310
add esp, 4
test eax, eax
jne 0x10130e8a
test bl, 8
jne 0x10130e8a
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100e04a9
add esp, 0x70
ret
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.10130ac0
add esp, 8
test al, al
je 0x10130ed0
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100e04a9
add esp, 0x70
ret
test ebx, 0x204
je 0x10130e9c
test bl, 4
mov ebp, str.https
mov eax, 0
cmove ebp, eax
mov dword [esp + 0x28], ebp
mov al, byte [esi]
mov ecx, esi
test al, al
je 0x10130eec
cmp al, 0x2f
je 0x10130eec
cmp al, 0x3f
je 0x10130eec
cmp al, 0x23
je 0x10130eec
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10130ed8
mov ebx, esi
sub ebx, ecx
je 0x10130f07
mov ebp, dword [esp + 0x1c]
push ebx
push ecx
push ebp
call fcn.100e1b00
add esp, 0xc
mov byte [ebx + ebp], 0
jmp 0x10130f15
test dword [esp + 0x18], 0x400
je 0x10130e9c
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 0x10130f20
sub ebx, ecx
push ebx
push esi
push edi
call fcn.100e1b00
mov eax, dword [esp + 0x34]
add esp, 0xc
mov byte [ebx + edi], 0
test eax, eax
je 0x10130d27
push eax
call dword [0x1026e9f4]
mov ebx, dword [esp + 0x18]
add esp, 4
mov dword [ebx], eax
test eax, eax
je 0x10131227
jmp 0x10130d2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10130f84
cmp byte [esp + 0x12], 0
je 0x10130f7d
push dword [ebx + 0x2c]
call dword [0x1026e9ec]
add esp, 4
mov edi, esi
mov dword [ebx + 0x2c], esi
jmp 0x10130fa1
push esi
call dword [0x1026e9ec]
add esp, 4
cmp byte [esp + 0x12], 0
jne 0x10130fa1
push edi
call dword [0x1026e9f4]
add esp, 4
mov edi, eax
mov dword [ebx + 0x1c], edi
test edi, edi
je 0x10131227
mov dword [ebx + 0x2c], 0
test ebp, ebp
je 0x1013133e
push dword [esp + 0x18]
push ebp
call fcn.10130ac0
add esp, 8
test al, al
jne 0x10130e9c
xor edi, edi
push 0x40
push ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], edi
call fcn.100e2630
mov esi, eax
add esp, 8
mov ebx, ebp
test esi, esi
je 0x101310a4
mov edi, dword [esp + 0x14]
inc esi
mov ebp, esi
mov eax, dword [edi]
test eax, eax
je 0x1013101e
push eax
call fcn.1013a310
add esp, 4
test eax, eax
je 0x1013101e
test dword [eax + 0x4c], 0x400
je 0x1013101e
lea eax, [esp + 0x1c]
jmp 0x10131020
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.1013af80
add esp, 0x14
test eax, eax
mov eax, dword [esp + 0x20]
je 0x10131047
mov edi, 3
jmp 0x101310a8
test eax, eax
je 0x1013105c
test byte [esp + 0x18], 0x20
je 0x10131059
mov edi, 8
jmp 0x101310a8
mov dword [edi + 4], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10131067
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10131072
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.10131380
add esp, 0x10
cmp eax, 1
jne 0x10131135
mov al, byte [esp + 0x12]
cmp al, 0x5d
jne 0x101310df
mov eax, dword [esp + 0x24]
lea esi, [eax + ebp]
jmp 0x10131122
mov eax, dword [esp + 0x20]
push eax
call dword [0x1026e9ec]
push dword [esp + 0x30]
call dword [0x1026e9ec]
push dword [esp + 0x24]
call dword [0x1026e9ec]
add esp, 0xc
test edi, edi
je 0x10131072
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100e04a9
add esp, 0x70
ret
cmp al, 0x25
jne 0x10130e9c
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.10131380
add esp, 0x10
cmp eax, 1
jne 0x10130e9c
cmp byte [esp + 0x12], 0x5d
jne 0x10130e9c
mov eax, dword [esp + 0x24]
add esi, eax
add esi, ebp
test esi, esi
je 0x10131165
mov al, byte [esi]
test al, al
je 0x10131165
cmp al, 0x3a
je 0x10131142
jmp 0x10130e9c
push 0x3a
push ebp
call fcn.100e2630
add esp, 8
mov esi, eax
test esi, esi
je 0x10131165
mov al, byte [esi + 1]
lea edi, [esi + 1]
test al, al
jne 0x101311b9
mov byte [esi], al
movzx eax, byte [esp + 0x13]
xor eax, 1
shl eax, 2
test eax, eax
jne 0x10130ea1
mov ebx, dword [esp + 0x14]
mov ecx, ebp
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10131170
sub ecx, edx
jne 0x10131185
test dword [esp + 0x18], 0x400
jne 0x10131197
push ebp
push ebx
call fcn.101307c0
add esp, 8
test eax, eax
jne 0x10130ea1
push 0x11
lea eax, [esp + 0x6c]
push eax
push ebp
call fcn.10130920
add esp, 0xc
test al, al
je 0x10131257
lea eax, [esp + 0x68]
push eax
jmp 0x10131258
movzx eax, al
push eax
call fcn.10139670
add esp, 4
test eax, eax
je 0x1013123f
push 0xa
lea eax, [esp + 0x34]
push eax
push edi
call fcn.100ec306
mov edi, eax
add esp, 0xc
lea ecx, [edi - 1]
cmp ecx, 0xfffe
ja 0x1013123f
mov eax, dword [esp + 0x30]
cmp byte [eax], 0
jne 0x1013123f
push edi
mov byte [esi], 0
push 0x101cce58
mov byte [eax], 0
lea eax, [esp + 0x3c]
push 7
push eax
call fcn.1013e450
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
mov dword [ebx + 0x30], edi
call dword [0x1026e9f4]
add esp, 0x14
mov dword [ebx + 0x18], eax
test eax, eax
jne 0x10131169
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100e04a9
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.100e04a9
add esp, 0x70
ret
push ebp
call dword [0x1026e9f4]
add esp, 4
mov dword [ebx + 0x10], eax
test eax, eax
je 0x10131227
test dword [esp + 0x18], 0x200
je 0x1013133e
cmp dword [esp + 0x28], 0
jne 0x1013133e
push 4
push ebp
push str.ftp.
call fcn.10139560
add esp, 0xc
test eax, eax
je 0x1013129f
mov ecx, 0x101cceb0
jmp 0x1013132a
push 5
push ebp
push str.dict.
call fcn.10139560
add esp, 0xc
test eax, eax
je 0x101312ba
mov ecx, str.dict
jmp 0x1013132a
push 5
push ebp
push str.ldap.
call fcn.10139560
add esp, 0xc
test eax, eax
je 0x101312d5
mov ecx, str.ldap
jmp 0x1013132a
push 5
push ebp
push str.imap.
call fcn.10139560
add esp, 0xc
test eax, eax
je 0x101312f0
mov ecx, str.imap
jmp 0x1013132a
push 5
push ebp
push str.smtp.
call fcn.10139560
add esp, 0xc
test eax, eax
je 0x1013130b
mov ecx, str.smtp
jmp 0x1013132a
push 5
push ebp
push str.pop3.
call fcn.10139560
add esp, 0xc
mov ecx, str.pop3
test eax, eax
mov edx, str.http
cmove ecx, edx
push ecx
call dword [0x1026e9f4]
add esp, 4
mov dword [ebx], eax
test eax, eax
je 0x10131227
push dword [ebx + 0x28]
call dword [0x1026e9ec]
push dword [ebx + 0x2c]
mov dword [ebx + 0x28], 0
call dword [0x1026e9ec]
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.100e04a9
add esp, 0x70
ret