Function at 0x140004ad8
Capabilities:
Create directory
Delete file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x5120
call fcn.14001ba30
sub rsp, rax
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rsp + 0x5160], rbx
mov rax, qword [0x1400242f8]
xor rax, rsp
mov qword [rsp + 0x5110], rax
mov sil, r9b
mov r12, r8
mov qword [rsp + 0x40], r8
mov r15, rdx
mov qword [rsp + 0x48], rdx
mov r14, rcx
call fcn.140006188
xor edi, edi
cmp al, dil
je 0x140005332
mov r13d, 0x800
mov r8d, r13d
lea rdx, [rsp + 0x3100]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8, r13
lea rdx, str.WinRAR.exe
lea rcx, [rsp + 0x3100]
call fcn.140005974
call fcn.140005438
cmp eax, 0x600
setae bl
mov bpl, dil
cmp bl, dil
je 0x140004be6
lea edx, [rdi + 0x10]
lea rcx, [rsp + 0x2100]
call fcn.140003a48
cmp al, dil
je 0x140004bd2
mov rdx, r13
lea rcx, [rsp + 0x2100]
call fcn.140005544
mov r8, r13
lea rdx, str.WinRAR.lnk
lea rcx, [rsp + 0x2100]
call fcn.140008480
lea rcx, [rsp + 0x2100]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, edi
setne bpl
mov edx, 0x19
lea rcx, [rsp + 0x2100]
call fcn.140003a48
jmp 0x140004c01
mov edx, 0x10
lea rcx, [rsp + 0x2100]
call fcn.140003a48
cmp al, dil
je 0x140005332
mov rdx, r13
lea rcx, [rsp + 0x2100]
call fcn.140005544
mov r8, r13
lea rdx, str.WinRAR.lnk
lea rcx, [rsp + 0x2100]
call fcn.140008480
cmp byte [r14 + 0x14], dil
je 0x140004d3b
cmp sil, dil
je 0x140004c52
lea rcx, [rsp + 0x2100]
call fcn.140002270
cmp al, dil
jne 0x140004c52
cmp bpl, dil
je 0x140004d48
mov ecx, 0x13fb
call fcn.140008048
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x2100]
lea rdx, [rsp + 0x3100]
mov cl, 1
call fcn.14000a1d0
cmp al, dil
jne 0x140004d48
cmp bl, dil
je 0x140004d48
cmp sil, dil
je 0x140004d48
lea rcx, [rsp + 0x2100]
call fcn.140002270
cmp al, dil
je 0x140004cc8
lea rcx, [rsp + 0x2100]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, edi
je 0x140004d48
mov edx, 0x10
lea rcx, [rsp + 0x2100]
call fcn.140003a48
cmp al, dil
je 0x140004d48
mov rdx, r13
lea rcx, [rsp + 0x2100]
call fcn.140005544
mov r8, r13
lea rdx, str.WinRAR.lnk
lea rcx, [rsp + 0x2100]
call fcn.140008480
mov ecx, 0x13fb
call fcn.140008048
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x2100]
lea rdx, [rsp + 0x3100]
mov cl, 1
call fcn.14000a1d0
jmp 0x140004d48
lea rcx, [rsp + 0x2100]
call fcn.1400021e4
neg bl
sbb edx, edx
and edx, 0xb
add edx, 0xb
lea rcx, [rsp + 0x2100]
call fcn.140003a48
mov rdx, r13
lea rcx, [rsp + 0x2100]
call fcn.140005544
mov r8, r13
lea rdx, str.WinRAR.lnk
lea rcx, [rsp + 0x2100]
call fcn.140008480
cmp byte [r14 + 0x15], dil
je 0x140004dd8
cmp sil, dil
je 0x140004da3
lea rcx, [rsp + 0x2100]
call fcn.140002270
cmp al, dil
je 0x140004de5
mov ecx, 0x13fb
call fcn.140008048
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x2100]
lea rdx, [rsp + 0x3100]
mov cl, 1
call fcn.14000a1d0
jmp 0x140004de5
lea rcx, [rsp + 0x2100]
call fcn.1400021e4
lea rcx, str.WinRAR.exe
call fcn.14001b928
mov qword [rsp + 0x70], rax
lea rcx, str.WinRAR.chm
call fcn.14001b928
mov qword [rsp + 0x78], rax
lea rcx, str.Rar.txt
call fcn.14001b928
mov qword [rsp + 0x80], rax
mov ecx, 0x13f1
call fcn.140008048
mov rcx, rax
call fcn.14001b928
mov qword [rsp + 0x88], rax
lea rcx, [0x14001e098]
call fcn.14001b928
mov qword [rsp + 0x50], rax
mov ecx, 0x13ee
call fcn.140008048
mov rcx, rax
call fcn.14001b928
mov qword [rsp + 0x58], rax
mov ecx, 0x13ef
call fcn.140008048
mov rcx, rax
call fcn.14001b928
mov qword [rsp + 0x60], rax
mov ecx, 0x13f0
call fcn.140008048
mov rcx, rax
call fcn.14001b928
mov qword [rsp + 0x68], rax
mov edx, 2
lea rcx, [rsp + 0x2100]
call fcn.140003a48
mov rdx, r13
lea rcx, [rsp + 0x2100]
call fcn.140005544
mov r8, r13
lea rdx, [0x14001e098]
lea rcx, [rsp + 0x2100]
call fcn.140008480
mov r13d, 4
cmp sil, dil
je 0x140004ee5
lea rcx, [rsp + 0x2100]
call fcn.140002270
cmp al, dil
je 0x1400050c9
cmp byte [r14 + 0x16], dil
je 0x1400050bc
cmp r15, rdi
je 0x140004f04
lea rdx, [rsp + 0x2100]
mov rcx, r15
call fcn.14000a6fc
cmp sil, dil
jne 0x140004fe4
lea rcx, [rsp + 0x2100]
call fcn.140002270
cmp al, dil
je 0x140004fd4
mov r9d, 0x802
lea r8, [rsp + 0x4100]
lea rdx, [0x14001e554]
lea rcx, [rsp + 0x2100]
call fcn.140005588
lea rcx, [rsp + 0x10f0]
call fcn.140002a40
nop
lea rdx, [rsp + 0x4100]
lea rcx, [rsp + 0x10f0]
call fcn.140002a74
mov qword [rsp + 0x10b0], rdi
mov qword [rsp + 0x10b8], rdi
mov qword [rsp + 0x10c0], rdi
xor r8d, r8d
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x10f0]
call fcn.140002c34
cmp al, dil
je 0x140004fc7
lea rcx, [rsp + 0xa0]
call fcn.1400021e4
xor r8d, r8d
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x10f0]
call fcn.140002c34
cmp al, dil
jne 0x140004f9d
lea rcx, [rsp + 0x10f0]
call fcn.140002a58
xor edx, edx
lea rcx, [rsp + 0x2100]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebp, edi
mov r12, rdi
mov r15, qword [rsp + 0x40]
mov ebx, 0x800
mov r9, rbx
lea r8, [rsp + 0x4100]
mov rdx, qword [rsp + r12 + 0x50]
lea rcx, [rsp + 0x2100]
call fcn.140005588
mov r8, rbx
lea rdx, str..lnk
lea rcx, [rsp + 0x4100]
call fcn.140008480
mov r8, rbx
mov rdx, qword [rsp + r12 + 0x70]
lea rcx, [rsp + 0x3100]
call fcn.140005974
lea rcx, [rsp + 0x3100]
call fcn.140002270
cmp al, dil
je 0x1400050a6
cmp sil, dil
je 0x140005065
lea rcx, [rsp + 0x4100]
call fcn.140002270
cmp al, dil
je 0x1400050a6
mov rbx, rdi
cmp ebp, edi
cmove rbx, r15
mov ecx, 0x13fb
call fcn.140008048
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x4100]
lea rdx, [rsp + 0x3100]
mov cl, 1
call fcn.14000a1d0
mov ebx, 0x800
inc ebp
add r12, 8
cmp ebp, r13d
jb 0x140004ff3
mov r15, qword [rsp + 0x48]
jmp 0x1400050c9
lea rcx, [rsp + 0x2100]
call fcn.140003ac0
mov edx, 0x17
lea rcx, [rsp + 0x2100]
call fcn.140003a48
cmp al, dil
je 0x140005314
mov ebx, 0x800
mov rdx, rbx
lea rcx, [rsp + 0x2100]
call fcn.140005544
mov r8, rbx
lea rdx, [0x14001e098]
lea rcx, [rsp + 0x2100]
call fcn.140008480
cmp sil, dil
je 0x14000512b
lea rcx, [rsp + 0x2100]
call fcn.140002270
cmp al, dil
je 0x140005314
cmp byte [r14 + 0x16], dil
je 0x140005307
cmp sil, dil
jne 0x140005215
lea rcx, [rsp + 0x2100]
call fcn.140002270
cmp al, dil
je 0x140005205
mov r9d, 0x802
lea r8, [rsp + 0x4100]
lea rdx, [0x14001e554]
lea rcx, [rsp + 0x2100]
call fcn.140005588
lea rcx, [rsp + 0x10f0]
call fcn.140002a40
nop
lea rdx, [rsp + 0x4100]
lea rcx, [rsp + 0x10f0]
call fcn.140002a74
mov qword [rsp + 0x10b0], rdi
mov qword [rsp + 0x10b8], rdi
mov qword [rsp + 0x10c0], rdi
xor r8d, r8d
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x10f0]
call fcn.140002c34
cmp al, dil
je 0x1400051f8
lea rcx, [rsp + 0xa0]
call fcn.1400021e4
xor r8d, r8d
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x10f0]
call fcn.140002c34
cmp al, dil
jne 0x1400051ce
lea rcx, [rsp + 0x10f0]
call fcn.140002a58
xor edx, edx
lea rcx, [rsp + 0x2100]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp r15, rdi
je 0x14000523c
lea rcx, [rsp + 0x2100]
call fcn.140002270
cmp al, dil
je 0x14000523c
lea rdx, [rsp + 0x2100]
mov rcx, r15
call fcn.14000a6fc
mov ebp, edi
mov r12, rdi
mov r9, rbx
lea r8, [rsp + 0x4100]
mov rdx, qword [rsp + r12 + 0x50]
lea rcx, [rsp + 0x2100]
call fcn.140005588
mov r8, rbx
lea rdx, str..lnk
lea rcx, [rsp + 0x4100]
call fcn.140008480
mov r8, rbx
mov rdx, qword [rsp + r12 + 0x70]
lea rcx, [rsp + 0x3100]
call fcn.140005974
lea rcx, [rsp + 0x3100]
call fcn.140002270
cmp al, dil
je 0x1400052f6
cmp sil, dil
je 0x1400052b3
lea rcx, [rsp + 0x4100]
call fcn.140002270
cmp al, dil
je 0x1400052f6
mov rbx, rdi
cmp ebp, edi
cmove rbx, qword [rsp + 0x40]
mov ecx, 0x13fb
call fcn.140008048
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x4100]
lea rdx, [rsp + 0x3100]
mov cl, 1
call fcn.14000a1d0
mov ebx, 0x800
inc ebp
add r12, 8
cmp ebp, r13d
jb 0x140005241
jmp 0x140005314
lea rcx, [rsp + 0x2100]
call fcn.140003ac0
mov rcx, qword [rsp + rdi + 0x70]
call fcn.14000a74c
mov rcx, qword [rsp + rdi + 0x50]
call fcn.14000a74c
add rdi, 8
sub r13, 1
jne 0x140005314
mov rcx, qword [rsp + 0x5110]
xor rcx, rsp
call fcn.14000a6b0
mov rbx, qword [rsp + 0x5160]
add rsp, 0x5120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret