Function at 0x14003b490
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x1400e0040]
xor rax, rsp
mov qword [rbp - 0x20], rax
call fcn.14001a5a0
xorps xmm1, xmm1
lea rcx, str.Weapons
xorps xmm0, xmm0
unpcklps xmm0, xmm1
movq rdx, xmm0
call fcn.140007690
mov rdx, qword [0x140109998]
movsd xmm0, qword [0x1400cf450]
add rdx, 0x2c
cmp byte [0x1400cf459], 0
movzx eax, word [0x1400cf458]
movsd qword [rbp - 0x50], xmm0
mov word [rbp - 0x48], ax
je 0x14003b52b
xor byte [rbp - 0x4f], 0x39
xor byte [rbp - 0x4e], 0x3a
xor byte [rbp - 0x4d], 0x3b
xor byte [rbp - 0x4c], 0x3c
xor byte [rbp - 0x4b], 0x3d
xor byte [rbp - 0x4a], 0x3e
xor byte [rbp - 0x49], 0x3f
xor byte [rbp - 0x48], 0x40
xor byte [rbp - 0x47], 0x41
mov byte [rbp - 0x50], 0x4e
lea rcx, [rbp - 0x50]
call fcn.14002f9a0
mov rdx, qword [0x140109998]
movsd xmm0, qword [0x1400cf7c8]
add rdx, 0x2d
cmp byte [0x1400cf7d1], 0
movzx eax, word [0x1400cf7d0]
movsd qword [rbp - 0x50], xmm0
mov word [rbp - 0x48], ax
je 0x14003b588
xor byte [rbp - 0x4f], 0x39
xor byte [rbp - 0x4e], 0x3a
xor byte [rbp - 0x4d], 0x3b
xor byte [rbp - 0x4c], 0x3c
xor byte [rbp - 0x4b], 0x3d
xor byte [rbp - 0x4a], 0x3e
xor byte [rbp - 0x49], 0x3f
xor byte [rbp - 0x48], 0x40
xor byte [rbp - 0x47], 0x41
mov byte [rbp - 0x50], 0x4e
lea rcx, [rbp - 0x50]
call fcn.14002f9a0
movsd xmm0, qword [str.XIO]
xor edi, edi
cmp byte [0x1400cf733], dil
mov eax, dword [0x1400cf730]
mov r10, qword [0x140109998]
mov ebx, dword [0x1400e0090]
movdqa xmm6, xmmword [0x1400d0000]
movsd qword [rbp - 0x50], xmm0
mov dword [rbp - 0x48], eax
je 0x14003b704
mov r8d, edi
cmp ebx, 2
jl 0x14003b6ba
movdqa xmm2, xmmword [0x1400cffd0]
mov r8d, 8
movdqa xmm3, xmmword [0x1400d05a0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 0x1a
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400d0080]
psubd xmm2, xmm0
movd xmm0, dword [str.XIO]
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400d00d0]
xorps xmm2, xmm0
movd dword [rbp - 0x50], xmm2
movdqa xmm2, xmmword [0x1400cfff0]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 0x1a
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400d0080]
psubd xmm2, xmm0
movd xmm0, dword [rbp - 0x4c]
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400d00d0]
xorps xmm2, xmm0
movd dword [rbp - 0x4c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8b6e9c61
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x7c
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x14003b6d0
lea rdx, [r10 + 0x2f]
lea rcx, [rbp - 0x50]
call fcn.14002f9a0
mov rdx, qword [0x140109998]
lea rcx, [rbp - 0x50]
movsd xmm0, qword [str.jXJRX_WM_A]
add rdx, 0x30
cmp byte [0x1400cf4a1], dil
movzx eax, word [0x1400cf4a0]
movsd qword [rbp - 0x50], xmm0
mov word [rbp - 0x48], ax
je 0x14003b769
xor byte [rbp - 0x4f], 0x39
xor byte [rbp - 0x4e], 0x3a
xor byte [rbp - 0x4d], 0x3b
xor byte [rbp - 0x4c], 0x3c
xor byte [rbp - 0x4b], 0x3d
xor byte [rbp - 0x4a], 0x3e
xor byte [rbp - 0x49], 0x3f
xor byte [rbp - 0x48], 0x40
xor byte [rbp - 0x47], 0x41
mov byte [rbp - 0x50], 0x52
call fcn.14002f9a0
mov eax, dword [0x1400cf7f0]
mov r8d, edi
mov r10, qword [0x140109998]
movsd xmm0, qword [str.AJWSNWI_a]
add r10, 0x2e
mov dword [rbp - 0x48], eax
movzx eax, word [0x1400cf7f4]
mov word [rbp - 0x44], ax
movzx eax, byte [0x1400cf7f6]
mov byte [rbp - 0x42], al
movsd qword [rbp - 0x50], xmm0
cmp ebx, 2
jl 0x14003b899
movdqa xmm3, xmmword [0x1400cffd0]
mov r8d, 8
movdqa xmm2, xmmword [0x1400cfff0]
movdqa xmm1, xmm3
movdqa xmm4, xmmword [0x1400d05a0]
movdqa xmm0, xmm3
mov eax, dword [0x1400d00d0]
punpckhdq xmm0, xmm3
punpckldq xmm1, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 0x1a
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmmword [0x1400d0080]
psubd xmm3, xmm0
punpckldq xmm1, xmm2
andps xmm3, xmm6
pmuldq xmm1, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.AJWSNWI_a]
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x50], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 0x1a
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x4c]
pmulld xmm0, xmmword [0x1400d0080]
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x4c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8b6e9c61
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x7c
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0xf
jl 0x14003b8b0
mov rdx, r10
lea rcx, [rbp - 0x50]
call fcn.14002f9a0
movups xmm0, xmmword [str.qWYIYMZ_]
mov r10, qword [0x140109998]
movups xmmword [rbp - 0x50], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x14003ba84
cmp ebx, 2
jl 0x14003ba3b
movdqa xmm0, xmmword [0x1400d00d0]
lea rcx, [rbp - 0x4c]
movdqa xmm4, xmmword [0x1400cffd0]
mov edx, edi
movdqa xmm3, xmmword [0x1400d05a0]
movdqa xmm5, xmmword [0x1400d0080]
movdqa xmmword [rbp - 0x30], xmm0
mov r8d, dword [rbp - 0x30]
nop dword [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 0x1a
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 0x1a
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x10
jl 0x14003b950
jmp 0x14003ba84
lea r9, [rbp - 0x50]
mov r8d, edi
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8b6e9c61
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x7c
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0x10
jl 0x14003ba50
lea rdx, [r10 + 0x31]
lea rcx, [rbp - 0x50]
call fcn.14002f9a0
cmp byte [0x1400cf5e9], dil
mov rax, qword [0x1401097d0]
movsd xmm1, qword [str.PVW]
mov dword [rbp - 0x3c], 0x420c0000
mov rcx, qword [rax + 0x3eb0]
movzx eax, word [0x1400cf5e8]
movss xmm0, dword [rcx + 0x20]
movss dword [rbp - 0x40], xmm0
movsd qword [rbp - 0x50], xmm1
mov word [rbp - 0x48], ax
je 0x14003baf9
xor byte [rbp - 0x4f], 0x39
xor byte [rbp - 0x4e], 0x3a
xor byte [rbp - 0x4d], 0x3b
xor byte [rbp - 0x4c], 0x3c
xor byte [rbp - 0x4b], 0x3d
xor byte [rbp - 0x4a], 0x3e
xor byte [rbp - 0x49], 0x3f
xor byte [rbp - 0x48], 0x40
xor byte [rbp - 0x47], 0x41
mov byte [rbp - 0x50], 0x46
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x50]
call fcn.14002e880
test al, al
je 0x14003bc14
mov rax, qword [0x1401099b0]
lea r8, [rbp - 0x40]
mov rcx, qword [0x1401099c8]
mov r9d, 8
mov qword [rsp + 0x20], rdi
mov rdx, qword [rax + 0xb0]
add rdx, qword [rax + 0x38]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1401099c8]
lea r8, [rbp - 0x30]
mov rdx, qword [rbp - 0x40]
mov r9d, 8
add rdx, 0x20
mov qword [rsp + 0x20], rdi
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1401099c8]
lea r8, [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
mov r9d, 8
add rdx, 0x60
mov qword [rsp + 0x20], rdi
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x40]
test rdx, rdx
je 0x14003bc14
mov rcx, qword [0x1401099c8]
lea r8, [rbp - 0x30]
add rdx, 8
mov qword [rsp + 0x20], rdi
mov r9d, 8
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x30]
test rdx, rdx
je 0x14003bc14
mov rcx, qword [0x1401099c8]
lea r8, [rbp - 0x50]
mov r9d, 8
mov qword [rsp + 0x20], rdi
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x14003bc14
mov rcx, qword [0x1401099c8]
lea r8, [rbp - 0x40]
mov dword [rbp - 0x40], 0x4479c000
add rdx, 0x18
mov r9d, 4
mov qword [rsp + 0x20], rdi
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call fcn.140017640
mov ecx, 1
call fcn.14000bc10
call fcn.140012100
call fcn.140012100
call fcn.14001a6d0
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1400470e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [rsp + 0x70]
mov rsp, r11
pop rbp
ret
jmp 0x14003b490