Function at 0x140002710
Capabilities:
Create directory
Delete file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5020]
mov eax, 0x5120
call fcn.14000ae00
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x5160], rbx
mov rax, qword [0x14002e2b0]
xor rax, rsp
mov qword [rbp + 0x5010], rax
mov sil, r9b
mov r15, r8
mov qword [rsp + 0x40], r8
mov r13, rdx
mov qword [rsp + 0x48], rdx
mov r12, rcx
call fcn.140008e78
xor edi, edi
test al, al
je 0x140002ed8
mov ebx, 0x800
mov r8d, ebx
lea rdx, [rbp + 0x3000]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8d, ebx
lea rdx, str.WinRAR.exe
lea rcx, [rbp + 0x3000]
call fcn.140005e50
call fcn.1400056e0
cmp eax, 0x600
setae bl
mov r14b, dil
lea edx, [rdi + 0x10]
lea rcx, [rbp + 0x2000]
call fcn.1400014d8
test bl, bl
je 0x14000281d
test al, al
je 0x14000280a
mov r14d, 0x800
mov edx, r14d
lea rcx, [rbp + 0x2000]
call fcn.14000576c
mov r8d, r14d
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2000]
call fcn.14000748c
lea rcx, [rbp + 0x2000]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne r14b
mov edx, 0x19
lea rcx, [rbp + 0x2000]
call fcn.1400014d8
jmp 0x140002825
test al, al
je 0x140002ed8
mov edx, 0x800
lea rcx, [rbp + 0x2000]
call fcn.14000576c
mov r8d, 0x800
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2000]
call fcn.14000748c
cmp byte [r12 + 0x14], dil
je 0x140002956
test sil, sil
je 0x140002878
lea rcx, [rbp + 0x2000]
call fcn.140004810
test al, al
jne 0x140002878
test r14b, r14b
je 0x140002962
mov ecx, 0x13fb
call fcn.140006fcc
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x2000]
lea rdx, [rbp + 0x3000]
mov cl, 1
call fcn.14000927c
test al, al
jne 0x140002962
test bl, bl
je 0x140002962
test sil, sil
je 0x140002962
lea rcx, [rbp + 0x2000]
call fcn.140004810
test al, al
je 0x1400028e3
lea rcx, [rbp + 0x2000]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140002962
mov edx, 0x10
lea rcx, [rbp + 0x2000]
call fcn.1400014d8
test al, al
je 0x140002962
mov r14d, 0x800
mov edx, r14d
lea rcx, [rbp + 0x2000]
call fcn.14000576c
mov r8d, r14d
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2000]
call fcn.14000748c
mov ecx, 0x13fb
call fcn.140006fcc
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x2000]
lea rdx, [rbp + 0x3000]
mov cl, 1
call fcn.14000927c
jmp 0x140002962
lea rcx, [rbp + 0x2000]
call fcn.14000478c
neg bl
sbb edx, edx
and edx, 0xb
add edx, 0xb
lea rcx, [rbp + 0x2000]
call fcn.1400014d8
mov ebx, 0x800
mov edx, ebx
lea rcx, [rbp + 0x2000]
call fcn.14000576c
mov r8d, ebx
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2000]
call fcn.14000748c
cmp byte [r12 + 0x15], dil
je 0x1400029f0
test sil, sil
je 0x1400029bd
lea rcx, [rbp + 0x2000]
call fcn.140004810
test al, al
je 0x1400029fc
mov ecx, 0x13fb
call fcn.140006fcc
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x2000]
lea rdx, [rbp + 0x3000]
mov cl, 1
call fcn.14000927c
jmp 0x1400029fc
lea rcx, [rbp + 0x2000]
call fcn.14000478c
lea rcx, str.WinRAR.exe
call fcn.140012ba0
mov qword [rbp + 0x1fc0], rax
lea rcx, str.WinRAR.chm
call fcn.140012ba0
mov qword [rbp + 0x1fc8], rax
lea rcx, str.Rar.txt
call fcn.140012ba0
mov qword [rbp + 0x1fd0], rax
mov ecx, 0x13f1
call fcn.140006fcc
mov rcx, rax
call fcn.140012ba0
mov qword [rbp + 0x1fd8], rax
lea rcx, [0x140020b70]
call fcn.140012ba0
mov qword [rbp + 0x1fe0], rax
mov ecx, 0x13ee
call fcn.140006fcc
mov rcx, rax
call fcn.140012ba0
mov qword [rbp + 0x1fe8], rax
mov ecx, 0x13ef
call fcn.140006fcc
mov rcx, rax
call fcn.140012ba0
mov qword [rbp + 0x1ff0], rax
mov ecx, 0x13f0
call fcn.140006fcc
mov rcx, rax
call fcn.140012ba0
mov qword [rbp + 0x1ff8], rax
mov edx, 2
lea rcx, [rbp + 0x2000]
call fcn.1400014d8
mov rdx, rbx
lea rcx, [rbp + 0x2000]
call fcn.14000576c
mov r8, rbx
lea rdx, [0x140020b70]
lea rcx, [rbp + 0x2000]
call fcn.14000748c
test sil, sil
je 0x140002afb
lea rcx, [rbp + 0x2000]
call fcn.140004810
test al, al
je 0x140002ca6
cmp byte [r12 + 0x16], dil
je 0x140002c9a
test r13, r13
je 0x140002b1a
lea rdx, [rbp + 0x2000]
mov rcx, r13
call fcn.14000ea44
test sil, sil
jne 0x140002bc7
lea rcx, [rbp + 0x2000]
call fcn.140004810
test al, al
je 0x140002bb8
mov r9d, 0x802
lea r8, [rbp + 0x4000]
lea rdx, [0x1400212c0]
lea rcx, [rbp + 0x2000]
call fcn.140005d10
lea rcx, [rsp + 0x60]
call fcn.140005380
nop
lea rdx, [rbp + 0x4000]
lea rcx, [rsp + 0x60]
call fcn.140005524
mov qword [rbp + 0x1f80], rdi
mov qword [rbp + 0x1f88], rdi
mov qword [rbp + 0x1f90], rdi
jmp 0x140002b96
lea rcx, [rbp + 0xf70]
call fcn.14000478c
xor r8d, r8d
lea rdx, [rbp + 0xf70]
lea rcx, [rsp + 0x60]
call fcn.140005438
test al, al
jne 0x140002b8a
lea rcx, [rsp + 0x60]
call fcn.140005398
xor edx, edx
lea rcx, [rbp + 0x2000]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov r14d, edi
mov r15, rdi
mov r13, qword [rsp + 0x40]
mov r9, rbx
lea r8, [rbp + 0x4000]
mov rdx, qword [rbp + r15 + 0x1fe0]
lea rcx, [rbp + 0x2000]
call fcn.140005d10
mov r8, rbx
lea rdx, str..lnk
lea rcx, [rbp + 0x4000]
call fcn.14000748c
mov r8, rbx
mov rdx, qword [rbp + r15 + 0x1fc0]
lea rcx, [rbp + 0x3000]
call fcn.140005e50
lea rcx, [rbp + 0x3000]
call fcn.140004810
test al, al
je 0x140002c82
test sil, sil
je 0x140002c42
lea rcx, [rbp + 0x4000]
call fcn.140004810
test al, al
je 0x140002c82
mov rbx, rdi
test r14d, r14d
cmove rbx, r13
mov ecx, 0x13fb
call fcn.140006fcc
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x4000]
lea rdx, [rbp + 0x3000]
mov cl, 1
call fcn.14000927c
mov ebx, 0x800
inc r14d
add r15, 8
cmp r14d, 4
jb 0x140002bd2
mov r13, qword [rsp + 0x48]
jmp 0x140002ca6
lea rcx, [rbp + 0x2000]
call fcn.1400013c0
mov edx, 0x17
lea rcx, [rbp + 0x2000]
call fcn.1400014d8
test al, al
je 0x140002eb0
mov rdx, rbx
lea rcx, [rbp + 0x2000]
call fcn.14000576c
mov r8, rbx
lea rdx, [0x140020b70]
lea rcx, [rbp + 0x2000]
call fcn.14000748c
test sil, sil
je 0x140002cfd
lea rcx, [rbp + 0x2000]
call fcn.140004810
test al, al
je 0x140002eb0
cmp byte [r12 + 0x16], dil
je 0x140002ea4
test sil, sil
jne 0x140002db5
lea rcx, [rbp + 0x2000]
call fcn.140004810
test al, al
je 0x140002da6
mov r9d, 0x802
lea r8, [rbp + 0x4000]
lea rdx, [0x1400212c0]
lea rcx, [rbp + 0x2000]
call fcn.140005d10
lea rcx, [rsp + 0x60]
call fcn.140005380
nop
lea rdx, [rbp + 0x4000]
lea rcx, [rsp + 0x60]
call fcn.140005524
mov qword [rbp + 0x1f80], rdi
mov qword [rbp + 0x1f88], rdi
mov qword [rbp + 0x1f90], rdi
jmp 0x140002d84
lea rcx, [rbp + 0xf70]
call fcn.14000478c
xor r8d, r8d
lea rdx, [rbp + 0xf70]
lea rcx, [rsp + 0x60]
call fcn.140005438
test al, al
jne 0x140002d78
lea rcx, [rsp + 0x60]
call fcn.140005398
xor edx, edx
lea rcx, [rbp + 0x2000]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test r13, r13
je 0x140002dd9
lea rcx, [rbp + 0x2000]
call fcn.140004810
test al, al
je 0x140002dd9
lea rdx, [rbp + 0x2000]
mov rcx, r13
call fcn.14000ea44
mov r14d, edi
mov r15, rdi
mov r9, rbx
lea r8, [rbp + 0x4000]
mov rdx, qword [rbp + r15 + 0x1fe0]
lea rcx, [rbp + 0x2000]
call fcn.140005d10
mov r8, rbx
lea rdx, str..lnk
lea rcx, [rbp + 0x4000]
call fcn.14000748c
mov r8, rbx
mov rdx, qword [rbp + r15 + 0x1fc0]
lea rcx, [rbp + 0x3000]
call fcn.140005e50
lea rcx, [rbp + 0x3000]
call fcn.140004810
test al, al
je 0x140002e91
test sil, sil
je 0x140002e4f
lea rcx, [rbp + 0x4000]
call fcn.140004810
test al, al
je 0x140002e91
mov rbx, rdi
test r14d, r14d
cmove rbx, qword [rsp + 0x40]
mov ecx, 0x13fb
call fcn.140006fcc
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x4000]
lea rdx, [rbp + 0x3000]
mov cl, 1
call fcn.14000927c
mov ebx, 0x800
inc r14d
add r15, 8
cmp r14d, 4
jb 0x140002ddf
jmp 0x140002eb0
lea rcx, [rbp + 0x2000]
call fcn.1400013c0
mov rbx, rdi
mov rcx, qword [rbp + rbx + 0x1fc0]
call fcn.14000ea10
mov rcx, qword [rbp + rbx + 0x1fe0]
call fcn.14000ea10
inc edi
lea rbx, [rbx + 8]
cmp edi, 4
jb 0x140002eb3
mov rcx, qword [rbp + 0x5010]
xor rcx, rsp
call fcn.14000ae70
mov rbx, qword [rsp + 0x5160]
add rsp, 0x5120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret