Function at 0x140001df0
Capabilities:
Set file attributes

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
push r15
push r13
sub rsp, 0xe30
lea rax, [0x140003400]
mov qword [rsp + 0xde0], rax
lea rax, [0x140003420]
mov qword [rsp + 0xde8], rax
call fcn.1400034e0
lea rax, [0x140003430]
mov qword [rsp + 0xdd0], rax
lea rax, [0x140003450]
mov qword [rsp + 0xdd8], rax
lea rcx, [rsp + 0xdb8]
call fcn.140003a30
lea rcx, [rsp + 0xd70]
xor edx, edx
call fcn.140003e40
mov qword [rsp + 0xda8], 0
mov qword [rsp + 0xe20], 0
lea rcx, [rsp + 0xdc8]
mov rdx, qword [0x140023f40]
call fcn.140003750
test eax, eax
je 0x140001e96
mov ebx, 0xb
jmp 0x140001ecf
cmp qword [0x140023f00], 0
je 0x140001eb1
mov rax, qword [0x140023f00]
mov eax, dword [rax]
mov qword [rsp + 0xe20], rax
lea rcx, [rsp + 0xdc8]
lea rdx, [rsp + 0xe20]
xor r8d, r8d
call fcn.1400038d0
test eax, eax
jne 0x140001e8f
xor ebx, ebx
test ebx, ebx
jne 0x140001f2f
lea rcx, [rsp + 0xde0]
mov edx, 0x40000
call qword [rsp + 0xde0]
mov qword [rsp + 0xda8], rax
test rax, rax
je 0x140001f2a
mov qword [rsp + 0xdb0], 0x40000
lea rax, [rsp + 0xdb8]
mov qword [rsp + 0xd90], rax
mov qword [rsp + 0xda0], 0
mov qword [rsp + 0xd98], 0
jmp 0x140001f2f
mov ebx, 2
lea rcx, [rsp + 0xc98]
call fcn.140004070
test ebx, ebx
je 0x140001f59
cmp byte [0x140023ec0], 0
jne 0x140002538
mov ecx, ebx
call fcn.140001cb0
jmp 0x140002538
lea rcx, [rsp + 0xc98]
lea rdx, [rsp + 0xd70]
lea r8, [rsp + 0xde0]
lea r9, [rsp + 0xdd0]
call fcn.140006f10
mov ebx, eax
test ebx, ebx
jne 0x140001f40
mov dword [rsp + 0x5c], 0xffffffff
mov qword [rsp + 0xe18], 0
mov qword [rsp + 0xe10], 0
mov qword [0x140023f80], 0
mov qword [0x140023f60], 0
cmp dword [rsp + 0xcf8], 0
jbe 0x140002028
xor esi, esi
mov rax, qword [rsp + 0xd08]
mov edx, esi
shr edx, 3
movzx eax, byte [rax + rdx]
mov edx, pe_nt_image_headers64
mov ecx, esi
and ecx, 7
sar edx, cl
test eax, edx
je 0x140001ff1
add qword [0x140023f80], 1
jmp 0x14000201c
mov rax, qword [rsp + 0xd00]
lea edx, [esi + 1]
mov edx, edx
mov rdx, qword [rax + rdx*8]
mov ecx, esi
sub rdx, qword [rax + rcx*8]
mov rax, qword [0x140023f80]
lea rax, [rax + rdx + 1]
mov qword [0x140023f80], rax
add esi, 1
cmp esi, dword [rsp + 0xcf8]
jb 0x140001fc6
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x54], 0
cmp dword [rsp + 0xcf8], 0
ja 0x1400022f1
mov edi, ebx
jmp 0x140002517
mov edi, 0xb
jmp 0x140002517
cmp byte [0x140023ec0], 0
jne 0x14000238e
lea r14, [rsp + r12*2 + 0x67c]
mov edx, esi
lea rcx, [rsp + 0xc98]
mov r8, r14
call fcn.140007190
cmp byte [0x140023fa0], 0
jne 0x14000208f
mov rcx, r14
call fcn.140001d20
lea rax, [rsp + 0xdd0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xde0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xe00]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xe08]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe10]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xe18]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0xc98]
lea rdx, [rsp + 0xd70]
mov r8d, esi
lea r9, [rsp + 0x5c]
call fcn.140006f50
mov ebx, eax
test ebx, ebx
jne 0x140002046
mov rax, qword [rsp + 0xd08]
mov edx, esi
shr edx, 3
movzx eax, byte [rax + rdx]
mov edx, pe_nt_image_headers64
mov ecx, esi
and ecx, 7
sar edx, cl
test eax, edx
setne r15b
movzx r15d, r15b
cmp word [r14], 0
je 0x14000216d
xor r13, r13
cmp word [r14 + r13*2], 0x2f
jne 0x140002161
mov word [r14 + r13*2], 0
cmp dword [0x140022ba0], 0
je 0x14000215a
lea rcx, [rsp + 0x67c]
call fcn.140016c90
mov word [r14 + r13*2], 0x5c
add r13, 1
cmp word [r14 + r13*2], 0
jne 0x140002135
test r15d, r15d
je 0x140002258
cmp dword [0x140022ba0], 0
je 0x1400021a8
lea rcx, [rsp + 0x67c]
call fcn.140016c90
cmp byte [0x140022b80], 0
je 0x1400021a8
mov ecx, 1
lea rdx, [rsp + 0x67c]
call qword [sym.imp.pbcore64.dll_AddUninstLog]
add qword [0x140023f60], 1
call fcn.140001d80
jmp 0x140002243
mov rax, qword [0x140023f60]
add rax, qword [rsp + 0xe00]
add rax, 1
mov qword [0x140023f60], rax
call fcn.140001d80
jmp 0x140002243
mov rax, qword [0x140023f60]
add rax, qword [rsp + 0xe00]
add rax, 1
mov qword [0x140023f60], rax
call fcn.140001d80
jmp 0x140002243
cmp qword [rsp + 0xd20], 0
je 0x140002243
mov rax, qword [rsp + 0xd20]
mov edx, esi
shr edx, 3
movzx eax, byte [rax + rdx]
mov edx, pe_nt_image_headers64
mov ecx, esi
and ecx, 7
sar edx, cl
test eax, edx
je 0x140002243
mov rax, qword [rsp + 0xd28]
mov edx, esi
mov edx, dword [rax + rdx*4]
lea rcx, [rsp + 0x67c]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add esi, 1
cmp esi, dword [rsp + 0xcf8]
jb 0x1400022f3
jmp 0x140002046
cmp qword [rsp + 0xd30], 0
je 0x14000229d
mov rax, qword [rsp + 0xd30]
mov edx, esi
shr edx, 3
movzx eax, byte [rax + rdx]
mov edx, pe_nt_image_headers64
mov ecx, esi
and ecx, 7
sar edx, cl
test eax, edx
je 0x14000229d
mov rax, qword [rsp + 0xd38]
mov edx, esi
mov ecx, dword [rax + rdx*8 + 4]
mov dword [rsp + 0x58], ecx
mov eax, dword [rax + rdx*8]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x67c]
mov rdx, qword [rsp + 0xe00]
lea r8, [rsp + 0x58]
lea r9, [rsp + 0x54]
call qword [0x140023ee0]
cmp eax, 1
je 0x1400022d2
xor edx, edx
cmp eax, 2
jne 0x1400022d7
mov byte [0x140023ec0], 1
jmp 0x1400022d7
mov edx, 1
cmp byte [0x140023ec0], 0
jne 0x14000238e
test edx, edx
je 0x140002398
jmp 0x1400021ba
xor esi, esi
mov qword [rsp + 0xe08], 0
mov qword [rsp + 0xe00], 0
mov edx, esi
lea rcx, [rsp + 0xc98]
xor r8, r8
call fcn.140007190
mov r14, rax
lea rdx, [rsp + 0x67c]
mov r8, qword [0x140023f20]
xor ecx, ecx
nop word [rax + rax]
nop word [rax + rax]
mov ax, word [r8 + rcx]
mov word [rdx + rcx], ax
add rcx, 2
test ax, ax
jne 0x140002340
lea rcx, [rsp + 0x67c]
call fcn.140016af0
lea rax, [rsp + 0x67c]
or r12, 0xffffffffffffffff
nop dword [rax + rax]
add r12, 1
cmp word [rax + r12*2], 0
jne 0x140002370
cmp r14, 0x104
jb 0x140002057
jmp 0x14000204d
mov edi, 2
jmp 0x140002517
lea rcx, [rsp + 0xdf8]
lea rdx, [rsp + 0x67c]
call fcn.140003760
test eax, eax
je 0x14000240f
lea rcx, str.errorcreatefile
lea rdx, [rsp + 0x60]
mov r8d, 0x61c
call qword [sym.imp.pbcore64.dll_EvalVarBuf]
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x67c]
call fcn.14000e5c0
xor ecx, ecx
lea rdx, [rsp + 0x60]
lea r8, [0x1400228a0]
mov r9d, 0x116
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
je 0x14000240a
cmp eax, 0xa
je 0x140002398
cmp eax, 0xb
je 0x1400021db
jmp 0x14000240f
mov ebx, 0xb
mov rax, qword [rsp + 0xe00]
mov qword [rsp + 0xdf0], rax
mov rax, qword [rsp + 0xe18]
mov rdx, rax
add rdx, qword [rsp + 0xe08]
lea rcx, [rsp + 0xdf8]
lea r8, [rsp + 0xdf0]
call fcn.140003840
test eax, eax
jne 0x14000245d
mov rax, qword [rsp + 0xe00]
cmp qword [rsp + 0xdf0], rax
je 0x140002496
lea rcx, str.errorwritefile
lea rdx, [rsp + 0x60]
mov r8d, 0x61c
call qword [sym.imp.pbcore64.dll_EvalVarBuf]
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x67c]
call fcn.14000e5c0
lea rcx, [rsp + 0x60]
call fcn.140016ac0
mov ebx, 0xb
mov rax, qword [0x140023f60]
add rax, qword [rsp + 0xe00]
add rax, 1
mov qword [0x140023f60], rax
call fcn.140001d80
cmp qword [rsp + 0xd30], 0
je 0x1400024f8
mov rax, qword [rsp + 0xd30]
mov edx, esi
shr edx, 3
movzx eax, byte [rax + rdx]
mov edx, pe_nt_image_headers64
mov ecx, esi
and ecx, 7
sar edx, cl
test eax, edx
je 0x1400024f8
lea rcx, [rsp + 0xdf8]
lea rdx, [rsp + 0x58]
lea r8, [rsp + 0x54]
call fcn.140003aa0
lea rcx, [rsp + 0xdf8]
call fcn.140003770
test ebx, ebx
jne 0x140002046
test eax, eax
je 0x1400021fc
mov edi, eax
mov ebx, edi
lea rcx, [rsp + 0xde0]
mov rdx, qword [rsp + 0xe18]
call qword [rsp + 0xde8]
test ebx, ebx
jne 0x140001f40
lea rcx, [rsp + 0xc98]
lea rdx, [rsp + 0xde0]
call fcn.140004130
mov rdx, qword [rsp + 0xda8]
lea rcx, [rsp + 0xde0]
call qword [rsp + 0xde8]
lea rcx, [rsp + 0xdc8]
call fcn.140003770
mov eax, ebx
add rsp, 0xe30
pop r13
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret