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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
and byte [eax], 0
cmp dword [esi + 0x1b8], edi
je 0x10027587
push 1
push 0x350
call dword [0x100b0be0]
mov ebx, eax
mov eax, dword [ebp + 0xc]
pop ecx
cmp ebx, edi
pop ecx
jne 0x10026737
mov dword [eax], edi
push 0x1b
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov dword [eax], ebx
or ecx, 0xffffffff
mov dword [ebx], esi
mov dword [ebx + 0xa0], ecx
mov dword [ebx + 0xa4], ecx
mov dword [ebx + 4], ecx
mov eax, dword [esi + 0x1c0]
cmp eax, edi
je 0x10026769
cmp byte [eax], 0
je 0x10026769
cmp dword [esi + 0x158], edi
jne 0x10026769
push 1
pop eax
jmp 0x1002676b
xor eax, eax
mov byte [ebx + 0xe7], al
mov byte [ebx + 0xe4], 1
mov dword [ebx + 0xa8], ecx
mov dword [ebx + 0xac], ecx
call fcn.1002e62a
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x9c], edx
cmp dword [esi + 0x48], edi
setne al
mov byte [ebx + 0xec], al
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x70], eax
mov eax, dword [esi + 0xb8]
mov dword [ebx + 0x78], eax
mov eax, dword [esi + 0xbc]
mov dword [ebx + 0x7c], eax
cmp dword [esi + 0x3c], edi
setne al
mov byte [ebx + 0xe8], al
cmp dword [esi + 0x1c], edi
setne al
mov byte [ebx + 0xe9], al
mov al, byte [esi + 0x18f]
mov byte [ebx + 0xf5], al
mov al, byte [esi + 0x182]
mov byte [ebx + 0xf6], al
mov al, byte [esi + 0x1a1]
mov byte [ebx + 0xf9], al
mov al, byte [esi + 0x1a2]
mov byte [ebx + 0xfa], al
mov al, byte [esi + 0x1a3]
mov byte [ebx + 0xfb], al
push dword [esi + 0x1b8]
call sub.MSVCRT.dll_strlen
mov edi, eax
mov eax, 0x100
cmp edi, eax
pop ecx
jae 0x10026826
mov edi, eax
push edi
call dword [0x100b0bd0]
test eax, eax
pop ecx
mov dword [ebx + 0x4c], eax
je 0x1002672f
push edi
mov dword [ebx + 0x50], eax
call dword [0x100b0bd0]
test eax, eax
pop ecx
mov dword [ebx + 0x2c], eax
je 0x1002672f
mov dword [ebx + 0x34], eax
and byte [eax], 0
push dword [ebx + 0x50]
mov edi, dword [sym.imp.MSVCRT.dll_sscanf]
lea eax, [ebx + 0x18]
push eax
push str._15_:_:___n_
push dword [esi + 0x1b8]
call edi
add esp, 0x10
cmp eax, 2
jne 0x1002690c
lea eax, [ebx + 0x18]
push str.file
push eax
call fcn.1002c6e8
pop ecx
test eax, eax
pop ecx
je 0x1002690c
mov eax, dword [ebx + 0x50]
cmp byte [eax], 0x2f
jne 0x100268b8
cmp byte [eax + 1], 0x2f
jne 0x100268b8
mov edi, eax
lea eax, [edi + 2]
push eax
call sub.MSVCRT.dll_strlen
inc eax
push eax
lea eax, [edi + 2]
push eax
push edi
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0x10
mov eax, dword [ebx + 0x50]
cmp byte [eax], 0x2f
je 0x100268f7
push 0x2f
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x100268f7
mov cl, byte [edi + 1]
lea eax, [edi + 1]
test cl, cl
je 0x100268e2
cmp cl, 0x2f
jne 0x100268e2
mov edi, eax
push edi
call sub.MSVCRT.dll_strlen
inc eax
push eax
push edi
push dword [ebx + 0x50]
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0x10
lea eax, [ebx + 0x18]
push str.file
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
jmp 0x10026a28
mov eax, dword [ebx + 0x50]
and byte [eax], 0
push dword [ebx + 0x50]
lea eax, [ebx + 0x18]
push dword [ebx + 0x34]
push eax
push str._15__n:_:_____n_____n_
push dword [esi + 0x1b8]
call edi
add esp, 0x14
cmp eax, 2
jge 0x10026a28
push dword [ebx + 0x50]
push dword [ebx + 0x34]
push str.___n_____n_
push dword [esi + 0x1b8]
call edi
add esp, 0x10
cmp eax, 1
jge 0x10026962
push str._url__malformed
push esi
call fcn.1002da56
pop ecx
pop ecx
jmp 0x10027587
mov edi, str.GOPHER.
push edi
call sub.MSVCRT.dll_strlen
push eax
push dword [ebx + 0x34]
push edi
call fcn.1002c6fe
add esp, 0x10
test eax, eax
je 0x10026988
push str.gopher
jmp 0x10026a19
mov edi, str.FTP.
push edi
call sub.MSVCRT.dll_strlen
push eax
push dword [ebx + 0x34]
push edi
call fcn.1002c6fe
add esp, 0x10
test eax, eax
je 0x100269ab
push 0x100b1dac
jmp 0x10026a19
mov edi, str.TELNET.
push edi
call sub.MSVCRT.dll_strlen
push eax
push dword [ebx + 0x34]
push edi
call fcn.1002c6fe
add esp, 0x10
test eax, eax
je 0x100269ce
push str.telnet
jmp 0x10026a19
mov edi, str.DICT.
push edi
call sub.MSVCRT.dll_strlen
push eax
push dword [ebx + 0x34]
push edi
call fcn.1002c6fe
add esp, 0x10
test eax, eax
je 0x100269f1
push str.DICT
jmp 0x10026a19
mov edi, str.LDAP.
push edi
call sub.MSVCRT.dll_strlen
push eax
push dword [ebx + 0x34]
push edi
call fcn.1002c6fe
add esp, 0x10
test eax, eax
je 0x10026a14
push str.LDAP
jmp 0x10026a19
push str.http
lea eax, [ebx + 0x18]
push eax
call sub.MSVCRT.dll_strcpy
or dword [ebx + 8], 1
pop ecx
pop ecx
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
push 0x40
push dword [ebx + 0x34]
call edi
pop ecx
pop ecx
test eax, eax
push 0x3f
je 0x10026a41
inc eax
push eax
jmp 0x10026a44
push dword [ebx + 0x34]
call edi
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x10026a8f
push edi
call sub.MSVCRT.dll_strlen
push dword [ebx + 0x50]
mov dword [ebp - 8], eax
call sub.MSVCRT.dll_strlen
mov ecx, dword [ebx + 0x50]
inc eax
push eax
mov eax, dword [ebp - 8]
push ecx
lea eax, [ecx + eax + 1]
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
push dword [ebp - 8]
mov eax, dword [ebx + 0x50]
inc eax
push edi
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebx + 0x50]
add esp, 0x20
mov byte [eax], 0x2f
and byte [edi], 0
jmp 0x10026aa4
mov eax, dword [ebx + 0x50]
cmp byte [eax], 0
jne 0x10026aa4
push 0x100af434
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
mov eax, dword [ebx + 0x50]
cmp byte [eax], 0x3f
jne 0x10026ac8
mov edi, eax
push edi
call sub.MSVCRT.dll_strlen
inc eax
push eax
push edi
inc edi
push edi
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [ebx + 0x50]
add esp, 0x10
mov byte [eax], 0x2f
cmp byte [ebx + 0xe9], 0
je 0x10026b60
mov dl, byte [0x100bebb0]
push 0x3f
pop ecx
xor eax, eax
lea edi, [ebp - 0x11f]
mov byte [ebp - 0x120], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0x41f]
mov byte [ebp - 0x420], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x120]
push eax
push str._255_:_:_255__n_
push dword [esi + 0x1c]
call dword [sym.imp.MSVCRT.dll_sscanf]
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.1003750f
add esp, 0x18
mov dword [ebx + 0x88], eax
test eax, eax
je 0x1002672f
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1003750f
pop ecx
mov dword [ebx + 0x8c], eax
test eax, eax
pop ecx
je 0x1002672f
cmp dword [esi + 0x1c0], 0
jne 0x10026d44
push str.no_proxy
call fcn.100373eb
mov edi, eax
pop ecx
test edi, edi
mov dword [ebp - 8], edi
jne 0x10026b95
push str.NO_PROXY
call fcn.100373eb
mov edi, eax
pop ecx
test edi, edi
mov dword [ebp - 8], edi
je 0x10026bc5
push edi
push 0x100b034c
call fcn.1002c6e8
pop ecx
test eax, eax
pop ecx
jne 0x10026d34
test edi, edi
je 0x10026bc5
lea eax, [ebp - 0x10]
push eax
push 0x100b1d44
push edi
call fcn.10037379
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x10026bc9
and dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x10026c4c
push 0x3a
push dword [ebx + 0x34]
call dword [sym.imp.MSVCRT.dll_strchr]
pop ecx
test eax, eax
pop ecx
je 0x10026be5
sub eax, dword [ebx + 0x34]
jmp 0x10026bee
push dword [ebx + 0x34]
call sub.MSVCRT.dll_strlen
pop ecx
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
call sub.MSVCRT.dll_strlen
cmp eax, dword [ebp - 0xc]
pop ecx
ja 0x10026c28
push dword [ebp - 4]
call sub.MSVCRT.dll_strlen
mov edi, dword [ebx + 0x34]
push dword [ebp - 4]
add edi, dword [ebp - 0xc]
sub edi, eax
call sub.MSVCRT.dll_strlen
push eax
push edi
push dword [ebp - 4]
call fcn.1002c6fe
add esp, 0x14
test eax, eax
jne 0x10026c42
lea eax, [ebp - 0x10]
push eax
push 0x100b1d44
push 0
call fcn.10037379
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x10026bcf
cmp dword [ebp - 4], 0
jne 0x10026d34
mov al, byte [ebx + 0x18]
lea ecx, [ebx + 0x18]
test al, al
lea edi, [ebp - 0xa0]
je 0x10026c80
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xa0]
sub dword [ebp - 0xc], ecx
movsx eax, al
push eax
call dword [sym.imp.MSVCRT.dll_tolower]
mov byte [edi], al
mov eax, dword [ebp - 0xc]
inc edi
pop ecx
mov al, byte [eax + edi]
test al, al
jne 0x10026c68
push str._proxy
push edi
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0xa0]
push eax
call fcn.100373eb
add esp, 0xc
test eax, eax
jne 0x10026ce9
lea eax, [ebp - 0xa0]
push eax
push str.http_proxy
call fcn.1002c6e8
pop ecx
test eax, eax
pop ecx
jne 0x10026cee
mov al, byte [ebp - 0xa0]
lea edi, [ebp - 0xa0]
test al, al
je 0x10026cd8
movsx eax, al
push eax
call dword [sym.imp.MSVCRT.dll_toupper]
mov byte [edi], al
mov al, byte [edi + 1]
inc edi
pop ecx
jmp 0x10026cc1
lea eax, [ebp - 0xa0]
push eax
call fcn.100373eb
test eax, eax
pop ecx
je 0x10026cee
cmp byte [eax], 0
jne 0x10026d08
push str.all_proxy
call fcn.100373eb
test eax, eax
pop ecx
jne 0x10026d0c
push str.ALL_PROXY
call fcn.100373eb
pop ecx
test eax, eax
je 0x10026d34
cmp byte [eax], 0
je 0x10026d34
mov ecx, dword [ebx + 8]
mov dword [esi + 0x1c0], eax
and ecx, 0x408
mov byte [esi + 0x1c4], 1
or ecx, 4
mov byte [ebx + 0xe7], 1
mov dword [ebx + 8], ecx
cmp dword [ebp - 8], 0
je 0x10026d44
push dword [ebp - 8]
call dword [0x100b0bd4]
pop ecx
test byte [ebx + 8], 1
je 0x10026d7a
push dword [esi + 0x1b8]
lea eax, [ebx + 0x18]
push eax
push str._s:___s
call fcn.1002c4d9
add esp, 0xc
test eax, eax
je 0x1002672f
mov dword [esi + 0x1b8], eax
mov byte [esi + 0x1bc], 1
and dword [ebx + 8], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
mov edx, eax
or edx, ecx
je 0x10026db7
cmp byte [ebx + 0xec], 0
jne 0x10026db7
push ecx
push eax
push str._lld_
call fcn.1002c4d9
add esp, 0xc
mov dword [ebx + 0x70], eax
test eax, eax
je 0x1002672f
mov byte [ebx + 0xed], 1
mov byte [ebx + 0xec], 1
lea edi, [ebx + 0x18]
push str.HTTP
push edi
mov dword [ebx + 0x28], 1
call fcn.1002c6e8
pop ecx
test eax, eax
pop ecx
je 0x10026e0a
or dword [ebx + 8], 4
and dword [ebx + 0x108], 0
push 0x50
mov dword [ebx + 0x100], 0x1003635c
pop eax
mov dword [ebx + 0x104], 0x100361ba
mov dword [ebx + 0x54], eax
mov word [ebx + 0x58], ax
mov dword [ebx + 0x10c], 0x10036145
jmp 0x1002719c
push str.HTTPS
push edi
call fcn.1002c6e8
pop ecx
test eax, eax
pop ecx
je 0x10026e25
push str.libcurl_was_built_with_SSL_disabled__https:_not_supported_
jmp 0x1002709f
push str.GOPHER
push edi
call fcn.1002c6e8
pop ecx
test eax, eax
pop ecx
je 0x10026ebb
push 0x46
pop eax
mov dword [ebx + 0x54], eax
mov word [ebx + 0x58], ax
mov eax, dword [sym.imp.MSVCRT.dll___mb_cur_max]
cmp dword [eax], 1
jle 0x10026e62
mov eax, dword [ebx + 0x50]
push 4
movsx eax, byte [eax + 1]
push eax
call dword [sym.imp.MSVCRT.dll__isctype]
pop ecx
pop ecx
jmp 0x10026e77
mov eax, dword [ebx + 0x50]
mov ecx, dword [sym.imp.MSVCRT.dll__pctype]
movsx eax, byte [eax + 1]
mov ecx, dword [ecx]
mov al, byte [ecx + eax*2]
and eax, 4
test eax, eax
je 0x10026e97
mov eax, dword [ebx + 0x50]
push 0x2f
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
pop ecx
mov dword [ebx + 0x50], eax
test eax, eax
pop ecx
jne 0x10026e97
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x50], eax
or dword [ebx + 8], 2
and dword [ebx + 0x108], 0
mov dword [ebx + 0x100], 0x1003635c
mov dword [ebx + 0x104], 0x100361ba
jmp 0x1002719c
push 0x100b1cb0
push edi
call fcn.1002c6e8
pop ecx
test eax, eax
pop ecx
jne 0x10027089
push str.FTPS
push edi
call fcn.1002c6e8
pop ecx
test eax, eax
pop ecx
jne 0x10027089
push str.TELNET
push edi
call fcn.1002c6e8
pop ecx
test eax, eax
pop ecx
je 0x10026f1d
or dword [ebx + 8], 0x20
push 0x17
pop eax
mov dword [ebx + 0x100], 0x10033f0b
mov dword [ebx + 0x54], eax
mov word [ebx + 0x58], ax
mov dword [ebx + 0x104], 0x10033ede
jmp 0x1002719c
push str.DICT
push edi
call fcn.1002c6e8
pop ecx
test eax, eax
pop ecx
je 0x10026f55
or dword [ebx + 8], 0x40
mov dword [ebx + 0x54], 0xa44
mov word [ebx + 0x58], 0xa44
mov dword [ebx + 0x100], 0x10033c77
and dword [ebx + 0x104], 0
jmp 0x1002719c
push str.LDAP
push edi
call fcn.1002c6e8
pop ecx
test eax, eax
pop ecx
je 0x10026f83
or byte [ebx + 8], 0x80
mov dword [ebx + 0x54], 0x185
mov word [ebx + 0x58], 0x185
mov dword [ebx + 0x100], 0x1003346c
jmp 0x10026f49
push str.FILE
push edi
call fcn.1002c6e8
pop ecx
test eax, eax
pop ecx
je 0x10026fdc
or byte [ebx + 9], 1
push ebx
mov dword [ebx + 0x100], 0x100330bf
mov dword [ebx + 0x104], fcn.10033097
call fcn.10032fc8
pop ecx
xor ecx, ecx
cmp eax, ecx
jne 0x10026732
or eax, 0xffffffff
push ecx
push eax
push ecx
push ecx
push eax
push eax
push eax
push ebx
mov byte [ebx + 0xf2], 1
call fcn.1002a3fb
add esp, 0x20
jmp 0x10026732
push str.TFTP
push edi
call fcn.1002c6e8
pop ecx
test eax, eax
pop ecx
je 0x10027078
or byte [ebx + 9], 8
push 0x45
pop eax
mov edi, str._mode
push edi
mov dword [ebx + 0x28], 2
push dword [ebx + 0x50]
mov dword [ebx + 0x54], eax
mov word [ebx + 0x58], ax
mov dword [ebx + 0x10c], 0x10032818
mov dword [ebx + 0x100], 0x100328cf
mov dword [ebx + 0x104], 0x100328a7
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
jne 0x1002704d
push edi
push dword [ebx + 0x2c]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
je 0x1002719c
and byte [eax], 0
movsx eax, byte [eax + 6]
push eax
call dword [sym.imp.MSVCRT.dll_toupper]
cmp al, 0x41
pop ecx
je 0x10027195
cmp al, 0x4e
je 0x10027195
and byte [esi + 0x184], 0
jmp 0x1002719c
push edi
push str.Unsupported_protocol:__s
push esi
call fcn.1002da56
add esp, 0xc
jmp 0x100270a7
push str.FTPS
push edi
call fcn.1002c6e8
pop ecx
test eax, eax
pop ecx
je 0x100270ae
push str.libcurl_was_built_with_SSL_disabled__ftps:_not_supported_
push esi
call fcn.1002da56
pop ecx
pop ecx
push 1
jmp 0x10026731
or dword [ebx + 8], 0x10
push 0x15
pop eax
mov dword [ebx + 0x54], eax
mov word [ebx + 0x58], ax
mov eax, dword [esi + 0x1c0]
test eax, eax
je 0x100270f1
cmp byte [eax], 0
je 0x100270f1
cmp byte [esi + 0x182], 0
jne 0x100270f1
mov dword [ebx + 0x100], 0x1003635c
mov dword [ebx + 0x104], 0x100361ba
mov dword [ebx + 8], 4
jmp 0x10027148
mov eax, 0x1002f60e
mov dword [ebx + 0x100], 0x10031c27
mov dword [ebx + 0x108], fcn.10031a3a
mov dword [ebx + 0x104], fcn.1003167a
mov dword [ebx + 0x10c], 0x100314ac
mov dword [ebx + 0x110], fcn.1002f679
mov dword [ebx + 0x114], 0x1003205a
mov dword [ebx + 0x118], eax
mov dword [ebx + 0x11c], eax
mov dword [ebx + 0x120], 0x10031df8
inc dword [ebx + 0x50]
mov eax, dword [ebx + 0x50]
mov edi, str._type
push edi
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
jne 0x10027171
push edi
push dword [ebx + 0x2c]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
je 0x1002719c
and byte [eax], 0
movsx eax, byte [eax + 6]
push eax
call dword [sym.imp.MSVCRT.dll_toupper]
cmp al, 0x41
pop ecx
je 0x10027195
cmp al, 0x44
jne 0x1002706c
mov byte [esi + 0x185], 1
jmp 0x1002719c
mov byte [esi + 0x184], 1
mov eax, dword [esi + 0x1c0]
test eax, eax
je 0x1002735d
cmp byte [eax], 0
je 0x1002735d
push eax
call dword [0x100b0bdc]
mov edi, eax
pop ecx
test eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edi
jne 0x100271d8
push str.memory_shortage
push esi
call fcn.1002da56
pop ecx
jmp 0x100272df
push 0x100b1c14
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
je 0x100271f0
lea edi, [eax + 3]
mov dword [ebp - 4], edi
push 0x40
push edi
call dword [sym.imp.MSVCRT.dll_strchr]
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
pop ecx
je 0x100272a5
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x420]
push eax
push str._255_:_:_255___
push edi
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
cmp eax, 2
jne 0x100272a5
push dword [ebx + 0x88]
lea edi, [ebx + 0x88]
call fcn.10024eff
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1003750f
add esp, 0xc
mov dword [edi], eax
test eax, eax
je 0x100272d6
push dword [ebx + 0x8c]
lea edi, [ebx + 0x8c]
call fcn.10024eff
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.1003750f
add esp, 0xc
mov dword [edi], eax
test eax, eax
je 0x100272d6
mov eax, dword [ebp - 0x10]
mov byte [ebx + 0xe9], 1
inc eax
push eax
call dword [0x100b0bdc]
mov edi, eax
pop ecx
test edi, edi
je 0x100272d6
push dword [ebp - 0xc]
call dword [0x100b0bd4]
pop ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
cmp byte [edi], 0x5b
mov dword [ebp - 8], edi
jne 0x10027310
mov edi, dword [ebp - 4]
inc edi
mov dword [ebp - 4], edi
cmp byte [edi], 0
je 0x10027304
mov eax, dword [sym.imp.MSVCRT.dll___mb_cur_max]
cmp dword [eax], 1
jle 0x100272e5
movsx eax, byte [edi]
push 0x80
push eax
call dword [sym.imp.MSVCRT.dll__isctype]
pop ecx
pop ecx
jmp 0x100272f8
push dword [ebp - 0xc]
call dword [0x100b0bd4]
pop ecx
jmp 0x1002672f
mov ecx, dword [sym.imp.MSVCRT.dll__pctype]
movsx eax, byte [edi]
mov ecx, dword [ecx]
mov al, byte [ecx + eax*2]
and eax, 0x80
test eax, eax
jne 0x10027301
cmp byte [edi], 0x3a
jne 0x10027304
inc edi
jmp 0x100272b4
cmp byte [edi], 0x5d
jne 0x10027310
and byte [edi], 0
inc edi
mov dword [ebp - 8], edi
push 0x3a
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_strchr]
pop ecx
test eax, eax
pop ecx
je 0x1002732f
and byte [eax], 0
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
jmp 0x10027336
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10027339
mov dword [ebx + 0x54], eax
push dword [ebp - 4]
call dword [0x100b0bdc]
push dword [ebp - 0xc]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x44], eax
call dword [0x100b0bd4]
cmp dword [ebx + 0x3c], 0
pop ecx
pop ecx
je 0x1002672f
test byte [ebx + 9], 4
je 0x10027373
cmp byte [ebx + 0xe7], 0
je 0x10027373
mov byte [ebx + 0xf6], 1
and byte [ebp - 0x320], 0
and byte [ebp - 0x220], 0
test byte [ebx + 8], 0x14
je 0x1002747e
push 0x40
push dword [ebx + 0x34]
call dword [sym.imp.MSVCRT.dll_strchr]
pop ecx
pop ecx
mov ecx, dword [ebx + 0x34]
test eax, eax
je 0x1002747e
inc eax
mov dword [ebx + 0x34], eax
cmp dword [esi + 0x194], 2
je 0x1002747e
mov byte [ebx + 0xe8], 1
cmp byte [ecx], 0x3a
lea eax, [ebp - 0x220]
push eax
je 0x100273df
lea eax, [ebp - 0x320]
push eax
push str._127_:__:_127___
push ecx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
jmp 0x100273ee
push str.:_127___
push ecx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
cmp byte [ebp - 0x320], 0
je 0x10027436
lea eax, [ebp - 0x320]
push 0
push eax
call fcn.1003750f
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x1002672f
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 0x100
pop ecx
jae 0x1002742e
lea eax, [ebp - 0x320]
push edi
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push edi
call dword [0x100b0bd4]
pop ecx
cmp byte [ebp - 0x220], 0
je 0x1002747e
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.1003750f
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x1002672f
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 0x100
pop ecx
jae 0x10027476
lea eax, [ebp - 0x220]
push edi
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push edi
call dword [0x100b0bd4]
pop ecx
lea eax, [ebp - 0x11]
push eax
push str.__39_0_9a_fA_F:.__c
push dword [ebx + 0x34]
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
cmp eax, 1
jne 0x100274c4
cmp byte [ebp - 0x11], 0x5d
jne 0x100274c4
inc dword [ebx + 0x34]
mov byte [ebx + 0xea], al
mov eax, dword [ebx + 0x34]
push 0x5d
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
mov edi, eax
pop ecx
pop ecx
and byte [edi], 0
inc edi
cmp byte [edi], 0x3a
je 0x100274d3
xor edi, edi
jmp 0x100274d3
push 0x3a
push dword [ebx + 0x34]
call dword [sym.imp.MSVCRT.dll_strrchr]
pop ecx
mov edi, eax
pop ecx
cmp dword [esi + 0x38], 0
je 0x1002754b
cmp byte [esi + 0x8314], 0
je 0x1002754b
mov ax, word [esi + 0x38]
test edi, edi
mov word [ebx + 0x58], ax
je 0x100274f1
and byte [edi], 0
cmp byte [ebx + 0xe7], 0
je 0x10027595
movzx eax, word [ebx + 0x58]
push dword [ebx + 0x50]
push eax
push dword [ebx + 0x34]
push str.http:___s:_d_s
call fcn.1002c4d9
add esp, 0x10
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1002672f
cmp byte [esi + 0x1bc], 0
lea edi, [esi + 0x1bc]
je 0x1002753d
push dword [esi + 0x1b8]
call dword [0x100b0bd4]
pop ecx
mov eax, dword [ebp - 0x10]
mov byte [edi], 1
mov dword [esi + 0x1b8], eax
jmp 0x10027595
test edi, edi
je 0x10027595
lea ecx, [ebp - 0x10]
lea eax, [edi + 1]
push 0xa
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_strtoul]
mov edx, dword [ebp - 0x10]
lea ecx, [edi + 1]
add esp, 0xc
cmp edx, ecx
je 0x10027595
cmp byte [edx], 0
jne 0x10027595
cmp eax, 0xffff
jbe 0x1002758e
push eax
push str.Port_number_too_large:__lu
push esi
call fcn.1002da56
add esp, 0xc
push 3
jmp 0x10026731
and byte [edi], 0
mov word [ebx + 0x58], ax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x100275b9
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x320]
push ecx
push str._255_:_:_255__n_
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
and byte [ebx + 0xfc], 0
cmp dword [esi + 0x194], 0
je 0x1002760d
push dword [esi + 0x198]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x320]
push eax
push dword [ebx + 0x34]
call fcn.1002f03d
add esp, 0x10
test eax, eax
je 0x100275ff
push dword [ebx + 0x34]
push str.Couldnt_find_host__s_in_the__netrc_file__using_defaults_n
push esi
call fcn.1002d9fc
add esp, 0xc
jmp 0x1002760d
mov byte [ebx + 0xfc], 1
mov byte [ebx + 0xe8], 1
test byte [ebx + 8], 0x10
je 0x1002763c
cmp byte [ebx + 0xe8], 0
jne 0x1002763c
push str.anonymous
call dword [0x100b0bdc]
mov dword [ebx + 0x80], eax
mov dword [esp], str.curl_by_daniel_haxx.se
call dword [0x100b0bdc]
jmp 0x1002765d
lea eax, [ebp - 0x320]
push eax
call dword [0x100b0bdc]
mov dword [ebx + 0x80], eax
lea eax, [ebp - 0x220]
push eax
call dword [0x100b0bdc]
pop ecx
cmp dword [ebx + 0x80], 0
pop ecx
mov dword [ebx + 0x84], eax
je 0x1002672f
test eax, eax
je 0x1002672f
lea eax, [ebx + 0xb4]
mov dword [ebp - 0x10], eax
push eax
lea eax, [esi + 0x128]
push eax
call fcn.10024a66
pop ecx
test al, al
pop ecx
je 0x1002672f
cmp byte [esi + 0x19f], 0
je 0x100276af
cmp byte [esi + 0x82f8], 0
je 0x100278f8
lea eax, [ebp - 0x20]
push eax
push ebx
push esi
call fcn.10027a27
add esp, 0xc
test al, al
je 0x100278f8
mov edi, ebx
mov ebx, dword [ebx + 0x3c]
test ebx, ebx
mov dword [ebp - 8], edi
je 0x100276d9
push ebx
call dword [0x100b0bd4]
pop ecx
push dword [ebp - 0x10]
call fcn.10024af7
mov ebx, dword [ebp - 0x20]
pop ecx
mov cl, byte [edi + 0xe8]
lea eax, [ebx + 0xe8]
test cl, cl
mov byte [eax], cl
je 0x10027735
push dword [ebx + 0x80]
call fcn.10024eff
push dword [ebx + 0x84]
call fcn.10024eff
pop ecx
lea eax, [edi + 0x80]
pop ecx
mov ecx, dword [eax]
mov dword [ebx + 0x80], ecx
mov edx, dword [edi + 0x84]
lea ecx, [edi + 0x84]
mov dword [ebx + 0x84], edx
and dword [eax], 0
and dword [ecx], 0
mov al, byte [edi + 0xe9]
test al, al
mov byte [ebx + 0xe9], al
je 0x10027783
push dword [ebx + 0x88]
call fcn.10024eff
push dword [ebx + 0x8c]
call fcn.10024eff
pop ecx
lea eax, [edi + 0x88]
pop ecx
mov ecx, dword [eax]
mov dword [ebx + 0x88], ecx
mov edx, dword [edi + 0x8c]
lea ecx, [edi + 0x8c]
mov dword [ebx + 0x8c], edx
and dword [eax], 0
and dword [ecx], 0
cmp byte [ebx + 0xe7], 0
je 0x100277a8
push dword [ebx + 0x2c]
lea edi, [ebx + 0x2c]
call dword [0x100b0bd4]
mov eax, dword [ebp - 8]
pop ecx
lea esi, [eax + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov edi, eax
mov al, byte [edi + 0xf5]
cmp byte [ebx + 0xe7], 0
mov byte [ebx + 0xf5], al
jne 0x100277c7
push dword [edi + 0x2c]
call dword [0x100b0bd4]
pop ecx
push dword [ebx + 0x4c]
call dword [0x100b0bd4]
mov eax, dword [edi + 0x4c]
mov dword [ebx + 0x4c], eax
mov eax, dword [edi + 0x50]
or dword [ebx + 0xa8], 0xffffffff
and byte [ebx + 0xe6], 0
or dword [ebx + 0xac], 0xffffffff
mov dword [ebx + 0x50], eax
mov byte [ebx + 0xe5], 1
push dword [edi + 0x80]
call fcn.10024eff
push dword [edi + 0x84]
call fcn.10024eff
push dword [edi + 0x88]
call fcn.10024eff
push dword [edi + 0x8c]
call fcn.10024eff
add esp, 0x14
cmp byte [edi + 0xed], 0
je 0x1002783a
push dword [edi + 0x70]
call dword [0x100b0bd4]
pop ecx
push edi
call dword [0x100b0bd4]
mov eax, dword [esi + 0xb8]
pop ecx
mov dword [ebx + 0x78], eax
mov eax, dword [esi + 0xbc]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebx + 0x78]
or eax, dword [ebx + 0x7c]
je 0x1002789d
cmp byte [ebx + 0xed], 1
jne 0x1002786f
push dword [ebx + 0x70]
call dword [0x100b0bd4]
pop ecx
push dword [ebx + 0x7c]
push dword [ebx + 0x78]
push str._lld_
call fcn.1002c4d9
add esp, 0xc
mov dword [ebx + 0x70], eax
test eax, eax
je 0x1002672f
mov byte [ebx + 0xec], 1
mov byte [ebx + 0xed], 1
jmp 0x100278ce
mov eax, dword [esi + 0x48]
test eax, eax
je 0x100278c7
push eax
call dword [0x100b0bdc]
test eax, eax
pop ecx
mov dword [ebx + 0x70], eax
je 0x1002672f
mov byte [ebx + 0xed], 1
mov byte [ebx + 0xec], 1
jmp 0x100278ce
and byte [ebx + 0xec], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
cmp byte [ebx + 0xe7], 0
je 0x100278e1
mov eax, dword [ebx + 0x48]
jmp 0x100278e4
mov eax, dword [ebx + 0x38]
push eax
push dword [ebx + 4]
push str.Re_using_existing_connection____ld__with_host__s_n
push esi
call fcn.1002d9fc
add esp, 0x10
jmp 0x10027901
push ebx
push esi
call fcn.10027bc7
pop ecx
pop ecx
mov eax, dword [esi + 0x80]
test byte [ebx + 8], 4
mov dword [ebx + 0x200], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x204], eax
je 0x10027944
cmp byte [esi + 0x191], 0
je 0x10027944
mov ecx, dword [esi + 0xa8]
lea eax, [esi + 0xa8]
and ecx, dword [eax + 4]
cmp ecx, 0xffffffff
jne 0x10027944
push 1
pop eax
cmp dword [esi + 0x11c], eax
jne 0x10027946
xor eax, eax
mov byte [ebx + 0xef], al
cmp byte [ebx + 0xe5], 0
je 0x10027977
and dword [ebp - 0x18], 0
cmp byte [ebx + 0xe7], 0
je 0x10027a17
lea eax, [ebx + 0x2c]
push eax
push ebx
call fcn.10027c21
pop ecx
pop ecx
jmp 0x10027a17
lea eax, [ebx + 0x2c]
push eax
push ebx
call fcn.10027c21
mov eax, dword [esi + 0x1c0]
pop ecx
test eax, eax
pop ecx
je 0x100279dc
cmp byte [eax], 0
je 0x100279dc
lea eax, [ebx + 0x3c]
push eax
push ebx
call fcn.10027c21
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x54]
push dword [ebx + 0x44]
push ebx
call fcn.10024d42
add esp, 0x18
cmp eax, 1
jne 0x100279bc
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x10027a17
cmp dword [ebp - 0x18], 0
jne 0x10027a17
push dword [ebx + 0x48]
push str.Couldnt_resolve_proxy__s
push esi
call fcn.1002da56
add esp, 0xc
mov dword [ebp - 0x1c], 5
jmp 0x10027a17
movzx eax, word [ebx + 0x58]
lea ecx, [ebp - 0x18]
mov dword [ebx + 0x54], eax
push ecx
push eax
push dword [ebx + 0x34]
push ebx
call fcn.10024d42
add esp, 0x10
cmp eax, 1
je 0x100279b4
cmp dword [ebp - 0x18], 0
jne 0x10027a17
push dword [ebx + 0x38]
push str.Couldnt_resolve_host__s
push esi
call fcn.1002da56
add esp, 0xc
mov dword [ebp - 0x1c], 6
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
jmp 0x10026732