Function at 0x14009d120
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4d8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [rdx + 0x251]
test eax, eax
je 0x14009d160
cmp eax, 3
jne 0x14009da7e
mov rdx, qword [rsi + 0x240]
mov r9, qword [rsi + 0x248]
jmp 0x14009d3d4
movups xmm0, xmmword [rsi + 0x70]
movups xmmword [rsi + 0x148], xmm0
movups xmm0, xmmword [rsi + 0x60]
movups xmmword [rsi + 0x138], xmm0
movups xmm0, xmmword [rsi + 0x50]
movups xmmword [rsi + 0x128], xmm0
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rsi + 0x118], xmm0
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movups xmm3, xmmword [rsi + 0x30]
movups xmmword [rsi + 0x108], xmm3
movups xmmword [rsi + 0xf8], xmm2
movups xmmword [rsi + 0xe8], xmm1
movups xmmword [rsi + 0xd8], xmm0
movups xmm0, xmmword [rsi + 0x80]
movups xmmword [rsi + 0x158], xmm0
movups xmm0, xmmword [rsi + 0x90]
movups xmmword [rsi + 0x168], xmm0
movups xmm0, xmmword [rsi + 0xa0]
movups xmmword [rsi + 0x178], xmm0
movups xmm0, xmmword [rsi + 0xb0]
movups xmmword [rsi + 0x188], xmm0
movups xmm0, xmmword [rsi + 0xc0]
movups xmmword [rsi + 0x198], xmm0
mov rax, qword [rsi + 0xd0]
mov qword [rsi + 0x1a8], rax
movzx eax, byte [rsi + 0x250]
mov byte [rsi + 0x252], al
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0xf8]
movups xmmword [rsi + 0x1b0], xmm2
mov rax, qword [rsi + 0x108]
mov qword [rsi + 0x1c0], rax
movups xmmword [rsi + 0x1c8], xmm0
movups xmmword [rsi + 0x1d8], xmm1
mov rax, qword [rsi + 0x1b0]
lock inc qword [rax]
jle 0x14009da7c
mov rcx, qword [rsi + 0x1b8]
mov rdx, qword [rsi + 0x1c0]
lock inc qword [rcx]
jle 0x14009da7c
lea rbx, [rsi + 0x158]
lea r13, [rsi + 0x1e8]
mov qword [rsi + 0x1e8], rax
mov qword [rsi + 0x1f0], rcx
mov qword [rsi + 0x1f8], rdx
cmp byte [rsi + 0x151], 0
mov r12, r8
je 0x14009d2c6
lea rax, [rsi + 0x1c8]
cmp qword [rax], 0
je 0x14009d314
mov rcx, qword [rsi + 0x1d0]
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r14, rax
mov r15d, 1
jmp 0x14009d317
cmp byte [rbx], 0
je 0x14009d2a1
lea rdx, [0x140157d58]
mov rcx, rbx
call fcn.1400372a0
test al, al
je 0x14009d2a1
mov rcx, qword [r13]
xor edx, edx
mov eax, 1
lock cmpxchg qword [rcx], rdx
mov r14, qword [r13]
jne 0x14009d856
mov rax, qword [r14 + 8]
cmp rax, 1
jne 0x14009d970
mov qword [r14], 1
mov byte [r14 + 0x77], 1
jmp 0x14009d2a1
xor r15d, r15d
mov rcx, qword [rsi + 0x1d8]
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
movzx edx, word [rsi + 0x1e4]
lea rcx, [rsi + 0x200]
mov qword [rsi + 0x200], r15
mov qword [rsi + 0x208], r14
mov qword [rsi + 0x210], rax
mov eax, dword [rsi + 0x1e0]
mov dword [rsi + 0x218], eax
mov word [rsi + 0x21c], dx
mov byte [rsi + 0x238], 0
movups xmm0, xmmword [r13]
movups xmmword [rsi + 0x220], xmm0
mov rax, qword [r13 + 0x10]
mov qword [rsi + 0x230], rax
mov rax, qword [rbx + 0x50]
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [rbx + 0x40]
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmm2, xmmword [rbx + 0x20]
movups xmm3, xmmword [rbx + 0x30]
movaps xmmword [rsp + 0x70], xmm3
movaps xmmword [rsp + 0x60], xmm2
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
call fcn.14006bfd0
mov r9, rdx
mov rdx, rax
mov qword [rsi + 0x240], rax
mov qword [rsi + 0x248], r9
mov r8, r12
lea rcx, [rsp + 0x40]
call qword [r9 + 0x18]
mov r12, qword [rsp + 0x40]
cmp r12, 4
jne 0x14009d3f3
mov byte [rdi + 0x11], 3
mov al, 3
jmp 0x14009d53c
mov rbx, qword [rsp + 0x48]
mov r15, qword [rsp + 0x50]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x3c8]
mov r8d, 0x110
call fcn.140119a10
mov r14, qword [rsi + 0x240]
mov r13, qword [rsi + 0x248]
mov rax, qword [r13]
test rax, rax
je 0x14009d431
mov rcx, r14
call rax
cmp qword [r13 + 8], 0
je 0x14009d455
cmp qword [r13 + 0x10], 0x11
jb 0x14009d443
mov r14, qword [r14 - 8]
mov rcx, qword [0x140198260]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
cmp r12d, 3
jne 0x14009d556
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
je 0x14009d92d
mov rax, qword [rsi + 0x228]
lock dec qword [rax]
je 0x14009d94a
cmp qword [rsi + 0x200], 0
je 0x14009d498
mov rcx, qword [rsi + 0x208]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rsi + 0x210]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
cmp qword [rsi + 0x1c8], 0
je 0x14009d4be
mov rcx, qword [rsi + 0x1d0]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rsi + 0x1d8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov rax, qword [rsi + 0x1b0]
lock dec qword [rax]
je 0x14009d694
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
je 0x14009d6b1
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
je 0x14009d6d5
mov bpl, 2
cmp byte [rsi + 0x140], 2
je 0x14009d52b
lea rcx, [rsi + 0x138]
mov rax, qword [rsi + 0x120]
mov rdx, qword [rsi + 0x128]
mov r8, qword [rsi + 0x130]
call qword [rax + 0x10]
mov qword [rdi], rbx
mov qword [rdi + 8], r15
mov byte [rdi + 0x10], r14b
mov byte [rdi + 0x11], bpl
mov al, 1
mov byte [rsi + 0x251], al
add rsp, 0x4d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x2b8]
lea rdx, [rsp + 0x3c8]
mov r8d, 0x110
call fcn.140119a10
mov qword [rsp + 0x2a0], r12
mov qword [rsp + 0x2a8], rbx
mov qword [rsp + 0x2b0], r15
cmp r12, 2
jne 0x14009d6f6
movzx eax, byte [0x140198310]
mov edx, 0x128
xor ecx, ecx
call fcn.1400f21c0
test rax, rax
je 0x14009da8a
mov rbx, rax
lea rdx, [rsp + 0x2a0]
mov r8d, 0x128
mov rcx, rax
call fcn.140119a10
movzx r14d, byte [rsi + 0x252]
lea r15, [0x140158110]
xor ebp, ebp
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
jne 0x14009d5f2
mov rcx, qword [rsi + 0x220]
call fcn.140083340
mov rax, qword [rsi + 0x228]
lock dec qword [rax]
je 0x14009d7d1
cmp qword [rsi + 0x200], 0
je 0x14009d61a
mov rcx, qword [rsi + 0x208]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rsi + 0x210]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
cmp qword [rsi + 0x1c8], 0
je 0x14009d640
mov rcx, qword [rsi + 0x1d0]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rsi + 0x1d8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov rax, qword [rsi + 0x1b0]
lock dec qword [rax]
je 0x14009d7f7
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
je 0x14009d814
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
je 0x14009d838
cmp byte [rsi + 0x140], 2
jne 0x14009d50c
jmp 0x14009d52b
mov rcx, qword [rsi + 0x1b0]
call fcn.140083340
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
jne 0x14009d4ef
mov rcx, qword [rsi + 0x1b8]
mov rdx, qword [rsi + 0x1c0]
call fcn.1400111e0
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
jne 0x14009d500
mov rcx, qword [rsi + 0x148]
call fcn.140084110
mov bpl, 2
cmp byte [rsi + 0x140], 2
jne 0x14009d50c
jmp 0x14009d52b
lea rcx, [rsp + 0x170]
lea rdx, [rsp + 0x2a0]
mov r8d, 0x128
call fcn.140119a10
cmp byte [rsi + 0x151], 0
jne 0x14009d75b
mov rcx, qword [rsp + 0x198]
cmp rcx, 0xffffffffffffffff
je 0x14009da99
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14009d8d5
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x170]
mov r8d, 0x128
call fcn.140119a10
movzx eax, byte [0x140198310]
mov edx, 0x128
xor ecx, ecx
call fcn.1400f21c0
test rax, rax
je 0x14009da8a
mov rbx, rax
lea rdx, [rsp + 0x40]
mov r8d, 0x128
mov rcx, rax
call fcn.140119a10
movzx ebp, byte [rsi + 0x152]
movzx r14d, byte [rsi + 0x252]
lea r15, [0x140158350]
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
je 0x14009d5e6
jmp 0x14009d5f2
mov rcx, qword [rsi + 0x228]
mov rdx, qword [rsi + 0x230]
call fcn.1400111e0
cmp qword [rsi + 0x200], 0
jne 0x14009d60d
jmp 0x14009d61a
mov rcx, qword [rsi + 0x1b0]
call fcn.140083340
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
jne 0x14009d671
mov rcx, qword [rsi + 0x1b8]
mov rdx, qword [rsi + 0x1c0]
call fcn.1400111e0
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
jne 0x14009d682
mov rcx, qword [rsi + 0x148]
call fcn.140084110
cmp byte [rsi + 0x140], 2
jne 0x14009d50c
jmp 0x14009d52b
movzx eax, byte [0x140198310]
mov edx, 0x80
xor ecx, ecx
call fcn.1400f21c0
test rax, rax
je 0x14009daa5
mov r15, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov eax, dword [r14 + 0x38]
mov dword [rsp + 0x3c], eax
mov r11, qword [r14 + 0x30]
movzx eax, byte [r14 + 0x60]
mov byte [rsp + 0x37], al
mov eax, dword [r14 + 0x48]
mov dword [rsp + 0x38], eax
mov rbp, qword [r14 + 0x40]
mov r8d, dword [r14 + 0x58]
mov rax, qword [r14 + 0x50]
movzx r9d, byte [r14 + 0x61]
mov r10d, dword [r14 + 0x62]
cmp byte [r14 + 0x66], 0
je 0x14009d9fb
movups xmm0, xmmword [r14 + 0x67]
movaps xmmword [rsp + 0x170], xmm0
mov cl, 1
jmp 0x14009d9fd
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
movzx eax, byte [0x140198310]
mov edx, 8
xor ecx, ecx
call fcn.1400f21c0
test rax, rax
je 0x14009dab4
mov rbx, rax
shl r14, 0x20
or r14, 2
mov qword [rax], r14
lea rcx, [rsp + 0x170]
call fcn.140091cf0
lea r15, [0x140153368]
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
jne 0x14009d470
mov rcx, qword [rsi + 0x220]
call fcn.140083340
mov rax, qword [rsi + 0x228]
lock dec qword [rax]
jne 0x14009d481
mov rcx, qword [rsi + 0x228]
mov rdx, qword [rsi + 0x230]
call fcn.1400111e0
cmp qword [rsi + 0x200], 0
jne 0x14009d48b
jmp 0x14009d498
lea rcx, [rsp + 0x40]
call fcn.140084470
mov rax, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
lea rcx, [rax + 0xf]
neg rax
and rax, rcx
movups xmm0, xmmword [r14 + 0x70]
movups xmmword [r15 + rax + 0x60], xmm0
movups xmm0, xmmword [r14 + 0x60]
movups xmmword [r15 + rax + 0x50], xmm0
movups xmm0, xmmword [r14 + 0x50]
movups xmmword [r15 + rax + 0x40], xmm0
movups xmm0, xmmword [r14 + 0x10]
movups xmm1, xmmword [r14 + 0x20]
movups xmm2, xmmword [r14 + 0x30]
movups xmm3, xmmword [r14 + 0x40]
movups xmmword [r15 + rax + 0x30], xmm3
movups xmmword [r15 + rax + 0x20], xmm2
movups xmmword [r15 + rax + 0x10], xmm1
movups xmmword [r15 + rax], xmm0
cmp byte [rsp + 0x58], 0
je 0x14009dac3
mov qword [r13], r15
mov rcx, r14
call fcn.140083340
mov byte [r15 + 0x77], 1
jmp 0x14009d2a1
xor ecx, ecx
movzx edx, word [r14 + 0x77]
movups xmm0, xmmword [r14 + 0x10]
movups xmm1, xmmword [r14 + 0x20]
movups xmmword [r15 + 0x10], xmm0
movups xmmword [r15 + 0x20], xmm1
mov qword [r15 + 0x30], r11
mov r11d, dword [rsp + 0x3c]
mov dword [r15 + 0x38], r11d
mov qword [r15 + 0x40], rbp
mov r11d, dword [rsp + 0x38]
mov dword [r15 + 0x48], r11d
mov qword [r15 + 0x50], rax
mov dword [r15 + 0x58], r8d
movzx eax, byte [rsp + 0x37]
mov byte [r15 + 0x60], al
mov byte [r15 + 0x61], r9b
mov dword [r15 + 0x62], r10d
mov byte [r15 + 0x66], cl
movaps xmm0, xmmword [rsp + 0x170]
movups xmmword [r15 + 0x67], xmm0
mov word [r15 + 0x77], dx
lock dec qword [r14]
jne 0x14009da6e
mov rcx, qword [r13]
call fcn.140083340
mov qword [r13], r15
mov byte [r15 + 0x77], 1
jmp 0x14009d2a1
ud2
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_reqwest_0.11.27_srcconnect.rs
call fcn.14011b000
mov ecx, 8
mov edx, 0x128
call fcn.14011a540
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_srciopoll_evented.rs
call fcn.14011adb0
mov ecx, 8
mov edx, 0x80
call fcn.14011a540
mov ecx, 8
mov edx, 8
call fcn.14011a540
lea rcx, str._rustc_c6727fc9b5c64cefa7263486497ee95e529bd0f8library_alloc_src_sync.rs
call fcn.14011adb0
int3