Function at 0x1400c15d4
Capabilities:
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x7b8
lea rbp, [rsp + 0x80]
and rsp, 0xffffffffffffff80
mov rbx, rdx
movzx eax, byte [rdx + 0x868]
test eax, eax
mov qword [rsp + 0xd0], r8
mov qword [rsp + 0xb0], rcx
je 0x1400c1637
cmp eax, 3
jne case.default.0x1400c1635
mov r12, r8
lea r13, [rbx + 0x400]
movzx eax, byte [rbx + 0x490]
lea rcx, [0x1400c20fc]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rax, qword [rbx + 0x858]
mov rcx, qword [rbx + 0x860]
mov qword [rbx + 0x840], rax
mov qword [rbx + 0x848], rcx
mov qword [rbx + 0x810], 0
mov qword [rbx + 0x850], rax
xor esi, esi
jmp 0x1400c191f
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.4_srclib.rs
lea r8, str.C:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.23_srcclientconnecthttp.rs
jmp 0x1400c1817
ud2
mov qword [rsp + 0xa0], r13
lea r14, [rbx + 0x500]
lea r13, [rbx + 0x580]
call fcn.14010c251
mov edi, eax
lea rsi, [rsp + 0x100]
mov rcx, rsi
mov rdx, r14
mov r8, r12
call fcn.1400c2406
mov rsi, qword [rsi + 0x10]
cmp rsi, 3
jne 0x1400c178b
cmp dil, 2
setne sil
test dil, 1
sete dil
call fcn.14010c251
test sil, dil
jne 0x1400c17ef
cmp al, 2
je 0x1400c17ef
and al, 1
jne 0x1400c17ef
mov eax, dword [0x1402feff8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rax, [rax + 0xb0]
cmp qword [rax - 8], 0
jne 0x1400c1720
xor ecx, ecx
call fcn.14010ab4a
mov dil, 2
test rax, rax
je 0x1400c172b
mov dil, byte [rax + 0x50]
mov cl, byte [rax + 0x51]
mov byte [rax + 0x50], 0
mov byte [rsp + 0x100], dil
mov byte [rsp + 0x101], cl
mov rcx, r13
mov rdx, r12
call fcn.14010ef35
mov esi, eax
cmp dil, 2
je 0x1400c175a
lea rcx, [rsp + 0x100]
call fcn.140110fd6
test sil, sil
jne 0x1400c1802
mov rcx, r14
call fcn.1400c23c9
mov rcx, r13
call fcn.14008b0ac
lea r8, [0x14029c5e8]
mov edx, 1
mov cl, 0x16
call fcn.1400f5f30
mov rdi, rax
jmp 0x1400c17c8
mov rdi, qword [rsp + 0x100]
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xd8], rax
mov r15, qword [rsp + 0x118]
mov r12, qword [rsp + 0x120]
mov rcx, r14
call fcn.1400c23c9
mov rcx, r13
call fcn.14008b0ac
cmp esi, 2
jne 0x1400c17d7
mov esi, 2
mov r13, qword [rsp + 0xc0]
jmp 0x1400c17e2
mov r13, r15
mov qword [rsp + 0xb8], r12
mov r15, qword [rsp + 0xd8]
jmp 0x1400c1898
mov rcx, r13
mov rdx, r12
call fcn.14010ef35
test al, al
je 0x1400c1763
mov al, 3
jmp 0x1400c1f26
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.4_srclib.rs
lea r8, str.C:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.23_srcclientconnecthttp.rs
mov edx, 0x23
call fcn.140237a10
ud2
lea rdi, [rbx + 0x498]
mov ecx, 0x10
mov rsi, r13
rep movsq qword [rdi], qword [rsi]
mov qword [rsp + 0xa0], r13
lea r14, [rbx + 0x498]
lea rsi, [rsp + 0x400]
mov rcx, rsi
mov rdx, r14
mov r8, r12
call fcn.1400c2406
mov rsi, qword [rsi + 0x10]
cmp rsi, 3
je 0x1400c1f24
mov rdi, qword [rsp + 0x400]
mov r15, qword [rsp + 0x408]
mov r13, qword [rsp + 0x418]
mov rax, qword [rsp + 0x420]
mov qword [rsp + 0xb8], rax
mov rcx, r14
call fcn.1400c23c9
cmp esi, 2
jne 0x1400c1eba
mov ecx, 0x11
call fcn.140057961
mov rsi, rdx
movups xmm0, xmmword [0x14029f313]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x10], 0x72
mov rcx, rdi
call fcn.1400744f1
mov rdi, rax
mov byte [rbx + 0x490], 1
mov rcx, qword [rsp + 0xa0]
call fcn.1400c2371
cmp qword [rbx + 0x810], 0
je 0x1400c18f1
lea rcx, [rbx + 0x800]
call fcn.1400bf9ff
mov qword [rbx + 0x800], rdi
lea rax, fcn.1400089cb
mov qword [rbx + 0x808], rax
mov qword [rbx + 0x810], rsi
mov qword [rbx + 0x818], 0x11
mov rax, qword [rbx + 0x850]
mov rcx, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
je 0x1400c1f49
lea rdx, [rcx + 0x20]
mov qword [rax + 8], rdx
movzx eax, word [rcx]
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0xee], xmm0
movups xmm0, xmmword [rcx + 2]
movaps xmmword [rsp + 0xe0], xmm0
cmp ax, 2
je 0x1400c1f42
mov qword [rsp + 0xc0], r13
mov word [rbx + 0x820], ax
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rbx + 0x822], xmm0
movups xmm0, xmmword [rsp + 0xee]
movups xmmword [rbx + 0x830], xmm0
mov rcx, qword [rbx + 0x840]
mov r15, qword [rbx + 0x848]
mov r14, qword [rcx + 0x20]
mov r13d, dword [rcx + 0x28]
test ax, ax
mov eax, 2
mov esi, 0x17
cmove esi, eax
mov rax, qword [0x1402fe960]
cmp rax, 3
jne 0x1400c1ee8
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, esi
mov edx, 1
mov r8d, 6
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x1400c1f72
mov r12, rax
lea r8, [rsp + 0x100]
mov dword [r8], 1
mov rcx, rax
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x1400c1fba
mov edi, dword [r15 + 0x28]
cmp edi, 0x3b9aca00
je 0x1400c1ae8
mov rsi, qword [r15 + 0x20]
mov rcx, r12
mov edx, 8
mov r8d, 1
call fcn.1400e9510
test rax, rax
je 0x1400c1a57
lea rcx, [rsp + 0x100]
mov qword [rcx], rax
call fcn.1400089cb
jmp 0x1400c1ae8
mov ecx, 0x3e8
mov rax, rsi
mul rcx
mov ecx, edi
imul rcx, rcx, 0x431bde83
shr rcx, 0x32
add rcx, rax
adc rdx, 0
mov eax, 0xffffffff
cmp rcx, rax
cmovae rcx, rax
xor eax, eax
neg rdx
mov edx, 0
sbb edx, edx
or edx, ecx
lea r8, [rsp + 0x100]
mov dword [r8], 1
mov dword [r8 + 4], edx
mov dword [r8 + 8], eax
lea rcx, [rsp + 0xac]
mov dword [rcx], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
mov rcx, r12
mov edx, 0x98000004
mov r9d, 0xc
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1400c1ed6
cmp word [rbx + 0x820], 0
je 0x1400c1b4a
cmp byte [r15 + 0x56], 0
je 0x1400c1ba0
movups xmm0, xmmword [r15 + 0x57]
lea rdx, [rsp + 0x100]
movups xmmword [rdx + 8], xmm0
xorps xmm0, xmm0
movups xmmword [rdx + 0x1c], xmm0
movups xmmword [rdx + 0x2c], xmm0
movups xmmword [rdx + 0x3c], xmm0
movups xmmword [rdx + 0x4c], xmm0
movups xmmword [rdx + 0x5c], xmm0
movups xmmword [rdx + 0x6c], xmm0
movabs rax, 0x1c00000000
mov qword [rdx + 0x7c], rax
mov qword [rdx], 0x17
mov dword [rdx + 0x18], 0
jmp 0x1400c1c64
cmp byte [r15 + 0x51], 0
je 0x1400c1bf6
mov eax, dword [r15 + 0x52]
xorps xmm0, xmm0
lea rdx, [rsp + 0x100]
movups xmmword [rdx + 0x70], xmm0
movups xmmword [rdx + 0x60], xmm0
movups xmmword [rdx + 0x50], xmm0
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x10], xmm0
mov dword [rdx], 2
mov dword [rdx + 4], eax
mov qword [rdx + 8], 0
mov dword [rdx + 0x80], 0x10
jmp 0x1400c1c64
xor eax, eax
mov dword [rsp + 0x108], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x10c], xmm0
movups xmmword [rsp + 0x11c], xmm0
movups xmmword [rsp + 0x12c], xmm0
movups xmmword [rsp + 0x13c], xmm0
movups xmmword [rsp + 0x14c], xmm0
movups xmmword [rsp + 0x15c], xmm0
movups xmmword [rsp + 0x16c], xmm0
mov dword [rsp + 0x17c], eax
mov eax, 0x1c
mov cx, 0x17
jmp 0x1400c1c46
xorps xmm0, xmm0
movups xmmword [rsp + 0x170], xmm0
movups xmmword [rsp + 0x160], xmm0
movups xmmword [rsp + 0x150], xmm0
movups xmmword [rsp + 0x140], xmm0
movups xmmword [rsp + 0x130], xmm0
movups xmmword [rsp + 0x120], xmm0
movups xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x108], 0
mov eax, 0x10
mov cx, 2
lea rdx, [rsp + 0x100]
mov word [rdx], cx
mov word [rdx + 2], 0
mov dword [rdx + 4], 0
mov dword [rdx + 0x80], eax
mov rcx, r12
call fcn.1400e94e5
mov rdi, rax
test rax, rax
jne 0x1400c1ff3
cmp byte [r15 + 0x68], 0
je 0x1400c1ca7
mov rcx, r12
mov edx, 4
mov r8d, 1
call fcn.1400e9510
test rax, rax
je 0x1400c1ca7
lea rcx, [rsp + 0x100]
mov qword [rcx], rax
call fcn.1400089cb
cmp qword [r15 + 0x30], 0
je 0x1400c1ce7
mov rax, qword [r15 + 0x38]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, r12
mov edx, 0x1001
call fcn.1400e9510
test rax, rax
je 0x1400c1ce7
lea rcx, [rsp + 0x100]
mov qword [rcx], rax
call fcn.1400089cb
cmp qword [r15 + 0x40], 0
je 0x1400c1d27
mov rax, qword [r15 + 0x48]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, r12
mov edx, 0x1002
call fcn.1400e9510
test rax, rax
je 0x1400c1d27
lea rcx, [rsp + 0x100]
mov qword [rcx], rax
call fcn.1400089cb
movaps xmm0, xmmword [rbx + 0x820]
movaps xmm1, xmmword [rbx + 0x830]
movaps xmmword [rbx], xmm0
movaps xmmword [rbx + 0x10], xmm1
lea rdi, [rbx + 0x20]
lea rsi, [rsp + 0x380]
mov ecx, 0xa
rep movsq qword [rdi], qword [rsi]
mov qword [rbx + 0x70], r12
xor eax, eax
mov byte [rbx + 0x78], al
mov ecx, dword [rsp + 0xc9]
mov edx, dword [rsp + 0xcc]
mov dword [rbx + 0x79], ecx
mov dword [rbx + 0x7c], edx
mov qword [rbx + 0x80], r14
mov dword [rbx + 0x88], r13d
mov byte [rbx + 0x90], al
lea rcx, [rbx + 0x91]
lea rdx, [rsp + 0x400]
mov r8d, 0x36f
call sub.VCRUNTIME140.dll_memcpy
lea r13, [rbx + 0x400]
mov r8d, 0x400
mov rcx, r13
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
movzx eax, byte [rbx + 0x490]
lea rcx, [0x1400c20fc]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
mov r12, qword [rsp + 0xd0]
jmp rax
mov r14d, dword [rbx + 0x488]
cmp r14d, 0x3b9aca00
mov qword [rsp + 0xa0], r13
je 0x1400c1823
mov r15, qword [rbx + 0x480]
lea rdi, [rsp + 0x380]
mov ecx, 0x10
mov rsi, r13
rep movsq qword [rdi], qword [rsi]
call fcn.140104a00
add rax, r15
jae 0x1400c1e21
lea rcx, [rsp + 0x100]
call fcn.14011384d
jmp 0x1400c1e6d
mov r8d, edx
add r8d, r14d
cmp r8d, 0x3b9aca00
jb 0x1400c1e3c
add r8d, 0xc4653600
inc rax
je 0x1400c1e12
mov ecx, r8d
shr ecx, 9
imul rcx, rcx, 0x44b83
shr rcx, 0x27
imul ecx, ecx, 0x3b9aca00
sub r8d, ecx
lea r9, str.C:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.23_srcclientconnecthttp.rs
lea rcx, [rsp + 0x100]
mov rdx, rax
call fcn.140113651
lea rcx, [rsp + 0x480]
lea rdx, [rsp + 0x100]
mov r8d, 0x280
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rsp + 0x400]
lea rsi, [rsp + 0x380]
mov ecx, 0x10
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
lea rcx, [rbx + 0x500]
mov r8d, 0x300
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400c1689
mov byte [rbx + 0x490], 1
mov rcx, qword [rsp + 0xa0]
call fcn.1400c2371
xor r14d, r14d
jmp 0x1400c2051
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
jmp 0x1400c1a42
lea rax, [rsp + 0xac]
mov byte [rax], 1
lea r8, [rsp + 0x100]
mov qword [r8], rax
lea rax, str.xY_
mov qword [rsp + 0x20], rax
lea rcx, [0x1402fe960]
lea r9, [0x1402a58e8]
xor edx, edx
call fcn.14023ad10
jmp 0x1400c19be
mov al, 4
mov byte [rbx + 0x490], al
mov rax, qword [rsp + 0xb0]
mov qword [rax], 2
mov al, 3
jmp 0x1400c20e2
mov rsi, qword [rbx + 0x810]
test rsi, rsi
je 0x1400c2069
mov rdi, qword [rbx + 0x800]
mov r15, qword [rbx + 0x808]
mov r13, qword [rbx + 0x818]
mov r14d, 1
jmp 0x1400c20b9
call sub.kernel32.dll_GetLastError
shl rax, 0x20
lea rdi, [rax + 2]
mov r13d, 0xe
mov ecx, 0xe
call fcn.140057961
mov rsi, rdx
movabs rax, 0x6e65706f20706374
mov qword [rdx], rax
movabs rax, 0x726f727265206e65
mov qword [rdx + 6], rax
mov rcx, rdi
call fcn.1400744f1
mov rdi, rax
jmp 0x1400c202b
call sub.kernel32.dll_GetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov r13d, 0x19
mov ecx, 0x19
call fcn.140057961
mov rsi, rdx
movups xmm0, xmmword [str.tcp_set_nonblocking_errortcp_bind_local_error]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [0x140289559]
movups xmmword [rdx + 9], xmm0
jmp 0x1400c2017
mov r13d, 0x14
mov ecx, 0x14
call fcn.140057961
mov rsi, rdx
movups xmm0, xmmword [0x140289569]
movups xmmword [rdx], xmm0
mov dword [rdx + 0x10], 0x726f7272
mov rcx, rdi
call fcn.1400744f1
mov rdi, rax
mov rcx, r12
call qword [sym.imp.ws2_32.dll_closesocket]
mov qword [rbx], rdi
lea r15, fcn.1400089cb
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], r13
mov dword [rbx + 0x88], 0x3b9aca01
mov r14d, 1
cmp qword [rbx + 0x810], 0
je 0x1400c20b9
lea rcx, [rbx + 0x800]
call fcn.1400bf9ff
jmp 0x1400c20b9
lea rdx, str.Network_unreachabletcp_connect_error
mov r8d, 0x13
mov cl, 7
call fcn.1400e5255
mov rdi, rax
mov r13d, 0x11
mov ecx, 0x11
call fcn.140057961
mov rsi, rdx
movups xmm0, xmmword [0x14029f313]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x10], 0x72
mov rcx, rdi
call fcn.1400744f1
mov rdi, rax
mov r14d, 1
lea r15, fcn.1400089cb
mov rax, qword [rsp + 0xb0]
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r13
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 0x28], rcx
mov al, 1
mov byte [rbx + 0x868], al
lea rsp, [rbp + 0x738]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret