Function at 0x140001c20
Capabilities:
Encode data using xor
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0xd90]
sub rsp, 0xe90
mov rax, qword [0x140020010]
xor rax, rsp
mov qword [rbp + 0xd40], rax
mov rbx, rdx
mov rsi, rcx
lea rdx, [rbp + 0x130]
xor ecx, ecx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r15d, eax
test rbx, rbx
je 0x140001c91
cmp word [rbx], 0
je 0x140001c91
mov ecx, dword [0x1400136b4]
mov r9, rbx
mov dword [rbp - 0x70], ecx
movzx ecx, word [0x1400136b8]
xor cx, 0x3b
mov word [rbp - 0x6c], cx
jmp 0x140001cb0
mov eax, dword [0x1400136b4]
lea r9, [rbp + 0x130]
mov dword [rbp - 0x70], eax
movzx eax, word [0x1400136b8]
xor ax, 0x3b
mov word [rbp - 0x6c], ax
xor word [rbp - 0x6e], 0x3a
lea r8, [rbp - 0x70]
mov edx, 0x25
lea rcx, [rbp + 0x540]
mov word [rbp - 0x70], dx
mov edx, 0x800
call fcn.140001b50
mov ecx, dword [0x1400136d0]
lea r8, [rsp + 0x50]
movups xmm0, xmmword [str._SH_RL_md1C]
movzx eax, word [0x1400136d4]
mov edx, 0x64
mov dword [rsp + 0x60], ecx
xor ax, 0x43
xor word [rsp + 0x62], 0x42
xor cx, 0x41
movups xmmword [rsp + 0x50], xmm0
xor word [rsp + 0x52], 0x3a
mov r9, rsi
xor word [rsp + 0x54], 0x3b
xor word [rsp + 0x56], 0x3c
xor word [rsp + 0x58], 0x3d
xor word [rsp + 0x5a], 0x3e
xor word [rsp + 0x5c], 0x3f
xor word [rsp + 0x5e], 0x40
movaps xmmword [rsp + 0xe80], xmm6
movaps xmmword [rsp + 0xe70], xmm7
mov word [rsp + 0x50], dx
mov edx, 0x80
mov word [rsp + 0x60], cx
lea rcx, [rbp - 0x50]
movaps xmmword [rsp + 0xe60], xmm8
movaps xmmword [rsp + 0xe50], xmm9
mov word [rsp + 0x64], ax
call fcn.140001b50
movups xmm0, xmmword [0x1400136d8]
movzx eax, word [0x140013708]
xor ebx, ebx
movups xmm1, xmmword [0x1400136e8]
mov edi, dword [0x140020018]
mov r8d, ebx
mov word [rbp - 0x80], ax
lea r12d, [rbx + 5]
lea r13d, [rbx + 0x1f]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x1400136f8]
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm0
cmp edi, 2
jl 0x140001ee9
movdqa xmm5, xmmword [0x14001d220]
lea rcx, [rsp + 0x50]
movdqa xmm4, xmmword [0x14001d2e0]
movdqa xmm7, xmmword [0x14001d260]
movdqa xmm9, xmmword [0x14001d270]
movd xmm6, r12d
movd xmm8, r13d
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x18
jl 0x140001df0
cmp r8d, 0x19
jge 0x140001f38
movsxd rax, r8d
lea r10, [rsp + 0x50]
lea r10, [r10 + rax*2]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r10, [r10 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x39
xor word [r10 - 2], ax
cmp r8d, 0x19
jl 0x140001f00
mov r9, rsi
lea r8, [rsp + 0x50]
mov edx, pe_nt_image_headers64
lea rcx, [rbp + 0x30]
call fcn.140001b50
mov word [rbp - 0x58], bx
mov r8d, ebx
movups xmm0, xmmword [str.jU_HJ_M_]
movups xmm1, xmmword [0x140013770]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x140013780]
movsd qword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm1
cmp edi, 2
jl 0x1400020b9
movdqa xmm5, xmmword [0x14001d220]
lea rcx, [rsp + 0x50]
movdqa xmm4, xmmword [0x14001d2e0]
movdqa xmm7, xmmword [0x14001d260]
movdqa xmm9, xmmword [0x14001d270]
movd xmm6, r12d
movd xmm8, r13d
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x10
jl 0x140001fc0
cmp r8d, 0x14
jge 0x140002108
movsxd rax, r8d
lea r9, [rsp + 0x50]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x39
xor word [r9 - 2], ax
cmp r8d, 0x14
jl 0x1400020d0
lea r9, [rbp - 0x50]
mov edx, 0x200
lea r8, [rsp + 0x50]
lea rcx, [rbp + 0x340]
call fcn.140001b50
mov qword [rsp + 0x40], rbx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0x340]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14000233c
cmp byte [0x14001375b], bl
movups xmm0, xmmword [0x140013748]
mov eax, dword [0x140013758]
mov dword [rsp + 0x60], eax
movups xmmword [rsp + 0x50], xmm0
je 0x14000231f
cmp edi, 2
jl 0x1400022da
movdqa xmm0, xmmword [0x14001d2a0]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x14001d220]
movdqa xmm4, xmmword [0x14001d2e0]
movdqa xmm7, xmmword [0x14001d260]
movdqa xmmword [rbp - 0x70], xmm0
mov edx, dword [rbp - 0x70]
movd xmm6, r12d
movd xmm8, r13d
nop word [rax + rax]
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
mov eax, ebx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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
andps xmm2, xmmword [0x14001d280]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
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
andps xmm2, xmmword [0x14001d280]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x1400021d0
cmp eax, 0x14
jge 0x14000231f
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
inc ebx
sub al, cl
add al, 0x39
xor byte [r8 - 1], al
cmp ebx, 0x14
jl 0x1400022f0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.140001b00
jmp 0x140002fa1
lea rcx, [rbp + 0x30]
mov qword [rsp + 0xee0], r14
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rbp - 0x60]
mov r9d, 1
inc eax
xor r8d, r8d
add eax, eax
xor edx, edx
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jns 0x14000255c
movzx eax, word [0x1400136b0]
mov r8d, ebx
mov word [rsp + 0x68], ax
movzx eax, byte [0x1400136b2]
mov byte [rsp + 0x6a], al
movups xmm0, xmmword [0x140013698]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x1400136a8]
movsd qword [rsp + 0x60], xmm0
cmp edi, 2
jl 0x1400024fd
movdqa xmm0, xmmword [0x14001d2a0]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x14001d220]
movdqa xmm4, xmmword [0x14001d2e0]
movdqa xmm7, xmmword [0x14001d260]
movdqa xmmword [rbp - 0x70], xmm0
mov edx, dword [rbp - 0x70]
movd xmm6, r12d
movd xmm8, r13d
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
paddd xmm1, xmm2
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
andps xmm2, xmmword [0x14001d280]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
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
andps xmm2, xmmword [0x14001d280]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x1400023f0
cmp r8d, 0x1b
jge 0x140002544
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
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
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x1b
jl 0x140002510
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.140001b00
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsd xmm0, qword [0x140013720]
mov r8d, ebx
movzx eax, word [0x140013728]
movsd qword [rsp + 0x60], xmm0
mov word [rsp + 0x68], ax
movups xmm9, xmmword [0x140013710]
movups xmmword [rsp + 0x50], xmm9
cmp edi, 2
jl 0x140002696
movdqa xmm2, xmmword [0x14001d220]
mov r8d, 8
movdqa xmm4, xmmword [0x14001d2e0]
movdqa xmm1, xmm2
movdqa xmm8, xmmword [0x14001d270]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r12d
movd xmm5, r13d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14001d260]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm1, xmm9
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x14001d230]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movq qword [rsp + 0x50], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14001d260]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x58]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rsp + 0x58], xmm3
movsxd rax, r8d
lea r9, [rsp + 0x50]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x39
xor word [r9 - 2], ax
cmp r8d, 0xd
jl 0x1400026b0
mov rcx, qword [rbp - 0x60]
lea rax, [rbp - 0x58]
mov dword [rsp + 0x28], 2
lea rdx, [rsp + 0x50]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jns 0x1400028fc
movzx eax, word [0x1400136b0]
mov r8d, ebx
mov word [rsp + 0x68], ax
movzx eax, byte [0x1400136b2]
mov byte [rsp + 0x6a], al
movups xmm0, xmmword [0x140013698]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x1400136a8]
movsd qword [rsp + 0x60], xmm0
cmp edi, 2
jl 0x14000289d
movdqa xmm0, xmmword [0x14001d2a0]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x14001d220]
movdqa xmm4, xmmword [0x14001d2e0]
movdqa xmm7, xmmword [0x14001d260]
movdqa xmmword [rbp - 0x70], xmm0
mov edx, dword [rbp - 0x70]
movd xmm6, r12d
movd xmm8, r13d
nop dword [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
paddd xmm1, xmm2
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
andps xmm2, xmmword [0x14001d280]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
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
andps xmm2, xmmword [0x14001d280]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140002790
cmp r8d, 0x1b
jge 0x1400028e4
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
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
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x1b
jl 0x1400028b0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.140001b00
mov r14, qword [rbp - 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rbx
lea rdx, str.DefaultIcon
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov rcx, r14
mov dword [rsp + 0x20], ebx
mov qword [rbp - 0x70], rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test eax, eax
jne 0x140002980
mov rcx, qword [rbp - 0x70]
lea eax, [r15*2 + 2]
mov dword [rsp + 0x28], eax
lea r9d, [rsi + 1]
lea rax, [rbp + 0x130]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x70]
mov esi, eax
test rcx, rcx
je 0x140002980
cmp rcx, r14
je 0x140002980
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jns 0x140002b5c
cmp byte [0x14001379b], bl
movups xmm0, xmmword [0x140013788]
mov eax, dword [0x140013798]
mov dword [rsp + 0x60], eax
movups xmmword [rsp + 0x50], xmm0
je 0x140002b44
mov r8d, ebx
cmp edi, 2
jl 0x140002afd
movdqa xmm0, xmmword [0x14001d2a0]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x14001d220]
movdqa xmm4, xmmword [0x14001d2e0]
movdqa xmm7, xmmword [0x14001d260]
movdqa xmmword [rbp - 0x70], xmm0
mov edx, dword [rbp - 0x70]
movd xmm6, r12d
movd xmm8, r13d
nop dword [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
paddd xmm1, xmm2
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
andps xmm2, xmmword [0x14001d280]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
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
andps xmm2, xmmword [0x14001d280]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400029f0
cmp r8d, 0x14
jge 0x140002b44
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
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
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x14
jl 0x140002b10
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.140001b00
lea rcx, [rbp + 0x540]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [0x1400137c0]
mov r8d, ebx
mov dword [rsp + 0x70], ecx
movzx ecx, word [0x1400137c4]
mov word [rsp + 0x74], cx
lea r15d, [rax + 1]
movups xmm0, xmmword [str.JRPQbP0__]
movups xmm1, xmmword [0x1400137b0]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
cmp edi, 2
jl 0x140002cd9
movdqa xmm5, xmmword [0x14001d220]
lea rcx, [rsp + 0x50]
movdqa xmm4, xmmword [0x14001d2e0]
movdqa xmm7, xmmword [0x14001d260]
movdqa xmm9, xmmword [0x14001d270]
movd xmm6, r12d
movd xmm8, r13d
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x10
jl 0x140002be0
cmp r8d, 0x13
jge 0x140002d28
movsxd rax, r8d
lea r9, [rsp + 0x50]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x39
xor word [r9 - 2], ax
cmp r8d, 0x13
jl 0x140002cf0
mov rsi, qword [rbp - 0x60]
mov rcx, rsi
mov qword [rbp - 0x70], rbx
cmp word [rsp + 0x50], bx
je 0x140002d75
mov qword [rsp + 0x40], rbx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0xf003f
xor r8d, r8d
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov r14d, eax
test eax, eax
jne 0x140002db1
mov rcx, qword [rbp - 0x70]
lea eax, [r15 + r15]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp + 0x540]
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x70]
mov r14d, eax
test rcx, rcx
je 0x140002db1
cmp rcx, rsi
je 0x140002db1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r14d, r14d
mov r14, qword [rsp + 0xee0]
jns 0x140002f97
mov eax, dword [0x140013740]
mov dword [rsp + 0x60], eax
movzx eax, word [0x140013744]
mov word [rsp + 0x64], ax
movzx eax, byte [0x140013746]
mov byte [rsp + 0x66], al
movups xmm0, xmmword [0x140013730]
movups xmmword [rsp + 0x50], xmm0
cmp edi, 2
jl 0x140002f3a
movdqa xmm0, xmmword [0x14001d2a0]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x14001d220]
movdqa xmm4, xmmword [0x14001d2e0]
movdqa xmm7, xmmword [0x14001d260]
movdqa xmmword [rbp - 0x70], xmm0
mov edx, dword [rbp - 0x70]
movd xmm6, r12d
movd xmm8, r13d
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
mov eax, ebx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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
andps xmm2, xmmword [0x14001d280]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
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
andps xmm2, xmmword [0x14001d280]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140002e30
cmp eax, 0x17
jge 0x140002f7f
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
inc ebx
sub al, cl
add al, 0x39
xor byte [r8 - 1], al
cmp ebx, 0x17
jl 0x140002f50
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.140001b00
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movaps xmm9, xmmword [rsp + 0xe50]
movaps xmm8, xmmword [rsp + 0xe60]
movaps xmm7, xmmword [rsp + 0xe70]
movaps xmm6, xmmword [rsp + 0xe80]
mov rcx, qword [rbp + 0xd40]
xor rcx, rsp
call fcn.140011290
add rsp, 0xe90
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret