Function at 0x140003284
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x5130
call fcn.140014400
sub rsp, rax
mov rax, qword [0x14001b290]
xor rax, rsp
mov qword [rsp + 0x5120], rax
mov r15, rdx
mov r14, r8
mov rsi, rcx
mov qword [rsp + 0x60], rcx
mov r13d, 0x800
lea rdx, [rsp + 0x3110]
xor ecx, ecx
mov r8d, r13d
mov r12b, r9b
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, str.WinRAR.exe
lea rcx, [rsp + 0x3110]
mov r8, r13
call fcn.140004808
lea rcx, [rsp + 0x48]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
call fcn.140004620
lea rcx, [rsp + 0x2110]
cmp eax, 0x600
setae bl
xor edi, edi
mov bpl, dil
call fcn.140002c98
cmp bl, dil
je 0x1400033ab
cmp al, dil
je 0x140003afc
lea rcx, [rsp + 0x2110]
mov rdx, r13
call fcn.1400046ac
lea rdx, str.WinRAR.lnk
lea rcx, [rsp + 0x2110]
mov r8, r13
call fcn.1400065e4
lea rcx, [rsp + 0x2110]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x58]
cmp eax, edi
setne bpl
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea r8, [rsp + 0x50]
lea edx, [rdi + 0x19]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x2110]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x1400033b4
cmp al, dil
je 0x140003afc
lea rcx, [rsp + 0x2110]
mov rdx, r13
call fcn.1400046ac
lea rdx, str.WinRAR.lnk
lea rcx, [rsp + 0x2110]
mov r8, r13
call fcn.1400065e4
cmp byte [rsi + 0x14], dil
je 0x1400034e9
cmp r12b, dil
je 0x140003405
lea rcx, [rsp + 0x2110]
call fcn.140001c24
cmp al, dil
jne 0x140003405
cmp bpl, dil
je 0x1400034f6
mov ecx, 0x13fb
call fcn.140006370
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x2110]
lea rdx, [rsp + 0x3110]
xor r9d, r9d
mov cl, 1
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.1400081d4
cmp al, dil
jne 0x1400034f6
cmp bl, dil
je 0x1400034f6
cmp r12b, dil
je 0x1400034f6
lea rcx, [rsp + 0x2110]
call fcn.140001c24
cmp al, dil
je 0x140003477
lea rcx, [rsp + 0x2110]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, edi
je 0x1400034f6
lea rcx, [rsp + 0x2110]
call fcn.140002c98
cmp al, dil
je 0x140003afc
lea rcx, [rsp + 0x2110]
mov rdx, r13
call fcn.1400046ac
lea rdx, str.WinRAR.lnk
lea rcx, [rsp + 0x2110]
mov r8, r13
call fcn.1400065e4
mov ecx, 0x13fb
call fcn.140006370
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x2110]
lea rdx, [rsp + 0x3110]
xor r9d, r9d
mov cl, 1
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.1400081d4
jmp 0x1400034f6
lea rcx, [rsp + 0x2110]
call fcn.140001b98
neg bl
lea r8, [rsp + 0x40]
sbb edx, edx
xor ecx, ecx
and edx, 0xb
add edx, 0xb
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x2110]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x28]
lea rcx, [rsp + 0x2110]
mov rdx, r13
call fcn.1400046ac
lea rdx, str.WinRAR.lnk
lea rcx, [rsp + 0x2110]
mov r8, r13
call fcn.1400065e4
cmp byte [rsi + 0x15], dil
je 0x1400035a9
cmp r12b, dil
je 0x140003574
lea rcx, [rsp + 0x2110]
call fcn.140001c24
cmp al, dil
je 0x1400035b6
mov ecx, 0x13fb
call fcn.140006370
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x2110]
lea rdx, [rsp + 0x3110]
xor r9d, r9d
mov cl, 1
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.1400081d4
jmp 0x1400035b6
lea rcx, [rsp + 0x2110]
call fcn.140001b98
lea rcx, str.WinRAR.exe
call fcn.140009b98
lea rcx, str.WinRAR.chm
mov qword [rsp + 0x68], rax
call fcn.140009b98
lea rcx, [0x140016408]
mov qword [rsp + 0x70], rax
call fcn.140009b98
mov ecx, 0x13f1
mov qword [rsp + 0x78], rax
call fcn.140006370
mov rcx, rax
call fcn.140009b98
lea rcx, [0x140015fc8]
mov qword [rsp + 0x80], rax
call fcn.140009b98
mov ecx, 0x13ee
mov qword [rsp + 0x88], rax
call fcn.140006370
mov rcx, rax
call fcn.140009b98
mov ecx, 0x13ef
mov qword [rsp + 0x90], rax
call fcn.140006370
mov rcx, rax
call fcn.140009b98
mov ecx, 0x13f0
mov qword [rsp + 0x98], rax
call fcn.140006370
mov rcx, rax
call fcn.140009b98
lea r8, [rsp + 0x40]
mov edx, 2
xor ecx, ecx
mov qword [rsp + 0xa0], rax
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x2110]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x28]
lea rcx, [rsp + 0x2110]
mov rdx, r13
call fcn.1400046ac
lea rdx, [0x140015fc8]
lea rcx, [rsp + 0x2110]
mov r8, r13
call fcn.1400065e4
mov r13d, 4
cmp r12b, dil
je 0x1400036e2
lea rcx, [rsp + 0x2110]
call fcn.140001c24
cmp al, dil
je 0x140003897
cmp byte [rsi + 0x16], dil
je 0x14000388a
cmp r15, rdi
je 0x140003701
lea rdx, [rsp + 0x2110]
mov rcx, r15
call fcn.14000865c
lea rcx, [rsp + 0x2110]
call fcn.140001c24
cmp al, dil
je 0x1400037bb
lea r8, [rsp + 0x4110]
lea rdx, [0x140016404]
lea rcx, [rsp + 0x2110]
mov r9d, 0x802
call fcn.1400046f0
lea rcx, [rsp + 0x1100]
call fcn.140001d00
lea rdx, [rsp + 0x4110]
lea rcx, [rsp + 0x1100]
call fcn.140001d34
lea rcx, [rsp + 0x10c0]
call fcn.1400066e0
lea rcx, [rsp + 0x10c8]
call fcn.1400066e0
lea rcx, [rsp + 0x10d0]
call fcn.1400066e0
jmp 0x140003791
lea rcx, [rsp + 0xb0]
call fcn.140001b98
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x1100]
xor r8d, r8d
call fcn.140001ef4
cmp al, dil
jne 0x140003784
lea rcx, [rsp + 0x1100]
call fcn.140001d18
lea rcx, [rsp + 0x2110]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, edi
mov rbp, rdi
mov ebx, 0x800
mov rdx, qword [rsp + rbp + 0x88]
lea r8, [rsp + 0x4110]
lea rcx, [rsp + 0x2110]
mov r9, rbx
call fcn.1400046f0
lea rdx, str..lnk
lea rcx, [rsp + 0x4110]
mov r8, rbx
call fcn.1400065e4
mov rdx, qword [rsp + rbp + 0x68]
lea rcx, [rsp + 0x3110]
mov r8, rbx
call fcn.140004808
lea rcx, [rsp + 0x3110]
call fcn.140001c24
cmp al, dil
je 0x140003874
mov rbx, rdi
cmp esi, edi
mov ecx, 0x13fb
cmove rbx, r14
call fcn.140006370
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x4110]
lea rdx, [rsp + 0x3110]
xor r9d, r9d
mov cl, 1
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1400081d4
mov ebx, 0x800
inc esi
add rbp, 8
cmp esi, r13d
jb 0x1400037d5
mov rsi, qword [rsp + 0x60]
jmp 0x140003897
lea rcx, [rsp + 0x2110]
call fcn.140002d04
lea r8, [rsp + 0x40]
mov edx, 0x17
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, edi
jne 0x140003ad0
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x2110]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ebx, 0x800
lea rcx, [rsp + 0x2110]
mov rdx, rbx
call fcn.1400046ac
lea rdx, [0x140015fc8]
lea rcx, [rsp + 0x2110]
mov r8, rbx
call fcn.1400065e4
cmp r12b, dil
je 0x14000391b
lea rcx, [rsp + 0x2110]
call fcn.140001c24
cmp al, dil
je 0x140003ad0
lea rcx, [rsp + 0x2110]
cmp byte [rsi + 0x16], dil
je 0x140003acb
call fcn.140001c24
cmp al, dil
je 0x1400039df
lea r8, [rsp + 0x4110]
lea rdx, [0x140016404]
lea rcx, [rsp + 0x2110]
mov r9d, 0x802
call fcn.1400046f0
lea rcx, [rsp + 0x1100]
call fcn.140001d00
lea rdx, [rsp + 0x4110]
lea rcx, [rsp + 0x1100]
call fcn.140001d34
lea rcx, [rsp + 0x10c0]
call fcn.1400066e0
lea rcx, [rsp + 0x10c8]
call fcn.1400066e0
lea rcx, [rsp + 0x10d0]
call fcn.1400066e0
jmp 0x1400039b5
lea rcx, [rsp + 0xb0]
call fcn.140001b98
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x1100]
xor r8d, r8d
call fcn.140001ef4
cmp al, dil
jne 0x1400039a8
lea rcx, [rsp + 0x1100]
call fcn.140001d18
lea rcx, [rsp + 0x2110]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp r15, rdi
je 0x140003a16
lea rcx, [rsp + 0x2110]
call fcn.140001c24
cmp al, dil
je 0x140003a16
lea rdx, [rsp + 0x2110]
mov rcx, r15
call fcn.14000865c
mov esi, edi
mov rbp, rdi
mov rdx, qword [rsp + rbp + 0x88]
lea r8, [rsp + 0x4110]
lea rcx, [rsp + 0x2110]
mov r9, rbx
call fcn.1400046f0
lea rdx, str..lnk
lea rcx, [rsp + 0x4110]
mov r8, rbx
call fcn.1400065e4
mov rdx, qword [rsp + rbp + 0x68]
lea rcx, [rsp + 0x3110]
mov r8, rbx
call fcn.140004808
lea rcx, [rsp + 0x3110]
call fcn.140001c24
cmp al, dil
je 0x140003aba
mov rbx, rdi
cmp esi, edi
mov ecx, 0x13fb
cmove rbx, r14
call fcn.140006370
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x4110]
lea rdx, [rsp + 0x3110]
xor r9d, r9d
mov cl, 1
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1400081d4
mov ebx, 0x800
inc esi
add rbp, 8
cmp esi, r13d
jb 0x140003a1b
jmp 0x140003ad0
call fcn.140002d04
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + rdi + 0x68]
call fcn.1400086ac
mov rcx, qword [rsp + rdi + 0x88]
call fcn.1400086ac
add rdi, 8
sub r13, 1
jne 0x140003adb
mov rcx, qword [rsp + 0x5120]
xor rcx, rsp
call fcn.140008610
mov rbx, qword [rsp + 0x5170]
add rsp, 0x5130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret