Function at 0x140001ec4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3490]
mov eax, 0x3590
call fcn.14000bf50
sub rsp, rax
mov rax, qword [0x140031920]
xor rax, rsp
mov qword [rbp + 0x3480], rax
mov r12b, byte [rbp + 0x34f0]
mov sil, r9b
mov r9, rcx
mov byte [0x140031168], 0x52
mov bl, r8b
mov byte [0x140031180], 0x50
mov r13b, dl
lea r8, str._sShellNew
mov rdi, rcx
mov edx, 0x800
lea rcx, [rbp + 0x1480]
call fcn.140003ac8
mov r9, rdi
lea r8, str.Setup_s
mov edx, 0x50
lea rcx, [rbp + 0xfe0]
call fcn.140003ac8
mov r8d, 1
lea rdx, str.NewRAR
lea rcx, str.SetupMenuItems
call fcn.1400099f0
xor r15d, r15d
test eax, eax
jne 0x140001f7b
test sil, sil
movzx ebx, bl
cmovne ebx, r15d
mov r8d, 1
lea rdx, str.NewZIP
lea rcx, str.SetupMenuItems
call fcn.1400099f0
test eax, eax
jne 0x140001fa2
test r12b, r12b
movzx ebx, bl
cmovne ebx, r15d
lea r14, [0x140022780]
test r13b, r13b
je 0x14000225d
mov rcx, rdi
call fcn.1400016d0
test al, al
jne 0x1400020be
mov dword [rsp + 0x28], 0x200
lea r9, [rbp + 0x1080]
mov r8, r14
mov qword [rsp + 0x20], r14
mov rdx, rdi
mov rcx, 0xffffffff80000000
call fcn.140009a08
lea r9, [rbp + 0x2480]
mov dword [rsp + 0x28], 0x800
lea r8, str.FileName
mov qword [rsp + 0x20], r14
lea rdx, [rbp + 0x1480]
mov rcx, 0xffffffff80000000
call fcn.140009a08
lea r9, [rbp + 0xfc0]
mov dword [rsp + 0x28], 0xa
lea r8, str.NullFile
mov qword [rsp + 0x20], r14
lea rdx, [rbp + 0x1480]
mov rcx, 0xffffffff80000000
call fcn.140009a08
mov rdx, rdi
mov rcx, 0xffffffff80000000
mov r14b, al
call fcn.140008ab0
movzx r8d, al
lea rdx, str.Exist
lea rcx, [rbp + 0xfe0]
call fcn.140009f2c
lea r8, [rbp + 0x1080]
lea rdx, str.Type
lea rcx, [rbp + 0xfe0]
call fcn.140009f14
cmp word [rbp + 0x2480], r15w
jne 0x14000209d
lea r8, [0x140023490]
test r14b, r14b
jne 0x1400020a4
lea r8, [rbp + 0x2480]
lea rdx, str.ShellNew
lea rcx, [rbp + 0xfe0]
call fcn.140009f14
lea r14, [0x140022780]
lea rax, str.WinRAR.ZIP
test r12b, r12b
lea r9, [0x140022cf0]
mov r8, r14
cmovne r9, rax
mov rdx, rdi
mov rcx, 0xffffffff80000000
call fcn.140009dac
test sil, sil
je 0x140002143
call fcn.140005ab8
neg eax
sbb r14d, r14d
and r14d, 0xffffffba
add r14d, 0x64
mov r9d, r15d
lea r8, str..r_02u
mov edx, 0x20
lea rcx, [rbp + 0xf80]
call fcn.140003ac8
lea r9, [0x140022cf0]
mov rcx, 0xffffffff80000000
lea r8, [0x140022780]
lea rdx, [rbp + 0xf80]
call fcn.140009dac
inc r15d
cmp r15d, r14d
jb 0x1400020fc
xor r15d, r15d
test bl, bl
je 0x14000225d
test r12b, r12b
jne 0x140002159
test sil, sil
je 0x14000225d
lea rdx, [rbp + 0x1480]
mov rcx, 0xffffffff80000000
call fcn.1400097e0
mov r14d, 0x800
lea rdx, [rbp + 0x2480]
mov r8d, r14d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, str.rarnew.dat
test sil, sil
lea rdx, str.zipnew.dat
mov r8d, r14d
cmovne rdx, rax
lea rcx, [rbp + 0x2480]
call fcn.14000626c
xor r8d, r8d
mov qword [rbp + 0xf40], r15
lea rdx, [rsp + 0x30]
mov qword [rbp + 0xf48], r15
lea rcx, [rbp + 0x2480]
mov qword [rbp + 0xf50], r15
call fcn.140005790
test al, al
je 0x1400021ed
mov al, sil
neg al
sbb rcx, rcx
and ecx, 2
add rcx, 0x16
cmp qword [rbp + 0xf30], rcx
je 0x14000223c
lea rdx, [0x1400235a8]
lea rcx, [rbp + 0x2480]
call fcn.14000505c
mov r14, rax
test rax, rax
je 0x14000223c
mov r9, rax
mov edx, 1
test sil, sil
je 0x140002222
lea r8d, [rdx + 0x17]
lea rcx, [0x140031168]
jmp 0x14000222f
mov r8d, 0x16
lea rcx, [0x140031180]
call fcn.140012678
mov rcx, r14
call fcn.1400123cc
lea r9, [rbp + 0x2480]
mov rcx, 0xffffffff80000000
lea r8, str.FileName
lea rdx, [rbp + 0x1480]
call fcn.140009dac
mov rcx, rdi
call fcn.1400016d0
test al, al
je 0x140002455
test r13b, r13b
je 0x14000227a
test bl, bl
jne 0x140002455
mov r8d, 1
lea rdx, str.Exist
lea rcx, [rbp + 0xfe0]
call fcn.1400099f0
test eax, eax
lea rbx, [0x140022780]
setne r14b
test r13b, r13b
jne 0x1400023a8
mov r9, rbx
mov dword [rsp + 0x20], 0x200
lea r8, [rbp + 0x1080]
lea rdx, str.Type
lea rcx, [rbp + 0xfe0]
call fcn.140009b50
lea rdx, [0x140022cf0]
lea rcx, [rbp + 0x1080]
call fcn.140008894
test eax, eax
je 0x1400022fc
lea rdx, str.WinRAR.ZIP
lea rcx, [rbp + 0x1080]
call fcn.140008894
test eax, eax
jne 0x140002304
mov word [rbp + 0x1080], r15w
mov r13, 0xffffffff80000000
mov r8, rbx
mov rcx, r13
mov rdx, rdi
test r14b, r14b
je 0x140002327
lea r9, [rbp + 0x1080]
call fcn.140009dac
jmp 0x14000233a
mov r9, rbx
call fcn.140009dac
mov rdx, rdi
mov rcx, r13
call fcn.1400097e0
test sil, sil
je 0x1400023a8
mov ebx, r15d
mov r9d, ebx
lea r8, str..r_02u
mov edx, 0x20
lea rcx, [rbp + 0xf80]
call fcn.140003ac8
test r14b, r14b
je 0x14000238b
cmp word [rbp + 0x1080], r15w
je 0x14000238b
lea r9, [rbp + 0x1080]
mov rcx, r13
lea r8, [0x140022780]
lea rdx, [rbp + 0xf80]
call fcn.140009dac
jmp 0x14000239a
lea rdx, [rbp + 0xf80]
mov rcx, r13
call fcn.1400097e0
inc ebx
cmp ebx, 0x64
jb 0x140002342
lea rbx, [0x140022780]
test r12b, r12b
jne 0x1400023b6
test sil, sil
je 0x140002455
test r14b, r14b
je 0x140002442
mov r9, rbx
mov dword [rsp + 0x20], 0x800
lea r8, [rbp + 0x2480]
lea rdx, str.ShellNew
lea rcx, [rbp + 0xfe0]
call fcn.140009b50
mov rbx, 0xffffffff80000000
lea r8, str.FileName
mov rcx, rbx
lea rdx, [rbp + 0x1480]
call fcn.140009860
movzx eax, word [rbp + 0x2480]
test ax, ax
je 0x140002455
lea rdx, [rbp + 0x1480]
mov rcx, rbx
cmp ax, 0x2a
jne 0x14000242d
lea r9, [0x140022780]
lea r8, str.NullFile
jmp 0x14000243b
lea r9, [rbp + 0x2480]
lea r8, str.FileName
call fcn.140009dac
jmp 0x140002455
lea rdx, [rbp + 0x1480]
mov rcx, 0xffffffff80000000
call fcn.1400097e0
mov rcx, qword [rbp + 0x3480]
xor rcx, rsp
call fcn.14000bfc0
mov rbx, qword [rsp + 0x35d8]
add rsp, 0x3590
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret