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

Disassembly:
sub esp, 0x70
mov eax, dword [0x1018e4ac]
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
push edi
mov dword [esp + 0x10], eax
xor edi, edi
lea eax, [esp + 0x24]
mov byte [esp + 0x17], 0
push 0x7a1200
push eax
mov dword [esp + 0x3c], ebp
call fcn.10064930
mov ebx, esi
add esp, 8
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10097905
sub ebx, ecx
cmp ebx, 0x7a1200
jbe 0x10097920
mov edi, 3
jmp 0x100981f7
mov eax, dword [esp + 0x8c]
and eax, 0x204
mov dword [esp + 0x1c], eax
setne al
movzx eax, al
push eax
push 0x29
lea eax, [esp + 0x58]
push eax
push esi
call fcn.10095ed0
add esp, 0x10
mov dword [esp + 0x20], eax
test eax, eax
je 0x10097b4e
mov ecx, str.file
lea eax, [esp + 0x50]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10097980
test dl, dl
je 0x1009797c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10097980
add eax, 2
add ecx, 2
test dl, dl
jne 0x10097960
xor eax, eax
jmp 0x10097985
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10097adc
cmp ebx, 6
ja 0x1009799c
mov edi, 0x13
jmp 0x100981f7
add esi, 5
push str.file
mov ebx, esi
call dword [0x1018e00c]
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [eax], ecx
test ecx, ecx
je 0x100981f2
cmp byte [esi], 0x2f
jne 0x10097a84
cmp byte [esi + 1], 0x2f
jne 0x10097a84
mov al, byte [esi + 2]
add esi, 2
cmp al, 0x2f
je 0x10097a7d
cmp al, 0x61
jl 0x100979ec
cmp al, 0x7a
jle 0x100979f2
sub al, 0x41
cmp al, 0x19
ja 0x10097a0c
mov al, byte [esi + 1]
cmp al, 0x3a
je 0x100979fd
cmp al, 0x7c
jne 0x10097a0c
mov al, byte [esi + 2]
cmp al, 0x2f
je 0x10097a7d
cmp al, 0x5c
je 0x10097a7d
test al, al
je 0x10097a7d
push 0xa
push str.localhost_
push esi
call fcn.100723c0
add esp, 0xc
test eax, eax
jne 0x10097ad7
push 0xa
push str.127.0.0.1_
push esi
call fcn.100723c0
add esp, 0xc
test eax, eax
jne 0x10097ad7
push str._:____
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strpbrk
add esp, 8
test eax, eax
je 0x10097992
cmp byte [eax], 0x2f
jne 0x10097992
sub eax, esi
je 0x10097a7b
push eax
lea eax, [esp + 0x28]
push esi
push eax
call fcn.100648f0
add esp, 0xc
test eax, eax
jne 0x100981f2
mov byte [esp + 0x17], 1
mov esi, ebx
cmp byte [esp + 0x17], 0
jne 0x10097a91
lea eax, [esp + 0x24]
push eax
call fcn.10064970
add esp, 4
cmp byte [esi], 0x2f
jne 0x10097bd2
mov al, byte [esi + 1]
cmp al, 0x61
jl 0x10097aa5
cmp al, 0x7a
jle 0x10097aaf
sub al, 0x41
cmp al, 0x19
ja 0x10097bd2
mov al, byte [esi + 2]
cmp al, 0x3a
je 0x10097abe
cmp al, 0x7c
jne 0x10097bd2
mov al, byte [esi + 3]
cmp al, 0x2f
je 0x10097ad1
cmp al, 0x5c
je 0x10097ad1
test al, al
jne 0x10097bd2
inc esi
jmp 0x10097bd2
add esi, 9
jmp 0x10097a84
inc esi
xor ebx, ebx
add esi, dword [esp + 0x20]
je 0x10097af5
cmp byte [esi], 0x2f
jne 0x10097af5
cmp ebx, 4
jge 0x10097af5
inc ebx
add esi, 1
jne 0x10097ae5
lea eax, [esp + 0x50]
push 0xffffffffffffffff
push eax
mov dword [esp + 0x24], eax
call fcn.10069f30
mov ecx, dword [esp + 0x94]
add esp, 8
test eax, eax
jne 0x10097b20
test cl, 8
jne 0x10097b20
lea edi, [eax + 5]
jmp 0x100981f7
lea eax, [ebx - 1]
cmp eax, 2
ja 0x10097b44
push ecx
lea eax, [esp + 0x54]
push eax
call fcn.10097650
add esp, 8
test al, al
je 0x10097b6e
mov edi, 0x1b
jmp 0x100981f7
mov edi, 0x1c
jmp 0x100981f7
cmp dword [esp + 0x1c], edi
je 0x10097b3a
mov edx, dword [esp + 0x8c]
mov ebx, str.https
test dl, 4
mov eax, edi
cmove ebx, eax
mov dword [esp + 0x1c], ebx
jmp 0x10097b79
mov edx, dword [esp + 0x8c]
lea ebx, [esp + 0x50]
mov al, byte [esi]
mov ecx, esi
test al, al
je 0x10097b95
cmp al, 0x2f
je 0x10097b95
cmp al, 0x3f
je 0x10097b95
cmp al, 0x23
je 0x10097b95
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10097b81
mov eax, esi
sub eax, ecx
je 0x10097c37
push eax
push ecx
lea eax, [esp + 0x2c]
push eax
call fcn.100648f0
add esp, 0xc
test eax, eax
jne 0x100981f2
test ebx, ebx
je 0x10097bd2
push ebx
call dword [0x1018e00c]
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x100981f2
push 0x23
push esi
call sub.VCRUNTIME140.dll_strchr
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10097c4d
mov ebp, ebx
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x10097be8
sub ebp, ecx
mov dword [esp + 0x34], ebp
cmp ebp, 1
jbe 0x10097c4d
lea eax, [ebx + 1]
push ebp
push eax
call fcn.1005e340
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x10]
mov dword [eax + 0x24], ecx
test ecx, ecx
je 0x100981f2
push dword [esp + 0x8c]
push ecx
call fcn.10097650
add esp, 8
test al, al
je 0x10097c4d
mov edi, 0x14
jmp 0x100981f7
test edx, 0x400
jne 0x10097bb6
mov edi, 0xe
jmp 0x100981f7
push 0x3f
push esi
call sub.VCRUNTIME140.dll_strchr
mov edx, eax
add esp, 8
test edx, edx
je 0x10097d6f
test ebx, ebx
je 0x10097c6e
cmp edx, ebx
jae 0x10097d6f
mov ebp, edx
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x10097c73
mov ebx, esi
sub ebp, ecx
mov ecx, dword [esp + 0x34]
sub ebp, ecx
lea eax, [ebx + 1]
mov dword [esp + 0x34], eax
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10097c90
sub ebx, dword [esp + 0x34]
sub ebx, ebp
sub ebx, ecx
cmp ebp, 1
jbe 0x10097d4a
mov eax, dword [esp + 0x8c]
and eax, 0x80
mov dword [esp + 0x34], eax
lea eax, [edx + 1]
mov dword [esp + 0x18], eax
je 0x10097d09
lea eax, [esp + 0x3c]
push 0x7a1200
push eax
call fcn.10064930
push 1
push 1
lea eax, [ebp - 1]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x54]
push eax
call fcn.100982a0
add esp, 0x1c
test eax, eax
jne 0x100981f2
lea eax, [esp + 0x3c]
push eax
call fcn.10064960
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x20], eax
mov eax, ecx
jmp 0x10097d29
push ebp
push eax
call fcn.1005e340
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x10]
mov dword [eax + 0x20], ecx
test ecx, ecx
je 0x100981f2
mov byte [ecx + ebp - 1], 0
mov ebp, dword [esp + 0x8c]
push ebp
push dword [eax + 0x20]
call fcn.10097650
add esp, 8
test al, al
je 0x10097d69
mov edi, 0x1a
jmp 0x100981f7
push 0x1017b788
call dword [0x1018e00c]
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x20], eax
test eax, eax
je 0x100981f2
jmp 0x10097d7f
mov eax, dword [esp + 0x34]
jmp 0x10097d91
mov ebx, esi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10097d74
sub ebx, ecx
sub ebx, ebp
mov ebp, dword [esp + 0x8c]
mov eax, ebp
and eax, 0x80
mov dword [esp + 0x34], eax
test ebx, ebx
je 0x10097deb
test eax, eax
je 0x10097deb
lea eax, [esp + 0x3c]
push 0x7a1200
push eax
call fcn.10064930
push 0
push 1
push ebx
lea eax, [esp + 0x50]
push esi
push eax
call fcn.100982a0
add esp, 0x1c
test eax, eax
jne 0x100981f2
lea eax, [esp + 0x3c]
push eax
call fcn.10064950
mov ebx, eax
lea eax, [esp + 0x40]
push eax
call fcn.10064960
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x3c]
add esp, 8
mov dword [ecx + 0x1c], esi
jmp 0x10097def
mov ecx, dword [esp + 0x10]
cmp ebx, 1
jbe 0x10097e84
mov edx, dword [ecx + 0x1c]
test edx, edx
jne 0x10097e24
lea eax, [ebx + 1]
push eax
push esi
call fcn.1005e340
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword [ecx + 0x1c], eax
test eax, eax
je 0x100981f2
mov byte [eax + ebx], 0
mov esi, dword [ecx + 0x1c]
jmp 0x10097e2c
test eax, eax
je 0x10097e2c
mov byte [edx + ebx], 0
push ebp
push dword [ecx + 0x1c]
call fcn.10097650
add esp, 8
test al, al
je 0x10097e46
mov edi, 0x19
jmp 0x100981f7
test byte [esp + 0x8c], 0x10
jne 0x10097e84
lea eax, [esp + 0x18]
push eax
push ebx
push esi
call fcn.10096fa0
add esp, 0xc
test eax, eax
jne 0x100981f2
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x10097e88
push dword [esi + 0x1c]
call dword [0x1018e004]
add esp, 4
mov dword [esi + 0x1c], ebx
jmp 0x10097e88
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
call fcn.10064950
add esp, 4
test eax, eax
je 0x100981cf
mov ebx, dword [esp + 0x8c]
lea eax, [esp + 0x24]
push ebx
push eax
push esi
call fcn.100976a0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x100981f7
lea eax, [esp + 0x24]
push eax
call fcn.10064960
mov edi, eax
add esp, 4
cmp byte [edi], 0x5b
jne 0x10097f04
push 0x5d
push edi
call sub.VCRUNTIME140.dll_strchr
mov esi, eax
add esp, 8
test esi, esi
jne 0x10097eea
lea edi, [eax + 0x16]
jmp 0x100981f7
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10097fa9
cmp al, 0x3a
je 0x10097f11
mov edi, 4
jmp 0x100981f7
push 0x3a
push edi
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov esi, eax
test esi, esi
je 0x10097fa9
mov eax, esi
sub eax, edi
push eax
lea eax, [esp + 0x28]
push eax
call fcn.10064990
mov al, byte [esi + 1]
inc esi
add esp, 8
test al, al
jne 0x10097f4b
xor eax, eax
mov edi, 4
cmp dword [esp + 0x20], eax
cmovne edi, eax
test edi, edi
jne 0x100981f7
jmp 0x10097fab
sub al, 0x30
cmp al, 9
ja 0x10097efa
push 0xa
lea eax, [esp + 0x1c]
push eax
push esi
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtol
mov esi, eax
add esp, 0xc
cmp esi, 0xffff
jg 0x10097efa
mov eax, dword [esp + 0x18]
cmp byte [eax], 0
jne 0x10097efa
push esi
push 0x10145f38
mov byte [eax], 0
lea eax, [esp + 0x3c]
push 7
push eax
call fcn.1007dcd0
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x44]
push eax
mov dword [edi + 0x28], esi
call dword [0x1018e00c]
add esp, 0x14
mov dword [edi + 0x18], eax
test eax, eax
je 0x100981f2
xor edi, edi
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.10064960
add esp, 4
push eax
call fcn.10097650
add esp, 8
test al, al
je 0x10097fd0
mov edi, 0x15
jmp 0x100981f7
push 0x11
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10064960
add esp, 4
push eax
call fcn.100974b0
add esp, 0xc
test al, al
lea eax, [esp + 0x24]
push eax
je 0x10098063
call fcn.10064970
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.100648a0
add esp, 0xc
test eax, eax
jne 0x100981f2
mov ebx, dword [esp + 0x10]
test dword [esp + 0x8c], 0x200
je 0x100981a6
cmp dword [esp + 0x1c], 0
jne 0x100981a6
lea eax, [esp + 0x24]
push eax
call fcn.10064960
push 4
mov esi, eax
push str.ftp.
push esi
call fcn.100723c0
add esp, 0x10
test eax, eax
je 0x1009810b
mov ecx, 0x1014534c
jmp 0x10098196
call fcn.10064960
mov esi, eax
add esp, 4
cmp byte [esi], 0x5b
je 0x100980d3
push 0x25
push esi
call sub.VCRUNTIME140.dll_strchr
add esp, 8
test eax, eax
je 0x100980d3
push 3
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push esi
call fcn.10098a40
add esp, 0x14
test eax, eax
jne 0x10097fc6
lea eax, [esp + 0x24]
push eax
call fcn.10064970
push dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push dword [esp + 0x28]
push eax
call fcn.100648f0
push dword [esp + 0x30]
mov esi, eax
call dword [0x1018e004]
add esp, 0x14
test esi, esi
jne 0x100981f2
lea eax, [esp + 0x24]
push eax
call fcn.10064950
add esp, 4
push eax
lea eax, [esp + 0x28]
push eax
call fcn.10064960
mov ebx, dword [esp + 0x18]
add esp, 4
push eax
push ebx
call fcn.100972c0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x100981f7
jmp 0x10098019
push 5
push str.dict.
push esi
call fcn.100723c0
add esp, 0xc
test eax, eax
je 0x10098126
mov ecx, str.dict
jmp 0x10098196
push 5
push str.ldap.
push esi
call fcn.100723c0
add esp, 0xc
test eax, eax
je 0x10098141
mov ecx, str.ldap
jmp 0x10098196
push 5
push str.imap.
push esi
call fcn.100723c0
add esp, 0xc
test eax, eax
je 0x1009815c
mov ecx, str.imap
jmp 0x10098196
push 5
push str.smtp.
push esi
call fcn.100723c0
add esp, 0xc
test eax, eax
je 0x10098177
mov ecx, str.smtp
jmp 0x10098196
push 5
push str.pop3.
push esi
call fcn.100723c0
add esp, 0xc
mov ecx, str.pop3
test eax, eax
mov edx, str.http
cmove ecx, edx
push ecx
call dword [0x1018e00c]
add esp, 4
mov dword [ebx], eax
test eax, eax
je 0x100981f2
lea eax, [esp + 0x24]
push eax
call fcn.10064960
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x10], eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1013ad45
add esp, 0x70
ret
test dword [esp + 0x8c], 0x400
je 0x100981a6
lea eax, [esp + 0x24]
push 0x1017b788
push eax
call fcn.100648a0
add esp, 8
test eax, eax
je 0x100981a6
mov edi, 7
lea eax, [esp + 0x24]
push eax
call fcn.10064900
push dword [esp + 0x14]
call fcn.10097250
mov ecx, dword [esp + 0x84]
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1013ad45
add esp, 0x70
ret