Function at 0x140077b40
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rcx
call fcn.140067614
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdx, qword [rdx]
call fcn.140067bb0
mov rax, qword [rsp + 0x70]
cmp byte [rax], 0
jne 0x140077f36
mov ecx, dword [0x14024e6f8]
mov r8d, dword [0x14024e6fc]
mov eax, ecx
xor eax, 0xffffffff
mov edx, r8d
and edx, eax
mov r9d, r8d
xor r9d, 0xffffffff
mov eax, ecx
and eax, r9d
imul eax, edx
mov edx, ecx
and edx, r8d
or ecx, r8d
imul ecx, edx
add ecx, eax
mov eax, ecx
and eax, 0x18cad211
shl eax, 1
xor ecx, 0x18cad211
add ecx, eax
or ecx, 0xa344a771
mov edx, 0xe1393180
xor edx, 0x43e53fdb
mov eax, ecx
and eax, edx
xor eax, 0xffffffff
and ecx, 0xa2dc0e5b
xor ecx, 0xffffffff
and eax, ecx
mov ecx, 0x90b9db9a
xor ecx, 0x6f462465
xor eax, ecx
cmp eax, 0x6e0e491d
je 0x140077f3b
mov rcx, qword [rsp + 0x60]
xor eax, eax
mov r9, qword [rcx]
mov rdx, r9
dec rdx
mov qword [rsp + 0x50], rdx
mov rcx, r9
neg rcx
mov r8, rcx
and r8, r9
not r8
or rcx, r9
and r8, rcx
not r8
test rdx, rdx
setns cl
or rdx, r8
sets dl
add cl, dl
inc cl
mov byte [rsp + 0x5f], cl
cmp eax, 0xaa412841
jae 0x140077f3b
mov al, byte [rsp + 0x5f]
test al, 1
jne 0x140077d41
jmp 0x140077c55
mov eax, dword [0x14024e708]
mov ecx, dword [0x14024e70c]
xor ecx, 0xd9ece3e9
add eax, 0xbeb92bd
sub eax, ecx
sub eax, 0xbeb92bd
and eax, 0x2c327859
mov ecx, 0x5bafeed8
xor ecx, 0xbbc90b55
or eax, ecx
add eax, 0x2c209f25
mov ecx, 0x562a651e
xor ecx, 0x6aa37860
cmp eax, ecx
je 0x140077f44
mov rcx, qword [rsp + 0x60]
mov eax, dword [0x14024e710]
xor edx, edx
div dword [0x14024e714]
mov r9d, eax
mov edx, r9d
xor edx, 0xffffffff
and edx, 0x69c489f
mov r10d, 0xffffffff
xor r10d, 0x69c489f
and r9d, r10d
mov eax, 0xffffffff
xor eax, 0x4429dd9
mov r8d, 0xae33df90
xor r8d, 0xa8af970f
and eax, r8d
mov r8d, 0xdb9fcdf4
xor r8d, 0xdfdd502d
and r8d, r10d
or edx, r9d
or eax, r8d
xor edx, eax
mov eax, 0x69107bb2
xor eax, 0xc6da3a69
add edx, eax
mov r8d, 0xffffffff
xor r8d, 0x753db5c6
mov eax, edx
xor eax, r8d
and eax, edx
add rcx, 8
mov qword [rsp + 0x48], rcx
cmp eax, 0x5ad92879
je 0x140077c9d
xor eax, eax
mov qword [rsp + 0x40], rax
jmp 0x140077d4b
call fcn.140008c92
jmp 0x140077f36
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
cmp rax, rcx
jg 0x140077f36
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rcx
cmp rax, rcx
jl 0x140077e45
mov eax, dword [0x14024e718]
mov r8d, dword [0x14024e71c]
mov r9d, r8d
xor r9d, 0xffffffff
mov edx, eax
and edx, r9d
mov ecx, eax
or ecx, r9d
xor ecx, 0xffffffff
imul ecx, edx
mov edx, eax
and edx, r8d
or eax, r8d
imul eax, edx
add eax, ecx
mov ecx, 0xdb822ee4
xor ecx, 0x3b718b93
imul eax, ecx
mov ecx, 0x79f170dc
xor ecx, 0x36291551
or eax, ecx
mov ecx, 0xae6c4051
xor ecx, 0xdf923b0d
add eax, ecx
cmp eax, 0x279b212e
jbe 0x140077f4d
mov rcx, qword [rsp + 0x38]
mov eax, dword [0x14024e720]
mov edx, dword [0x14024e724]
xor edx, 0xd379ae5e
add eax, edx
mov edx, eax
add edx, 1
xor eax, 0xffffffff
or eax, 0x9c706142
add eax, edx
or eax, 0x43ae177f
mov r8d, 0x21735bcc
xor edx, edx
div r8d
mov rdx, qword [rsp + 0x30]
mov dword [rsp + 0x2c], eax
xor eax, eax
sub rax, 0xffffffffffffffff
sub rdx, rax
call fcn.14001284c
mov eax, dword [rsp + 0x2c]
cmp eax, 0x920a050d
ja 0x140077de2
jmp 0x140077f36
mov eax, dword [0x14024e728]
mov ecx, dword [0x14024e72c]
mov edx, 0x4bbf7a20
xor edx, 0xb44085df
xor ecx, edx
add eax, ecx
mov ecx, 0x1866df0b
xor ecx, 0x1866df0a
add eax, ecx
xor ecx, ecx
sub ecx, eax
xor eax, eax
sub eax, 0xb5f40fe0
add ecx, eax
mov eax, 0xbae468d5
xor eax, 0xbae468d5
sub eax, ecx
or eax, 0x2c03921f
mov ecx, 0xffffffff
xor ecx, 0xe2661d0c
add eax, ecx
add eax, 1
cmp eax, 0xe76ecf9e
jae 0x140077f56
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
mov r8d, dword [0x14024e730]
or r8d, dword [0x14024e734]
imul r8d, r8d, 0x7096fc42
mov r9d, 0xf28125db
xor r9d, 0x1ad66a5e
imul r8d, r9d
add r8d, 0xc6cf8436
mov dword [rsp + 0x24], r8d
mov rax, qword [rax]
mov rdx, qword [rax + rdx*8 + 8]
call fcn.140077af0
mov rcx, qword [rsp + 0x70]
mov eax, dword [rsp + 0x24]
cmp byte [rcx], 0
sete cl
mov byte [rsp + 0x2b], cl
cmp eax, 0x58b8d3e0
jae 0x140077ea6
mov al, byte [rsp + 0x2b]
test al, 1
jne 0x140077f23
jmp 0x140077f36
mov rax, qword [rsp + 0x38]
mov eax, dword [rsp + 0x38]
add rax, 1
mov qword [rsp + 0x40], rax
jmp 0x140077d4b
add rsp, 0x78
ret
outsb dx, byte [rsi]
mov bl, bl
sbb ch, cl
mov ah, 0xfc
invalid
loope 0x140077f24
int 0xe9
push rax
std
invalid
pop rsi
invalid
call 0x1297878ec
invalid