Function at 0x140036488
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
mov rax, qword [0x14006f7c0]
xor rax, rsp
mov qword [rbp + 0x28], rax
xor esi, esi
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 1]
mov r8b, 0x45
mov dl, 0x2c
lea rdi, [0x1400709e0]
mov rcx, rdi
call fcn.14005184c
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 3]
mov r8b, 0x45
mov dl, 0x2c
mov rcx, rdi
call fcn.14005184c
mov edx, 0x3e8
mov rcx, rdi
call fcn.140051588
xor edx, edx
mov rcx, rdi
call fcn.1400510dc
lea edx, [rsi + 2]
mov rcx, rdi
call fcn.1400500c4
mov rbx, rax
mov rcx, rdi
call fcn.14004f800
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
mov qword [rbp + 0x18], rsi
mov qword [rbp - 0x20], rsi
lea r9, [rbp - 0x20]
xor edx, edx
lea r8d, [rsi + 1]
mov rcx, rdi
call fcn.14004f940
xor edx, edx
lea r8d, [rsi + 0x50]
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x70]
call fcn.140035d00
nop
mov qword [rbp - 0x68], rbx
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.140036300
lea r8, [0x140061e88]
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x70]
call fcn.140036070
lea rdx, [rbp + 0x20]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_IStream_Size]
mov ebx, dword [rbp + 0x20]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_IStream_Reset]
mov edx, ebx
lea r8, [rsp + 0x30]
lea rcx, [rbp + 8]
call fcn.140035b28
mov r8d, ebx
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_IStream_Read]
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
call qword [rax + 0x10]
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rsi
mov qword [rbp], rsi
lea ebx, [rsi + 0xf]
mov rdx, qword [rbp + 8]
mov r8, qword [rbp + 0x10]
cmp rdx, r8
jne 0x1400365e9
mov r8d, esi
mov qword [rbp - 8], rsi
mov eax, ebx
mov qword [rbp], rbx
mov byte [rbp - 0x18], sil
jmp 0x140036600
mov r9, r8
sub r9, rdx
lea rcx, [rbp - 0x18]
call fcn.1400183ac
mov rax, qword [rbp]
mov r8, qword [rbp - 8]
lea rcx, [rsp + 0x48]
mov qword [rbp - 0x78], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
lea rdx, [rbp - 0x18]
cmp rax, rbx
cmova rdx, qword [rbp - 0x18]
lea rcx, [rsp + 0x48]
call fcn.1400059c8
nop
movdqa xmm0, xmmword [str.T_a711:___z__3]
movdqu xmmword [rsp + 0x38], xmm0
mov rcx, rsi
mov al, byte [rsp + 0x38]
xor byte [rsp + rcx + 0x39], al
inc rcx
cmp rcx, 0xe
jb 0x140036643
mov byte [rsp + 0x47], sil
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
lea rax, [rsp + 0x39]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x140036673
lea rdx, [rsp + 0x39]
lea rcx, [rsp + 0x68]
call fcn.1400013b0
nop
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
lea rcx, [0x1400705c0]
call fcn.140017754
nop
mov edi, 0x1000
mov rdx, qword [rbp]
cmp rdx, rbx
jbe 0x1400366e1
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, rdi
jb 0x1400366dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400366dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052234
mov qword [rbp - 8], rsi
mov qword [rbp], rbx
mov byte [rbp - 0x18], sil
lea rcx, [rbp - 0x70]
call fcn.140035d78
nop
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x140036730
mov rdx, qword [rbp + 0x18]
sub rdx, rcx
mov rax, rcx
cmp rdx, rdi
jb 0x14003672b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003672b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052234
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.140052350
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret