Function at 0x140002350
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x3f8
movaps xmmword [rsp + 0x3d0], xmm6
movaps xmmword [rsp + 0x3e0], xmm7
movdqa xmm0, xmmword [0x140972850]
mov r11d, 0x9c
cmp byte [0x140978b10], 0
movaps xmmword [rsp + 0x1d0], xmm0
movdqa xmm0, xmmword [0x140972860]
mov word [rsp + 0x290], r11w
movaps xmmword [rsp + 0x1e0], xmm0
movdqa xmm0, xmmword [0x140972870]
movaps xmmword [rsp + 0x1f0], xmm0
movdqa xmm0, xmmword [0x140972880]
movaps xmmword [rsp + 0x200], xmm0
movdqa xmm0, xmmword [0x140972890]
movaps xmmword [rsp + 0x210], xmm0
movdqa xmm0, xmmword [0x1409728a0]
movaps xmmword [rsp + 0x220], xmm0
movdqa xmm0, xmmword [0x1409728b0]
movaps xmmword [rsp + 0x230], xmm0
movdqa xmm0, xmmword [0x1409728c0]
movaps xmmword [rsp + 0x240], xmm0
movdqa xmm0, xmmword [0x1409728d0]
movaps xmmword [rsp + 0x250], xmm0
movdqa xmm0, xmmword [0x1409728e0]
movaps xmmword [rsp + 0x260], xmm0
movdqa xmm0, xmmword [0x1409728f0]
movaps xmmword [rsp + 0x270], xmm0
movdqa xmm0, xmmword [0x140972900]
movaps xmmword [rsp + 0x280], xmm0
jne 0x140002537
movdqa xmm2, xmmword [rsp + 0x1d0]
mov r10d, 0x9c
movdqa xmm5, xmmword [rsp + 0x1e0]
lea rcx, [0x1400019e0]
movdqa xmm6, xmmword [rsp + 0x1f0]
mov byte [0x140978be2], 1
movdqa xmm7, xmmword [rsp + 0x200]
movaps xmmword [0x140978b20], xmm2
movdqa xmm2, xmmword [rsp + 0x210]
movdqa xmm3, xmmword [rsp + 0x260]
movaps xmmword [0x140978b30], xmm5
movdqa xmm5, xmmword [rsp + 0x220]
movaps xmmword [0x140978b40], xmm6
movdqa xmm6, xmmword [rsp + 0x230]
movaps xmmword [0x140978b50], xmm7
movdqa xmm7, xmmword [rsp + 0x240]
movaps xmmword [0x140978b60], xmm2
movdqa xmm2, xmmword [rsp + 0x250]
movaps xmmword [0x140978b70], xmm5
movdqa xmm5, xmmword [rsp + 0x270]
movaps xmmword [0x140978b80], xmm6
movdqa xmm6, xmmword [rsp + 0x280]
mov word [0x140978be0], r10w
mov byte [0x140978b10], 1
movaps xmmword [0x140978b90], xmm7
movaps xmmword [0x140978ba0], xmm2
movaps xmmword [0x140978bb0], xmm3
movaps xmmword [0x140978bc0], xmm5
movaps xmmword [0x140978bd0], xmm6
call fcn.140001583
cmp byte [0x140978be2], 0
lea rbx, [0x140978b20]
je 0x14000258c
movabs r8, 0x4727c9738b41e993
xor edx, edx
nop dword [rax + rax]
mov rcx, rdx
mov rax, r8
and ecx, 7
shl rcx, 3
shr rax, cl
mov rcx, rax
movzx eax, byte [rbx + rdx*2]
ror al, 3
xor eax, ecx
movzx eax, al
mov word [rbx + rdx*2], ax
add rdx, 1
cmp rdx, 0x61
jne 0x140002558
mov byte [0x140978be2], 0
mov r8d, 0x209
mov rcx, rbx
mov word [rsp + 0x52], r8w
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov r9d, 0x49
mov qword [rsp + 0x58], rbx
movdqa xmm0, xmmword [0x140972910]
mov word [rsp + 0x1e8], r9w
add eax, eax
cmp byte [0x140978ae0], 0
mov word [rsp + 0x50], ax
mov rax, qword [0x140972920]
movaps xmmword [rsp + 0x1d0], xmm0
mov qword [rsp + 0x1e0], rax
jne 0x14000261d
movdqa xmm7, xmmword [rsp + 0x1d0]
lea rcx, [0x1400019f0]
movdqu xmm2, xmmword [rsp + 0x1da]
mov byte [0x140978b0a], 1
mov byte [0x140978ae0], 1
movaps xmmword [0x140978af0], xmm7
movups xmmword [0x140978afa], xmm2
call fcn.140001583
cmp byte [0x140978b0a], 0
je 0x140002777
movzx eax, byte [0x140978af0]
movzx r8d, byte [0x140978af4]
mov byte [0x140978b0a], 0
movzx ecx, byte [0x140978afc]
movzx edx, byte [0x140978af8]
ror al, 3
ror r8b, 3
movzx ebx, byte [0x140978af2]
movzx r11d, byte [0x140978af6]
ror cl, 3
xor eax, 0x51
xor r8d, 0x4d
ror dl, 3
movzx eax, al
movzx r8d, r8b
xor ecx, 0xffffffeb
xor edx, 0x29
movd xmm2, eax
movzx eax, byte [0x140978b06]
movzx ecx, cl
movzx edx, dl
movd xmm3, r8d
movd xmm1, ecx
movd xmm0, edx
ror bl, 3
movzx r8d, byte [0x140978b04]
ror al, 3
movzx ecx, byte [0x140978b02]
ror r11b, 3
xor eax, 0x45
xor ebx, 0xffffff83
xor r11d, 0x45
movzx edx, byte [0x140978b00]
ror r8b, 3
movzx eax, al
ror cl, 3
movzx ebx, bl
xor r8d, 0x4d
shl rax, 0x10
xor ecx, 0xffffff83
movzx r11d, r11b
movzx r8d, r8b
ror dl, 3
movzx ecx, cl
pinsrw xmm2, ebx, 1
or rax, r8
xor edx, 0x51
movzx r10d, byte [0x140978afa]
movzx r9d, byte [0x140978afe]
shl rax, 0x10
movzx edx, dl
pinsrw xmm3, r11d, 1
ror r10b, 3
or rax, rcx
ror r9b, 3
punpckldq xmm2, xmm3
shl rax, 0x10
xor r10d, 0xffffff81
xor r9d, 0x5f
or rax, rdx
movzx r10d, r10b
movzx r9d, r9b
mov qword [0x140978b00], rax
movzx eax, byte [0x140978b08]
pinsrw xmm1, r9d, 1
pinsrw xmm0, r10d, 1
punpckldq xmm0, xmm1
movdqa xmm1, xmm2
ror al, 3
punpcklqdq xmm1, xmm0
xor eax, 0x29
movaps xmmword [0x140978af0], xmm1
movzx eax, al
mov word [0x140978b08], ax
mov ecx, 0x209
lea rbx, [0x140978af0]
lea r12, [rsp + 0x50]
mov word [rsp + 0x62], cx
mov rcx, rbx
lea rbp, [rsp + 0xa0]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
pxor xmm0, xmm0
lea rcx, [rsp + 0x40]
mov r8, rbp
add eax, eax
mov edx, 8
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x60], ax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0xa0], 0x30
mov qword [rsp + 0xa8], 0
mov dword [rsp + 0xb8], 0x40
mov qword [rsp + 0xb0], r12
movaps xmmword [rsp + 0xc0], xmm0
call fcn.140004834
test eax, eax
js 0x140002c9f
movdqa xmm7, xmmword [0x140972940]
mov r15, qword [0x140972960]
xor ebx, ebx
lea rdi, [rsp + 0x3c]
movdqa xmm6, xmmword [0x140972950]
lea r13, [rsp + 0xd0]
jmp 0x140002833
add ebx, 1
mov qword [rsp + 0x28], rdi
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov r9, r13
mov dword [rsp + 0x20], 0x100
mov edx, ebx
call fcn.140004840
cmp eax, 0x8000001a
je 0x140002c95
lea rax, [rsp + 0xe0]
lea rcx, [rsp + 0x48]
mov r8, rbp
mov edx, 1
movd xmm4, dword [rsp + 0xdc]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb0], r12
mov dword [rsp + 0xa0], 0x30
pshuflw xmm0, xmm4, 0
movd dword [rsp + 0x50], xmm0
pxor xmm0, xmm0
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xb8], 0x240
movaps xmmword [rsp + 0xc0], xmm0
call fcn.140004834
test eax, eax
js 0x140002830
mov qword [rsp + 0x28], rdi
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
lea rsi, [rsp + 0x1d0]
mov dword [rsp + 0x20], 0x200
mov r9, rsi
mov r8d, 1
call fcn.14000484c
test eax, eax
js 0x140002c86
mov eax, dword [rsp + 0x1d8]
add rsi, rax
cmp byte [0x140978ac0], 0
jne 0x140002955
mov rax, qword [0x140972928]
mov edx, 0x3d
lea rcx, [0x140001a00]
mov byte [0x140978ade], 1
mov dword [0x140978ad8], 0x60057
mov qword [0x140978ad0], rax
mov word [0x140978adc], dx
mov byte [0x140978ac0], 1
call fcn.140001583
cmp byte [0x140978ade], 0
je 0x140002a0e
movzx eax, byte [0x140978ad6]
movzx r8d, byte [0x140978ad4]
mov byte [0x140978ade], 0
movzx ecx, byte [0x140978ad2]
movzx edx, byte [0x140978ad0]
ror al, 3
ror r8b, 3
ror cl, 3
xor eax, 0xffffffd3
xor r8d, 0x73
ror dl, 3
movzx eax, al
movzx r8d, r8b
xor ecx, 0xffffff9d
xor edx, 0xffffffb3
shl rax, 0x10
movzx ecx, cl
movzx edx, dl
or rax, r8
shl rax, 0x10
or rax, rcx
shl rax, 0x10
or rax, rdx
mov qword [0x140978ad0], rax
movzx eax, byte [0x140978ad8]
ror al, 3
xor eax, 0xffffffa3
movzx eax, al
mov word [0x140978ad8], ax
movzx eax, byte [0x140978ada]
ror al, 3
xor eax, 0xffffff81
movzx eax, al
mov word [0x140978ada], ax
movzx eax, byte [0x140978adc]
ror al, 3
xor eax, 0xffffffa7
movzx eax, al
mov word [0x140978adc], ax
mov r8d, 6
lea rdx, [0x140978ad0]
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp
test eax, eax
je 0x140002cc5
cmp byte [0x140978aa8], 0
jne 0x140002a5c
mov rax, qword [0x140972930]
lea rcx, [0x140001a10]
mov byte [0x140978ab8], 1
mov byte [0x140978aa8], 1
mov qword [0x140978ab0], rax
call fcn.140001583
cmp byte [0x140978ab8], 0
je 0x140002acc
movzx eax, byte [0x140978ab6]
movzx r8d, byte [0x140978ab4]
mov byte [0x140978ab8], 0
movzx ecx, byte [0x140978ab2]
movzx edx, byte [0x140978ab0]
ror al, 3
ror r8b, 3
ror cl, 3
xor eax, 0xffffffad
xor r8d, 0xffffffc3
ror dl, 3
movzx eax, al
movzx r8d, r8b
xor ecx, 0x43
xor edx, 0xffffffbd
shl rax, 0x10
movzx ecx, cl
movzx edx, dl
or rax, r8
shl rax, 0x10
or rax, rcx
shl rax, 0x10
or rax, rdx
mov qword [0x140978ab0], rax
mov r8d, 3
lea rdx, [0x140978ab0]
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp
test eax, eax
je 0x140002cc5
cmp byte [0x140978a90], 0
jne 0x140002b1a
mov rax, qword [0x140972938]
lea rcx, [0x140001a20]
mov byte [0x140978aa0], 1
mov byte [0x140978a90], 1
mov qword [0x140978a98], rax
call fcn.140001583
cmp byte [0x140978aa0], 0
je 0x140002b8a
movzx eax, byte [0x140978a9e]
movzx r8d, byte [0x140978a9c]
mov byte [0x140978aa0], 0
movzx ecx, byte [0x140978a9a]
movzx edx, byte [0x140978a98]
ror al, 3
ror r8b, 3
ror cl, 3
xor eax, 0x51
xor r8d, 0xffffffcb
ror dl, 3
movzx eax, al
movzx r8d, r8b
xor ecx, 0xffffff83
xor edx, 0x19
shl rax, 0x10
movzx ecx, cl
movzx edx, dl
or rax, r8
shl rax, 0x10
or rax, rcx
shl rax, 0x10
or rax, rdx
mov qword [0x140978a98], rax
mov r8d, 3
lea rdx, [0x140978a98]
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp
test eax, eax
je 0x140002cc5
mov eax, 0x4f
movaps xmmword [rsp + 0x70], xmm7
cmp byte [0x140978a48], 0
lea r14, [0x140978a60]
mov qword [rsp + 0x90], r15
mov dword [rsp + 0x98], 0xa300b1
mov word [rsp + 0x9c], ax
movaps xmmword [rsp + 0x80], xmm6
jne 0x140002c2b
movdqa xmm5, xmmword [rsp + 0x70]
lea rcx, [0x140001a30]
movdqa xmm3, xmmword [rsp + 0x80]
mov byte [0x140978a8e], 1
movdqu xmm1, xmmword [rsp + 0x8e]
mov byte [0x140978a48], 1
movaps xmmword [0x140978a70], xmm3
movaps xmmword [0x140978a60], xmm5
movups xmmword [0x140978a7e], xmm1
call fcn.140001583
cmp byte [0x140978a8e], 0
je 0x140002c76
movabs r8, 0xf1e90753b583fb01
xor edx, edx
mov rcx, rdx
mov rax, r8
and ecx, 7
shl rcx, 3
shr rax, cl
mov rcx, rax
movzx eax, byte [r14 + rdx*2]
ror al, 3
xor eax, ecx
movzx eax, al
mov word [r14 + rdx*2], ax
add rdx, 1
cmp rdx, 0x17
jne 0x140002c40
mov byte [0x140978a8e], 0
mov rdx, r14
mov rcx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_wcsstr
test rax, rax
jne 0x140002cc5
mov rcx, qword [rsp + 0x48]
call fcn.14000472c
jmp 0x140002830
mov rcx, qword [rsp + 0x40]
call fcn.14000472c
xor eax, eax
movaps xmm6, xmmword [rsp + 0x3d0]
movaps xmm7, xmmword [rsp + 0x3e0]
add rsp, 0x3f8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x48]
call fcn.14000472c
mov rcx, qword [rsp + 0x40]
call fcn.14000472c
mov eax, 1
jmp 0x140002ca1