Function at 0x14017ce80
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 [0x140418a10]
xor rax, rsp
mov qword [rsp + 0x218], rax
mov r15, rdx
mov rsi, rcx
cmp byte [0x14042bc36], 0
je 0x14017cece
xor al, al
jmp 0x14017daf6
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, [0x14032a6a0]
mov rcx, qword [rsp + 0x118]
call fcn.1402b9d30
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, [0x14032a7a0]
mov rcx, qword [rsp + 0xd8]
call fcn.1402b9d30
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, [0x14032a7b0]
mov rcx, qword [rsp + 0xf8]
call fcn.1402b9d30
nop
mov qword [rsp + 0x1b0], 0xf
mov qword [rsp + 0x1a8], rbx
mov byte [rsp + 0x198], bl
xor r8d, r8d
lea rdx, [0x140336985]
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 0x14017d1c7
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.1402bab8c
lea rax, vtable.std::invalid_argument.0
mov qword [rsp + 0x178], rax
lea rdx, [0x14040fdd8]
lea rcx, [rsp + 0x178]
call fcn.1402c1558
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.1400bf6b0
nop
cmp qword [rsp + 0x1b0], 0x10
jb 0x14017d1f0
mov rcx, qword [rsp + 0x198]
call fcn.1402177e0
mov qword [rsp + 0x1b0], 0xf
mov qword [rsp + 0x1a8], rbx
mov byte [rsp + 0x198], 0
lea rcx, [rsp + 0xb8]
call fcn.14017dbc0
lea rax, [0x140348ca0]
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.1402b968c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14017d25f
xor edx, edx
lea r8d, [rdx + 0x48]
mov rcx, rax
call fcn.140052fc0
mov r14, rax
jmp 0x14017d262
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 0x14017d2d9
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.1402b968c
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14017d33b
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.1402b968c
test rax, rax
jne 0x14017d326
call fcn.1402b49b4
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 0x14017d33e
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 0x14017d3b5
mov rcx, qword [rsp + 0x198]
call fcn.1402177e0
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.140204460
movsxd r14, eax
mov rcx, r14
call fcn.1402b4964
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 0x14017d431
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 0x14017d4d4
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.1400f2bd0
nop
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x14017d525
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.140208780
mov rsi, rax
test rax, rax
je 0x14017d56b
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 0x14017d56e
xor sil, sil
test sil, sil
je 0x14017d9a4
lea rax, vtable.Botan::AutoSeeded_RNG.0
mov qword [rsp + 0x198], rax
mov rcx, qword [0x14042baa8]
test rcx, rcx
jne 0x14017d5cb
mov ecx, 0x90
call fcn.1402b968c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14017d5b0
mov rcx, rax
call fcn.1400739f0
jmp 0x14017d5b3
mov rax, rbx
mov qword [0x14042baa8], rax
mov dl, 1
mov rcx, rax
call fcn.1400736f0
mov rcx, qword [0x14042baa8]
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.1402b968c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14017d615
xor edx, edx
lea r8d, [rdx + 0x48]
mov rcx, rax
call fcn.140052fc0
mov r14, rax
jmp 0x14017d618
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 0x14017d68f
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.1402b968c
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14017d6ee
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.1402b968c
test rax, rax
jne 0x14017d6d9
call fcn.1402b49b4
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 0x14017d6f1
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 0x14017d756
mov rcx, qword [rsp + 0x1b8]
call fcn.1402177e0
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 0x14017d79e
mov rdx, rbx
jmp 0x14017d7a8
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 0x14017d7c4
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14005a0c0
nop
cmp qword [rsp + 0x1f0], 0x10
jb 0x14017d7ea
mov rcx, qword [rsp + 0x1d8]
call fcn.1402177e0
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 0x14017d87c
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.1400f2bd0
nop
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x14017d8ca
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.140208780
mov rsi, rax
test rax, rax
je 0x14017d910
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 0x14017d913
xor sil, sil
mov rcx, qword [0x14042bb58]
test rcx, rcx
je 0x14017d924
call fcn.1401101d0
lea rbx, vtable.Core::EventArgs.0
mov qword [rsp + 0x50], rbx
lea r8, [rsp + 0x50]
call fcn.14017fc80
nop
mov qword [rsp + 0x50], rbx
cmp dword [rsp + 0x150], 0
jle 0x14017d958
mov rcx, qword [rsp + 0x148]
call fcn.1402b9c20
nop
test rdi, rdi
je 0x14017d96c
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 0x14017d9a2
mov rcx, rbx
call fcn.140059780
mov rcx, rbx
call fcn.1402177e0
nop
jmp 0x14017d9ab
lea rdi, vtable.Botan::Pipe.0
cmp dword [rsp + 0x140], 0
jle 0x14017d9c3
mov rcx, qword [rsp + 0x138]
call fcn.1402b9c20
nop
test r12, r12
je 0x14017d9d7
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 0x14017da12
mov rcx, rbx
call fcn.140059780
mov rcx, rbx
call fcn.1402177e0
nop
lea rax, vtable.Botan::DataSource.0
mov qword [rsp + 0x90], rax
cmp dword [rsp + 0x60], 0
jle 0x14017da33
mov rcx, qword [rsp + 0x58]
call fcn.1402b9c20
nop
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x14017da61
mov rdx, qword [rsp + 0xb8]
test rdx, rdx
je 0x14017da61
mov r8, qword [rsp + 0xc8]
test r8, r8
je 0x14017da61
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x14017da8f
mov rdx, qword [rsp + 0xf8]
test rdx, rdx
je 0x14017da8f
mov r8, qword [rsp + 0x108]
test r8, r8
je 0x14017da8f
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x14017dabd
mov rdx, qword [rsp + 0xd8]
test rdx, rdx
je 0x14017dabd
mov r8, qword [rsp + 0xe8]
test r8, r8
je 0x14017dabd
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x130]
test rcx, rcx
je 0x14017daeb
mov rdx, qword [rsp + 0x118]
test rdx, rdx
je 0x14017daeb
mov r8, qword [rsp + 0x128]
test r8, r8
je 0x14017daeb
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x14017daf2
movzx eax, sil
mov rcx, qword [rsp + 0x218]
xor rcx, rsp
call fcn.1402b9610
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