Function at 0x4174c8
Capabilities:
Check if file exists
Create process on windows
Delete registry value
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2414]
mov eax, 0x2414
call fcn.00448db0
push 0xffffffffffffffff
push 0x46cff9
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x48a9f8]
xor eax, ebp
mov dword [ebp + 0x2410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x100
mov word [ebp + 0x230c], ax
xor edi, edi
lea eax, [ebp + 0x230e]
mov ebx, ecx
push edi
push eax
mov dword [ebp - 0x10], ebx
call fcn.004463d0
add esp, 0xc
mov dword [ebp - 0x18], 0x204
mov dword [ebp - 0x14], 1
call fcn.00403f68
push dword [0x48a888]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x4178a2
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0x1cf0], ax
lea eax, [ebp + 0x1cf2]
push edi
push eax
call fcn.004463d0
add esp, 0xc
lea eax, [ebp + 0x1cf0]
push eax
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
push esi
mov word [ebp + 0x2104], ax
lea eax, [ebp + 0x2106]
push edi
push eax
call fcn.004463d0
xor eax, eax
push 0x1830
mov word [ebp + 0xa8], ax
lea eax, [ebp + 0xaa]
push edi
push eax
call fcn.004463d0
add esp, 0x18
push 0x46e8b8
push str.SoftwareTencentQQMicroGameBox_
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push str.TencentQQMicroGameBoxLaunch.exe
lea eax, [ebp + 0x1cf0]
push eax
push str._s_s
lea eax, [ebp + 0x2104]
push 0x103
push eax
call fcn.00448543
add esp, 0x14
lea eax, [ebp + 0x2104]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41787d
call fcn.0041bf81
mov ecx, eax
call fcn.0041bfc3
test al, al
je 0x417870
push 7
pop esi
push edi
lea ecx, [ebp + 0x8c]
mov dword [ebp + 0xa4], esi
call fcn.004019f0
push edi
lea ecx, [ebp + 0x54]
mov dword [ebp - 4], edi
mov dword [ebp + 0x6c], esi
call fcn.004019f0
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x50], esi
call fcn.004019f0
push edi
lea ecx, [ebp]
mov dword [ebp + 0x18], esi
call fcn.004019f0
push edi
lea ecx, [ebp + 0x70]
mov dword [ebp + 0x88], esi
call fcn.004019f0
push 0x4709d4
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.004031f0
mov byte [ebp - 4], 5
call fcn.00403f68
mov edx, dword [eax]
lea ecx, [ebp + 0x8c]
push ecx
push dword [0x48a8e4]
mov ecx, eax
call dword [edx + 0xc]
call fcn.00403f68
mov edx, dword [eax]
lea ecx, [ebp + 0x54]
push ecx
push dword [0x48a88c]
mov ecx, eax
call dword [edx + 0xc]
call fcn.00403f68
mov edx, dword [eax]
lea ecx, [ebp + 0x38]
push ecx
push dword [0x48a89c]
mov ecx, eax
call dword [edx + 0xc]
call fcn.00403f68
mov edx, dword [eax]
lea ecx, [ebp + 0x70]
push ecx
push dword [0x48a894]
mov ecx, eax
call dword [edx + 0xc]
call fcn.00403f68
mov edx, dword [eax]
lea ecx, [ebp]
push ecx
push dword [0x48a898]
mov ecx, eax
call dword [edx + 0xc]
call fcn.00403f68
mov edx, dword [eax]
lea ecx, [ebp + 0x1c]
push ecx
push dword [0x48a8b8]
mov ecx, eax
call dword [edx + 0xc]
call fcn.00403f68
push dword [0x48a898]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov ebx, dword [ebp + 0x20]
push 8
test al, al
pop eax
je 0x417791
cmp dword [ebp + 0x34], eax
jae 0x417726
lea ebx, [ebp + 0x20]
mov ecx, dword [ebp + 4]
cmp dword [ebp + 0x18], eax
jae 0x417731
lea ecx, [ebp + 4]
mov esi, dword [ebp + 0x74]
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x88], eax
jae 0x417742
lea esi, [ebp + 0x74]
mov edx, dword [ebp + 0x3c]
cmp dword [ebp + 0x50], eax
jae 0x41774d
lea edx, [ebp + 0x3c]
mov ecx, dword [ebp + 0x58]
cmp dword [ebp + 0x6c], eax
jae 0x417758
lea ecx, [ebp + 0x58]
cmp dword [ebp + 0xa4], eax
mov eax, dword [ebp + 0x90]
jae 0x41776c
lea eax, [ebp + 0x90]
push ebx
push dword [ebp - 0x10]
push esi
push edx
push ecx
push eax
push str._startupbytgp___appid:_s__uin:_s__sig:_s__nickname:_s__url:_s__fromupdate__adparam:_s
push 0xffffffffffffffff
lea eax, [ebp + 0xa8]
push 0xc18
push eax
call fcn.00448d88
add esp, 0x28
jmp 0x4177f1
cmp dword [ebp + 0x34], eax
jae 0x417799
lea ebx, [ebp + 0x20]
mov esi, dword [ebp + 0x74]
cmp dword [ebp + 0x88], eax
jae 0x4177a7
lea esi, [ebp + 0x74]
mov edx, dword [ebp + 0x3c]
cmp dword [ebp + 0x50], eax
jae 0x4177b2
lea edx, [ebp + 0x3c]
mov ecx, dword [ebp + 0x58]
cmp dword [ebp + 0x6c], eax
jae 0x4177bd
lea ecx, [ebp + 0x58]
cmp dword [ebp + 0xa4], eax
mov eax, dword [ebp + 0x90]
jae 0x4177d1
lea eax, [ebp + 0x90]
push ebx
push esi
push edx
push ecx
push eax
push str._startupbytgp___appid:_s__uin:_s__sig:_s__nickname:_s__fromupdate__adparam:_s
push 0xffffffffffffffff
lea eax, [ebp + 0xa8]
push 0xc18
push eax
call fcn.00448d88
add esp, 0x24
push 0x38
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.004463d0
lea eax, [ebp + 0x2104]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0xa8]
mov dword [ebp - 0x40], eax
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp + 0x1c]
call fcn.00401a20
push edi
push esi
lea ecx, [ebp + 0x70]
call fcn.00401a20
push edi
push esi
lea ecx, [ebp]
call fcn.00401a20
push edi
push esi
lea ecx, [ebp + 0x38]
call fcn.00401a20
push edi
push esi
lea ecx, [ebp + 0x54]
call fcn.00401a20
push edi
push esi
lea ecx, [ebp + 0x8c]
call fcn.00401a20
mov al, 1
jmp 0x41787f
push 0x470808
push ebx
call fcn.0041706e
pop ecx
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2410]
xor ecx, ebp
call fcn.004463b6
add ebp, 0x2414
leave
ret
add ebx, 0xac
push 0x47b460
mov ecx, ebx
call fcn.00416bd7
test eax, eax
je 0x4179d4
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0x1cf0], ax
lea eax, [ebp + 0x1cf2]
push edi
push eax
call fcn.004463d0
add esp, 0xc
lea eax, [ebp + 0x1cf0]
push eax
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
push esi
mov word [ebp + 0x2104], ax
lea eax, [ebp + 0x2106]
push edi
push eax
call fcn.004463d0
xor eax, eax
push 0x208
mov word [ebp + 0x1ef8], ax
lea eax, [ebp + 0x1efa]
push edi
push eax
call fcn.004463d0
push str.TencentQQMicroGameBoxLaunch.exe
lea eax, [ebp + 0x1cf0]
push eax
push str._s_s
lea eax, [ebp + 0x2104]
push 0x103
push eax
call fcn.00448543
add esp, 0x2c
cmp dword [ebx + 0x18], 8
jb 0x41794f
mov ebx, dword [ebx + 4]
jmp 0x417952
add ebx, 4
push ebx
push str.__appid:_s__fromupdate
lea eax, [ebp + 0x1ef8]
push 0x104
push eax
call fcn.004038ae
add esp, 0x10
push 0x46e8b8
push str.SoftwareTencentQQMicroGameBox_
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea eax, [ebp + 0x2104]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41787d
push 0x38
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.004463d0
lea eax, [ebp + 0x2104]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x1ef8]
mov dword [ebp - 0x40], eax
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x41786c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x230c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x46e8b8
push str.SoftwareTencentQQMicroGameBox_
mov ebx, reloc.WS2_32.dll_accept
push ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x417b01
lea eax, [ebp + 0x230c]
push eax
call fcn.00446a26
pop ecx
test eax, eax
je 0x417b01
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0x1ef8], ax
lea eax, [ebp + 0x1efa]
push edi
push eax
call fcn.004463d0
add esp, 0xc
lea eax, [ebp + 0x1ef8]
push eax
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
push esi
mov word [ebp + 0x1ae8], ax
lea eax, [ebp + 0x1aea]
push edi
push eax
call fcn.004463d0
xor eax, eax
push 0x208
mov word [ebp + 0x18dc], ax
lea eax, [ebp + 0x18de]
push edi
push eax
call fcn.004463d0
push str.TencentQQMicroGameBoxLaunch.exe
lea eax, [ebp + 0x1ef8]
push eax
push str._s_s
lea eax, [ebp + 0x1ae8]
push 0x103
push eax
call fcn.00448543
lea eax, [ebp + 0x230c]
push eax
push str.__appid:_s__fromupdate
lea eax, [ebp + 0x18dc]
push 0x104
push eax
call fcn.004038ae
add esp, 0x3c
push 0x46e8b8
push str.SoftwareTencentQQMicroGameBox_
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea eax, [ebp + 0x1ae8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41787d
push 0x38
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.004463d0
lea eax, [ebp + 0x1ae8]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x18dc]
jmp 0x4179b1
call fcn.004173ea
test eax, eax
jne 0x41787d
mov ecx, dword [ebp - 0x10]
call fcn.00416bf9
jmp 0x41787f