Function at 0x1800dc220
Capabilities:
Connect socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1d8
movdqa xmmword [rsp + 0x1c0], xmm7
movaps xmmword [rsp + 0x1b0], xmm6
mov rsi, r8
mov rdi, rdx
mov r14, rcx
movzx eax, byte [rdx + 0x78]
test eax, eax
je 0x1800dc2d2
cmp eax, 3
jne 0x1800dd3c3
lea rax, [rdi + 0x30]
mov qword [rsp + 0xc0], rax
lea rax, [rdi + 0x70]
mov qword [rsp + 0xb8], rax
movzx eax, byte [rdi + 0x70]
test eax, eax
je 0x1800dc380
cmp eax, 3
jne 0x1800dd3c3
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rcx + 0x10]
mov r8, qword [rsi]
lea rbx, [rsp + 0xd8]
mov rcx, rbx
mov r9b, 1
call fcn.180114bf0
movzx eax, byte [rsp + 0xe1]
cmp al, 3
jne 0x1800dc9b5
mov rax, qword [rsp + 0xb8]
mov byte [rax], 3
mov qword [r14], 3
mov al, 3
jmp 0x1800dcc9a
mov rcx, qword [rdi + 0x20]
mov qword [rdi + 0x28], rcx
mov eax, dword [rdi + 2]
movzx edx, word [rdi + 6]
shl rdx, 0x20
or rdx, rax
cmp word [rdi], 0
je 0x1800dc38d
mov r10d, dword [rdi + 0x14]
mov r8d, dword [rdi + 0x18]
movzx eax, word [rdi + 0x1c]
shr rdx, 0x10
mov dword [rsp + 0xe0], edx
mov rdx, qword [rdi + 8]
mov qword [rsp + 0xe4], rdx
mov edx, dword [rdi + 0x10]
mov dword [rsp + 0xec], edx
rol ax, 8
pxor xmm0, xmm0
movdqu xmmword [rsp + 0xf4], xmm0
movdqu xmmword [rsp + 0x104], xmm0
movdqu xmmword [rsp + 0x114], xmm0
movdqu xmmword [rsp + 0x124], xmm0
movdqu xmmword [rsp + 0x134], xmm0
movdqu xmmword [rsp + 0x144], xmm0
mov dword [rsp + 0x154], 0
mov dword [rsp + 0xf0], r8d
mov r8d, 0x1c
mov r9w, 0x17
mov edx, r10d
jmp 0x1800dc3f2
mov qword [rsp + 0xa0], rsi
jmp 0x1800dc46f
mov rax, rdx
shr rax, 0x20
rol ax, 8
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x140], xmm0
movdqu xmmword [rsp + 0x130], xmm0
movdqu xmmword [rsp + 0x120], xmm0
movdqu xmmword [rsp + 0x110], xmm0
movdqu xmmword [rsp + 0x100], xmm0
movdqu xmmword [rsp + 0xf0], xmm0
movdqu xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0x150], 0
mov r8d, 0x10
mov r9w, 2
mov word [rsp + 0xd8], r9w
mov word [rsp + 0xda], ax
mov dword [rsp + 0xdc], edx
mov dword [rsp + 0x158], r8d
lea rdx, [rsp + 0xd8]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x1800dc43b
call sub.KERNEL32.dll_GetLastError
mov r12d, eax
mov ecx, eax
call fcn.1800fef40
cmp al, 0xd
jne 0x1800dc8a5
mov qword [rsp + 0xa0], rsi
mov rax, qword [rdi + 0x28]
lea rcx, [rdi + 0x30]
mov qword [rsp + 0xc0], rcx
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], 0
lea rax, [rdi + 0x70]
mov qword [rsp + 0xb8], rax
mov byte [rdi + 0x70], 0
mov rax, qword [rdi + 0x30]
mov qword [rsp + 0xb0], rax
mov rsi, qword [rdi + 0x38]
mov eax, dword [0x18021a9d8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0xc8], 0
je 0x1800dc4a5
lea rax, [rax + 0xd0]
jmp 0x1800dc4b3
call fcn.180111aa0
test rax, rax
je 0x1800dd3c3
movabs rdx, 0x7fffffffffffffff
mov rcx, qword [rax + 0x38]
dec rdx
cmp rcx, rdx
ja 0x1800dd3c3
lea rdx, [rcx + 1]
mov qword [rax + 0x38], rdx
mov r8, qword [rax + 0x40]
cmp r8, 2
je 0x1800dd3bf
mov rdx, qword [rax + 0x48]
mov r9d, 1
mov ecx, 1
lock xadd qword [rdx], rcx
test r8, r8
mov qword [rsp + 0x50], rsi
je 0x1800dc50b
test rcx, rcx
jns 0x1800dc517
jmp 0x1800dd3c3
test rcx, rcx
js 0x1800dd3c3
xor r9d, r9d
mov qword [rsp + 0x160], r9
dec qword [rax + 0x38]
lea rbx, [rdx + 0x158]
lea rax, [rdx + 0xe0]
mov qword [rsp + 0xa8], r8
test r8, r8
mov ecx, 0xe0
mov r8d, 0x158
cmove r8, rcx
cmove rbx, rax
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x168], r8
cmp qword [rdx + r8], 0
je 0x1800dd3c3
lea rcx, [rbx + 0x18]
mov qword [rsp + 0x60], rcx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
movzx eax, byte [rbx + 0x20]
test al, al
jne 0x1800dd3c3
cmp byte [rbx + 0xc0], 0
je 0x1800dc5a5
mov rcx, qword [0x18021a960]
test rcx, rcx
je 0x1800dc8e5
mov rsi, qword [rsp + 0x50]
jmp 0x1800dc903
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], rdi
mov r14d, 5
xorps xmm6, xmm6
pcmpeqd xmm7, xmm7
jmp 0x1800dc5df
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test bpl, bpl
je 0x1800dc9c6
inc r14
cmp r14, 0x18
je 0x1800dc8c1
mov rdi, qword [rbx + r14*8]
mov rax, qword [rdi + 0x48]
cmp rax, qword [rdi + 0x50]
je 0x1800dc5d2
lea r12, [rdi + 0x10]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x18021a998]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800dc708
xor r13d, r13d
movzx eax, byte [rdi + 0x18]
mov rsi, qword [rdi + 0x30]
mov rax, qword [rdi + 0x38]
cmp rax, rsi
jae 0x1800dc6a0
imul rcx, rax, 0x58
mov rdx, qword [rdi + 0x20]
mov r8, qword [rdi + 0x40]
mov r9d, dword [rdx + rcx + 0x50]
mov qword [rdi + 0x38], r9
inc r8
mov qword [rdi + 0x40], r8
mov qword [rdi + 0x48], r8
mov r8, qword [rdx + rcx + 0x40]
add r8d, 0x1000000
and r8d, 0x7f000000
mov qword [rdx + rcx + 0x40], r8
cmp qword [rdi + 0x30], rax
jbe 0x1800dd3c3
mov rdx, qword [rdi + 0x20]
add rax, qword [rdi + 0x58]
lock inc qword [rdi]
jle 0x1800dd3c3
add rdx, rcx
mov qword [rsp + 0xc8], rdx
xor ebp, ebp
mov qword [rsp + 0xd0], rax
jmp 0x1800dc86c
mov r15, qword [rdi + 0x50]
mov bpl, 1
cmp r15, rsi
je 0x1800dc86c
lea rbp, [rdi + 0x20]
test rsi, rsi
jne 0x1800dc767
mov rax, qword [rdi + 0x28]
cmp rax, r15
jae 0x1800dc767
xor edx, edx
movabs rcx, 0x1745d1745d1745e
cmp r15, rcx
setb dl
imul r8, r15, 0x58
shl rdx, 3
test rax, rax
je 0x1800dc719
mov rcx, qword [rbp]
imul rax, rax, 0x58
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xe8], rax
mov eax, 8
jmp 0x1800dc71b
call fcn.180186710
mov r13d, eax
xor r13b, 1
jmp 0x1800dc617
xor eax, eax
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0x80]
lea r9, [rsp + 0xd8]
call fcn.1800fe5a0
cmp qword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x88]
je 0x1800dc75f
movabs rax, 0x8000000000000001
cmp rcx, rax
je 0x1800dc767
jmp 0x1800dd3e9
mov qword [rdi + 0x20], rcx
mov qword [rdi + 0x28], r15
movups xmmword [rsp + 0xdf], xmm6
mov qword [rsp + 0xef], 0
movups xmm0, xmmword [rsp + 0xd8]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0xe7]
mov qword [rsp + 0x8f], rax
mov rax, qword [rsp + 0xef]
mov qword [rsp + 0x97], rax
mov rdx, qword [rdi + 0x30]
cmp rdx, qword [rdi + 0x28]
jne 0x1800dc7c1
mov rcx, rbp
call fcn.1800e20b0
mov rdx, qword [rdi + 0x30]
mov rax, qword [rdi + 0x20]
imul rcx, rdx, 0x58
mov qword [rax + rcx], 0
mov byte [rax + rcx + 8], 0
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rax + rcx + 9], xmm0
movups xmm0, xmmword [rsp + 0x8f]
movups xmmword [rax + rcx + 0x18], xmm0
mov qword [rax + rcx + 0x30], 0
mov qword [rax + rcx + 0x40], 0
mov qword [rax + rcx + 0x48], r12
mov dword [rax + rcx + 0x50], 0
movdqu xmm0, xmmword [rdi + 0x30]
psubq xmm0, xmm7
movdqu xmmword [rdi + 0x30], xmm0
mov rax, qword [rdi + 0x40]
inc rax
mov qword [rdi + 0x40], rax
mov qword [rdi + 0x48], rax
mov byte [rdi + 0x60], 1
movq rax, xmm0
cmp rax, rsi
jbe 0x1800dd3c3
mov rax, qword [rdi + 0x58]
add rax, rsi
mov qword [rsp + 0xd0], rax
mov rcx, qword [rdi + 0x20]
lock inc qword [rdi]
jle 0x1800dd3c3
imul rax, rsi, 0x58
add rcx, rax
mov qword [rsp + 0xc8], rcx
xor ebp, ebp
test r13b, r13b
jne 0x1800dc5c0
mov rax, qword [0x18021a998]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
je 0x1800dc5c0
call fcn.180186710
test al, al
jne 0x1800dc5c0
mov byte [rdi + 0x18], 1
jmp 0x1800dc5c0
shl r12, 0x20
or r12, 2
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.ws2_32.dll_closesocket]
mov esi, 2
jmp 0x1800dcc76
mov rcx, qword [0x18021a960]
test rcx, rcx
je 0x1800dcaa3
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
jmp 0x1800dcacb
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
mov rsi, qword [rsp + 0x50]
je 0x1800dd3c7
mov rcx, rax
mov qword [0x18021a960], rax
mov r8d, 0x38
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800dd3c7
mov r12, rax
movups xmm0, xmmword [0x1801e00d0]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x1801e00c0]
movups xmmword [rax + 0x10], xmm0
movdqu xmm0, xmmword [str.A_Tokio_1.x_context_was_found__but_it_is_being_shutdown.reactor_at_max_registered_I_O_resources__]
movdqu xmmword [rax], xmm0
movabs rax, 0x2e6e776f64747568
mov qword [r12 + 0x30], rax
mov rcx, qword [0x18021a960]
test rcx, rcx
jne 0x1800dc973
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800dd3ae
mov rcx, rax
mov qword [0x18021a960], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800dd3ae
mov r13, rax
mov qword [rax], r12
mov qword [rax + 8], 0x38
mov qword [rax + 0x10], 0x38
mov rcx, qword [0x18021a960]
test rcx, rcx
jne 0x1800dcb82
jmp 0x1800dcb69
cmp al, 2
jne 0x1800dca12
mov r12, qword [rsp + 0xd8]
jmp 0x1800dce50
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov r15, qword [rsp + 0xc8]
mov rbx, qword [r15 + 0x40]
mov rbp, qword [rsp + 0xd0]
cmp rbp, 0x1000000
jae 0x1800dd3c3
cmp qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x78]
je 0x1800dccc1
movabs r12, 0xc00000003
jmp 0x1800dcd6a
mov rcx, qword [rdi + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x1800dd3c3
mov dword [rsp + 0x80], 0
mov dword [rsp + 0xd8], 4
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x80]
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.ws2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x1800dce3f
mov r12d, dword [rsp + 0x80]
test r12, r12
jne 0x1800dce48
mov rsi, qword [rdi + 0x40]
mov r12, qword [rdi + 0x48]
mov rax, qword [rdi + 0x60]
mov qword [rsp + 0x180], rax
movdqu xmm0, xmmword [rdi + 0x50]
movdqa xmmword [rsp + 0x170], xmm0
mov byte [rdi + 0x70], 1
cmp rsi, 3
je 0x1800dc2c4
jmp 0x1800dcc47
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
je 0x1800dd3d8
mov rcx, rax
mov qword [0x18021a960], rax
mov r8d, 0x27
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800dd3d8
mov r12, rax
movups xmm0, xmmword [0x1801e00f8]
movups xmmword [rax + 0x10], xmm0
movdqu xmm0, xmmword [0x1801e00e8]
movdqu xmmword [rax], xmm0
movabs rax, 0x73656372756f7365
mov qword [r12 + 0x1f], rax
mov rcx, qword [0x18021a960]
test rcx, rcx
jne 0x1800dcb30
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800dd3ae
mov rcx, rax
mov qword [0x18021a960], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800dd3ae
mov r13, rax
mov qword [rax], r12
mov qword [rax + 8], 0x27
mov qword [rax + 0x10], 0x27
mov rcx, qword [0x18021a960]
test rcx, rcx
jne 0x1800dcb82
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800dd3ae
mov rcx, rax
mov qword [0x18021a960], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800dd3ae
mov r12, rax
mov qword [rax], r13
lea rax, [0x1801dffd0]
mov qword [r12 + 8], rax
mov byte [r12 + 0x10], 0x27
inc r12
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0xa8]
lock dec qword [rcx]
sete al
test rdx, rdx
je 0x1800dcbe3
test al, al
je 0x1800dcbec
call fcn.180111d90
jmp 0x1800dcbec
test al, al
je 0x1800dcbec
call fcn.180111cf0
test rsi, rsi
je 0x1800dcc29
mov rcx, qword [rsi + 8]
call fcn.1800732d0
mov rcx, qword [rsi]
lock dec qword [rcx]
jne 0x1800dcc08
call fcn.18000bcd0
mov rcx, qword [rsi + 8]
lock dec qword [rcx]
jne 0x1800dcc17
call fcn.180112eb0
mov rcx, qword [0x18021a960]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ws2_32.dll_closesocket]
mov rax, qword [rsp + 0xb8]
mov byte [rax], 1
mov esi, 2
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x1a0], rax
movdqa xmm0, xmmword [rsp + 0x170]
movdqa xmmword [rsp + 0x190], xmm0
mov rcx, qword [rsp + 0xc0]
call fcn.1800dc110
mov qword [r14], rsi
mov qword [r14 + 8], r12
movdqa xmm0, xmmword [rsp + 0x190]
movdqu xmmword [r14 + 0x10], xmm0
mov rax, qword [rsp + 0x1a0]
mov qword [r14 + 0x20], rax
mov al, 1
mov byte [rdi + 0x78], al
movaps xmm6, xmmword [rsp + 0x1b0]
movaps xmm7, xmmword [rsp + 0x1c0]
add rsp, 0x1d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x168]
mov rsi, qword [rax + rcx]
lea rdi, [rsi + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x18021a998]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800dd271
xor r14d, r14d
movzx eax, byte [rsi + 0x28]
test al, al
jne 0x1800dd3c3
lea r13, [rsi + 0x30]
mov rax, qword [rsi + 0x40]
test rax, rax
je 0x1800dcd26
mov rcx, qword [r13]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
cmp rax, 0x21
jb 0x1800dce5e
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax + 0x10]
mov rdx, r13
call fcn.1800733d0
mov r12, rax
test rax, rax
je 0x1800dce5e
test r14b, r14b
jne 0x1800dcd61
mov rax, qword [0x18021a998]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800dd398
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rsi, qword [rsp + 0x50]
mov r14, qword [r15 + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x18021a998]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800dd139
xor ecx, ecx
movzx eax, byte [r14 + 8]
cmp qword [r14 + 0x18], 0
je 0x1800dd3c3
mov r8, qword [r14 + 0x10]
cmp r8, r15
ja 0x1800dd3c3
sub r15, r8
movabs rdx, 0x2e8ba2e8ba2e8ba3
mov rax, r15
mul rdx
shr rdx, 4
cmp rdx, qword [r14 + 0x20]
jae 0x1800dd3c3
mov eax, dword [r14 + 0x28]
imul r9, rdx, 0x58
mov dword [r8 + r9 + 0x50], eax
mov qword [r14 + 0x28], rdx
mov rax, qword [r14 + 0x30]
dec rax
mov qword [r14 + 0x30], rax
mov qword [r14 + 0x38], rax
test cl, cl
jne 0x1800dce14
mov rax, qword [0x18021a998]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800dd2f8
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lock dec qword [r14 - 0x10]
jne 0x1800dce30
add r14, 0xfffffffffffffff0
mov rcx, r14
call fcn.180096660
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x68]
jmp 0x1800dcbbf
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r12d, eax
shl r12, 0x20
or r12, 2
lea rcx, [rdi + 0x40]
call fcn.1800cf9b0
jmp 0x1800dcc37
mov qword [rsp + 0x60], rsi
mov rax, qword [rsi + 0x40]
test rax, rax
je 0x1800dd3c3
mov r12, rdi
mov rcx, qword [r13]
mov rdx, qword [rcx + rax*8 - 8]
lock inc qword [rdx]
lea rdi, [rsp + 0xd8]
jle 0x1800dd3c3
mov r13, qword [rcx + rax*8 - 8]
test r14b, r14b
jne 0x1800dceb2
mov rax, qword [0x18021a998]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800dd37d
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [rsp + 0xd8], 0
mov dword [rsp + 0x5c], 0
xorps xmm6, xmm6
movups xmmword [rsp + 0x38], xmm6
lea rsi, [rsp + 0x5c]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 8
mov r14, qword [rsp + 0xb0]
mov rcx, r14
mov edx, 0x48000022
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1800dd0d2
mov rdi, qword [rsp + 0xd8]
mov rsi, r13
mov rcx, qword [0x18021a960]
test rcx, rcx
jne 0x1800dcf43
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800dd3fd
mov rcx, rax
mov qword [0x18021a960], rax
mov r8d, 0x80
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800dd3fd
mov r13, rax
and ebx, 0x7f000000
and rbp, 0xffffffff80ffffff
or rbp, rbx
mov qword [rax], 1
mov qword [rax + 8], 1
mov r14, rax
add r14, 0x10
mov qword [rax + 0x10], 0
mov byte [rax + 0x18], 0
mov dword [rax + 0x20], 0
mov qword [rax + 0x28], rsi
pxor xmm0, xmm0
movdqu xmmword [rax + 0x30], xmm0
movdqu xmmword [rax + 0x40], xmm0
movdqu xmmword [rax + 0x50], xmm0
mov qword [rax + 0x60], rdi
movdqu xmmword [rax + 0x68], xmm0
mov word [rax + 0x78], 0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x18021a998]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800dd335
movzx eax, byte [r13 + 0x18]
test al, al
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
jne 0x1800dd3c3
mov dword [r13 + 0x70], 0x19d
mov qword [r13 + 0x68], rbp
mov rax, qword [0x18021a998]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800dd366
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lock inc qword [rdi]
jle 0x1800dd3c3
lock inc qword [r13]
jle 0x1800dd3c3
lea r14, [rdi + 0x10]
mov rcx, r14
mov rdx, r13
call fcn.1800731f0
movzx eax, byte [rdi + 0x78]
test al, al
je 0x1800dd08f
mov rcx, r14
call fcn.180072560
test rax, rax
je 0x1800dd08f
mov r12, rax
mov rcx, r13
call fcn.1800732d0
lock dec qword [rdi]
jne 0x1800dd077
mov rcx, rdi
call fcn.180073930
lock dec qword [r13]
jne 0x1800dcd6f
mov rcx, r13
call fcn.180072e40
jmp 0x1800dcd6f
mov eax, dword [rsp + 0xd8]
mov ecx, dword [rsp + 0xdb]
mov dword [rsp + 0x83], ecx
mov dword [rsp + 0x80], eax
mov rcx, qword [0x18021a960]
test rcx, rcx
je 0x1800dd158
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0xa0]
jmp 0x1800dd183
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r12d, eax
mov qword [rsp + 0xd8], 0
mov dword [rsp + 0x5c], 0
movups xmmword [rsp + 0x38], xmm6
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 8
mov rcx, r14
mov edx, 0x4800001c
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1800dd207
mov rdi, qword [rsp + 0xd8]
cmp rdi, r14
jne 0x1800dcf1b
jmp 0x1800dd20d
call fcn.180186710
mov ecx, eax
xor cl, 1
movzx eax, byte [r14 + 8]
cmp qword [r14 + 0x18], 0
jne 0x1800dcda8
jmp 0x1800dd3c3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0xa0]
je 0x1800dd40e
mov rcx, rax
mov qword [0x18021a960], rax
mov r8d, 0x20
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800dd40e
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov qword [rax + 8], r13
mov qword [rax + 0x10], rbp
mov byte [rax + 0x18], 3
mov ecx, dword [rsp + 0x80]
mov edx, dword [rsp + 0x83]
mov dword [rax + 0x19], ecx
mov dword [rax + 0x1c], edx
mov rdx, qword [rsp + 0x160]
cmp edx, 2
jne 0x1800dd1d9
mov r12, qword [rsp + 0x78]
jmp 0x1800dcc37
lea rcx, [rdi + 0x40]
mov qword [rdi + 0x40], rdx
mov rdx, qword [rsp + 0x78]
mov qword [rdi + 0x48], rdx
mov qword [rdi + 0x50], r15
mov rdx, qword [rsp + 0xb0]
mov qword [rdi + 0x58], rdx
mov qword [rdi + 0x60], rax
mov qword [rdi + 0x68], rcx
jmp 0x1800dc28f
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov qword [rsp + 0xd8], 0
mov dword [rsp + 0x5c], 0
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 8
mov rcx, r14
mov edx, 0x4800001d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1800dd28e
mov rdi, qword [rsp + 0xd8]
cmp rdi, r14
jne 0x1800dcf1b
jmp 0x1800dd294
call fcn.180186710
mov r14d, eax
xor r14b, 1
movzx eax, byte [rsi + 0x28]
test al, al
je 0x1800dcd03
jmp 0x1800dd3c3
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov qword [rsp + 0xd8], 0
mov dword [rsp + 0x5c], 0
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 8
mov rcx, r14
mov edx, 0x4800001b
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1800dd30f
mov rdi, qword [rsp + 0xd8]
cmp rdi, r14
jne 0x1800dcf1b
jmp 0x1800dd315
call fcn.180186710
test al, al
jne 0x1800dce14
mov byte [r14 + 8], 1
jmp 0x1800dce14
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl r12, 0x20
or r12, 2
lock dec qword [r13]
jne 0x1800dcd6a
mov rcx, r13
call fcn.18000bee0
jmp 0x1800dcd6a
call fcn.180186710
movzx ecx, byte [r13 + 0x18]
test cl, cl
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
jne 0x1800dd3c3
mov dword [r13 + 0x70], 0x19d
mov qword [r13 + 0x68], rbp
test al, al
jne 0x1800dd002
jmp 0x1800dd01c
call fcn.180186710
test al, al
jne 0x1800dd01c
mov byte [r13 + 0x18], 1
jmp 0x1800dd01c
call fcn.180186710
test al, al
jne 0x1800dceb2
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x28], 1
jmp 0x1800dceb2
call fcn.180186710
test al, al
jne 0x1800dcd61
mov byte [rsi + 0x28], 1
jmp 0x1800dcd61
mov ecx, 8
mov edx, 0x18
call fcn.18017f950
ud2
mov qword [rax + 0x38], rcx
ud2
mov ecx, 1
mov edx, 0x38
call fcn.18017f950
ud2
mov ecx, 1
mov edx, 0x27
call fcn.18017f950
ud2
test rcx, rcx
je 0x1800dd3c3
mov rdx, qword [rsp + 0x90]
call fcn.18017f950
ud2
mov ecx, 8
mov edx, 0x80
call fcn.18017f950
ud2
mov ecx, 8
mov edx, 0x20
call fcn.18017f950
ud2