Function at 0x14003bc58
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 - 0x34a0]
mov eax, 0x35a0
call fcn.1400eeb60
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x3490], rax
mov r13b, byte [rbp + 0x3500]
mov r14b, r9b
mov r9, rcx
mov byte [rsp + 0x30], r8b
mov bl, dl
mov byte [0x14013bfd0], 0x52
mov rsi, rcx
mov byte [0x14013bfe8], 0x50
mov r15d, 0x800
lea rcx, [rbp + 0x1490]
mov edx, r15d
lea r8, str._sShellNew
call fcn.1400026d0
xor r12d, r12d
test bl, bl
je 0x14003bf8b
mov rcx, rsi
call fcn.14003b2e4
lea rdi, [0x14010d188]
mov rbx, 0xffffffff80000000
test al, al
jne 0x14003bdf5
mov dword [rsp + 0x28], 0x200
lea r9, [rbp + 0x1090]
mov r8, rdi
mov qword [rsp + 0x20], rdi
mov rdx, rsi
mov rcx, rbx
call fcn.14009f6a4
lea r9, [rbp + 0x2490]
mov dword [rsp + 0x28], r15d
lea r8, str.FileName
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x1490]
mov rcx, rbx
call fcn.14009f6a4
lea r9, [rbp + 0x1070]
mov dword [rsp + 0x28], 0xa
lea r8, str.NullFile
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x1490]
mov rcx, rbx
call fcn.14009f6a4
mov r9, rsi
lea r8, str.Setup_s
lea edx, [r12 + 0x50]
mov r15b, al
lea rcx, [rbp + 0xfd0]
call fcn.1400026d0
mov rdx, rsi
mov rcx, rbx
call fcn.14009d9ec
movzx r8d, al
lea rdx, str.Exist
lea rcx, [rbp + 0xfd0]
call fcn.1400a01cc
lea r8, [rbp + 0x1090]
lea rdx, [0x14010e0a0]
lea rcx, [rbp + 0xfd0]
call fcn.1400a01b4
cmp word [rbp + 0x2490], r12w
jne 0x14003bddb
lea r8, [0x14010d538]
test r15b, r15b
jne 0x14003bde2
lea r8, [rbp + 0x2490]
lea rdx, str.ShellNew
lea rcx, [rbp + 0xfd0]
call fcn.1400a01b4
lea rdx, str.WinRAR.ZIP
test r13b, r13b
lea r9, [0x140112360]
mov r8, rdi
cmovne r9, rdx
mov rcx, rbx
mov rdx, rsi
call fcn.14009ffdc
mov r15d, 1
test r14b, r14b
je 0x14003be71
call fcn.14006c160
neg eax
sbb esi, esi
and esi, 0xffffffba
add esi, 0x64
mov r9d, r12d
lea r8, str..r_02u
mov edx, 0x20
lea rcx, [rbp + 0xf90]
call fcn.1400026d0
lea r9, [0x140112360]
mov r8, rdi
lea rdx, [rbp + 0xf90]
mov rcx, rbx
call fcn.14009ffdc
add r12d, r15d
cmp r12d, esi
jb 0x14003be32
xor r12d, r12d
cmp byte [rsp + 0x30], r12b
je 0x14003c166
test r13b, r13b
jne 0x14003be8a
test r14b, r14b
je 0x14003c166
lea rdx, [rbp + 0x1490]
mov rcx, rbx
call fcn.14009f050
mov r8d, 0x800
lea rdx, [rbp + 0x2490]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, str.rarnew.dat
test r14b, r14b
lea rdx, str.zipnew.dat
mov r8d, 0x800
cmovne rdx, rax
lea rcx, [rbp + 0x2490]
call fcn.14007942c
xor r8d, r8d
mov qword [rbp + 0xf50], r12
lea rdx, [rsp + 0x40]
mov qword [rbp + 0xf58], r12
lea rcx, [rbp + 0x2490]
mov qword [rbp + 0xf60], r12
call fcn.14006a508
test al, al
je 0x14003bf1a
mov al, r14b
neg al
sbb rcx, rcx
and ecx, 2
add rcx, 0x16
cmp qword [rbp + 0xf40], rcx
je 0x14003bf69
lea rdx, [0x14010dae0]
lea rcx, [rbp + 0x2490]
call fcn.140069f38
mov rdi, rax
test rax, rax
je 0x14003bf69
mov r9, rax
mov rdx, r15
test r14b, r14b
je 0x14003bf4f
mov r8d, 0x18
lea rcx, [0x14013bfd0]
jmp 0x14003bf5c
mov r8d, 0x16
lea rcx, [0x14013bfe8]
call fcn.1400f6318
mov rcx, rdi
call fcn.1400f5f4c
lea r9, [rbp + 0x2490]
mov rcx, rbx
lea r8, str.FileName
lea rdx, [rbp + 0x1490]
call fcn.14009ffdc
jmp 0x14003c166
mov r9, rsi
lea r8, str.Setup_s
mov edx, 0x50
lea rcx, [rbp + 0xfd0]
call fcn.1400026d0
mov rcx, rsi
call fcn.14003b2e4
test al, al
je 0x14003c166
mov r15d, 1
lea rdx, str.Exist
mov r8d, r15d
lea rcx, [rbp + 0xfd0]
call fcn.14009f660
test eax, eax
mov dword [rsp + 0x20], 0x200
lea rdi, [0x14010d188]
mov r9, rdi
lea r8, [rbp + 0x1090]
lea rdx, [0x14010e0a0]
setne r12b
lea rcx, [rbp + 0xfd0]
call fcn.14009f7ec
lea rdx, [0x140112360]
lea rcx, [rbp + 0x1090]
call fcn.14009116c
xor r13d, r13d
test eax, eax
je 0x14003c035
lea rdx, str.WinRAR.ZIP
lea rcx, [rbp + 0x1090]
call fcn.14009116c
test eax, eax
jne 0x14003c03d
mov word [rbp + 0x1090], r13w
mov rbx, 0xffffffff80000000
mov rcx, rbx
test r12b, r12b
je 0x14003c0da
lea r9, [rbp + 0x1090]
mov r8, rdi
mov rdx, rsi
call fcn.14009ffdc
mov r9, rdi
mov dword [rsp + 0x20], 0x800
lea r8, [rbp + 0x2490]
lea rdx, str.ShellNew
lea rcx, [rbp + 0xfd0]
call fcn.14009f7ec
lea r8, str.FileName
mov rcx, rbx
lea rdx, [rbp + 0x1490]
call fcn.14009f0e0
movzx eax, word [rbp + 0x2490]
test ax, ax
je 0x14003c102
lea rdx, [rbp + 0x1490]
mov rcx, rbx
cmp ax, 0x2a
jne 0x14003c0c5
mov r9, rdi
lea r8, str.NullFile
jmp 0x14003c0d3
lea r9, [rbp + 0x2490]
lea r8, str.FileName
call fcn.14009ffdc
jmp 0x14003c102
lea rdx, [rbp + 0x1490]
call fcn.14009f050
mov r9, rdi
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.14009ffdc
mov rdx, rsi
mov rcx, rbx
call fcn.14009f050
test r14b, r14b
je 0x14003c166
mov esi, r13d
mov r9d, esi
lea r8, str..r_02d
mov edx, 0x20
lea rcx, [rbp + 0xf90]
call fcn.1400026d0
test r12b, r12b
je 0x14003c14f
cmp word [rbp + 0x1090], r13w
je 0x14003c14f
lea r9, [rbp + 0x1090]
mov r8, rdi
lea rdx, [rbp + 0xf90]
mov rcx, rbx
call fcn.14009ffdc
jmp 0x14003c15e
lea rdx, [rbp + 0xf90]
mov rcx, rbx
call fcn.14009f050
add esi, r15d
cmp esi, 0x64
jl 0x14003c10a
mov rcx, qword [rbp + 0x3490]
xor rcx, rsp
call fcn.1400eebd0
mov rbx, qword [rsp + 0x35e8]
add rsp, 0x35a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret