Function at 0x1800d4140
Capabilities:
Connect socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1b8
movaps xmmword [rsp + 0x1a0], xmm6
mov r15, r8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [rdx + 0x78]
test eax, eax
je 0x1800d41d3
cmp eax, 3
jne 0x1800d5047
lea rbp, [rsi + 0x30]
lea r12, [rsi + 0x70]
movzx eax, byte [rsi + 0x70]
test eax, eax
je 0x1800d4358
cmp eax, 3
jne 0x1800d5047
mov rcx, qword [rsi + 0x68]
mov rdx, qword [rcx + 0x10]
mov r8, qword [r15]
lea rbx, [rsp + 0xc8]
mov rcx, rbx
mov r9b, 1
call fcn.1801032a0
movzx eax, byte [rsp + 0xd1]
cmp al, 3
jne 0x1800d4690
mov byte [r12], 3
mov qword [rdi], 3
mov al, 3
jmp 0x1800d4f7d
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x28], rcx
cmp word [rsi], 0
movzx eax, word [rsi + 0x12]
mov word [rsp + 0x90], ax
movups xmm0, xmmword [rsi + 2]
movaps xmmword [rsp + 0x80], xmm0
je 0x1800d42a1
mov edx, dword [rsi + 0x14]
mov r8d, dword [rsi + 0x18]
movzx eax, word [rsi + 0x1c]
mov r9, qword [rsp + 0x82]
mov r10d, dword [rsp + 0x8a]
movzx r11d, word [rsp + 0x8e]
movzx ebx, word [rsp + 0x90]
xorps xmm0, xmm0
movups xmmword [rsp + 0xe4], xmm0
movups xmmword [rsp + 0xf4], xmm0
movups xmmword [rsp + 0x104], xmm0
movups xmmword [rsp + 0x114], xmm0
movups xmmword [rsp + 0x124], xmm0
movups xmmword [rsp + 0x134], xmm0
rol ax, 8
mov dword [rsp + 0x144], 0
mov qword [rsp + 0xd0], r9
mov dword [rsp + 0xd8], r10d
mov word [rsp + 0xdc], r11w
mov word [rsp + 0xde], bx
mov dword [rsp + 0xe0], r8d
mov r8d, 0x1c
mov r9w, 0x17
jmp 0x1800d42f4
lea r8, [rsp + 0xd0]
movzx eax, word [rsp + 0x84]
rol ax, 8
mov edx, dword [rsp + 0x80]
xorps xmm0, xmm0
movups xmmword [r8 + 0x60], xmm0
movups xmmword [r8 + 0x50], xmm0
movups xmmword [r8 + 0x40], xmm0
movups xmmword [r8 + 0x30], xmm0
movups xmmword [r8 + 0x20], xmm0
movups xmmword [r8 + 0x10], xmm0
movups xmmword [r8], xmm0
mov qword [r8 + 0x70], 0
mov r8d, 0x10
mov r9w, 2
mov word [rsp + 0xc8], r9w
mov word [rsp + 0xca], ax
mov dword [rsp + 0xcc], edx
mov dword [rsp + 0x148], r8d
lea rdx, [rsp + 0xc8]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x1800d433c
call fcn.1801572a5
mov ebx, eax
mov ecx, eax
call fcn.1800f40d0
cmp al, 0xd
jne 0x1800d4673
mov rax, qword [rsi + 0x28]
lea rbp, [rsi + 0x30]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], 0
lea r12, [rsi + 0x70]
mov byte [rsi + 0x70], 0
mov r13, qword [rsi + 0x30]
mov r14, qword [rsi + 0x38]
mov eax, dword [0x1801fba34]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x110]
cmp eax, 1
je 0x1800d43b4
test eax, eax
jne 0x1800d5047
mov eax, dword [0x1801fba34]
mov rcx, qword gs:[0x58]
mov rbx, qword [rcx + rax*8]
lea rcx, [rbx + 0xc0]
lea rdx, [0x1801004d0]
call fcn.1800f3240
mov byte [rbx + 0x110], 1
movabs rdx, 0x7fffffffffffffff
mov eax, dword [0x1801fba34]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0xc0]
lea rcx, [rdx - 1]
cmp rax, rcx
ja 0x1800d5047
lea rcx, [rax + 1]
mov edx, dword [0x1801fba34]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov qword [rdx + 0xc0], rcx
mov r8, qword [rdx + 0xc8]
cmp r8, 2
je 0x1800d502d
mov eax, dword [0x1801fba34]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rdx, qword [rax + 0xd0]
mov ecx, 1
mov eax, 1
lock xadd qword [rdx], rax
test r8, r8
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x78], r15
je 0x1800d4456
test rax, rax
jns 0x1800d4461
jmp 0x1800d5047
test rax, rax
js 0x1800d5047
xor ecx, ecx
mov qword [rsp + 0x158], rcx
mov eax, dword [0x1801fba34]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
dec qword [rax + 0xc0]
lea r15, [rdx + 0x130]
lea rax, [rdx + 0xc8]
mov qword [rsp + 0xb8], r8
test r8, r8
mov ecx, 0xc8
mov ebx, 0x130
cmove rbx, rcx
cmove r15, rax
mov qword [rsp + 0x70], rdx
cmp qword [rdx + rbx], 0
je 0x1800d5047
lea r14, [r15 + 0x20]
mov rcx, r14
call qword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov rdx, qword [0x1801fb9f0]
mov al, 1
movabs rcx, 0x7fffffffffffffff
test rdx, rcx
jne 0x1800d472f
movzx ecx, byte [r15 + 0x28]
cmp byte [r15 + 0x58], 0
je 0x1800d4744
mov byte [rsp + 0x78], al
movzx eax, byte [0x1801fba30]
mov rcx, qword [0x1801fb9b8]
test rcx, rcx
jne 0x1800d4527
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800d504b
mov rcx, rax
mov qword [0x1801fb9b8], rax
mov r8d, 0x38
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800d504b
mov rbx, rax
mov qword [rsp + 0x58], r13
mov r13, r12
mov r12, rdi
mov rdi, rbp
movups xmm0, xmmword [0x1801c2140]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x1801c2130]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [str.A_Tokio_1.x_context_was_found__but_it_is_being_shutdown._]
movups xmmword [rax], xmm0
movabs rax, 0x2e6e776f64747568
mov qword [rbx + 0x30], rax
movzx eax, byte [0x1801fba30]
mov rcx, qword [0x1801fb9b8]
test rcx, rcx
jne 0x1800d45a9
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800d501c
mov rcx, rax
mov qword [0x1801fb9b8], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800d501c
mov rbp, rax
mov qword [rax], rbx
mov qword [rax + 8], 0x38
mov qword [rax + 0x10], 0x38
movzx eax, byte [0x1801fba30]
mov rcx, qword [0x1801fb9b8]
test rcx, rcx
jne 0x1800d4602
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800d501c
mov rcx, rax
mov qword [0x1801fb9b8], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800d501c
mov rbx, rax
mov qword [rax], rbp
lea rax, fcn.1800580f0
mov qword [rbx + 8], rax
mov byte [rbx + 0x10], 0x27
cmp byte [rsp + 0x78], 0
je 0x1800d464f
mov rax, qword [0x1801fb9f0]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800d4cb0
inc rbx
mov rcx, r14
call qword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov rbp, rdi
mov rdi, r12
mov r12, r13
mov r13, qword [rsp + 0x58]
mov r15, qword [rsp + 0x68]
jmp 0x1800d4eb6
shl rbx, 0x20
or rbx, 2
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.ws2_32.dll_closesocket]
mov r14d, 2
jmp 0x1800d4f5c
cmp al, 2
jne 0x1800d46a1
mov rbx, qword [rsp + 0xc8]
jmp 0x1800d4bfa
mov rcx, qword [rsi + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x1800d5047
mov dword [rsp + 0x80], 0
mov dword [rsp + 0xc8], 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 0x1800d4bea
mov ebx, dword [rsp + 0x80]
test rbx, rbx
jne 0x1800d4bf2
mov r14, qword [rsi + 0x40]
mov rbx, qword [rsi + 0x48]
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x170], rax
movups xmm0, xmmword [rsi + 0x50]
movaps xmmword [rsp + 0x160], xmm0
mov byte [rsi + 0x70], 1
cmp r14, 3
je 0x1800d41c5
jmp 0x1800d4f34
call fcn.18016d440
movzx ecx, byte [r15 + 0x28]
cmp byte [r15 + 0x58], 0
jne 0x1800d44f7
mov qword [rsp + 0x150], r12
mov r12d, eax
mov qword [rsp + 0xb0], rbp
xorps xmm0, xmm0
movups xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], 0
movups xmmword [rsp + 0x87], xmm0
mov qword [rsp + 0x97], 0
movzx eax, byte [0x1801fba30]
mov rcx, qword [0x1801fb9b8]
test rcx, rcx
jne 0x1800d47ae
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800d505c
mov rcx, rax
mov qword [0x1801fb9b8], rax
mov r8d, 0x180
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800d505c
mov rbp, rax
and rbp, 0xffffffffffffff80
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], 1
mov qword [rbp + 0x88], 1
mov qword [rbp + 0x100], 0
mov byte [rbp + 0x108], 0
movups xmm0, xmmword [rsp + 0x80]
movups xmm1, xmmword [rsp + 0x8f]
movups xmmword [rbp + 0x109], xmm0
movups xmmword [rbp + 0x118], xmm1
mov qword [rbp + 0x130], 0
movups xmm0, xmmword [rsp + 0xc8]
movups xmm1, xmmword [rsp + 0xd8]
movups xmmword [rbp + 0x138], xmm0
movups xmmword [rbp + 0x148], xmm1
lock inc qword [rbp + 0x80]
jle 0x1800d5047
lea rcx, [rbp + 0x100]
mov rax, qword [r15 + 0x48]
cmp rax, rcx
je 0x1800d5047
sub rbp, 0xffffffffffffff80
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xc0], 0
test rax, rax
je 0x1800d4880
mov qword [rax + 0x40], rcx
mov qword [r15 + 0x48], rcx
cmp qword [r15 + 0x50], 0
jne 0x1800d488f
mov qword [r15 + 0x50], rcx
mov qword [rsp + 0xa8], rcx
test r12b, r12b
je 0x1800d48b6
mov rax, qword [0x1801fb9f0]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800d4dd1
mov rcx, r14
call qword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov r15, qword [rsp + 0x68]
test r15, r15
mov r12, qword [rsp + 0x150]
je 0x1800d48e0
movabs rbx, 0xc00000003
jmp 0x1800d4e9f
mov rax, qword [rsp + 0x70]
mov rbx, qword [rax + rbx]
lea rcx, [rbx + 0x20]
mov qword [rsp + 0xa0], rcx
call qword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x1801fb9f0]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800d4de8
xor r14d, r14d
mov qword [rsp + 0x58], r13
movzx eax, byte [rbx + 0x28]
test al, al
jne 0x1800d5047
lea r13, [rbx + 0x30]
mov rax, qword [rbx + 0x40]
test rax, rax
mov qword [rsp + 0x60], rbx
je 0x1800d4958
mov rcx, qword [r13]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
cmp rax, 0x21
jb 0x1800d49a7
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x18]
jmp 0x1800d495c
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax + 0x10]
mov rdx, r13
call fcn.180067160
mov rbx, rax
test rax, rax
je 0x1800d49a7
test r14b, r14b
jne 0x1800d498f
mov rax, qword [0x1801fb9f0]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800d5001
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov r13, qword [rsp + 0x58]
jmp 0x1800d4e9f
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x1800d5047
mov rcx, qword [r13]
mov rdx, qword [rcx + rax*8 - 8]
lock inc qword [rdx]
jle 0x1800d5047
mov rax, qword [rcx + rax*8 - 8]
mov qword [rsp + 0xc0], rax
test r14b, r14b
jne 0x1800d49f8
mov rax, qword [0x1801fb9f0]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800d4feb
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0x54], 0
xorps xmm6, xmm6
movups xmmword [rsp + 0x38], xmm6
lea r14, [rsp + 0x54]
mov qword [rsp + 0x30], r14
lea r15, [rsp + 0xc8]
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x28], 8
mov r13, qword [rsp + 0x58]
mov rcx, r13
mov edx, 0x48000022
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1800d4c4a
mov r14, qword [rsp + 0xc8]
movzx eax, byte [0x1801fba30]
mov rcx, qword [0x1801fb9b8]
test rcx, rcx
jne 0x1800d4a97
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800d506d
mov rcx, rax
mov qword [0x1801fb9b8], rax
mov r8d, 0x80
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800d506d
mov r13, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov rbx, rax
add rbx, 0x10
mov qword [rax + 0x10], 0
mov byte [rax + 0x18], 0
mov dword [rax + 0x20], 0
mov rax, qword [rsp + 0xc0]
mov qword [r13 + 0x28], rax
xorps xmm0, xmm0
movups xmmword [r13 + 0x30], xmm0
movups xmmword [r13 + 0x40], xmm0
movups xmmword [r13 + 0x50], xmm0
mov qword [r13 + 0x60], r14
movups xmmword [r13 + 0x68], xmm0
mov word [r13 + 0x78], 0
mov rcx, rbx
call qword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x1801fb9f0]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800d4f9c
movzx eax, byte [r13 + 0x18]
test al, al
mov r15, qword [rsp + 0x68]
jne 0x1800d5047
mov dword [r13 + 0x70], 0x19d
mov rax, qword [rsp + 0xa8]
mov qword [r13 + 0x68], rax
mov rax, qword [0x1801fb9f0]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800d4fd4
mov rcx, rbx
call qword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov rax, qword [rsp + 0x60]
lock inc qword [rax]
jle 0x1800d5047
lock inc qword [r13]
jle 0x1800d5047
mov r14, rax
lea rbx, [rax + 0x10]
mov rcx, rbx
mov rdx, r13
call fcn.180066f80
movzx eax, byte [r14 + 0x78]
test al, al
je 0x1800d4c08
mov rcx, rbx
call fcn.1800662f0
test rax, rax
je 0x1800d4c08
mov rbx, rax
mov rcx, r13
call fcn.180067060
mov rcx, qword [rsp + 0x60]
lock dec qword [rcx]
jne 0x1800d4bd1
call fcn.1800676e0
lock dec qword [r13]
jne 0x1800d4be0
mov rcx, r13
call fcn.180066bd0
mov r13, qword [rsp + 0x58]
jmp 0x1800d4e9f
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
lea rcx, [rsi + 0x40]
call fcn.1800c6e90
jmp 0x1800d4f29
mov eax, dword [rsp + 0xc8]
mov ecx, dword [rsp + 0xcb]
mov dword [rsp + 0x83], ecx
mov dword [rsp + 0x80], eax
movzx eax, byte [0x1801fba30]
mov rcx, qword [0x1801fb9b8]
test rcx, rcx
je 0x1800d4cc7
mov r15, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
jmp 0x1800d4cea
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0x54], 0
movups xmmword [rsp + 0x38], xmm6
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x28], 8
mov rcx, r13
mov edx, 0x4800001c
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1800d4d67
mov r14, qword [rsp + 0xc8]
cmp r14, r13
jne 0x1800d4a6b
jmp 0x1800d4d6d
call fcn.18016d440
test al, al
jne 0x1800d464f
mov byte [r15 + 0x28], 1
jmp 0x1800d464f
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
mov r15, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
je 0x1800d507e
mov rcx, rax
mov qword [0x1801fb9b8], rax
mov r8d, 0x20
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800d507e
mov qword [rax], rbx
mov qword [rax + 8], r13
mov rcx, qword [rsp + 0xa8]
mov qword [rax + 0x10], rcx
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
lea rcx, [rsi + 0x40]
mov rdx, qword [rsp + 0x158]
mov qword [rsi + 0x40], rdx
mov rdx, qword [rsp + 0x70]
mov qword [rsi + 0x48], rdx
mov qword [rsi + 0x50], rbp
mov rdx, qword [rsp + 0x58]
mov qword [rsi + 0x58], rdx
mov qword [rsi + 0x60], rax
mov qword [rsi + 0x68], rcx
mov rbp, qword [rsp + 0xb0]
jmp 0x1800d4196
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0x54], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x28], 8
mov r13, qword [rsp + 0x58]
mov rcx, r13
mov edx, 0x4800001d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1800d4e0a
mov r14, qword [rsp + 0xc8]
cmp r14, r13
jne 0x1800d4a6b
jmp 0x1800d4e10
call fcn.18016d440
test al, al
jne 0x1800d48b6
mov byte [r15 + 0x28], 1
jmp 0x1800d48b6
call fcn.18016d440
mov r14d, eax
xor r14b, 1
mov qword [rsp + 0x58], r13
movzx eax, byte [rbx + 0x28]
test al, al
je 0x1800d4929
jmp 0x1800d5047
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0x54], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x28], 8
mov r15, qword [rsp + 0x58]
mov rcx, r15
mov edx, 0x4800001b
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1800d4e74
mov r14, qword [rsp + 0xc8]
cmp r14, r15
jne 0x1800d4a6b
jmp 0x1800d4e7a
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rbx, 0x20
or rbx, 2
mov rcx, qword [rsp + 0xc0]
lock dec qword [rcx]
jne 0x1800d4e95
call fcn.1800507d0
mov r13, qword [rsp + 0x58]
mov r15, qword [rsp + 0x68]
lock dec qword [rbp]
jne 0x1800d4eae
mov rcx, rbp
call fcn.180077c60
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0xb8]
lock dec qword [rcx]
sete al
test rdx, rdx
je 0x1800d4eda
test al, al
je 0x1800d4ee3
call fcn.1801005f0
jmp 0x1800d4ee3
test al, al
je 0x1800d4ee3
call fcn.180100520
test r15, r15
je 0x1800d4f20
mov rcx, qword [r15 + 8]
call fcn.180067060
mov rcx, qword [r15]
lock dec qword [rcx]
jne 0x1800d4eff
call fcn.18000aac0
mov rcx, qword [r15 + 8]
lock dec qword [rcx]
jne 0x1800d4f0e
call fcn.180101550
mov rcx, qword [0x1801fb9b8]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, r13
call qword [sym.imp.ws2_32.dll_closesocket]
mov byte [r12], 1
mov r14d, 2
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x190], rax
movaps xmm0, xmmword [rsp + 0x160]
movaps xmmword [rsp + 0x180], xmm0
mov rcx, rbp
call fcn.1800d4030
mov qword [rdi], r14
mov qword [rdi + 8], rbx
movaps xmm0, xmmword [rsp + 0x180]
movups xmmword [rdi + 0x10], xmm0
mov rax, qword [rsp + 0x190]
mov qword [rdi + 0x20], rax
mov al, 1
mov byte [rsi + 0x78], al
movaps xmm6, xmmword [rsp + 0x1a0]
add rsp, 0x1b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.18016d440
movzx ecx, byte [r13 + 0x18]
test cl, cl
mov r15, qword [rsp + 0x68]
jne 0x1800d5047
mov dword [r13 + 0x70], 0x19d
mov rcx, qword [rsp + 0xa8]
mov qword [r13 + 0x68], rcx
test al, al
jne 0x1800d4b51
jmp 0x1800d4b6b
call fcn.18016d440
test al, al
jne 0x1800d4b6b
mov byte [r13 + 0x18], 1
jmp 0x1800d4b6b
call fcn.18016d440
test al, al
jne 0x1800d49f8
mov byte [rbx + 0x28], 1
jmp 0x1800d49f8
call fcn.18016d440
test al, al
jne 0x1800d498f
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x28], 1
jmp 0x1800d498f
mov ecx, 8
mov edx, 0x18
call fcn.180166e20
ud2
mov ecx, dword [0x1801fba34]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov qword [rcx + 0xc0], rax
ud2
mov ecx, 1
mov edx, 0x38
call fcn.180166e20
ud2
mov ecx, 0x80
mov edx, pe_nt_image_headers64
call fcn.180166e20
ud2
mov ecx, 8
mov edx, 0x80
call fcn.180166e20
ud2
mov ecx, 8
mov edx, 0x20
call fcn.180166e20
ud2