Function at 0x1401141c0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rcx, qword [rsp + 0xb0]
add rcx, 0x130
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rsp + 0xc0], 0
jne 0x14011421f
mov rcx, qword [rsp + 0xb0]
add rcx, 0x130
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x1401145f2
mov ecx, dword [rsp + 0xc0]
xor edx, edx
mov rax, qword [rsp + 0xb8]
div rcx
mov rcx, rax
mov eax, dword [rsp + 0xc0]
imul rcx, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x110], rcx
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0xc0]
mov dword [rcx + 0x128], eax
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0xc8]
mov dword [rcx + 0x108], eax
mov ecx, dword [rsp + 0xc0]
xor edx, edx
mov rax, qword [rsp + 0xd0]
div rcx
mov rcx, rax
mov eax, dword [rsp + 0xc0]
imul rcx, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x118], rcx
mov rcx, qword [rsp + 0xb0]
add rcx, 0x120
mov rdx, qword [rsp + 0xd8]
call fcn.140002020
mov r11, qword [rsp + 0xb0]
mov qword [r11], 0
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x110], 0
je 0x1401143e1
mov ecx, 0xa8
call fcn.140073244
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140114317
mov rcx, qword [rsp + 0x40]
call fcn.140026dd0
mov qword [rsp + 0x80], rax
jmp 0x140114323
mov qword [rsp + 0x80], 0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x38]
mov qword [rcx], rax
mov rax, qword [rsp + 0xb0]
mov r8d, dword [rax + 0x128]
mov rdx, qword [rsp + 0xb0]
mov rdx, qword [rdx + 0x110]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx]
call fcn.140113980
test rax, rax
jne 0x1401143e1
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1401143b3
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [rax]
mov qword [rsp + 0x88], rax
jmp 0x1401143bf
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0xb0]
mov qword [rax], 0
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x110], 0
mov rax, qword [rsp + 0xb0]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x118], 0
je 0x140114493
mov ecx, 0x90
call fcn.140073244
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140114432
mov rcx, qword [rsp + 0x60]
call fcn.140026e00
mov qword [rsp + 0x90], rax
jmp 0x14011443e
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x58]
mov qword [rcx + 8], rax
mov r9, qword [rsp + 0xd8]
mov rax, qword [rsp + 0xb0]
mov r8d, dword [rax + 0x128]
mov rdx, qword [rsp + 0xb0]
mov rdx, qword [rdx + 0x118]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 8]
call fcn.140113f60
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x168], 0
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x160], 0
mov rax, qword [rsp + 0xb0]
cmp qword [rax], 0
je 0x1401145d8
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 8], 0
je 0x1401145d8
mov ecx, 0xa8
call fcn.140073244
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x140114519
mov rcx, qword [rsp + 0x70]
call fcn.140026dd0
mov qword [rsp + 0x98], rax
jmp 0x140114525
mov qword [rsp + 0x98], 0
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x68]
mov qword [rcx + 0x10], rax
mov r8d, 0x8010
mov edx, 0x8000000
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x10]
call fcn.140113980
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x168], r11
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x174], 1
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0xb0]
lea r8, [0x1401123b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x160], r11
mov rcx, qword [rsp + 0xb0]
add rcx, 0x130
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
add rsp, 0xa8
ret