Function at 0x140002810
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.14000b620
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.140009608
xor edi, edi
test al, al
je 0x140003027
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.1400061a8
call fcn.140005a20
cmp eax, 0x600
setae r14b
mov r15b, dil
lea ebx, [rdi + 0x10]
mov edx, esi
lea rcx, [rbp + 0x2010]
mov r8d, ebx
call fcn.140001580
test r14b, r14b
je 0x140002925
test al, al
je 0x14000290e
mov edx, esi
lea rcx, [rbp + 0x2010]
call fcn.140005aac
mov r8d, esi
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2010]
call fcn.140007bc4
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.140001580
jmp 0x14000292d
test al, al
je 0x140003027
mov rdx, rsi
lea rcx, [rbp + 0x2010]
call fcn.140005aac
mov r8, rsi
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2010]
call fcn.140007bc4
mov word [rbp + 0x5020], di
mov r8d, ebx
mov rdx, rsi
lea rcx, [rbp + 0x5020]
call fcn.140001580
mov sil, byte [rbp + 0x6090]
cmp byte [r13 + 0x14], dil
je 0x140002a77
test sil, sil
je 0x14000299a
lea rcx, [rbp + 0x2010]
call fcn.140004c58
test al, al
jne 0x14000299a
test r15b, r15b
je 0x140002a83
mov ecx, 0x13fb
call fcn.140007684
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.140009a40
test al, al
jne 0x140002a83
test r14b, r14b
je 0x140002a83
test sil, sil
je 0x140002a83
lea rcx, [rbp + 0x2010]
call fcn.140004c58
test al, al
je 0x140002a06
lea rcx, [rbp + 0x2010]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140002a83
mov r8d, ebx
mov ebx, 0x800
mov edx, ebx
lea rcx, [rbp + 0x2010]
call fcn.140001580
test al, al
je 0x140002a88
mov edx, ebx
lea rcx, [rbp + 0x2010]
call fcn.140005aac
mov r8d, ebx
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2010]
call fcn.140007bc4
mov ecx, 0x13fb
call fcn.140007684
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.140009a40
jmp 0x140002a88
lea rcx, [rbp + 0x2010]
call fcn.140004bd4
mov ebx, 0x800
neg r14b
sbb r8d, r8d
and r8d, 0xb
add r8d, 0xb
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.140001580
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.140005aac
mov r8, rbx
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2010]
call fcn.140007bc4
cmp byte [r13 + 0x15], dil
je 0x140002b1c
test sil, sil
je 0x140002ae5
lea rcx, [rbp + 0x2010]
call fcn.140004c58
test al, al
je 0x140002b28
mov ecx, 0x13fb
call fcn.140007684
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.140009a40
jmp 0x140002b28
lea rcx, [rbp + 0x2010]
call fcn.140004bd4
lea rcx, str.WinRAR.exe
call fcn.140014368
mov qword [rbp + 0x1fd0], rax
lea rcx, str.WinRAR.chm
call fcn.140014368
mov qword [rbp + 0x1fd8], rax
lea rcx, str.Rar.txt
call fcn.140014368
mov qword [rbp + 0x1fe0], rax
mov ecx, 0x13f1
call fcn.140007684
mov rcx, rax
call fcn.140014368
mov qword [rbp + 0x1fe8], rax
lea rcx, [0x140022b70]
call fcn.140014368
mov qword [rbp + 0x1ff0], rax
mov ecx, 0x13ee
call fcn.140007684
mov rcx, rax
call fcn.140014368
mov qword [rbp + 0x1ff8], rax
mov ecx, 0x13ef
call fcn.140007684
mov rcx, rax
call fcn.140014368
mov qword [rbp + 0x2000], rax
mov ecx, 0x13f0
call fcn.140007684
mov rcx, rax
call fcn.140014368
mov qword [rbp + 0x2008], rax
mov r8d, 2
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.140001580
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.140005aac
mov r8, rbx
lea rdx, [0x140022b70]
lea rcx, [rbp + 0x2010]
call fcn.140007bc4
mov r12d, 4
test sil, sil
je 0x140002c31
lea rcx, [rbp + 0x2010]
call fcn.140004c58
test al, al
je 0x140002de8
cmp byte [r13 + 0x16], dil
je 0x140002ddc
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x140002c59
mov r8, qword [rsp + 0x48]
lea rdx, [rbp + 0x2010]
mov rcx, rax
call fcn.140007c08
test sil, sil
jne 0x140002d06
lea rcx, [rbp + 0x2010]
call fcn.140004c58
test al, al
je 0x140002cf7
mov r9d, 0x802
lea r8, [rbp + 0x4010]
lea rdx, [0x140023310]
lea rcx, [rbp + 0x2010]
call fcn.140006068
lea rcx, [rsp + 0x70]
call fcn.1400056b8
nop
lea rdx, [rbp + 0x4010]
lea rcx, [rsp + 0x70]
call fcn.14000585c
mov qword [rbp + 0x1f90], rdi
mov qword [rbp + 0x1f98], rdi
mov qword [rbp + 0x1fa0], rdi
jmp 0x140002cd5
lea rcx, [rbp + 0xf80]
call fcn.140004bd4
xor r8d, r8d
lea rdx, [rbp + 0xf80]
lea rcx, [rsp + 0x70]
call fcn.140005770
test al, al
jne 0x140002cc9
lea rcx, [rsp + 0x70]
call fcn.1400056d0
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.140006068
mov r8, rbx
lea rdx, str..lnk
lea rcx, [rbp + 0x4010]
call fcn.140007bc4
mov r8, rbx
mov rdx, qword [rbp + r15 + 0x1fd0]
lea rcx, [rbp + 0x3010]
call fcn.1400061a8
lea rcx, [rbp + 0x3010]
call fcn.140004c58
test al, al
je 0x140002dc5
test sil, sil
je 0x140002d81
lea rcx, [rbp + 0x4010]
call fcn.140004c58
test al, al
je 0x140002dc5
mov rbx, rdi
test r14d, r14d
cmove rbx, r13
mov ecx, 0x13fb
call fcn.140007684
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.140009a40
mov ebx, 0x800
inc r14d
add r15, 8
cmp r14d, r12d
jb 0x140002d11
mov r13, qword [rsp + 0x58]
jmp 0x140002de8
lea rcx, [rbp + 0x2010]
call fcn.140001448
mov r8d, 0x17
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.140001580
test al, al
je 0x140003003
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.140005aac
mov r8, rbx
lea rdx, [0x140022b70]
lea rcx, [rbp + 0x2010]
call fcn.140007bc4
test sil, sil
je 0x140002e43
lea rcx, [rbp + 0x2010]
call fcn.140004c58
test al, al
je 0x140003003
cmp byte [r13 + 0x16], dil
je 0x140002ff7
test sil, sil
jne 0x140002efa
lea rcx, [rbp + 0x2010]
call fcn.140004c58
test al, al
je 0x140002eeb
mov r9d, 0x802
lea r8, [rbp + 0x4010]
lea rdx, [0x140023310]
lea rcx, [rbp + 0x2010]
call fcn.140006068
lea rcx, [rsp + 0x70]
call fcn.1400056b8
nop
lea rdx, [rbp + 0x4010]
lea rcx, [rsp + 0x70]
call fcn.14000585c
mov qword [rbp + 0x1f90], rdi
mov qword [rbp + 0x1f98], rdi
mov qword [rbp + 0x1fa0], rdi
jmp 0x140002ec9
lea rcx, [rbp + 0xf80]
call fcn.140004bd4
xor r8d, r8d
lea rdx, [rbp + 0xf80]
lea rcx, [rsp + 0x70]
call fcn.140005770
test al, al
jne 0x140002ebd
lea rcx, [rsp + 0x70]
call fcn.1400056d0
xor edx, edx
lea rcx, [rbp + 0x2010]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140002f28
lea rcx, [rbp + 0x2010]
call fcn.140004c58
test al, al
je 0x140002f28
mov r8, qword [rsp + 0x48]
lea rdx, [rbp + 0x2010]
mov rcx, rbx
call fcn.140007c08
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.140006068
mov r8, r13
lea rdx, str..lnk
lea rcx, [rbp + 0x4010]
call fcn.140007bc4
mov r8, r13
mov rdx, qword [rbp + r15 + 0x1fd0]
lea rcx, [rbp + 0x3010]
call fcn.1400061a8
lea rcx, [rbp + 0x3010]
call fcn.140004c58
test al, al
je 0x140002fe5
test sil, sil
je 0x140002fa4
lea rcx, [rbp + 0x4010]
call fcn.140004c58
test al, al
je 0x140002fe5
mov rbx, rdi
test r14d, r14d
cmove rbx, qword [rsp + 0x50]
mov ecx, 0x13fb
call fcn.140007684
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.140009a40
inc r14d
add r15, 8
cmp r14d, r12d
jb 0x140002f34
jmp 0x140003003
lea rcx, [rbp + 0x2010]
call fcn.140001448
mov rcx, qword [rbp + rdi + 0x1fd0]
call fcn.14000f230
mov rcx, qword [rbp + rdi + 0x1ff0]
call fcn.14000f230
lea rdi, [rdi + 8]
sub r12, 1
jne 0x140003003
mov rcx, qword [rbp + 0x6020]
xor rcx, rsp
call fcn.14000b690
mov rbx, qword [rsp + 0x6170]
add rsp, 0x6130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret