Function at 0x407300
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x188
mov eax, dword [0x48a9f8]
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
mov esi, dword [ebp + 0x118]
push edi
push esi
push str.CmdLine:__s_
call fcn.004053cd
push eax
call fcn.004047c2
add esp, 0xc
call fcn.0041ab69
mov ecx, eax
call fcn.0041aaf5
test al, al
je 0x407365
or eax, 0xffffffff
mov ecx, dword [ebp + 0x104]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004463b6
add ebp, 0x108
leave
ret 0x10
call fcn.00406e79
call fcn.0041ab69
mov ecx, eax
call fcn.0041aac2
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [ebp + 0x110]
mov dword [0x48c168], eax
call fcn.00403f68
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx]
test al, al
je 0x407348
xor eax, eax
push 0x100
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
mov byte [ebp - 0x74], 1
call fcn.004463d0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x46e8b8
push str.SoftwareTencentQQMicroGameBox_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x80], 0x204
mov dword [ebp - 0x7c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x407401
lea eax, [ebp]
push eax
call fcn.00446a26
pop ecx
test eax, eax
je 0x407401
mov byte [ebp - 0x74], bl
push 7
pop esi
push ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], esi
call fcn.004019f0
call fcn.00403f68
mov edx, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push dword [0x48a8e0]
mov ecx, eax
call dword [edx + 0xc]
test al, al
je 0x407496
mov eax, dword [ebp - 0x18]
push 8
pop edi
cmp dword [ebp - 4], edi
jae 0x407438
lea eax, [ebp - 0x18]
push eax
push str.Update_Action:_s
call fcn.004053cd
push eax
call fcn.004047c2
mov eax, dword [ebp - 0x18]
add esp, 0xc
cmp dword [ebp - 4], edi
jae 0x407457
lea eax, [ebp - 0x18]
push str.check
push eax
call fcn.00446716
pop ecx
pop ecx
test eax, eax
jne 0x40746c
push ebx
push ebx
jmp 0x40748b
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 4], edi
jae 0x407477
lea eax, [ebp - 0x18]
push str.newbin_check
push eax
call fcn.00446716
pop ecx
pop ecx
test eax, eax
jne 0x4074ba
push ebx
push 1
push dword [ebp - 0x74]
call fcn.00406fd8
add esp, 0xc
push dword [0x4842e8]
push str.Update_process_exit_code:_d
call fcn.004053cd
push eax
call fcn.004047c2
mov esi, dword [0x4842e8]
add esp, 0xc
jmp 0x407662
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 4], edi
jae 0x4074c5
lea eax, [ebp - 0x18]
push str.install
push eax
call fcn.00446716
pop ecx
pop ecx
test eax, eax
jne 0x407510
call fcn.00403f68
mov edx, dword [eax]
push str.startupbytgp
mov ecx, eax
call dword [edx + 4]
push ebx
sub esp, 0x1c
mov esi, 0x47b460
mov ecx, esp
test al, al
je 0x407537
mov dword [ebp - 0x74], esp
push esi
call fcn.004031f0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x74], esp
push esi
call fcn.004031f0
push ebx
jmp 0x407551
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 4], edi
jae 0x40751b
lea eax, [ebp - 0x18]
push str.silent_install
push eax
call fcn.00446716
pop ecx
pop ecx
test eax, eax
jne 0x40755e
push ebx
sub esp, 0x1c
mov ecx, esp
mov esi, 0x47b460
mov dword [ebp - 0x78], esp
push esi
call fcn.004031f0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x78], esp
push esi
call fcn.004031f0
push dword [ebp - 0x74]
call fcn.004071b7
add esp, 0x40
jmp 0x407496
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 4], edi
jae 0x407569
lea eax, [ebp - 0x18]
push str.force_download
push eax
call fcn.00446716
pop ecx
pop ecx
test eax, eax
jne 0x407674
push ebx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x58], esi
call fcn.004019f0
call fcn.00403f68
mov edx, dword [eax]
lea ecx, [ebp - 0x70]
push ecx
push dword [0x48a8e4]
mov ecx, eax
call dword [edx + 0xc]
push ebx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x3c], esi
call fcn.004019f0
call fcn.00403f68
mov edx, dword [eax]
lea ecx, [ebp - 0x54]
push ecx
push dword [0x48a8e8]
mov ecx, eax
call dword [edx + 0xc]
push ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x20], esi
call fcn.004019f0
call fcn.00403f68
mov edx, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push dword [0x48a8f0]
mov ecx, eax
call dword [edx + 0xc]
mov byte [ebp - 0x74], bl
call fcn.00403f68
push dword [0x48a8ac]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x407601
mov byte [ebp - 0x74], 1
push dword [ebp - 0x74]
lea eax, [ebp - 0x38]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x78], esp
push eax
call fcn.004015f0
sub esp, 0x1c
lea eax, [ebp - 0x54]
mov ecx, esp
mov dword [ebp - 0x78], esp
push eax
call fcn.004015f0
sub esp, 0x1c
lea eax, [ebp - 0x70]
mov ecx, esp
mov dword [ebp - 0x78], esp
push eax
call fcn.004015f0
call fcn.00407080
add esp, 0x58
push ebx
push 1
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.00401a20
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.00401a20
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.00401a20
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.00401a20
mov eax, esi
jmp 0x40734b
or esi, 0xffffffff
jmp 0x407662