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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0xd70]
sub rsp, 0xe70
mov rax, qword [0x14005b040]
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 0x14001788d
cmp word [rbx], 0
je 0x14001788d
mov ecx, dword [0x140049c28]
mov r9, rbx
mov dword [rbp - 0x70], ecx
movzx ecx, word [0x140049c2c]
xor cx, 0x35
mov word [rbp - 0x6c], cx
jmp 0x1400178ac
mov eax, dword [0x140049c28]
lea r9, [rbp + 0x130]
mov dword [rbp - 0x70], eax
movzx eax, word [0x140049c2c]
xor ax, 0x35
mov word [rbp - 0x6c], ax
xor word [rbp - 0x6e], 0x34
lea r8, [rbp - 0x70]
mov edx, 0x25
lea rcx, [rbp + 0x540]
mov word [rbp - 0x70], dx
mov edx, 0x800
call fcn.140017750
mov ecx, dword [0x140049bf0]
lea r8, [rsp + 0x50]
movups xmm0, xmmword [str.W_FUXJ_]
movzx eax, word [0x140049bf4]
mov edx, 0x64
mov dword [rsp + 0x60], ecx
xor ax, 0x3d
xor word [rsp + 0x62], 0x3c
xor cx, 0x3b
movups xmmword [rsp + 0x50], xmm0
xor word [rsp + 0x52], 0x34
mov r9, rsi
xor word [rsp + 0x54], 0x35
xor word [rsp + 0x56], 0x36
xor word [rsp + 0x58], 0x37
xor word [rsp + 0x5a], 0x38
xor word [rsp + 0x5c], 0x39
xor word [rsp + 0x5e], 0x3a
mov word [rsp + 0x50], dx
mov edx, 0x80
mov word [rsp + 0x60], cx
lea rcx, [rbp - 0x50]
movaps xmmword [rsp + 0xe60], xmm6
movaps xmmword [rsp + 0xe50], xmm7
mov word [rsp + 0x64], ax
call fcn.140017750
movups xmm0, xmmword [str.ffy_feMW]
movzx eax, word [0x140049bd8]
xor ebx, ebx
movups xmm1, xmmword [str._P_]
mov edi, dword [0x14005b088]
mov r8d, ebx
mov word [rbp - 0x80], ax
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x140049bc8]
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm0
cmp edi, 2
jl 0x140017ac1
movdqa xmm5, xmmword [0x140055670]
lea rcx, [rsp + 0x50]
movdqa xmm4, xmmword [0x140055740]
movdqa xmm6, xmmword [0x1400556a0]
movdqa xmm7, xmmword [0x1400556d0]
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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
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 0x1400179d0
cmp r8d, 0x19
jge 0x140017b05
movsxd rax, r8d
lea r10, [rsp + 0x50]
lea r10, [r10 + rax*2]
nop dword [rax]
mov eax, 0x51eb851f
lea r10, [r10 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x33
xor word [r10 - 2], ax
cmp r8d, 0x19
jl 0x140017ad0
mov r9, rsi
lea r8, [rsp + 0x50]
mov edx, 0x100
lea rcx, [rbp + 0x30]
call fcn.140017750
mov word [rbp - 0x58], bx
mov r8d, ebx
movups xmm0, xmmword [str.__SB_YK_g]
movups xmm1, xmmword [0x140049b30]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x140049b40]
movsd qword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm1
cmp edi, 2
jl 0x140017c71
movdqa xmm5, xmmword [0x140055670]
lea rcx, [rsp + 0x50]
movdqa xmm4, xmmword [0x140055740]
movdqa xmm6, xmmword [0x1400556a0]
movdqa xmm7, xmmword [0x1400556d0]
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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
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 0x140017b80
cmp r8d, 0x14
jge 0x140017cb5
movsxd rax, r8d
lea r9, [rsp + 0x50]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x51eb851f
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x33
xor word [r9 - 2], ax
cmp r8d, 0x14
jl 0x140017c80
lea r9, [rbp - 0x50]
mov edx, 0x200
lea r8, [rsp + 0x50]
lea rcx, [rbp + 0x340]
call fcn.140017750
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 0x140017eca
cmp byte [0x140049b83], bl
movups xmm0, xmmword [0x140049b70]
mov eax, dword [0x140049b80]
mov dword [rsp + 0x60], eax
movups xmmword [rsp + 0x50], xmm0
je 0x140017ead
cmp edi, 2
jl 0x140017e74
movdqa xmm0, xmmword [str.33333333333333336666666666666666]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x140055670]
movdqa xmm4, xmmword [0x140055740]
movdqa xmm6, xmmword [0x1400556a0]
movdqa xmmword [rbp - 0x70], xmm0
mov edx, dword [rbp - 0x70]
nop dword [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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400556f0]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400556f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140017d70
cmp eax, 0x14
jge 0x140017ead
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
inc ebx
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp ebx, 0x14
jl 0x140017e80
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.140017700
jmp 0x140018abf
lea rcx, [rbp + 0x30]
mov qword [rsp + 0xeb0], 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 0x1400180e9
movzx eax, word [0x140049c48]
mov r8d, ebx
mov word [rsp + 0x68], ax
movzx eax, byte [0x140049c4a]
mov byte [rsp + 0x6a], al
movups xmm0, xmmword [str.vFGYE]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x140049c40]
movsd qword [rsp + 0x60], xmm0
cmp edi, 2
jl 0x140018087
movdqa xmm0, xmmword [str.33333333333333336666666666666666]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x140055670]
movdqa xmm4, xmmword [0x140055740]
movdqa xmm6, xmmword [0x1400556a0]
movdqa xmmword [rbp - 0x70], xmm0
mov edx, dword [rbp - 0x70]
nop dword [rax]
nop dword [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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400556f0]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400556f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140017f80
cmp r8d, 0x1b
jge 0x1400180d1
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x1b
jl 0x1400180a0
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.140017700
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsd xmm0, qword [0x140049b98]
mov r8d, ebx
movzx eax, word [0x140049ba0]
movsd qword [rsp + 0x60], xmm0
mov word [rsp + 0x68], ax
movups xmm7, xmmword [0x140049b88]
movups xmmword [rsp + 0x50], xmm7
cmp edi, 2
jl 0x14001820f
movdqa xmm2, xmmword [0x140055670]
mov r8d, 8
movdqa xmm4, xmmword [0x140055740]
movdqa xmm1, xmm2
movdqa xmm6, xmmword [0x1400556d0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400556a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm6
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm1, xmm7
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x140055680]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400556a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm6
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 + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x33
xor word [r9 - 2], ax
cmp r8d, 0xd
jl 0x140018220
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 0x140018459
movzx eax, word [0x140049c48]
mov r8d, ebx
mov word [rsp + 0x68], ax
movzx eax, byte [0x140049c4a]
mov byte [rsp + 0x6a], al
movups xmm0, xmmword [str.vFGYE]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x140049c40]
movsd qword [rsp + 0x60], xmm0
cmp edi, 2
jl 0x1400183f7
movdqa xmm0, xmmword [str.33333333333333336666666666666666]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x140055670]
movdqa xmm4, xmmword [0x140055740]
movdqa xmm6, xmmword [0x1400556a0]
movdqa xmmword [rbp - 0x70], xmm0
mov edx, dword [rbp - 0x70]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400556f0]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400556f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x1400182f0
cmp r8d, 0x1b
jge 0x140018441
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x1b
jl 0x140018410
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.140017700
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 0x1400184dd
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 0x1400184dd
cmp rcx, r14
je 0x1400184dd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jns 0x1400186a9
cmp byte [0x140049c0b], bl
movups xmm0, xmmword [0x140049bf8]
mov eax, dword [0x140049c08]
mov dword [rsp + 0x60], eax
movups xmmword [rsp + 0x50], xmm0
je 0x140018691
mov r8d, ebx
cmp edi, 2
jl 0x140018647
movdqa xmm0, xmmword [str.33333333333333336666666666666666]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x140055670]
movdqa xmm4, xmmword [0x140055740]
movdqa xmm6, xmmword [0x1400556a0]
movdqa xmmword [rbp - 0x70], xmm0
mov edx, dword [rbp - 0x70]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400556f0]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400556f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140018540
cmp r8d, 0x14
jge 0x140018691
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x14
jl 0x140018660
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.140017700
lea rcx, [rbp + 0x540]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [0x140049b68]
mov r8d, ebx
mov dword [rsp + 0x70], ecx
movzx ecx, word [0x140049b6c]
mov word [rsp + 0x74], cx
lea r15d, [rax + 1]
movups xmm0, xmmword [0x140049b48]
movups xmm1, xmmword [0x140049b58]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
cmp edi, 2
jl 0x140018811
movdqa xmm5, xmmword [0x140055670]
lea rcx, [rsp + 0x50]
movdqa xmm4, xmmword [0x140055740]
movdqa xmm6, xmmword [0x1400556a0]
movdqa xmm7, xmmword [0x1400556d0]
nop dword [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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
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 0x140018720
cmp r8d, 0x13
jge 0x140018855
movsxd rax, r8d
lea r9, [rsp + 0x50]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x51eb851f
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x33
xor word [r9 - 2], ax
cmp r8d, 0x13
jl 0x140018820
mov rsi, qword [rbp - 0x60]
mov rcx, rsi
mov qword [rbp - 0x70], rbx
cmp word [rsp + 0x50], bx
je 0x1400188a2
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 0x1400188de
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 0x1400188de
cmp rcx, rsi
je 0x1400188de
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r14d, r14d
mov r14, qword [rsp + 0xeb0]
jns 0x140018ab5
mov eax, dword [0x140049c20]
mov dword [rsp + 0x60], eax
movzx eax, word [0x140049c24]
mov word [rsp + 0x64], ax
movzx eax, byte [0x140049c26]
mov byte [rsp + 0x66], al
movups xmm0, xmmword [0x140049c10]
movups xmmword [rsp + 0x50], xmm0
cmp edi, 2
jl 0x140018a64
movdqa xmm0, xmmword [str.33333333333333336666666666666666]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x140055670]
movdqa xmm4, xmmword [0x140055740]
movdqa xmm6, xmmword [0x1400556a0]
movdqa xmmword [rbp - 0x70], xmm0
mov edx, dword [rbp - 0x70]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400556f0]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400556f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140018960
cmp eax, 0x17
jge 0x140018a9d
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
inc ebx
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp ebx, 0x17
jl 0x140018a70
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.140017700
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movaps xmm7, xmmword [rsp + 0xe50]
movaps xmm6, xmmword [rsp + 0xe60]
mov rcx, qword [rbp + 0xd40]
xor rcx, rsp
call fcn.140045f60
add rsp, 0xe70
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret