Function at 0x1400d22f0
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x398
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [rdx + 0x251]
test eax, eax
je 0x1400d2333
cmp eax, 3
jne 0x1400d2c70
mov r8, qword [rsi + 0x160]
mov rax, qword [rsi + 0x168]
jmp 0x1400d258b
movups xmm0, xmmword [rsi + 0xf0]
movups xmmword [rsi + 0x70], xmm0
movups xmm0, xmmword [rsi + 0xe0]
movups xmmword [rsi + 0x60], xmm0
movups xmm0, xmmword [rsi + 0xd0]
movups xmmword [rsi + 0x50], xmm0
movups xmm0, xmmword [rsi + 0xc0]
movups xmmword [rsi + 0x40], xmm0
movups xmm0, xmmword [rsi + 0x80]
movups xmm1, xmmword [rsi + 0x90]
movups xmm2, xmmword [rsi + 0xa0]
movups xmm3, xmmword [rsi + 0xb0]
movups xmmword [rsi + 0x30], xmm3
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
movups xmm0, xmmword [rsi + 0x1f8]
movups xmmword [rsi + 0x170], xmm0
movups xmm0, xmmword [rsi + 0x208]
movups xmmword [rsi + 0x180], xmm0
movups xmm0, xmmword [rsi + 0x218]
movups xmmword [rsi + 0x190], xmm0
movups xmm0, xmmword [rsi + 0x228]
movups xmmword [rsi + 0x1a0], xmm0
movups xmm0, xmmword [rsi + 0x238]
movups xmmword [rsi + 0x1b0], xmm0
mov rax, qword [rsi + 0x248]
mov qword [rsi + 0x1c0], rax
movzx eax, byte [rsi + 0x252]
mov byte [rsi + 0x250], al
movups xmm0, xmmword [rsi + 0x40]
movups xmm1, xmmword [rsi + 0x50]
movups xmm2, xmmword [rsi + 0x60]
movups xmmword [rsi + 0x1c8], xmm2
mov rax, qword [rsi + 0x70]
mov qword [rsi + 0x1d8], rax
movups xmmword [rsi + 0x140], xmm0
movups xmmword [rsi + 0x150], xmm1
lock inc qword [rax]
jle 0x1400d2c6c
mov rcx, qword [rsi + 0x1c8]
mov rdx, qword [rsi + 0x1d0]
lock inc qword [rcx]
jle 0x1400d2c6c
lea r15, [rsi + 0x140]
lea r14, [rsi + 0x1e0]
mov qword [rsi + 0x1f0], rax
mov qword [rsi + 0x1e0], rcx
mov qword [rsi + 0x1e8], rdx
cmp byte [rsi + 0x79], 0
je 0x1400d2487
lea r12, [rsi + 0x170]
cmp qword [r15], 0
je 0x1400d24b5
mov rcx, qword [rsi + 0x148]
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r15, rax
mov r13d, 1
jmp 0x1400d24b8
cmp byte [rsi + 0x190], 0
je 0x1400d2462
lea rcx, [rsi + 0x190]
lea rdx, [0x1401a01a8]
call fcn.140030190
test al, al
je 0x1400d2462
mov rcx, r14
call fcn.14007ea10
mov byte [rax + 0x67], 1
jmp 0x1400d2462
xor r13d, r13d
mov rcx, qword [rsi + 0x150]
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
movzx edx, word [rsi + 0x15c]
lea rcx, [rsi + 0x100]
movups xmm0, xmmword [r14]
movups xmmword [rsi + 0x120], xmm0
mov r8, qword [r14 + 0x10]
mov qword [rsi + 0x130], r8
mov qword [rsi + 0x100], r13
mov qword [rsi + 0x108], r15
mov qword [rsi + 0x110], rax
mov eax, dword [rsi + 0x158]
mov dword [rsi + 0x118], eax
mov word [rsi + 0x11c], dx
mov byte [rsi + 0x138], 0
mov rax, qword [r12 + 0x50]
mov qword [rsp + 0x220], rax
movups xmm0, xmmword [r12 + 0x40]
movaps xmmword [rsp + 0x210], xmm0
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movups xmm2, xmmword [r12 + 0x20]
movups xmm3, xmmword [r12 + 0x30]
movaps xmmword [rsp + 0x200], xmm3
movaps xmmword [rsp + 0x1f0], xmm2
movaps xmmword [rsp + 0x1e0], xmm1
movaps xmmword [rsp + 0x1d0], xmm0
lea rdx, [rsp + 0x1d0]
call fcn.14005eb40
mov r8, rax
mov rax, rdx
mov qword [rsi + 0x160], r8
mov qword [rsi + 0x168], rdx
lea rcx, [rsp + 0x1d0]
mov rdx, r8
mov r8, rbx
call qword [rax + 0x18]
mov r14, qword [rsp + 0x250]
cmp r14, 4
jne 0x1400d25b5
mov byte [rdi + 0x10], 3
mov al, 3
jmp 0x1400d2964
mov rbx, qword [rsp + 0x1d0]
mov r15, qword [rsp + 0x1d8]
movups xmm0, xmmword [rsp + 0x1e0]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rsp + 0x1f0]
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rsp + 0x200]
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rsp + 0x210]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rsp + 0x220]
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rsp + 0x230]
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rsp + 0x240]
movaps xmmword [rsp + 0x90], xmm0
lea rdx, [rsp + 0x258]
lea rcx, [rsp + 0x2f8]
mov r8d, 0xa0
call fcn.140137a60
mov rcx, qword [rsi + 0x160]
mov rax, qword [rsi + 0x168]
call qword [rax]
mov rax, qword [rsi + 0x168]
cmp qword [rax + 8], 0
je 0x1400d2680
mov r8, qword [rsi + 0x160]
cmp qword [rax + 0x10], 0x11
jb 0x1400d2671
mov r8, qword [r8 - 8]
mov rcx, qword [0x1401e4bf8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp r14d, 2
je 0x1400d2749
cmp r14d, 3
jne 0x1400d297e
mov rax, qword [rsi + 0x130]
lock dec qword [rax]
je 0x1400d2c29
mov rax, qword [rsi + 0x120]
lock dec qword [rax]
je 0x1400d2c46
cmp qword [rsi + 0x100], 0
je 0x1400d26cd
mov rcx, qword [rsi + 0x108]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rsi + 0x110]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
cmp qword [rsi + 0x140], 0
je 0x1400d26f3
mov rcx, qword [rsi + 0x148]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rsi + 0x150]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov rax, qword [rsi + 0x1d8]
lock dec qword [rax]
je 0x1400d2b6e
mov rax, qword [rsi + 0x1c8]
lock dec qword [rax]
je 0x1400d2b8b
mov rax, qword [rsi + 0x10]
lock dec qword [rax]
jne 0x1400d2737
mov rcx, qword [rsi + 0x10]
call fcn.1400d04a0
mov bpl, 2
cmp byte [rsi + 0x38], 2
jne 0x1400d2944
jmp 0x1400d2957
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movaps xmm3, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xc0], xmm2
movaps xmmword [rsp + 0xd0], xmm3
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0xe0], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0xf0], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x100], xmm0
lea rcx, [rsp + 0x1d0]
lea rdx, [rsp + 0x2f8]
mov r8d, 0xa0
call fcn.140137a60
mov rcx, qword [0x1401e4bf8]
test rcx, rcx
jne 0x1400d27ea
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400d2c8a
mov rcx, rax
mov qword [0x1401e4bf8], rax
mov r8d, 0x128
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400d2c8a
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], r15
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmm1, xmmword [rsp + 0xb0]
movaps xmm2, xmmword [rsp + 0xc0]
movaps xmm3, xmmword [rsp + 0xd0]
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm1
movups xmmword [rax + 0x30], xmm2
movups xmmword [rax + 0x40], xmm3
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rax + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0xf0]
movups xmmword [rax + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0x100]
movups xmmword [rax + 0x70], xmm0
mov qword [rax + 0x80], 2
mov rcx, rax
add rcx, 0x88
lea rdx, [rsp + 0x1d0]
mov r8d, 0xa0
call fcn.140137a60
movzx ebp, byte [rsi + 0x250]
lea r15, [0x1401a1230]
mov rbx, r14
mov rax, qword [rsi + 0x130]
lock dec qword [rax]
jne 0x1400d28b1
mov rcx, qword [rsi + 0x130]
call fcn.1400cf5b0
mov rax, qword [rsi + 0x120]
lock dec qword [rax]
je 0x1400d2af2
cmp qword [rsi + 0x100], 0
je 0x1400d28d9
mov rcx, qword [rsi + 0x108]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rsi + 0x110]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
cmp qword [rsi + 0x140], 0
je 0x1400d28ff
mov rcx, qword [rsi + 0x148]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rsi + 0x150]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov rax, qword [rsi + 0x1d8]
lock dec qword [rax]
je 0x1400d2b18
mov rax, qword [rsi + 0x1c8]
lock dec qword [rax]
je 0x1400d2b35
mov rax, qword [rsi + 0x10]
lock dec qword [rax]
je 0x1400d2b56
cmp byte [rsi + 0x38], 2
je 0x1400d2957
mov rax, qword [rsi + 0x30]
lea rcx, [rsi + 0x28]
mov rdx, qword [rsi + 0x18]
mov r8, qword [rsi + 0x20]
call qword [rax + 0x10]
mov qword [rdi], rbx
mov qword [rdi + 8], r15
mov byte [rdi + 0x10], bpl
mov al, 1
mov byte [rsi + 0x251], al
add rsp, 0x398
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], r15
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movaps xmm3, xmmword [rsp + 0x60]
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm1
movups xmmword [rsp + 0xd0], xmm2
movups xmmword [rsp + 0xe0], xmm3
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0xf0], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rsp + 0x100], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x120], r14
lea rcx, [rsp + 0x128]
lea rdx, [rsp + 0x2f8]
mov r8d, 0xa0
call fcn.140137a60
cmp byte [rsi + 0x79], 0
jne 0x1400d2a5e
mov rcx, qword [rsp + 0x140]
cmp rcx, 0xffffffffffffffff
je 0x1400d2c9b
mov dword [rsp + 0x1d0], 0
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x1d0]
mov edx, 6
mov r8d, 1
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400d2bb1
lea rcx, [rsp + 0x1d0]
lea rdx, [rsp + 0xa0]
mov r8d, 0x128
call fcn.140137a60
mov rcx, qword [0x1401e4bf8]
test rcx, rcx
jne 0x1400d2a9e
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400d2c8a
mov rcx, rax
mov qword [0x1401e4bf8], rax
mov r8d, 0x128
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400d2c8a
mov rbx, rax
lea rdx, [rsp + 0x1d0]
mov r8d, 0x128
mov rcx, rax
call fcn.140137a60
movzx ebp, byte [rsi + 0x250]
lea r15, [0x1401a1320]
mov rax, qword [rsi + 0x130]
lock dec qword [rax]
je 0x1400d28a5
jmp 0x1400d28b1
mov rcx, qword [rsi + 0x120]
mov rdx, qword [rsi + 0x128]
call fcn.14003abb0
cmp qword [rsi + 0x100], 0
jne 0x1400d28cc
jmp 0x1400d28d9
mov rcx, qword [rsi + 0x1d8]
call fcn.1400cf5b0
mov rax, qword [rsi + 0x1c8]
lock dec qword [rax]
jne 0x1400d2930
mov rcx, qword [rsi + 0x1c8]
mov rdx, qword [rsi + 0x1d0]
call fcn.14003abb0
mov rax, qword [rsi + 0x10]
lock dec qword [rax]
jne 0x1400d293e
mov rcx, qword [rsi + 0x10]
call fcn.1400d04a0
cmp byte [rsi + 0x38], 2
jne 0x1400d2944
jmp 0x1400d2957
mov rcx, qword [rsi + 0x1d8]
call fcn.1400cf5b0
mov rax, qword [rsi + 0x1c8]
lock dec qword [rax]
jne 0x1400d2724
mov rcx, qword [rsi + 0x1c8]
mov rdx, qword [rsi + 0x1d0]
call fcn.14003abb0
mov rax, qword [rsi + 0x10]
lock dec qword [rax]
je 0x1400d272e
jmp 0x1400d2737
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
mov rcx, qword [0x1401e4bf8]
test rcx, rcx
jne 0x1400d2bdf
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400d2cb5
mov rcx, rax
mov qword [0x1401e4bf8], rax
mov r8d, 8
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400d2cb5
mov rbx, rax
shl r14, 0x20
or r14, 2
mov qword [rax], r14
lea rcx, [rsp + 0xa0]
call fcn.1400b2dc0
lea r15, fcn.1400ade50
mov rax, qword [rsi + 0x130]
lock dec qword [rax]
jne 0x1400d26a5
mov rcx, qword [rsi + 0x130]
call fcn.1400cf5b0
mov rax, qword [rsi + 0x120]
lock dec qword [rax]
jne 0x1400d26b6
mov rcx, qword [rsi + 0x120]
mov rdx, qword [rsi + 0x128]
call fcn.14003abb0
cmp qword [rsi + 0x100], 0
jne 0x1400d26c0
jmp 0x1400d26cd
ud2
lea rcx, [0x14019fd50]
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_reqwest_0.11.18_srcconnect.rsb_
mov edx, 0x23
call fcn.140144ec0
ud2
mov ecx, 0x128
mov edx, 8
call fcn.140144b00
ud2
lea rcx, [0x1401d1846]
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.28.2_srciopoll_evented.rs
mov edx, 0x2b
call fcn.140144ec0
ud2
mov ecx, 8
mov edx, 8
call fcn.140144b00
ud2