Function at 0x1400728f1
Capabilities:
Get socket status
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x9b8
movaps xmmword [rsp + 0x9a0], xmm6
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0xa0], r8
mov qword [rsp + 0xa8], r9
mov r12, qword [rdx + 0x98]
mov esi, dword [r12 + 0x80]
cmp esi, 0x3b9aca00
jne 0x140072955
mov rax, qword [r15 + 0x88]
mov qword [rsp + 0xd0], rax
mov eax, dword [r15 + 0x90]
mov dword [rsp + 0x58], eax
jmp 0x140072979
mov rdi, qword [r12 + 0x78]
call fcn.140058dd4
mov rcx, rax
mov r8, rdi
mov r9d, esi
call fcn.14005c5e9
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x58], edx
lea rdx, [r12 + 0x28]
lea rsi, [rsp + 0x150]
mov rcx, rsi
call fcn.140065758
xor eax, eax
cmp rax, qword [rsi]
lea rbx, [rsp + 0xa0]
lea rbp, [fcn.140007790]
jno 0x1400729fc
lea rax, [rsp + 0x5f0]
mov qword [rax], rbx
mov qword [rax + 8], rbp
lea rcx, [rsp + 0xa20]
mov qword [rax + 0x10], rcx
lea rcx, [0x1400db9b8]
lea rdx, [rsp + 0x378]
mov qword [rdx], rcx
mov ecx, 2
mov qword [rdx + 8], rcx
and qword [rdx + 0x20], 0
lea r8, [0x1400075ba]
mov qword [rax + 0x18], r8
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rcx
lea rsi, [rsp + 0x810]
jmp 0x140072a59
lea rax, [rsp + 0x198]
lea rcx, [rsp + 0x5f0]
mov qword [rcx], rsi
lea rdx, [0x1400043f0]
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rax
lea rax, [0x1400db9b8]
lea rdx, [rsp + 0x378]
mov qword [rdx], rax
mov eax, 2
mov qword [rdx + 8], rax
and qword [rdx + 0x20], 0
lea r8, [0x1400052cf]
mov qword [rcx + 0x18], r8
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rax
lea rsi, [rsp + 0x7f8]
mov rcx, rsi
call fcn.140026774
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0xc0], rax
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0xb0], xmm0
mov rax, qword [r15 + 0xa0]
mov rcx, qword [rax + 0x28]
mov rax, qword [rax + 0x30]
lock inc qword [rcx]
jle 0x140073a63
movabs r13, 0x8000000000000000
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], rax
mov rdx, qword [rax + 0x10]
dec rdx
and rdx, 0xfffffffffffffff0
add rdx, rcx
add rdx, 0x10
mov r8, qword [rsp + 0xb8]
mov r9, qword [rsp + 0xc0]
lea rsi, [rsp + 0x1a0]
mov rcx, rsi
call qword [rax + 0x18]
cmp qword [rsi], r13
jne 0x140072bbd
mov rsi, qword [rsp + 0x1a8]
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0x130]
mov qword [rcx], rax
lea rax, str.resolve_dns_name_
lea rdx, [rsp + 0x270]
mov qword [rdx], rax
lea rax, [0x1400043f0]
mov qword [rdx + 8], 2
and qword [rdx + 0x20], 0
mov qword [rcx + 8], rax
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], 1
lea rdi, [rsp + 0x380]
mov rcx, rdi
call fcn.140026774
mov qword [rdi + 0x18], r13
and qword [rdi + 0x70], 0
mov byte [rdi + 0x80], 2
mov qword [rdi - 8], r13
lea rdi, [rsp + 0x5f0]
lea rdx, [rsp + 0x378]
mov rcx, rdi
mov r8, rsi
call fcn.14006cf83
mov rsi, qword [rdi]
lea rax, [r13 + 1]
cmp rsi, rax
je 0x140072be9
lea rdx, [rsp + 0x610]
movups xmm6, xmmword [rdx - 0x18]
mov rdi, qword [rdx - 8]
lea rcx, [r14 + 0x20]
mov r8d, pe_nt_image_headers64
call sub.VCRUNTIME140.dll_memcpy
movups xmmword [r14 + 8], xmm6
mov qword [r14 + 0x18], rdi
mov qword [r14], rsi
lea rcx, [rsp + 0x88]
call fcn.14002f4d2
jmp 0x1400733e7
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x608], rax
movups xmm0, xmmword [rsp + 0x1a0]
movups xmmword [rsp + 0x5f8], xmm0
lea rax, [r13 + 1]
mov qword [rsp + 0x5f0], rax
mov qword [rsp + 0x80], r12
mov rsi, qword [rsp + 0x5f8]
mov r12, qword [rsp + 0x600]
mov rdi, qword [rsp + 0x608]
lea rcx, [rsp + 0x88]
call fcn.14002f4d2
test rdi, rdi
je 0x140073090
mov qword [rsp + 0x48], r14
lea rdx, [rsp + 0x150]
cmp qword [rdx], r13
sete r8b
setne cl
lea r9, [rsp + 0x60]
and qword [r9], 0
mov qword [rsp + 0x78], r15
mov rbx, rdi
lea rax, [r15 + 0xa0]
mov qword [rsp + 0xf8], rax
mov al, byte [rdx + 0x4c]
xor edx, edx
cmp rdi, 1
setne dl
mov qword [rsp + 0x100], rdx
mov qword [rsp + 0x108], rdi
shl rbx, 5
add rbx, r12
mov qword [rsp + 0x270], r12
mov qword [rsp + 0x280], rsi
mov qword [rsp + 0x288], rbx
lea r15, [rsp + 0x252]
test al, al
sete al
and cl, al
mov byte [rsp + 0x3f], cl
or r8b, al
mov byte [rsp + 0x3e], r8b
lea rbp, [rsp + 0x388]
lea r13, [rsp + 0x378]
xor esi, esi
cmp r12, rbx
je 0x140073127
mov rax, r12
add r12, 0x20
movzx edi, word [rax]
cmp di, 2
je 0x14007312e
mov word [rsp + 0x250], di
movups xmm0, xmmword [rax + 2]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0xe], xmm1
movups xmmword [r15], xmm0
mov r8d, dword [rsp + 0x58]
cmp r8d, 0x3b9aca00
jne 0x140072da1
cmp byte [rsp + 0x3e], 0
je 0x140072e8d
mov qword [rsp + 0x40], rsi
mov rsi, qword [rsp + 0x258]
cmp di, 3
je 0x140072f05
and qword [rsp + 0x5f0], 0
xor r14d, r14d
mov eax, edi
lea r13, [rsp + 0x5f0]
cmp ax, 2
je 0x140072ef4
mov word [rsp + 0x378], ax
movzx eax, word [r15 + 4]
mov word [rbp - 0xa], ax
mov eax, dword [r15]
mov dword [rbp - 0xe], eax
mov qword [rsp + 0x380], rsi
movups xmm0, xmmword [r15 + 0xe]
movups xmmword [rbp], xmm0
xor ecx, ecx
lea rdx, [rsp + 0x378]
call fcn.14005e6ce
mov r14, rdx
test rax, rax
je 0x1400730f4
mov rcx, r13
call fcn.140068a62
mov qword [rsp + 0x5f0], r14
mov ax, 2
jmp 0x140072d3e
mov rcx, r13
mov rdx, qword [rsp + 0xd0]
call fcn.14005f22f
mov eax, dword [rsp + 0x380]
mov r14, qword [rsp + 0x378]
cmp eax, 0x3b9aca00
je 0x140073385
mov ecx, eax
shr ecx, 1
lea r13d, [rcx + 0x1dcd6500]
test r14b, 1
cmove r13d, ecx
cmp qword [rsp + 0x108], 1
cmove r13d, eax
mov rcx, qword [rsp + 0x100]
shr r14, cl
cmp byte [rsp + 0x3e], 0
je 0x140072e8d
mov qword [rsp + 0x40], rsi
call fcn.14005b98b
mov ecx, edi
call fcn.14005beb9
mov rsi, rdx
test rax, rax
jne 0x140072f05
mov rcx, rsi
mov dl, 1
call fcn.14005bf8c
mov rcx, rax
test rax, rax
jne 0x140072e7c
mov rcx, rsi
lea rdx, [rsp + 0x250]
call fcn.14005bfba
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x88], rax
mov rcx, rsi
xor edx, edx
call fcn.14005bf8c
test rax, rax
je 0x140072f21
mov r14, rax
lea rcx, [rsp + 0x88]
call fcn.140056cb1
mov rcx, r14
test rcx, rcx
je 0x14007346e
mov rdi, rcx
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_closesocket]
mov rsi, rdi
jmp 0x140072f05
lea r13, [rsp + 0x378]
mov rcx, r13
lea rdx, [rsp + 0x150]
call fcn.140065758
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x378], rax
je 0x140073a63
mov ecx, 0xa
lea r14, [rsp + 0x5f0]
mov rdi, r14
mov rsi, r13
rep movsq qword [rdi], qword [rsi]
mov r8d, 0x17
mov cl, 0x28
lea rdx, str.SOCKS_feature_disabled.unknown_scheme_
call fcn.14002836b
mov rsi, rax
mov rcx, r14
call fcn.14005f047
jmp 0x140072f0d
test r14, r14
lea rax, str.could_not_resolve_to_any_addresses
cmove r14, rax
mov rsi, r14
lea r13, [rsp + 0x378]
lea rcx, [rsp + 0x60]
call fcn.140068a62
mov qword [rsp + 0x60], rsi
jmp 0x140072cbe
cmp qword [rsp + 0x70], 0
je 0x14007301a
mov rcx, qword [rsp + 0x70]
call fcn.1400585df
mov rcx, qword [rsp + 0x70]
cmp al, 0xd
jne 0x140072e73
test r14, r14
jne 0x140072f59
lea rax, str.cannot_set_a_0_duration_timeout
test r13d, r13d
je 0x140072e60
mov eax, 0x7fffffff
cmp r14, rax
cmovae r14, rax
mov eax, r13d
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [rsp + 0x1a0], r14d
or r14d, eax
mov ecx, 1
cmove eax, ecx
mov dword [rsp + 0x1a4], eax
mov r8d, 0x1f8
mov rcx, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r14d, 1
mov qword [rsp + 0x5f0], r14
mov qword [rsp + 0x5f8], rsi
mov r8d, 0x1f8
lea rcx, [rsp + 0x600]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x378], r14
mov qword [rsp + 0x380], rsi
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x20], rax
mov ecx, 1
xor edx, edx
lea r8, [rsp + 0x5f0]
lea r9, [rsp + 0x378]
call qword [sym.imp.ws2_32.dll_select]
lea rcx, str.connection_timed_out
test eax, eax
je 0x14007302d
cmp eax, 0xffffffff
jne 0x140073021
call fcn.14005ba52
jmp 0x140072e60
xor ecx, ecx
jmp 0x140072e73
cmp dword [rsp + 0x5f0], 1
jne 0x140073035
xor ecx, ecx
mov r14, rcx
jmp 0x140072e63
and dword [rsp + 0xd8], 0
mov dword [rsp + 0xe8], 4
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov edx, 0xffff
mov r8d, 0x1007
lea r9, [rsp + 0xd8]
call qword [sym.imp.ws2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x140073010
movsxd rax, dword [rsp + 0xd8]
test rax, rax
je 0x14007302b
shl rax, 0x20
or rax, 2
jmp 0x140072e60
lea rax, [rsp + 0x5f0]
mov qword [rax], rbx
lea rcx, [0x1400dc440]
lea rdx, [rsp + 0x378]
mov qword [rdx], rcx
mov ecx, 1
mov qword [rdx + 8], rcx
and qword [rdx + 0x20], 0
mov qword [rax + 8], rbp
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rcx
lea rcx, [r14 + 8]
call fcn.140026774
mov qword [r14], r13
mov qword [r14 + 0x20], r13
and qword [r14 + 0x78], 0
mov byte [r14 + 0x88], 2
mov rcx, rsi
mov rdx, r12
call fcn.14005ef12
jmp 0x1400733e7
mov qword [rsp + 0x278], r12
lea rcx, [rsp + 0x5f0]
call fcn.140068a62
mov rsi, r14
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0xe]
movups xmmword [rsp + 0x13e], xmm1
movaps xmmword [rsp + 0x130], xmm0
jmp 0x140073142
mov qword [rsp + 0x40], rsi
jmp 0x140073136
mov qword [rsp + 0x40], rsi
mov rbx, r12
mov qword [rsp + 0x278], rbx
mov di, 2
movabs rbp, 0x8000000000000000
mov r12, qword [rsp + 0x80]
lea r14, [rsp + 0x270]
mov rcx, r14
call fcn.14005ef06
cmp di, 2
jne 0x1400731af
mov rbx, qword [rsp + 0x40]
test rbx, rbx
mov rdi, qword [rsp + 0x48]
je 0x140073a63
lea r8, str.Connect_errorNo_ip_address_for
lea rsi, [rsp + 0x378]
mov r9d, 0xd
mov rcx, rsi
mov dl, 4
call fcn.14006cf46
mov rcx, rdi
mov rdx, rsi
mov r8, rbx
call fcn.14006cf83
jmp 0x1400733e7
movups xmm0, xmmword [rsp + 0x13e]
movups xmmword [rsp + 0x11e], xmm0
movaps xmm0, xmmword [rsp + 0x130]
movaps xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x68], rsi
movzx eax, byte [r12 + 0xcd]
lea r15, [rsp + 0x378]
mov dword [r15], eax
mov dword [rsp + 0x20], 4
mov rcx, rsi
mov edx, 6
mov r8d, 1
mov r9, r15
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140073349
mov rax, qword [rsp + 0x78]
mov ebx, dword [rax + 0x90]
cmp ebx, 0x3b9aca00
jne 0x140073350
mov rdx, qword [r12 + 0x88]
mov r8d, dword [r12 + 0x90]
mov rcx, rsi
call fcn.14005c0d5
test rax, rax
jne 0x1400733bb
mov rdx, qword [r12 + 0x98]
mov r8d, dword [r12 + 0xa0]
mov rcx, rsi
call fcn.14005c145
test rax, rax
jne 0x1400733bb
cmp byte [rsp + 0x3f], 0
je 0x140073a29
mov rax, qword [rsp + 0x78]
lea rbx, [rax + 0x18]
mov rcx, rbx
call fcn.14006863a
lea r8, [0x1400ef57e]
mov r9d, 5
mov rcx, rax
call fcn.140075e52
test al, al
je 0x140073a29
cmp qword [rsp + 0x150], rbp
je 0x140073a29
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [r12 + 0x18]
mov r13, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
movzx eax, word [rsp + 0xa20]
mov word [rsp + 0x56], ax
movups xmmword [rsp + 0xd8], xmm0
cmp qword [rsp + 0x168], rbp
je 0x14007347b
cmp qword [rsp + 0x180], rbp
je 0x14007347b
lea rdx, [rsp + 0x168]
lea rsi, [rsp + 0x180]
lea r12, [rsp + 0x378]
mov rcx, r12
call fcn.1400657d6
cmp qword [r12], rbp
jne 0x1400734a5
and qword [rsp + 0x1a0], 0
mov qword [rsp + 0x1a8], 1
and qword [rsp + 0x1b0], 0
jmp 0x1400734c5
call fcn.14005ba52
jmp 0x1400733bb
mov r12, qword [rax + 0x88]
lea r13, [rsp + 0x378]
mov rcx, r13
mov rdx, r12
mov r8d, ebx
call fcn.14005f22f
mov r8d, dword [r13 + 8]
mov rdx, qword [r13]
cmp r8d, 0x3b9aca00
jne 0x1400733ae
mov rcx, qword [rsp + 0x48]
jmp 0x1400733c3
mov rdi, rsi
lea rsi, [rsp + 0x270]
mov qword [rsi + 8], r12
mov rcx, qword [rsp + 0x48]
mov rdx, r14
call fcn.14006d39c
mov rcx, rsi
mov rsi, rdi
call fcn.14005ef06
jmp 0x1400733d8
mov rcx, rsi
call fcn.14005c0d5
test rax, rax
je 0x140073425
mov rcx, qword [rsp + 0x48]
mov rdx, rax
call fcn.14006d39c
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ws2_32.dll_closesocket]
test rsi, rsi
je 0x1400733e7
lea rcx, [rsp + 0x60]
call fcn.14005e847
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xb8]
call fcn.1400041e8
lea rcx, [rsp + 0x150]
call fcn.14005f03b
movaps xmm6, xmmword [rsp + 0x9a0]
add rsp, 0x9b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r13, [rsp + 0x378]
mov rcx, r13
mov rdx, r12
mov r8d, ebx
call fcn.14005f22f
mov r8d, dword [r13 + 8]
mov rdx, qword [r13]
cmp r8d, 0x3b9aca00
je 0x14007337e
mov rcx, rsi
call fcn.14005c145
test rax, rax
mov r12, qword [rsp + 0x80]
jne 0x1400733bb
jmp 0x140073269
mov qword [rsp + 0x278], r12
jmp 0x14007310c
and qword [rsp + 0x270], 0
mov qword [rsp + 0x278], 1
and qword [rsp + 0x280], 0
lea rbp, [fcn.140007790]
jmp 0x140073660
mov rax, qword [rsp + 0x388]
mov qword [rsp + 0x1b0], rax
movups xmm0, xmmword [rsp + 0x378]
movaps xmmword [rsp + 0x1a0], xmm0
lea r12, [rsp + 0x378]
mov rcx, r12
mov rdx, rsi
call fcn.1400657d6
movabs rax, 0x8000000000000000
cmp qword [r12], rax
lea rbp, [fcn.140007790]
jne 0x14007350f
and qword [rsp + 0x270], 0
mov qword [rsp + 0x278], 1
and qword [rsp + 0x280], 0
jmp 0x14007352f
mov rax, qword [rsp + 0x388]
mov qword [rsp + 0x280], rax
movups xmm0, xmmword [rsp + 0x378]
movaps xmmword [rsp + 0x270], xmm0
lea rax, [rsp + 0x1a0]
lea rsi, [rsp + 0x5f0]
mov qword [rsi], rax
lea r8, [0x1400043f0]
mov qword [rsi + 8], r8
lea rax, [0x1400db9b8]
lea rdx, [rsp + 0x378]
mov qword [rdx], rax
mov eax, 2
mov qword [rdx + 8], rax
and qword [rdx + 0x20], 0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r8
lea r8, [rsp + 0x5f0]
mov qword [rdx + 0x10], r8
mov qword [rdx + 0x18], rax
lea r12, [rsp + 0x88]
mov rcx, r12
call fcn.140026774
mov rcx, qword [rsp + 0x270]
mov rdx, qword [rsp + 0x278]
call fcn.1400041e8
mov rcx, qword [rsp + 0x1a0]
mov rdx, qword [rsp + 0x1a8]
call fcn.1400041e8
mov rcx, rsi
mov rdx, r12
call fcn.140073b0c
cmp byte [rsp + 0x19c], 0
je 0x1400735f4
and qword [rsp + 0x270], 0
mov qword [rsp + 0x278], 1
and qword [rsp + 0x280], 0
jmp 0x14007364b
lea rax, str.Proxy_Authorization:_basic
lea rdx, [rsp + 0x378]
mov qword [rdx], rax
mov qword [rdx + 8], 2
and qword [rdx + 0x20], 0
mov qword [rsp + 0x1a0], rsi
lea rax, [0x1400043f0]
mov qword [rsp + 0x1a8], rax
lea rax, [rsp + 0x1a0]
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 1
lea rcx, [rsp + 0x270]
call fcn.140026774
mov rcx, qword [rsp + 0x5f0]
mov rdx, qword [rsp + 0x5f8]
call fcn.1400041e8
mov qword [rsp + 0xe8], r13
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], rbx
lea rsi, [rsp + 0x378]
lea rax, [rsp + 0xe8]
mov qword [rsi], rax
mov qword [rsi + 8], rbp
lea rax, [rsp + 0x56]
mov qword [rsi + 0x10], rax
lea rcx, [0x1400075ba]
mov qword [rsi + 0x18], rcx
lea rdx, [rsp + 0x88]
mov qword [rsi + 0x20], rdx
mov qword [rsi + 0x28], rbp
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rcx
lea rax, [rsp + 0xd8]
mov qword [rsi + 0x40], rax
mov qword [rsi + 0x48], rbp
mov qword [rsi + 0x50], r14
lea rax, str.CONNECT__HTTP_1.1_r_nHost:__r_nUser_Agent:__r_nProxy_Connection:_Keep_Alive_r_n
lea r14, [rsp + 0x5f0]
mov qword [r14], rax
mov qword [r14 + 8], 7
and qword [r14 + 0x20], 0
lea r12, [0x1400043f0]
mov qword [rsi + 0x58], r12
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 6
lea rbx, [rsp + 0x1a0]
mov rcx, rbx
mov rdx, r14
call fcn.140026774
mov rcx, qword [rsp + 0x270]
mov rdx, qword [rsp + 0x278]
call fcn.1400041e8
lea rax, [0x1400ef900]
mov qword [rsi], rax
mov eax, 1
mov qword [rsi + 8], rax
and qword [rsi + 0x20], 0
mov qword [r14], rbx
mov qword [r14 + 8], r12
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rax
lea rcx, [rsp + 0x68]
mov rdx, rsi
call fcn.140067c13
test rax, rax
jne 0x140073a63
mov rcx, qword [rsp + 0x1a0]
mov rdx, qword [rsp + 0x1a8]
call fcn.1400041e8
mov rsi, qword [rsp + 0x68]
cmp rsi, 0xffffffffffffffff
mov r15, qword [rsp + 0x48]
movabs rbp, 0x8000000000000000
mov rbx, qword [rsp + 0x58]
je 0x140073a63
lea r14, [rsp + 0x378]
mov r8d, 0x274
mov rcx, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov rcx, rsi
mov edx, eax
mov r8, r14
call qword [sym.imp.ws2_32.dll_WSADuplicateSocketW]
cmp eax, 0xffffffff
je 0x140073969
lea r9, [rsp + 0x378]
mov ecx, dword [r9 + 0x4c]
mov edx, dword [r9 + 0x58]
mov r8d, dword [r9 + 0x5c]
mov dword [rsp + 0x28], 0x81
and dword [rsp + 0x20], 0
call qword [sym.imp.ws2_32.dll_WSASocketW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140073976
mov rcx, rbx
call fcn.14006863a
mov r8, rdx
mov r9, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
movzx edx, word [rsp + 0xa20]
lea rbx, [rsp + 0x830]
mov word [rsp + 0x28], dx
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, rax
call fcn.14007289e
mov rcx, qword [rsp + 0xf8]
call fcn.140069511
mov qword [rbx - 8], rax
lea r8, [rsp + 0x378]
mov word [r8], di
movaps xmm0, xmmword [rsp + 0x110]
movups xmmword [r8 + 2], xmm0
movups xmm0, xmmword [rsp + 0x11e]
movups xmmword [r8 + 0x10], xmm0
lea rbx, [rsp + 0x8b8]
lea r9, [rsp + 0x828]
mov rcx, rbx
mov rdx, rsi
call fcn.140073a65
lea rsi, [rsp + 0x1a0]
mov rcx, rsi
mov rdx, qword [rsp + 0x78]
call fcn.140070f22
lea r14, [rsp + 0x378]
mov rcx, r14
mov rdx, rbx
mov r8, rsi
call fcn.14007106f
mov rsi, qword [r14]
lea rbx, [rbp + 1]
lea rdx, [rsp + 0x380]
lea rcx, [rsp + 0x5f0]
mov r8d, 0x108
call sub.VCRUNTIME140.dll_memcpy
cmp rsi, rbx
jne 0x1400739dc
lea rsi, [rsp + 0x270]
lea rdx, [rsp + 0x5f0]
mov r8d, 0x108
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movzx ecx, word [rsi + 0x100]
cmp ecx, 0xc8
je 0x140073a17
cmp ecx, 0x197
je 0x14007393e
mov al, 0xa
cmp ecx, 0x191
jne 0x140073940
mov al, 0xb
mov qword [r15], rbp
mov qword [r15 + 8], rbp
mov qword [r15 + 0x20], rbp
and qword [r15 + 0x78], 0
mov byte [r15 + 0x88], al
lea rcx, [rsp + 0x270]
call fcn.140068974
jmp 0x1400733c8
call fcn.14005ba52
mov r14, rax
jmp 0x140073a0c
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x14007398d
mov r14d, eax
cmp eax, 0x2726
jne 0x140073a04
lea r9, [rsp + 0x378]
mov ecx, dword [r9 + 0x4c]
mov edx, dword [r9 + 0x58]
mov r8d, dword [r9 + 0x5c]
mov dword [rsp + 0x28], 1
and dword [rsp + 0x20], 0
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1400739fb
mov rsi, rax
mov rcx, rax
call fcn.14005c035
test rax, rax
je 0x140073813
mov r14, rax
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_closesocket]
jmp 0x140073a0c
lea rcx, [r15 + 8]
lea rdx, [rsp + 0x5f0]
mov r8d, 0x108
call sub.VCRUNTIME140.dll_memcpy
mov qword [r15], rsi
jmp 0x1400733c8
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
shl r14, 0x20
or r14, 2
mov rcx, r15
mov rdx, r14
jmp 0x1400733c3
lea rcx, [rsp + 0x270]
call fcn.140068974
mov rsi, qword [rsp + 0x68]
movups xmm0, xmmword [rsp + 0x11e]
mov rax, qword [rsp + 0x48]
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [rsp + 0x110]
movups xmmword [rax + 0x12], xmm0
mov qword [rax + 8], rsi
mov word [rax + 0x10], di
inc rbp
mov qword [rax], rbp
lea rcx, [rsp + 0x60]
call fcn.140068a62
jmp 0x1400733e7
ud2