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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov dword [rsp + 0x3c], 0xffffffff
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
lea rdx, [0x14019af84]
mov rcx, qword [rsp + 0xc0]
call fcn.140054ea0
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x1400df579
mov rax, qword [rsp + 0x88]
add rax, 3
mov qword [rsp + 0x48], rax
lea rcx, [0x14019b6cc]
call fcn.140080560
mov r8, rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [0x14019b5e4]
call fcn.1400eb4f0
test eax, eax
je 0x1400df428
mov dword [rsp + 0xc8], 2
jmp 0x1400df577
lea rcx, str.socks5h
call fcn.140080560
mov r8, rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [0x14019bb78]
call fcn.1400eb4f0
test eax, eax
je 0x1400df45f
mov dword [rsp + 0xc8], 7
jmp 0x1400df577
lea rcx, str.socks5
call fcn.140080560
mov r8, rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [0x14019b52c]
call fcn.1400eb4f0
test eax, eax
je 0x1400df496
mov dword [rsp + 0xc8], 5
jmp 0x1400df577
lea rcx, str.socks4a
call fcn.140080560
mov r8, rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [0x14019bb68]
call fcn.1400eb4f0
test eax, eax
je 0x1400df4cd
mov dword [rsp + 0xc8], 6
jmp 0x1400df577
lea rcx, str.socks4
call fcn.140080560
mov r8, rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [0x14019b454]
call fcn.1400eb4f0
test eax, eax
jne 0x1400df51b
lea rcx, str.socks
call fcn.140080560
mov r8, rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [0x14019b524]
call fcn.1400eb4f0
test eax, eax
je 0x1400df528
mov dword [rsp + 0xc8], 4
jmp 0x1400df577
lea rcx, str.http:
call fcn.140080560
mov r8, rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [0x14019b44c]
call fcn.1400eb4f0
test eax, eax
je 0x1400df551
jmp 0x1400df577
mov r8, qword [rsp + 0xc0]
lea rdx, str.Unsupported_proxy_scheme_for__s
mov rcx, qword [rsp + 0xb0]
call fcn.1400d3540
mov eax, 7
jmp 0x1400dfc49
jmp 0x1400df586
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x48], rax
mov rax, qword [0x140199d90]
mov eax, dword [rax + 0x10]
and eax, 0x10
test eax, eax
jne 0x1400df5c7
cmp dword [rsp + 0xc8], 2
jne 0x1400df5c7
mov r8, qword [rsp + 0xc0]
lea rdx, str.Unsupported_proxy__s__libcurl_is_built_without_the_HTTPS_proxy_support.
mov rcx, qword [rsp + 0xb0]
call fcn.1400d3540
mov eax, 4
jmp 0x1400dfc49
cmp dword [rsp + 0xc8], 7
je 0x1400df5f9
cmp dword [rsp + 0xc8], 5
je 0x1400df5f9
cmp dword [rsp + 0xc8], 6
je 0x1400df5f9
cmp dword [rsp + 0xc8], 4
je 0x1400df5f9
mov dword [rsp + 0x70], 0
jmp 0x1400df601
mov dword [rsp + 0x70], 1
cmp dword [rsp + 0x70], 0
jne 0x1400df612
mov dword [rsp + 0x74], 0
jmp 0x1400df61a
mov dword [rsp + 0x74], 1
movzx eax, byte [rsp + 0x74]
mov byte [rsp + 0x38], al
mov edx, reloc.SHELL32.dll_DriveType
mov rcx, qword [rsp + 0x48]
call fcn.140054e20
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1400df690
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call fcn.1400e4320
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x1400df683
mov eax, dword [rsp + 0x78]
jmp 0x1400dfc49
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x5b
jne 0x1400df814
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
test eax, eax
je 0x1400df70d
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov ecx, eax
call fcn.140123b10
test eax, eax
jne 0x1400df6fe
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
cmp eax, 0x3a
je 0x1400df6fe
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
cmp eax, 0x2e
jne 0x1400df70d
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x1400df6c5
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
cmp eax, 0x25
jne 0x1400df7cf
mov r8d, 3
mov rdx, qword [rsp + 0x30]
lea rcx, [0x14019af54]
call fcn.140083680
test eax, eax
je 0x1400df74d
lea rdx, [0x14019bac0]
mov rcx, qword [rsp + 0xb0]
call fcn.1400d2f70
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
test eax, eax
je 0x1400df7cf
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov ecx, eax
call fcn.140123ad0
test eax, eax
jne 0x1400df7c0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov ecx, eax
call fcn.140123b10
test eax, eax
jne 0x1400df7c0
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
cmp eax, 0x2d
je 0x1400df7c0
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
cmp eax, 0x2e
je 0x1400df7c0
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
cmp eax, 0x5f
je 0x1400df7c0
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
cmp eax, 0x7e
jne 0x1400df7cf
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x1400df75a
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
cmp eax, 0x5d
jne 0x1400df7f3
mov rax, qword [rsp + 0x30]
mov byte [rax], 0
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x1400df807
lea rdx, [0x14019baa0]
mov rcx, qword [rsp + 0xb0]
call fcn.1400d2f70
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
mov edx, Ordinal_60
mov rcx, qword [rsp + 0x90]
call fcn.140054e20
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1400df8f1
mov qword [rsp + 0x80], 0
mov rax, qword [rsp + 0x60]
mov byte [rax], 0
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov r8d, 0xa
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call fcn.140085e6c
mov dword [rsp + 0x3c], eax
cmp qword [rsp + 0x80], 0
je 0x1400df8ae
mov rax, qword [rsp + 0x80]
movsx eax, byte [rax]
test eax, eax
je 0x1400df8ae
mov rax, qword [rsp + 0x80]
movsx eax, byte [rax]
cmp eax, 0x2f
je 0x1400df8ae
mov rax, qword [rsp + 0x80]
movsx eax, byte [rax]
cmp eax, 0x20
jne 0x1400df8bf
cmp dword [rsp + 0x3c], 0
jl 0x1400df8bf
cmp dword [rsp + 0x3c], 0xffff
jle 0x1400df8da
mov r8, qword [rsp + 0x60]
lea rdx, str.No_valid_port_number_in_proxy_string___s__n
mov rcx, qword [rsp + 0xb0]
call fcn.1400d2f70
jmp 0x1400df8ec
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0x180], ecx
jmp 0x1400df9ab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x2f
jne 0x1400df946
mov rcx, qword [rsp + 0x58]
call qword [fcn.14007b234]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x1400df908
mov rcx, qword [rsp + 0x50]
call qword [fcn.14007b234]
mov qword [rsp + 0x50], 0
xor eax, eax
test eax, eax
jne 0x1400df922
mov eax, 5
jmp 0x1400dfc49
mov edx, Ordinal_50
mov rcx, qword [rsp + 0x48]
call fcn.140054e20
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1400df96a
mov rax, qword [rsp + 0x68]
mov byte [rax], 0
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x690], 0
je 0x1400df98f
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x690]
mov dword [rsp + 0x3c], eax
jmp 0x1400df9ab
cmp dword [rsp + 0xc8], 2
jne 0x1400df9a3
mov dword [rsp + 0x3c], 0x1bb
jmp 0x1400df9ab
mov dword [rsp + 0x3c], 0x438
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
test eax, eax
je 0x1400dfc13
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x1400df9dc
mov rax, qword [rsp + 0xb8]
add rax, 0x110
mov qword [rsp + 0x98], rax
jmp 0x1400df9f2
mov rax, qword [rsp + 0xb8]
add rax, 0x148
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0xc8]
mov dword [rax + 0x24], ecx
cmp qword [rsp + 0x58], 0
je 0x1400dfb6c
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x28]
call qword [fcn.14007b234]
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x28], 0
xor eax, eax
test eax, eax
jne 0x1400dfa1a
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xb0]
call fcn.14010b1e0
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x28], rax
mov rcx, qword [rsp + 0x58]
call qword [fcn.14007b234]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x1400dfa5d
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x28], 0
jne 0x1400dfaa7
mov rcx, qword [rsp + 0x50]
call qword [fcn.14007b234]
mov qword [rsp + 0x50], 0
xor eax, eax
test eax, eax
jne 0x1400dfa83
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400dfc49
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x30]
call qword [fcn.14007b234]
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x30], 0
xor eax, eax
test eax, eax
jne 0x1400dfaa7
cmp qword [rsp + 0x50], 0
je 0x1400dfb06
mov rcx, qword [rsp + 0x50]
call fcn.140080560
cmp rax, 0x100
jae 0x1400dfb06
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xb0]
call fcn.14010b1e0
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x30], rax
jmp 0x1400dfb1c
lea rcx, [0x1401aa01f]
call qword [str.dg_n_]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x30], rax
mov rcx, qword [rsp + 0x50]
call qword [fcn.14007b234]
mov qword [rsp + 0x50], 0
xor eax, eax
test eax, eax
jne 0x1400dfb1c
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x30], 0
jne 0x1400dfb4c
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400dfc49
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x3c4]
bts eax, 8
mov rcx, qword [rsp + 0xb8]
mov dword [rcx + 0x3c4], eax
cmp dword [rsp + 0x3c], 0
jl 0x1400dfbbd
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0x20], ecx
mov rax, qword [rsp + 0xb8]
cmp dword [rax + 0x180], 0
jl 0x1400dfbab
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x1400dfbab
mov rax, qword [rsp + 0xb8]
cmp qword [rax + 0x110], 0
jne 0x1400dfbbd
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0x180], ecx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [fcn.14007b234]
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
xor eax, eax
test eax, eax
jne 0x1400dfbbd
mov rcx, qword [rsp + 0x48]
call qword [str.dg_n_]
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
jne 0x1400dfc13
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400dfc49
mov rcx, qword [rsp + 0x58]
call qword [fcn.14007b234]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x1400dfc13
mov rcx, qword [rsp + 0x50]
call qword [fcn.14007b234]
mov qword [rsp + 0x50], 0
xor eax, eax
test eax, eax
jne 0x1400dfc2d
xor eax, eax
add rsp, 0xa8
ret