Function at 0x14001ec54
Capabilities:
Delete file
Get common file path
Get file attributes
Move file
Query or enumerate registry value
Set file attributes

Disassembly:
test rdx, rdx
je 0x14001f9f8
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x16ff8]
mov eax, 0x170f8
call fcn.140021a60
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov r15d, r8d
mov rax, rdx
mov r13, rcx
xor r14d, r14d
mov dword [rsp + 0x28], 0x1000
lea rcx, [rbp + 0x17048]
mov qword [rsp + 0x20], rcx
mov rcx, rdx
jmp 0x14001f9b8
lea rax, [rbp + 0x3fe0]
lea rbx, [rbp + 0xaff0]
mov edi, 6
mov rdx, rbx
mov rcx, rax
call fcn.14001d178
add rbx, 0x2000
sub rdi, 1
jne 0x14001eccc
or edi, 0xffffffff
mov ebx, r14d
lea rsi, str.Delete
mov rdx, qword [rsi]
lea rcx, [rbp + 0x8ff0]
call fcn.140012564
test eax, eax
je 0x14001ed11
inc ebx
add rsi, 8
cmp ebx, 0xe
jb 0x14001ecf1
jmp 0x14001ed22
mov edi, ebx
cmp ebx, 7
jg 0x14001f52e
je 0x14001f33c
test edi, edi
je 0x14001f125
sub edi, 1
je 0x14001f05d
sub edi, 1
je 0x14001f03f
sub edi, 1
je 0x14001ee1c
sub edi, 1
je 0x14001ede3
sub edi, 1
je 0x14001ed97
cmp edi, 1
jne 0x14001f9a1
cmp r15d, 4
jne 0x14001ed8b
lea rdx, [0x1400363d8]
lea rcx, [rbp + 0x3fe0]
call fcn.1400257d8
test eax, eax
je 0x14001ed8b
xor r8d, r8d
lea rdx, [rbp + 0x3fe0]
mov rcx, r13
call fcn.14001fe6c
mov byte [0x14004c587], 1
jmp 0x14001f9a1
movzx ecx, word [rbp + 0x3fe0]
test ecx, ecx
je 0x14001edd0
sub ecx, 0x30
je 0x14001edbd
sub ecx, 1
je 0x14001edd0
cmp ecx, 1
jne 0x14001f9a1
mov byte [0x14004c54e], cl
jmp 0x14001edc4
mov byte [0x14004c54e], r14b
mov byte [0x14004c54f], r14b
jmp 0x14001f9a1
mov byte [0x14004c54e], r14b
mov byte [0x14004c54f], 1
jmp 0x14001f9a1
cmp dword [0x14004c594], 1
je 0x14001f9a1
movzx ecx, word [rbp + 0x3fe0]
call fcn.1400106cc
test al, al
je 0x14001ee0c
movzx eax, word [rbp + 0x3fe0]
sub eax, 0x30
jmp 0x14001ee11
mov eax, 2
mov dword [0x14004c594], eax
jmp 0x14001f9a1
test r15d, r15d
jne 0x14001f9a1
cmp word [0x14004c59a], r14w
jne 0x14001f9a1
mov word [rbp - 0x70], r14w
lea rdi, [rbp + 0x3fe0]
lea rax, [rbp + 0x3fe2]
lea ecx, [r15 + 0x22]
cmp word [rbp + 0x3fe0], cx
cmove rdi, rax
mov rcx, rdi
call fcn.1400257a4
mov esi, 0x800
cmp rax, rsi
jae 0x14001f9a1
cmp word [rdi], 0x2e
jne 0x14001ee8b
cmp word [rdi + 2], 0x5c
jne 0x14001ee8b
lea rdx, [rdi + 4]
cmp word [rdx], r14w
je 0x14001f9a1
jmp 0x14001ef93
cmp word [rdi], 0x5c
je 0x14001ef90
cmp word [rdi], r14w
je 0x14001eea6
cmp word [rdi + 2], 0x3a
je 0x14001ef90
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001ef34
mov dword [rbp + 0x17048], 0x1000
lea rax, [rbp + 0x17048]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.ProgramFilesDir
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [rbp + 0x17048]
shr edx, 1
mov eax, edx
mov r8d, 0x7ff
mov ecx, r8d
cmp edx, r8d
cmovb ecx, eax
mov word [rbp + rcx*2 - 0x70], r14w
cmp word [rbp - 0x70], r14w
je 0x14001ef5f
lea rcx, [rbp - 0x70]
call fcn.1400257a4
cmp word [rbp + rax*2 - 0x72], 0x5c
je 0x14001ef5f
mov r8, rsi
lea rdx, [0x140034d50]
lea rcx, [rbp - 0x70]
call fcn.1400107d4
mov rcx, rdi
call fcn.1400257a4
mov rbx, rax
lea rcx, [rbp - 0x70]
call fcn.1400257a4
add rbx, rax
cmp rbx, 0x7ff
jae 0x14001ef9f
mov r8, rsi
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.1400107d4
jmp 0x14001ef9f
mov rdx, rdi
mov r8, rsi
lea rcx, [rbp - 0x70]
call fcn.14001081c
mov edx, 0x22
lea rcx, [rbp - 0x70]
call fcn.140024ba4
test rax, rax
je 0x14001efbd
cmp word [rax + 2], r14w
jne 0x14001efbd
mov word [rax], r14w
mov r8, rsi
lea rdx, [rbp - 0x70]
lea rdi, [0x140060fa0]
mov rcx, rdi
call fcn.14001081c
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.14001d350
mov edx, 0x66
mov rcx, r13
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbx, rax
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov r9, rdi
xor r8d, r8d
mov edx, 0x143
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.1400257d8
test eax, eax
je 0x14001f9a1
lea r9, [rbp - 0x70]
xor r8d, r8d
mov edx, 0x143
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14001f9a1
test r15d, r15d
jne 0x14001f9a1
lea rdx, [rbp + 0x3fe0]
mov rcx, r13
call qword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x14001f9a1
test r15d, r15d
jne 0x14001f9a1
mov rcx, qword [0x140060f80]
test rcx, rcx
sete dil
test dil, dil
jne 0x14001f08c
lea rdx, str._br_
call fcn.140026fe4
mov rcx, qword [0x140060f80]
mov r14b, byte [rbp + 0x17058]
test r14b, r14b
je 0x14001f0a1
lea rbx, [rbp + 0x3fe0]
jmp 0x14001f0be
lea rcx, [rbp + 0x17048]
call fcn.14001d6ac
mov rbx, rax
mov r12, qword [rbp + 0x17048]
mov rcx, qword [0x140060f80]
test dil, dil
je 0x14001f0c7
xor esi, esi
jmp 0x14001f0cf
call fcn.1400257a4
mov rsi, rax
mov rcx, rbx
call fcn.1400257a4
add rax, rsi
lea rdx, [rax*2 + 0xa]
mov rcx, qword [0x140060f80]
call fcn.1400257d0
xor esi, esi
test rax, rax
je 0x14001f10f
mov qword [0x140060f80], rax
test dil, dil
je 0x14001f104
mov word [rax], si
mov rdx, rbx
mov rcx, rax
call fcn.140026fe4
test r14b, r14b
jne 0x14001f99e
mov rcx, rbx
call fcn.1400257c0
jmp 0x14001f99e
mov eax, 2
cmp r15d, eax
jne 0x14001f9a1
mov esi, 0x800
mov edx, esi
lea rcx, [rbp + 0xf90]
call fcn.14001c8cc
mov r9d, esi
lea r8, [rbp + 0x7ff0]
lea rdx, [rbp + 0x3fe0]
lea rcx, [rbp + 0xf90]
call fcn.14000c5bc
lea rcx, [rbp + 0x6fe0]
call fcn.14000ae0c
nop
lea rdx, [rbp + 0x7ff0]
lea rcx, [rbp + 0x6fe0]
call fcn.14000afa4
mov qword [rbp + 0x3fa0], r14
mov qword [rbp + 0x3fa8], r14
mov qword [rbp + 0x3fb0], r14
xor r8d, r8d
lea rdx, [rbp + 0x2f90]
lea rcx, [rbp + 0x6fe0]
call fcn.14000aeb8
test al, al
je 0x14001f32b
or edi, 0xffffffff
xor edx, edx
lea rcx, [rbp + 0x2f90]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [rbp + 0x3f9c], r14b
je 0x14001f282
mov r8, rsi
lea rdx, [rbp + 0x5fe0]
lea rcx, [rbp + 0xf90]
call fcn.14000c07c
mov rdx, rsi
lea rcx, [rbp + 0x5fe0]
call fcn.14000bcf0
lea rcx, [rbp + 0xf90]
call fcn.1400257a4
mov rbx, rax
cmp rax, 4
jb 0x14001f220
lea rcx, [rbp + 0x5fe0]
call fcn.1400257a4
cmp rbx, rax
ja 0x14001f234
lea rcx, [rbp + 0x3fe0]
call fcn.14000c594
test al, al
jne 0x14001f32b
lea rcx, [rbp + 0x2f90]
call fcn.1400257a4
mov word [rbp + rax*2 + 0x2f92], r14w
xor edx, edx
lea r8d, [rdx + 0x38]
lea rcx, [rsp + 0x58]
call fcn.140022820
mov dword [rsp + 0x60], 3
mov eax, 0x14
mov word [rsp + 0x78], ax
lea rax, [rbp + 0x2f90]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
lea rcx, [rbp + 0x2f90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
je 0x14001f30d
lea rcx, [rbp + 0x2f90]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001f30d
mov ebx, r14d
mov dword [rsp + 0x20], r14d
jmp 0x14001f2b4
inc ebx
mov dword [rsp + 0x20], ebx
lea r9, [rbp + 0x2f90]
lea r8, str._s._d.tmp
mov rdx, rsi
lea rcx, [rbp + 0x1f90]
call fcn.1400040b4
lea rcx, [rbp + 0x1f90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
jne 0x14001f2ae
lea rdx, [rbp + 0x1f90]
lea rcx, [rbp + 0x2f90]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14001f30d
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [rbp + 0x1f90]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
xor r8d, r8d
lea rdx, [rbp + 0x2f90]
lea rcx, [rbp + 0x6fe0]
call fcn.14000aeb8
test al, al
jne 0x14001f1b9
lea rcx, [rbp + 0x6fe0]
call fcn.14000ae24
jmp 0x14001f9a1
cmp r15d, 1
jne 0x14001f503
lea rdx, [rbp + 0xf90]
mov esi, 0x800
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, esi
lea rcx, [rbp + 0xf90]
call fcn.14000bcf0
mov ebx, r14d
mov dword [rsp + 0x28], r14d
mov rax, qword [str.RarSFX]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xf90]
lea r8, str._s_s_u
mov edx, esi
lea rcx, [rbp + 0x1f90]
call fcn.1400040b4
lea rcx, [rbp + 0x1f90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
jmp 0x14001f3e6
inc ebx
mov dword [rsp + 0x28], ebx
mov rax, qword [str.RarSFX]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xf90]
lea r8, str._s_s_u
mov rdx, rsi
lea rcx, [rbp + 0x1f90]
call fcn.1400040b4
lea rcx, [rbp + 0x1f90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
jne 0x14001f3aa
lea r8, [rbp + 0x1f90]
mov edx, 0x66
mov rcx, r13
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp word [rbp + 0x3fe0], r14w
je 0x14001f9a1
cmp byte [0x14004c585], r14b
jne 0x14001f9a1
mov word [rbp - 0x70], r14w
mov edx, 0x2c
lea rcx, [rbp + 0x3fe0]
call fcn.140024b10
test rax, rax
jne 0x14001f487
mov rbx, r14
cmp word [rbp + 0x3fe0], r14w
je 0x14001f487
mov rcx, r14
lea rax, [rbp + 0x3fe0]
cmp word [rax], 0x40
je 0x14001f46b
inc rbx
lea rcx, [rbx + rbx]
lea rax, [rbp + 0x3fe0]
add rax, rcx
cmp word [rax], r14w
jne 0x14001f44c
jmp 0x14001f487
lea rdx, [rbp + 0x3fe2]
add rdx, rcx
lea rcx, [rbp - 0x70]
call fcn.140025788
mov word [rbp + rbx*2 + 0x3fe0], r14w
cmp word [rbp - 0x70], r14w
jne 0x14001f4b1
lea rdx, [rbp + 0xaff0]
lea rcx, [rbp + 0x3fe0]
call fcn.140025788
lea rdx, [rbp + 0xcff0]
lea rcx, [rbp - 0x70]
call fcn.140025788
lea rcx, [rbp + 0x3fe0]
call fcn.14001cf64
mov word [rbp + 0x4fe0], r14w
mov r9d, 0x24
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x3fe0]
mov rcx, r13
call fcn.14001ca9c
cmp eax, 6
je 0x14001f9a1
mov byte [0x14004c584], 1
mov byte [0x14004c553], 1
mov edx, 1
mov rcx, r13
call qword [sym.imp.USER32.dll_EndDialog]
cmp r15d, 7
jne 0x14001f9a1
mov eax, dword [0x14004c594]
test eax, eax
lea ecx, [r15 - 5]
cmove eax, ecx
mov dword [0x14004c594], eax
mov byte [0x14004c590], 1
jmp 0x14001f9a1
sub ebx, 8
je 0x14001f95b
sub ebx, 1
je 0x14001f949
sub ebx, 1
je 0x14001f5de
sub ebx, 1
je 0x14001f5c8
sub ebx, 1
je 0x14001f587
cmp ebx, 1
jne 0x14001f9a1
mov byte [0x14004e69c], bl
cmp word [rbp + 0x3fe0], r14w
je 0x14001f9a1
lea rcx, [rbp + 0x3fe0]
call fcn.140012550
mov dword [0x140044168], eax
jmp 0x14001f9a1
movzx ecx, word [rbp + 0x3fe0]
call fcn.140027424
cmp eax, 0x46
je 0x14001f5bc
cmp eax, 0x55
je 0x14001f5b0
mov byte [0x14004c550], r14b
mov byte [0x14004c551], r14b
jmp 0x14001f9a1
mov byte [0x14004c551], 1
jmp 0x14001f9a1
mov byte [0x14004c550], 1
jmp 0x14001f9a1
cmp r15d, 7
jne 0x14001f9a1
mov byte [0x14004c598], 1
jmp 0x14001f9a1
cmp r15d, 6
jne 0x14001f9a1
mov word [rbp + 0xf90], r14w
movzx ecx, word [rbp + 0xaff0]
call fcn.140027424
mov r8d, 0x800
lea rcx, [rbp + 0xf90]
cmp eax, 0x50
je 0x14001f639
cmp eax, 0x54
je 0x14001f625
lea rdx, [0x14005ee72]
call fcn.14001081c
lea r14d, [r15 + 0xa]
jmp 0x14001f64b
lea rdx, [0x14005ce72]
call fcn.14001081c
mov r14d, 7
jmp 0x14001f64b
lea rdx, [0x14005de72]
call fcn.14001081c
mov r14d, 2
xor edi, edi
mov word [rbp + 0x2f90], di
mov word [rbp - 0x70], di
lea rdx, [rbp + 0xcff0]
lea rcx, [rbp + 0x1f90]
call fcn.140025788
lea esi, [rdi + 0x22]
lea rcx, [rbp + 0x1f90]
cmp word [rbp + 0x1f90], si
jne 0x14001f6b6
lea rdx, [rbp + 0xcff2]
call fcn.140025788
mov edx, esi
lea rcx, [rbp + 0x1f92]
call fcn.140024b10
test rax, rax
je 0x14001f76c
mov word [rax], di
lea rdx, [rax + 2]
lea rcx, [rbp - 0x70]
call fcn.140025788
jmp 0x14001f76c
call fcn.14000aa80
test al, al
jne 0x14001f76c
mov rsi, rdi
lea rbx, [rbp + 0x1f90]
cmp word [rbp + 0x1f90], di
je 0x14001f76c
xor r13d, r13d
lea eax, [r13 + 2]
lea r15d, [r13 + 0x2f]
movzx edi, word [rbx]
cmp di, 0x20
je 0x14001f6f4
cmp di, r15w
jne 0x14001f747
mov word [rbx], r13w
lea rcx, [rbp + 0x1f90]
call fcn.14000aa80
test al, al
je 0x14001f73f
mov rsi, rbx
cmp di, r15w
jne 0x14001f720
mov word [rbp - 0x70], r15w
lea rdx, [rbx + 2]
lea rcx, [rbp - 0x6e]
jmp 0x14001f735
mov eax, 2
add rbx, rax
cmp word [rbx], 0x20
je 0x14001f725
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140025788
mov word [rsi], di
jmp 0x14001f742
mov word [rbx], di
mov eax, 2
add rbx, rax
cmp word [rbx], r13w
jne 0x14001f6e5
test rsi, rsi
mov r15d, dword [rbp + 0x17050]
mov r13, qword [rbp + 0x17040]
je 0x14001f76a
xor edi, edi
mov word [rsi], di
jmp 0x14001f76c
xor edi, edi
mov esi, 0x800
cmp word [rbp + 0x14ff0], di
je 0x14001f790
mov r8d, esi
lea rdx, [rbp + 0x2f90]
lea rcx, [rbp + 0x14ff0]
call fcn.14000bd34
mov r8, rsi
lea rdx, [rbp + 0x6fe0]
lea rcx, [rbp + 0x1f90]
call fcn.14000bd34
cmp word [rbp + 0xf90], di
jne 0x14001f7be
mov edx, r14d
lea rcx, [rbp + 0xf90]
call fcn.14001d634
mov rdx, rsi
lea rcx, [rbp + 0xf90]
call fcn.14000bcf0
xor r14d, r14d
cmp word [rbp + 0xeff0], r14w
je 0x14001f7ff
mov r8, rsi
lea rdx, [rbp + 0xeff0]
lea rcx, [rbp + 0xf90]
call fcn.1400107d4
mov rdx, rsi
lea rcx, [rbp + 0xf90]
call fcn.14000bcf0
lea rdx, [rbp + 0xf90]
lea rcx, [rbp + 0x7ff0]
call fcn.140025788
lea rcx, [rbp + 0x12ff0]
lea rax, [rbp + 0xcff0]
cmp word [rbp + 0x12ff0], r14w
cmove rcx, rax
call fcn.14000c980
mov rdx, rax
mov r8, rsi
lea rcx, [rbp + 0xf90]
call fcn.1400107d4
lea rcx, [rbp + 0xf90]
call fcn.14000bfe8
test rax, rax
je 0x14001f867
lea rdx, str..lnk
mov rcx, rax
call fcn.140012564
test eax, eax
je 0x14001f87d
mov r8, rsi
lea rdx, str..lnk
lea rcx, [rbp + 0xf90]
call fcn.1400107d4
mov dl, 1
lea rcx, [rbp + 0xf90]
call fcn.14000a914
lea rdx, [rbp + 0x6fe0]
lea rcx, [rbp + 0x5fe0]
call fcn.140025788
lea rcx, [rbp + 0x5fe0]
call fcn.14000c9d4
movzx eax, word [rbp - 0x70]
neg ax
sbb r8, r8
lea rax, [rbp - 0x70]
and r8, rax
movzx eax, word [rbp + 0x2f90]
neg ax
sbb rdx, rdx
lea rax, [rbp + 0x2f90]
and rdx, rax
movzx eax, word [rbp + 0x10ff0]
neg ax
sbb rcx, rcx
lea rax, [rbp + 0x10ff0]
and rcx, rax
movzx eax, word [rbp + 0x5fe0]
neg ax
sbb r9, r9
lea rax, [rbp + 0x5fe0]
and r9, rax
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0xf90]
lea rdx, [rbp + 0x6fe0]
xor ecx, ecx
call fcn.14001c680
cmp word [rbp + 0x7ff0], r14w
je 0x14001f9a1
xor r9d, r9d
lea r8, [rbp + 0x7ff0]
lea edx, [r9 + 5]
mov ecx, 0x1000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x14001f9a1
cmp r15d, 5
jne 0x14001ed8b
mov r8b, 1
jmp 0x14001ed7c
cmp r15d, 3
jne 0x14001f995
cmp word [rbp + 0x3fe0], r14w
je 0x14001f97b
lea rdx, [rbp + 0x3fe0]
mov rcx, r13
call qword [sym.imp.USER32.dll_SetWindowTextW]
lea rcx, [rbp + 0x17048]
call fcn.14001d6ac
mov qword [0x140060f88], rax
mov r12, qword [rbp + 0x17048]
mov byte [0x14004c586], 1
jmp 0x14001f9a1
xor r14d, r14d
mov dword [rsp + 0x28], 0x1000
lea rax, [rbp + 0x17048]
mov qword [rsp + 0x20], rax
mov rcx, r12
lea r9, [rbp + 0x17058]
lea r8, [rbp + 0x3fe0]
lea rdx, [rbp + 0x8ff0]
call fcn.14001d51c
test rax, rax
mov qword [rbp + 0x17048], rax
mov r12, rax
jne 0x14001ecb9
add rsp, 0x170f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret