Function at 0x140002858
Capabilities:
Create directory
Delete file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x6030]
mov eax, 0x6130
call fcn.14000be70
sub rsp, rax
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x6170], rbx
mov rax, qword [0x1400318e0]
xor rax, rsp
mov qword [rbp + 0x6020], rax
mov r12, r9
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rdx
mov r13, rcx
mov qword [rsp + 0x58], rcx
call fcn.140009cc4
xor edi, edi
test al, al
je 0x14000306f
mov esi, 0x800
mov r8d, esi
lea rdx, [rbp + 0x3010]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8d, esi
lea rdx, str.WinRAR.exe
lea rcx, [rbp + 0x3010]
call fcn.1400061a0
call fcn.140005a08
cmp eax, 0x600
setae r14b
mov r15b, dil
lea ebx, [rdi + 0x10]
mov edx, esi
lea rcx, [rbp + 0x2010]
mov r8d, ebx
call fcn.1400015a8
test r14b, r14b
je 0x14000296d
test al, al
je 0x140002956
mov edx, esi
lea rcx, [rbp + 0x2010]
call fcn.140005a94
mov r8d, esi
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2010]
call fcn.140008118
lea rcx, [rbp + 0x2010]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne r15b
mov r8d, 0x19
mov rdx, rsi
lea rcx, [rbp + 0x2010]
call fcn.1400015a8
jmp 0x140002975
test al, al
je 0x14000306f
mov rdx, rsi
lea rcx, [rbp + 0x2010]
call fcn.140005a94
mov r8, rsi
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2010]
call fcn.140008118
mov word [rbp + 0x5020], di
mov r8d, ebx
mov rdx, rsi
lea rcx, [rbp + 0x5020]
call fcn.1400015a8
mov sil, byte [rbp + 0x6090]
cmp byte [r13 + 0x14], dil
je 0x140002abf
test sil, sil
je 0x1400029e2
lea rcx, [rbp + 0x2010]
call fcn.140004c40
test al, al
jne 0x1400029e2
test r15b, r15b
je 0x140002acb
mov ecx, 0x13fb
call fcn.140007ba8
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x2010]
lea rdx, [rbp + 0x3010]
mov cl, 1
call fcn.14000a118
test al, al
jne 0x140002acb
test r14b, r14b
je 0x140002acb
test sil, sil
je 0x140002acb
lea rcx, [rbp + 0x2010]
call fcn.140004c40
test al, al
je 0x140002a4e
lea rcx, [rbp + 0x2010]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140002acb
mov r8d, ebx
mov ebx, 0x800
mov edx, ebx
lea rcx, [rbp + 0x2010]
call fcn.1400015a8
test al, al
je 0x140002ad0
mov edx, ebx
lea rcx, [rbp + 0x2010]
call fcn.140005a94
mov r8d, ebx
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2010]
call fcn.140008118
mov ecx, 0x13fb
call fcn.140007ba8
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x2010]
lea rdx, [rbp + 0x3010]
mov cl, 1
call fcn.14000a118
jmp 0x140002ad0
lea rcx, [rbp + 0x2010]
call fcn.140004bbc
mov ebx, 0x800
neg r14b
sbb r8d, r8d
and r8d, 0xb
add r8d, 0xb
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.1400015a8
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.140005a94
mov r8, rbx
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2010]
call fcn.140008118
cmp byte [r13 + 0x15], dil
je 0x140002b64
test sil, sil
je 0x140002b2d
lea rcx, [rbp + 0x2010]
call fcn.140004c40
test al, al
je 0x140002b70
mov ecx, 0x13fb
call fcn.140007ba8
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x5020]
lea r8, [rbp + 0x2010]
lea rdx, [rbp + 0x3010]
mov cl, 1
call fcn.14000a118
jmp 0x140002b70
lea rcx, [rbp + 0x2010]
call fcn.140004bbc
lea rcx, str.WinRAR.exe
call fcn.140014e58
mov qword [rbp + 0x1fd0], rax
lea rcx, str.WinRAR.chm
call fcn.140014e58
mov qword [rbp + 0x1fd8], rax
lea rcx, str.Rar.txt
call fcn.140014e58
mov qword [rbp + 0x1fe0], rax
mov ecx, 0x13f1
call fcn.140007ba8
mov rcx, rax
call fcn.140014e58
mov qword [rbp + 0x1fe8], rax
lea rcx, [0x140022cf0]
call fcn.140014e58
mov qword [rbp + 0x1ff0], rax
mov ecx, 0x13ee
call fcn.140007ba8
mov rcx, rax
call fcn.140014e58
mov qword [rbp + 0x1ff8], rax
mov ecx, 0x13ef
call fcn.140007ba8
mov rcx, rax
call fcn.140014e58
mov qword [rbp + 0x2000], rax
mov ecx, 0x13f0
call fcn.140007ba8
mov rcx, rax
call fcn.140014e58
mov qword [rbp + 0x2008], rax
mov r8d, 2
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.1400015a8
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.140005a94
mov r8, rbx
lea rdx, [0x140022cf0]
lea rcx, [rbp + 0x2010]
call fcn.140008118
mov r12d, 4
test sil, sil
je 0x140002c79
lea rcx, [rbp + 0x2010]
call fcn.140004c40
test al, al
je 0x140002e30
cmp byte [r13 + 0x16], dil
je 0x140002e24
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x140002ca1
mov r8, qword [rsp + 0x48]
lea rdx, [rbp + 0x2010]
mov rcx, rax
call fcn.14000815c
test sil, sil
jne 0x140002d4e
lea rcx, [rbp + 0x2010]
call fcn.140004c40
test al, al
je 0x140002d3f
mov r9d, 0x802
lea r8, [rbp + 0x4010]
lea rdx, [0x140023490]
lea rcx, [rbp + 0x2010]
call fcn.140006060
lea rcx, [rsp + 0x70]
call fcn.1400056a0
nop
lea rdx, [rbp + 0x4010]
lea rcx, [rsp + 0x70]
call fcn.140005844
mov qword [rbp + 0x1f90], rdi
mov qword [rbp + 0x1f98], rdi
mov qword [rbp + 0x1fa0], rdi
jmp 0x140002d1d
lea rcx, [rbp + 0xf80]
call fcn.140004bbc
xor r8d, r8d
lea rdx, [rbp + 0xf80]
lea rcx, [rsp + 0x70]
call fcn.140005758
test al, al
jne 0x140002d11
lea rcx, [rsp + 0x70]
call fcn.1400056b8
xor edx, edx
lea rcx, [rbp + 0x2010]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov r14d, edi
mov r15, rdi
mov r13, qword [rsp + 0x50]
mov r9, rbx
lea r8, [rbp + 0x4010]
mov rdx, qword [rbp + r15 + 0x1ff0]
lea rcx, [rbp + 0x2010]
call fcn.140006060
mov r8, rbx
lea rdx, str..lnk
lea rcx, [rbp + 0x4010]
call fcn.140008118
mov r8, rbx
mov rdx, qword [rbp + r15 + 0x1fd0]
lea rcx, [rbp + 0x3010]
call fcn.1400061a0
lea rcx, [rbp + 0x3010]
call fcn.140004c40
test al, al
je 0x140002e0d
test sil, sil
je 0x140002dc9
lea rcx, [rbp + 0x4010]
call fcn.140004c40
test al, al
je 0x140002e0d
mov rbx, rdi
test r14d, r14d
cmove rbx, r13
mov ecx, 0x13fb
call fcn.140007ba8
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x5020]
lea r8, [rbp + 0x4010]
lea rdx, [rbp + 0x3010]
mov cl, 1
call fcn.14000a118
mov ebx, 0x800
inc r14d
add r15, 8
cmp r14d, r12d
jb 0x140002d59
mov r13, qword [rsp + 0x58]
jmp 0x140002e30
lea rcx, [rbp + 0x2010]
call fcn.140001470
mov r8d, 0x17
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.1400015a8
test al, al
je 0x14000304b
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.140005a94
mov r8, rbx
lea rdx, [0x140022cf0]
lea rcx, [rbp + 0x2010]
call fcn.140008118
test sil, sil
je 0x140002e8b
lea rcx, [rbp + 0x2010]
call fcn.140004c40
test al, al
je 0x14000304b
cmp byte [r13 + 0x16], dil
je 0x14000303f
test sil, sil
jne 0x140002f42
lea rcx, [rbp + 0x2010]
call fcn.140004c40
test al, al
je 0x140002f33
mov r9d, 0x802
lea r8, [rbp + 0x4010]
lea rdx, [0x140023490]
lea rcx, [rbp + 0x2010]
call fcn.140006060
lea rcx, [rsp + 0x70]
call fcn.1400056a0
nop
lea rdx, [rbp + 0x4010]
lea rcx, [rsp + 0x70]
call fcn.140005844
mov qword [rbp + 0x1f90], rdi
mov qword [rbp + 0x1f98], rdi
mov qword [rbp + 0x1fa0], rdi
jmp 0x140002f11
lea rcx, [rbp + 0xf80]
call fcn.140004bbc
xor r8d, r8d
lea rdx, [rbp + 0xf80]
lea rcx, [rsp + 0x70]
call fcn.140005758
test al, al
jne 0x140002f05
lea rcx, [rsp + 0x70]
call fcn.1400056b8
xor edx, edx
lea rcx, [rbp + 0x2010]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140002f70
lea rcx, [rbp + 0x2010]
call fcn.140004c40
test al, al
je 0x140002f70
mov r8, qword [rsp + 0x48]
lea rdx, [rbp + 0x2010]
mov rcx, rbx
call fcn.14000815c
mov r14d, edi
mov r15, rdi
mov r13d, 0x800
mov r9, r13
lea r8, [rbp + 0x4010]
mov rdx, qword [rbp + r15 + 0x1ff0]
lea rcx, [rbp + 0x2010]
call fcn.140006060
mov r8, r13
lea rdx, str..lnk
lea rcx, [rbp + 0x4010]
call fcn.140008118
mov r8, r13
mov rdx, qword [rbp + r15 + 0x1fd0]
lea rcx, [rbp + 0x3010]
call fcn.1400061a0
lea rcx, [rbp + 0x3010]
call fcn.140004c40
test al, al
je 0x14000302d
test sil, sil
je 0x140002fec
lea rcx, [rbp + 0x4010]
call fcn.140004c40
test al, al
je 0x14000302d
mov rbx, rdi
test r14d, r14d
cmove rbx, qword [rsp + 0x50]
mov ecx, 0x13fb
call fcn.140007ba8
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x5020]
lea r8, [rbp + 0x4010]
lea rdx, [rbp + 0x3010]
mov cl, 1
call fcn.14000a118
inc r14d
add r15, 8
cmp r14d, r12d
jb 0x140002f7c
jmp 0x14000304b
lea rcx, [rbp + 0x2010]
call fcn.140001470
mov rcx, qword [rbp + rdi + 0x1fd0]
call fcn.14000fb60
mov rcx, qword [rbp + rdi + 0x1ff0]
call fcn.14000fb60
lea rdi, [rdi + 8]
sub r12, 1
jne 0x14000304b
mov rcx, qword [rbp + 0x6020]
xor rcx, rsp
call fcn.14000bee0
mov rbx, qword [rsp + 0x6170]
add rsp, 0x6130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret