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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x170f0
call fcn.14001af20
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x17140], rbx
mov r12d, r8d
mov rax, rdx
mov r14, rcx
xor r15d, r15d
cmp rdx, r15
je 0x14000cb89
mov dword [rsp + 0x28], 0x1000
lea rcx, [rsp + 0x17138]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x17148]
lea r8, [rsp + 0x40e0]
lea rdx, [rsp + 0x90f0]
mov rcx, rax
call fcn.14000a770
mov r13, rax
mov qword [rsp + 0x17138], rax
cmp rax, r15
je 0x14000cb89
mov ebp, 0x800
lea rax, [rsp + 0x40e0]
lea rbx, [rsp + 0xb0f0]
mov edi, 6
mov rdx, rbx
mov rcx, rax
call fcn.14000ae38
add rbx, 0x2000
sub rdi, 1
jne 0x14000bd0e
or edi, 0xffffffff
mov ebx, r15d
lea rsi, str.Delete
mov rdx, qword [rsi]
lea rcx, [rsp + 0x90f0]
call fcn.14000e868
cmp eax, r15d
je 0x14000bd55
inc ebx
add rsi, 8
cmp ebx, 0xe
jb 0x14000bd33
jmp 0x14000bd6c
mov edi, ebx
mov esi, 7
cmp ebx, esi
jg 0x14000c65e
cmp ebx, esi
je 0x14000c44f
cmp edi, r15d
je 0x14000c1d0
sub edi, 1
je 0x14000c107
sub edi, 1
je 0x14000c0e8
sub edi, 1
je 0x14000be82
sub edi, 1
je 0x14000be3d
sub edi, 1
je 0x14000bde5
cmp edi, 1
jne 0x14000cb40
cmp r12d, 4
jne 0x14000bdd9
lea rdx, [0x14001ced4]
lea rcx, [rsp + 0x40e0]
call fcn.140011348
cmp eax, r15d
je 0x14000bdd9
xor r8d, r8d
lea rdx, [rsp + 0x40e0]
mov rcx, r14
call fcn.14000b708
mov byte [0x140043c84], 1
jmp 0x14000cb40
movzx ecx, word [rsp + 0x40e0]
cmp ecx, r15d
je 0x14000be2a
sub ecx, 0x30
je 0x14000be17
sub ecx, 1
je 0x14000be2a
cmp ecx, 1
jne 0x14000cb40
mov byte [0x140043c47], cl
mov byte [0x140043c46], r15b
jmp 0x14000cb40
mov byte [0x140043c47], r15b
mov byte [0x140043c46], r15b
jmp 0x14000cb40
mov byte [0x140043c47], r15b
mov byte [0x140043c46], 1
jmp 0x14000cb40
cmp dword [0x140043cc4], 1
je 0x14000cb40
movzx ecx, word [rsp + 0x40e0]
call fcn.14000db88
cmp al, r15b
je 0x14000be72
movzx eax, word [rsp + 0x40e0]
sub eax, 0x30
mov dword [0x140043cc4], eax
jmp 0x14000cb40
mov eax, 2
mov dword [0x140043cc4], eax
jmp 0x14000cb40
cmp r12d, r15d
jne 0x14000cb40
cmp word [0x140043cca], r15w
jne 0x14000cb40
lea rax, [rsp + 0x40e0]
mov word [rsp + 0x90], r15w
lea rdi, [rsp + 0x40e2]
mov esi, 0x22
cmp word [rsp + 0x40e0], si
cmovne rdi, rax
mov rcx, rdi
call fcn.14001020c
cmp rax, rbp
jae 0x14000cb40
cmp word [rdi], 0x2e
jne 0x14000bf01
cmp word [rdi + 2], 0x5c
jne 0x14000bf01
lea rdx, [rdi + 4]
cmp word [rdx], r15w
je 0x14000cb40
lea rcx, [rsp + 0x90]
call fcn.140010254
jmp 0x14000c035
cmp word [rdi], 0x5c
je 0x14000c025
cmp word [rdi], r15w
je 0x14000bf1c
cmp word [rdi + 2], 0x3a
je 0x14000c025
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]
cmp eax, r15d
jne 0x14000bfb8
mov dword [rsp + 0x17138], 0x1000
lea rax, [rsp + 0x17138]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
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 r11d, dword [rsp + 0x17138]
shr r11d, 1
mov eax, r11d
mov edx, 0x7ff
mov rcx, rdx
cmp r11d, edx
cmovb rcx, rax
mov word [rsp + rcx*2 + 0x90], r15w
cmp word [rsp + 0x90], r15w
je 0x14000bfef
lea rcx, [rsp + 0x90]
call fcn.14001020c
cmp word [rsp + rax*2 + 0x8e], 0x5c
je 0x14000bfef
lea rdx, [0x14001cb10]
lea rcx, [rsp + 0x90]
call fcn.140010228
mov rcx, rdi
call fcn.14001020c
mov rbx, rax
lea rcx, [rsp + 0x90]
call fcn.14001020c
add rbx, rax
cmp rbx, 0x7ff
jae 0x14000c035
mov rdx, rdi
lea rcx, [rsp + 0x90]
call fcn.140010228
jmp 0x14000c035
mov rdx, rdi
lea rcx, [rsp + 0x90]
call fcn.140010254
mov edx, esi
lea rcx, [rsp + 0x90]
call fcn.1400116c4
cmp rax, r15
je 0x14000c054
cmp word [rax + 2], r15w
jne 0x14000c054
mov word [rax], r15w
lea rdx, [rsp + 0x90]
lea rsi, [0x14003ac30]
mov rcx, rsi
call fcn.140010254
mov rdx, rbp
lea rcx, [rsp + 0x90]
call fcn.14000abe8
mov edx, 0x66
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbx, rax
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov r9, rsi
xor r8d, r8d
mov edx, 0x143
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [rsp + 0x90]
mov rcx, rsi
call fcn.140011348
cmp eax, r15d
je 0x14000cb40
lea r9, [rsp + 0x90]
xor r8d, r8d
mov edx, 0x143
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14000cb40
cmp r12d, r15d
jne 0x14000cb40
lea rdx, [rsp + 0x40e0]
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x14000cb40
cmp r12d, r15d
jne 0x14000cb40
mov rcx, qword [0x140043c90]
cmp rcx, r15
sete dil
cmp dil, r15b
jne 0x14000c136
lea rdx, str._br_
call fcn.140010228
mov rcx, qword [0x140043c90]
mov bpl, byte [rsp + 0x17148]
cmp bpl, r15b
je 0x14000c14d
lea rbx, [rsp + 0x40e0]
jmp 0x14000c16c
lea rcx, [rsp + 0x17138]
call fcn.14000a930
mov rbx, rax
mov r13, qword [rsp + 0x17138]
mov rcx, qword [0x140043c90]
cmp dil, r15b
je 0x14000c176
mov rsi, r15
jmp 0x14000c17e
call fcn.14001020c
mov rsi, rax
mov rcx, rbx
call fcn.14001020c
add rax, rsi
lea rdx, [rax + rax + 0xa]
mov rcx, qword [0x140043c90]
call fcn.140011034
mov qword [0x140043c90], rax
cmp dil, r15b
je 0x14000c1aa
mov word [rax], r15w
mov rdx, rbx
mov rcx, rax
call fcn.140010228
cmp bpl, r15b
jne 0x14000cb3b
mov rcx, rbx
call fcn.140010270
mov ebp, 0x800
jmp 0x14000cb40
mov eax, 2
cmp r12d, eax
jne 0x14000cb40
mov rdx, rbp
lea rcx, [rsp + 0x1090]
call fcn.14000ff74
mov r9, rbp
lea r8, [rsp + 0x60e0]
lea rdx, [rsp + 0x40e0]
lea rcx, [rsp + 0x1090]
call fcn.1400071dc
lea rcx, [rsp + 0x70e0]
call fcn.14000530c
nop
lea rdx, [rsp + 0x60e0]
lea rcx, [rsp + 0x70e0]
call fcn.140005340
lea rcx, [rsp + 0x40a0]
call fcn.14000e064
lea rcx, [rsp + 0x40a8]
call fcn.14000e064
lea rcx, [rsp + 0x40b0]
call fcn.14000e064
xor r8d, r8d
lea rdx, [rsp + 0x3090]
lea rcx, [rsp + 0x70e0]
call fcn.1400054ec
cmp al, r15b
je 0x14000c43d
or edi, 0xffffffff
xor edx, edx
lea rcx, [rsp + 0x3090]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [rsp + 0x409c], r15b
je 0x14000c350
mov r8, rbp
lea rdx, [rsp + 0x80f0]
lea rcx, [rsp + 0x1090]
call fcn.1400076cc
mov rdx, rbp
lea rcx, [rsp + 0x80f0]
call fcn.140007198
lea rcx, [rsp + 0x1090]
call fcn.14001020c
mov rbx, rax
cmp rax, 4
jb 0x14000c2ea
lea rcx, [rsp + 0x80f0]
call fcn.14001020c
cmp rbx, rax
ja 0x14000c300
lea rcx, [rsp + 0x40e0]
call fcn.14000715c
cmp al, r15b
jne 0x14000c43d
lea rcx, [rsp + 0x3090]
call fcn.14001020c
mov word [rsp + rax*2 + 0x3092], r15w
xor edx, edx
lea r8d, [rdx + 0x38]
lea rcx, [rsp + 0x58]
call fcn.140010120
mov dword [rsp + 0x60], 3
mov eax, 0x14
mov word [rsp + 0x78], ax
lea rax, [rsp + 0x3090]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
lea rcx, [rsp + 0x3090]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
je 0x14000c41c
lea rcx, [rsp + 0x3090]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, r15d
jne 0x14000c41c
mov ebx, r15d
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x3090]
lea r8, str._s._d.tmp
mov rdx, rbp
lea rcx, [rsp + 0x2090]
call fcn.140007398
lea rcx, [rsp + 0x2090]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
je 0x14000c3ed
inc ebx
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x3090]
lea r8, str._s._d.tmp
mov rdx, rbp
lea rcx, [rsp + 0x2090]
call fcn.140007398
lea rcx, [rsp + 0x2090]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
jne 0x14000c3b6
lea rdx, [rsp + 0x2090]
lea rcx, [rsp + 0x3090]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, r15d
je 0x14000c41c
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [rsp + 0x2090]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
xor r8d, r8d
lea rdx, [rsp + 0x3090]
lea rcx, [rsp + 0x70e0]
call fcn.1400054ec
cmp al, r15b
jne 0x14000c27c
lea rcx, [rsp + 0x70e0]
call fcn.140005324
jmp 0x14000cb40
cmp r12d, 1
jne 0x14000c632
lea rdx, [rsp + 0x1090]
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov rdx, rbp
lea rcx, [rsp + 0x1090]
call fcn.140007198
mov ebx, r15d
mov dword [rsp + 0x28], r15d
mov rax, qword [str.RarSFX]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1090]
lea r8, str._s_s_d
mov rdx, rbp
lea rcx, [rsp + 0x2090]
call fcn.140007398
lea rcx, [rsp + 0x2090]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
je 0x14000c504
inc ebx
mov dword [rsp + 0x28], ebx
mov rax, qword [str.RarSFX]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1090]
lea r8, str._s_s_d
mov rdx, rbp
lea rcx, [rsp + 0x2090]
call fcn.140007398
lea rcx, [rsp + 0x2090]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
jne 0x14000c4c1
lea r8, [rsp + 0x2090]
mov edx, 0x66
mov rcx, r14
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp word [rsp + 0x40e0], r15w
je 0x14000cb40
cmp byte [0x140043c82], r15b
jne 0x14000cb40
mov word [rsp + 0x90], r15w
mov edx, 0x2c
lea rcx, [rsp + 0x40e0]
call fcn.1400116a4
cmp rax, r15
jne 0x14000c5a3
mov rbx, r15
cmp word [rsp + 0x40e0], r15w
je 0x14000c5a3
lea rax, [rsp + 0x40e0]
cmp word [rax], 0x40
je 0x14000c585
inc rbx
lea rax, [rsp + rbx*2 + 0x40e0]
cmp word [rax], r15w
jne 0x14000c56c
jmp 0x14000c5a3
lea rdx, [rsp + rbx*2 + 0x40e2]
lea rcx, [rsp + 0x90]
call fcn.140010254
mov word [rsp + rbx*2 + 0x40e0], r15w
cmp word [rsp + 0x90], r15w
jne 0x14000c5d8
lea rdx, [rsp + 0xb0f0]
lea rcx, [rsp + 0x40e0]
call fcn.140010254
lea rdx, [rsp + 0xd0f0]
lea rcx, [rsp + 0x90]
call fcn.140010254
lea rcx, [rsp + 0x40e0]
call fcn.140009e00
mov word [rsp + 0x50e0], r15w
mov r9d, 0x24
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x40e0]
mov rcx, r14
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x14000cb40
mov byte [0x140043c81], 1
mov byte [0x140043c62], 1
mov edx, 1
mov rcx, r14
call qword [sym.imp.USER32.dll_EndDialog]
cmp r12d, esi
jne 0x14000cb40
mov eax, dword [0x140043cc4]
cmp eax, r15d
mov ecx, 2
cmove eax, ecx
mov dword [0x140043cc4], eax
mov byte [0x140043cc0], 1
jmp 0x14000cb40
sub ebx, 8
je 0x14000caf4
sub ebx, 1
je 0x14000cad2
sub ebx, 1
je 0x14000c6ea
sub ebx, 1
je 0x14000c6d5
sub ebx, 1
je 0x14000c693
cmp ebx, 1
jne 0x14000cb40
mov byte [0x140043c85], bl
jmp 0x14000cb40
movzx ecx, word [rsp + 0x40e0]
call fcn.140011a88
cmp eax, 0x46
je 0x14000c6c9
cmp eax, 0x55
je 0x14000c6bd
mov byte [0x140043c45], r15b
mov byte [0x140043c44], r15b
jmp 0x14000cb40
mov byte [0x140043c44], 1
jmp 0x14000cb40
mov byte [0x140043c45], 1
jmp 0x14000cb40
cmp r12d, esi
jne 0x14000cb40
mov byte [0x140043cc8], 1
jmp 0x14000cb40
cmp r12d, 6
jne 0x14000cb40
mov word [rsp + 0x1090], r15w
movzx ecx, word [rsp + 0xb0f0]
call fcn.140011a88
cmp eax, 0x50
je 0x14000c74d
cmp eax, 0x54
je 0x14000c732
mov r8, rbp
lea rdx, [0x140042c40]
lea rcx, [rsp + 0x1090]
call fcn.14000dbcc
lea ebp, [r12 + 0xa]
jmp 0x14000c769
mov r8, rbp
lea rdx, [0x140040c40]
lea rcx, [rsp + 0x1090]
call fcn.14000dbcc
mov ebp, esi
jmp 0x14000c769
mov r8, rbp
lea rdx, [0x140041c40]
lea rcx, [rsp + 0x1090]
call fcn.14000dbcc
mov ebp, 2
mov word [rsp + 0x3090], r15w
mov word [rsp + 0x90], r15w
lea rdx, [rsp + 0xd0f0]
lea rcx, [rsp + 0x2090]
call fcn.140010254
mov esi, 0x22
cmp word [rsp + 0x2090], si
jne 0x14000c7e6
lea rdx, [rsp + 0xd0f2]
lea rcx, [rsp + 0x2090]
call fcn.140010254
mov edx, esi
lea rcx, [rsp + 0x2092]
call fcn.1400116a4
cmp rax, r15
je 0x14000c8c0
mov word [rax], r15w
lea rdx, [rax + 2]
lea rcx, [rsp + 0x90]
call fcn.140010254
jmp 0x14000c8c0
lea rcx, [rsp + 0x2090]
call fcn.140004614
cmp al, r15b
jne 0x14000c8c0
mov rsi, r15
lea rbx, [rsp + 0x2090]
cmp word [rsp + 0x2090], r15w
je 0x14000c8c0
mov eax, 2
lea r14d, [rax + 0x2d]
movzx edi, word [rbx]
cmp di, 0x20
je 0x14000c82e
cmp di, r14w
jne 0x14000c8a2
mov word [rbx], r15w
lea rcx, [rsp + 0x2090]
call fcn.140004614
cmp al, r15b
je 0x14000c89a
mov rsi, rbx
cmp di, r14w
jne 0x14000c869
mov word [rsp + 0x90], r14w
lea rdx, [rbx + 2]
lea rcx, [rsp + 0x92]
call fcn.140010254
jmp 0x14000c890
mov eax, 2
add rbx, rax
cmp word [rbx], 0x20
jne 0x14000c880
add rbx, rax
cmp word [rbx], 0x20
je 0x14000c877
mov rdx, rbx
lea rcx, [rsp + 0x90]
call fcn.140010254
mov word [rsi], di
mov eax, 2
jmp 0x14000c8a2
mov word [rbx], di
mov eax, 2
add rbx, rax
cmp word [rbx], r15w
jne 0x14000c81f
cmp rsi, r15
mov r14, qword [rsp + 0x17130]
je 0x14000c8c0
mov word [rsi], r15w
cmp word [rsp + 0x150f0], r15w
je 0x14000c8e6
mov r8d, 0x800
lea rdx, [rsp + 0x3090]
lea rcx, [rsp + 0x150f0]
call fcn.1400079f8
mov r8d, 0x800
lea rdx, [rsp + 0x70e0]
lea rcx, [rsp + 0x2090]
call fcn.1400079f8
cmp word [rsp + 0x1090], r15w
jne 0x14000c91b
mov edx, ebp
lea rcx, [rsp + 0x1090]
call fcn.140009dac
mov ebp, 0x800
mov rdx, rbp
lea rcx, [rsp + 0x1090]
call fcn.140007198
cmp word [rsp + 0xf0f0], r15w
je 0x14000c963
mov r8, rbp
lea rdx, [rsp + 0xf0f0]
lea rcx, [rsp + 0x1090]
call fcn.14000dc08
mov rdx, rbp
lea rcx, [rsp + 0x1090]
call fcn.140007198
lea rdx, [rsp + 0x1090]
lea rcx, [rsp + 0x60e0]
call fcn.140010254
lea rcx, [rsp + 0x130f0]
lea rax, [rsp + 0xd0f0]
cmp word [rsp + 0x130f0], r15w
cmove rcx, rax
call fcn.1400073bc
mov rdx, rax
mov r8, rbp
lea rcx, [rsp + 0x1090]
call fcn.14000dc08
lea rcx, [rsp + 0x1090]
call fcn.1400075b8
cmp rax, r15
je 0x14000c9d3
lea rdx, str..lnk
mov rcx, rax
call fcn.14000e868
cmp eax, r15d
je 0x14000c9ea
mov r8, rbp
lea rdx, str..lnk
lea rcx, [rsp + 0x1090]
call fcn.14000dc08
mov dl, 1
lea rcx, [rsp + 0x1090]
call fcn.1400046d8
lea rdx, [rsp + 0x70e0]
lea rcx, [rsp + 0x80f0]
call fcn.140010254
lea rcx, [rsp + 0x80f0]
call fcn.14000764c
movzx r11d, word [rsp + 0x90]
neg r11w
sbb r8, r8
lea rax, [rsp + 0x90]
and r8, rax
movzx eax, word [rsp + 0x3090]
neg ax
sbb rdx, rdx
lea rax, [rsp + 0x3090]
and rdx, rax
movzx eax, word [rsp + 0x110f0]
neg ax
sbb rcx, rcx
lea rax, [rsp + 0x110f0]
and rcx, rax
movzx eax, word [rsp + 0x80f0]
neg ax
sbb r9, r9
lea rax, [rsp + 0x80f0]
and r9, rax
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x1090]
lea rdx, [rsp + 0x70e0]
xor ecx, ecx
call fcn.14000fe0c
cmp word [rsp + 0x60e0], r15w
je 0x14000cb40
xor r9d, r9d
lea r8, [rsp + 0x60e0]
lea edx, [r9 + 5]
mov ecx, 0x1000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x14000cb40
cmp r12d, 5
jne 0x14000caeb
mov r8b, 1
lea rdx, [rsp + 0x40e0]
mov rcx, r14
call fcn.14000b708
mov byte [0x140043c84], 1
jmp 0x14000cb40
cmp r12d, 3
jne 0x14000cb32
cmp word [rsp + 0x40e0], r15w
je 0x14000cb16
lea rdx, [rsp + 0x40e0]
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowTextW]
lea rcx, [rsp + 0x17138]
call fcn.14000a930
mov qword [0x140043c98], rax
mov r13, qword [rsp + 0x17138]
mov byte [0x140043c83], 1
jmp 0x14000cb40
mov ebp, 0x800
mov dword [rsp + 0x28], 0x1000
lea rax, [rsp + 0x17138]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x17148]
lea r8, [rsp + 0x40e0]
lea rdx, [rsp + 0x90f0]
mov rcx, r13
call fcn.14000a770
mov r13, rax
mov qword [rsp + 0x17138], rax
cmp rax, r15
jne 0x14000bcf9
mov rbx, qword [rsp + 0x17140]
add rsp, 0x170f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret