Function at 0x1400087a0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rcx
mov eax, 0x8000012c
shl eax, 1
mov ecx, 0x8000012c
shr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x24], eax
jmp 0x140009084
call fcn.14005c16c
mov ecx, eax
mov r8d, 0x8956fffe
xor r8d, 0x8956fffe
mov rax, qword [rsp + 0x28]
movabs r9, 0x3bcf37c91f91dfa9
movabs rdx, 0x3bcf37c91effe9a9
xor r9, rdx
cqo
idiv r9
movabs rdx, 0x1dcd650000000000
shl rdx, 0x21
movabs r9, 0x1dcd650000000000
shr r9, 0x1f
or rdx, r9
movabs r9, 0xe4eb651dc6acaa6
movabs r10, 0xe4eb651dc6acaa7
sub r9, r10
xor rdx, r9
mov r9, rax
and r9, rdx
mov r10, rax
or r10, rdx
movabs rdx, 0x5922f781305003b6
movabs r11, 0xa6dd087ecfaffc49
add rdx, r11
xor r10, rdx
imul r10, r9
movabs rdx, 0x3b9aca000
shl rdx, 0x3c
movabs r9, 0x3b9aca000
shr r9, 4
or rdx, r9
mov r9, rax
and r9, rdx
movabs rdx, 0x3362ef710fd19a65
movabs r11, 0xcc9d108f2bc92f9b
add rdx, r11
or rax, rdx
imul rax, r9
add rax, r10
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov r9d, 0x2dc6c0
shl r9, 3
mov edx, 0x2dc6c0
shr rdx, 0x3d
or r9, rdx
cqo
idiv r9
mov rax, rdx
movabs rdx, 0x9d53ffea9fc7457
movabs r9, 0xf62ac00156038ba8
add rdx, r9
mov r9, rax
xor r9, rdx
movabs rdx, 0x18f4b8d90f2e76b2
movabs r10, 0x18f4b8d8d393acb2
sub rdx, r10
and rdx, r9
movabs r9, 0xee6b280000000
shl r9, 0x2a
movabs r10, 0xee6b280000000
shr r10, 0x16
or r9, r10
movabs r10, 0xb111c1020c2c844
movabs r11, 0xf4eee3efdf3d37bb
xor r10, r11
xor r9, r10
mov r10, rax
and r10, r9
imul r10, rdx
movabs rdx, 0x238844525bdf7679
movabs r9, 0x238844522044ac79
sub rdx, r9
mov r9, rax
and r9, rdx
movabs rdx, 0x3b9aca0000000000
shl rdx, 0x20
movabs r11, 0x3b9aca0000000000
shr r11, 0x20
or rdx, r11
or rax, rdx
imul rax, r9
add rax, r10
movabs r9, 0x735995a0cde110a5
movabs rdx, 0x735995a0cc72daa5
sub r9, rdx
cqo
idiv r9
mov qword [rsp + 0x48], rax
mov eax, 0x7e335bdd
sub eax, 0x7e335981
mov dword [rsp + 0x24], eax
cmp ecx, r8d
jne 0x1400087c4
jmp 0x140008bd6
mov rax, qword [rsp + 0x28]
movabs rcx, 0x4e70b5810c26fed7
movabs rdx, 0x4e70b5810c26fe73
sub rcx, rdx
imul rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 0x781a5e47
add eax, 0x87e5a413
mov dword [rsp + 0x24], eax
jmp 0x140008aa9
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x28]
cqo
idiv rcx
mov qword [rsp + 0x60], rdx
mov eax, 0x57947948
xor eax, 0x57947b1f
mov dword [rsp + 0x24], eax
jmp 0x140008aa9
call fcn.14005c083
mov edi, eax
mov ebx, 0x5e627f94
sub ebx, 0x5e627f94
call fcn.14008d70c
mov qword [rsp + 0x30], rax
mov eax, 0x219fd785
xor eax, 0x219fd5e4
mov dword [rsp + 0x24], eax
cmp edi, ebx
jne 0x14000908a
jmp 0x140008c56
call fcn.14005c13c
xor ecx, ecx
shl ecx, 0x11
xor edx, edx
shr edx, 0xf
or ecx, edx
cmp eax, ecx
jne 0x140008cf3
jmp 0x1400087c4
jmp 0x140008aa9
cmp eax, 0x258
jl 0x140008e6c
jmp 0x140009007
cmp eax, 0x25d
jl 0x140008b80
jmp 0x140008a6c
jmp 0x140009084
cmp eax, 0x25a
jl 0x14000902c
jmp 0x140008e7c
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x28]
cqo
idiv rcx
movabs rcx, 0xb623bc4f0a159fce
movabs rdx, 0xb623bc4f318f55ce
xor rcx, rdx
mov rdx, 0xffffffffffffffff
shr rdx, 0x15
mov r8, 0xffffffffffffffff
shl r8, 0x2b
or rdx, r8
xor rcx, rdx
mov rdx, rax
and rdx, rcx
mov r8, rax
or r8, rcx
movabs rcx, 0xfea5f0f4c5f5dc0f
movabs r9, 0x15a0f0b3a0a23f0
xor rcx, r9
xor r8, rcx
imul r8, rdx
movabs rcx, 0x1d6457a9d50feb86
movabs rdx, 0x1d6457a999752186
sub rcx, rdx
mov rdx, rax
and rdx, rcx
movabs rcx, 0x28152adddd8f05d8
movabs r9, 0x28152adde615cfd8
xor rcx, r9
or rax, rcx
imul rax, rdx
add rax, r8
mov qword [rsp + 0x58], rax
mov eax, 0x75f110d8
xor eax, 0x75f11280
mov dword [rsp + 0x24], eax
jmp 0x140008aa9
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov rdx, rcx
and rdx, rax
movabs r8, 0x77ff446ef08058fd
movabs r9, 0x77ff446ef08058fb
sub r8, r9
imul rdx, r8
xor rcx, rax
add rcx, rdx
mov qword [rsp + 0x68], rcx
mov eax, 0x4ac0000
shr eax, 0x11
mov ecx, 0x4ac0000
shl ecx, 0xf
or eax, ecx
mov dword [rsp + 0x24], eax
jmp 0x140008aa9
jmp 0x140008aa9
call fcn.14005c109
mov ecx, 0x73d179ba
add ecx, 0x8c2e8646
mov edx, 0x12a800
shr edx, 0xb
mov r8d, 0x12a800
shl r8d, 0x15
or edx, r8d
mov dword [rsp + 0x24], edx
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x38], rdx
cmp eax, ecx
jne 0x140009017
jmp 0x140009045
cmp eax, 0x25c
jl 0x1400089c7
jmp 0x140008a9c
call fcn.14005c1a1
xor ecx, ecx
test eax, eax
setne cl
lea rax, case.0x140008c54.0
mov rax, qword [rax + rcx*8]
mov ecx, dword [0x140111bc0]
add ecx, 0xd21886d
movsxd rcx, ecx
sub rax, rcx
jmp rax
mov eax, dword [0x140111ba4]
add eax, 0xfcc531ec
cdqe
lea rcx, case.0x140017fd7.0
mov rax, qword [rcx + rax*8]
mov ecx, dword [0x140111ba8]
rol ecx, 0x11
sub rax, rcx
jmp rax
call fcn.14005c238
mov edi, eax
xor ebx, ebx
shr ebx, 5
xor eax, eax
shl eax, 0x1b
or ebx, eax
call fcn.14008d6f0
mov qword [rsp + 0x28], rax
mov eax, 0x6cd0404c
add eax, 0x932fc212
mov dword [rsp + 0x24], eax
cmp edi, ebx
jne 0x140008e99
jmp 0x140008a8a
cmp eax, 0x261
jl 0x140008abe
jmp 0x140008cd9
mov rax, qword [rsp + 0x38]
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
call fcn.14005c210
xor ecx, ecx
shl ecx, 0x14
xor edx, edx
shr edx, 0xc
or ecx, edx
cmp eax, ecx
jne 0x140008c7c
jmp 0x140008e99
mov rax, qword [rsp + 0x28]
movabs rcx, 0xdc6c000000000002
shr rcx, 0x29
movabs rdx, 0xdc6c000000000002
shl rdx, 0x17
or rcx, rdx
cqo
idiv rcx
movabs rcx, 0xd6500000000001dc
shl rcx, 0x15
movabs rdx, 0xd6500000000001dc
shr rdx, 0x2b
or rcx, rdx
imul rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
movabs rcx, 0x16e360000
shl rcx, 0x38
movabs rdx, 0x16e360000
shr rdx, 8
or rcx, rdx
cqo
idiv rcx
mov rax, rdx
movabs rcx, 0x1ca6c45f00761368
movabs rdx, 0x1ca6c45ec4db4968
sub rcx, rdx
movabs rdx, 0x13d594d8c9b2938
movabs r8, 0xfec2a6b27364d6c7
add rdx, r8
xor rcx, rdx
mov rdx, rax
and rdx, rcx
mov r8, rax
or r8, rcx
movabs rcx, 0x25e96bdba14b06a1
movabs r9, 0xda1694245eb4f95e
xor rcx, r9
xor r8, rcx
imul r8, rdx
movabs rcx, 0x1468c83d89c421fc
movabs rdx, 0x1468c83d4e2957fc
sub rcx, rdx
mov rdx, rax
and rdx, rcx
movabs rcx, 0xe69f0317d34dfb27
movabs r9, 0xe69f0317e8d73127
xor rcx, r9
or rax, rcx
imul rax, rdx
add rax, r8
movabs rcx, 0xa09d44c09fb90200
movabs rdx, 0xa09d44c09ed73400
xor rcx, rdx
cqo
idiv rcx
mov qword [rsp + 0x48], rax
mov eax, 0x48c7c7af
add eax, 0xb7383aad
mov dword [rsp + 0x24], eax
jmp 0x140008a85
cmp eax, 0x25e
jl 0x140008c1b
jmp 0x14000901c
cmp eax, 0x257
jl 0x140008eff
jmp 0x140008f0f
call fcn.14005c0cc
mov ecx, 0x1da55728
add ecx, 0xe25aa8d8
cmp eax, ecx
jne 0x140009045
jmp 0x140008bdb
call fcn.14008d6f0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x24], 0x25e
mov eax, dword [0x140111bdc]
add eax, 0xb05e996e
cdqe
lea rcx, case.0x140017fd7.0
mov rax, qword [rcx + rax*8]
mov ecx, dword [0x140111be0]
add ecx, 0xf4126f10
movsxd rcx, ecx
sub rax, rcx
jmp rax
cmp eax, 0x256
je 0x1400090a7
jmp 0x140008cc6
mov rax, qword [rsp + 0x60]
movabs rcx, 0x25a8c9485675e89b
movabs rdx, 0xda5736b7e524e165
add rcx, rdx
movabs rdx, 0x1f0307f3b4030177
movabs r8, 0x1f0307f3b4030178
sub rdx, r8
xor rcx, rdx
mov rdx, rax
and rdx, rcx
mov r8, rax
or r8, rcx
movabs rcx, 0x6dd7df2e06c02214
movabs r9, 0x922820d1f93fddeb
xor rcx, r9
xor r8, rcx
imul r8, rdx
movabs rcx, 0x25b6d7abb94b534d
movabs rdx, 0xda492854824f76b3
add rcx, rdx
mov rdx, rax
and rdx, rcx
mov ecx, 0x7735940
shl rcx, 3
mov r9d, 0x7735940
shr r9, 0x3d
or rcx, r9
or rax, rcx
imul rax, rdx
add rax, r8
cqo
idiv qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
mov rdx, rax
and rdx, rcx
movabs r8, 0x200000000000000
shr r8, 0x38
movabs r9, 0x200000000000000
shl r9, 8
or r8, r9
imul rdx, r8
xor rax, rcx
add rax, rdx
mov ecx, 0x25500
shl ecx, 0x18
mov edx, 0x25500
shr edx, 8
or ecx, edx
mov dword [rsp + 0x24], ecx
mov qword [rsp + 0x38], rax
jmp 0x140008aa9
cmp eax, 0x259
jl 0x140008a11
jmp 0x140008aae
jmp 0x140008aa9
cmp eax, 0x25f
jl 0x140008c2b
jmp 0x140008cb9
call fcn.14005c04b
mov ecx, 0xaacbfc6d
xor ecx, 0xaacbfc6d
cmp eax, ecx
jne 0x14000908a
jmp 0x140008a35
mov eax, 0x610a808c
sub eax, 0x610a7e37
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
jmp 0x140008bdb
cmp eax, 0x25b
jl 0x140008a8c
jmp 0x140008e3d
mov eax, dword [rsp + 0x24]
jmp 0x140009074
call fcn.14008d70c
mov qword [rsp + 0x30], rax
mov eax, 0x250c7184
add eax, 0xdaf390dd
mov dword [rsp + 0x24], eax
jmp 0x140008a35
mov eax, 0xfb70ec74
xor eax, 0xfb70ee21
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
jmp 0x140008aa9
invalid
mov dword [rsp + 0x24], 5
jmp 0x140017b44
add byte [rax - 0x7d], cl
jl 0x1400179d2
sub byte [rdi], al
seta cl
cmp eax, 0
jne 0x140017acb
jmp 0x140017bc7
invalid
test cl, 1
jne 0x140017b70
jmp 0x140017925
jmp 0x1400179c1
call fcn.140064260
xor ecx, ecx
test eax, eax
setne cl
lea rax, case.0x140017b96.0
mov rax, qword [rax + rcx*8]
mov ecx, dword [0x140112ba8]
xor ecx, 0x43081559
sub rax, rcx
jmp rax
mov eax, dword [0x140112bb4]
rol eax, 1
lea rcx, case.0x140017fd7.0
mov rax, qword [rcx + rax*8]
mov ecx, dword [0x140112bb8]
add ecx, 0x4570b597
movsxd rcx, ecx
sub rax, rcx
jmp rax
cmp eax, 0x7bbc0
mov rcx, qword [rbp + 8]
lea r14, [rdi*8]
cmp rdi, qword [rcx + 0x18]
jae 0x14009d9b1
mov rax, qword [rcx + 0x10]
mov rbx, qword [r14 + rax]
test rbx, rbx
jne 0x14009da17
jmp 0x14009d9b3
xor ebx, ebx
cmp byte [rcx + 0x24], 0
je 0x14009d9cc
call fcn.140086da8
cmp rdi, qword [rax + 0x18]
jae 0x14009d9d1
mov rax, qword [rax + 0x10]
mov rbx, qword [r14 + rax]
test rbx, rbx
jne 0x14009da17
test rsi, rsi
je 0x14009d9db
mov rbx, rsi
jmp 0x14009da17
mov rdx, rbp
lea rcx, [rsp + 0x60]
call fcn.14009c450
cmp rax, 0xffffffffffffffff
je 0x14009da2f
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call fcn.14008694c
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
mov rcx, rbx
call qword [0x1400ea118]
mov qword [0x140119618], rbx
lea rcx, [rsp + 0x58]
call fcn.14008686c
mov rax, rbx
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1400871dc
nop
int3
mov esi, 1
and dword [rbx + 8], 0
lea rax, vtable.std::money_put_unsigned_short_int__class_std::ostreambuf_iterator_unsigned_short_int__struct_std::char_traits_unsigned_short_int___.0
mov qword [rbx], rax
jmp 0x14009dac0
mov qword [rdi], rbx
test sil, 1
je 0x14009dad3
lea rcx, [rsp + 0x20]
call fcn.140031df0
mov eax, 3
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret