Function at 0x14009f2e0
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [rdx + 0x251]
test eax, eax
je 0x14009f320
cmp eax, 3
jne 0x14009fc3b
mov rdx, qword [rsi + 0x240]
mov r9, qword [rsi + 0x248]
jmp 0x14009f551
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 + 0x20]
movups xmmword [rsi + 0x1b0], xmm2
mov rax, qword [rsi + 0x30]
mov qword [rsi + 0x1c0], rax
movups xmmword [rsi + 0x1c8], xmm0
movups xmmword [rsi + 0x1d8], xmm1
mov rcx, qword [rsi + 0x1b0]
lock inc qword [rcx]
jle 0x14009fc39
mov rax, qword [rsi + 0x1b8]
mov rdx, qword [rsi + 0x1c0]
lock inc qword [rax]
jle 0x14009fc39
lea r15, [rsi + 0x158]
lea r12, [rsi + 0x1e8]
mov qword [rsi + 0x1e8], rcx
mov qword [rsi + 0x1f0], rax
mov qword [rsi + 0x1f8], rdx
cmp byte [rsi + 0x151], 0
jne 0x14009f464
movzx eax, byte [r15]
test al, 1
jne 0x14009f9d5
mov r14, r8
lea rax, [rsi + 0x1c8]
cmp dword [rax], 1
jne 0x14009f48b
mov rcx, qword [rsi + 0x1d0]
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rbx, rax
mov r13d, 1
jmp 0x14009f48e
xor r13d, r13d
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], r13
mov qword [rsi + 0x208], rbx
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 [r12]
movups xmmword [rsi + 0x220], xmm0
mov rax, qword [r12 + 0x10]
mov qword [rsi + 0x230], rax
mov rax, qword [r15 + 0x50]
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [r15 + 0x40]
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmm2, xmmword [r15 + 0x20]
movups xmm3, xmmword [r15 + 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.1400b2d40
mov r9, rdx
mov rdx, rax
mov qword [rsi + 0x240], rax
mov qword [rsi + 0x248], r9
mov r8, r14
lea rcx, [rsp + 0x40]
call qword [r9 + 0x18]
mov r12, qword [rsp + 0x40]
cmp r12, 4
jne 0x14009f570
mov byte [rdi + 0x11], 3
mov al, 3
jmp 0x14009f6bb
mov rbx, qword [rsp + 0x48]
mov r15, qword [rsp + 0x50]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x3a0]
mov r8d, 0x108
call sub.VCRUNTIME140.dll_memcpy
mov r14, qword [rsi + 0x240]
mov r13, qword [rsi + 0x248]
mov rax, qword [r13]
test rax, rax
je 0x14009f5ae
mov rcx, r14
call rax
cmp qword [r13 + 8], 0
je 0x14009f5d4
cmp qword [r13 + 0x10], 0x11
jb 0x14009f5c0
mov r14, qword [r14 - 8]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp r12d, 3
jne 0x14009f6d5
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
je 0x14009fa71
mov rax, qword [rsi + 0x228]
lock dec qword [rax]
je 0x14009fa8e
cmp qword [rsi + 0x200], 0
je 0x14009f617
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 0x14009f63d
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 0x14009f813
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
je 0x14009f830
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
je 0x14009f854
mov bpl, 2
cmp byte [rsi + 0x140], 2
je 0x14009f6aa
lea rcx, [rsi + 0x138]
mov rax, qword [rsi + 0x120]
mov rdx, qword [rsi + 0x128]
mov r8, qword [rsi + 0x130]
call qword [rax + 0x20]
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, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x178]
lea rdx, [rsp + 0x3a0]
mov r8d, 0x108
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x160], r12
mov qword [rsp + 0x168], rbx
mov qword [rsp + 0x170], r15
cmp r12, 2
jne 0x14009f875
movzx eax, byte [0x1401542b0]
mov edx, 0x120
xor ecx, ecx
call fcn.1400de8b0
test rax, rax
je 0x14009fc47
mov rbx, rax
lea rdx, [rsp + 0x160]
mov r8d, 0x120
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
movzx r14d, byte [rsi + 0x252]
lea r15, [0x14013dd28]
xor ebp, ebp
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
jne 0x14009f771
mov rcx, qword [rsi + 0x220]
call fcn.14003aa70
mov rax, qword [rsi + 0x228]
lock dec qword [rax]
je 0x14009f950
cmp qword [rsi + 0x200], 0
je 0x14009f799
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 0x14009f7bf
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 0x14009f976
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
je 0x14009f993
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
je 0x14009f9b7
cmp byte [rsi + 0x140], 2
jne 0x14009f68b
jmp 0x14009f6aa
mov rcx, qword [rsi + 0x1b0]
call fcn.14003aa70
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
jne 0x14009f66e
mov rcx, qword [rsi + 0x1b8]
mov rdx, qword [rsi + 0x1c0]
call fcn.140036350
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
jne 0x14009f67f
mov rcx, qword [rsi + 0x148]
call fcn.1400603e0
mov bpl, 2
cmp byte [rsi + 0x140], 2
jne 0x14009f68b
jmp 0x14009f6aa
lea rcx, [rsp + 0x280]
lea rdx, [rsp + 0x160]
mov r8d, 0x120
call sub.VCRUNTIME140.dll_memcpy
cmp byte [rsi + 0x151], 0
jne 0x14009f8da
mov rcx, qword [rsp + 0x350]
cmp rcx, 0xffffffffffffffff
je 0x14009fc56
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 0x14009fa19
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x280]
mov r8d, 0x120
call sub.VCRUNTIME140.dll_memcpy
movzx eax, byte [0x1401542b0]
mov edx, 0x120
xor ecx, ecx
call fcn.1400de8b0
test rax, rax
je 0x14009fc47
mov rbx, rax
lea rdx, [rsp + 0x40]
mov r8d, 0x120
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movzx ebp, byte [rsi + 0x152]
movzx r14d, byte [rsi + 0x252]
lea r15, [0x14013dc38]
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
je 0x14009f765
jmp 0x14009f771
mov rcx, qword [rsi + 0x228]
mov rdx, qword [rsi + 0x230]
call fcn.140036350
cmp qword [rsi + 0x200], 0
jne 0x14009f78c
jmp 0x14009f799
mov rcx, qword [rsi + 0x1b0]
call fcn.14003aa70
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
jne 0x14009f7f0
mov rcx, qword [rsi + 0x1b8]
mov rdx, qword [rsi + 0x1c0]
call fcn.140036350
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
jne 0x14009f801
mov rcx, qword [rsi + 0x148]
call fcn.1400603e0
cmp byte [rsi + 0x140], 2
jne 0x14009f68b
jmp 0x14009f6aa
cmp byte [rsi + 0x159], 0
je 0x14009f464
xor edx, edx
mov eax, 1
lock cmpxchg qword [rcx], rdx
mov rbx, qword [r12]
jne 0x14009fab4
mov rax, qword [rbx + 8]
cmp rax, 1
jne 0x14009fb22
mov qword [rbx], 1
mov byte [rbx + 0x8f], 1
jmp 0x14009f464
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
movzx eax, byte [0x1401542b0]
mov edx, 8
xor ecx, ecx
call fcn.1400de8b0
test rax, rax
je 0x14009fc62
mov rbx, rax
shl r14, 0x20
or r14, 2
mov qword [rax], r14
lea rcx, [rsp + 0x280]
call fcn.14009fc90
lea r15, [0x1401393b0]
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
jne 0x14009f5ef
mov rcx, qword [rsi + 0x220]
call fcn.14003aa70
mov rax, qword [rsi + 0x228]
lock dec qword [rax]
jne 0x14009f600
mov rcx, qword [rsi + 0x228]
mov rdx, qword [rsi + 0x230]
call fcn.140036350
cmp qword [rsi + 0x200], 0
jne 0x14009f60a
jmp 0x14009f617
mov qword [rsp + 0x30], r8
movzx eax, byte [0x1401542b0]
mov edx, 0x98
xor ecx, ecx
call fcn.1400de8b0
test rax, rax
je 0x14009fc71
mov r14, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov eax, dword [rbx + 0x60]
mov dword [rsp + 0x3c], eax
mov r11, qword [rbx + 0x58]
movzx eax, byte [rbx + 0x78]
mov byte [rsp + 0x2f], al
mov edx, dword [rbx + 0x70]
mov rbp, qword [rbx + 0x68]
movzx r9d, byte [rbx + 0x79]
mov r10d, dword [rbx + 0x7a]
cmp byte [rbx + 0x7e], 1
jne 0x14009fb9e
movups xmm0, xmmword [rbx + 0x7f]
movaps xmmword [rsp + 0x40], xmm0
mov r13b, 1
jmp 0x14009fba1
mov r13, r8
lea r14, [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140061990
mov rax, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
lea rcx, [rax - 1]
mov rdx, rax
xor rdx, rcx
lea r8, [rax + 0xf]
neg rax
and rax, r8
add rax, 0xfffffffffffffff0
cmp rdx, rcx
mov rcx, 0xffffffffffffffff
cmova rcx, rax
add rcx, rbp
add rcx, 0x10
mov r8d, 0x88
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
test byte [rsp + 0x58], 1
je 0x14009fc80
mov qword [r12], rbp
mov rcx, rbx
call fcn.14003aa70
mov byte [rbp + 0x8f], 1
mov r8, r13
jmp 0x14009f464
xor r13d, r13d
mov r8, qword [rsp + 0x30]
movzx eax, word [rbx + 0x8f]
movups xmm0, xmmword [rbx + 0x10]
movups xmm1, xmmword [rbx + 0x20]
movups xmmword [r14 + 0x10], xmm0
movups xmmword [r14 + 0x20], xmm1
movups xmm0, xmmword [rbx + 0x30]
movups xmm1, xmmword [rbx + 0x40]
movups xmmword [r14 + 0x30], xmm0
movups xmmword [r14 + 0x40], xmm1
mov rcx, qword [rbx + 0x50]
mov qword [r14 + 0x50], rcx
mov qword [r14 + 0x58], r11
mov ecx, dword [rsp + 0x3c]
mov dword [r14 + 0x60], ecx
mov qword [r14 + 0x68], rbp
mov dword [r14 + 0x70], edx
movzx ecx, byte [rsp + 0x2f]
mov byte [r14 + 0x78], cl
mov byte [r14 + 0x79], r9b
mov dword [r14 + 0x7a], r10d
mov byte [r14 + 0x7e], r13b
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [r14 + 0x7f], xmm0
mov word [r14 + 0x8f], ax
lock dec qword [rbx]
jne 0x14009fc28
mov rcx, qword [r12]
call fcn.14003aa70
mov r8, qword [rsp + 0x30]
mov qword [r12], r14
mov byte [r14 + 0x8f], 1
jmp 0x14009f464
ud2
lea rcx, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_reqwest_0.12.9_srcconnect.rs
call fcn.1400f8620
mov ecx, 8
mov edx, 0x120
call fcn.1400f7b90
lea rcx, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.42.0_srciopoll_evented.rs
call fcn.1400f83b0
mov ecx, 8
mov edx, 8
call fcn.1400f7b90
mov ecx, 8
mov edx, 0x98
call fcn.1400f7b90
lea rcx, str..rustup_toolchains_nightly_x86_64_pc_windows_msvclib_rustlib_src_rustlibrary_alloc_src_sync.rs
call fcn.1400f83b0
int3