Function at 0x1800ca140
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x380
mov qword [rsp + 0x318], 0xfffffffffffffffe
mov rax, qword [0x180284030]
xor rax, rsp
mov qword [rsp + 0x378], rax
lea rdx, str.winpeshl.ini
lea rcx, [rsp + 0x1a0]
call fcn.1800334a0
nop
lea rdx, [0x1802287dc]
lea rcx, [rsp + 0x1c0]
call fcn.1800334a0
nop
mov rax, qword [rsp + 0x390]
add rax, 0x18
lea r8, [rsp + 0x1c0]
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.180033cc0
mov qword [rsp + 0x320], rax
mov rax, qword [rsp + 0x320]
mov qword [rsp + 0x328], rax
lea r8, [rsp + 0x1a0]
mov rdx, qword [rsp + 0x328]
lea rcx, [rsp + 0x30]
call fcn.180033cc0
nop
lea rcx, [rsp + 0x1e0]
call fcn.18000165e
nop
lea rcx, [rsp + 0x1c0]
call fcn.18000165e
nop
lea rcx, [rsp + 0x1a0]
call fcn.18000165e
lea rcx, [rsp + 0x30]
call fcn.18000122b
mov dword [rsp + 0x20], 0x80
mov r9d, 2
mov r8d, 0xc0000000
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.18003da60
nop
lea rcx, [rsp + 0x58]
call fcn.18003dc30
movzx eax, al
test eax, eax
jne 0x1800ca286
mov byte [rsp + 0x200], 0
lea rcx, [rsp + 0x58]
call fcn.18003db50
nop
lea rcx, [rsp + 0x30]
call fcn.18000165e
movzx eax, byte [rsp + 0x200]
jmp 0x1800ca615
mov dword [rsp + 0x50], 0
mov byte [rsp + 0x90], 0
lea rax, [rsp + 0x91]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
lea r9, str._LaunchApps_
lea r8, [0x1802287f4]
mov edx, 0x104
lea rcx, [rsp + 0x90]
call fcn.1800d88e0
lea rcx, [rsp + 0x90]
call fcn.1800d8570
lea r9, [rsp + 0x50]
mov r8d, eax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.18003e0a0
movzx eax, al
test eax, eax
jne 0x1800ca322
mov byte [rsp + 0x201], 0
lea rcx, [rsp + 0x58]
call fcn.18003db50
nop
lea rcx, [rsp + 0x30]
call fcn.18000165e
movzx eax, byte [rsp + 0x201]
jmp 0x1800ca615
lea rdx, [0x180228814]
lea rcx, [rsp + 0x208]
call fcn.1800334a0
nop
lea rdx, [0x180228854]
lea rcx, [rsp + 0x228]
call fcn.1800333e0
nop
lea rdx, str.__systemdrive_
lea rcx, [rsp + 0x248]
call fcn.1800334a0
nop
mov r8, qword [rsp + 0x398]
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x268]
call fcn.180033cc0
mov qword [rsp + 0x330], rax
mov rax, qword [rsp + 0x330]
mov qword [rsp + 0x338], rax
lea r8, [rsp + 0x228]
mov rdx, qword [rsp + 0x338]
lea rcx, [rsp + 0x288]
call fcn.180033cc0
mov qword [rsp + 0x340], rax
mov rax, qword [rsp + 0x340]
mov qword [rsp + 0x348], rax
mov r8, qword [rsp + 0x3a0]
mov rdx, qword [rsp + 0x348]
lea rcx, [rsp + 0x2a8]
call fcn.180033cc0
mov qword [rsp + 0x350], rax
mov rax, qword [rsp + 0x350]
mov qword [rsp + 0x358], rax
lea r8, [rsp + 0x208]
mov rdx, qword [rsp + 0x358]
lea rcx, [rsp + 0x60]
call fcn.180033cc0
nop
lea rcx, [rsp + 0x2a8]
call fcn.18000165e
nop
lea rcx, [rsp + 0x288]
call fcn.18000165e
nop
lea rcx, [rsp + 0x268]
call fcn.18000165e
nop
lea rcx, [rsp + 0x248]
call fcn.18000165e
nop
lea rcx, [rsp + 0x228]
call fcn.18000165e
nop
lea rcx, [rsp + 0x208]
call fcn.18000165e
lea rcx, [rsp + 0x60]
call fcn.180033c10
mov r9, rax
lea r8, [0x180228864]
mov edx, 0x104
lea rcx, [rsp + 0x90]
call fcn.1800d88e0
lea rcx, [rsp + 0x90]
call fcn.1800d8570
lea r9, [rsp + 0x50]
mov r8d, eax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.18003e0a0
movzx eax, al
test eax, eax
jne 0x1800ca4f7
mov byte [rsp + 0x2c8], 0
lea rcx, [rsp + 0x60]
call fcn.18000165e
nop
lea rcx, [rsp + 0x58]
call fcn.18003db50
nop
lea rcx, [rsp + 0x30]
call fcn.18000165e
movzx eax, byte [rsp + 0x2c8]
jmp 0x1800ca615
lea rcx, [rsp + 0x60]
call fcn.18000165e
nop
lea rcx, [rsp + 0x58]
call fcn.18003db50
lea rdx, str.WindowsSystem32
lea rcx, [rsp + 0x2d0]
call fcn.1800334a0
nop
mov rax, qword [rsp + 0x390]
add rax, 0xd8
lea r8, [rsp + 0x2d0]
mov rdx, rax
lea rcx, [rsp + 0x2f0]
call fcn.180033cc0
mov qword [rsp + 0x360], rax
mov rax, qword [rsp + 0x360]
mov qword [rsp + 0x368], rax
mov rdx, qword [rsp + 0x368]
lea rcx, [rsp + 0x30]
call fcn.18007bf70
movzx eax, al
test eax, eax
jne 0x1800ca585
mov dword [rsp + 0x370], 1
jmp 0x1800ca590
mov dword [rsp + 0x370], 0
movzx eax, byte [rsp + 0x370]
mov byte [rsp + 0x2c9], al
lea rcx, [rsp + 0x2f0]
call fcn.18000165e
nop
lea rcx, [rsp + 0x2d0]
call fcn.18000165e
movzx eax, byte [rsp + 0x2c9]
test eax, eax
je 0x1800ca5e2
mov byte [rsp + 0x310], 0
lea rcx, [rsp + 0x30]
call fcn.18000165e
movzx eax, byte [rsp + 0x310]
jmp 0x1800ca615
lea rcx, [rsp + 0x30]
call fcn.18000122b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, eax
call fcn.180001384
mov byte [rsp + 0x311], al
lea rcx, [rsp + 0x30]
call fcn.18000165e
movzx eax, byte [rsp + 0x311]
mov rcx, qword [rsp + 0x378]
xor rcx, rsp
call fcn.1800d65d0
add rsp, 0x380
pop rdi
ret