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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
call fcn.0044b410
xor esi, esi
mov ebp, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], esi
test ebp, ebp
jne 0x420123
lea esi, [eax + 0x1b]
jmp 0x420568
push edi
mov edi, dword [esp + 0x38]
push 0x208
push edi
push 0
push ebp
call fcn.0044bca0
add esp, 0x10
test eax, eax
jne 0x420549
push eax
lea eax, [esp + 0x1c]
push eax
push 1
push ebp
call fcn.0044b580
add esp, 0x10
test eax, eax
jne 0x4204cf
push dword [esp + 0x18]
push str.https
call fcn.00426c40
add esp, 8
test eax, eax
je 0x420181
xor ebx, ebx
cmp dword [esp + 0x3c], 3
sete bl
add ebx, 2
jmp 0x420241
push dword [esp + 0x18]
push str.socks5h
call fcn.00426c40
add esp, 8
test eax, eax
je 0x4201a0
mov ebx, 7
jmp 0x420241
push dword [esp + 0x18]
push str.socks5
call fcn.00426c40
add esp, 8
test eax, eax
je 0x4201bf
mov ebx, 5
jmp 0x420241
push dword [esp + 0x18]
push str.socks4a
call fcn.00426c40
add esp, 8
test eax, eax
je 0x4201db
mov ebx, 6
jmp 0x420241
push dword [esp + 0x18]
push str.socks4
call fcn.00426c40
add esp, 8
test eax, eax
jne 0x42023c
push dword [esp + 0x18]
push str.socks
call fcn.00426c40
add esp, 8
test eax, eax
jne 0x42023c
push dword [esp + 0x18]
push str.http
call fcn.00426c40
add esp, 8
test eax, eax
jne 0x420236
push edi
push str.Unsupported_proxy_scheme_for__s
push dword [esp + 0x38]
call fcn.00422a30
add esp, 0xc
mov esi, 7
jmp 0x420567
mov ebx, dword [esp + 0x3c]
jmp 0x420241
mov ebx, 4
push 0x10
push dword [esp + 0x34]
call fcn.0041ca30
add esp, 8
test al, al
jne 0x420279
cmp ebx, 2
je 0x42025d
cmp ebx, 3
jne 0x420279
push edi
push str.Unsupported_proxy__s__libcurl_is_built_without_the_HTTPS_proxy_support.
push dword [esp + 0x38]
call fcn.00422a30
add esp, 0xc
mov esi, 4
jmp 0x420567
cmp ebx, 7
je 0x420291
cmp ebx, 5
je 0x420291
cmp ebx, 6
je 0x420291
cmp ebx, 4
je 0x420291
xor al, al
jmp 0x420293
mov al, 1
movzx edi, al
xor edi, 1
mov byte [esp + 0x13], al
push 0x40
lea eax, [esp + 0x24]
shl edi, 5
add edi, dword [esp + 0x38]
push eax
push 2
push ebp
mov byte [edi + 0x84], bl
call fcn.0044b580
add esp, 0x10
test eax, eax
je 0x4202c9
cmp eax, 0xb
jne 0x420567
push 0x40
lea eax, [esp + 0x20]
push eax
push 3
push ebp
call fcn.0044b580
add esp, 0x10
test eax, eax
je 0x4202e8
cmp eax, 0xc
jne 0x420567
cmp dword [esp + 0x20], esi
jne 0x4202f8
cmp dword [esp + 0x1c], esi
je 0x4203a0
push dword [edi + 0x88]
call dword [0x4ad004]
mov eax, dword [esp + 0x24]
push eax
mov dword [edi + 0x88], eax
mov eax, dword [esp + 0x38]
add eax, 0xd64
push eax
call fcn.0040d810
mov esi, eax
mov dword [esp + 0x2c], 0
add esp, 0xc
test esi, esi
jne 0x420567
push dword [edi + 0x8c]
call dword [0x4ad004]
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [edi + 0x8c], esi
test eax, eax
jne 0x42036a
push 0x48d468
call dword [0x4ad00c]
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4204cf
push eax
mov dword [edi + 0x8c], eax
mov eax, dword [esp + 0x34]
add eax, 0xd68
push eax
call fcn.0040d810
mov esi, eax
mov dword [esp + 0x24], 0
add esp, 8
test esi, esi
jne 0x420567
mov eax, dword [esp + 0x34]
mov byte [eax + 0x1ca], 1
push 0
lea eax, [esp + 0x2c]
push eax
push 6
push ebp
call fcn.0044b580
mov eax, dword [esp + 0x38]
add esp, 0x10
test eax, eax
je 0x4203d5
push 0xa
push 0
push eax
call fcn.0046f962
push dword [esp + 0x34]
mov ebx, eax
call dword [0x4ad004]
add esp, 0x10
jmp 0x4203e7
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0x4a0]
test ax, ax
je 0x4203ed
mov ebx, eax
test ebx, ebx
js 0x420427
jmp 0x420401
cmp ebx, 2
je 0x4203fc
cmp ebx, 3
mov ebx, 0x438
jne 0x420401
mov ebx, 0x1bb
mov eax, dword [esp + 0x34]
mov dword [edi + 0x80], ebx
cmp dword [eax + 0x440], 0
jl 0x420421
cmp byte [esp + 0x13], 0
jne 0x420421
cmp dword [eax + 0x70], 0
jne 0x420427
mov dword [eax + 0x440], ebx
push 0x40
lea eax, [esp + 0x18]
push eax
push 5
push ebp
call fcn.0044b580
add esp, 0x10
test eax, eax
jne 0x4204cf
cmp byte [esp + 0x13], al
je 0x4204f9
push dword [esp + 0x14]
push str.localhost
call fcn.00426c40
add esp, 8
test eax, eax
je 0x4204f9
push 0x40
lea eax, [esp + 0x28]
push eax
push 7
push ebp
call fcn.0044b580
add esp, 0x10
test eax, eax
jne 0x4204cf
mov ecx, dword [esp + 0x24]
mov eax, 0x48ddb0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4204a3
test dl, dl
je 0x42049f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4204a3
add eax, 2
add ecx, 2
test dl, dl
jne 0x420483
xor eax, eax
jmp 0x4204a8
sbb eax, eax
or eax, 1
test eax, eax
je 0x4204f9
push dword [esp + 0x14]
call dword [0x4ad004]
push dword [esp + 0x28]
push str.localhost_s
call fcn.00433100
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4204d9
mov esi, 0x1b
jmp 0x420567
push dword [edi + 0x70]
call dword [0x4ad004]
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [edi + 0x70], eax
mov dword [edi + 0x78], eax
mov dword [esp + 0x14], 0
jmp 0x420567
push dword [edi + 0x70]
call dword [0x4ad004]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [edi + 0x70], edx
cmp byte [edx], 0x5b
jne 0x42053c
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420516
push dword [esp + 0x34]
sub ecx, ebx
push dword [esp + 0x34]
push ebp
mov byte [ecx + edx - 1], al
inc dword [esp + 0x20]
call fcn.00421050
mov edx, dword [esp + 0x20]
add esp, 0xc
mov dword [edi + 0x78], edx
mov dword [esp + 0x14], 0
jmp 0x420567
push eax
call fcn.00435220
push eax
push edi
push str.Unsupported_proxy_syntax_in__s:__s
push dword [esp + 0x40]
call fcn.00422a30
add esp, 0x14
mov esi, 5
pop edi
push dword [esp + 0x1c]
call dword [0x4ad004]
push dword [esp + 0x1c]
call dword [0x4ad004]
push dword [esp + 0x18]
call dword [0x4ad004]
push dword [esp + 0x20]
call dword [0x4ad004]
push dword [esp + 0x30]
call dword [0x4ad004]
push ebp
call fcn.0044b420
add esp, 0x18
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret