Function at 0x140017890
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 [0x140060010]
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 0x140017901
cmp word [rbx], 0
je 0x140017901
mov ecx, dword [0x14004cc0c]
mov r9, rbx
mov dword [rbp - 0x70], ecx
movzx ecx, word [0x14004cc10]
xor cx, 0x32
mov word [rbp - 0x6c], cx
jmp 0x140017920
mov eax, dword [0x14004cc0c]
lea r9, [rbp + 0x130]
mov dword [rbp - 0x70], eax
movzx eax, word [0x14004cc10]
xor ax, 0x32
mov word [rbp - 0x6c], ax
xor word [rbp - 0x6e], 0x31
lea r8, [rbp - 0x70]
mov edx, 0x25
lea rcx, [rbp + 0x540]
mov word [rbp - 0x70], dx
mov edx, 0x800
call fcn.1400177c0
mov ecx, dword [0x14004cbb0]
lea r8, [rsp + 0x50]
movups xmm0, xmmword [str.TXAP_GR]
movzx eax, word [0x14004cbb4]
mov edx, 0x64
mov dword [rsp + 0x60], ecx
xor ax, 0x3a
xor word [rsp + 0x62], 0x39
xor cx, 0x38
movups xmmword [rsp + 0x50], xmm0
xor word [rsp + 0x52], 0x31
mov r9, rsi
xor word [rsp + 0x54], 0x32
xor word [rsp + 0x56], 0x33
xor word [rsp + 0x58], 0x34
xor word [rsp + 0x5a], 0x35
xor word [rsp + 0x5c], 0x36
xor word [rsp + 0x5e], 0x37
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.1400177c0
movups xmm0, xmmword [str.ec_tf_X]
movzx eax, word [0x14004cb78]
xor ebx, ebx
movups xmm1, xmmword [str._XW]
mov edi, dword [0x140060018]
mov r8d, ebx
mov word [rbp - 0x80], ax
lea r12d, [rbx + 4]
lea r13d, [rbx + 0x1f]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [str.03_7_H]
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm0
cmp edi, 2
jl 0x140017b51
movdqa xmm5, xmmword [0x140059640]
lea rcx, [rsp + 0x50]
movdqa xmm4, xmmword [0x140059710]
movdqa xmm7, xmmword [0x140059660]
movdqa xmm9, xmmword [0x1400596a0]
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
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
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
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
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 0x140017a60
cmp r8d, 0x19
jge 0x140017b95
movsxd rax, r8d
lea r10, [rsp + 0x50]
lea r10, [r10 + rax*2]
nop dword [rax]
mov eax, 0x5397829d
lea r10, [r10 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r10 - 2], ax
cmp r8d, 0x19
jl 0x140017b60
mov r9, rsi
lea r8, [rsp + 0x50]
mov edx, 0x100
lea rcx, [rbp + 0x30]
call fcn.1400177c0
mov word [rbp - 0x58], bx
mov r8d, ebx
movups xmm0, xmmword [str.cTGCTDRdzVZON_L]
movups xmm1, xmmword [0x14004cc28]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x14004cc38]
movsd qword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm1
cmp edi, 2
jl 0x140017d02
movdqa xmm5, xmmword [0x140059640]
lea rcx, [rsp + 0x50]
movdqa xmm4, xmmword [0x140059710]
movdqa xmm7, xmmword [0x140059660]
movdqa xmm9, xmmword [0x1400596a0]
movd xmm6, r12d
movd xmm8, r13d
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
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
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
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
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 0x140017c11
cmp r8d, 0x14
jge 0x140017d45
movsxd rax, r8d
lea r9, [rsp + 0x50]
lea r9, [r9 + rax*2]
nop
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x14
jl 0x140017d10
lea r9, [rbp - 0x50]
mov edx, 0x200
lea r8, [rsp + 0x50]
lea rcx, [rbp + 0x340]
call fcn.1400177c0
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 0x140017f6a
cmp byte [0x14004cc0b], bl
movups xmm0, xmmword [str.uC_F]
mov eax, dword [0x14004cc08]
mov dword [rsp + 0x60], eax
movups xmmword [rsp + 0x50], xmm0
je 0x140017f4d
cmp edi, 2
jl 0x140017f12
movdqa xmm0, xmmword [str.00000000000000001111111111111111]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x140059640]
movdqa xmm4, xmmword [0x140059710]
movdqa xmm7, xmmword [0x140059660]
movdqa xmmword [rbp - 0x70], xmm0
mov edx, dword [rbp - 0x70]
movd xmm6, r12d
movd xmm8, r13d
nop dword [rax]
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
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 [0x1400596c0]
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
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 [0x1400596c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140017e10
cmp eax, 0x14
jge 0x140017f4d
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
inc ebx
sub al, cl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0x14
jl 0x140017f20
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.140017770
jmp 0x140018b6f
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 0x140018179
movzx eax, word [0x14004cb98]
mov r8d, ebx
mov word [rsp + 0x68], ax
movzx eax, byte [0x14004cb9a]
mov byte [rsp + 0x6a], al
movups xmm0, xmmword [0x14004cb80]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x14004cb90]
movsd qword [rsp + 0x60], xmm0
cmp edi, 2
jl 0x140018125
movdqa xmm0, xmmword [str.00000000000000001111111111111111]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x140059640]
movdqa xmm4, xmmword [0x140059710]
movdqa xmm7, xmmword [0x140059660]
movdqa xmmword [rbp - 0x70], xmm0
mov edx, dword [rbp - 0x70]
movd xmm6, r12d
movd xmm8, r13d
nop
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
andps xmm2, xmmword [0x1400596c0]
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
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 [0x1400596c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140018020
cmp r8d, 0x1b
jge 0x140018161
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x1b
jl 0x140018130
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.140017770
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsd xmm0, qword [0x14004cb38]
mov r8d, ebx
movzx eax, word [0x14004cb40]
movsd qword [rsp + 0x60], xmm0
mov word [rsp + 0x68], ax
movups xmm9, xmmword [0x14004cb28]
movups xmmword [rsp + 0x50], xmm9
cmp edi, 2
jl 0x1400182ab
movdqa xmm2, xmmword [0x140059640]
mov r8d, 8
movdqa xmm4, xmmword [0x140059710]
movdqa xmm1, xmm2
movdqa xmm8, xmmword [0x1400596a0]
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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140059660]
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 [0x140059650]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movq qword [rsp + 0x50], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140059660]
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 word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0xd
jl 0x1400182c0
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 0x1400184f9
movzx eax, word [0x14004cb98]
mov r8d, ebx
mov word [rsp + 0x68], ax
movzx eax, byte [0x14004cb9a]
mov byte [rsp + 0x6a], al
movups xmm0, xmmword [0x14004cb80]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x14004cb90]
movsd qword [rsp + 0x60], xmm0
cmp edi, 2
jl 0x1400184a5
movdqa xmm0, xmmword [str.00000000000000001111111111111111]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x140059640]
movdqa xmm4, xmmword [0x140059710]
movdqa xmm7, xmmword [0x140059660]
movdqa xmmword [rbp - 0x70], xmm0
mov edx, dword [rbp - 0x70]
movd xmm6, r12d
movd xmm8, r13d
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
andps xmm2, xmmword [0x1400596c0]
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
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 [0x1400596c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x1400183a0
cmp r8d, 0x1b
jge 0x1400184e1
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x1b
jl 0x1400184b0
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.140017770
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 0x14001857d
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 0x14001857d
cmp rcx, r14
je 0x14001857d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jns 0x140018749
cmp byte [0x14004cbf3], bl
movups xmm0, xmmword [0x14004cbe0]
mov eax, dword [0x14004cbf0]
mov dword [rsp + 0x60], eax
movups xmmword [rsp + 0x50], xmm0
je 0x140018731
mov r8d, ebx
cmp edi, 2
jl 0x1400186f5
movdqa xmm0, xmmword [str.00000000000000001111111111111111]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x140059640]
movdqa xmm4, xmmword [0x140059710]
movdqa xmm7, xmmword [0x140059660]
movdqa xmmword [rbp - 0x70], xmm0
mov edx, dword [rbp - 0x70]
movd xmm6, r12d
movd xmm8, r13d
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
andps xmm2, xmmword [0x1400596c0]
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
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 [0x1400596c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400185f0
cmp r8d, 0x14
jge 0x140018731
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x14
jl 0x140018700
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.140017770
lea rcx, [rbp + 0x540]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [0x14004cbd8]
mov r8d, ebx
mov dword [rsp + 0x70], ecx
movzx ecx, word [0x14004cbdc]
mov word [rsp + 0x74], cx
lea r15d, [rax + 1]
movups xmm0, xmmword [0x14004cbb8]
movups xmm1, xmmword [0x14004cbc8]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
cmp edi, 2
jl 0x1400188c1
movdqa xmm5, xmmword [0x140059640]
lea rcx, [rsp + 0x50]
movdqa xmm4, xmmword [0x140059710]
movdqa xmm7, xmmword [0x140059660]
movdqa xmm9, xmmword [0x1400596a0]
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
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
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
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
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 0x1400187d0
cmp r8d, 0x13
jge 0x140018905
movsxd rax, r8d
lea r9, [rsp + 0x50]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x13
jl 0x1400188d0
mov rsi, qword [rbp - 0x60]
mov rcx, rsi
mov qword [rbp - 0x70], rbx
cmp word [rsp + 0x50], bx
je 0x140018952
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 0x14001898e
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 0x14001898e
cmp rcx, rsi
je 0x14001898e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r14d, r14d
mov r14, qword [rsp + 0xee0]
jns 0x140018b65
mov eax, dword [0x14004cc50]
mov dword [rsp + 0x60], eax
movzx eax, word [0x14004cc54]
mov word [rsp + 0x64], ax
movzx eax, byte [0x14004cc56]
mov byte [rsp + 0x66], al
movups xmm0, xmmword [0x14004cc40]
movups xmmword [rsp + 0x50], xmm0
cmp edi, 2
jl 0x140018b12
movdqa xmm0, xmmword [str.00000000000000001111111111111111]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x140059640]
movdqa xmm4, xmmword [0x140059710]
movdqa xmm7, xmmword [0x140059660]
movdqa xmmword [rbp - 0x70], xmm0
mov edx, dword [rbp - 0x70]
movd xmm6, r12d
movd xmm8, r13d
nop dword [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
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 [0x1400596c0]
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
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 [0x1400596c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140018a10
cmp eax, 0x17
jge 0x140018b4d
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
inc ebx
sub al, cl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0x17
jl 0x140018b20
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.140017770
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.140049470
add rsp, 0xe90
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret