Function at 0x1800061f0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x968
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x192
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x988]
mov rax, qword [0x18021f480]
xor rax, rbp
mov qword [rbp + 0x930], rax
lea rcx, [0x1802380a6]
call fcn.180141e90
nop
cmp qword [rbp + 0x960], 0
je 0x180006255
mov rax, qword [rbp + 0x960]
mov rcx, qword [0x18021f840]
mov qword [rax], rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x18021f838], eax
je 0x18000626d
mov eax, 0x10dd
jmp 0x1800066cc
cmp dword [0x18021f83c], 0
je 0x180006287
call fcn.180005f20
nop
mov eax, dword [0x18021f83c]
jmp 0x1800066cc
mov dword [rbp + 0x44], 0
mov rax, qword [0x18021f850]
mov qword [rbp + 8], rax
jmp 0x1800062a6
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x18000636e
mov rax, qword [rbp + 8]
cmp dword [rax + 8], 0
je 0x1800062fc
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x20]
add rcx, 0x20
mov r8d, eax
mov rdx, rcx
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x18]
call sub.VCRUNTIME140D.dll_memcpy
nop
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x10]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x18]
mov qword [rax], rcx
jmp 0x180006369
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
add rax, 0x50
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x20]
add rcx, 0x58
mov rdx, rax
call fcn.1800044c0
nop
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
add rax, 0x58
mov rdx, rax
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x18]
call fcn.180004430
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
mov rdx, qword [rax + 0x48]
mov rcx, qword [rbp + 0x68]
call fcn.1800043c0
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x10]
mov qword [rcx], rax
jmp 0x18000629b
mov rax, qword [0x18021f848]
mov qword [rbp + 0x28], rax
jmp 0x180006386
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x1800064e0
mov dword [rbp + 0xc0], 0x100001
lea rdx, [rbp + 0x90]
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1800064db
mov rax, qword [0x18021f850]
mov qword [rbp + 8], rax
jmp 0x1800063d0
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1800064db
mov rax, qword [rbp + 8]
cmp dword [rax + 8], 0
je 0x18000645a
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
cmp qword [rbp + 0x188], rax
jb 0x180006458
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
add rax, 8
cmp qword [rbp + 0x188], rax
jae 0x180006458
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
mov rcx, qword [rbp + 0x188]
sub rcx, rax
mov rax, rcx
movzx edx, al
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x20]
call fcn.180003670
movzx eax, al
mov rcx, qword [rbp + 8]
add rax, qword [rcx + 0x18]
mov qword [rbp + 0x188], rax
lea rdx, [rbp + 0x90]
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
nop
jmp 0x1800064d6
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
cmp qword [rbp + 0x188], rax
jb 0x1800064d6
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
mov rcx, qword [rbp + 8]
add rax, qword [rcx + 0x18]
cmp qword [rbp + 0x188], rax
jae 0x1800064d6
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
mov rcx, qword [rbp + 0x188]
sub rcx, rax
mov rax, rcx
movzx eax, al
mov edx, eax
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x20]
call fcn.1800035e0
cdqe
mov rcx, qword [rbp + 8]
add rax, qword [rcx + 0x20]
mov qword [rbp + 0x188], rax
lea rdx, [rbp + 0x90]
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
nop
jmp 0x1800063c5
jmp 0x18000637b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp + 0x578], rax
mov rax, qword [0x18021f850]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1800065ee
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rbp + 0x594]
mov rcx, qword [rbp + 8]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
mov r8d, eax
mov rax, qword [rbp + 8]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rbp + 0x578]
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
nop
mov rax, qword [rbp + 8]
cmp dword [rax + 8], 0
je 0x18000658a
mov rax, qword [rbp + 8]
cmp qword [rax + 0x20], 0
je 0x18000658a
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x20]
call fcn.1800042a0
nop
mov rax, qword [rbp + 8]
mov qword [rax + 0x20], 0
mov dword [rbp + 0x44], 1
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 0x5b8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x8f8], rax
mov edx, 0x30
mov rcx, qword [rbp + 0x8f8]
call fcn.180141c00
cmp qword [rbp + 0x8f8], 0
jne 0x1800065cb
mov qword [rbp + 0x928], 0
jmp 0x1800065de
mov qword [rbp + 8], 0x8123
mov rax, qword [rbp + 8]
mov qword [rbp + 0x928], rax
mov rax, qword [rbp + 0x5b8]
mov qword [rbp + 8], rax
jmp 0x1800064f8
mov qword [0x18021f850], 0
cmp dword [rbp + 0x44], 0
je 0x18000660e
cmp dword [0x18021f834], 0
jne 0x18000660e
call fcn.180004320
nop
call fcn.180004f00
nop
mov rax, qword [0x18021f848]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x180006696
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov qword [rbp + 0x5d8], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x918], rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rbp + 0x918]
call fcn.180141c00
cmp qword [rbp + 0x918], 0
jne 0x180006676
mov qword [rbp + 0x928], 0
jmp 0x180006689
mov qword [rbp + 0x28], 0x8123
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x928], rax
mov rax, qword [rbp + 0x5d8]
mov qword [rbp + 0x28], rax
jmp 0x18000661f
mov qword [0x18021f848], 0
mov dword [0x18021f838], 0
cmp qword [rbp + 0x960], 0
je 0x1800066c6
mov rax, qword [rbp + 0x960]
mov rcx, qword [0x18021f840]
mov qword [rax], rcx
mov eax, dword [0x18021f83c]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18014d010]
call fcn.180141c60
mov rax, rdi
mov rcx, qword [rbp + 0x930]
xor rcx, rbp
call fcn.1801420e0
lea rsp, [rbp + 0x948]
pop rdi
pop rbp
ret