Function at 0x14001d6b7
Capabilities:
Create thread

Disassembly:
jmp 0x14004cee0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x298
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x6a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2b8]
mov rax, qword [0x140071258]
xor rax, rbp
mov qword [rbp + 0x250], rax
lea rcx, [0x14007c157]
call fcn.14001daef
mov qword [rbp + 8], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x288]
mov rcx, qword [rbp + 8]
mov qword [rax + 8], rcx
cmp qword [rbp + 8], 0
jne 0x14004cfe7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x288]
mov qword [rbp + 0x1f8], rax
cmp qword [rbp + 0x1f8], 0
je 0x14004cfaa
mov rax, qword [rbp + 0x1f8]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rbp + 0x1f8]
call qword [rax]
mov qword [rbp + 0x248], rax
jmp 0x14004cfb5
mov qword [rbp + 0x248], 0
mov edx, select
lea rcx, [rbp + 0x48]
call fcn.14001ce24
call fcn.14001d77f
mov r8, rax
mov edx, dword [rbp + 0x24]
lea rcx, [rbp + 0x48]
call fcn.14001d9be
lea rdx, str.thread.entry_event
lea rcx, [rbp + 0x48]
call fcn.14001cac3
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x280]
mov rcx, qword [rbp + 0x248]
mov qword [rax + 0x10], rcx
mov rax, qword [rbp + 0x288]
mov rcx, qword [rbp + 0x248]
mov qword [rax + 0x10], rcx
mov rax, qword [rbp + 0x280]
cmp qword [rax + 0x10], 0
jne 0x14004d0bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x74], eax
mov rax, qword [rbp + 0x288]
mov qword [rbp + 0x218], rax
cmp qword [rbp + 0x218], 0
je 0x14004d079
mov rax, qword [rbp + 0x218]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rbp + 0x218]
call qword [rax]
mov qword [rbp + 0x248], rax
jmp 0x14004d084
mov qword [rbp + 0x248], 0
mov edx, select
lea rcx, [rbp + 0x98]
call fcn.14001ce24
call fcn.14001d77f
mov r8, rax
mov edx, dword [rbp + 0x74]
lea rcx, [rbp + 0x98]
call fcn.14001d9be
lea rdx, str.thread.exit_event
lea rcx, [rbp + 0x98]
call fcn.14001cac3
mov dword [rbp + 0xc4], 0
lea rax, [rbp + 0xc4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0x288]
lea r8, [0x14001c5eb]
mov edx, dword [rbp + 0x290]
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x280]
mov qword [rcx + 8], rax
mov rax, qword [rbp + 0x280]
cmp qword [rax + 8], 0
jne 0x14004d1d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xe4], eax
mov rax, qword [rbp + 0x288]
mov qword [rbp + 0x238], rax
cmp qword [rbp + 0x238], 0
je 0x14004d15b
mov rax, qword [rbp + 0x238]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rbp + 0x238]
call qword [rax]
mov qword [rbp + 0x248], rax
jmp 0x14004d166
mov qword [rbp + 0x248], 0
cmp qword [rbp + 8], 0
je 0x14004d177
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x280]
cmp qword [rax + 0x10], 0
je 0x14004d196
mov rax, qword [rbp + 0x280]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, select
lea rcx, [rbp + 0x108]
call fcn.14001ce24
call fcn.14001d77f
mov r8, rax
mov edx, dword [rbp + 0xe4]
lea rcx, [rbp + 0x108]
call fcn.14001d9be
lea rdx, str.thread
lea rcx, [rbp + 0x108]
call fcn.14001cac3
cmp qword [rbp + 8], 0
je 0x14004d1f4
mov edx, 0xffffffff
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_connect
call fcn.14001d6e4
mov rcx, qword [rbp + 0x250]
xor rcx, rbp
call fcn.14001cd02
lea rsp, [rbp + 0x268]
pop rdi
pop rbp
ret