Function at 0x140002ab0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movups xmm0, xmmword [str.__ERJpTQYJr_41_r62_I]
mov edi, dword [0x140046018]
xor ebx, ebx
movaps xmmword [rax - 0x38], xmm6
mov r8d, ebx
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov eax, dword [0x140039a18]
lea esi, [rbx + 1]
mov dword [rbp - 0x21], eax
lea r14d, [rbx + 0x1f]
movzx eax, word [0x140039a1c]
mov word [rbp - 0x1d], ax
movzx eax, byte [0x140039a1e]
mov byte [rbp - 0x1b], al
movups xmmword [rbp - 0x31], xmm0
cmp edi, 2
jl 0x140002c59
movdqa xmm0, xmmword [0x14003ecb0]
lea rcx, [rbp - 0x2d]
movdqa xmm5, xmmword [0x14003ec30]
movdqa xmm4, xmmword [0x14003eca0]
movdqa xmm7, xmmword [0x14003ec60]
movdqa xmmword [rbp - 0x59], xmm0
mov edx, dword [rbp - 0x59]
movd xmm6, esi
movd xmm8, r14d
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x14003ec90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14003ec90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140002b50
cmp r8d, 0x17
jge 0x140002ca0
movsxd rax, r8d
lea r9, [rbp - 0x31]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x140002c70
mov eax, dword [0x140039c2c]
lea rcx, [rbp + 0x67]
mov dword [rbp + 0x67], eax
movzx eax, word [0x140039c30]
xor byte [rbp + 0x68], 0x34
xor byte [rbp + 0x69], 0x35
xor byte [rbp + 0x6a], 0x36
mov word [rbp + 0x6b], ax
movzx eax, byte [0x140039c32]
xor byte [rbp + 0x6b], 0x37
xor al, 0x39
xor byte [rbp + 0x6c], 0x38
mov byte [rbp + 0x6d], al
mov byte [rbp + 0x67], 0x77
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
jne 0x140003103
mov eax, dword [0x140039a18]
mov r8d, ebx
mov dword [rbp - 9], eax
movzx eax, word [0x140039a1c]
mov word [rbp - 5], ax
movzx eax, byte [0x140039a1e]
mov byte [rbp - 3], al
movups xmm0, xmmword [str.__ERJpTQYJr_41_r62_I]
movups xmmword [rbp - 0x19], xmm0
cmp edi, 2
jl 0x140002e79
movdqa xmm0, xmmword [0x14003ecb0]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x14003ec30]
movdqa xmm4, xmmword [0x14003eca0]
movdqa xmm7, xmmword [0x14003ec60]
movdqa xmmword [rbp - 0x59], xmm0
mov edx, dword [rbp - 0x59]
movd xmm6, esi
movd xmm8, r14d
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x14003ec90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14003ec90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140002d70
cmp r8d, 0x17
jge 0x140002ec0
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x140002e90
mov eax, dword [str.FGPD]
lea rcx, [rbp + 0x6f]
mov dword [rbp + 0x6f], eax
movzx eax, word [0x140039a80]
xor byte [rbp + 0x70], 0x34
xor byte [rbp + 0x71], 0x35
xor byte [rbp + 0x72], 0x36
mov word [rbp + 0x73], ax
movzx eax, byte [0x140039a82]
xor byte [rbp + 0x73], 0x37
xor al, 0x39
xor byte [rbp + 0x74], 0x38
mov byte [rbp + 0x75], al
mov byte [rbp + 0x6f], 0x75
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
jne 0x140003103
movzx eax, byte [0x140039ba0]
mov byte [rbp - 0x39], al
movups xmm0, xmmword [str.zZ_STLtUNOXwQ046C]
movups xmmword [rbp - 0x49], xmm0
cmp edi, 2
jl 0x140003074
movdqa xmm0, xmmword [0x14003ecb0]
lea rcx, [rbp - 0x45]
movdqa xmm5, xmmword [0x14003ec30]
movdqa xmm4, xmmword [0x14003eca0]
movdqa xmm7, xmmword [0x14003ec60]
movdqa xmmword [rbp - 0x59], xmm0
mov edx, dword [rbp - 0x59]
movd xmm6, esi
movd xmm8, r14d
nop
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x14003ec90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14003ec90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140002f70
cmp ebx, 0x11
jge 0x1400030ac
movsxd rax, ebx
lea r8, [rbp - 0x49]
add r8, rax
nop
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
inc ebx
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp ebx, 0x11
jl 0x140003080
mov eax, dword [str.FGPD]
lea rcx, [rbp + 0x77]
mov dword [rbp + 0x77], eax
movzx eax, word [0x140039a80]
xor byte [rbp + 0x78], 0x34
xor byte [rbp + 0x79], 0x35
xor byte [rbp + 0x7a], 0x36
mov word [rbp + 0x7b], ax
movzx eax, byte [0x140039a82]
xor byte [rbp + 0x7b], 0x37
xor al, 0x39
xor byte [rbp + 0x7c], 0x38
mov byte [rbp + 0x7d], al
mov byte [rbp + 0x77], 0x75
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
je 0x140003161
movups xmm1, xmmword [rcx]
movdqu xmmword [0x140046b88], xmm1
movsd xmm0, qword [rcx + 0x10]
movsd qword [0x140046b98], xmm0
mov eax, dword [rcx + 0x18]
movdqa xmm0, xmmword [0x14003efe0]
mov dword [0x140046ba0], eax
pxor xmm0, xmm1
movzx eax, word [rcx + 0x1c]
lea rcx, [0x140046b88]
mov word [0x140046ba4], ax
mov eax, 0x10
movdqu xmmword [0x140046b88], xmm0
nop
xor byte [rax + rcx], 0xfa
inc rax
cmp rax, 0x1e
jb 0x140003150
movzx eax, sil
lea r11, [rsp + 0xb0]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret