Function at 0x140173d84
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2d8
mov rsi, rdx
movzx eax, byte [rdx + 0x1e1]
test eax, eax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0xa8], r8
je 0x140173dd8
cmp eax, 3
jne case.default.0x140173dd6
mov r14, r8
lea r12, [rsi + 0xc0]
movzx eax, byte [rsi + 0xf8]
lea rcx, [0x140174518]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rax, qword [rsi + 0x1c8]
mov qword [rsi + 0x1a0], rax
movups xmm0, xmmword [rsi + 0x1d0]
movups xmmword [rsi + 0x1a8], xmm0
mov cl, byte [rsi + 0x1e2]
mov byte [rsi + 0x1e0], cl
and qword [rsi + 0x1b8], 0
mov qword [rsi + 0x1c0], rax
xor ebx, ebx
jmp 0x1401740df
lea rcx, str._async_fn__resumed_after_completionC:Users_root.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_util_0.3.1_srccodec_framed_read.rsassertion_failed:__pinned.eof
lea r8, str.C:Users_root.cargo_registry_srcgithub.com_1ecc6299db9ec823hyper_0.13.10_srcclientconnecthttp.rs
jmp 0x140173fb1
ud2
lea rdi, [rsi + 0x100]
lea rdx, [rsi + 0x108]
lea rbx, [rsp + 0x128]
mov rcx, rbx
mov r8, r14
call fcn.1401748bc
mov rbp, qword [rbx + 0x20]
cmp rbp, 3
jne 0x140173ee8
lea rcx, [rsp + 0x128]
call fcn.1401751f2
mov rcx, qword [rdi]
mov rdx, r14
call fcn.1401aed2a
test al, al
jne 0x140173f9c
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [rsp + 0x230]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [rsp + 0xf0]
movaps xmm1, xmmword [rsp + 0x100]
movaps xmm2, xmmword [rsp + 0x110]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x60], xmm2
mov rcx, rdi
call fcn.140174883
mov edx, 1
xor ecx, ecx
call fcn.1400acb09
lea r8, [0x14040cb60]
mov cl, reloc.WS2_32.dll_shutdown
mov rdx, rax
call fcn.140156f70
mov rbx, rax
jmp 0x140173f49
mov rbx, qword [rsp + 0x128]
mov rax, qword [rsp + 0x140]
movups xmm0, xmmword [rsp + 0x130]
movups xmm1, xmmword [rsp + 0x150]
movaps xmmword [rsp + 0xf0], xmm1
movups xmm2, xmmword [rsp + 0x170]
movups xmm3, xmmword [rsp + 0x160]
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], rax
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x60], xmm2
mov rcx, rdi
call fcn.140174883
cmp ebp, 2
jne 0x140173f53
mov ebp, 2
jmp 0x14017405d
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x90], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmm2, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x250], xmm0
movaps xmmword [rsp + 0x260], xmm1
movaps xmmword [rsp + 0x270], xmm2
jmp 0x14017405d
mov al, 3
jmp 0x140174429
lea rcx, str._async_fn__resumed_after_completionC:Users_root.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_util_0.3.1_srccodec_framed_read.rsassertion_failed:__pinned.eof
lea r8, str.C:Users_root.cargo_registry_srcgithub.com_1ecc6299db9ec823hyper_0.13.10_srcclientconnecthttp.rs
mov edx, 0x23
call fcn.140332d10
ud2
mov qword [rsi + 0x160], rbp
mov qword [rsi + 0x168], r12
mov byte [rsi + 0x170], 0
lea rdi, [rsi + 0x100]
lea rbx, [rsp + 0x128]
mov rcx, rbx
mov rdx, rdi
mov r8, r14
call fcn.1401748bc
mov rbp, qword [rbx + 0x20]
cmp rbp, 3
je 0x140174427
mov rbx, qword [rsp + 0x128]
movups xmm0, xmmword [rsp + 0x130]
movaps xmmword [rsp + 0x90], xmm0
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [rsp + 0x150]
movaps xmmword [rsp + 0x250], xmm0
movups xmm0, xmmword [rsp + 0x160]
movaps xmmword [rsp + 0x260], xmm0
movups xmm0, xmmword [rsp + 0x170]
movaps xmmword [rsp + 0x270], xmm0
mov rcx, rdi
call fcn.1401748a1
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xc0], rax
movaps xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0xb0], xmm0
movaps xmm0, xmmword [rsp + 0x250]
movaps xmm1, xmmword [rsp + 0x260]
movaps xmm2, xmmword [rsp + 0x270]
movaps xmmword [rsp + 0x1d0], xmm0
movaps xmmword [rsp + 0x1e0], xmm1
movaps xmmword [rsp + 0x1f0], xmm2
mov byte [rsi + 0xf8], 1
mov rcx, r12
call fcn.140174844
cmp ebp, 2
jne 0x140174396
mov rcx, qword [rsi + 0x1b8]
call fcn.140174872
mov qword [rsi + 0x1b8], rbx
mov rax, qword [rsi + 0x1c0]
mov rcx, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
je 0x14017444a
lea rdx, [rcx + 0x20]
mov qword [rax + 8], rdx
movzx ebx, word [rcx]
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x1be], xmm0
movups xmm0, xmmword [rcx + 2]
movaps xmmword [rsp + 0x1b0], xmm0
cmp bx, 2
je 0x140174443
mov word [rsi + 0x180], bx
movaps xmm0, xmmword [rsp + 0x1b0]
movups xmmword [rsi + 0x182], xmm0
movups xmm0, xmmword [rsp + 0x1be]
movups xmmword [rsi + 0x190], xmm0
mov rax, qword [rsi + 0x1a0]
mov rbp, qword [rsi + 0x1a8]
mov r14, qword [rsi + 0x1b0]
mov r15b, byte [rsi + 0x1e0]
mov r12, qword [rax + 0x20]
mov r13d, dword [rax + 0x28]
test bx, bx
mov eax, 2
mov edi, reloc.WS2_32.dll_socket
cmove edi, eax
mov rax, qword [0x140482020]
cmp rax, 3
jne 0x1401743eb
mov dword [rsp + 0x28], 1
and dword [rsp + 0x20], 0
mov ecx, edi
mov edx, 1
mov r8d, 6
xor r9d, r9d
call sub.WS2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x14017446d
mov rdi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.KERNEL32.dll_SetHandleInformation
test eax, eax
je 0x140174477
test r15b, r15b
je 0x140174202
lea r9, [rsp + 0x128]
mov dword [r9], 1
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 0xffff
mov r8d, 4
call sub.WS2_32.dll_setsockopt
test eax, eax
jne 0x140174488
test bx, bx
je 0x140174233
mov ax, 1
cmp byte [r14], 0
je 0x140174254
movups xmm0, xmmword [r14 + 1]
lea rdx, [rsp + 0xf0]
movups xmmword [rdx + 4], xmm0
and qword [rdx + 0x14], 0
and word [rdx + 0x1c], 0
mov word [rdx], 1
jmp 0x14017427b
xor eax, eax
cmp byte [rbp], 0
je 0x140174254
mov eax, dword [rbp + 1]
lea rdx, [rsp + 0xf0]
and word [rdx + 6], 0
mov dword [rdx + 2], eax
and word [rdx], 0
jmp 0x14017427b
lea rdx, [rsp + 0xf0]
mov word [rdx], ax
and word [rdx + 6], 0
and dword [rdx + 2], 0
and qword [rdx + 8], 0
and dword [rdx + 0x10], 0
and qword [rdx + 0x14], 0
and word [rdx + 0x1c], 0
lea rbx, [rsp + 0x128]
mov rcx, rbx
call fcn.1400bb551
mov rcx, rdi
mov rdx, rbx
call fcn.14014b291
mov rbx, rax
test rax, rax
jne 0x140174490
mov rax, qword [rsi + 0x180]
mov rcx, qword [rsi + 0x198]
mov qword [rsp + 0x50], rcx
movups xmm0, xmmword [rsi + 0x188]
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsi], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 8], xmm0
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x20], r12
mov dword [rsi + 0x28], r13d
mov qword [rsi + 0x30], rdi
mov byte [rsi + 0x38], 0
lea rcx, [rsi + 0x39]
lea rdx, [rsp + 0x250]
mov r8d, 0x87
call fcn.1403318a0
lea r12, [rsi + 0xc0]
mov r8d, 0xc0
mov rcx, r12
mov rdx, rsi
call fcn.1403318a0
movzx eax, byte [rsi + 0xf8]
lea rcx, [0x140174518]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
mov r14, qword [rsp + 0xa8]
jmp rax
mov rbp, qword [rsi + 0xf0]
mov edi, dword [rsi + 0xe8]
cmp edi, 0x3b9aca00
je 0x140173fbd
mov rbx, qword [rsi + 0xe0]
call fcn.14015c190
mov rcx, rax
mov r8, rbx
mov r9d, edi
call fcn.14015c6a0
mov rcx, rax
mov r8, rbx
mov r9d, edi
call fcn.1401ae855
mov qword [rsi + 0x100], rax
mov qword [rsi + 0x168], rbp
mov qword [rsi + 0x170], r12
mov byte [rsi + 0x178], 0
jmp case.0x140174332.3
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xe0], rax
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0xd0], xmm0
movaps xmm0, xmmword [rsp + 0x1d0]
movaps xmm1, xmmword [rsp + 0x1e0]
movaps xmm2, xmmword [rsp + 0x1f0]
movaps xmmword [rsp + 0x200], xmm0
movaps xmmword [rsp + 0x210], xmm1
movaps xmmword [rsp + 0x220], xmm2
jmp 0x1401744a8
lea rax, [rsp + 0xf0]
mov byte [rax], 1
lea r8, [rsp + 0x128]
mov qword [r8], rax
lea rax, str.C:Users_root.cargo_registry_srcgithub.com_1ecc6299db9ec823_socket2_0.3.19_src_syswindows.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x140482020]
lea r9, [0x140408118]
xor edx, edx
call fcn.140337220
jmp 0x140174184
mov al, 4
mov byte [rsi + 0xf8], al
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x20], 3
mov al, 3
jmp 0x1401744fe
mov rbx, qword [rsi + 0x1b8]
mov ebp, 2
test rbx, rbx
jne 0x1401744b4
lea rdx, [0x14040f2e2]
mov r8d, reloc.WS2_32.dll_send
mov cl, 7
call fcn.14014175d
mov rbx, rax
jmp 0x1401744b4
call fcn.14014b0e0
mov rbx, rax
jmp 0x140174499
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
jmp 0x140174490
call fcn.14014b0e0
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rsi], rbx
mov dword [rsi + 0x28], 0x3b9aca01
mov ebp, 2
mov rcx, qword [rsi + 0x1b8]
call fcn.140174872
mov rcx, qword [rsp + 0x38]
mov qword [rcx], rbx
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [rcx + 8], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rbp
movaps xmm0, xmmword [rsp + 0x200]
movaps xmm1, xmmword [rsp + 0x210]
movaps xmm2, xmmword [rsp + 0x220]
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm1
movups xmmword [rcx + 0x48], xmm2
mov al, 1
mov byte [rsi + 0x1e1], al
add rsp, 0x2d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret