Function at 0x140002818
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.14000be20
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.140009c84
xor edi, edi
test al, al
je 0x14000302f
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.140006160
call fcn.1400059c8
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 0x14000292d
test al, al
je 0x140002916
mov edx, esi
lea rcx, [rbp + 0x2010]
call fcn.140005a54
mov r8d, esi
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2010]
call fcn.1400080d8
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 0x140002935
test al, al
je 0x14000302f
mov rdx, rsi
lea rcx, [rbp + 0x2010]
call fcn.140005a54
mov r8, rsi
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2010]
call fcn.1400080d8
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 0x140002a7f
test sil, sil
je 0x1400029a2
lea rcx, [rbp + 0x2010]
call fcn.140004c00
test al, al
jne 0x1400029a2
test r15b, r15b
je 0x140002a8b
mov ecx, 0x13fb
call fcn.140007b68
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.14000a0d8
test al, al
jne 0x140002a8b
test r14b, r14b
je 0x140002a8b
test sil, sil
je 0x140002a8b
lea rcx, [rbp + 0x2010]
call fcn.140004c00
test al, al
je 0x140002a0e
lea rcx, [rbp + 0x2010]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140002a8b
mov r8d, ebx
mov ebx, 0x800
mov edx, ebx
lea rcx, [rbp + 0x2010]
call fcn.1400015a8
test al, al
je 0x140002a90
mov edx, ebx
lea rcx, [rbp + 0x2010]
call fcn.140005a54
mov r8d, ebx
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2010]
call fcn.1400080d8
mov ecx, 0x13fb
call fcn.140007b68
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.14000a0d8
jmp 0x140002a90
lea rcx, [rbp + 0x2010]
call fcn.140004b7c
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.140005a54
mov r8, rbx
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2010]
call fcn.1400080d8
cmp byte [r13 + 0x15], dil
je 0x140002b24
test sil, sil
je 0x140002aed
lea rcx, [rbp + 0x2010]
call fcn.140004c00
test al, al
je 0x140002b30
mov ecx, 0x13fb
call fcn.140007b68
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.14000a0d8
jmp 0x140002b30
lea rcx, [rbp + 0x2010]
call fcn.140004b7c
lea rcx, str.WinRAR.exe
call fcn.140014e08
mov qword [rbp + 0x1fd0], rax
lea rcx, str.WinRAR.chm
call fcn.140014e08
mov qword [rbp + 0x1fd8], rax
lea rcx, str.Rar.txt
call fcn.140014e08
mov qword [rbp + 0x1fe0], rax
mov ecx, 0x13f1
call fcn.140007b68
mov rcx, rax
call fcn.140014e08
mov qword [rbp + 0x1fe8], rax
lea rcx, [0x140022cf0]
call fcn.140014e08
mov qword [rbp + 0x1ff0], rax
mov ecx, 0x13ee
call fcn.140007b68
mov rcx, rax
call fcn.140014e08
mov qword [rbp + 0x1ff8], rax
mov ecx, 0x13ef
call fcn.140007b68
mov rcx, rax
call fcn.140014e08
mov qword [rbp + 0x2000], rax
mov ecx, 0x13f0
call fcn.140007b68
mov rcx, rax
call fcn.140014e08
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.140005a54
mov r8, rbx
lea rdx, [0x140022cf0]
lea rcx, [rbp + 0x2010]
call fcn.1400080d8
mov r12d, 4
test sil, sil
je 0x140002c39
lea rcx, [rbp + 0x2010]
call fcn.140004c00
test al, al
je 0x140002df0
cmp byte [r13 + 0x16], dil
je 0x140002de4
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x140002c61
mov r8, qword [rsp + 0x48]
lea rdx, [rbp + 0x2010]
mov rcx, rax
call fcn.14000811c
test sil, sil
jne 0x140002d0e
lea rcx, [rbp + 0x2010]
call fcn.140004c00
test al, al
je 0x140002cff
mov r9d, 0x802
lea r8, [rbp + 0x4010]
lea rdx, [0x140023490]
lea rcx, [rbp + 0x2010]
call fcn.140006020
lea rcx, [rsp + 0x70]
call fcn.140005660
nop
lea rdx, [rbp + 0x4010]
lea rcx, [rsp + 0x70]
call fcn.140005804
mov qword [rbp + 0x1f90], rdi
mov qword [rbp + 0x1f98], rdi
mov qword [rbp + 0x1fa0], rdi
jmp 0x140002cdd
lea rcx, [rbp + 0xf80]
call fcn.140004b7c
xor r8d, r8d
lea rdx, [rbp + 0xf80]
lea rcx, [rsp + 0x70]
call fcn.140005718
test al, al
jne 0x140002cd1
lea rcx, [rsp + 0x70]
call fcn.140005678
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.140006020
mov r8, rbx
lea rdx, str..lnk
lea rcx, [rbp + 0x4010]
call fcn.1400080d8
mov r8, rbx
mov rdx, qword [rbp + r15 + 0x1fd0]
lea rcx, [rbp + 0x3010]
call fcn.140006160
lea rcx, [rbp + 0x3010]
call fcn.140004c00
test al, al
je 0x140002dcd
test sil, sil
je 0x140002d89
lea rcx, [rbp + 0x4010]
call fcn.140004c00
test al, al
je 0x140002dcd
mov rbx, rdi
test r14d, r14d
cmove rbx, r13
mov ecx, 0x13fb
call fcn.140007b68
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.14000a0d8
mov ebx, 0x800
inc r14d
add r15, 8
cmp r14d, r12d
jb 0x140002d19
mov r13, qword [rsp + 0x58]
jmp 0x140002df0
lea rcx, [rbp + 0x2010]
call fcn.140001470
mov r8d, 0x17
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.1400015a8
test al, al
je 0x14000300b
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.140005a54
mov r8, rbx
lea rdx, [0x140022cf0]
lea rcx, [rbp + 0x2010]
call fcn.1400080d8
test sil, sil
je 0x140002e4b
lea rcx, [rbp + 0x2010]
call fcn.140004c00
test al, al
je 0x14000300b
cmp byte [r13 + 0x16], dil
je 0x140002fff
test sil, sil
jne 0x140002f02
lea rcx, [rbp + 0x2010]
call fcn.140004c00
test al, al
je 0x140002ef3
mov r9d, 0x802
lea r8, [rbp + 0x4010]
lea rdx, [0x140023490]
lea rcx, [rbp + 0x2010]
call fcn.140006020
lea rcx, [rsp + 0x70]
call fcn.140005660
nop
lea rdx, [rbp + 0x4010]
lea rcx, [rsp + 0x70]
call fcn.140005804
mov qword [rbp + 0x1f90], rdi
mov qword [rbp + 0x1f98], rdi
mov qword [rbp + 0x1fa0], rdi
jmp 0x140002ed1
lea rcx, [rbp + 0xf80]
call fcn.140004b7c
xor r8d, r8d
lea rdx, [rbp + 0xf80]
lea rcx, [rsp + 0x70]
call fcn.140005718
test al, al
jne 0x140002ec5
lea rcx, [rsp + 0x70]
call fcn.140005678
xor edx, edx
lea rcx, [rbp + 0x2010]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140002f30
lea rcx, [rbp + 0x2010]
call fcn.140004c00
test al, al
je 0x140002f30
mov r8, qword [rsp + 0x48]
lea rdx, [rbp + 0x2010]
mov rcx, rbx
call fcn.14000811c
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.140006020
mov r8, r13
lea rdx, str..lnk
lea rcx, [rbp + 0x4010]
call fcn.1400080d8
mov r8, r13
mov rdx, qword [rbp + r15 + 0x1fd0]
lea rcx, [rbp + 0x3010]
call fcn.140006160
lea rcx, [rbp + 0x3010]
call fcn.140004c00
test al, al
je 0x140002fed
test sil, sil
je 0x140002fac
lea rcx, [rbp + 0x4010]
call fcn.140004c00
test al, al
je 0x140002fed
mov rbx, rdi
test r14d, r14d
cmove rbx, qword [rsp + 0x50]
mov ecx, 0x13fb
call fcn.140007b68
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.14000a0d8
inc r14d
add r15, 8
cmp r14d, r12d
jb 0x140002f3c
jmp 0x14000300b
lea rcx, [rbp + 0x2010]
call fcn.140001470
mov rcx, qword [rbp + rdi + 0x1fd0]
call fcn.14000fb10
mov rcx, qword [rbp + rdi + 0x1ff0]
call fcn.14000fb10
lea rdi, [rdi + 8]
sub r12, 1
jne 0x14000300b
mov rcx, qword [rbp + 0x6020]
xor rcx, rsp
call fcn.14000be90
mov rbx, qword [rsp + 0x6170]
add rsp, 0x6130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret