Function at 0x1400402b0
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.140100e60
sub rsp, rax
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x6170], rbx
mov rax, qword [0x140191630]
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.1400a8c58
xor edi, edi
test al, al
je 0x140040ac7
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, [0x1401468f0]
lea rcx, [rbp + 0x3010]
call fcn.14008111c
call fcn.140073b4c
cmp eax, 0x600
setae r14b
mov r15b, dil
lea ebx, [rdi + 0x10]
mov edx, esi
lea rcx, [rbp + 0x2010]
mov r8d, ebx
call fcn.14003ece8
test r14b, r14b
je 0x1400403c5
test al, al
je 0x1400403ae
mov edx, esi
lea rcx, [rbp + 0x2010]
call fcn.14007f660
mov r8d, esi
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2010]
call fcn.140096d58
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.14003ece8
jmp 0x1400403cd
test al, al
je 0x140040ac7
mov rdx, rsi
lea rcx, [rbp + 0x2010]
call fcn.14007f660
mov r8, rsi
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2010]
call fcn.140096d58
mov word [rbp + 0x5020], di
mov r8d, ebx
mov rdx, rsi
lea rcx, [rbp + 0x5020]
call fcn.14003ece8
mov sil, byte [rbp + 0x6090]
cmp byte [r13 + 0x14], dil
je 0x140040517
test sil, sil
je 0x14004043a
lea rcx, [rbp + 0x2010]
call fcn.140070398
test al, al
jne 0x14004043a
test r15b, r15b
je 0x140040523
mov ecx, 0x537
call fcn.140090bf0
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.1400d08ec
test al, al
jne 0x140040523
test r14b, r14b
je 0x140040523
test sil, sil
je 0x140040523
lea rcx, [rbp + 0x2010]
call fcn.140070398
test al, al
je 0x1400404a6
lea rcx, [rbp + 0x2010]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140040523
mov r8d, ebx
mov ebx, 0x800
mov edx, ebx
lea rcx, [rbp + 0x2010]
call fcn.14003ece8
test al, al
je 0x140040528
mov edx, ebx
lea rcx, [rbp + 0x2010]
call fcn.14007f660
mov r8d, ebx
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2010]
call fcn.140096d58
mov ecx, 0x537
call fcn.140090bf0
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.1400d08ec
jmp 0x140040528
lea rcx, [rbp + 0x2010]
call fcn.1400700b0
mov ebx, 0x800
neg r14b
sbb r8d, r8d
and r8d, 0xb
add r8d, 0xb
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.14003ece8
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.14007f660
mov r8, rbx
lea rdx, str.WinRAR.lnk
lea rcx, [rbp + 0x2010]
call fcn.140096d58
cmp byte [r13 + 0x15], dil
je 0x1400405bc
test sil, sil
je 0x140040585
lea rcx, [rbp + 0x2010]
call fcn.140070398
test al, al
je 0x1400405c8
mov ecx, 0x537
call fcn.140090bf0
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.1400d08ec
jmp 0x1400405c8
lea rcx, [rbp + 0x2010]
call fcn.1400700b0
lea rcx, [0x1401468f0]
call fcn.14012731c
mov qword [rbp + 0x1fd0], rax
lea rcx, str.WinRAR.chm
call fcn.14012731c
mov qword [rbp + 0x1fd8], rax
lea rcx, str.Rar.txt
call fcn.14012731c
mov qword [rbp + 0x1fe0], rax
mov ecx, 0x391
call fcn.140090bf0
mov rcx, rax
call fcn.14012731c
mov qword [rbp + 0x1fe8], rax
lea rcx, [0x140146a40]
call fcn.14012731c
mov qword [rbp + 0x1ff0], rax
mov ecx, 0x38e
call fcn.140090bf0
mov rcx, rax
call fcn.14012731c
mov qword [rbp + 0x1ff8], rax
mov ecx, 0x38f
call fcn.140090bf0
mov rcx, rax
call fcn.14012731c
mov qword [rbp + 0x2000], rax
mov ecx, 0x390
call fcn.140090bf0
mov rcx, rax
call fcn.14012731c
mov qword [rbp + 0x2008], rax
mov r8d, 2
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.14003ece8
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.14007f660
mov r8, rbx
lea rdx, [0x140146a40]
lea rcx, [rbp + 0x2010]
call fcn.140096d58
mov r12d, 4
test sil, sil
je 0x1400406d1
lea rcx, [rbp + 0x2010]
call fcn.140070398
test al, al
je 0x140040888
cmp byte [r13 + 0x16], dil
je 0x14004087c
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1400406f9
mov r8, qword [rsp + 0x48]
lea rdx, [rbp + 0x2010]
mov rcx, rax
call fcn.140096d80
test sil, sil
jne 0x1400407a6
lea rcx, [rbp + 0x2010]
call fcn.140070398
test al, al
je 0x140040797
mov r9d, 0x802
lea r8, [rbp + 0x4010]
lea rdx, [0x140141bd8]
lea rcx, [rbp + 0x2010]
call fcn.140080ac8
lea rcx, [rsp + 0x70]
call fcn.14007185c
nop
lea rdx, [rbp + 0x4010]
lea rcx, [rsp + 0x70]
call fcn.140071a10
mov qword [rbp + 0x1f90], rdi
mov qword [rbp + 0x1f98], rdi
mov qword [rbp + 0x1fa0], rdi
jmp 0x140040775
lea rcx, [rbp + 0xf80]
call fcn.1400700b0
xor r8d, r8d
lea rdx, [rbp + 0xf80]
lea rcx, [rsp + 0x70]
call fcn.140071914
test al, al
jne 0x140040769
lea rcx, [rsp + 0x70]
call fcn.140071874
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.140080ac8
mov r8, rbx
lea rdx, str..lnk
lea rcx, [rbp + 0x4010]
call fcn.140096d58
mov r8, rbx
mov rdx, qword [rbp + r15 + 0x1fd0]
lea rcx, [rbp + 0x3010]
call fcn.14008111c
lea rcx, [rbp + 0x3010]
call fcn.140070398
test al, al
je 0x140040865
test sil, sil
je 0x140040821
lea rcx, [rbp + 0x4010]
call fcn.140070398
test al, al
je 0x140040865
mov rbx, rdi
test r14d, r14d
cmove rbx, r13
mov ecx, 0x537
call fcn.140090bf0
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.1400d08ec
mov ebx, 0x800
inc r14d
add r15, 8
cmp r14d, r12d
jb 0x1400407b1
mov r13, qword [rsp + 0x58]
jmp 0x140040888
lea rcx, [rbp + 0x2010]
call fcn.14003eae0
mov r8d, 0x17
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.14003ece8
test al, al
je 0x140040aa3
mov rdx, rbx
lea rcx, [rbp + 0x2010]
call fcn.14007f660
mov r8, rbx
lea rdx, [0x140146a40]
lea rcx, [rbp + 0x2010]
call fcn.140096d58
test sil, sil
je 0x1400408e3
lea rcx, [rbp + 0x2010]
call fcn.140070398
test al, al
je 0x140040aa3
cmp byte [r13 + 0x16], dil
je 0x140040a97
test sil, sil
jne 0x14004099a
lea rcx, [rbp + 0x2010]
call fcn.140070398
test al, al
je 0x14004098b
mov r9d, 0x802
lea r8, [rbp + 0x4010]
lea rdx, [0x140141bd8]
lea rcx, [rbp + 0x2010]
call fcn.140080ac8
lea rcx, [rsp + 0x70]
call fcn.14007185c
nop
lea rdx, [rbp + 0x4010]
lea rcx, [rsp + 0x70]
call fcn.140071a10
mov qword [rbp + 0x1f90], rdi
mov qword [rbp + 0x1f98], rdi
mov qword [rbp + 0x1fa0], rdi
jmp 0x140040969
lea rcx, [rbp + 0xf80]
call fcn.1400700b0
xor r8d, r8d
lea rdx, [rbp + 0xf80]
lea rcx, [rsp + 0x70]
call fcn.140071914
test al, al
jne 0x14004095d
lea rcx, [rsp + 0x70]
call fcn.140071874
xor edx, edx
lea rcx, [rbp + 0x2010]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1400409c8
lea rcx, [rbp + 0x2010]
call fcn.140070398
test al, al
je 0x1400409c8
mov r8, qword [rsp + 0x48]
lea rdx, [rbp + 0x2010]
mov rcx, rbx
call fcn.140096d80
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.140080ac8
mov r8, r13
lea rdx, str..lnk
lea rcx, [rbp + 0x4010]
call fcn.140096d58
mov r8, r13
mov rdx, qword [rbp + r15 + 0x1fd0]
lea rcx, [rbp + 0x3010]
call fcn.14008111c
lea rcx, [rbp + 0x3010]
call fcn.140070398
test al, al
je 0x140040a85
test sil, sil
je 0x140040a44
lea rcx, [rbp + 0x4010]
call fcn.140070398
test al, al
je 0x140040a85
mov rbx, rdi
test r14d, r14d
cmove rbx, qword [rsp + 0x50]
mov ecx, 0x537
call fcn.140090bf0
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.1400d08ec
inc r14d
add r15, 8
cmp r14d, r12d
jb 0x1400409d4
jmp 0x140040aa3
lea rcx, [rbp + 0x2010]
call fcn.14003eae0
mov rcx, qword [rbp + rdi + 0x1fd0]
call fcn.140126884
mov rcx, qword [rbp + rdi + 0x1ff0]
call fcn.140126884
lea rdi, [rdi + 8]
sub r12, 1
jne 0x140040aa3
mov rcx, qword [rbp + 0x6020]
xor rcx, rsp
call fcn.140100ed0
mov rbx, qword [rsp + 0x6170]
add rsp, 0x6130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret