Function at 0x1800de6a0
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 rbx, r8
mov rdi, rdx
mov r14, rcx
movzx eax, byte [rdx + 0x78]
test eax, eax
je 0x1800de742
cmp eax, 3
jne 0x1800df8b3
lea rax, [rdi + 0x30]
mov qword [rsp + 0xc8], rax
lea rsi, [rdi + 0x70]
movzx eax, byte [rdi + 0x70]
test eax, eax
je 0x1800de819
cmp eax, 3
jne 0x1800df8b3
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rcx + 0x10]
mov r8, qword [rbx]
lea rbx, [rsp + 0xe0]
mov rcx, rbx
mov r9b, 1
call fcn.180116a40
movzx eax, byte [rsp + 0xe9]
cmp al, 3
jne 0x1800dee6f
mov byte [rsi], 3
mov qword [r14], 3
mov al, 3
jmp 0x1800df16a
mov rcx, qword [rdi + 0x20]
mov qword [rdi + 0x28], rcx
cmp word [rdi], 0
movzx eax, word [rdi + 0x12]
mov word [rsp + 0x90], ax
movdqu xmm0, xmmword [rdi + 2]
movdqa xmmword [rsp + 0x80], xmm0
je 0x1800de826
mov edx, dword [rdi + 0x14]
mov r8d, dword [rdi + 0x18]
movzx eax, word [rdi + 0x1c]
mov r9, qword [rsp + 0x82]
mov r10d, dword [rsp + 0x8a]
movzx r11d, word [rsp + 0x8e]
rol ax, 8
movzx esi, word [rsp + 0x90]
pxor xmm0, xmm0
movdqu xmmword [rsp + 0xfc], xmm0
movdqu xmmword [rsp + 0x10c], xmm0
movdqu xmmword [rsp + 0x11c], xmm0
movdqu xmmword [rsp + 0x12c], xmm0
movdqu xmmword [rsp + 0x13c], xmm0
movdqu xmmword [rsp + 0x14c], xmm0
mov dword [rsp + 0x15c], 0
mov qword [rsp + 0xe8], r9
mov dword [rsp + 0xf0], r10d
mov word [rsp + 0xf4], r11w
mov word [rsp + 0xf6], si
mov dword [rsp + 0xf8], r8d
mov r8d, 0x1c
mov r9w, 0x17
jmp 0x1800de881
mov qword [rsp + 0xb0], rbx
jmp 0x1800de8f6
lea r8, [rsp + 0xe8]
movzx eax, word [rsp + 0x84]
rol ax, 8
mov edx, dword [rsp + 0x80]
pxor xmm0, xmm0
movdqu xmmword [r8 + 0x60], xmm0
movdqu xmmword [r8 + 0x50], xmm0
movdqu xmmword [r8 + 0x40], xmm0
movdqu xmmword [r8 + 0x30], xmm0
movdqu xmmword [r8 + 0x20], xmm0
movdqu xmmword [r8 + 0x10], xmm0
movdqu xmmword [r8], xmm0
mov qword [r8 + 0x70], 0
mov r8d, 0x10
mov r9w, 2
mov word [rsp + 0xe0], r9w
mov word [rsp + 0xe2], ax
mov dword [rsp + 0xe4], edx
mov dword [rsp + 0x160], r8d
lea rdx, [rsp + 0xe0]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x1800de8ca
call sub.KERNEL32.dll_GetLastError
mov r12d, eax
mov ecx, eax
call fcn.180100c90
cmp al, 0xd
jne 0x1800ded45
mov qword [rsp + 0xb0], rbx
mov rax, qword [rdi + 0x28]
lea rcx, [rdi + 0x30]
mov qword [rsp + 0xc8], rcx
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], 0
lea rsi, [rdi + 0x70]
mov byte [rdi + 0x70], 0
mov rax, qword [rdi + 0x30]
mov qword [rsp + 0xc0], rax
mov rbx, qword [rdi + 0x38]
mov eax, dword [0x18021ea3c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0xc8], 0
je 0x1800de92c
lea rax, [rax + 0xd0]
jmp 0x1800de93a
call fcn.180113ba0
test rax, rax
je 0x1800df8b3
movabs rdx, 0x7fffffffffffffff
mov rcx, qword [rax + 0x38]
dec rdx
cmp rcx, rdx
ja 0x1800df8b3
lea rdx, [rcx + 1]
mov qword [rax + 0x38], rdx
mov r8, qword [rax + 0x40]
cmp r8, 2
je 0x1800df8af
mov rdx, qword [rax + 0x48]
mov r9d, 1
mov ecx, 1
lock xadd qword [rdx], rcx
test r8, r8
mov qword [rsp + 0x48], rbx
je 0x1800de992
test rcx, rcx
jns 0x1800de99e
jmp 0x1800df8b3
test rcx, rcx
js 0x1800df8b3
xor r9d, r9d
mov qword [rsp + 0x168], r9
dec qword [rax + 0x38]
lea rbx, [rdx + 0x158]
lea rax, [rdx + 0xe0]
mov qword [rsp + 0xb8], r8
test r8, r8
mov ecx, 0xe0
mov r8d, 0x158
cmove r8, rcx
cmove rbx, rax
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], r8
cmp qword [rdx + r8], 0
je 0x1800df8b3
lea rcx, [rbx + 0x18]
mov qword [rsp + 0xa8], rcx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
movzx eax, byte [rbx + 0x20]
test al, al
jne 0x1800df8b3
cmp byte [rbx + 0xc0], 0
je 0x1800dea33
movzx eax, byte [0x18021ea38]
mov rcx, qword [0x18021e9c0]
test rcx, rcx
je 0x1800ded91
mov rbx, qword [rsp + 0x48]
jmp 0x1800dedaf
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rdi
mov r14d, 5
xorps xmm6, xmm6
pcmpeqd xmm7, xmm7
jmp 0x1800dea7f
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test bpl, bpl
je 0x1800dee80
inc r14
cmp r14, 0x18
je 0x1800ded61
mov rsi, qword [rbx + r14*8]
mov rax, qword [rsi + 0x48]
cmp rax, qword [rsi + 0x50]
je 0x1800dea72
lea r12, [rsi + 0x10]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x18021e9f8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800deba8
xor r13d, r13d
movzx eax, byte [rsi + 0x18]
mov rdi, qword [rsi + 0x30]
mov rax, qword [rsi + 0x38]
cmp rax, rdi
jae 0x1800deb40
imul rcx, rax, 0x58
mov rdx, qword [rsi + 0x20]
mov r8, qword [rsi + 0x40]
mov r9d, dword [rdx + rcx + 0x50]
mov qword [rsi + 0x38], r9
inc r8
mov qword [rsi + 0x40], r8
mov qword [rsi + 0x48], r8
mov r8, qword [rdx + rcx + 0x40]
add r8d, 0x1000000
and r8d, 0x7f000000
mov qword [rdx + rcx + 0x40], r8
cmp qword [rsi + 0x30], rax
jbe 0x1800df8b3
mov rdx, qword [rsi + 0x20]
add rax, qword [rsi + 0x58]
lock inc qword [rsi]
jle 0x1800df8b3
add rdx, rcx
mov qword [rsp + 0xd0], rdx
xor ebp, ebp
mov qword [rsp + 0xd8], rax
jmp 0x1800ded0c
mov r15, qword [rsi + 0x50]
mov bpl, 1
cmp r15, rdi
je 0x1800ded0c
lea rbp, [rsi + 0x20]
test rdi, rdi
jne 0x1800dec07
mov rax, qword [rsi + 0x28]
cmp rax, r15
jae 0x1800dec07
xor edx, edx
movabs rcx, 0x1745d1745d1745e
cmp r15, rcx
setb dl
imul r8, r15, 0x58
shl rdx, 3
test rax, rax
je 0x1800debb9
mov rcx, qword [rbp]
imul rax, rax, 0x58
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xf0], rax
mov eax, 8
jmp 0x1800debbb
call fcn.1801898f0
mov r13d, eax
xor r13b, 1
jmp 0x1800deab7
xor eax, eax
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0x80]
lea r9, [rsp + 0xe0]
call fcn.180060ad0
cmp qword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x88]
je 0x1800debff
movabs rax, 0x8000000000000001
cmp rcx, rax
je 0x1800dec07
jmp 0x1800df8d9
mov qword [rsi + 0x20], rcx
mov qword [rsi + 0x28], r15
movups xmmword [rsp + 0xe7], xmm6
mov qword [rsp + 0xf7], 0
movups xmm0, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0xef]
mov qword [rsp + 0x8f], rax
mov rax, qword [rsp + 0xf7]
mov qword [rsp + 0x97], rax
mov rdx, qword [rsi + 0x30]
cmp rdx, qword [rsi + 0x28]
jne 0x1800dec61
mov rcx, rbp
call fcn.1800e3ef0
mov rdx, qword [rsi + 0x30]
mov rax, qword [rsi + 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 [rsi + 0x30]
psubq xmm0, xmm7
movdqu xmmword [rsi + 0x30], xmm0
mov rax, qword [rsi + 0x40]
inc rax
mov qword [rsi + 0x40], rax
mov qword [rsi + 0x48], rax
mov byte [rsi + 0x60], 1
movq rax, xmm0
cmp rax, rdi
jbe 0x1800df8b3
mov rax, qword [rsi + 0x58]
add rax, rdi
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsi + 0x20]
lock inc qword [rsi]
jle 0x1800df8b3
imul rax, rdi, 0x58
add rcx, rax
mov qword [rsp + 0xd0], rcx
xor ebp, ebp
test r13b, r13b
jne 0x1800dea60
mov rax, qword [0x18021e9f8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
je 0x1800dea60
call fcn.1801898f0
test al, al
jne 0x1800dea60
mov byte [rsi + 0x18], 1
jmp 0x1800dea60
shl r12, 0x20
or r12, 2
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.ws2_32.dll_closesocket]
mov esi, 2
jmp 0x1800df146
movzx eax, byte [0x18021ea38]
mov rcx, qword [0x18021e9c0]
test rcx, rcx
je 0x1800def65
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
jmp 0x1800def92
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
mov rbx, qword [rsp + 0x48]
je 0x1800df8b7
mov rcx, rax
mov qword [0x18021e9c0], rax
mov r8d, 0x38
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800df8b7
mov r12, rax
movups xmm0, xmmword [0x1801e4590]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x1801e4580]
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_0_r]
movdqu xmmword [rax], xmm0
movabs rax, 0x2e6e776f64747568
mov qword [r12 + 0x30], rax
movzx eax, byte [0x18021ea38]
mov rcx, qword [0x18021e9c0]
test rcx, rcx
jne 0x1800dee26
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800df89e
mov rcx, rax
mov qword [0x18021e9c0], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800df89e
mov r13, rax
mov qword [rax], r12
mov qword [rax + 8], 0x38
mov qword [rax + 0x10], 0x38
movzx eax, byte [0x18021ea38]
mov rcx, qword [0x18021e9c0]
test rcx, rcx
jne 0x1800df057
jmp 0x1800df03e
cmp al, 2
jne 0x1800deed4
mov r12, qword [rsp + 0xe0]
jmp 0x1800df325
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov r15, qword [rsp + 0xd0]
mov r12, qword [r15 + 0x40]
mov rbp, qword [rsp + 0xd8]
cmp rbp, 0x1000000
jae 0x1800df8b3
cmp qword [rsp + 0x48], 0
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x78]
je 0x1800df191
movabs r12, 0xc00000003
jmp 0x1800df23f
mov rcx, qword [rdi + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x1800df8b3
mov dword [rsp + 0x80], 0
mov dword [rsp + 0xe0], 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 0x1800df314
mov r12d, dword [rsp + 0x80]
test r12, r12
jne 0x1800df31d
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 0x1800de734
jmp 0x1800df117
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
je 0x1800df8c8
mov rcx, rax
mov qword [0x18021e9c0], rax
mov r8d, 0x27
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800df8c8
mov r12, rax
movups xmm0, xmmword [0x1801e45b8]
movups xmmword [rax + 0x10], xmm0
movdqu xmm0, xmmword [0x1801e45a8]
movdqu xmmword [rax], xmm0
movabs rax, 0x73656372756f7365
mov qword [r12 + 0x1f], rax
movzx eax, byte [0x18021ea38]
mov rcx, qword [0x18021e9c0]
test rcx, rcx
jne 0x1800deffe
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800df89e
mov rcx, rax
mov qword [0x18021e9c0], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800df89e
mov r13, rax
mov qword [rax], r12
mov qword [rax + 8], 0x27
mov qword [rax + 0x10], 0x27
movzx eax, byte [0x18021ea38]
mov rcx, qword [0x18021e9c0]
test rcx, rcx
jne 0x1800df057
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800df89e
mov rcx, rax
mov qword [0x18021e9c0], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800df89e
mov r12, rax
mov qword [rax], r13
lea rax, fcn.18003fed0
mov qword [r12 + 8], rax
mov byte [r12 + 0x10], 0x27
inc r12
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0xb8]
lock dec qword [rcx]
sete al
test rdx, rdx
je 0x1800df0bb
test al, al
je 0x1800df0c4
call fcn.180113e90
jmp 0x1800df0c4
test al, al
je 0x1800df0c4
call fcn.180113df0
test rbx, rbx
je 0x1800df101
mov rcx, qword [rbx + 8]
call fcn.180074a30
mov rcx, qword [rbx]
lock dec qword [rcx]
jne 0x1800df0e0
call fcn.180114690
mov rcx, qword [rbx + 8]
lock dec qword [rcx]
jne 0x1800df0ef
call fcn.180056bb0
mov rcx, qword [0x18021e9c0]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ws2_32.dll_closesocket]
mov byte [rsi], 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 + 0xc8]
call fcn.1800de590
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 + 0x70]
mov rdi, qword [rax + rcx]
lea rbx, [rdi + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x18021e9f8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800df760
xor r14d, r14d
movzx eax, byte [rdi + 0x28]
test al, al
jne 0x1800df8b3
mov qword [rsp + 0xa8], r12
lea r13, [rdi + 0x30]
mov rax, qword [rdi + 0x40]
test rax, rax
je 0x1800df1fb
mov rcx, qword [r13]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
cmp rax, 0x21
jb 0x1800df333
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax + 0x10]
mov rdx, r13
call fcn.180074b30
mov r12, rax
test rax, rax
je 0x1800df333
test r14b, r14b
jne 0x1800df236
mov rax, qword [0x18021e9f8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800df888
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rbx, qword [rsp + 0x48]
mov r14, qword [r15 + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x18021e9f8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800df628
xor ecx, ecx
movzx eax, byte [r14 + 8]
cmp qword [r14 + 0x18], 0
je 0x1800df8b3
mov r8, qword [r14 + 0x10]
cmp r8, r15
ja 0x1800df8b3
sub r15, r8
movabs rdx, 0x2e8ba2e8ba2e8ba3
mov rax, r15
mul rdx
shr rdx, 4
cmp rdx, qword [r14 + 0x20]
jae 0x1800df8b3
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 0x1800df2e9
mov rax, qword [0x18021e9f8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800df7e7
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lock dec qword [r14 - 0x10]
jne 0x1800df305
add r14, 0xfffffffffffffff0
mov rcx, r14
call fcn.180084a50
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
jmp 0x1800df097
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r12d, eax
shl r12, 0x20
or r12, 2
lea rcx, [rdi + 0x40]
call fcn.1800d1510
jmp 0x1800df10f
mov qword [rsp + 0x70], rdi
mov rax, qword [rdi + 0x40]
test rax, rax
je 0x1800df8b3
mov rcx, qword [r13]
mov rdx, qword [rcx + rax*8 - 8]
lock inc qword [rdx]
lea rdi, [rsp + 0xe0]
jle 0x1800df8b3
mov r13, qword [rcx + rax*8 - 8]
test r14b, r14b
jne 0x1800df384
mov rax, qword [0x18021e9f8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800df86d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [rsp + 0xe0], 0
mov dword [rsp + 0x54], 0
xorps xmm6, xmm6
movups xmmword [rsp + 0x38], xmm6
lea rsi, [rsp + 0x54]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 8
mov r14, qword [rsp + 0xc0]
mov rcx, r14
mov edx, 0x48000022
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1800df409
mov rdi, qword [rsp + 0xe0]
mov r12, r13
movzx eax, byte [0x18021ea38]
mov rcx, qword [0x18021e9c0]
test rcx, rcx
je 0x1800df46c
mov rsi, qword [rsp + 0x58]
jmp 0x1800df48a
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r12d, eax
mov qword [rsp + 0xe0], 0
mov dword [rsp + 0x54], 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 0x1800df6f6
mov rdi, qword [rsp + 0xe0]
cmp rdi, r14
jne 0x1800df3e9
jmp 0x1800df6fc
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
mov rsi, qword [rsp + 0x58]
je 0x1800df8ed
mov rcx, rax
mov qword [0x18021e9c0], rax
mov r8d, 0x80
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800df8ed
mov r13, rax
mov rax, qword [rsp + 0xa8]
and eax, 0x7f000000
and rbp, 0xffffffff80ffffff
or rbp, rax
mov qword [r13], 1
mov qword [r13 + 8], 1
mov r14, r13
add r14, 0x10
mov qword [r13 + 0x10], 0
mov byte [r13 + 0x18], 0
mov dword [r13 + 0x20], 0
mov qword [r13 + 0x28], r12
pxor xmm0, xmm0
movdqu xmmword [r13 + 0x30], xmm0
movdqu xmmword [r13 + 0x40], xmm0
movdqu xmmword [r13 + 0x50], xmm0
mov qword [r13 + 0x60], rdi
movdqu xmmword [r13 + 0x68], xmm0
mov word [r13 + 0x78], 0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x18021e9f8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800df825
movzx eax, byte [r13 + 0x18]
test al, al
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x70]
jne 0x1800df8b3
mov dword [r13 + 0x70], 0x19d
mov qword [r13 + 0x68], rbp
mov rax, qword [0x18021e9f8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800df856
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lock inc qword [rdi]
jle 0x1800df8b3
lock inc qword [r13]
jle 0x1800df8b3
lea r14, [rdi + 0x10]
mov rcx, r14
mov rdx, r13
call fcn.180074950
movzx eax, byte [rdi + 0x78]
test al, al
je 0x1800df5e5
mov rcx, r14
call fcn.180073cc0
test rax, rax
je 0x1800df5e5
mov r12, rax
mov rcx, r13
call fcn.180074a30
lock dec qword [rdi]
jne 0x1800df5cd
mov rcx, rdi
call fcn.1800750b0
lock dec qword [r13]
jne 0x1800df244
mov rcx, r13
call fcn.1800745a0
jmp 0x1800df244
mov eax, dword [rsp + 0xe0]
mov ecx, dword [rsp + 0xe3]
mov dword [rsp + 0x83], ecx
mov dword [rsp + 0x80], eax
movzx eax, byte [0x18021ea38]
mov rcx, qword [0x18021e9c0]
test rcx, rcx
je 0x1800df647
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xb0]
jmp 0x1800df672
call fcn.1801898f0
mov ecx, eax
xor cl, 1
movzx eax, byte [r14 + 8]
cmp qword [r14 + 0x18], 0
jne 0x1800df27d
jmp 0x1800df8b3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xb0]
je 0x1800df8fe
mov rcx, rax
mov qword [0x18021e9c0], rax
mov r8d, 0x20
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800df8fe
mov rcx, qword [rsp + 0x70]
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 + 0x168]
cmp edx, 2
jne 0x1800df6c8
mov r12, qword [rsp + 0x78]
jmp 0x1800df10f
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 + 0xc0]
mov qword [rdi + 0x58], rdx
mov qword [rdi + 0x60], rax
mov qword [rdi + 0x68], rcx
jmp 0x1800de707
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov qword [rsp + 0xe0], 0
mov dword [rsp + 0x54], 0
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0xe0]
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 0x1800df77d
mov rdi, qword [rsp + 0xe0]
cmp rdi, r14
jne 0x1800df3e9
jmp 0x1800df783
call fcn.1801898f0
mov r14d, eax
xor r14b, 1
movzx eax, byte [rdi + 0x28]
test al, al
je 0x1800df1d0
jmp 0x1800df8b3
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov qword [rsp + 0xe0], 0
mov dword [rsp + 0x54], 0
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0xe0]
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 0x1800df7fe
mov rdi, qword [rsp + 0xe0]
cmp rdi, r14
jne 0x1800df3e9
jmp 0x1800df804
call fcn.1801898f0
test al, al
jne 0x1800df2e9
mov byte [r14 + 8], 1
jmp 0x1800df2e9
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl r12, 0x20
or r12, 2
lock dec qword [r13]
jne 0x1800df81b
mov rcx, r13
call fcn.180056c70
mov rsi, qword [rsp + 0x58]
jmp 0x1800df23f
call fcn.1801898f0
movzx ecx, byte [r13 + 0x18]
test cl, cl
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x70]
jne 0x1800df8b3
mov dword [r13 + 0x70], 0x19d
mov qword [r13 + 0x68], rbp
test al, al
jne 0x1800df558
jmp 0x1800df572
call fcn.1801898f0
test al, al
jne 0x1800df572
mov byte [r13 + 0x18], 1
jmp 0x1800df572
call fcn.1801898f0
test al, al
jne 0x1800df384
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x28], 1
jmp 0x1800df384
call fcn.1801898f0
test al, al
jne 0x1800df236
mov byte [rdi + 0x28], 1
jmp 0x1800df236
mov ecx, 8
mov edx, 0x18
call fcn.1801828e0
ud2
mov qword [rax + 0x38], rcx
ud2
mov ecx, 1
mov edx, 0x38
call fcn.1801828e0
ud2
mov ecx, 1
mov edx, 0x27
call fcn.1801828e0
ud2
test rcx, rcx
je 0x1800df8b3
mov rdx, qword [rsp + 0x90]
call fcn.1801828e0
ud2
mov ecx, 8
mov edx, 0x80
call fcn.1801828e0
ud2
mov ecx, 8
mov edx, 0x20
call fcn.1801828e0
ud2