Function at 0x1400480fb
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, 0x348
mov rbx, rdx
mov qword [rsp + 0x50], rcx
movzx eax, byte [rdx + 0x378]
test eax, eax
mov qword [rsp + 0x58], r8
je 0x14004814c
cmp eax, 3
jne case.default.0x14004814a
mov r15, r8
lea r12, [rbx + 0x1f0]
movzx eax, byte [rbx + 0x280]
lea rcx, [0x1400d401c]
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 0x14004817e
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chain._registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srcutilpoll_buf.rs
lea r8, str.._registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.28_srcclientconnecthttp.rs
mov edx, 0x23
call fcn.14000b310
mov rcx, qword [rax + 0x10]
cmp rcx, qword [rax + 0x18]
je 0x1400489a7
lea rdx, [rcx + 0x20]
mov qword [rax + 0x10], rdx
movzx r14d, word [rcx]
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x1ae], xmm0
movups xmm0, xmmword [rcx + 2]
movaps xmmword [rsp + 0x1a0], xmm0
cmp r14w, 2
je 0x1400489a7
mov word [rbx + 0x48], r14w
movaps xmm0, xmmword [rsp + 0x1a0]
movups xmmword [rbx + 0x4a], xmm0
movups xmm0, xmmword [rsp + 0x1ae]
movups xmmword [rbx + 0x58], xmm0
mov rax, qword [rbx + 0x10]
mov r13, qword [rbx + 0x18]
mov rbp, qword [rax + 0x20]
mov edi, dword [rax + 0x28]
test r14w, r14w
mov eax, 2
mov esi, 0x17
cmove esi, eax
mov rax, qword [0x14016a040]
cmp rax, 3
jne 0x1400489fb
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 rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14004826d
call fcn.140038f84
lea rdx, str.tcp_open_errortcp_set_nonblocking_errortcp_bind_local_error
lea rsi, [rsp + 0x118]
mov r8d, 0xe
mov rcx, rsi
mov r9, rax
call fcn.1400320a8
mov r12, qword [rsi]
test r12, r12
jne 0x140048b40
mov rsi, qword [rsp + 0x120]
mov dword [rsp + 0x84], edi
lea rdi, [rsp + 0x88]
mov dword [rdi], 1
mov rcx, rsi
mov edx, 0x8004667e
mov r8, rdi
call sub.ws2_32.dll_ioctlsocket
xor edx, edx
cmp eax, 0xffffffff
jne 0x1400482a1
call fcn.140038f84
mov rdx, rax
lea r8, [0x140111516]
lea r12, [rsp + 0x118]
mov r9d, 0x19
mov rcx, r12
call fcn.140032270
mov r12, qword [r12]
test r12, r12
jne 0x140048a4f
mov r15, rbp
mov ebp, dword [r13 + 0x48]
cmp ebp, 0x3b9aca00
je 0x1400483a0
mov r12, qword [r13 + 0x40]
mov rcx, rsi
mov edx, 8
mov r8d, 1
call fcn.14008bc6f
test rax, rax
je 0x14004830f
lea rcx, [rsp + 0x118]
mov qword [rcx], rax
call fcn.14002c117
jmp 0x1400483a0
mov ecx, 0x3e8
mov rax, r12
mul rcx
mov rcx, rax
mov r8, rdx
xor r9d, r9d
mov r10d, 0xf4240
mov eax, ebp
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 + 0x118]
mov dword [r8], 1
mov dword [r8 + 4], r9d
and dword [r8 + 8], 0
and dword [rsp + 0x88], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
and dword [rsp + 0x28], 0
mov qword [rsp + 0x30], rdi
and qword [rsp + 0x20], 0
mov rcx, rsi
mov edx, 0x98000004
mov r9d, 0xc
call sub.ws2_32.dll_WSAIoctl
cmp eax, 0xffffffff
je 0x14004899d
test r14w, r14w
je 0x140048413
cmp byte [r13 + 0x56], 0
mov r14, r15
je 0x14004846f
movsd xmm0, qword [r13 + 0x5b]
movss xmm1, dword [r13 + 0x63]
shufps xmm1, xmm0, 0xd4
movss xmm2, dword [r13 + 0x57]
unpcklps xmm2, xmm0
shufps xmm2, xmm1, 0x24
xorps xmm0, xmm0
lea rdx, [rsp + 0x118]
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 0x140048460
cmp byte [r13 + 0x51], 0
mov r14, r15
je 0x14004847a
mov eax, dword [r13 + 0x52]
xorps xmm0, xmm0
lea rdx, [rsp + 0x118]
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
mov rcx, rsi
call fcn.14008bc4b
mov r15, qword [rsp + 0x58]
jmp 0x1400484ce
mov eax, 0x1c
mov cx, 0x17
jmp 0x140048483
mov eax, 0x10
mov cx, 2
mov r15, qword [rsp + 0x58]
xorps xmm0, xmm0
lea rdx, [rsp + 0x118]
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, rsi
call fcn.14008bc4b
lea r8, [0x14011152f]
lea rdi, [rsp + 0x88]
mov r9d, 0x14
mov rcx, rdi
mov rdx, rax
call fcn.140032270
mov r12, qword [rdi]
test r12, r12
jne 0x140048a61
cmp byte [r13 + 0x68], 0
je 0x140048529
mov rcx, rsi
mov edx, 4
mov r8d, 1
call fcn.14008bc6f
test rax, rax
je 0x140048529
lea rcx, [rsp + 0x118]
mov qword [rcx], rax
call fcn.14002c117
cmp qword [r13], 0
mov edi, dword [rsp + 0x84]
je 0x140048570
mov rax, qword [r13 + 8]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, rsi
mov edx, 0x1001
call fcn.14008bc6f
test rax, rax
je 0x140048570
lea rcx, [rsp + 0x118]
mov qword [rcx], rax
call fcn.14002c117
cmp qword [r13 + 0x10], 0
je 0x1400485b0
mov rax, qword [r13 + 0x18]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, rsi
mov edx, 0x1002
call fcn.14008bc6f
test rax, rax
je 0x1400485b0
lea rcx, [rsp + 0x118]
mov qword [rcx], rax
call fcn.14002c117
movups xmm0, xmmword [rbx + 0x48]
movups xmm1, xmmword [rbx + 0x58]
movaps xmmword [rsp + 0x60], xmm1
lea r13, [rbx + 0x68]
mov qword [rbx + 0x68], r14
mov dword [rbx + 0x70], edi
movups xmmword [rbx + 0x78], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x88], xmm0
mov qword [rbx + 0x98], rsi
lea rdi, [rbx + 0xa0]
lea rsi, [rsp + 0x1c0]
mov ecx, 0xa
rep movsq qword [rdi], qword [rsi]
xor eax, eax
mov byte [rbx + 0xf0], al
mov ecx, dword [rsp + 0xb0]
mov edx, dword [rsp + 0xb3]
mov dword [rbx + 0xf1], ecx
mov dword [rbx + 0xf4], edx
mov byte [rbx + 0xf8], al
lea rcx, [rbx + 0xf9]
lea rdx, [rsp + 0x250]
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, [0x1400d401c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov ebp, dword [rbx + 0x1f8]
cmp ebp, 0x3b9aca00
jne 0x1400486ea
lea rsi, [rbx + 0x200]
lea rdi, [rbx + 0x288]
mov ecx, 0x10
rep movsq qword [rdi], qword [rsi]
lea rsi, [rbx + 0x288]
lea rdi, [rsp + 0x250]
mov rcx, rdi
mov rdx, rsi
mov r8, r15
call fcn.140048d71
mov r14, qword [rdi]
cmp r14, 3
je 0x140048a34
mov rdi, qword [rsp + 0x258]
movups xmm0, xmmword [rsp + 0x260]
movaps xmmword [rsp + 0xb0], xmm0
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0xc0], rax
mov rcx, rsi
call fcn.140048d18
jmp 0x1400488b7
mov r13, qword [rbx + 0x1f0]
lea rsi, [rbx + 0x200]
lea rdi, [rsp + 0x118]
mov ecx, 0x10
rep movsq qword [rdi], qword [rsi]
call fcn.14008f820
mov rcx, rax
mov r8, r13
mov r9d, ebp
call fcn.1400baec0
cmp edx, 0x3b9aca00
jne 0x140048732
lea rcx, [rsp + 0x1c0]
call fcn.1400c7f0a
jmp 0x14004874c
mov r8d, edx
lea r9, str.._registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.28_srcclientconnecthttp.rs
lea rcx, [rsp + 0x1c0]
mov rdx, rax
call fcn.1400c7d9a
lea rdx, [rsp + 0x250]
lea rsi, [rsp + 0x1c0]
mov ecx, 0xe
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
lea rdi, [rsp + 0x2c0]
lea rsi, [rsp + 0x118]
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.1400c2447
mov edi, eax
lea rbp, [rsp + 0x118]
mov rcx, rbp
mov rdx, r13
mov r8, r15
call fcn.140048d71
mov r14, qword [rbp]
cmp r14, 3
jne 0x140048865
cmp dil, 2
setne bpl
test dil, 1
sete dil
call fcn.1400c2447
test bpl, dil
jne 0x140048983
cmp al, 2
je 0x140048983
and al, 1
jne 0x140048983
xor ecx, ecx
call fcn.1400c162e
mov dil, 2
test rax, rax
je 0x140048813
mov dil, byte [rax + 0x4c]
mov bpl, byte [rax + 0x4d]
mov byte [rax + 0x4c], 0
mov rcx, rsi
mov rdx, r15
call fcn.1400c48c5
mov r13d, eax
mov ecx, edi
mov edx, ebp
call fcn.140049798
test r13b, r13b
jne 0x140048996
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [rsp + 0x1c0]
movaps xmmword [rsp + 0x60], xmm0
mov rcx, rsi
call fcn.140048d38
mov r14d, 2
call fcn.140049728
mov rdi, rax
jmp 0x1400488b7
mov rdi, qword [rsp + 0x120]
mov rax, qword [rsp + 0x138]
movups xmm0, xmmword [rsp + 0x128]
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov rcx, rsi
call fcn.140048d38
cmp r14d, 2
jne 0x14004889d
mov r14d, 2
jmp 0x1400488b7
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xc0], rax
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0xb0], xmm0
cmp r14d, 2
jne 0x1400488dc
lea rcx, [rsp + 0x90]
lea rdx, [0x140124d53]
mov r8d, 0x11
mov r9, rdi
call fcn.1400320a8
jmp 0x140048904
mov qword [rsp + 0x90], rdi
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rsp + 0x98], xmm0
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa8]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xe0], rdx
mov qword [rsp + 0xe8], r8
mov byte [rbx + 0x280], 1
mov rcx, r12
call fcn.140048cd6
cmp r14d, 2
jne 0x1400489d2
lea rcx, [rbx + 0x20]
call fcn.140048d0d
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmm1, xmmword [rsp + 0xe0]
movups xmmword [rbx + 0x30], xmm1
movups xmmword [rbx + 0x20], xmm0
mov rax, qword [rbx + 0x40]
jmp 0x14004817e
mov rcx, rsi
mov rdx, r15
call fcn.1400c48c5
test al, al
je 0x140048833
mov al, 3
jmp 0x140048a36
call fcn.140038f84
jmp 0x1400482fa
cmp qword [rbx + 0x20], 0
je 0x140048acd
lea rax, [rbx + 0x20]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x100], xmm1
movaps xmmword [rsp + 0xf0], xmm0
jmp 0x140048afe
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmm1, xmmword [rsp + 0xe0]
lea rax, [rsp + 0x230]
movaps xmmword [rax + 0x10], xmm1
movaps xmmword [rax], xmm0
mov rsi, qword [rsp + 0x50]
jmp 0x140048aab
lea rax, [rsp + 0x4f]
mov byte [rax], 1
lea r8, [rsp + 0x88]
mov qword [r8], rax
lea rax, str.._registry_srcindex.crates.io_6f17d22bba15001f_socket2_0.5.6_src_syswindows.rsp
mov qword [rsp + 0x20], rax
lea rcx, [0x14016a040]
lea r9, [0x14012cde0]
xor edx, edx
call fcn.14008cae0
jmp 0x140048209
mov al, 4
mov byte [rbx + 0x280], al
mov rax, qword [rsp + 0x50]
mov qword [rax], 3
mov al, 3
jmp 0x140048b26
mov rdi, qword [rsp + 0x120]
movups xmm0, xmmword [rsp + 0x128]
jmp 0x140048a71
mov rdi, qword [rsp + 0x90]
movups xmm0, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x60], xmm0
mov rcx, rsi
call fcn.1400cf6dc
mov rsi, qword [rsp + 0x50]
lea rax, [rbx + 0x78]
mov qword [rbx + 0x78], r12
mov qword [rbx + 0x80], rdi
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 + 0x100], xmm1
movaps xmmword [rsp + 0xf0], xmm0
lea rcx, [rbx + 0x20]
call fcn.140048d0d
jmp 0x140048b09
lea rdx, str.Network_unreachabletcp_connect_error
mov r8d, 0x13
mov cl, 7
call fcn.1400384de
lea rdx, [0x140124d53]
lea rcx, [rsp + 0xf0]
mov r8d, 0x11
mov r9, rax
call fcn.1400320a8
mov r14d, 2
mov rsi, qword [rsp + 0x50]
mov qword [rsi], r14
movaps xmm0, xmmword [rsp + 0xf0]
movaps xmm1, xmmword [rsp + 0x100]
movups xmmword [rsi + 8], xmm0
movups xmmword [rsi + 0x18], xmm1
mov al, 1
mov byte [rbx + 0x378], al
add rsp, 0x348
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsp + 0x120]
movups xmm0, xmmword [rsp + 0x128]
movaps xmmword [rsp + 0x60], xmm0
jmp 0x140048a7e
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chain._registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srcutilpoll_buf.rs
lea r8, str.._registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.28_srcclientconnecthttp.rs
jmp 0x140048174
ud2