Function at 0x1800047d0
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xfd0]
mov eax, 0x10d0
call fcn.18000b9d0
sub rsp, rax
mov rax, qword [0x18003e0a8]
xor rax, rsp
mov qword [rbp + 0xfc0], rax
mov r14, rcx
xor edx, edx
lea rcx, [rbp + 0x570]
mov r8d, 0x208
call fcn.18000db10
xor edx, edx
lea rcx, [rbp + 0x990]
mov r8d, 0x208
call fcn.18000db10
xor edx, edx
lea rcx, [rbp + 0x780]
mov r8d, 0x208
call fcn.18000db10
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.18000db10
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.18000db10
xor edx, edx
lea rcx, [rbp + 0xdb0]
mov r8d, 0x208
call fcn.18000db10
xor r9d, r9d
lea rdx, [rbp + 0x570]
xor ecx, ecx
lea r8d, [r9 + 0x2c]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rcx, [rbp + 0x570]
sub rcx, 2
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1800048a0
mov eax, dword [0x180027654]
mov dword [rcx], eax
lea rcx, [rbp + 0x570]
sub rcx, 2
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1800048c0
movups xmm1, xmmword [str.ColorfulWiFi]
movzx edx, word [0x180027730]
movsd xmm2, qword [0x180027728]
movups xmmword [rcx], xmm1
movsd qword [rcx + 0x10], xmm2
mov word [rcx + 0x18], dx
lea rcx, [rbp + 0x570]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x180004900
mov dword [rcx], eax
lea rax, [rbp + 0x570]
sub rax, 2
nop dword [rax + rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x180004920
movups xmmword [rax], xmm1
lea rcx, [rbp + 0x570]
movsd qword [rax + 0x10], xmm2
sub rcx, 2
mov word [rax + 0x18], dx
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x180004942
movzx eax, word [0x180027b40]
lea r9, [rbp + 0x990]
movsd xmm0, qword [str..ini]
lea r8, [0x180027650]
movsd qword [rcx], xmm0
lea rdx, str.InstallPath
mov word [rcx + 8], ax
lea rax, [rbp + 0x570]
mov qword [rsp + 0x28], rax
lea rcx, str.AppConfig
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edi, edi
mov ecx, edi
nop
movzx eax, word [rbp + rcx + 0x990]
mov word [rbp + rcx + 0x150], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1800049a0
mov rbx, 0xffffffffffffffff
lea rax, [rbp + 0x150]
mov rsi, rbx
nop word [rax + rax]
inc rsi
cmp word [rax + rsi*2], di
jne 0x1800049d0
test esi, esi
jle 0x180004ab2
mov rcx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbp + rcx + 0x150]
mov word [rsp + rcx + 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1800049f0
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180004ab2
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x208
call fcn.18000db10
mov rcx, rdi
movzx eax, word [rsp + rcx + 0x40]
mov word [rbp + rcx + 0x360], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180004a30
lea rcx, [rbp + 0x360]
sub rcx, 2
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x180004a51
movups xmm0, xmmword [str.ColorfulWiFi.exe]
movzx eax, word [0x180027b98]
movups xmm1, xmmword [0x180027b88]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov word [rcx + 0x20], ax
lea rcx, [rbp + 0x360]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180004ab2
lea rcx, [r14 + 0x40]
mov r8, rsi
lea rdx, [rbp + 0x150]
call fcn.180001cf0
lea rax, [rsp + 0x40]
inc rbx
cmp word [rax + rbx*2], di
jne 0x180004aa4
jmp 0x180004f3a
xor edx, edx
lea rcx, [rbp + 0xbb4]
mov r8d, 0x1f4
call fcn.18000db10
movups xmm0, xmmword [str.SOFTWARE_]
mov eax, dword [0x180027bb0]
lea rcx, [rbp + 0xba0]
mov dword [rbp + 0xbb0], eax
sub rcx, 2
movaps xmmword [rbp + 0xba0], xmm0
nop dword [rax + rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x180004af0
movzx eax, word [0x180027730]
lea rdx, [rbp + 0xba0]
movups xmm0, xmmword [str.ColorfulWiFi]
mov r9d, 0x20019
xor r8d, r8d
movsd xmm1, qword [0x180027728]
movups xmmword [rcx], xmm0
movsd qword [rcx + 0x10], xmm1
mov word [rcx + 0x18], ax
lea rax, [rsp + 0x38]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180004c8e
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.InstallPath
lea rax, [rbp + 0xdb0]
mov dword [rsp + 0x30], 0x104
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180004c8e
mov rcx, rdi
nop dword [rax]
movzx eax, word [rbp + rcx + 0xdb0]
mov word [rbp + rcx + 0x150], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180004b90
mov rcx, rdi
nop dword [rax]
movzx eax, word [rbp + rcx + 0x150]
mov word [rsp + rcx + 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180004bb0
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180004c8e
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x208
call fcn.18000db10
mov rcx, rdi
movzx eax, word [rsp + rcx + 0x40]
mov word [rbp + rcx + 0x360], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180004bf0
lea rcx, [rbp + 0x360]
sub rcx, 2
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x180004c11
movups xmm0, xmmword [str.ColorfulWiFi.exe]
movzx eax, word [0x180027b98]
movups xmm1, xmmword [0x180027b88]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov word [rcx + 0x20], ax
lea rcx, [rbp + 0x360]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180004c8e
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp + 0x150]
mov r8, rbx
inc r8
cmp word [rax + r8*2], di
jne 0x180004c61
lea rcx, [r14 + 0x40]
lea rdx, [rbp + 0x150]
call fcn.180001cf0
lea rax, [rsp + 0x40]
inc rbx
cmp word [rax + rbx*2], di
jne 0x180004c80
jmp 0x180004f3a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
lea rdx, [rbp + 0x780]
xor ecx, ecx
lea r8d, [r9 + 0x2a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rcx, [rbp + 0x780]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x180004cc0
mov eax, dword [0x180027654]
lea rdx, [rbp + 0x780]
sub rdx, 2
mov dword [rcx], eax
nop dword [rax]
cmp word [rdx + 2], di
lea rdx, [rdx + 2]
jne 0x180004ce0
movzx ecx, word [0x180027730]
movups xmm0, xmmword [str.ColorfulWiFi]
movsd xmm1, qword [0x180027728]
movups xmmword [rdx], xmm0
movsd qword [rdx + 0x10], xmm1
mov word [rdx + 0x18], cx
lea rcx, [rbp + 0x780]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x180004d20
mov dword [rcx], eax
mov rcx, rdi
nop
movzx eax, word [rbp + rcx + 0x780]
mov word [rbp + rcx + 0x150], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180004d30
mov rcx, rdi
nop dword [rax]
movzx eax, word [rbp + rcx + 0x150]
mov word [rsp + rcx + 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180004d50
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180004e23
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x208
call fcn.18000db10
mov rcx, rdi
movzx eax, word [rsp + rcx + 0x40]
mov word [rbp + rcx + 0x360], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180004d90
lea rcx, [rbp + 0x360]
sub rcx, 2
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x180004db1
movups xmm0, xmmword [str.ColorfulWiFi.exe]
movzx eax, word [0x180027b98]
movups xmm1, xmmword [0x180027b88]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov word [rcx + 0x20], ax
lea rcx, [rbp + 0x360]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180004e23
lea rax, [rbp + 0x150]
mov r8, rbx
inc r8
cmp word [rax + r8*2], di
jne 0x180004df6
lea rcx, [r14 + 0x40]
lea rdx, [rbp + 0x150]
call fcn.180001cf0
lea rax, [rsp + 0x40]
inc rbx
cmp word [rax + rbx*2], di
jne 0x180004e15
jmp 0x180004f3a
lea rcx, [rbp + 0x990]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], di
jne 0x180004e30
test eax, eax
jle 0x180004ecc
lea rcx, [rbp + 0x990]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180004ecc
mov rcx, rdi
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x990]
mov word [rbp + rcx + 0x150], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180004e60
nop dword [rax]
movzx eax, word [rbp + rdi + 0x150]
mov word [rsp + rdi + 0x40], ax
lea rdi, [rdi + 2]
test ax, ax
jne 0x180004e80
lea rax, [rbp + 0x150]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x180004ea0
lea rcx, [r14 + 0x40]
lea rdx, [rbp + 0x150]
call fcn.180001cf0
lea rax, [rsp + 0x40]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180004ec0
jmp 0x180004f3a
mov rcx, rdi
nop
movzx eax, word [rbp + rcx + 0x780]
mov word [rbp + rcx + 0x150], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180004ed0
nop dword [rax]
movzx eax, word [rbp + rdi + 0x150]
mov word [rsp + rdi + 0x40], ax
lea rdi, [rdi + 2]
test ax, ax
jne 0x180004ef0
lea rax, [rbp + 0x150]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x180004f10
lea rcx, [r14 + 0x40]
lea rdx, [rbp + 0x150]
call fcn.180001cf0
lea rax, [rsp + 0x40]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180004f30
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 0x20]
call fcn.180001cf0
mov rcx, qword [rbp + 0xfc0]
xor rcx, rsp
call fcn.18000b960
lea r11, [rsp + 0x10d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret