Function at 0x14019c5f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x14032f0c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
mov rbp, rcx
mov edx, 0x110
mov ecx, 1
mov r13, r9
mov r12d, r8d
call qword [str._1_]
mov qword [rbp + 0xe00], rax
mov rsi, rax
mov r15d, recv
test rax, rax
je 0x14019c7a5
xor r14d, r14d
mov dword [rbp + 0xe10], r12d
mov dword [rbp + 0xe14], r14d
lea rdi, [rax + 0x20]
mov qword [rbp + 0xdf8], r14
mov rcx, rdi
mov byte [rbp + 0xe18], 0
xor edx, edx
mov r8d, 0xf0
mov qword [rax + 8], r14
mov qword [rax], r14
call fcn.140277340
movups xmm0, xmmword [r13]
lea ecx, [r15 + 0x1c]
mov qword [rdi + 0xe8], rsi
movups xmm1, xmmword [r13 + 0x10]
mov dword [rdi + 0x84], r12d
movups xmmword [rdi + 0xb8], xmm0
mov dword [rdi + 0x80], 1
movups xmm0, xmmword [r13 + 0x20]
movups xmmword [rdi + 0xc8], xmm1
movups xmmword [rdi + 0xd8], xmm0
call qword [fcn.14022b0a0]
mov qword [rdi + 0x78], rax
test rax, rax
je 0x14019c710
xor edx, edx
lea r8d, [r15 - 0xb]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
lea r9, [rdi + 0x98]
call fcn.1401da4a0
test eax, eax
jns 0x14019c7da
mov qword [rdi + 0x98], 0xffffffffffffffff
mov qword [rdi + 0xa0], 0xffffffffffffffff
mov rcx, qword [rdi + 0x98]
cmp rcx, 0xffffffffffffffff
je 0x14019c72e
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rdi + 0x98], 0xffffffffffffffff
mov rcx, qword [rdi + 0x78]
test rcx, rcx
je 0x14019c747
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rdi + 0x78]
call qword [fcn.140229280]
mov rcx, qword [rdi + 0x88]
call qword [fcn.140229280]
mov rcx, qword [rdi + 0xb0]
test rcx, rcx
je 0x14019c772
mov rbx, qword [rcx + 0x28]
call qword [fcn.140229280]
mov rcx, rbx
test rbx, rbx
jne 0x14019c760
mov rcx, qword [rdi + 0xa0]
cmp rcx, 0xffffffffffffffff
je 0x14019c785
call qword [sym.imp.WS2_32.dll_closesocket]
xor edx, edx
mov r8d, 0xf0
mov rcx, rdi
call fcn.140277340
mov rcx, rsi
mov qword [rbp + 0xe00], r14
call qword [fcn.140229280]
call fcn.1402277f0
mov dword [rax], r15d
xor al, al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401f4d70
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbx
mov dword [rdi + 0xa8], r14d
call qword [case.0x140194a27.0]
mov qword [rdi + 0x88], rax
test rax, rax
je 0x14019c710
mov rcx, qword [rbp + 0xdf0]
call qword [fcn.140229280]
mov rcx, rbx
call qword [case.0x140194a27.0]
mov qword [rbp + 0xdf0], rax
test rax, rax
je 0x14019c9b6
cmp byte [0x140336ac0], r14b
mov dword [rsi + 0xa0], r14d
je 0x14019c96e
cmp qword [0x140336148], r14
je 0x14019c96e
cmp qword [0x140336158], r14
je 0x14019c96e
cmp qword [0x140336150], r14
je 0x14019c96e
mov r9d, 0xffffffff
mov dword [rsp + 0x28], r14d
mov r8, rbx
mov qword [rsp + 0x20], r14
mov ecx, 0xfde9
lea edx, [r9 + 9]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edx, [rax - 1]
cmp edx, 0xfe
ja 0x14019c96e
mov dword [rsp + 0x28], eax
mov r9d, 0xffffffff
lea rax, [rsp + 0x60]
mov r8, rbx
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
dec eax
cmp eax, 0xfe
ja 0x14019c96e
mov r9d, r12d
lea r8, [0x1402f4f48]
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.14019bf00
mov eax, dword [r13 + 4]
xor r9d, r9d
mov dword [rsi + 0x54], eax
xor r8d, r8d
mov eax, dword [r13 + 8]
xor ecx, ecx
mov dword [rsi + 0x58], eax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsi], rax
test rax, rax
jne 0x14019c90d
mov dword [rsi + 0xa0], 1
jmp 0x14019c9b6
lea rax, [rsi + 0x48]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rcx, [rsi + 0x40]
lea rax, [fcn.14019c100]
mov r8d, r15d
mov qword [rsp + 0x40], rax
lea rdx, [rsi + 0x50]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x50]
call qword [0x140336150]
cmp eax, 0x3e5
je 0x14019c999
mov r8, rdi
xor edx, edx
mov ecx, eax
call fcn.14019c100
mov al, 1
jmp 0x14019c7af
mov qword [rsp + 0x28], r14
lea r8, [0x14019c3b0]
mov r9, rdi
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call fcn.14020d400
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14019c9a0
mov qword [rsi + 8], rax
mov al, 1
jmp 0x14019c7af
mov qword [rsi + 8], r14
mov dword [rsi + 0xa0], 1
call fcn.1402277f0
mov r15d, dword [rax]
mov rdi, qword [rbp + 0xe00]
test rdi, rdi
je 0x14019ca84
mov rcx, qword [rdi + 0x98]
mov rsi, qword [rdi + 0xb8]
mov r14, qword [rdi + 0xb0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [rdi + 0xa0]
mov rcx, qword [rdi + 0x98]
mov dword [rdi + 0xa0], 1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rdi]
test ebx, ebx
jne 0x14019ca21
test rax, rax
je 0x14019ca15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14019ca6d
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14019ca6d
test rax, rax
je 0x14019ca47
lea rcx, [rdi + 0x48]
call qword [0x140336158]
mov rcx, qword [rdi]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rdi + 8], 0
lea rcx, [rdi + 8]
je 0x14019ca57
call fcn.1401da450
lea rcx, [rdi + 0x20]
call fcn.14019bf60
mov rcx, qword [rbp + 0xe00]
call qword [fcn.140229280]
mov rdx, rsi
mov rcx, r14
call fcn.14018ac20
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
xor r14d, r14d
mov rcx, qword [rbp + 0xdf0]
mov qword [rbp + 0xe00], r14
call qword [fcn.140229280]
mov qword [rbp + 0xdf0], r14
jmp 0x14019c7a5