Function at 0x4056ab
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 - 0x23d8]
mov eax, 0x23d8
call fcn.00448db0
push 0xffffffffffffffff
push 0x46b146
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x48a9f8]
xor eax, ebp
mov dword [ebp + 0x23d4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
push 0x100
mov word [ebp + 0x22d0], ax
xor esi, esi
lea eax, [ebp + 0x22d2]
push esi
push eax
call fcn.004463d0
xor ebx, ebx
inc ebx
add esp, 0xc
mov dword [ebp - 0x10], 0x204
mov dword [ebp - 0x14], ebx
call fcn.00403f68
push dword [0x48a888]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x405949
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp + 0x18a4], ax
lea eax, [ebp + 0x18a6]
push esi
push eax
call fcn.004463d0
add esp, 0xc
lea eax, [ebp + 0x18a4]
push eax
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
push edi
mov word [ebp + 0x20c8], ax
lea eax, [ebp + 0x20ca]
push esi
push eax
call fcn.004463d0
xor eax, eax
push 0x1830
mov word [ebp + 0x70], ax
lea eax, [ebp + 0x72]
push esi
push eax
call fcn.004463d0
push str.TencentQQMicroGameBoxLaunch.exe
lea eax, [ebp + 0x18a4]
push eax
push str._s_s
lea eax, [ebp + 0x20c8]
push 0x103
push eax
call fcn.00448543
add esp, 0x2c
push 0x46e8b8
push str.SoftwareTencentQQMicroGameBox_
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea eax, [ebp + 0x20c8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405942
call fcn.0041bf81
mov ecx, eax
call fcn.0041bfc3
test al, al
je 0x405930
push 7
pop edi
push esi
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x6c], edi
call fcn.004019f0
push esi
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], esi
mov dword [ebp + 0x34], edi
call fcn.004019f0
push esi
lea ecx, [ebp]
mov dword [ebp + 0x18], edi
call fcn.004019f0
push esi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x50], edi
call fcn.004019f0
mov byte [ebp - 4], 3
call fcn.00403f68
mov edx, dword [eax]
lea ecx, [ebp + 0x54]
push ecx
push dword [0x48a8e4]
mov ecx, eax
call dword [edx + 0xc]
call fcn.00403f68
mov edx, dword [eax]
lea ecx, [ebp + 0x1c]
push ecx
push dword [0x48a88c]
mov ecx, eax
call dword [edx + 0xc]
call fcn.00403f68
mov edx, dword [eax]
lea ecx, [ebp]
push ecx
push dword [0x48a89c]
mov ecx, eax
call dword [edx + 0xc]
call fcn.00403f68
mov edx, dword [eax]
lea ecx, [ebp + 0x38]
push ecx
push dword [0x48a894]
mov ecx, eax
call dword [edx + 0xc]
mov edi, dword [ebp + 0x3c]
push 8
pop eax
cmp dword [ebp + 0x50], eax
jae 0x405891
lea edi, [ebp + 0x3c]
mov edx, dword [ebp + 4]
cmp dword [ebp + 0x18], eax
jae 0x40589c
lea edx, [ebp + 4]
mov ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x34], eax
jae 0x4058a7
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x58]
jae 0x4058b2
lea eax, [ebp + 0x58]
push edi
push edx
push ecx
push eax
push str._startupbytgp___appid:_s__uin:_s__sig:_s__nickname:_s__fromupdate
push 0xffffffffffffffff
lea eax, [ebp + 0x70]
push 0xc18
push eax
call fcn.00448d88
push 0x38
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.004463d0
lea eax, [ebp + 0x20c8]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x70]
mov dword [ebp - 0x3c], eax
add esp, 0x2c
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push esi
push ebx
lea ecx, [ebp + 0x38]
call fcn.00401a20
push esi
push ebx
lea ecx, [ebp]
call fcn.00401a20
push esi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.00401a20
push esi
push ebx
lea ecx, [ebp + 0x54]
call fcn.00401a20
mov al, 1
jmp 0x405a9b
push str.CCheckUpdate::LaunchLastRunGame_miss_tgp_required_param
call fcn.004053cd
push eax
call fcn.004047c2
pop ecx
pop ecx
xor al, al
jmp 0x405a9b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x22d0]
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 0x405a94
lea eax, [ebp + 0x22d0]
push eax
call fcn.00446a26
pop ecx
test eax, eax
je 0x405a94
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp + 0x1aac], ax
lea eax, [ebp + 0x1aae]
push esi
push eax
call fcn.004463d0
add esp, 0xc
lea eax, [ebp + 0x1aac]
push eax
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
push edi
mov word [ebp + 0x1ec0], ax
lea eax, [ebp + 0x1ec2]
push esi
push eax
call fcn.004463d0
xor eax, eax
push 0x208
mov word [ebp + 0x1cb4], ax
lea eax, [ebp + 0x1cb6]
push esi
push eax
call fcn.004463d0
push str.TencentQQMicroGameBoxLaunch.exe
lea eax, [ebp + 0x1aac]
push eax
push str._s_s
lea eax, [ebp + 0x1ec0]
push 0x103
push eax
call fcn.00448543
lea eax, [ebp + 0x22d0]
push eax
push str.__appid:_s__fromupdate
lea eax, [ebp + 0x1cb4]
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 + 0x1ec0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405942
push 0x38
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.004463d0
lea eax, [ebp + 0x1ec0]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x1cb4]
mov dword [ebp - 0x3c], eax
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x405929
mov ecx, edi
call fcn.004039b8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x23d4]
xor ecx, ebp
call fcn.004463b6
add ebp, 0x23d8
leave
ret