Function at 0x14006d5b0
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 [0x1400e6480]
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 0x14006d63c
mov eax, 0xffffffff
jmp 0x14006dab2
cmp dword [rsp + 0x310], 0
jne 0x14006d699
cmp dword [rsp + 0x328], 0
je 0x14006d699
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 0x14006d679
mov eax, 0x20000000
jmp 0x14006dab2
cmp dword [rsp + 0x60], 0xc0
jne 0x14006d68f
mov eax, 0x30000000
jmp 0x14006dab2
mov eax, 0xffffffff
jmp 0x14006dab2
cmp dword [rsp + 0x310], 0x40
ja 0x14006d741
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 0x14006d6ea
mov eax, 0x30000000
jmp 0x14006dab2
cmp dword [rsp + 0x38], 0x102
jne 0x14006d6fe
mov eax, 0x20000000
jmp 0x14006dab2
cmp dword [rsp + 0x38], 0x80
jb 0x14006d720
cmp dword [rsp + 0x38], 0xc0
jae 0x14006d720
mov eax, dword [rsp + 0x38]
add eax, 0xfffff80
jmp 0x14006dab2
cmp dword [rsp + 0x38], 0
jb 0x14006d737
cmp dword [rsp + 0x38], 0x40
jae 0x14006d737
mov eax, dword [rsp + 0x38]
jmp 0x14006dab2
mov eax, 0xffffffff
jmp 0x14006dab2
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 0x14006d766
jmp 0x14006da11
mov dword [rsp + 0x34], 0
jmp 0x14006d77a
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x34], eax
jae 0x14006d87d
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 0x14006d805
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x310]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
jmp 0x14006d80d
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, [0x14006daf0]
mov edx, 0x800
xor ecx, ecx
call fcn.14008904c
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 0x14006d878
jmp 0x14006da11
jmp 0x14006d770
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 0x14006d8b2
mov dword [rsp + 0x40], 0x30000000
jmp 0x14006da11
cmp dword [rsp + 0x4c], 0x102
jne 0x14006d8c9
mov dword [rsp + 0x40], 0x20000000
jmp 0x14006da11
cmp dword [rsp + 0x4c], 0
je 0x14006d8dd
mov dword [rsp + 0x40], 0xffffffff
jmp 0x14006da11
mov dword [rsp + 0x30], 0
jmp 0x14006d8f1
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x30], eax
jae 0x14006da11
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
cmp dword [rsp + rax + 0x90], 0xfffffffe
jne 0x14006d913
jmp 0x14006d8e7
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
cmp dword [rsp + rax + 0x90], 0xffffffff
je 0x14006d94f
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
cmp dword [rsp + rax + 0x90], 0xc0
je 0x14006d94f
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
cmp dword [rsp + rax + 0x90], 0x102
jne 0x14006d95c
mov dword [rsp + 0x40], 0xffffffff
jmp 0x14006da11
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
cmp dword [rsp + rax + 0x90], 0x80
jb 0x14006d9bc
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 0x14006d9bc
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 0x14006da11
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
cmp dword [rsp + rax + 0x90], 0
jb 0x14006da0c
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 0x14006da0c
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 0x14006da11
jmp 0x14006d8e7
mov dword [rsp + 0x3c], 0
jmp 0x14006da25
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x3c], eax
jae 0x14006da9b
mov eax, dword [rsp + 0x3c]
imul rax, rax, 0x28
cmp qword [rsp + rax + 0x70], 0
je 0x14006da99
mov eax, dword [rsp + 0x3c]
imul rax, rax, 0x28
cmp dword [rsp + rax + 0x90], 0xfffffffe
jne 0x14006da6e
mov eax, dword [rsp + 0x3c]
imul rax, rax, 0x28
xor r8d, r8d
mov rdx, qword [rsp + rax + 0x70]
lea rcx, [0x14006dad0]
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 0x14006da1b
cmp qword [rsp + 0x58], 0
je 0x14006daae
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.1400758f0
add rsp, 0x300
pop rdi
ret