Function at 0x140012990
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xc8
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rcx
mov rax, qword [rcx]
mov qword [rsp + 0x78], rax
cmp rax, rdx
jle 0x140012aa5
mov ecx, dword [0x1401d8838]
mov edx, dword [0x1401d883c]
mov eax, ecx
and eax, edx
xor ecx, edx
or eax, ecx
mov r8d, 0xffffffff
xor r8d, 0x8ef8a7ca
mov edx, eax
and edx, r8d
mov ecx, eax
or ecx, r8d
xor ecx, 0xffffffff
imul ecx, edx
mov r8d, 0xe0a2886
xor r8d, 0x80f28f4c
mov edx, eax
and edx, r8d
or eax, 0x8ef8a7ca
imul eax, edx
add eax, ecx
mov r8d, 0xffffffff
xor r8d, 0x81c15bbf
mov edx, eax
and edx, r8d
mov ecx, eax
or ecx, r8d
xor ecx, 0xffffffff
imul ecx, edx
mov edx, eax
and edx, 0x81c15bbf
or eax, 0x81c15bbf
imul eax, edx
add eax, ecx
or eax, 0x817a3671
mov ecx, 0x58dc1cec
xor ecx, 0x2dc43655
cmp eax, ecx
jbe 0x140012e9b
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov eax, dword [0x1401d8840]
add eax, dword [0x1401d8844]
imul eax, eax, 0xe2e0e0ae
mov r8d, eax
xor r8d, 0xffffffff
and r8d, 0xd9ed1025
mov r9d, 0xffffffff
xor r9d, 0xd9ed1025
and eax, r9d
sub eax, r8d
or eax, 0x796ec90b
mov dword [rsp + 0x64], eax
call fcn.140012550
mov eax, dword [rsp + 0x64]
cmp eax, 0x4761d2d
jbe 0x140012e9b
jmp 0x140012d7c
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
cmp rax, rcx
jge 0x140012d7c
mov r8d, dword [0x1401d8848]
xor r8d, dword [0x1401d884c]
mov eax, 0x7ff1d156
xor eax, 0x3e4e4c46
imul r8d, eax
mov ecx, 0x4b408660
xor ecx, 0xb4bf799f
mov eax, r8d
xor eax, ecx
and eax, 0x9e5c3c23
mov edx, 0xb5ad7f46
xor edx, 0x2bf14365
mov ecx, 0x227d6dd8
xor ecx, 0xdd829227
xor edx, ecx
and r8d, edx
mov ecx, 0xffffffff
xor ecx, 0x2ca337e3
mov r9d, 0x32469b39
xor r9d, 0xac1aa71a
and ecx, r9d
and edx, 0x2ca337e3
or eax, r8d
or ecx, edx
xor eax, ecx
mov ecx, eax
and ecx, 0x9e4e4515
shl ecx, 1
add eax, 0x9e4e4515
sub eax, ecx
cmp eax, 0x277002d3
jbe 0x140012ea4
mov rcx, qword [rsp + 0x70]
mov eax, dword [str.__tc]
mov edx, dword [0x1401d8854]
xor edx, 0x49b663ce
or eax, edx
and eax, 0xd119ea38
and eax, 0x33f8485c
mov edx, 0xc287fef5
xor edx, 0xb90ee797
xor eax, edx
mov rdx, rcx
add rdx, 8
mov qword [rsp + 0x50], rdx
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x58], rcx
cmp rcx, 0
sete cl
mov byte [rsp + 0x63], cl
cmp eax, 0xf155de41
je 0x140012b49
mov al, byte [rsp + 0x63]
test al, 1
jne 0x140012be5
jmp 0x140012bb5
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
movabs rdx, 0xe9fc26e9e99bab76
movabs r8, 0x5603d91616645489
xor rdx, r8
and rax, rdx
cmp rax, rcx
jge 0x140012cb6
mov r8, qword [rsp + 0x78]
mov r9, qword [rsp + 0x68]
mov rdx, r9
sub rdx, r8
mov qword [rsp + 0x48], rdx
mov rcx, rdx
xor rcx, 0xffffffffffffffff
mov rax, r9
and rax, rcx
xor r9, 0xffffffffffffffff
mov rcx, rdx
and rcx, r9
or rax, rcx
cmp rax, 0
setl al
mov rcx, rdx
xor rcx, 0xffffffffffffffff
mov r9, rdx
xor r9, 0xffffffffffffffff
and rcx, r9
mov r9, r8
xor r9, 0xffffffffffffffff
mov r10, r8
xor r10, 0xffffffffffffffff
and r9, r10
or rcx, r9
xor rcx, 0xffffffffffffffff
or rdx, r8
movabs r8, 0x33fff5f3e42d0260
movabs r9, 0xcc000a0c1bd2fd9f
xor r8, r9
xor rdx, r8
or rcx, rdx
xor rcx, 0xffffffffffffffff
cmp rcx, 0xffffffffffffffff
setg cl
and al, cl
test al, 1
jne 0x140012cac
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x78]
mov r9d, 0x48
mov qword [rsp + 0x20], 8
call fcn.1400109f0
mov rcx, rax
mov rax, qword [rsp + 0x50]
mov qword [rax], rcx
jmp 0x140012cb6
call fcn.140007bb8
jmp 0x140012d7c
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov qword [rcx], rdx
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
cmp rax, rcx
jge 0x140012d68
movabs rdx, 0x117add824dcc2dc8
movabs rax, 0x117add824dcc2d80
xor rdx, rax
lea rcx, [rsp + 0x80]
call fcn.1400080a0
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rcx]
add rcx, 8
imul rax, rax, 0x48
add rcx, rax
lea rdx, [rsp + 0x80]
call fcn.140061890
mov rcx, qword [rsp + 0x38]
mov rdx, 0xffffffffffffffff
xor rdx, 1
xor eax, eax
sub rax, 1
sub rdx, rax
mov rax, rcx
sub rax, rdx
mov qword [rsp + 0x30], rax
xor rcx, 0xffffffffffffffff
and rax, rcx
cmp rax, 0
jge 0x140012d6d
call fcn.140007bb8
jmp 0x140012d7c
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
jmp 0x140012ccd
mov eax, dword [0x1401d8858]
mov edx, dword [0x1401d885c]
mov ecx, eax
xor ecx, edx
xor edx, 0xffffffff
and eax, edx
shl eax, 1
sub eax, ecx
mov r8d, eax
xor r8d, 0xffffffff
xor eax, 0xffffffff
or r8d, eax
mov eax, 0xffffffff
xor eax, 0x852d7b62
mov ecx, 0x81aafeb8
xor ecx, 0x48785da
mov edx, 0x39539213
xor edx, 0xc6ac6dec
xor ecx, edx
or eax, ecx
xor r8d, 0xffffffff
xor eax, 0xffffffff
or r8d, eax
mov eax, 0x1b3ebab9
xor eax, 0x1b3ebab9
mov ecx, 0x9e0b725
xor ecx, 0x1bbb4c0a
sub eax, ecx
add r8d, eax
mov ecx, r8d
xor ecx, 0xffffffff
mov eax, 0x4fc1da7b
xor eax, 0x919103da
and eax, ecx
mov edx, 0xffffffff
xor edx, 0xde50d9a1
and r8d, edx
mov ecx, 0xffffffff
xor ecx, 0xec871d28
and ecx, 0xde50d9a1
and edx, 0xec871d28
or eax, r8d
or ecx, edx
xor eax, ecx
mov ecx, 0x6921730e
xor ecx, 0x7a17c8da
cmp eax, ecx
jb 0x140012ead
mov eax, dword [0x1401d8860]
xor eax, 0x93466391
add eax, dword [0x1401d8864]
and eax, 0xd5dc7075
xor ecx, ecx
sub ecx, eax
mov eax, 0x81c51114
xor eax, 0x81c51114
mov edx, 0xfa422a1
xor edx, 0x4295d03e
sub eax, edx
add ecx, eax
xor eax, eax
sub eax, ecx
mov ecx, eax
and ecx, 0x3b56889b
xor ecx, 0xffffffff
add eax, 0x3b56889b
add eax, 1
add eax, ecx
cmp eax, 0xdf55119
je 0x140012ead
add rsp, 0xc8
ret
jno 0x140012f1a
jge 0x140012eb1
jmp 0x140012a46
xchg ebp, eax
cmp eax, 0x9ce9e6b5
cld
invalid
xchg dword [rcx - 0x1e], esi
jmp 0x140012e3c
jmp 0x140012e3c
sub rsp, 0x38
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
xor eax, eax
mov edx, eax
call fcn.140012550
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
add rsp, 0x38
jmp 0x140012990
and ch, ch
invalid