Function at 0x140003810
Capabilities:
Encode data using xor

Disassembly:
push r15
push rdi
push rsi
push r14
push rbx
push rbp
sub rsp, 0xe8
mov word [rsp + 0xd6], 0x1dbb
mov qword [rsp + 0xc8], 0x21426106
mov dword [rsp + 0x84], 0x752c0eb7
mov qword [rsp + 0x90], 0x361f499e
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rcx
call sym.dxva2.dll_RestoreMonitorFactoryColorDefaults
mov r8d, dword [rsp + 0xe4]
mov dword [rsp + 0xe4], r8d
mov rax, qword [rax + 0x18]
mov rcx, rax
add rcx, 0x20
mov rdx, qword [rsp + 0xd8]
mov r9, rdx
and r9, 0x20bd654e
mov rax, qword [rax + 0x20]
mov r10, qword [rsp + 0x58]
cmp r10, 0
setne r11b
mov qword [rsp + 0xd8], r9
mov qword [rsp + 0xb8], rax
mov r9, rdx
xor r9, 0xffffffffffffffff
mov qword [rsp + 0xd8], r9
mov qword [rsp + 0x88], 0
cmp rax, rcx
mov dword [rsp + 0x4c], r8d
mov byte [rsp + 0x4b], r11b
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rdx
je 0x140003b19
jmp 0x140003abe
mov eax, 0x7321de12
mov ecx, eax
mov eax, dword [rsp + 0x4c]
imul edx, eax, 0x56db2e11
mov r8, qword [rsp + 0xa8]
mov dword [rsp + 0xe4], edx
cmp rcx, r8
jne 0x140003b31
jmp 0x140003c93
mov eax, 0x66332375
mov ecx, eax
mov eax, 0x16260867
mov dx, 0x1dd5
mov r8w, word [rsp + 0xd6]
mov r9w, word [rsp + 0xd6]
mov r10, qword [rsp + 0xb0]
mov r11d, dword [rsp + 0x9c]
mov esi, r11d
mov edi, esi
mov bx, word [r10 + rdi*2]
sub dx, r8w
mov esi, dword [rsp + 0x4c]
add esi, esi
mov dword [rsp + 0xe4], esi
xor r9w, 0x1d9b
mov esi, dword [rsp + 0x4c]
add esi, 0xa35f0d5
mov dword [rsp + 0xe4], esi
mov r8w, bx
add r8w, 0xffbf
mov bp, bx
add bp, r9w
cmp r8w, dx
cmovb bx, bp
mov esi, dword [rsp + 0x4c]
mov qword [rsp + 0x30], rcx
mov ecx, esi
shl eax, cl
mov dword [rsp + 0xe4], eax
mov r10, qword [rsp + 0x50]
cmp word [r10 + rdi*2], bx
sete cl
and cl, 1
mov byte [rsp + 0x6f], cl
cmp bx, 0
setne cl
mov dword [rsp + 0xe4], esi
add r11d, 1
and cl, byte [rsp + 0x6f]
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0xd8], rdi
mov r14, qword [rsp + 0x30]
sub r14, rdi
cmp r11d, dword [rsp + 0x80]
setb r15b
and cl, r15b
mov qword [rsp + 0xd8], r14
mov dword [rsp + 0x9c], r11d
test cl, 1
jne 0x140003914
jmp 0x140003aae
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
shr rax, cl
mov rdx, qword [rsp + 0xc0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x38]
sub rax, rax
mov r8w, word [rdx]
mov qword [rsp + 0xd8], rax
mov r9w, word [rsp + 0xd6]
xor r9w, 0x1dbb
mov r10d, dword [rsp + 0x4c]
xor r10d, r10d
mov dword [rsp + 0xe4], r10d
shr r8w, 1
movzx r10d, r8w
mov dword [rsp + 0x80], r10d
mov dword [rsp + 0x9c], 0
mov r10d, dword [rsp + 0x4c]
or r10d, r10d
mov dword [rsp + 0xe4], r10d
cmp r8w, r9w
je 0x140003bb9
jmp 0x140003914
mov rax, qword [rsp + 0x78]
add rax, 0xfffffffffffffff0
mov qword [rsp + 0x88], rax
jmp 0x140003b19
test byte [rsp + 0x6f], 1
jne 0x140003c93
jmp 0x140003bb9
mov eax, 0x2397dec8
mov rcx, qword [rsp + 0xb8]
mov qword [rsp + 0x78], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0xa8], rcx
mov rcx, qword [rsp + 0x78]
add rcx, 0x48
mov qword [rsp + 0xc0], rcx
mov edx, dword [rsp + 0x84]
mov rcx, qword [rsp + 0xc0]
add rcx, 8
mov qword [rsp + 0xa0], rcx
cmp eax, edx
ja 0x140003bb9
jmp 0x1400038e6
mov rax, qword [rsp + 0x88]
add rsp, 0xe8
pop rbp
pop rbx
pop r14
pop rsi
pop rdi
pop r15
ret
mov eax, dword [rsp + 0x4c]
and eax, 0x1b56fac0
mov dword [rsp + 0xe4], eax
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov qword [rsp + 0xb0], rcx
mov rcx, qword [rsp + 0x78]
add rcx, 0x20
mov qword [rsp + 0x60], rcx
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov rcx, rdx
shl rdx, cl
mov qword [rsp + 0xd8], rdx
mov rdx, qword [rsp + 0x38]
or rdx, rdx
mov r8, qword [rsp + 0x28]
mov r9, qword [rsp + 0x58]
cmp r8, r9
sete cl
mov qword [rsp + 0xd8], rdx
mov r10b, byte [rsp + 0x4b]
and r10b, cl
test r10b, 1
jne 0x140003c63
jmp 0x140003a10
mov rax, qword [rsp + 0x38]
imul rcx, rax, 0x58418cf7
mov qword [rsp + 0xd8], rcx
mov rcx, qword [rsp + 0x78]
mov edx, dword [rsp + 0x84]
mov r8d, edx
imul r8d, r8d
mov r9d, edx
imul r9d, r9d
mov r10d, edx
sub r10d, r10d
add edx, edx
imul edx, r10d
sub r8d, r9d
mov r9d, dword [rsp + 0x4c]
imul r10d, r9d, 0x5a079e6f
mov dword [rsp + 0xe4], r10d
mov rcx, qword [rcx]
mov qword [rsp + 0x70], rcx
cmp r8d, edx
jne 0x140003a10
mov eax, 0x146aee3f
mov ecx, eax
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x70]
mov qword [rsp + 0xb8], r8
mov qword [rsp + 0x88], 0
mov r8, qword [rsp + 0x38]
sub rcx, r8
mov qword [rsp + 0xd8], rcx
mov rcx, qword [rsp + 0x40]
cmp rdx, rcx
je 0x140003b19
jmp 0x140003abe
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xc8]
xor rcx, 0x35bbf1d8
mov dword [rsp + 0x9c], 0x3a2be199
cmp rax, rcx
je 0x140003914
jmp 0x140003a9b
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x38]
and rax, 0x74480314
mov qword [rsp + 0xd8], rax
jmp 0x140003b19