Function at 0x1400b18cc
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 qword [rsp + 0x80], r8
mov rbx, rdx
movzx eax, byte [rdx + 0x868]
test eax, eax
mov qword [rsp + 0x98], rcx
je 0x1400b192c
cmp eax, 3
jne case.default.0x1400b192a
lea r14, [rbx + 0x400]
movzx eax, byte [rbx + 0x488]
lea rcx, [0x1400b2354]
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 edi, edi
jmp 0x1400b1c06
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.4_srclib.rs
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.23_srcclientconnecthttp.rs
jmp 0x1400b1b16
ud2
lea rsi, [rbx + 0x500]
lea rdi, [rbx + 0x780]
lea rcx, [0x14005b86d]
call fcn.1400f83dc
mov r13d, eax
lea r12, [rsp + 0x100]
mov rcx, r12
mov rdx, rdi
mov r8, qword [rsp + 0x80]
call fcn.1400b2368
mov r15, qword [r12]
test r15, r15
je 0x1400b1a15
lea rcx, [0x14005b86d]
call fcn.1400f83dc
test al, al
jne 0x1400b1a5f
xor r13b, 1
jne 0x1400b1a5f
mov eax, dword [0x140184a60]
mov rcx, qword gs:[0x58]
mov r12, qword [rcx + rax*8]
movzx r13d, word [r12 + 0x1b1]
mov byte [r12 + 0x1b1], 0
mov rcx, rsi
mov rdx, qword [rsp + 0x80]
call fcn.1400f9a2c
mov word [r12 + 0x1b1], r13w
jmp 0x1400b1a6f
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xb8], rax
mov r12, qword [rsp + 0x88]
jmp 0x1400b1a7f
mov rcx, rsi
mov rdx, qword [rsp + 0x80]
call fcn.1400f9a2c
test al, al
mov r12, qword [rsp + 0x88]
jne 0x1400b1b01
mov rcx, rdi
call fcn.1400b1893
mov rcx, rsi
call fcn.140080acb
test r15, r15
je 0x1400b1ab9
lea r8, [0x140143b68]
mov edx, 1
mov cl, 0x16
call fcn.1400da6a0
mov r13, rax
xor esi, esi
mov rax, r12
mov r15, qword [rsp + 0xa8]
jmp 0x1400b1af9
mov rax, qword [rsp + 0xc8]
mov r15, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
mov rsi, rdx
mov r13, qword [rsp + 0xa0]
test rdx, rdx
mov rdx, qword [rsp + 0xa8]
jne 0x1400b1af9
xor esi, esi
mov rax, r12
mov r15, rdx
mov r13, qword [rsp + 0xa0]
mov r12, rax
jmp 0x1400b1b8c
mov al, 3
jmp 0x1400b2237
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.4_srclib.rs
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.23_srcclientconnecthttp.rs
mov edx, 0x23
call fcn.140109250
ud2
lea rsi, [rbx + 0x410]
lea rdi, [rbx + 0x490]
mov ecx, 0xf
rep movsq qword [rdi], qword [rsi]
lea rdi, [rbx + 0x490]
lea rsi, [rsp + 0x400]
mov rcx, rsi
mov rdx, rdi
mov r8, qword [rsp + 0x80]
call fcn.1400b2368
cmp qword [rsi], 0
jne 0x1400b2235
mov r13, qword [rsp + 0x408]
mov r12, qword [rsp + 0x410]
mov r15, qword [rsp + 0x418]
mov rsi, qword [rsp + 0x420]
mov rcx, rdi
call fcn.1400b1893
test rsi, rsi
jne 0x1400b21e2
lea rcx, [0x140146bcb]
mov edx, 0x11
call fcn.140066c65
mov rdi, rax
mov rsi, rdx
mov rcx, r13
call fcn.14005670d
mov r13, rax
mov byte [rbx + 0x488], 1
mov rcx, r14
call fcn.1400b183b
cmp qword [rbx + 0x810], 0
je 0x1400b1bdc
lea rcx, [rbx + 0x800]
call fcn.1400b0076
mov qword [rbx + 0x800], r13
lea rax, fcn.14000d58e
mov qword [rbx + 0x808], rax
mov qword [rbx + 0x810], rdi
mov qword [rbx + 0x818], rsi
mov rax, qword [rbx + 0x850]
mov rcx, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
je 0x1400b225a
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 0x1400b2253
mov qword [rsp + 0x88], r12
mov qword [rsp + 0xa8], r15
lea r15, [rbx + 0x820]
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 r12, qword [rbx + 0x848]
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0xd0], rdx
mov ecx, dword [rcx + 0x28]
mov dword [rsp + 0x94], ecx
test ax, ax
mov eax, 2
mov esi, 0x17
cmove esi, eax
mov rax, qword [0x1401848d0]
cmp rax, 3
jne 0x1400b21f9
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
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b1d28
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
lea r14, [rax + 2]
lea rcx, str.tcp_open_errortcp_set_nonblocking_errortcp_bind_local_error
mov edx, 0xe
call fcn.140066c65
mov rdi, rax
mov rsi, rdx
mov rcx, r14
call fcn.14005670d
mov r13, rax
test rdi, rdi
jne 0x1400b22de
lea r8, [rsp + 0x100]
mov dword [r8], 1
mov rcx, r13
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x1400b1d7f
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
lea rdi, [rax + 2]
lea rcx, [0x14012f70e]
mov edx, 0x19
call fcn.140066c65
mov r14, rax
mov rsi, rdx
mov rcx, rdi
call fcn.14005670d
test r14, r14
jne 0x1400b2282
mov eax, dword [r12 + 0x28]
cmp eax, 0x3b9aca00
je 0x1400b1dc2
mov rcx, qword [r12 + 0x20]
lea rdx, [rsp + 0x100]
mov qword [rdx], rcx
mov dword [rdx + 8], eax
mov dword [rdx + 0x18], 0x3b9aca00
mov rcx, r13
call fcn.1400cf5e7
test rax, rax
je 0x1400b1dc2
lea rcx, [rsp + 0xd8]
mov qword [rcx], rax
call fcn.14000d58e
cmp word [r15], 0
je 0x1400b1e23
cmp byte [r12 + 0x56], 0
je 0x1400b1e7b
movups xmm0, xmmword [r12 + 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 0x1400b1f3f
cmp byte [r12 + 0x51], 0
je 0x1400b1ed1
mov eax, dword [r12 + 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 0x1400b1f3f
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 0x1400b1f21
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, r13
call fcn.1400cf57e
mov rdi, rax
test rax, rax
je 0x1400b1f77
lea rcx, [0x14012f727]
mov edx, 0x14
call fcn.140066c65
mov r14, rax
mov rsi, rdx
mov rcx, rdi
call fcn.14005670d
test r14, r14
jne 0x1400b2282
cmp byte [r12 + 0x68], 0
je 0x1400b1fa7
mov rcx, r13
mov edx, 4
mov r8d, 1
call fcn.1400cf5a9
test rax, rax
je 0x1400b1fa7
lea rcx, [rsp + 0x100]
mov qword [rcx], rax
call fcn.14000d58e
cmp qword [r12 + 0x30], 0
je 0x1400b1fe9
mov rax, qword [r12 + 0x38]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, r13
mov edx, 0x1001
call fcn.1400cf5a9
test rax, rax
je 0x1400b1fe9
lea rcx, [rsp + 0x100]
mov qword [rcx], rax
call fcn.14000d58e
cmp qword [r12 + 0x40], 0
je 0x1400b202b
mov rax, qword [r12 + 0x48]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, r13
mov edx, 0x1002
call fcn.1400cf5a9
test rax, rax
je 0x1400b202b
lea rcx, [rsp + 0x100]
mov qword [rcx], rax
call fcn.14000d58e
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
lea rsi, [rsp + 0x100]
movups xmmword [rsi + 0x30], xmm1
movups xmmword [rsi + 0x20], xmm0
lea rax, [rsp + 0x380]
mov ecx, 9
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
mov rcx, qword [rsp + 0xd0]
mov qword [rbx], rcx
mov ecx, dword [rsp + 0x94]
mov dword [rbx + 8], ecx
lea rcx, fcn.14000d58e
mov qword [rbx + 0x18], rcx
lea rdi, [rbx + 0x30]
mov ecx, 9
mov rsi, rax
rep movsq qword [rdi], qword [rsi]
mov qword [rbx + 0x78], r13
xor eax, eax
mov byte [rbx + 0x80], al
mov ecx, dword [rsp + 0xb1]
mov edx, dword [rsp + 0xb4]
mov dword [rbx + 0x81], ecx
mov dword [rbx + 0x84], edx
mov byte [rbx + 0x88], al
lea rcx, [rbx + 0x89]
lea rdx, [rsp + 0x400]
mov r8d, 0x377
call sub.VCRUNTIME140.dll_memcpy
lea r14, [rbx + 0x400]
mov r8d, 0x400
mov rcx, r14
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
movzx eax, byte [rbx + 0x488]
lea rcx, [0x1400b2354]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov r15d, dword [rbx + 0x408]
cmp r15d, 0x3b9aca00
je 0x1400b1b22
mov r12, qword [rbx + 0x400]
lea rsi, [rbx + 0x410]
lea rdi, [rsp + 0x380]
mov ecx, 0xf
rep movsq qword [rdi], qword [rsi]
call fcn.1400e82c0
add rax, r12
jae 0x1400b2146
lea rcx, [rsp + 0x100]
call fcn.1400febe7
jmp 0x1400b2192
mov r8d, edx
add r8d, r15d
cmp r8d, 0x3b9aca00
jb 0x1400b2161
add r8d, 0xc4653600
inc rax
je 0x1400b2137
mov ecx, r8d
shr ecx, 9
imul rcx, rcx, 0x44b83
shr rcx, 0x27
imul ecx, ecx, 0x3b9aca00
sub r8d, ecx
lea r9, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.23_srcclientconnecthttp.rs
lea rcx, [rsp + 0x100]
mov rdx, rax
call fcn.1400fe8e0
lea r12, [rsp + 0x400]
lea rdx, [rsp + 0x100]
mov r8d, 0x280
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
lea rdi, [rsp + 0x680]
lea rsi, [rsp + 0x380]
mov ecx, 0xf
rep movsq qword [rdi], qword [rsi]
lea rcx, [rbx + 0x500]
mov r8d, 0x300
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
jmp case.0x1400b192a.3
mov byte [rbx + 0x488], 1
mov rcx, r14
call fcn.1400b183b
xor r14d, r14d
jmp 0x1400b2305
lea rax, [rsp + 0xd8]
mov byte [rax], 1
lea r8, [rsp + 0x100]
mov qword [r8], rax
lea rax, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_socket2_0.4.7_src_syswindows.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1401848d0]
lea r9, [0x14014cd20]
xor edx, edx
call fcn.14010f840
jmp 0x1400b1cc2
mov al, 4
mov byte [rbx + 0x488], al
mov rax, qword [rsp + 0x98]
mov qword [rax], 2
mov al, 3
jmp 0x1400b2338
mov rdi, qword [rbx + 0x810]
test rdi, rdi
je 0x1400b2296
mov r13, qword [rbx + 0x800]
mov r12, qword [rbx + 0x808]
mov rsi, qword [rbx + 0x818]
mov r14d, 1
mov r15, rdi
jmp 0x1400b231b
mov rdi, rax
mov r15, r14
mov rcx, r13
call qword [sym.imp.ws2_32.dll_closesocket]
mov r13, rdi
jmp 0x1400b22e1
lea rdx, str.Network_unreachabletcp_connect_error
mov r8d, 0x13
mov cl, 7
call fcn.140067463
mov rdi, rax
lea rcx, [0x140146bcb]
mov edx, 0x11
call fcn.140066c65
mov r15, rax
mov rsi, rdx
mov rcx, rdi
call fcn.14005670d
mov r13, rax
mov r14d, 1
lea r12, fcn.14000d58e
jmp 0x1400b231b
mov r15, rdi
mov qword [rbx + 0x10], r13
lea r12, fcn.14000d58e
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], rsi
mov dword [rbx + 8], 0x3b9aca01
mov r14d, 1
cmp qword [rbx + 0x810], 0
je 0x1400b231b
lea rcx, [rbx + 0x800]
call fcn.1400b0076
mov rax, qword [rsp + 0x98]
mov qword [rax], r14
mov qword [rax + 8], r13
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], rsi
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