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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x378
mov r15, r8
mov rbx, rdx
mov qword [rsp + 0x50], rcx
movzx eax, byte [rdx + 0x378]
test eax, eax
je 0x1400fbf0f
cmp eax, 3
jne case.default.0x1400fbf0d
lea r12, [rbx + 0x1f0]
movzx eax, byte [rbx + 0x280]
lea rcx, [0x14026334c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
and qword [rbx + 0x20], 0
mov qword [rbx + 0x40], rax
jmp 0x1400fbf3c
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chain_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_util_0.7.8_src_lib.rs
lea r8, str._.cargo_registry_src_index.crates.io_6f17d22bba15001f_hyper_0.14.27_src_client_connect_http.rs
jmp 0x1400fc927
mov rcx, qword [rax + 0x10]
cmp rcx, qword [rax + 0x18]
je 0x1400fc764
lea rdx, [rcx + 0x20]
mov qword [rax + 0x10], rdx
movzx eax, word [rcx]
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x18e], xmm0
movups xmm0, xmmword [rcx + 2]
movaps xmmword [rsp + 0x180], xmm0
cmp ax, 2
je 0x1400fc764
mov word [rbx + 0x48], ax
movaps xmm0, xmmword [rsp + 0x180]
movups xmmword [rbx + 0x4a], xmm0
movups xmm0, xmmword [rsp + 0x18e]
movups xmmword [rbx + 0x58], xmm0
mov rcx, qword [rbx + 0x10]
mov r14, qword [rbx + 0x18]
mov rbp, qword [rcx + 0x20]
mov ecx, dword [rcx + 0x28]
mov dword [rsp + 0x7c], ecx
test ax, ax
mov eax, 2
mov esi, 0x17
cmove esi, eax
mov rax, qword [0x1403950f8]
cmp rax, 3
jne 0x1400fc7b8
mov dword [rsp + 0x28], 0x81
and dword [rsp + 0x20], 0
mov ecx, esi
mov edx, 1
mov r8d, 6
xor r9d, r9d
call sub.WS2_32.dll_WSASocketW
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x1400fc02b
call fcn.140073043
lea rdx, str.tcp_open_errortcp_set_nonblocking_errortcp_bind_local_error
lea rsi, [rsp + 0xf8]
mov r8d, 0xe
mov rcx, rsi
mov r9, rax
call fcn.140067441
mov rdi, qword [rsi]
test rdi, rdi
jne 0x1400fc8ff
mov r12, qword [rsp + 0x100]
lea rsi, [rsp + 0x80]
mov dword [rsi], 1
mov rcx, r12
mov edx, 0x8004667e
mov r8, rsi
call sub.WS2_32.dll_ioctlsocket
xor edx, edx
cmp eax, 0xffffffff
jne 0x1400fc058
call fcn.140073043
mov rdx, rax
lea r8, [0x1402aca66]
lea rdi, [rsp + 0xf8]
mov r9d, 0x19
mov rcx, rdi
call fcn.140067685
mov rdi, qword [rdi]
test rdi, rdi
jne 0x1400fc80c
mov edi, dword [r14 + 0x48]
cmp edi, 0x3b9aca00
je 0x1400fc16a
mov r13, qword [r14 + 0x40]
lea r9, [rsp + 0xf8]
mov dword [r9], 1
mov dword [rsp + 0x20], 4
mov rcx, r12
mov edx, 0xffff
mov r8d, 8
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400fc155
mov ecx, 0x3e8
mov rax, r13
mul rcx
mov rcx, rax
mov r8, rdx
xor r9d, r9d
mov r10d, 0xf4240
mov eax, edi
xor edx, edx
div r10d
add rax, rcx
adc r8, 0
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
neg r8
sbb r9d, r9d
or r9d, eax
lea r8, [rsp + 0xf8]
mov dword [r8], 1
mov dword [r8 + 4], r9d
and dword [r8 + 8], 0
and dword [rsp + 0x80], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
and dword [rsp + 0x28], 0
mov qword [rsp + 0x30], rsi
and qword [rsp + 0x20], 0
mov rcx, r12
mov edx, 0x98000004
mov r9d, 0xc
call sub.WS2_32.dll_WSAIoctl
cmp eax, 0xffffffff
jne 0x1400fc16a
call fcn.140073043
lea rcx, [rsp + 0xf8]
mov qword [rcx], rax
call fcn.1400e28d0
cmp word [rbx + 0x48], 0
je 0x1400fc1de
cmp byte [r14 + 0x56], 0
je 0x1400fc22a
movsd xmm0, qword [r14 + 0x5b]
movss xmm1, dword [r14 + 0x63]
shufps xmm1, xmm0, 0xd4
movss xmm2, dword [r14 + 0x57]
unpcklps xmm2, xmm0
shufps xmm2, xmm1, 0x24
xorps xmm0, xmm0
lea rdx, [rsp + 0xf8]
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
movups xmmword [rdx + 0x1c], xmm0
movups xmmword [rdx + 8], xmm2
and dword [rdx + 0x18], 0
mov qword [rdx], 0x17
jmp 0x1400fc27c
cmp byte [r14 + 0x51], 0
je 0x1400fc235
mov eax, dword [r14 + 0x52]
xorps xmm0, xmm0
lea rdx, [rsp + 0xf8]
movups xmmword [rdx + 0x68], xmm0
movups xmmword [rdx + 0x58], xmm0
movups xmmword [rdx + 0x48], xmm0
movups xmmword [rdx + 0x38], xmm0
movups xmmword [rdx + 0x28], xmm0
movups xmmword [rdx + 0x18], xmm0
and qword [rdx + 0x78], 0
movups xmmword [rdx + 8], xmm0
mov dword [rdx], 2
mov dword [rdx + 4], eax
mov dword [rdx + 0x80], 0x10
jmp 0x1400fc27c
mov eax, 0x1c
mov cx, 0x17
jmp 0x1400fc23e
mov eax, 0x10
mov cx, 2
xorps xmm0, xmm0
lea rdx, [rsp + 0xf8]
movups xmmword [rdx + 0x68], xmm0
movups xmmword [rdx + 0x58], xmm0
movups xmmword [rdx + 0x48], xmm0
movups xmmword [rdx + 0x38], xmm0
movups xmmword [rdx + 0x28], xmm0
movups xmmword [rdx + 0x18], xmm0
movups xmmword [rdx + 8], xmm0
and qword [rdx + 0x78], 0
mov word [rdx], cx
and word [rdx + 2], 0
and dword [rdx + 4], 0
mov dword [rdx + 0x80], eax
mov rcx, r12
call fcn.14013462b
lea r8, [0x1402aca7f]
lea rsi, [rsp + 0x80]
mov r9d, 0x14
mov rcx, rsi
mov rdx, rax
call fcn.140067685
mov rdi, qword [rsi]
test rdi, rdi
jne 0x1400fc81e
cmp byte [r14 + 0x68], 0
je 0x1400fc2df
mov rcx, r12
mov edx, 4
mov r8d, 1
call fcn.140133fb4
test rax, rax
je 0x1400fc2df
lea rcx, [rsp + 0xf8]
mov qword [rcx], rax
call fcn.1400e28d0
cmp qword [r14], 0
je 0x1400fc31e
mov rax, qword [r14 + 8]
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.140133fb4
test rax, rax
je 0x1400fc31e
lea rcx, [rsp + 0xf8]
mov qword [rcx], rax
call fcn.1400e28d0
cmp qword [r14 + 0x10], 0
je 0x1400fc35e
mov rax, qword [r14 + 0x18]
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.140133fb4
test rax, rax
je 0x1400fc35e
lea rcx, [rsp + 0xf8]
mov qword [rcx], rax
call fcn.1400e28d0
movups xmm0, xmmword [rbx + 0x48]
movups xmm1, xmmword [rbx + 0x58]
movaps xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x1a0]
lea rsi, [rsp + 0x1f0]
mov ecx, 0x14
mov rdi, rax
rep movsd dword [rdi], dword [rsi]
mov ecx, dword [rsp + 0xa9]
mov edx, dword [rsp + 0xac]
mov dword [rsp + 0x5b], edx
mov dword [rsp + 0x58], ecx
lea r13, [rbx + 0x68]
mov qword [rbx + 0x68], rbp
mov ecx, dword [rsp + 0x7c]
mov dword [rbx + 0x70], ecx
movups xmmword [rbx + 0x78], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x88], xmm0
mov qword [rbx + 0x98], r12
lea rdi, [rbx + 0xa0]
mov ecx, 0xa
mov rsi, rax
rep movsq qword [rdi], qword [rsi]
xor eax, eax
mov byte [rbx + 0xf0], al
mov ecx, dword [rsp + 0x58]
mov edx, dword [rsp + 0x5b]
mov dword [rbx + 0xf1], ecx
mov dword [rbx + 0xf4], edx
mov byte [rbx + 0xf8], al
lea rcx, [rbx + 0xf9]
lea rdx, [rsp + 0x280]
mov r8d, 0xf7
call sub.msvcrt.dll_memcpy
lea r12, [rbx + 0x1f0]
mov r8d, 0x188
mov rcx, r12
mov rdx, r13
call sub.msvcrt.dll_memcpy
movzx eax, byte [rbx + 0x280]
lea rcx, [0x14026334c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov ebp, dword [rbx + 0x1f8]
cmp ebp, 0x3b9aca00
jne 0x1400fc4bb
lea rsi, [rbx + 0x200]
lea rdi, [rbx + 0x288]
mov ecx, 0x10
rep movsq qword [rdi], qword [rsi]
lea rsi, [rbx + 0x288]
lea rdi, [rsp + 0x280]
mov rcx, rdi
mov rdx, rsi
mov r8, r15
call fcn.1400fcb35
mov r14, qword [rdi]
cmp r14, 3
je 0x1400fc7f1
mov rdi, qword [rsp + 0x288]
movups xmm0, xmmword [rsp + 0x290]
movaps xmmword [rsp + 0x60], xmm0
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x70], rax
mov rcx, rsi
call fcn.1400fcadc
jmp 0x1400fc69e
mov r13, qword [rbx + 0x1f0]
lea rsi, [rbx + 0x200]
lea rdi, [rsp + 0xf8]
mov ecx, 0x10
rep movsq qword [rdi], qword [rsi]
call fcn.140138370
mov rcx, rax
mov r8, r13
mov r9d, ebp
call fcn.140165d20
cmp edx, 0x3b9aca00
jne 0x1400fc503
lea rcx, [rsp + 0x1f0]
call fcn.14017bfff
jmp 0x1400fc51d
mov r8d, edx
lea r9, str._.cargo_registry_src_index.crates.io_6f17d22bba15001f_hyper_0.14.27_src_client_connect_http.rs
lea rcx, [rsp + 0x1f0]
mov rdx, rax
call fcn.14017bec5
lea rdx, [rsp + 0x280]
lea rsi, [rsp + 0x1f0]
mov ecx, 0xe
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
lea rdi, [rsp + 0x2f0]
lea rsi, [rsp + 0xf8]
mov ecx, 0x10
rep movsq qword [rdi], qword [rsi]
lea rcx, [rbx + 0x288]
mov r8d, 0xf0
call sub.msvcrt.dll_memcpy
lea rsi, [rbx + 0x288]
lea r13, [rbx + 0x2f8]
call fcn.140176c55
mov edi, eax
lea rbp, [rsp + 0xf8]
mov rcx, rbp
mov rdx, r13
mov r8, r15
call fcn.1400fcb35
mov r14, qword [rbp]
cmp r14, 3
jne 0x1400fc5ff
cmp dil, 2
setne bpl
test dil, 1
sete dil
call fcn.140176c55
test bpl, dil
jne 0x1400fc63d
cmp al, 2
je 0x1400fc63d
and al, 1
jne 0x1400fc63d
xor ecx, ecx
call fcn.14017538c
mov dil, 2
test rax, rax
je 0x1400fc5dc
mov dil, byte [rax + 0x4c]
mov bpl, byte [rax + 0x4d]
mov byte [rax + 0x4c], 0
mov rcx, rsi
mov rdx, r15
call fcn.140178fba
mov r13d, eax
mov ecx, edi
mov edx, ebp
call fcn.1400fd616
test r13b, r13b
je 0x1400fc64c
mov al, 3
jmp 0x1400fc7f3
mov rdi, qword [rsp + 0x100]
mov rax, qword [rsp + 0x118]
movups xmm0, xmmword [rsp + 0x108]
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], rax
mov rcx, rsi
call fcn.1400fcafc
cmp r14d, 2
jne 0x1400fc684
mov r14d, 2
jmp 0x1400fc69e
mov rcx, rsi
mov rdx, r15
call fcn.140178fba
test al, al
jne 0x1400fc5f8
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [rsp + 0x1f0]
movaps xmmword [rsp + 0x80], xmm0
mov rcx, rsi
call fcn.1400fcafc
mov r14d, 2
call fcn.1400fd5db
mov rdi, rax
jmp 0x1400fc69e
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x60], xmm0
cmp r14d, 2
jne 0x1400fc6c3
lea rcx, [rsp + 0x1a8]
lea rdx, [0x14032299b]
mov r8d, 0x11
mov r9, rdi
call fcn.140067441
jmp 0x1400fc6e5
mov qword [rsp + 0x1a8], rdi
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x1b0], xmm0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1b0]
mov rdx, qword [rsp + 0x1b8]
mov r8, qword [rsp + 0x1c0]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0xc0], rdx
mov qword [rsp + 0xc8], r8
mov byte [rbx + 0x280], 1
mov rcx, r12
call fcn.1400fca9a
cmp r14d, 2
jne 0x1400fc78f
lea rcx, [rbx + 0x20]
call fcn.1400fcad1
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmm1, xmmword [rsp + 0xc0]
movups xmmword [rbx + 0x30], xmm1
movups xmmword [rbx + 0x20], xmm0
mov rax, qword [rbx + 0x40]
jmp 0x1400fbf3c
cmp qword [rbx + 0x20], 0
je 0x1400fc88a
lea rax, [rbx + 0x20]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xe0], xmm1
movaps xmmword [rsp + 0xd0], xmm0
jmp 0x1400fc8bb
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmm1, xmmword [rsp + 0xc0]
lea rax, [rsp + 0x260]
movaps xmmword [rax + 0x10], xmm1
movaps xmmword [rax], xmm0
mov r15, qword [rsp + 0x50]
jmp 0x1400fc868
lea rax, [rsp + 0x4f]
mov byte [rax], 1
lea r8, [rsp + 0x80]
mov qword [r8], rax
lea rax, str.82_
mov qword [rsp + 0x20], rax
lea rcx, [0x1403950f8]
lea r9, [0x140327aa8]
xor edx, edx
call fcn.1401356b0
jmp 0x1400fbfc7
mov al, 4
mov byte [rbx + 0x280], al
mov rax, qword [rsp + 0x50]
mov qword [rax], 3
mov al, 3
jmp 0x1400fc8e5
mov rsi, qword [rsp + 0x100]
movups xmm0, xmmword [rsp + 0x108]
jmp 0x1400fc82e
mov rsi, qword [rsp + 0x88]
movups xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x60], xmm0
mov rcx, r12
call fcn.140187694
mov r15, qword [rsp + 0x50]
lea rax, [rbx + 0x78]
mov qword [rbx + 0x78], rdi
mov qword [rbx + 0x80], rsi
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x88], xmm0
mov dword [rbx + 0x70], 0x3b9aca01
mov r14d, 2
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xe0], xmm1
movaps xmmword [rsp + 0xd0], xmm0
lea rcx, [rbx + 0x20]
call fcn.1400fcad1
jmp 0x1400fc8c6
lea rdx, str.Network_unreachabletcp_connect_error
mov r8d, 0x13
mov cl, 7
call fcn.140134002
lea rdx, [0x14032299b]
lea rcx, [rsp + 0xd0]
mov r8d, 0x11
mov r9, rax
call fcn.140067441
mov r14d, 2
mov r15, qword [rsp + 0x50]
mov qword [r15], r14
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmm1, xmmword [rsp + 0xe0]
movups xmmword [r15 + 8], xmm0
movups xmmword [r15 + 0x18], xmm1
mov al, 1
mov byte [rbx + 0x378], al
add rsp, 0x378
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, qword [rsp + 0x100]
movups xmm0, xmmword [rsp + 0x108]
movaps xmmword [rsp + 0x60], xmm0
jmp 0x1400fc83b
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chain_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_util_0.7.8_src_lib.rs
lea r8, str._.cargo_registry_src_index.crates.io_6f17d22bba15001f_hyper_0.14.27_src_client_connect_http.rs
mov edx, 0x23
call fcn.14003cdd0
ud2