Function at 0x1400429a0
Capabilities:
Delete file
Get common file path

Disassembly:
push rdi
sub rsp, 0x1e0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x1f8], rbx
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rdi, rcx
xor r8d, r8d
lea rdx, str.SOFTWAREClassesCLSID6a6A1EAE_13E1_4dc7_8014_B7677EF6D47A
mov rcx, 0xffffffff80000002
call fcn.1400d3390
xor r8d, r8d
lea rdx, str.SOFTWAREClassesCLSID85b3D3A0_4588_11d3_88DC_0080C8E9491B
mov rcx, 0xffffffff80000002
call fcn.1400d3390
lea r11, str.B623_3575FD9B5D6D
mov qword [rsp + 0x20], r11
lea r9, str.2BE166ED_F16C_46de_
lea r8, str.SOFTWAREClassesCLSID
lea rdx, str._s_s_s
lea rcx, [rsp + 0x150]
call qword [sym.imp.USER32.dll_wsprintfA]
xor r8d, r8d
lea rdx, [rsp + 0x150]
mov rcx, 0xffffffff80000002
call fcn.1400d3390
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi]
call fcn.140042130
nop
mov rcx, qword [rax]
lea rdx, [rsp + 0x40]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x140042a60
lea rcx, [rsp + 0x30]
call fcn.1400ca400
cmp byte [rsp + 0x40], 0
je 0x140042aa5
lea rcx, [rsp + 0x40]
call fcn.1400d0090
test eax, eax
je 0x140042aa5
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400d67e0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.140071fd0
lea rcx, [rsp + 0x40]
call fcn.1400c9bc0
lea rdi, [rsp + 0x40]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rbx, str.ocxdrv32.dll
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x140042ae0
cmp byte [rsp + 0x40], al
je 0x140042b1a
lea rcx, [rsp + 0x40]
call fcn.1400d0090
test eax, eax
je 0x140042b1a
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400d67e0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x40]
call fcn.1400c9bc0
lea rdi, [rsp + 0x40]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x140042b50
cmp byte [rsp + 0x40], al
je 0x140042b8a
lea rcx, [rsp + 0x40]
call fcn.1400d0090
test eax, eax
je 0x140042b8a
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400d67e0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x29]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rcx, [rsp + 0x40]
call fcn.1400c9bc0
lea rdi, [rsp + 0x40]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x140042bd0
lea rcx, [rsp + 0x40]
call fcn.1400d0090
test eax, eax
je 0x140042c05
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400d67e0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14010d170
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1e0
pop rdi
ret