Function at 0x1400876b0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x48], rcx
mov rax, qword [0x140217170]
mov ecx, dword [rax]
call fcn.140007b73
mov rcx, qword [rsp + 0x48]
add rax, 0x50
mov qword [rsp + 0x50], rax
cmp rcx, 0
je 0x1400878cd
mov rax, qword [rsp + 0x48]
mov rcx, 0xffffffffffffffff
xor rcx, 0xfffffffffffffff0
xor edx, edx
sub rdx, 1
sub rcx, rdx
sub rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
cmp rax, 0x10
jb 0x1400877ab
mov r8, qword [rsp + 0x40]
mov rax, r8
add rax, 0xfffffffffffffff0
mov qword [rsp + 0x30], rax
mov rcx, rax
xor rcx, 0xffffffffffffffff
mov rdx, rax
xor rdx, 0xffffffffffffffff
and rcx, rdx
mov rdx, r8
xor rdx, 0xffffffffffffffff
mov r9, r8
xor r9, 0xffffffffffffffff
and rdx, r9
or rcx, rdx
xor rcx, 0xffffffffffffffff
mov rdx, rax
or rdx, r8
xor rdx, 0xffffffffffffffff
xor rcx, 0xffffffffffffffff
xor rdx, 0xffffffffffffffff
and rcx, rdx
cmp rcx, 0
setl dl
cmp rax, 0xffffffffffffffff
setg al
xor al, 0xff
xor dl, 0xff
mov cl, 1
xor cl, 0
or al, dl
or cl, 0
xor al, 0xff
and al, cl
test al, 1
jne 0x14008778f
jmp 0x140087799
call fcn.140007f57
jmp 0x1400878cd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
jmp 0x1400878cd
mov rcx, qword [rsp + 0x48]
call fcn.140087640
mov rax, qword [rsp + 0x50]
cmp byte [rax], 0
jne 0x1400878cd
mov eax, dword [0x1402042f8]
mov r8d, dword [0x1402042fc]
mov ecx, eax
xor ecx, 0xffffffff
mov edx, r8d
and edx, ecx
mov r9d, r8d
xor r9d, 0xffffffff
mov ecx, eax
and ecx, r9d
imul ecx, edx
mov edx, eax
and edx, r8d
or eax, r8d
imul eax, edx
add eax, ecx
sub eax, 0x9f27437d
mov ecx, 0x4210c17c
xor ecx, 0x1eee8c49
sub eax, ecx
add eax, 0x9f27437d
xor eax, 0xffffffff
mov ecx, 0xffffffff
xor ecx, 0x1edab31d
mov edx, 0xffffffff
xor edx, 0x53341d28
or eax, ecx
mov ecx, 0x7161040d
xor ecx, 0x22551925
or ecx, edx
xor eax, 0xffffffff
and eax, ecx
mov ecx, 0xffffffff
xor ecx, 0xc366a1ae
add eax, ecx
add eax, 1
mov ecx, 0xd8b1611a
xor ecx, 0x624f5b06
cmp eax, ecx
ja 0x1400879fc
mov rcx, qword [rsp + 0x48]
mov eax, dword [0x140204300]
xor eax, dword [0x140204304]
mov r8d, 0xb3f89a65
xor r8d, 0x51dc3a63
mov edx, eax
and edx, r8d
shl edx, 1
mov r8d, 0x6993e78f
xor r8d, 0x8bb74789
add eax, r8d
sub eax, edx
mov r8d, 0x813abc9a
xor edx, edx
div r8d
mov r8d, 0xd6d1c3f0
xor edx, edx
div r8d
mov dword [rsp + 0x2c], eax
mov edx, 8
call fcn.14000fb9a
mov eax, dword [rsp + 0x2c]
cmp eax, 0xa9b4515
ja 0x14008785d
jmp 0x1400878cd
mov eax, dword [0x140204308]
xor eax, dword [0x14020430c]
mov edx, 0xffffffff
xor edx, 0xb27d5d1e
mov ecx, eax
and ecx, edx
mov edx, eax
xor edx, 0xb27d5d1e
add eax, edx
sub eax, ecx
mov ecx, 0x9b326fce
xor edx, edx
div ecx
mov ecx, 0xefe595e7
xor ecx, 0xd5f90559
xor eax, ecx
mov ecx, 0xaed58740
xor ecx, 0xe2591bd6
cmp eax, ecx
jae 0x140087a05
mov r11d, dword [0x140204310]
mov eax, dword [0x140204314]
xor eax, 0xa78506e5
sub r11d, eax
mov eax, 0xc1072e51
xor eax, 0x4e11c70a
add r11d, eax
mov ecx, r11d
xor ecx, 0xffffffff
mov r8d, 0xffffffff
xor r8d, 0x197999a4
mov edx, 0xffffffff
xor edx, 0x31ea69fc
mov r9d, 0xae572650
xor r9d, 0x9fbd4fac
mov eax, ecx
and eax, r9d
and r11d, edx
mov r10d, 0xea3d5c43
xor r10d, 0xdbd735bf
mov r9d, r8d
and r9d, r10d
mov r10d, edx
and r10d, 0x197999a4
or eax, r11d
or r9d, r10d
xor eax, r9d
or ecx, r8d
xor ecx, 0xffffffff
or edx, 0x31ea69fc
and ecx, edx
or eax, ecx
mov ecx, 0x8dd375df
xor ecx, 0x722c8a20
mov edx, eax
xor edx, ecx
and edx, 0x7bc76a1b
mov r8d, 0xffffffff
xor r8d, 0x7bc76a1b
mov ecx, eax
and ecx, r8d
imul ecx, edx
mov edx, eax
and edx, 0x7bc76a1b
or eax, 0x7bc76a1b
imul eax, edx
add eax, ecx
mov ecx, 0x26aff6c9
xor ecx, 0xc524a6e0
cmp eax, ecx
jb 0x14008791d
add rsp, 0x58
ret
call 0x129f3834b
pop rax
invalid
rcl ebp, 1
mov bl, 0xac
jmp 0x14008791d