Function at 0x180036540
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x180169010]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r13, rdx
mov rsi, rcx
mov rbx, qword [rcx + 0xd8]
mov rdx, qword [rbx + 0x28]
lea rcx, [rbp + 0x70]
call fcn.180036460
nop
mov rdx, qword [rbx + 0x30]
lea rcx, [rbp + 0x28]
call fcn.180036460
nop
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xor r12d, r12d
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], 0xf
mov byte [rbp + 8], r12b
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x48]
call fcn.18003beb0
nop
lea rax, [rbp + 0x48]
mov r14, qword [rbp + 0x48]
mov r15, qword [rbp + 0x60]
cmp r15, 0x10
cmovae rax, r14
mov rcx, qword [rbp + 0x58]
cmp byte [rcx + rax - 1], 0x54
jne 0x1800367d7
mov rax, qword [str.dC_CL]
mov qword [rsp + 0x30], rax
cmp byte [str.7ktui5], r12b
je 0x180036773
cmp dword [0x180169018], 2
jl 0x18003672e
movdqa xmm4, xmmword [0x180161d70]
mov eax, 5
movd xmm6, eax
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x180161920]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180161950]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180161960]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, dword [rsp + 0x30]
pxor xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x180161940]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180161950]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180161960]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, dword [rsp + 0x34]
pxor xmm2, xmm0
movd dword [rsp + 0x34], xmm2
jmp 0x180036773
lea r9, [rsp + 0x30]
mov r8d, r12d
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x180036740
lea rax, [rsp + 0x30]
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x180036780
mov rcx, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x20]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x1800367cd
lea rax, [rcx + rdi]
mov qword [rbp + 0x18], rax
lea rbx, [rbp + 8]
cmp rdx, 0x10
cmovae rbx, qword [rbp + 8]
add rbx, rcx
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
jmp 0x180036a54
lea r9, [rsp + 0x30]
jmp 0x180036a43
lea rax, [rbp + 0x48]
cmp r15, 0x10
cmovae rax, r14
cmp byte [rax + rcx - 1], 0x55
jne 0x18003698e
mov rax, qword [str.e__BAP]
mov qword [rsp + 0x30], rax
cmp byte [str.7vTSGAGSD], 0
je 0x180036973
cmp dword [0x180169018], 2
jl 0x18003692a
movdqa xmm4, xmmword [0x180161d70]
mov eax, 5
movd xmm6, eax
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x180161920]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180161950]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180161960]
packuswb xmm2, xmm2
mov eax, dword [str.0000000000000000]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x30]
pxor xmm2, xmm1
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x180161940]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180161950]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180161960]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
pxor xmm2, xmm1
movd dword [rsp + 0x34], xmm2
jmp 0x180036973
lea r9, [rsp + 0x30]
mov r8d, r12d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x180036940
lea rax, [rsp + 0x30]
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x180036980
jmp 0x180036789
lea rax, [rbp + 0x48]
cmp r15, 0x10
cmovae rax, r14
cmp byte [rcx + rax - 1], 0x59
jne 0x180036a54
mov eax, dword [str.iG_S]
mov dword [rsp + 0x30], eax
movzx ecx, word [0x1801616f8]
mov word [rsp + 0x34], cx
movzx eax, byte [0x1801616fa]
mov byte [rsp + 0x30], 0x59
xor byte [rsp + 0x31], 0x31
xor byte [rsp + 0x32], 0x32
xor byte [rsp + 0x33], 0x33
xor cl, 0x34
mov byte [rsp + 0x34], cl
xor byte [rsp + 0x35], 0x35
xor al, 0x36
mov byte [rsp + 0x36], al
lea rax, [rsp + 0x30]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x1800369f4
mov rcx, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x20]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x180036a3e
lea rax, [rdi + rcx]
mov qword [rbp + 0x18], rax
lea rbx, [rbp + 8]
cmp rdx, 0x10
cmovae rbx, qword [rbp + 8]
add rbx, rcx
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
jmp 0x180036a54
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp + 8]
call fcn.18003c140
mov rdi, qword [rbp + 0x38]
lea r9, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae r9, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x20]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x180036aa5
lea rax, [rdi + rcx]
mov qword [rbp + 0x18], rax
lea rbx, [rbp + 8]
cmp rdx, 0x10
cmovae rbx, qword [rbp + 8]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x180036ab6
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp + 8]
call fcn.18003c140
movss xmm7, dword [rsi + 0x1c]
movss xmm6, dword [rsi + 0x20]
movsd xmm0, qword [r13]
movsd qword [rsp + 0x58], xmm0
mov eax, dword [r13 + 8]
mov dword [rsp + 0x60], eax
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x68]
call fcn.18003beb0
nop
movss dword [rbp - 0x30], xmm6
movsd xmm1, qword [rsp + 0x58]
movsd qword [rbp - 0x28], xmm1
mov edi, dword [rsp + 0x60]
mov dword [rbp - 0x20], edi
movups xmm3, xmmword [rsp + 0x68]
movups xmmword [rbp - 0x18], xmm3
movups xmm2, xmmword [rsp + 0x78]
movdqa xmm0, xmmword [0x1801618e0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
movss dword [rbp - 0x70], xmm7
movss dword [rbp - 0x68], xmm6
movaps xmm8, xmm1
movsd qword [rbp - 0x60], xmm1
mov dword [rbp - 0x58], edi
movups xmmword [rbp - 0x50], xmm3
movups xmmword [rbp - 0x40], xmm2
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
mov rbx, qword [0x180169a78]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], r12d
mov rcx, rbx
cmp byte [rax + 0x19], 0
jne 0x180036b8a
mov qword [rsp + 0x40], rax
cmp qword [rax + 0x20], rsi
jge 0x180036b76
mov dword [rsp + 0x48], r12d
mov rax, qword [rax + 0x10]
jmp 0x180036b84
mov dword [rsp + 0x48], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180036b60
cmp byte [rcx + 0x19], 0
jne 0x180036b9a
cmp rsi, qword [rcx + 0x20]
jge 0x180036c29
movabs rax, 0x276276276276276
cmp qword [0x180169a80], rax
je 0x180036de0
lea r12, [0x180169a78]
mov qword [rsp + 0x30], r12
xor r13d, r13d
mov qword [rsp + 0x38], r13
lea ecx, [r13 + 0x68]
call fcn.18003cce4
nop
mov qword [rax + 0x20], rsi
mov dword [rax + 0x28], r13d
mov dword [rax + 0x30], r13d
xor ecx, ecx
mov qword [rax + 0x38], rcx
mov dword [rax + 0x40], ecx
xorps xmm0, xmm0
movups xmmword [rax + 0x48], xmm0
mov qword [rax + 0x58], r13
mov qword [rax + 0x60], 0xf
mov byte [rax + 0x48], cl
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], cx
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x30], xmm0
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.18003c2d0
mov rcx, rax
xor r12d, r12d
movss dword [rcx + 0x28], xmm7
movss dword [rcx + 0x30], xmm6
movsd qword [rcx + 0x38], xmm8
mov dword [rcx + 0x40], edi
add rcx, 0x48
lea rdx, [rbp - 0x50]
call fcn.18003bd00
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x180036c89
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036c83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180036c83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003ca04
nop
cmp r15, 0x10
jb 0x180036cc4
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x180036cbb
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180036cbb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.18003ca04
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x180036d02
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036cfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180036cfd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003ca04
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], 0xf
mov byte [rbp + 8], 0
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x180036d50
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036d4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180036d4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003ca04
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], 0xf
mov byte [rbp + 0x28], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x180036da1
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036d9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180036d9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003ca04
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.18003c980
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800362b0
nop
int3