Function at 0x1400715e0
Capabilities:
Check if file exists
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rbp, rdx
mov rsi, rcx
xor r15d, r15d
lea rcx, [rax - 0x58]
xor edx, edx
lea r8d, [r15 + 0x40]
call sub.msvcrt.dll_memset
mov dl, 1
call fcn.140071c94
mov ebx, eax
test eax, eax
jns 0x14007168c
cmp dword [0x140142444], 2
jb 0x140071639
mov r8d, eax
lea rdx, str.Failed_to_acquire_debug_privilege:_0x_x
lea ecx, [r15 + 2]
call fcn.14003929c
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x140071670
test byte [rcx + 0x1c], 0x10
je 0x140071670
cmp byte [rcx + 0x19], 2
jb 0x140071670
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401056a8]
mov edx, 0x10
mov r9d, ebx
call fcn.140007608
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov rcx, qword [rsi + 0x50]
mov rdi, rax
cmp rax, rcx
je 0x1400716c2
test rcx, rcx
je 0x1400716bb
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x140071a52
mov qword [rsi + 0x50], rdi
mov rcx, rdi
test rcx, rcx
jne 0x14007173b
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
movzx ebx, ax
mov edi, 0x80070000
or ebx, edi
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
cmp dword [0x140142444], 2
jb 0x140071703
mov r8d, ebx
lea rdx, str.CreateEvent_failed__error_0x_X
mov ecx, 2
call fcn.14003929c
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x140071a00
test byte [rcx + 0x1c], 0x10
je 0x140071a00
cmp byte [rcx + 0x19], 2
jb 0x140071a00
mov edx, 0x11
mov r9d, ebx
jmp 0x1400719f0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov rcx, qword [rsi + 0x40]
mov rdi, rax
cmp rax, rcx
je 0x140071771
test rcx, rcx
je 0x14007176a
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x140071a22
mov qword [rsi + 0x40], rdi
mov rcx, rdi
test rcx, rcx
jne 0x1400717e7
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
movzx ebx, ax
mov edi, 0x80070000
or ebx, edi
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
cmp dword [0x140142444], 2
jb 0x1400717b2
mov r8d, ebx
lea rdx, str.CreateEvent_failed_for_CompleteEvent__error_0x_X
mov ecx, 2
call fcn.14003929c
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x140071a00
test byte [rcx + 0x1c], 0x10
je 0x140071a00
cmp byte [rcx + 0x19], 2
jb 0x140071a00
mov edx, 0x12
jmp 0x140071733
and qword [rsp + 0x28], r15
lea r8, [0x140070660]
and dword [rsp + 0x20], r15d
mov r9, rsi
xor edx, edx
mov dword [rsi + 0x30], 0x7530
xor ecx, ecx
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_CreateThread]
mov r14, rax
test rax, rax
je 0x14007197a
mov rcx, qword [rsi + 0x50]
lea rdx, [rsp + 0x30]
and qword [rsp + 0x28], 0
xor r9d, r9d
and dword [rsp + 0x20], 0
mov r15, rax
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x30], 1
lea r8d, [r9 + 0x40]
mov qword [rsp + 0x58], rbp
lea ecx, [r9 + 0x25]
call qword [sym.imp.ntdll.dll_NtSystemDebugControl]
mov ebp, eax
mov edi, 0x80070000
test eax, eax
jns 0x14007195f
mov ebx, eax
bts ebx, 0x1c
cmp eax, 0xc0000120
jne 0x1400718cd
cmp dword [0x140142444], 3
jb 0x140071888
lea rdx, str.The_live_dump_collection_was_cancelled.
mov ecx, 3
call fcn.14003929c
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x14007195f
test byte [rcx + 0x1c], 0x10
je 0x14007195f
cmp byte [rcx + 0x19], 3
jb 0x14007195f
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401056a8]
mov edx, 0x14
call fcn.1400075e4
jmp 0x14007195f
cmp dword [0x140142444], 2
jb 0x14007190b
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
movzx ecx, ax
mov r9d, ebx
or ecx, edi
lea rdx, str.NtSystemDebugControl_failed:_NTSTATUS__0x_X__hr_0x_X___GetLastError____0x_X
test eax, eax
mov r8d, ebp
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovns ecx, eax
mov dword [rsp + 0x20], ecx
mov ecx, 2
call fcn.14003929c
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x14007195f
test byte [rcx + 0x1c], 0x10
je 0x14007195f
cmp byte [rcx + 0x19], 2
jb 0x14007195f
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
movzx ecx, ax
mov r9d, ebp
or ecx, edi
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovns ecx, eax
mov dword [rsp + 0x28], ecx
mov rcx, qword [section..data]
mov dword [rsp + 0x20], ebx
mov rcx, qword [rcx + 0x10]
call fcn.1400707f0
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_SetEvent]
or edx, 0xffffffff
mov rcx, r14
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_WaitForSingleObject]
jmp 0x140071a00
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
movzx ebx, ax
mov edi, 0x80070000
or ebx, edi
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
cmp dword [0x140142444], 2
jb 0x1400719bc
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
lea rdx, str.CreateThread_failed__error_0x_X
mov ecx, 2
mov r8d, eax
call fcn.14003929c
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x140071a00
test byte [rcx + 0x1c], 0x10
je 0x140071a00
cmp byte [rcx + 0x19], 2
jb 0x140071a00
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
mov rcx, qword [section..data]
mov edx, 0x13
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401056a8]
call fcn.140007608
xor edx, edx
call fcn.140071c94
test r15, r15
je 0x140071670
mov rcx, r15
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x140071a3c
jmp 0x140071670
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.14002953c
int3
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, edi
test eax, eax
cmovle ecx, eax
call fcn.14002953c
int3
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.14002953c
int3