Function at 0x140121780
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rbp - 0x10], rcx
mov eax, dword [0x1401444a4]
mov edx, dword [0x1401444a8]
mov ecx, eax
xor ecx, edx
xor ecx, 0xffffffff
or eax, edx
and eax, ecx
xor eax, 0xffffffff
or eax, 0x510aafc
xor eax, 0xffffffff
xor eax, 0x92bae43d
imul eax, eax, 0x4b4d77de
cmp eax, 0xe6c3632e
ja 0x140121a44
mov eax, dword [0x1401444ac]
mov ecx, dword [0x1401444b0]
xor edx, edx
div ecx
mov ecx, 0xf511f327
imul rax, rcx
shr rax, 0x3e
add eax, 0xaa141161
mov ecx, eax
xor ecx, 0x69415ebc
or eax, 0x82140143
and eax, ecx
mov dword [rbp - 0x1c], eax
mov eax, 0x10
call fcn.140131af0
sub rsp, rax
mov eax, dword [rbp - 0x1c]
mov rcx, rsp
mov qword [rbp - 0x18], rcx
cmp eax, 0xe6d2a997
ja 0x1401217ce
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov r8d, dword [0x1401444bc]
mov eax, dword [0x1401444c0]
sub r8d, eax
mov r9d, r8d
not r9d
and r9d, 0x89bea489
mov eax, r8d
and eax, 0x76415b76
imul eax, r9d
mov r9d, r8d
and r9d, 0x89bea489
or r8d, 0x89bea489
imul r8d, r9d
add r8d, eax
mov r9d, r8d
not r9d
mov eax, r8d
and eax, 0x17885e5e
and r9d, 0xe877a1a1
imul r9d, eax
mov eax, r8d
and eax, 0xe877a1a1
or r8d, 0xe877a1a1
imul r8d, eax
mov eax, r8d
mov r8d, r9d
lea eax, [rax + r8 + 0x444fd5ed]
mov dword [rbp - 0x3c], eax
mov eax, 0x10
call fcn.140131af0
sub rsp, rax
mov eax, dword [rbp - 0x3c]
mov r8, rsp
mov qword [rbp - 0x38], r8
mov qword [rcx], rdx
mov rcx, qword [rcx]
mov rcx, qword [rcx]
mov qword [rbp - 0x30], rcx
mov rcx, qword [rcx]
add rcx, 4
mov qword [rbp - 0x28], rcx
cmp eax, 0x3e411850
ja 0x140121824
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
movsxd rax, dword [rax]
add rcx, rax
sub rsp, 0x20
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ios_char__struct_std::char_traits_char__::rdbuf_void_const___ptr64]
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp - 0x38]
mov qword [rax], rcx
cmp qword [rax], 0
je 0x140121a3f
mov rcx, qword [rbp - 0x38]
mov eax, dword [0x1401444cc]
mov r8d, dword [0x1401444d0]
mov edx, eax
add edx, 1
xor eax, 0xffffffff
or eax, r8d
add eax, edx
imul r8d, eax, 0x4e644048
add r8d, 0x256263e0
mov edx, r8d
xor edx, 0xffffffff
mov eax, edx
and eax, 0x42270577
and r8d, 0xbdd8fa88
or eax, r8d
xor eax, 0xa31d9011
or edx, 0x1ec56a99
xor edx, 0xffffffff
or eax, edx
mov rcx, qword [rcx]
mov qword [rbp - 0x48], rcx
cmp eax, 0x5a479d94
je 0x140121a49
mov rax, qword [rbp - 0x48]
mov rax, qword [rax]
add rax, 0x10
mov qword [rbp - 0x50], rax
mov rcx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x50]
mov rax, qword [rax]
sub rsp, 0x20
call rax
add rsp, 0x20
jmp 0x1401219a2
mov eax, dword [0x1401444e4]
xor edx, edx
div dword [str._vK_v]
mov ecx, eax
xor ecx, 0x289e760d
mov eax, ecx
xor eax, 0xffffffff
xor ecx, 0xffffffff
or eax, ecx
xor eax, 0xffffffff
or eax, 0x950623c6
sub eax, 0x9e5db786
cmp eax, 0x794611da
ja 0x140121a4e
mov eax, dword [0x1401444ec]
or eax, dword [0x1401444f0]
mov edx, eax
and edx, 0xaedafde8
mov ecx, eax
or ecx, 0xaedafde8
xor ecx, 0xffffffff
imul ecx, edx
mov edx, eax
and edx, 0x51250217
or eax, 0x51250217
imul eax, edx
add eax, ecx
mov ecx, eax
xor ecx, 0xffffffff
and ecx, 0x91d26966
and eax, 0x6e2d9699
sub eax, ecx
add eax, 0xc4aa8220
add eax, 0x6365ba0b
sub eax, 0xc4aa8220
cmp eax, 0x8855be46
jae 0x1401219da
jmp 0x140121a3f
mov rsp, rbp
pop rbp
ret
jmp 0x1401217ce
jmp 0x140121914
jmp 0x1401219da