Function at 0x180054b60
Capabilities:
Delete file

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rcx, qword [rsp + 0x88]
call fcn.18001fca0
inc rax
mov rcx, rax
call fcn.180015b14
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
call fcn.18001bc60
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
nop
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x40]
call fcn.180054a50
mov rcx, rax
call fcn.1800082f0
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAddExtensionA]
nop
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
je 0x180054f67
lea rax, [rsp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x41]
call fcn.180054930
mov rcx, rax
call fcn.1800082d0
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.18001f5f0
test eax, eax
jne 0x180054ccd
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x42]
call fcn.180054810
mov rcx, rax
call fcn.1800082b0
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x90]
mov r8d, dword [0x18007bcd4]
lea rdx, str.MSCF
mov rcx, qword [rsp + 0x58]
call fcn.180054f90
mov dword [rsp + 0x4c], eax
jmp 0x180054f67
lea rax, [rsp + 0x43]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x43]
call fcn.1800546f0
mov rcx, rax
call fcn.180008290
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.18001f5f0
test eax, eax
jne 0x180054d6c
lea rax, [rsp + 0x44]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x44]
call fcn.1800545d0
mov rcx, rax
call fcn.180008270
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x90]
mov r8d, dword [0x18007bcdc]
lea rdx, [0x18009af50]
mov rcx, qword [rsp + 0x58]
call fcn.180054f90
mov dword [rsp + 0x4c], eax
jmp 0x180054f67
lea rax, [rsp + 0x45]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x45]
call fcn.1800544b0
mov rcx, rax
call fcn.180008250
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.18001f5f0
test eax, eax
jne 0x180054e0b
lea rax, [rsp + 0x46]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x46]
call fcn.180054390
mov rcx, rax
call fcn.180008230
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x90]
mov r8d, dword [0x1802694c4]
lea rdx, [0x1802694d0]
mov rcx, qword [rsp + 0x58]
call fcn.180054f90
mov dword [rsp + 0x4c], eax
jmp 0x180054f67
lea rax, [rsp + 0x47]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x47]
call fcn.180054260
mov rcx, rax
call fcn.180008210
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.18001f5f0
test eax, eax
jne 0x180054eaa
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x48]
call fcn.180054130
mov rcx, rax
call fcn.1800081f0
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x90]
mov r8d, dword [0x18007bcd0]
lea rdx, [0x18009acd0]
mov rcx, qword [rsp + 0x58]
call fcn.180054f90
mov dword [rsp + 0x4c], eax
jmp 0x180054f67
lea rax, [rsp + 0x49]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x49]
call fcn.180054000
mov rcx, rax
call fcn.1800081d0
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.18001f5f0
test eax, eax
jne 0x180054f46
lea rax, [rsp + 0x4a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x4a]
call fcn.180053ed0
mov rcx, rax
call fcn.1800081b0
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x90]
mov r8d, dword [0x18007bcd8]
lea rdx, [0x18007bce0]
mov rcx, qword [rsp + 0x58]
call fcn.180054f90
mov dword [rsp + 0x4c], eax
jmp 0x180054f67
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [rsp + 0x4c], 0x57
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.180015ad0
nop
mov eax, dword [rsp + 0x4c]
add rsp, 0x70
pop rdi
ret