Function at 0x140017970
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 [0x14005f010]
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 0x1400179e1
cmp word [rbx], 0
je 0x1400179e1
mov ecx, dword [0x14004cb8c]
mov r9, rbx
mov dword [rbp - 0x70], ecx
movzx ecx, word [0x14004cb90]
xor cx, 0x32
mov word [rbp - 0x6c], cx
jmp 0x140017a00
mov eax, dword [0x14004cb8c]
lea r9, [rbp + 0x130]
mov dword [rbp - 0x70], eax
movzx eax, word [0x14004cb90]
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.1400178a0
mov ecx, dword [0x14004cb30]
lea r8, [rsp + 0x50]
movups xmm0, xmmword [str.TXAP_GR]
movzx eax, word [0x14004cb34]
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.1400178a0
movups xmm0, xmmword [str.ec_tf_X]
movzx eax, word [0x14004cb88]
xor ebx, ebx
movups xmm1, xmmword [str._XW]
mov edi, dword [0x14005f018]
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 0x140017c31
movdqa xmm5, xmmword [0x140058c70]
lea rcx, [rsp + 0x50]
movdqa xmm4, xmmword [0x140058d40]
movdqa xmm7, xmmword [0x140058cb0]
movdqa xmm9, xmmword [0x140058cd0]
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 0x140017b40
cmp r8d, 0x19
jge 0x140017c75
movsxd rax, r8d
lea r10, [rsp + 0x50]
lea r10, [r10 + rax*2]
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r10, [r10 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r10 - 2], ax
cmp r8d, 0x19
jl 0x140017c40
mov r9, rsi
lea r8, [rsp + 0x50]
mov edx, pe_nt_image_headers64
lea rcx, [rbp + 0x30]
call fcn.1400178a0
mov word [rbp - 0x58], bx
mov r8d, ebx
movups xmm0, xmmword [str.cTGCTDRdzVZON_L]
movups xmm1, xmmword [0x14004cba8]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x14004cbb8]
movsd qword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm1
cmp edi, 2
jl 0x140017de2
movdqa xmm5, xmmword [0x140058c70]
lea rcx, [rsp + 0x50]
movdqa xmm4, xmmword [0x140058d40]
movdqa xmm7, xmmword [0x140058cb0]
movdqa xmm9, xmmword [0x140058cd0]
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 0x140017cf1
cmp r8d, 0x14
jge 0x140017e25
movsxd rax, r8d
lea r9, [rsp + 0x50]
lea r9, [r9 + rax*2]
nop
mov eax, 0x4ec4ec4f
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x14
jl 0x140017df0
lea r9, [rbp - 0x50]
mov edx, 0x200
lea r8, [rsp + 0x50]
lea rcx, [rbp + 0x340]
call fcn.1400178a0
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 0x14001804a
cmp byte [0x14004cbd3], bl
movups xmm0, xmmword [0x14004cbc0]
mov eax, dword [0x14004cbd0]
mov dword [rsp + 0x60], eax
movups xmmword [rsp + 0x50], xmm0
je 0x14001802d
cmp edi, 2
jl 0x140017ff2
movdqa xmm0, xmmword [0x140058d10]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x140058c70]
movdqa xmm4, xmmword [0x140058d40]
movdqa xmm7, xmmword [0x140058cb0]
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 [0x140058cf0]
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 [0x140058cf0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140017ef0
cmp eax, 0x14
jge 0x14001802d
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
inc ebx
sub al, cl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0x14
jl 0x140018000
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.140017850
jmp 0x140018c4f
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 0x140018259
movzx eax, word [0x14004cb50]
mov r8d, ebx
mov word [rsp + 0x68], ax
movzx eax, byte [0x14004cb52]
mov byte [rsp + 0x6a], al
movups xmm0, xmmword [0x14004cb38]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x14004cb48]
movsd qword [rsp + 0x60], xmm0
cmp edi, 2
jl 0x140018205
movdqa xmm0, xmmword [0x140058d10]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x140058c70]
movdqa xmm4, xmmword [0x140058d40]
movdqa xmm7, xmmword [0x140058cb0]
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 [0x140058cf0]
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 [0x140058cf0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140018100
cmp r8d, 0x1b
jge 0x140018241
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x1b
jl 0x140018210
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.140017850
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsd xmm0, qword [0x14004cc10]
mov r8d, ebx
movzx eax, word [0x14004cc18]
movsd qword [rsp + 0x60], xmm0
mov word [rsp + 0x68], ax
movups xmm9, xmmword [0x14004cc00]
movups xmmword [rsp + 0x50], xmm9
cmp edi, 2
jl 0x14001838b
movdqa xmm2, xmmword [0x140058c70]
mov r8d, 8
movdqa xmm4, xmmword [0x140058d40]
movdqa xmm1, xmm2
movdqa xmm8, xmmword [0x140058cd0]
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 [0x140058cb0]
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 [0x140058c80]
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 [0x140058cb0]
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, 0x4ec4ec4f
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0xd
jl 0x1400183a0
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 0x1400185d9
movzx eax, word [0x14004cb50]
mov r8d, ebx
mov word [rsp + 0x68], ax
movzx eax, byte [0x14004cb52]
mov byte [rsp + 0x6a], al
movups xmm0, xmmword [0x14004cb38]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x14004cb48]
movsd qword [rsp + 0x60], xmm0
cmp edi, 2
jl 0x140018585
movdqa xmm0, xmmword [0x140058d10]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x140058c70]
movdqa xmm4, xmmword [0x140058d40]
movdqa xmm7, xmmword [0x140058cb0]
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 [0x140058cf0]
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 [0x140058cf0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140018480
cmp r8d, 0x1b
jge 0x1400185c1
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x1b
jl 0x140018590
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.140017850
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 0x14001865d
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 0x14001865d
cmp rcx, r14
je 0x14001865d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jns 0x140018829
cmp byte [0x14004cc33], bl
movups xmm0, xmmword [0x14004cc20]
mov eax, dword [0x14004cc30]
mov dword [rsp + 0x60], eax
movups xmmword [rsp + 0x50], xmm0
je 0x140018811
mov r8d, ebx
cmp edi, 2
jl 0x1400187d5
movdqa xmm0, xmmword [0x140058d10]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x140058c70]
movdqa xmm4, xmmword [0x140058d40]
movdqa xmm7, xmmword [0x140058cb0]
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 [0x140058cf0]
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 [0x140058cf0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400186d0
cmp r8d, 0x14
jge 0x140018811
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x14
jl 0x1400187e0
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.140017850
lea rcx, [rbp + 0x540]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [0x14004cbf8]
mov r8d, ebx
mov dword [rsp + 0x70], ecx
movzx ecx, word [0x14004cbfc]
mov word [rsp + 0x74], cx
lea r15d, [rax + 1]
movups xmm0, xmmword [str.CYW_XiYG_WfXSPS._B]
movups xmm1, xmmword [0x14004cbe8]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
cmp edi, 2
jl 0x1400189a1
movdqa xmm5, xmmword [0x140058c70]
lea rcx, [rsp + 0x50]
movdqa xmm4, xmmword [0x140058d40]
movdqa xmm7, xmmword [0x140058cb0]
movdqa xmm9, xmmword [0x140058cd0]
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 0x1400188b0
cmp r8d, 0x13
jge 0x1400189e5
movsxd rax, r8d
lea r9, [rsp + 0x50]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x13
jl 0x1400189b0
mov rsi, qword [rbp - 0x60]
mov rcx, rsi
mov qword [rbp - 0x70], rbx
cmp word [rsp + 0x50], bx
je 0x140018a32
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 0x140018a6e
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 0x140018a6e
cmp rcx, rsi
je 0x140018a6e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r14d, r14d
mov r14, qword [rsp + 0xee0]
jns 0x140018c45
mov eax, dword [0x14004cc48]
mov dword [rsp + 0x60], eax
movzx eax, word [0x14004cc4c]
mov word [rsp + 0x64], ax
movzx eax, byte [0x14004cc4e]
mov byte [rsp + 0x66], al
movups xmm0, xmmword [str.uC_F]
movups xmmword [rsp + 0x50], xmm0
cmp edi, 2
jl 0x140018bf2
movdqa xmm0, xmmword [0x140058d10]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x140058c70]
movdqa xmm4, xmmword [0x140058d40]
movdqa xmm7, xmmword [0x140058cb0]
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 [0x140058cf0]
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 [0x140058cf0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140018af0
cmp eax, 0x17
jge 0x140018c2d
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
inc ebx
sub al, cl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0x17
jl 0x140018c00
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.140017850
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.140049400
add rsp, 0xe90
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret