Function at 0x14003a6d0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x4f8]
sub rsp, 0x5f0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14010b358]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov r8d, 0x12c
lea rdx, [rbp + 0x3b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor esi, esi
mov qword [rbp + 0x398], rsi
mov dword [rbp + 0x390], esi
mov word [rbp - 0x70], si
lea rcx, [rbp + 0x3b0]
or rbx, 0xffffffffffffffff
mov rax, rbx
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x14003a740
movsxd rcx, eax
test eax, eax
jle 0x14003a764
cmp byte [rbp + rcx + 0x3b0], 0x5c
je 0x14003a764
dec eax
dec rcx
test rcx, rcx
jg 0x14003a750
inc eax
movsxd rcx, eax
cmp rcx, 0x12c
jae 0x14003a9d2
mov byte [rbp + rcx + 0x3b0], 0
lea rcx, [rbp + 0x3b0]
dec rcx
nop dword [rax + rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x14003a790
mov rax, qword [str.reboot.bat]
mov qword [rcx], rax
movzx eax, word [0x1400df830]
mov word [rcx + 8], ax
movzx eax, byte [0x1400df832]
mov byte [rcx + 0xa], al
lea rax, [rbp + 0x3b0]
mov qword [rsp + 0x20], rax
mov byte [rbp + 0x3a0], 0
xor eax, eax
mov dword [rbp + 0x3a1], eax
mov byte [rbp + 0x3a5], al
lea rcx, [rbp + 0x3a0]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], al
jne 0x14003a7e3
movzx eax, word [0x1400e097c]
mov word [rcx], ax
lea rcx, [rbp + 0x3a0]
dec rcx
nop
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x14003a800
movzx eax, word [0x1400e0984]
mov word [rcx], ax
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp + 0x3b0]
call fcn.14008bbac
mov qword [rbp + 0x398], rax
test rax, rax
je 0x14003a855
xor r9d, r9d
mov r8d, 0x200
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.140090334
mov dword [rbp + 0x390], 1
jmp 0x14003a8ab
call fcn.14008c1e4
cmp dword [rax], 0
je 0x14003a8ab
lea r9, [rbp + 0x3b0]
lea r8, str.File__reboot.bat__not_found:__s_n
mov edx, 3
xor ecx, ecx
call fcn.140010980
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rcx, qword [rbp + 0x398]
test rcx, rcx
je 0x14003a9d8
call fcn.14008a888
mov rcx, qword [rbp + 0x398]
call fcn.14008b124
jmp 0x14003a9d8
mov rcx, qword [rbp + 0x398]
test rcx, rcx
je 0x14003a8d3
call fcn.14008a888
mov rcx, qword [rbp + 0x398]
call fcn.14008b124
mov qword [rbp + 0x398], rsi
mov word [rbp - 0x70], si
mov qword [rsp + 0x68], shutdown
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x50], 0
cmp byte [rbp + 0x3b0], 0
jne 0x14003a8f4
mov rbx, rsi
jmp 0x14003a909
lea rax, [rbp + 0x3b0]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14003a900
mov r8, rbx
lea rdx, [rbp + 0x3b0]
lea rcx, [rsp + 0x50]
call fcn.140002630
nop
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14004a760
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14004a810
nop
cmp qword [rsp + 0x48], 0x10
jb 0x14003a94e
mov rcx, qword [rsp + 0x30]
call fcn.140089328
mov qword [rsp + 0x48], shutdown
mov qword [rsp + 0x40], rsi
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rcx, qword [rsp + 0x70]
call fcn.14008d5d4
mov dword [0x140135b64], 1
mov rdi, qword [0x140139b38]
mov dword [rdi + 0x78], esi
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.14000f600
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor ecx, ecx
call fcn.14008b658
nop
call fcn.140089f2c
nop
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140088760
lea r11, [rsp + 0x5f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret