Function at 0x14007e4c0
Capabilities:
Create thread

Disassembly:
push rbx
push rsi
push r12
sub rsp, 0xd0
mov rax, qword [0x140200260]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbx, rcx
mov rsi, r8
add rcx, 0x30
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx eax, byte [rbx + 0xf1]
test al, al
je 0x14007e50d
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 5
jmp 0x14007e8c2
mov qword [rsp + 0xc8], rdi
lea rcx, [rbx + 0x130]
mov qword [rsp + 0xc0], r13
mov qword [rsp + 0xb0], r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor r13d, r13d
cmp qword [rbx + 0x128], r13
je 0x14007e580
mov rax, qword [rbx + 0x120]
mov rcx, qword [rbx + 0x118]
dec rcx
and rcx, rax
mov rax, qword [rbx + 0x110]
mov rcx, qword [rax + rcx*8]
add rcx, 0x10
call fcn.140056af0
sub qword [rbx + 0x128], 1
je 0x14007e579
inc qword [rbx + 0x120]
jmp 0x14007e53e
mov qword [rbx + 0x120], r13
lea rcx, [rbx + 0x130]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r9, qword [rsi + 0x18]
mov r8, rsi
cmp r9, 8
jb 0x14007e59d
mov r8, qword [rsi]
mov r15, qword [rsi + 0x10]
lea rcx, [0x14018cce0]
test r15, r15
mov rdx, r15
cmovne rdx, r13
test rdx, rdx
je 0x14007e5d4
sub r8, rcx
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x14007e5dd
add rcx, 2
sub rdx, 1
jne 0x14007e5c0
test r15, r15
je 0x14007e89b
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r15
cmp rax, 9
jb 0x14007e8de
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0xb8], r14
cmp r9, 8
jb 0x14007e610
mov rsi, qword [rsi]
mov edi, 7
mov qword [rsp + 0x48], r13
lea rbp, [r15 + 9]
lea r14, [rsp + 0x48]
lea eax, [rdi + 3]
cmp rbp, rdi
jbe 0x14007e659
mov rdi, rbp
or rdi, 7
cmp rdi, rcx
jbe 0x14007e63c
mov rdi, rcx
jmp 0x14007e643
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x48]
call fcn.140056e90
mov r14, rax
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [str..pipe_]
mov qword [rsp + 0x58], rbp
lea r8, [r15 + r15]
mov qword [rsp + 0x60], rdi
mov rdx, rsi
movups xmmword [r14], xmm0
movzx ecx, word [0x140190860]
mov word [r14 + 0x10], cx
lea rcx, [r14 + 0x12]
call fcn.1401156f0
mov word [r14 + rbp*2], r13w
lea rax, [rsp + 0x48]
mov r14, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xf8]
cmp rbx, rax
je 0x14007e6d6
mov rcx, rbx
call fcn.140056af0
movups xmm0, xmmword [rsp + 0x48]
mov word [rsp + 0x48], r13w
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbx], xmm0
movdqa xmm0, xmmword [0x1401e06e0]
movdqu xmmword [rsp + 0x58], xmm0
movups xmmword [rbx + 0x10], xmm1
lea rcx, [rsp + 0x48]
call fcn.140056af0
mov dword [rbx + 0x20], 3
mov edi, 1
nop dword [rax]
mov rax, qword [rbx + 0x158]
inc rax
test rax, 0xfffffffffffffffe
jne 0x14007e767
lea r8, str._OUT
mov qword [rbx + 0x158], r13
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140076eb0
cmp qword [rax + 0x18], 8
jb 0x14007e727
mov rax, qword [rax]
mov qword [rsp + 0x30], r13
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rcx, [rsp + 0x68]
mov qword [rbx + 0x158], rax
call fcn.140056af0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [rbx + 0x160]
inc rax
test rax, 0xfffffffffffffffe
jne 0x14007e7e4
lea r8, [0x140190890]
mov qword [rbx + 0x160], r13
mov rdx, rbx
lea rcx, [rsp + 0x88]
call fcn.140076eb0
cmp qword [rax + 0x18], 8
jb 0x14007e7a1
mov rax, qword [rax]
mov qword [rsp + 0x30], r13
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rcx, [rsp + 0x88]
mov qword [rbx + 0x160], rax
call fcn.140056af0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [rbx + 0x158]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14007e806
mov rax, qword [rbx + 0x160]
inc rax
test rax, 0xfffffffffffffffe
jne 0x14007e827
cmp edi, 0x57e40
je 0x14007e874
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x57e40
jle 0x14007e6f0
lea rax, [rsp + 0x40]
mov byte [rbx + 0xf1], 1
mov qword [rsp + 0x28], rax
lea r8, [0x14007e240]
mov r9, rbx
mov dword [rsp + 0x20], r13d
xor edx, edx
mov byte [rbx + 0xf0], 1
xor ecx, ecx
mov dword [rsp + 0x40], r13d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rbx + 0x28], r13
jne 0x14007e88d
mov byte [rbx + 0xf0], r13b
mov rcx, rbx
call fcn.14007ee10
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xfffffffa
jmp 0x14007e8aa
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x14007e8aa
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xfffffff9
mov r13, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xc8]
mov r15, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140113660
add rsp, 0xd0
pop r12
pop rsi
pop rbx
ret
call fcn.140056930
int3