Function at 0x14000fd00
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x300
mov rax, qword [0x14005b1f0]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov dword [rsp + 0x44], 0x40
mov eax, dword [rsp + 0x310]
dec eax
xor edx, edx
div dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x40], 0xffffffff
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, 0x278
rep stosb byte [rdi], al
cmp dword [rsp + 0x310], 0x400
jbe 0x14000fd8c
mov eax, 0xffffffff
jmp 0x140010202
cmp dword [rsp + 0x310], 0
jne 0x14000fde9
cmp dword [rsp + 0x328], 0
je 0x14000fde9
mov edx, 1
mov ecx, dword [rsp + 0x320]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SleepEx]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x14000fdc9
mov eax, 0x20000000
jmp 0x140010202
cmp dword [rsp + 0x60], 0xc0
jne 0x14000fddf
mov eax, 0x30000000
jmp 0x140010202
mov eax, 0xffffffff
jmp 0x140010202
cmp dword [rsp + 0x310], 0x40
ja 0x14000fe91
mov eax, dword [rsp + 0x328]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x320]
xor r8d, r8d
mov rdx, qword [rsp + 0x318]
mov ecx, dword [rsp + 0x310]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForMultipleObjectsEx]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xc0
jne 0x14000fe3a
mov eax, 0x30000000
jmp 0x140010202
cmp dword [rsp + 0x38], 0x102
jne 0x14000fe4e
mov eax, 0x20000000
jmp 0x140010202
cmp dword [rsp + 0x38], 0x80
jb 0x14000fe70
cmp dword [rsp + 0x38], 0xc0
jae 0x14000fe70
mov eax, dword [rsp + 0x38]
add eax, 0xfffff80
jmp 0x140010202
cmp dword [rsp + 0x38], 0
jb 0x14000fe87
cmp dword [rsp + 0x38], 0x40
jae 0x14000fe87
mov eax, dword [rsp + 0x38]
jmp 0x140010202
mov eax, 0xffffffff
jmp 0x140010202
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventA]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14000feb6
jmp 0x140010161
mov dword [rsp + 0x34], 0
jmp 0x14000feca
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x34], eax
jae 0x14000ffcd
mov eax, dword [rsp + 0x34]
imul eax, dword [rsp + 0x44]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0x28
mov dword [rsp + rax + 0x90], 0xfffffffe
mov eax, dword [rsp + 0x34]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x58]
mov qword [rsp + rax + 0x78], rcx
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x318]
lea rax, [rcx + rax*8]
mov ecx, dword [rsp + 0x34]
imul rcx, rcx, 0x28
mov qword [rsp + rcx + 0x88], rax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x310]
sub ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x44]
jae 0x14000ff55
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x310]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
jmp 0x14000ff5d
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0x28
mov ecx, dword [rsp + 0x64]
mov dword [rsp + rax + 0x80], ecx
mov eax, dword [rsp + 0x34]
imul rax, rax, 0x28
lea rax, [rsp + rax + 0x70]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140010240]
mov edx, 0x800
xor ecx, ecx
call fcn.14001dcac
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x68]
mov qword [rsp + rax + 0x70], rcx
cmp qword [rsp + 0x68], 0
jne 0x14000ffc8
jmp 0x140010161
jmp 0x14000fec0
mov r8d, dword [rsp + 0x328]
mov edx, dword [rsp + 0x320]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObjectEx]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0xc0
jne 0x140010002
mov dword [rsp + 0x40], 0x30000000
jmp 0x140010161
cmp dword [rsp + 0x4c], 0x102
jne 0x140010019
mov dword [rsp + 0x40], 0x20000000
jmp 0x140010161
cmp dword [rsp + 0x4c], 0
je 0x14001002d
mov dword [rsp + 0x40], 0xffffffff
jmp 0x140010161
mov dword [rsp + 0x30], 0
jmp 0x140010041
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x30], eax
jae 0x140010161
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
cmp dword [rsp + rax + 0x90], 0xfffffffe
jne 0x140010063
jmp 0x140010037
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
cmp dword [rsp + rax + 0x90], 0xffffffff
je 0x14001009f
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
cmp dword [rsp + rax + 0x90], 0xc0
je 0x14001009f
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
cmp dword [rsp + rax + 0x90], 0x102
jne 0x1400100ac
mov dword [rsp + 0x40], 0xffffffff
jmp 0x140010161
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
cmp dword [rsp + rax + 0x90], 0x80
jb 0x14001010c
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x28
mov ecx, dword [rsp + rcx + 0x80]
add ecx, 0x80
cmp dword [rsp + rax + 0x90], ecx
jae 0x14001010c
mov eax, dword [rsp + 0x30]
imul eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x28
mov ecx, dword [rsp + rcx + 0x90]
lea eax, [rax + rcx + 0xfffff80]
mov dword [rsp + 0x40], eax
jmp 0x140010161
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
cmp dword [rsp + rax + 0x90], 0
jb 0x14001015c
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x28
mov ecx, dword [rsp + rcx + 0x80]
cmp dword [rsp + rax + 0x90], ecx
jae 0x14001015c
mov eax, dword [rsp + 0x30]
imul eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x28
add eax, dword [rsp + rcx + 0x90]
mov dword [rsp + 0x40], eax
jmp 0x140010161
jmp 0x140010037
mov dword [rsp + 0x3c], 0
jmp 0x140010175
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x3c], eax
jae 0x1400101eb
mov eax, dword [rsp + 0x3c]
imul rax, rax, 0x28
cmp qword [rsp + rax + 0x70], 0
je 0x1400101e9
mov eax, dword [rsp + 0x3c]
imul rax, rax, 0x28
cmp dword [rsp + rax + 0x90], 0xfffffffe
jne 0x1400101be
mov eax, dword [rsp + 0x3c]
imul rax, rax, 0x28
xor r8d, r8d
mov rdx, qword [rsp + rax + 0x70]
lea rcx, [0x140010220]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_QueueUserAPC]
mov eax, dword [rsp + 0x3c]
imul rax, rax, 0x28
mov edx, 0xffffffff
mov rcx, qword [rsp + rax + 0x70]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x3c]
imul rax, rax, 0x28
mov rcx, qword [rsp + rax + 0x70]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x14001016b
cmp qword [rsp + 0x58], 0
je 0x1400101fe
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140014060
add rsp, 0x300
pop rdi
ret