Function at 0x140076490
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rcx
mov ecx, dword [0x1402039c8]
mov edx, dword [0x1402039cc]
mov eax, ecx
and eax, edx
shl eax, 1
add ecx, edx
sub ecx, eax
sub ecx, 0xdd5f73ae
mov eax, ecx
add eax, 1
mov edx, 0x267886c2
xor edx, 0xd987793d
xor ecx, edx
or ecx, 0x9279ffea
add ecx, eax
mov edx, ecx
xor edx, 0xffffffff
mov eax, 0x7ba8ae20
xor eax, 0xc5377cd1
and eax, edx
mov edx, 0xffffffff
xor edx, 0xbe9fd2f1
and ecx, edx
or eax, ecx
mov ecx, 0x5acdcbb7
xor ecx, 0xb387a573
cmp eax, ecx
jae 0x1400767dc
mov eax, dword [0x1402039d0]
xor eax, 0x76a16508
mov r8d, dword [0x1402039d4]
mov r9d, r8d
not r9d
mov edx, eax
and edx, r9d
mov ecx, eax
or ecx, r9d
not ecx
imul ecx, edx
mov edx, eax
and edx, r8d
or eax, r8d
imul eax, edx
add eax, ecx
mov ecx, eax
xor ecx, 0xa00862a1
xor eax, 0xb009816
or eax, 0xe43c63a9
or ecx, 0x1bc39c56
and eax, ecx
xor eax, 0x4e0c2443
mov dword [rbp - 0x18], eax
mov eax, 0x10
call fcn.1401ffc50
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x28], rax
sub rsp, 0x20
call fcn.14006b577
mov rcx, qword [rbp - 8]
add rsp, 0x20
mov qword [rbp - 0x20], rax
mov edx, 2
sub rsp, 0x20
call fcn.14006bf90
mov rcx, qword [rbp - 0x20]
mov eax, dword [rbp - 0x18]
add rsp, 0x20
cmp byte [rcx], 0
sete cl
mov byte [rbp - 0x11], cl
cmp eax, 0x58fddb47
je 0x1400767dc
mov al, byte [rbp - 0x11]
test al, 1
jne 0x1400765c8
jmp 0x1400767d7
mov eax, dword [0x1402039d8]
xor edx, edx
div dword [0x1402039dc]
sub eax, 0xa739cc39
sub eax, 0xc1219686
add eax, 0xa739cc39
xor eax, 0xd0ac9ec1
sub eax, 0x2e40ea1f
mov ecx, 0xd365b78b
xor ecx, 0xd1345124
cmp eax, ecx
jb 0x1400767e5
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 0x10]
mov r8d, dword [0x1402039e0]
mov edx, 0xa5d2d2b8
xor edx, 0xde08caa5
xor r8d, edx
mov r9d, dword [0x1402039e4]
mov edx, r8d
and edx, r9d
xor r8d, r9d
or edx, r8d
mov r8d, 0x1e7cf0cb
xor r8d, 0x1e7cf0cb
mov r9d, 0x60909a5a
xor r9d, 0x201773ec
sub r8d, r9d
add edx, r8d
mov r9d, 0xc61beb4b
xor r9d, 0xea45bc79
mov r8d, edx
xor r8d, r9d
xor r8d, 0xffffffff
or edx, 0x2c5e5732
and edx, r8d
imul edx, edx, 0x2184b8a9
mov dword [rbp - 0x30], edx
mov edx, dword [rax]
sub rsp, 0x20
call fcn.14006c75a
mov rcx, qword [rbp - 0x20]
mov eax, dword [rbp - 0x30]
add rsp, 0x20
cmp byte [rcx], 0
sete cl
mov byte [rbp - 0x29], cl
cmp eax, 0x87310fb0
je 0x1400767e5
mov al, byte [rbp - 0x29]
test al, 1
jne 0x1400766b5
jmp 0x1400767d7
mov eax, dword [0x1402039e8]
and eax, dword [0x1402039ec]
mov edx, eax
xor edx, 0xffffffff
and edx, 0xa9737862
mov r8d, 0x97e9cc8a
xor r8d, 0x3e9ab4e8
mov ecx, 0x844bb98a
xor ecx, 0x7bb44675
xor r8d, ecx
mov ecx, eax
and ecx, r8d
imul ecx, edx
mov edx, eax
and edx, 0xa9737862
or eax, 0xa9737862
imul eax, edx
add eax, ecx
sub eax, 0xeb1dab82
mov edx, eax
xor edx, 0xffffffff
and edx, 0xf4791212
mov r8d, 0x4ac4a2f6
xor r8d, 0xbebdb0e4
mov ecx, 0xeab13050
xor ecx, 0x154ecfaf
xor r8d, ecx
mov ecx, eax
and ecx, r8d
imul ecx, edx
mov r8d, 0x7bed4e31
xor r8d, 0x8f945c23
mov edx, eax
and edx, r8d
or eax, 0xf4791212
imul eax, edx
add eax, ecx
cmp eax, 0x874ce94c
jae 0x1400767ee
mov rcx, qword [rbp - 8]
mov eax, dword [0x1402039f0]
xor eax, 0xad08a3f1
or eax, dword [0x1402039f4]
mov r8d, 0x1fc5f63f
xor r8d, 0xa4897d46
xor edx, edx
div r8d
xor eax, 0xaeefaed9
mov r8d, 0xdee6eafe
xor r8d, 0xa707a315
xor edx, edx
div r8d
mov rdx, qword [rbp - 0x28]
mov r8d, eax
mov rax, qword [rbp - 0x10]
mov dword [rbp - 0x34], r8d
mov r8, qword [rax + 8]
mov qword [rdx], r8
mov rax, qword [rax + 0x10]
mov qword [rdx + 8], rax
sub rsp, 0x20
call fcn.14006cfd9
mov eax, dword [rbp - 0x34]
add rsp, 0x20
cmp eax, 0x57fa52c5
je 0x14007675b
invalid
jmp 0x1400767d7
mov rsp, rbp
pop rbp
ret
mov esi, 0xe99a808e
invalid
xchg edx, eax
invalid
jno 0x140076798
invalid