Function at 0x14017dbb0
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 [0x140415a10]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
lea rdx, str.HitmanPro.key
lea rcx, [rsp + 0x50]
call fcn.1400f1930
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14017cbc0
test al, al
jne 0x14017ddfb
mov rcx, qword [0x140428b78]
test rcx, rcx
je 0x14017e2a5
call fcn.1400ef830
test al, al
je 0x14017e2a5
mov qword [rsp + 0x108], 0xf
xor edi, edi
mov qword [rsp + 0x100], rdi
mov byte [rsp + 0xf0], dil
xor r8d, r8d
lea rdx, [0x1403349b5]
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 0x14017dd3d
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.1402b82bc
lea rax, vtable.std::invalid_argument.0
mov qword [rsp + 0xd8], rax
lea rdx, [0x14040cff0]
lea rcx, [rsp + 0xd8]
call fcn.1402bece8
int3
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400bf6b0
nop
cmp qword [rsp + 0x108], 0x10
jb 0x14017dd63
mov rcx, qword [rsp + 0xf0]
call fcn.1402150f0
mov qword [rsp + 0x108], 0xf
mov qword [rsp + 0x100], rdi
mov byte [rsp + 0xf0], 0
lea rcx, [rsp + 0x60]
call fcn.14017c7f0
nop
mov rcx, qword [rsp + 0x78]
test al, al
jne 0x14017ddcb
test rcx, rcx
je 0x14017ddb3
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14017ddb3
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x14017ddb3
mov rax, qword [rcx]
call qword [rax + 8]
nop
cmp dword [rsp + 0x58], 0
jle 0x14017ddc4
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
mov al, 1
jmp 0x14017e2b8
test rcx, rcx
je 0x14017e2a5
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14017e2a5
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x14017e2a5
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14017e2a5
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14017d570
test al, al
je 0x14017e2a5
lea rax, vtable.Botan::AutoSeeded_RNG.0
mov qword [rsp + 0x60], rax
mov rcx, qword [0x140428ac8]
test rcx, rcx
jne 0x14017de66
mov ecx, 0x90
call fcn.1402b6dbc
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14017de48
mov rcx, rax
call fcn.1400739f0
xor edi, edi
jmp 0x14017de4c
xor edi, edi
mov eax, edi
mov qword [0x140428ac8], rax
mov dl, 1
mov rcx, rax
call fcn.1400736f0
mov rcx, qword [0x140428ac8]
jmp 0x14017de68
xor edi, edi
call fcn.140073640
mov qword [rsp + 0x68], rax
mov ecx, 0x100
call fcn.1402b7390
mov rsi, rax
mov ebx, edi
cmp ebx, 0x64
jge 0x14017dead
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 0x14017de81
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 0x14017df6a
mov rbx, rdi
jmp 0x14017df74
mov rax, qword [rcx]
movsxd rbx, dword [rax + 4]
add rbx, rcx
mov ecx, 0x18
call fcn.1402b6dbc
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14017dfa0
lea r8, [rsp + 0x110]
mov rdx, rbx
mov rcx, rax
call fcn.1400ab1e0
mov r14, rax
jmp 0x14017dfa3
mov r14, rdi
cmp qword [rsp + 0x128], 0x10
jb 0x14017dfbb
mov rcx, qword [rsp + 0x110]
call fcn.1402150f0
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.14017edb0
mov r14, rax
lea rax, [rsp + 0xf0]
cmp rax, r14
je 0x14017e07b
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.1402b7460
mov r15, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x14017e0a8
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x14017e0a8
mov r8, qword [rsp + 0xb8]
test r8, r8
je 0x14017e0a8
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 0x14017e0ee
mov r14, rdi
jmp 0x14017e0f8
mov rax, qword [rcx]
movsxd r14, dword [rax + 0xc]
add r14, rcx
mov ecx, 0x18
call fcn.1402b6dbc
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14017e124
lea r8, [rsp + 0x110]
mov rdx, r14
mov rcx, rax
call fcn.1400ab610
mov r14, rax
jmp 0x14017e127
mov r14, rdi
cmp qword [rsp + 0x128], 0x10
jb 0x14017e13f
mov rcx, qword [rsp + 0x110]
call fcn.1402150f0
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.14017ed90
mov r14, rax
lea rax, [rsp + 0x80]
cmp rax, r14
je 0x14017e1dc
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.1402b7460
mov r13, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x14017e209
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x14017e209
mov r8, qword [rsp + 0xb8]
test r8, r8
je 0x14017e209
mov rax, qword [rcx]
call qword [rax + 8]
mov dl, 0xaa
cmp dword [rsp + 0x38], 0
jbe 0x14017e234
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 0x14017e220
xor dl, 0xaa
sete bl
test r13, r13
je 0x14017e25f
test rdi, rdi
je 0x14017e25f
mov r8, qword [rsp + 0x90]
test r8, r8
je 0x14017e25f
mov rax, qword [r13]
mov rdx, rdi
mov rcx, r13
call qword [rax + 8]
nop
test r15, r15
je 0x14017e283
test r12, r12
je 0x14017e283
mov r8, qword [rsp + 0x100]
test r8, r8
je 0x14017e283
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 0x14017e2a0
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
movzx eax, bl
jmp 0x14017e2b8
cmp dword [rsp + 0x58], 0
jle 0x14017e2b6
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
xor al, al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1402b6d40
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