Function at 0x14017bab0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x220
mov qword [rax - 0xb8], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rsp + 0x218], rax
mov r15, rdx
mov rsi, rcx
cmp byte [0x140428c56], 0
je 0x14017bafe
xor al, al
jmp 0x14017c726
lea rax, [rsp + 0x118]
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x120], rbx
mov qword [rsp + 0x128], rbx
mov qword [rsp + 0x130], rbx
mov cl, 1
call fcn.14001d0b0
mov qword [rsp + 0x130], rax
xor edx, edx
lea rcx, [rsp + 0x118]
call fcn.1400bf6b0
nop
lea edx, [rbx + 0x10]
lea rcx, [rsp + 0x118]
call fcn.1400bf6b0
mov qword [rsp + 0x40], 0x10
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x40]
cmp rax, 0x10
cmovae r8, rcx
mov r8, qword [r8]
lea rdx, [0x140328668]
mov rcx, qword [rsp + 0x118]
call fcn.1402b7460
nop
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rbx
mov cl, 1
call fcn.14001d0b0
mov qword [rsp + 0xf0], rax
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.1400bf6b0
nop
lea edx, [rbx + 0x10]
lea rcx, [rsp + 0xd8]
call fcn.1400bf6b0
mov qword [rsp + 0x50], 0x10
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x50]
cmp rax, 0x10
cmovae r8, rcx
mov r8, qword [r8]
lea rdx, [0x140328790]
mov rcx, qword [rsp + 0xd8]
call fcn.1402b7460
nop
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x110], rbx
mov cl, 1
call fcn.14001d0b0
mov qword [rsp + 0x110], rax
xor edx, edx
lea rcx, [rsp + 0xf8]
call fcn.1400bf6b0
nop
lea edx, [rbx + 0x10]
lea rcx, [rsp + 0xf8]
call fcn.1400bf6b0
mov qword [rsp + 0x50], 0x10
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x50]
cmp rax, 0x10
cmovae r8, rcx
mov r8, qword [r8]
lea rdx, [0x1403287a0]
mov rcx, qword [rsp + 0xf8]
call fcn.1402b7460
nop
mov qword [rsp + 0x1b0], 0xf
mov qword [rsp + 0x1a8], rbx
mov byte [rsp + 0x198], bl
xor r8d, r8d
lea rdx, [0x1403349b5]
lea rcx, [rsp + 0x198]
call fcn.1400ba880
nop
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], rbx
mov cl, 1
call fcn.14001d0b0
mov qword [rsp + 0xd0], rax
xor edx, edx
lea rcx, [rsp + 0xb8]
call fcn.1400bf6b0
nop
mov rdx, qword [rsp + 0x1a8]
shr rdx, 1
inc rdx
lea rcx, [rsp + 0xb8]
call fcn.1400bf6b0
mov rdi, qword [rsp + 0x1a8]
lea rdx, [rsp + 0x198]
cmp qword [rsp + 0x1b0], 0x10
cmovae rdx, qword [rsp + 0x198]
mov qword [rsp + 0x50], rbx
mov byte [rsp + 0x20], 1
lea r9, [rsp + 0x50]
mov r8, rdi
mov rcx, qword [rsp + 0xb8]
call fcn.14004b320
cmp qword [rsp + 0x50], rdi
je 0x14017bdf7
lea rax, str.hex_decode:_input_did_not_have_full_bytes
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x178]
call fcn.1402b82bc
lea rax, vtable.std::invalid_argument.0
mov qword [rsp + 0x178], rax
lea rdx, [0x14040cff0]
lea rcx, [rsp + 0x178]
call fcn.1402bece8
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.1400bf6b0
nop
cmp qword [rsp + 0x1b0], 0x10
jb 0x14017be20
mov rcx, qword [rsp + 0x198]
call fcn.1402150f0
mov qword [rsp + 0x1b0], 0xf
mov qword [rsp + 0x1a8], rbx
mov byte [rsp + 0x198], 0
lea rcx, [rsp + 0xb8]
call fcn.14017c7f0
lea rax, [0x140346ce0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rax, qword [rsi]
lea rdx, [rsp + 0x58]
mov rcx, rsi
call qword [rax + 0x18]
mov ecx, 0xb8
call fcn.1402b6dbc
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14017be8f
xor edx, edx
lea r8d, [rdx + 0x48]
mov rcx, rax
call fcn.140052fc0
mov r14, rax
jmp 0x14017be92
mov r14, rbx
mov qword [rsp + 0x1b0], 0xf
mov qword [rsp + 0x1a8], rbx
mov byte [rsp + 0x198], 0
mov r8d, 0x11
lea rdx, str.AES_128_CBC_PKCS7
lea rcx, [rsp + 0x198]
call fcn.1400ba880
nop
xor edx, edx
lea rcx, [rsp + 0x198]
call fcn.140073c10
mov rsi, rax
mov rax, qword [rax]
lea rdx, [rsp + 0x118]
mov rcx, rsi
call qword [rax + 0x30]
cmp qword [rsp + 0xe0], 0
je 0x14017bf09
mov rax, qword [rsi]
lea rdx, [rsp + 0xd8]
mov rcx, rsi
call qword [rax + 0x38]
nop
lea rax, vtable.Botan::Pipe.0
mov qword [rsp + 0x90], rax
mov ecx, 0x30
call fcn.1402b6dbc
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14017bf6b
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbx
mov ecx, 0x10
call fcn.1402b6dbc
test rax, rax
jne 0x14017bf56
call fcn.1402b22c4
mov qword [rdi], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rax, qword [rdi]
mov qword [rax], rdi
mov qword [rdi + 0x28], rbx
jmp 0x14017bf6e
mov rdi, rbx
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa8], rbx
mov byte [rsp + 0xb0], 0
mov rdx, rsi
lea rcx, [rsp + 0x90]
call fcn.140059f10
mov rdx, r14
lea rcx, [rsp + 0x90]
call fcn.140059f10
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.140059f10
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.140059f10
nop
cmp qword [rsp + 0x1b0], 0x10
jb 0x14017bfe5
mov rcx, qword [rsp + 0x198]
call fcn.1402150f0
mov qword [rsp + 0x1b0], 0xf
mov qword [rsp + 0x1a8], rbx
mov byte [rsp + 0x198], 0
lea rax, vtable.Core::Text::ASCIIEncoding.0
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.140201d40
movsxd r14, eax
mov rcx, r14
call fcn.1402b2274
mov rdi, rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x64]
mov r8, qword [rsp + 0x58]
xor edx, edx
mov ecx, 0x4e4
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rsi, eax
cmp esi, r14d
jge 0x14017c061
mov byte [rsi + rdi], 0
lea rcx, [rsp + 0x90]
call fcn.140059ae0
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x90]
call fcn.14005a0c0
lea rcx, [rsp + 0x90]
call fcn.140059bf0
nop
or rdx, 0xffffffffffffffff
lea rcx, [rsp + 0x90]
call fcn.14005a470
mov rsi, rax
lea rax, vtable.Core::ByteArray.0
mov qword [rsp + 0x158], rax
mov edi, ebx
mov dword [rsp + 0x160], ebx
mov r12, rbx
mov qword [rsp + 0x168], rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r13, rax
mov qword [rsp + 0x170], rax
test esi, esi
je 0x14017c104
movsxd r8, esi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r12, rax
mov qword [rsp + 0x168], rax
test rax, rax
cmovne edi, esi
mov dword [rsp + 0x160], edi
movsxd r8, edi
or r9, 0xffffffffffffffff
mov rdx, r12
lea rcx, [rsp + 0x90]
call fcn.14005a170
lea rdx, str.HitmanPro.lic
lea rcx, [rsp + 0x138]
call fcn.1400f1930
nop
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x14017c155
and eax, 0xfffffffe
mov edx, eax
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor r9d, r9d
lea edx, [r9 + 2]
mov r8d, 0x40000000
lea rcx, [rsp + 0x138]
call fcn.140206060
mov rsi, rax
test rax, rax
je 0x14017c19b
mov rax, qword [rax]
mov r8d, edi
mov rdx, r12
mov rcx, rsi
call qword [rax + 0x48]
mov r14d, eax
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x20]
cmp r14d, edi
sete sil
jmp 0x14017c19e
xor sil, sil
test sil, sil
je 0x14017c5d4
lea rax, vtable.Botan::AutoSeeded_RNG.0
mov qword [rsp + 0x198], rax
mov rcx, qword [0x140428ac8]
test rcx, rcx
jne 0x14017c1fb
mov ecx, 0x90
call fcn.1402b6dbc
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14017c1e0
mov rcx, rax
call fcn.1400739f0
jmp 0x14017c1e3
mov rax, rbx
mov qword [0x140428ac8], rax
mov dl, 1
mov rcx, rax
call fcn.1400736f0
mov rcx, qword [0x140428ac8]
call fcn.140073640
mov rcx, rax
mov qword [rsp + 0x1a0], rax
mov rax, qword [rax]
mov r8d, 0x20
lea rdx, [rsp + 0x1f8]
call qword [rax]
mov ecx, 0xb8
call fcn.1402b6dbc
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14017c245
xor edx, edx
lea r8d, [rdx + 0x48]
mov rcx, rax
call fcn.140052fc0
mov r14, rax
jmp 0x14017c248
mov r14, rbx
mov qword [rsp + 0x1d0], 0xf
mov qword [rsp + 0x1c8], rbx
mov byte [rsp + 0x1b8], 0
mov r8d, 0x11
lea rdx, str.AES_256_CBC_PKCS7
lea rcx, [rsp + 0x1b8]
call fcn.1400ba880
nop
xor edx, edx
lea rcx, [rsp + 0x1b8]
call fcn.140073c10
mov rsi, rax
mov rax, qword [rax]
lea rdx, [rsp + 0xb8]
mov rcx, rsi
call qword [rax + 0x30]
cmp qword [rsp + 0x100], 0
je 0x14017c2bf
mov rax, qword [rsi]
lea rdx, [rsp + 0xf8]
mov rcx, rsi
call qword [rax + 0x38]
nop
lea rax, vtable.Botan::Pipe.0
mov qword [rsp + 0x68], rax
mov ecx, 0x30
call fcn.1402b6dbc
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14017c31e
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbx
mov ecx, 0x10
call fcn.1402b6dbc
test rax, rax
jne 0x14017c309
call fcn.1402b22c4
mov qword [rdi], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rax, qword [rdi]
mov qword [rax], rdi
mov qword [rdi + 0x28], rbx
jmp 0x14017c321
mov rdi, rbx
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rbx
mov byte [rsp + 0x88], 0
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140059f10
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.140059f10
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140059f10
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140059f10
nop
cmp qword [rsp + 0x1d0], 0x10
jb 0x14017c386
mov rcx, qword [rsp + 0x1b8]
call fcn.1402150f0
mov qword [rsp + 0x1d0], 0xf
mov qword [rsp + 0x1c8], rbx
mov byte [rsp + 0x1b8], 0
lea rcx, [rsp + 0x68]
call fcn.140059ae0
mov r8d, 0x10
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x68]
call fcn.14005a0c0
test r15, r15
jne 0x14017c3ce
mov rdx, rbx
jmp 0x14017c3d8
mov rax, qword [r15]
movsxd rdx, dword [rax + 0xc]
add rdx, r15
lea rcx, [rsp + 0x1d8]
call fcn.1400aae90
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14017c3f4
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14005a0c0
nop
cmp qword [rsp + 0x1f0], 0x10
jb 0x14017c41a
mov rcx, qword [rsp + 0x1d8]
call fcn.1402150f0
mov r8d, 0x10
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x68]
call fcn.14005a0c0
lea rcx, [rsp + 0x68]
call fcn.140059bf0
or rdx, 0xffffffffffffffff
lea rcx, [rsp + 0x68]
call fcn.14005a470
mov rsi, rax
lea rax, vtable.Core::ByteArray.0
mov qword [rsp + 0x1b8], rax
mov dword [rsp + 0x1c0], ebx
mov rdi, rbx
mov qword [rsp + 0x1c8], rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r14, rax
mov qword [rsp + 0x1d0], rax
test esi, esi
je 0x14017c4ac
movsxd r8, esi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
mov qword [rsp + 0x1c8], rax
test rax, rax
cmovne ebx, esi
mov dword [rsp + 0x1c0], ebx
movsxd r8, ebx
or r9, 0xffffffffffffffff
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.14005a170
lea rdx, str.HitmanPro.key
lea rcx, [rsp + 0x148]
call fcn.1400f1930
nop
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x14017c4fa
and eax, 0xfffffffe
mov edx, eax
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor r9d, r9d
lea edx, [r9 + 2]
mov r8d, 0x40000000
lea rcx, [rsp + 0x148]
call fcn.140206060
mov rsi, rax
test rax, rax
je 0x14017c540
mov rax, qword [rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x48]
mov r15d, eax
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x20]
cmp r15d, ebx
sete sil
jmp 0x14017c543
xor sil, sil
mov rcx, qword [0x140428b78]
test rcx, rcx
je 0x14017c554
call fcn.14010ef40
lea rbx, vtable.Core::EventArgs.0
mov qword [rsp + 0x50], rbx
lea r8, [rsp + 0x50]
call fcn.14017e8b0
nop
mov qword [rsp + 0x50], rbx
cmp dword [rsp + 0x150], 0
jle 0x14017c588
mov rcx, qword [rsp + 0x148]
call fcn.1402b7350
nop
test rdi, rdi
je 0x14017c59c
mov r8, rdi
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
lea rdi, vtable.Botan::Pipe.0
mov qword [rsp + 0x68], rdi
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x68]
call fcn.140059a10
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x14017c5d2
mov rcx, rbx
call fcn.140059780
mov rcx, rbx
call fcn.1402150f0
nop
jmp 0x14017c5db
lea rdi, vtable.Botan::Pipe.0
cmp dword [rsp + 0x140], 0
jle 0x14017c5f3
mov rcx, qword [rsp + 0x138]
call fcn.1402b7350
nop
test r12, r12
je 0x14017c607
mov r8, r12
xor edx, edx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov qword [rsp + 0x90], rdi
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x90]
call fcn.140059a10
mov rbx, qword [rsp + 0xa0]
test rbx, rbx
je 0x14017c642
mov rcx, rbx
call fcn.140059780
mov rcx, rbx
call fcn.1402150f0
nop
lea rax, vtable.Botan::DataSource.0
mov qword [rsp + 0x90], rax
cmp dword [rsp + 0x60], 0
jle 0x14017c663
mov rcx, qword [rsp + 0x58]
call fcn.1402b7350
nop
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x14017c691
mov rdx, qword [rsp + 0xb8]
test rdx, rdx
je 0x14017c691
mov r8, qword [rsp + 0xc8]
test r8, r8
je 0x14017c691
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x14017c6bf
mov rdx, qword [rsp + 0xf8]
test rdx, rdx
je 0x14017c6bf
mov r8, qword [rsp + 0x108]
test r8, r8
je 0x14017c6bf
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x14017c6ed
mov rdx, qword [rsp + 0xd8]
test rdx, rdx
je 0x14017c6ed
mov r8, qword [rsp + 0xe8]
test r8, r8
je 0x14017c6ed
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x130]
test rcx, rcx
je 0x14017c71b
mov rdx, qword [rsp + 0x118]
test rdx, rdx
je 0x14017c71b
mov r8, qword [rsp + 0x128]
test r8, r8
je 0x14017c71b
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x14017c722
movzx eax, sil
mov rcx, qword [rsp + 0x218]
xor rcx, rsp
call fcn.1402b6d40
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret