Function at 0x14016e5d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov qword [rax - 0x98], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
lea rdx, str.HitmanPro.key
lea rcx, [rsp + 0x50]
call fcn.1400f3760
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14016d5e0
test al, al
jne 0x14016e81b
mov rcx, qword [0x1403fd7a8]
test rcx, rcx
je 0x14016ecc5
call fcn.1400f1660
test al, al
je 0x14016ecc5
mov qword [rsp + 0x108], 0xf
xor edi, edi
mov qword [rsp + 0x100], rdi
mov byte [rsp + 0xf0], dil
xor r8d, r8d
lea rdx, [0x140311bed]
lea rcx, [rsp + 0xf0]
call fcn.1400ba500
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov cl, 1
call fcn.14001ce70
mov qword [rsp + 0x78], rax
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1400bf090
nop
mov rdx, qword [rsp + 0x100]
shr rdx, 1
inc rdx
lea rcx, [rsp + 0x60]
call fcn.1400bf090
mov rbx, qword [rsp + 0x100]
lea rdx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 0x10
cmovae rdx, qword [rsp + 0xf0]
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x20], 1
lea r9, [rsp + 0x38]
mov r8, rbx
mov rcx, qword [rsp + 0x60]
call fcn.14004b0e0
cmp qword [rsp + 0x38], rbx
je 0x14016e75d
lea rax, str.hex_decode:_input_did_not_have_full_bytes
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xd8]
call fcn.14029956c
lea rax, vtable.std::invalid_argument.0
mov qword [rsp + 0xd8], rax
lea rdx, [0x1403e23c0]
lea rcx, [rsp + 0xd8]
call fcn.14029f768
int3
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400bf090
nop
cmp qword [rsp + 0x108], 0x10
jb 0x14016e783
mov rcx, qword [rsp + 0xf0]
call fcn.1402012c0
mov qword [rsp + 0x108], 0xf
mov qword [rsp + 0x100], rdi
mov byte [rsp + 0xf0], 0
lea rcx, [rsp + 0x60]
call fcn.14016d210
nop
mov rcx, qword [rsp + 0x78]
test al, al
jne 0x14016e7eb
test rcx, rcx
je 0x14016e7d3
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14016e7d3
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x14016e7d3
mov rax, qword [rcx]
call qword [rax + 8]
nop
cmp dword [rsp + 0x58], 0
jle 0x14016e7e4
mov rcx, qword [rsp + 0x50]
call fcn.140298600
mov al, 1
jmp 0x14016ecd8
test rcx, rcx
je 0x14016ecc5
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14016ecc5
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x14016ecc5
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14016ecc5
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14016df90
test al, al
je 0x14016ecc5
lea rax, vtable.Botan::AutoSeeded_RNG.0
mov qword [rsp + 0x60], rax
mov rcx, qword [0x1403fd708]
test rcx, rcx
jne 0x14016e886
mov ecx, 0x90
call fcn.14029806c
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14016e868
mov rcx, rax
call fcn.1400737b0
xor edi, edi
jmp 0x14016e86c
xor edi, edi
mov eax, edi
mov qword [0x1403fd708], rax
mov dl, 1
mov rcx, rax
call fcn.1400734b0
mov rcx, qword [0x1403fd708]
jmp 0x14016e888
xor edi, edi
call fcn.140073400
mov qword [rsp + 0x68], rax
mov ecx, 0x100
call fcn.140298640
mov rsi, rax
mov ebx, edi
cmp ebx, 0x64
jge 0x14016e8cd
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
mov r9, qword [rsp + 0x60]
call qword [r9]
movsxd rcx, ebx
movzx eax, byte [rsp + 0x30]
mov byte [rcx + rsi], al
inc ebx
jmp 0x14016e8a1
mov r12, rdi
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0x108], rdi
mov cl, 1
call fcn.14001ce70
mov r15, rax
mov qword [rsp + 0x108], rax
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], rdi
mov cl, 1
call fcn.14001ce70
mov r13, rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x128], 0xf
mov qword [rsp + 0x120], rdi
mov byte [rsp + 0x110], 0
mov r8d, 0xb
lea rdx, str.EME1_SHA_1_
lea rcx, [rsp + 0x110]
call fcn.1400ba500
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
jne 0x14016e98a
mov rbx, rdi
jmp 0x14016e994
mov rax, qword [rcx]
movsxd rbx, dword [rax + 4]
add rbx, rcx
mov ecx, 0x18
call fcn.14029806c
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14016e9c0
lea r8, [rsp + 0x110]
mov rdx, rbx
mov rcx, rax
call fcn.1400aafa0
mov r14, rax
jmp 0x14016e9c3
mov r14, rdi
cmp qword [rsp + 0x128], 0x10
jb 0x14016e9db
mov rcx, qword [rsp + 0x110]
call fcn.1402012c0
mov qword [rsp + 0x128], 0xf
mov qword [rsp + 0x120], rdi
mov byte [rsp + 0x110], 0
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
mov ecx, 0x64
cmp eax, ecx
cmovb ecx, eax
mov dword [rsp + 0x38], ecx
mov ebx, ecx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ecx
mov r8, rsi
lea rdx, [rsp + 0xa8]
mov rcx, r14
call fcn.14016f3a0
mov r14, rax
lea rax, [rsp + 0xf0]
cmp rax, r14
je 0x14016ea9b
mov rdx, qword [r14 + 8]
lea rcx, [rsp + 0xf0]
call fcn.1400bf090
mov rax, qword [r14 + 8]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0xf8]
mov qword [rsp + 0xa0], rcx
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x48]
cmp rcx, rax
cmovae r8, rdx
mov r8, qword [r8]
mov rdx, qword [r14]
mov r12, qword [rsp + 0xf0]
mov rcx, r12
call fcn.140298710
mov r15, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x14016eac8
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x14016eac8
mov r8, qword [rsp + 0xb8]
test r8, r8
je 0x14016eac8
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rsp + 0x128], 0xf
mov qword [rsp + 0x120], rdi
mov byte [rsp + 0x110], 0
mov r8d, 0xb
lea rdx, str.EME1_SHA_1_
lea rcx, [rsp + 0x110]
call fcn.1400ba500
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x14016eb0e
mov r14, rdi
jmp 0x14016eb18
mov rax, qword [rcx]
movsxd r14, dword [rax + 0xc]
add r14, rcx
mov ecx, 0x18
call fcn.14029806c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14016eb44
lea r8, [rsp + 0x110]
mov rdx, r14
mov rcx, rax
call fcn.1400ab3d0
mov r14, rax
jmp 0x14016eb47
mov r14, rdi
cmp qword [rsp + 0x128], 0x10
jb 0x14016eb5f
mov rcx, qword [rsp + 0x110]
call fcn.1402012c0
mov qword [rsp + 0x128], 0xf
mov qword [rsp + 0x120], rdi
mov byte [rsp + 0x110], 0
mov r9, qword [rsp + 0xf8]
mov r8, r12
lea rdx, [rsp + 0xa8]
mov rcx, r14
call fcn.14016f380
mov r14, rax
lea rax, [rsp + 0x80]
cmp rax, r14
je 0x14016ebfc
mov rdx, qword [r14 + 8]
lea rcx, [rsp + 0x80]
call fcn.1400bf090
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
cmp rax, rcx
cmovae r8, rdx
mov r8, qword [r8]
mov rdx, qword [r14]
mov rdi, qword [rsp + 0x80]
mov rcx, rdi
call fcn.140298710
mov r13, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x14016ec29
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x14016ec29
mov r8, qword [rsp + 0xb8]
test r8, r8
je 0x14016ec29
mov rax, qword [rcx]
call qword [rax + 8]
mov dl, 0xaa
cmp dword [rsp + 0x38], 0
jbe 0x14016ec54
mov rcx, rdi
nop word [rax + rax]
movzx eax, byte [rcx]
xor byte [rsi], al
xor dl, byte [rsi]
lea rcx, [rcx + 1]
lea rsi, [rsi + 1]
dec rbx
jne 0x14016ec40
xor dl, 0xaa
sete bl
test r13, r13
je 0x14016ec7f
test rdi, rdi
je 0x14016ec7f
mov r8, qword [rsp + 0x90]
test r8, r8
je 0x14016ec7f
mov rax, qword [r13]
mov rdx, rdi
mov rcx, r13
call qword [rax + 8]
nop
test r15, r15
je 0x14016eca3
test r12, r12
je 0x14016eca3
mov r8, qword [rsp + 0x100]
test r8, r8
je 0x14016eca3
mov rax, qword [r15]
mov rdx, r12
mov rcx, r15
call qword [rax + 8]
nop
lea rax, vtable.Botan::RandomNumberGenerator.0
mov qword [rsp + 0x60], rax
cmp dword [rsp + 0x58], 0
jle 0x14016ecc0
mov rcx, qword [rsp + 0x50]
call fcn.140298600
movzx eax, bl
jmp 0x14016ecd8
cmp dword [rsp + 0x58], 0
jle 0x14016ecd6
mov rcx, qword [rsp + 0x50]
call fcn.140298600
xor al, al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140297ff0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret