Function at 0x1800d42c0
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 0x1800d4353
cmp eax, 3
jne 0x1800d51c7
lea rbp, [rsi + 0x30]
lea r12, [rsi + 0x70]
movzx eax, byte [rsi + 0x70]
test eax, eax
je 0x1800d44d8
cmp eax, 3
jne 0x1800d51c7
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.1801030f0
movzx eax, byte [rsp + 0xd1]
cmp al, 3
jne 0x1800d4810
mov byte [r12], 3
mov qword [rdi], 3
mov al, 3
jmp 0x1800d50fd
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 0x1800d4421
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 0x1800d4474
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 0x1800d44bc
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov ecx, eax
call fcn.1800f4310
cmp al, 0xd
jne 0x1800d47f3
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 [0x1801fa9d4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x110]
cmp eax, 1
je 0x1800d4534
test eax, eax
jne 0x1800d51c7
mov eax, dword [0x1801fa9d4]
mov rcx, qword gs:[0x58]
mov rbx, qword [rcx + rax*8]
lea rcx, [rbx + 0xc0]
lea rdx, [0x180100580]
call fcn.1800f3480
mov byte [rbx + 0x110], 1
movabs rdx, 0x7fffffffffffffff
mov eax, dword [0x1801fa9d4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0xc0]
lea rcx, [rdx - 1]
cmp rax, rcx
ja 0x1800d51c7
lea rcx, [rax + 1]
mov edx, dword [0x1801fa9d4]
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 0x1800d51ad
mov eax, dword [0x1801fa9d4]
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 0x1800d45d6
test rax, rax
jns 0x1800d45e1
jmp 0x1800d51c7
test rax, rax
js 0x1800d51c7
xor ecx, ecx
mov qword [rsp + 0x158], rcx
mov eax, dword [0x1801fa9d4]
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 0x1800d51c7
lea r14, [r15 + 0x20]
mov rcx, r14
call qword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov rdx, qword [0x1801fa990]
mov al, 1
movabs rcx, 0x7fffffffffffffff
test rdx, rcx
jne 0x1800d48af
movzx ecx, byte [r15 + 0x28]
cmp byte [r15 + 0x58], 0
je 0x1800d48c4
mov byte [rsp + 0x78], al
movzx eax, byte [0x1801fa9d0]
mov rcx, qword [0x1801fa958]
test rcx, rcx
jne 0x1800d46a7
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800d51cb
mov rcx, rax
mov qword [0x1801fa958], rax
mov r8d, 0x38
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800d51cb
mov rbx, rax
mov qword [rsp + 0x58], r13
mov r13, r12
mov r12, rdi
mov rdi, rbp
movups xmm0, xmmword [0x1801c1140]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x1801c1130]
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 [0x1801fa9d0]
mov rcx, qword [0x1801fa958]
test rcx, rcx
jne 0x1800d4729
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800d519c
mov rcx, rax
mov qword [0x1801fa958], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800d519c
mov rbp, rax
mov qword [rax], rbx
mov qword [rax + 8], 0x38
mov qword [rax + 0x10], 0x38
movzx eax, byte [0x1801fa9d0]
mov rcx, qword [0x1801fa958]
test rcx, rcx
jne 0x1800d4782
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800d519c
mov rcx, rax
mov qword [0x1801fa958], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800d519c
mov rbx, rax
mov qword [rax], rbp
lea rax, fcn.18001eba0
mov qword [rbx + 8], rax
mov byte [rbx + 0x10], 0x27
cmp byte [rsp + 0x78], 0
je 0x1800d47cf
mov rax, qword [0x1801fa990]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800d4e30
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 0x1800d5036
shl rbx, 0x20
or rbx, 2
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.ws2_32.dll_closesocket]
mov r14d, 2
jmp 0x1800d50dc
cmp al, 2
jne 0x1800d4821
mov rbx, qword [rsp + 0xc8]
jmp 0x1800d4d7a
mov rcx, qword [rsi + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x1800d51c7
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 0x1800d4d6a
mov ebx, dword [rsp + 0x80]
test rbx, rbx
jne 0x1800d4d72
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 0x1800d4345
jmp 0x1800d50b4
call fcn.18016c730
movzx ecx, byte [r15 + 0x28]
cmp byte [r15 + 0x58], 0
jne 0x1800d4677
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 [0x1801fa9d0]
mov rcx, qword [0x1801fa958]
test rcx, rcx
jne 0x1800d492e
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800d51dc
mov rcx, rax
mov qword [0x1801fa958], rax
mov r8d, 0x180
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800d51dc
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 0x1800d51c7
lea rcx, [rbp + 0x100]
mov rax, qword [r15 + 0x48]
cmp rax, rcx
je 0x1800d51c7
sub rbp, 0xffffffffffffff80
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xc0], 0
test rax, rax
je 0x1800d4a00
mov qword [rax + 0x40], rcx
mov qword [r15 + 0x48], rcx
cmp qword [r15 + 0x50], 0
jne 0x1800d4a0f
mov qword [r15 + 0x50], rcx
mov qword [rsp + 0xa8], rcx
test r12b, r12b
je 0x1800d4a36
mov rax, qword [0x1801fa990]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800d4f51
mov rcx, r14
call qword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov r15, qword [rsp + 0x68]
test r15, r15
mov r12, qword [rsp + 0x150]
je 0x1800d4a60
movabs rbx, 0xc00000003
jmp 0x1800d501f
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 [0x1801fa990]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800d4f68
xor r14d, r14d
mov qword [rsp + 0x58], r13
movzx eax, byte [rbx + 0x28]
test al, al
jne 0x1800d51c7
lea r13, [rbx + 0x30]
mov rax, qword [rbx + 0x40]
test rax, rax
mov qword [rsp + 0x60], rbx
je 0x1800d4ad8
mov rcx, qword [r13]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
cmp rax, 0x21
jb 0x1800d4b27
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x18]
jmp 0x1800d4adc
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax + 0x10]
mov rdx, r13
call fcn.180067bc0
mov rbx, rax
test rax, rax
je 0x1800d4b27
test r14b, r14b
jne 0x1800d4b0f
mov rax, qword [0x1801fa990]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800d5181
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov r13, qword [rsp + 0x58]
jmp 0x1800d501f
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x1800d51c7
mov rcx, qword [r13]
mov rdx, qword [rcx + rax*8 - 8]
lock inc qword [rdx]
jle 0x1800d51c7
mov rax, qword [rcx + rax*8 - 8]
mov qword [rsp + 0xc0], rax
test r14b, r14b
jne 0x1800d4b78
mov rax, qword [0x1801fa990]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800d516b
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 0x1800d4dca
mov r14, qword [rsp + 0xc8]
movzx eax, byte [0x1801fa9d0]
mov rcx, qword [0x1801fa958]
test rcx, rcx
jne 0x1800d4c17
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800d51ed
mov rcx, rax
mov qword [0x1801fa958], rax
mov r8d, 0x80
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800d51ed
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 [0x1801fa990]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800d511c
movzx eax, byte [r13 + 0x18]
test al, al
mov r15, qword [rsp + 0x68]
jne 0x1800d51c7
mov dword [r13 + 0x70], 0x19d
mov rax, qword [rsp + 0xa8]
mov qword [r13 + 0x68], rax
mov rax, qword [0x1801fa990]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x1800d5154
mov rcx, rbx
call qword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov rax, qword [rsp + 0x60]
lock inc qword [rax]
jle 0x1800d51c7
lock inc qword [r13]
jle 0x1800d51c7
mov r14, rax
lea rbx, [rax + 0x10]
mov rcx, rbx
mov rdx, r13
call fcn.1800679e0
movzx eax, byte [r14 + 0x78]
test al, al
je 0x1800d4d88
mov rcx, rbx
call fcn.180066d10
test rax, rax
je 0x1800d4d88
mov rbx, rax
mov rcx, r13
call fcn.180067ac0
mov rcx, qword [rsp + 0x60]
lock dec qword [rcx]
jne 0x1800d4d51
call fcn.180068140
lock dec qword [r13]
jne 0x1800d4d60
mov rcx, r13
call fcn.1800675f0
mov r13, qword [rsp + 0x58]
jmp 0x1800d501f
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
lea rcx, [rsi + 0x40]
call fcn.1800c7010
jmp 0x1800d50a9
mov eax, dword [rsp + 0xc8]
mov ecx, dword [rsp + 0xcb]
mov dword [rsp + 0x83], ecx
mov dword [rsp + 0x80], eax
movzx eax, byte [0x1801fa9d0]
mov rcx, qword [0x1801fa958]
test rcx, rcx
je 0x1800d4e47
mov r15, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
jmp 0x1800d4e6a
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 0x1800d4ee7
mov r14, qword [rsp + 0xc8]
cmp r14, r13
jne 0x1800d4beb
jmp 0x1800d4eed
call fcn.18016c730
test al, al
jne 0x1800d47cf
mov byte [r15 + 0x28], 1
jmp 0x1800d47cf
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
mov r15, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
je 0x1800d51fe
mov rcx, rax
mov qword [0x1801fa958], rax
mov r8d, 0x20
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800d51fe
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 0x1800d4316
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 0x1800d4f8a
mov r14, qword [rsp + 0xc8]
cmp r14, r13
jne 0x1800d4beb
jmp 0x1800d4f90
call fcn.18016c730
test al, al
jne 0x1800d4a36
mov byte [r15 + 0x28], 1
jmp 0x1800d4a36
call fcn.18016c730
mov r14d, eax
xor r14b, 1
mov qword [rsp + 0x58], r13
movzx eax, byte [rbx + 0x28]
test al, al
je 0x1800d4aa9
jmp 0x1800d51c7
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 0x1800d4ff4
mov r14, qword [rsp + 0xc8]
cmp r14, r15
jne 0x1800d4beb
jmp 0x1800d4ffa
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rbx, 0x20
or rbx, 2
mov rcx, qword [rsp + 0xc0]
lock dec qword [rcx]
jne 0x1800d5015
call fcn.1800678a0
mov r13, qword [rsp + 0x58]
mov r15, qword [rsp + 0x68]
lock dec qword [rbp]
jne 0x1800d502e
mov rcx, rbp
call fcn.1800781b0
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 0x1800d505a
test al, al
je 0x1800d5063
call fcn.1801006a0
jmp 0x1800d5063
test al, al
je 0x1800d5063
call fcn.1801005d0
test r15, r15
je 0x1800d50a0
mov rcx, qword [r15 + 8]
call fcn.180067ac0
mov rcx, qword [r15]
lock dec qword [rcx]
jne 0x1800d507f
call fcn.180100de0
mov rcx, qword [r15 + 8]
lock dec qword [rcx]
jne 0x1800d508e
call fcn.180050740
mov rcx, qword [0x1801fa958]
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.1800d41b0
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.18016c730
movzx ecx, byte [r13 + 0x18]
test cl, cl
mov r15, qword [rsp + 0x68]
jne 0x1800d51c7
mov dword [r13 + 0x70], 0x19d
mov rcx, qword [rsp + 0xa8]
mov qword [r13 + 0x68], rcx
test al, al
jne 0x1800d4cd1
jmp 0x1800d4ceb
call fcn.18016c730
test al, al
jne 0x1800d4ceb
mov byte [r13 + 0x18], 1
jmp 0x1800d4ceb
call fcn.18016c730
test al, al
jne 0x1800d4b78
mov byte [rbx + 0x28], 1
jmp 0x1800d4b78
call fcn.18016c730
test al, al
jne 0x1800d4b0f
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x28], 1
jmp 0x1800d4b0f
mov ecx, 8
mov edx, 0x18
call fcn.180166060
ud2
mov ecx, dword [0x1801fa9d4]
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.180166060
ud2
mov ecx, 0x80
mov edx, pe_nt_image_headers64
call fcn.180166060
ud2
mov ecx, 8
mov edx, 0x80
call fcn.180166060
ud2
mov ecx, 8
mov edx, 0x20
call fcn.180166060
ud2