Function at 0x140180bc0
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 [0x14041da10]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
lea rdx, str.HitmanPro.key
lea rcx, [rsp + 0x50]
call fcn.1400f41b0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14017fbd0
test al, al
jne 0x140180e0b
mov rcx, qword [0x140430c10]
test rcx, rcx
je 0x1401812b5
call fcn.1400f20b0
test al, al
je 0x1401812b5
mov qword [rsp + 0x108], 0xf
xor edi, edi
mov qword [rsp + 0x100], rdi
mov byte [rsp + 0xf0], dil
xor r8d, r8d
lea rdx, [0x14033aa95]
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 0x140180d4d
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.1402be04c
lea rax, vtable.std::invalid_argument.0
mov qword [rsp + 0xd8], rax
lea rdx, [0x140415380]
lea rcx, [rsp + 0xd8]
call fcn.1402c4a18
int3
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400bf6b0
nop
cmp qword [rsp + 0x108], 0x10
jb 0x140180d73
mov rcx, qword [rsp + 0xf0]
call fcn.14021ae20
mov qword [rsp + 0x108], 0xf
mov qword [rsp + 0x100], rdi
mov byte [rsp + 0xf0], 0
lea rcx, [rsp + 0x60]
call fcn.14017f800
nop
mov rcx, qword [rsp + 0x78]
test al, al
jne 0x140180ddb
test rcx, rcx
je 0x140180dc3
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140180dc3
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x140180dc3
mov rax, qword [rcx]
call qword [rax + 8]
nop
cmp dword [rsp + 0x58], 0
jle 0x140180dd4
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
mov al, 1
jmp 0x1401812c8
test rcx, rcx
je 0x1401812b5
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x1401812b5
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x1401812b5
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1401812b5
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140180580
test al, al
je 0x1401812b5
lea rax, vtable.Botan::AutoSeeded_RNG.0
mov qword [rsp + 0x60], rax
mov rcx, qword [0x140430b88]
test rcx, rcx
jne 0x140180e76
mov ecx, 0x90
call fcn.1402bcb4c
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140180e58
mov rcx, rax
call fcn.1400739f0
xor edi, edi
jmp 0x140180e5c
xor edi, edi
mov eax, edi
mov qword [0x140430b88], rax
mov dl, 1
mov rcx, rax
call fcn.1400736f0
mov rcx, qword [0x140430b88]
jmp 0x140180e78
xor edi, edi
call fcn.140073640
mov qword [rsp + 0x68], rax
mov ecx, 0x100
call fcn.1402bd120
mov rsi, rax
mov ebx, edi
cmp ebx, 0x64
jge 0x140180ebd
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 0x140180e91
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 0x140180f7a
mov rbx, rdi
jmp 0x140180f84
mov rax, qword [rcx]
movsxd rbx, dword [rax + 4]
add rbx, rcx
mov ecx, 0x18
call fcn.1402bcb4c
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140180fb0
lea r8, [rsp + 0x110]
mov rdx, rbx
mov rcx, rax
call fcn.1400ab1e0
mov r14, rax
jmp 0x140180fb3
mov r14, rdi
cmp qword [rsp + 0x128], 0x10
jb 0x140180fcb
mov rcx, qword [rsp + 0x110]
call fcn.14021ae20
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.140181dc0
mov r14, rax
lea rax, [rsp + 0xf0]
cmp rax, r14
je 0x14018108b
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.1402bd1f0
mov r15, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1401810b8
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x1401810b8
mov r8, qword [rsp + 0xb8]
test r8, r8
je 0x1401810b8
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 0x1401810fe
mov r14, rdi
jmp 0x140181108
mov rax, qword [rcx]
movsxd r14, dword [rax + 0xc]
add r14, rcx
mov ecx, 0x18
call fcn.1402bcb4c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140181134
lea r8, [rsp + 0x110]
mov rdx, r14
mov rcx, rax
call fcn.1400ab610
mov r14, rax
jmp 0x140181137
mov r14, rdi
cmp qword [rsp + 0x128], 0x10
jb 0x14018114f
mov rcx, qword [rsp + 0x110]
call fcn.14021ae20
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.140181da0
mov r14, rax
lea rax, [rsp + 0x80]
cmp rax, r14
je 0x1401811ec
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.1402bd1f0
mov r13, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x140181219
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x140181219
mov r8, qword [rsp + 0xb8]
test r8, r8
je 0x140181219
mov rax, qword [rcx]
call qword [rax + 8]
mov dl, 0xaa
cmp dword [rsp + 0x38], 0
jbe 0x140181244
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 0x140181230
xor dl, 0xaa
sete bl
test r13, r13
je 0x14018126f
test rdi, rdi
je 0x14018126f
mov r8, qword [rsp + 0x90]
test r8, r8
je 0x14018126f
mov rax, qword [r13]
mov rdx, rdi
mov rcx, r13
call qword [rax + 8]
nop
test r15, r15
je 0x140181293
test r12, r12
je 0x140181293
mov r8, qword [rsp + 0x100]
test r8, r8
je 0x140181293
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 0x1401812b0
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
movzx eax, bl
jmp 0x1401812c8
cmp dword [rsp + 0x58], 0
jle 0x1401812c6
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
xor al, al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1402bcad0
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