Function at 0x140203e00
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [rcx]
xor r13d, r13d
mov r12d, r9d
mov r14d, r8d
mov rbp, rdx
mov dword [rdx], r13d
mov dword [rdx + 4], r13d
xor r9d, r9d
mov edx, 0x418
xor r8d, r8d
mov rdi, rcx
mov rsi, r13
call qword [rax + 0x220]
or r8, 0xffffffffffffffff
cmp eax, r13d
mov rbx, rax
movsxd r15, eax
je 0x140203ec2
lea eax, [r13 + 0x20]
mul r15
cmovo rax, r8
mov rcx, rax
call fcn.1401ebd7c
cmp r15, r13
mov r12d, r13d
mov rsi, rax
jle 0x140203eb6
lea rbp, [rax + 8]
mov r13, r15
mov r10, qword [rdi]
lea r9, [rbp - 8]
movsxd r8, r12d
mov edx, 0x417
mov rcx, rdi
call qword [r10 + 0x220]
xor byte [rbp], 4
add rbp, 0x20
add r12d, 1
sub r13, 1
jne 0x140203e83
mov rbp, qword [rsp + 0xd8]
mov r12d, dword [rsp + 0xe8]
or r8, 0xffffffffffffffff
cmp ebx, r13d
jle 0x1402041f7
mov ecx, dword [rdi + 0xdc]
test cl, 2
jne 0x140203f81
mov eax, ecx
and eax, 4
je 0x140203f5d
test r14b, 4
je 0x140203ef0
mov r9d, dword [rdi + 0xc8]
jmp 0x140203f6e
test r14b, 8
je 0x140203efe
mov r9d, 0x7fff
jmp 0x140203f6e
test r14b, 0x10
je 0x140203f09
xor r9d, r9d
jmp 0x140203f6e
cmp r12d, r8d
je 0x140203f58
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov r11, qword [rdi]
mov r8d, r14d
lea rdx, [rsp + 0x58]
and r8d, 2
mov rcx, rdi
call qword [r11 + 0x280]
mov r11d, r14d
and r11d, 0x20
je 0x140203f45
mov eax, dword [rsp + 0x64]
sub eax, dword [rsp + 0x5c]
jmp 0x140203f4d
mov eax, dword [rsp + 0x60]
sub eax, dword [rsp + 0x58]
lea r9d, [rax + r12]
mov dword [rsp + 0x20], r11d
jmp 0x140203f73
test cl, 1
jne 0x140203ee7
mov eax, r14d
and al, 2
neg al
sbb r9d, r9d
and r9d, 0x7fff
mov dword [rsp + 0x20], r13d
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
call fcn.140203340
lea rdx, [rsp + 0xd0]
mov r9d, ebx
mov r8, rsi
mov rcx, rdi
call fcn.1402031f4
test r14b, 0x40
mov rcx, qword [rax]
mov qword [rbp], rcx
je 0x1402041ef
cmp r15, r13
mov eax, dword [rdi + 0x118]
mov qword [rsp + 0x40], r13
mov r12d, r13d
mov dword [rdi + 0x118], r13d
mov dword [rsp + 0xd0], eax
jle 0x1402040cd
lea rbp, [rsi + 4]
mov rcx, r15
mov rax, rbp
test byte [rax + 5], 1
je 0x140203fe6
cmp dword [rax], r13d
je 0x140203fe6
add r12d, 1
add rax, 0x20
sub rcx, 1
jne 0x140203fd7
cmp r12d, r13d
jle 0x1402040c5
movsxd rcx, r12d
mov eax, 0x18
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1401ebd7c
xor ecx, ecx
xor edx, edx
mov r14, rax
mov qword [rsp + 0x40], rax
movsxd rax, r12d
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x58], rax
mov r12d, r13d
add r14, 8
cmp rdx, rax
jge 0x1402040ba
test byte [rbp + 5], 1
je 0x1402040a4
cmp dword [rbp], 0
je 0x1402040a4
mov dword [r14 - 8], r13d
mov eax, dword [rbp]
lea r8, [rsp + 0x68]
mov dword [r14 - 4], eax
mov rax, qword [rdi]
mov edx, r13d
mov rcx, rdi
call qword [rax + 0x2e8]
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.1401f930c
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
movdqu xmm5, xmmword [rsp + 0x68]
movdqu xmmword [r14], xmm5
mov rax, qword [rsp + 0x58]
add rdx, 1
add r12d, 1
add r14, 0x18
mov qword [rsp + 0x48], rdx
add rcx, 1
add r13d, 1
add rbp, 0x20
cmp rcx, r15
mov qword [rsp + 0x50], rcx
jl 0x14020403c
mov r14d, dword [rsp + 0xe0]
xor r13d, r13d
mov rbp, qword [rsp + 0xd8]
mov eax, dword [rdi + 0xdc]
test al, 1
je 0x1402040e4
test al, 4
je 0x1402040e4
mov eax, dword [rbp]
mov dword [rdi + 0xc8], eax
cmp ebx, r13d
mov ebp, r13d
jle 0x14020410a
mov r13, rsi
mov r8, r13
mov edx, ebp
mov rcx, rdi
call fcn.140202f5c
add ebp, 1
add r13, 0x20
cmp ebp, ebx
jl 0x1402040ef
xor r13d, r13d
cmp r12d, r13d
jle 0x1402041da
mov r15, qword [rsp + 0x40]
movsxd r12, r12d
cmp r12, r13
jle 0x1402041d2
lea rbp, [r15 + 8]
mov edx, dword [rbp - 4]
mov rcx, rdi
call fcn.1401ed5a8
test rax, rax
mov r13, rax
je 0x1402041c4
mov rcx, qword [rax + 0x40]
lea rdx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r11, qword [rbp]
mov ecx, dword [rsp + 0x5c]
mov ebx, dword [rsp + 0x58]
mov rax, qword [rdi]
mov edx, dword [rbp - 8]
sub ebx, r11d
shr r11, 0x20
lea r8, [rsp + 0x58]
sub ecx, r11d
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x54], ecx
mov rcx, rdi
call qword [rax + 0x2e8]
mov r11d, dword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
shr rax, 0x20
lea r8d, [rbx + r11]
mov dword [rsp + 0x30], 0x15
add eax, dword [rsp + 0x5c]
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x48], r8d
mov r9, qword [rsp + 0x48]
xor edx, edx
mov rcx, r13
shr r9, 0x20
call fcn.1401eda00
add rbp, 0x18
sub r12, 1
jne 0x140204128
mov rcx, r15
call fcn.1401ebdc0
mov eax, dword [rsp + 0xd0]
mov rbp, qword [rsp + 0xd8]
mov dword [rdi + 0x118], eax
mov rcx, rsi
call fcn.1401ebdc0
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov rax, qword [rdi]
mov ebx, r14d
and ebx, 2
lea rdx, [rsp + 0x58]
mov rcx, rdi
mov r8d, ebx
call qword [rax + 0x280]
mov r11d, dword [rsp + 0x5c]
mov eax, dword [rsp + 0x58]
sub r11d, dword [rsp + 0x64]
sub eax, dword [rsp + 0x60]
and r14d, 1
add dword [rbp + 4], r11d
add dword [rbp], eax
lea rdx, [rsp + 0xd8]
mov r9d, ebx
mov r8d, r14d
mov rcx, rdi
call fcn.140211e4c
mov rax, qword [rsp + 0xd8]
cmp dword [rbp], eax
cmovg eax, dword [rbp]
mov dword [rbp], eax
mov eax, dword [rsp + 0xdc]
cmp dword [rbp + 4], eax
cmovg eax, dword [rbp + 4]
mov dword [rbp + 4], eax
mov rax, rbp
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret