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

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x220
mov qword [r11 - 0xb8], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x218], rax
mov r15, rdx
mov rsi, rcx
lea rax, [r11 - 0x130]
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov qword [r11 - 0x130], rbx
mov qword [r11 - 0x128], rbx
mov qword [r11 - 0x120], rbx
mov qword [r11 - 0x118], rbx
mov cl, 1
call fcn.14001ce70
mov qword [rsp + 0x130], rax
xor edx, edx
lea rcx, [rsp + 0x118]
call fcn.1400bf090
nop
lea edx, [rbx + 0x10]
lea rcx, [rsp + 0x118]
call fcn.1400bf090
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, [0x140307030]
mov rcx, qword [rsp + 0x118]
call fcn.140298710
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.14001ce70
mov qword [rsp + 0xf0], rax
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.1400bf090
nop
lea edx, [rbx + 0x10]
lea rcx, [rsp + 0xd8]
call fcn.1400bf090
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, [0x140306fc8]
mov rcx, qword [rsp + 0xd8]
call fcn.140298710
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.14001ce70
mov qword [rsp + 0x110], rax
xor edx, edx
lea rcx, [rsp + 0xf8]
call fcn.1400bf090
nop
lea edx, [rbx + 0x10]
lea rcx, [rsp + 0xf8]
call fcn.1400bf090
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, [0x140307020]
mov rcx, qword [rsp + 0xf8]
call fcn.140298710
nop
mov qword [rsp + 0x1b0], 0xf
mov qword [rsp + 0x1a8], rbx
mov byte [rsp + 0x198], bl
xor r8d, r8d
lea rdx, [0x140311bed]
lea rcx, [rsp + 0x198]
call fcn.1400ba500
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.14001ce70
mov qword [rsp + 0xd0], rax
xor edx, edx
lea rcx, [rsp + 0xb8]
call fcn.1400bf090
nop
mov rdx, qword [rsp + 0x1a8]
shr rdx, 1
inc rdx
lea rcx, [rsp + 0xb8]
call fcn.1400bf090
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.14004b0e0
cmp qword [rsp + 0x50], rdi
je 0x14016c822
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.14029956c
lea rax, vtable.std::invalid_argument.0
mov qword [rsp + 0x178], rax
lea rdx, [0x1403e23c0]
lea rcx, [rsp + 0x178]
call fcn.14029f768
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.1400bf090
nop
cmp qword [rsp + 0x1b0], 0x10
jb 0x14016c84b
mov rcx, qword [rsp + 0x198]
call fcn.1402012c0
mov qword [rsp + 0x1b0], 0xf
mov qword [rsp + 0x1a8], rbx
mov byte [rsp + 0x198], 0
lea rcx, [rsp + 0xb8]
call fcn.14016d210
lea rax, [0x140323de0]
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.14029806c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14016c8ba
xor edx, edx
lea r8d, [rdx + 0x48]
mov rcx, rax
call fcn.140052d80
mov r14, rax
jmp 0x14016c8bd
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.1400ba500
nop
xor edx, edx
lea rcx, [rsp + 0x198]
call fcn.1400739d0
mov rsi, rax
mov rax, qword [rax]
lea rdx, [rsp + 0x118]
mov rcx, rsi
call qword [rax + 0x30]
cmp qword [rsp + 0xe0], 0
je 0x14016c934
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.14029806c
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14016c996
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.14029806c
test rax, rax
jne 0x14016c981
call fcn.140296fa8
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 0x14016c999
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.140059cd0
mov rdx, r14
lea rcx, [rsp + 0x90]
call fcn.140059cd0
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.140059cd0
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.140059cd0
nop
cmp qword [rsp + 0x1b0], 0x10
jb 0x14016ca10
mov rcx, qword [rsp + 0x198]
call fcn.1402012c0
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.1401ee180
movsxd r14, eax
mov rcx, r14
call fcn.140296f58
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 0x14016ca8c
mov byte [rsi + rdi], 0
lea rcx, [rsp + 0x90]
call fcn.1400598a0
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x90]
call fcn.140059e80
lea rcx, [rsp + 0x90]
call fcn.1400599b0
nop
or rdx, 0xffffffffffffffff
lea rcx, [rsp + 0x90]
call fcn.14005a230
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 0x14016cb2f
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.140059f30
lea rdx, str.HitmanPro.lic
lea rcx, [rsp + 0x138]
call fcn.1400f3760
nop
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x14016cb80
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.1401f2360
mov rsi, rax
test rax, rax
je 0x14016cbc6
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 0x14016cbc9
xor sil, sil
test sil, sil
je 0x14016cfff
lea rax, vtable.Botan::AutoSeeded_RNG.0
mov qword [rsp + 0x198], rax
mov rcx, qword [0x1403fd708]
test rcx, rcx
jne 0x14016cc26
mov ecx, 0x90
call fcn.14029806c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14016cc0b
mov rcx, rax
call fcn.1400737b0
jmp 0x14016cc0e
mov rax, rbx
mov qword [0x1403fd708], rax
mov dl, 1
mov rcx, rax
call fcn.1400734b0
mov rcx, qword [0x1403fd708]
call fcn.140073400
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.14029806c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14016cc70
xor edx, edx
lea r8d, [rdx + 0x48]
mov rcx, rax
call fcn.140052d80
mov r14, rax
jmp 0x14016cc73
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.1400ba500
nop
xor edx, edx
lea rcx, [rsp + 0x1b8]
call fcn.1400739d0
mov rsi, rax
mov rax, qword [rax]
lea rdx, [rsp + 0xb8]
mov rcx, rsi
call qword [rax + 0x30]
cmp qword [rsp + 0x100], 0
je 0x14016ccea
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.14029806c
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14016cd49
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.14029806c
test rax, rax
jne 0x14016cd34
call fcn.140296fa8
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 0x14016cd4c
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.140059cd0
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.140059cd0
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140059cd0
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140059cd0
nop
cmp qword [rsp + 0x1d0], 0x10
jb 0x14016cdb1
mov rcx, qword [rsp + 0x1b8]
call fcn.1402012c0
mov qword [rsp + 0x1d0], 0xf
mov qword [rsp + 0x1c8], rbx
mov byte [rsp + 0x1b8], 0
lea rcx, [rsp + 0x68]
call fcn.1400598a0
mov r8d, 0x10
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x68]
call fcn.140059e80
test r15, r15
jne 0x14016cdf9
mov rdx, rbx
jmp 0x14016ce03
mov rax, qword [r15]
movsxd rdx, dword [rax + 0xc]
add rdx, r15
lea rcx, [rsp + 0x1d8]
call fcn.1400aac50
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14016ce1f
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140059e80
nop
cmp qword [rsp + 0x1f0], 0x10
jb 0x14016ce45
mov rcx, qword [rsp + 0x1d8]
call fcn.1402012c0
mov r8d, 0x10
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x68]
call fcn.140059e80
lea rcx, [rsp + 0x68]
call fcn.1400599b0
or rdx, 0xffffffffffffffff
lea rcx, [rsp + 0x68]
call fcn.14005a230
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 0x14016ced7
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.140059f30
lea rdx, str.HitmanPro.key
lea rcx, [rsp + 0x148]
call fcn.1400f3760
nop
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x14016cf25
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.1401f2360
mov rsi, rax
test rax, rax
je 0x14016cf6b
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 0x14016cf6e
xor sil, sil
mov rcx, qword [0x1403fd7a8]
test rcx, rcx
je 0x14016cf7f
call fcn.14010fc80
lea rbx, vtable.Core::EventArgs.0
mov qword [rsp + 0x50], rbx
lea r8, [rsp + 0x50]
call fcn.14016ef00
nop
mov qword [rsp + 0x50], rbx
cmp dword [rsp + 0x150], 0
jle 0x14016cfb3
mov rcx, qword [rsp + 0x148]
call fcn.140298600
nop
test rdi, rdi
je 0x14016cfc7
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.1400597d0
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x14016cffd
mov rcx, rbx
call fcn.140059540
mov rcx, rbx
call fcn.1402012c0
nop
jmp 0x14016d006
lea rdi, vtable.Botan::Pipe.0
cmp dword [rsp + 0x140], 0
jle 0x14016d01e
mov rcx, qword [rsp + 0x138]
call fcn.140298600
nop
test r12, r12
je 0x14016d032
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.1400597d0
mov rbx, qword [rsp + 0xa0]
test rbx, rbx
je 0x14016d06d
mov rcx, rbx
call fcn.140059540
mov rcx, rbx
call fcn.1402012c0
nop
lea rax, vtable.Botan::DataSource.0
mov qword [rsp + 0x90], rax
cmp dword [rsp + 0x60], 0
jle 0x14016d08e
mov rcx, qword [rsp + 0x58]
call fcn.140298600
nop
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x14016d0bc
mov rdx, qword [rsp + 0xb8]
test rdx, rdx
je 0x14016d0bc
mov r8, qword [rsp + 0xc8]
test r8, r8
je 0x14016d0bc
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x14016d0ea
mov rdx, qword [rsp + 0xf8]
test rdx, rdx
je 0x14016d0ea
mov r8, qword [rsp + 0x108]
test r8, r8
je 0x14016d0ea
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x14016d118
mov rdx, qword [rsp + 0xd8]
test rdx, rdx
je 0x14016d118
mov r8, qword [rsp + 0xe8]
test r8, r8
je 0x14016d118
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x130]
test rcx, rcx
je 0x14016d146
mov rdx, qword [rsp + 0x118]
test rdx, rdx
je 0x14016d146
mov r8, qword [rsp + 0x128]
test r8, r8
je 0x14016d146
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x14016d14d
movzx eax, sil
mov rcx, qword [rsp + 0x218]
xor rcx, rsp
call fcn.140297ff0
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