Function at 0x14017ef80
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 [0x140418a10]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
lea rdx, str.HitmanPro.key
lea rcx, [rsp + 0x50]
call fcn.1400f2bd0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14017df90
test al, al
jne 0x14017f1cb
mov rcx, qword [0x14042bb58]
test rcx, rcx
je 0x14017f675
call fcn.1400f0ad0
test al, al
je 0x14017f675
mov qword [rsp + 0x108], 0xf
xor edi, edi
mov qword [rsp + 0x100], rdi
mov byte [rsp + 0xf0], dil
xor r8d, r8d
lea rdx, [0x140336985]
lea rcx, [rsp + 0xf0]
call fcn.1400ba880
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.14001d0b0
mov qword [rsp + 0x78], rax
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1400bf6b0
nop
mov rdx, qword [rsp + 0x100]
shr rdx, 1
inc rdx
lea rcx, [rsp + 0x60]
call fcn.1400bf6b0
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.14004b320
cmp qword [rsp + 0x38], rbx
je 0x14017f10d
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.1402bab8c
lea rax, vtable.std::invalid_argument.0
mov qword [rsp + 0xd8], rax
lea rdx, [0x14040fdd8]
lea rcx, [rsp + 0xd8]
call fcn.1402c1558
int3
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400bf6b0
nop
cmp qword [rsp + 0x108], 0x10
jb 0x14017f133
mov rcx, qword [rsp + 0xf0]
call fcn.1402177e0
mov qword [rsp + 0x108], 0xf
mov qword [rsp + 0x100], rdi
mov byte [rsp + 0xf0], 0
lea rcx, [rsp + 0x60]
call fcn.14017dbc0
nop
mov rcx, qword [rsp + 0x78]
test al, al
jne 0x14017f19b
test rcx, rcx
je 0x14017f183
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14017f183
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x14017f183
mov rax, qword [rcx]
call qword [rax + 8]
nop
cmp dword [rsp + 0x58], 0
jle 0x14017f194
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
mov al, 1
jmp 0x14017f688
test rcx, rcx
je 0x14017f675
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14017f675
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x14017f675
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14017f675
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14017e940
test al, al
je 0x14017f675
lea rax, vtable.Botan::AutoSeeded_RNG.0
mov qword [rsp + 0x60], rax
mov rcx, qword [0x14042baa8]
test rcx, rcx
jne 0x14017f236
mov ecx, 0x90
call fcn.1402b968c
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14017f218
mov rcx, rax
call fcn.1400739f0
xor edi, edi
jmp 0x14017f21c
xor edi, edi
mov eax, edi
mov qword [0x14042baa8], rax
mov dl, 1
mov rcx, rax
call fcn.1400736f0
mov rcx, qword [0x14042baa8]
jmp 0x14017f238
xor edi, edi
call fcn.140073640
mov qword [rsp + 0x68], rax
mov ecx, 0x100
call fcn.1402b9c60
mov rsi, rax
mov ebx, edi
cmp ebx, 0x64
jge 0x14017f27d
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 0x14017f251
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.14001d0b0
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.14001d0b0
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.1400ba880
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
jne 0x14017f33a
mov rbx, rdi
jmp 0x14017f344
mov rax, qword [rcx]
movsxd rbx, dword [rax + 4]
add rbx, rcx
mov ecx, 0x18
call fcn.1402b968c
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14017f370
lea r8, [rsp + 0x110]
mov rdx, rbx
mov rcx, rax
call fcn.1400ab1e0
mov r14, rax
jmp 0x14017f373
mov r14, rdi
cmp qword [rsp + 0x128], 0x10
jb 0x14017f38b
mov rcx, qword [rsp + 0x110]
call fcn.1402177e0
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.140180180
mov r14, rax
lea rax, [rsp + 0xf0]
cmp rax, r14
je 0x14017f44b
mov rdx, qword [r14 + 8]
lea rcx, [rsp + 0xf0]
call fcn.1400bf6b0
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.1402b9d30
mov r15, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x14017f478
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x14017f478
mov r8, qword [rsp + 0xb8]
test r8, r8
je 0x14017f478
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.1400ba880
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x14017f4be
mov r14, rdi
jmp 0x14017f4c8
mov rax, qword [rcx]
movsxd r14, dword [rax + 0xc]
add r14, rcx
mov ecx, 0x18
call fcn.1402b968c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14017f4f4
lea r8, [rsp + 0x110]
mov rdx, r14
mov rcx, rax
call fcn.1400ab610
mov r14, rax
jmp 0x14017f4f7
mov r14, rdi
cmp qword [rsp + 0x128], 0x10
jb 0x14017f50f
mov rcx, qword [rsp + 0x110]
call fcn.1402177e0
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.140180160
mov r14, rax
lea rax, [rsp + 0x80]
cmp rax, r14
je 0x14017f5ac
mov rdx, qword [r14 + 8]
lea rcx, [rsp + 0x80]
call fcn.1400bf6b0
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.1402b9d30
mov r13, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x14017f5d9
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x14017f5d9
mov r8, qword [rsp + 0xb8]
test r8, r8
je 0x14017f5d9
mov rax, qword [rcx]
call qword [rax + 8]
mov dl, 0xaa
cmp dword [rsp + 0x38], 0
jbe 0x14017f604
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 0x14017f5f0
xor dl, 0xaa
sete bl
test r13, r13
je 0x14017f62f
test rdi, rdi
je 0x14017f62f
mov r8, qword [rsp + 0x90]
test r8, r8
je 0x14017f62f
mov rax, qword [r13]
mov rdx, rdi
mov rcx, r13
call qword [rax + 8]
nop
test r15, r15
je 0x14017f653
test r12, r12
je 0x14017f653
mov r8, qword [rsp + 0x100]
test r8, r8
je 0x14017f653
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 0x14017f670
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
movzx eax, bl
jmp 0x14017f688
cmp dword [rsp + 0x58], 0
jle 0x14017f686
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
xor al, al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1402b9610
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