Function at 0x402fb4
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x368
lea ebp, [esp - 4]
mov eax, dword [0x445064]
xor eax, ebp
mov dword [ebp + 0x368], eax
push 0xf0
mov eax, 0x4386d7
call fcn.00431ead
mov eax, dword [ebp + 0x378]
mov esi, dword [ebp + 0x374]
or dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x37c]
mov dword [ebp - 0x20], eax
xor eax, eax
mov ebx, ecx
mov edi, edx
mov dword [ebp - 4], eax
cmp dword [ebx + 0x18], 8
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
jb 0x40301a
mov eax, dword [ebx + 4]
jmp 0x40301d
lea eax, [ebx + 4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004025fb
cmp dword [edi + 0x18], 8
pop ecx
mov dword [ebp - 0x18], eax
jb 0x40303b
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], eax
jmp 0x403041
add edi, 4
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
call fcn.004025fb
cmp dword [esi + 0x18], 8
pop ecx
mov dword [ebp - 0x1c], eax
jb 0x403059
mov eax, dword [esi + 4]
jmp 0x40305c
lea eax, [esi + 4]
mov esi, dword [esi + 0x14]
mov dword [ebp - 0x38], eax
lea eax, [eax + esi*2]
mov dword [ebp - 0x34], eax
lea esi, [ebp - 0x14]
lea eax, [ebp - 0x38]
call fcn.00402745
test al, al
je 0x403080
mov esi, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
jmp 0x4030ac
push 0x4465c8
push 0x446728
lea esi, [ebp - 0x74]
call fcn.00401b2e
push eax
mov byte [ebp - 4], 1
call fcn.0040277d
or dword [ebp - 4], 0xffffffff
mov eax, 0x4030a6
ret
lea eax, [ebp - 0xfc]
push eax
call fcn.00404941
mov dword [ebp - 0xfc], vtable.CQzoneReporter.0
push dword [ebp - 0x20]
lea eax, [ebp - 0xfc]
push 0xfa8
push dword [ebp - 0x1c]
mov dword [ebp - 4], 3
push dword [ebp - 0x18]
push esi
push eax
call fcn.00404a2f
xor eax, eax
push 0x208
push eax
mov word [ebp + 0x15c], ax
xor edi, edi
lea eax, [ebp + 0x15e]
inc edi
push eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], 0x104
call fcn.0041c790
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 0x15c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x43bdb0
push str.SOFTWARETencentQQMicroGameBox
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp + 0x15c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4033a7
push 0x43bdc8
lea esi, [ebp + 0x140]
call fcn.00401e61
push ebx
lea eax, [ebp - 0x60]
push str.__appid:
push eax
mov byte [ebp - 4], 4
call fcn.004034da
push 0x43bdcc
push eax
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 4], 5
call fcn.00403525
add esp, 0x18
push 0xffffffffffffffff
mov ecx, esi
push ecx
xor ebx, ebx
mov byte [ebp - 4], 6
call fcn.0040234b
push ebx
push edi
lea esi, [ebp - 0x7c]
call fcn.0040200d
push ebx
push edi
lea esi, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.0040200d
mov esi, dword [ebp - 0x2c]
cmp dword [esi + 0x14], ebx
je 0x403211
push 0x43be10
mov eax, esi
call fcn.00403694
pop ecx
test al, al
jne 0x403211
push esi
lea eax, [ebp - 0x7c]
push 0x43be18
push eax
call fcn.004034da
push 0x43be14
push eax
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 7
call fcn.00403525
add esp, 0x18
push 0xffffffffffffffff
push ebx
lea esi, [ebp + 0x140]
mov byte [ebp - 4], 8
call fcn.00403436
push ebx
push edi
lea esi, [ebp - 0x60]
call fcn.0040200d
push ebx
push edi
lea esi, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.0040200d
push dword [ebp - 0x24]
lea eax, [ebp - 0x60]
push str.__loginuin:
push eax
call fcn.004034da
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea esi, [ebp + 0x140]
mov byte [ebp - 4], 9
call fcn.00403436
push ebx
push edi
lea esi, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.0040200d
push dword [ebp - 0x40]
lea eax, [ebp - 0x60]
push str.__runparam:
push eax
call fcn.004034da
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea esi, [ebp + 0x140]
mov byte [ebp - 4], 0xa
call fcn.00403436
push ebx
push edi
lea esi, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.0040200d
push dword [ebp - 0x20]
lea eax, [ebp - 0x60]
push str.__via
push eax
call fcn.004034da
add esp, 0xc
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x18], 8
mov edi, dword [eax + 0x14]
jb 0x40329f
mov eax, dword [eax + 4]
jmp 0x4032a2
add eax, 4
mov ecx, dword [ebp + 0x154]
push eax
lea eax, [ebp + 0x140]
call fcn.004035b9
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.0040200d
push 0x38
lea eax, [ebp - 0xb4]
push ebx
push eax
call fcn.0041c790
lea eax, [ebp + 0x15c]
add esp, 0xc
cmp dword [ebp + 0x158], 8
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x144]
mov dword [ebp - 0xb8], 0x3c
mov dword [ebp - 0xb4], 0x40
jae 0x40330c
lea eax, [ebp + 0x144]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x403396
lea esi, [ebp]
call fcn.00402f69
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.Utility.dll_GetStatistic]
mov dword [ebp + 0x84], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0x80], ebx
mov dword [ebp + 0x90], 0xc35a
mov dword [ebp + 0x94], 0x2aba1d
mov dword [ebp + 0x9c], eax
call esi
test eax, eax
je 0x40336f
call esi
mov edx, dword [eax]
lea ecx, [ebp]
push ecx
mov ecx, eax
call dword [edx]
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
push ebx
push edi
lea esi, [ebp + 0x140]
call fcn.0040200d
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xfc]
call fcn.00404a19
mov eax, edi
jmp 0x403413
push ebx
push edi
lea esi, [ebp + 0x140]
mov byte [ebp - 4], 3
call fcn.0040200d
lea esi, [ebp + 0xa0]
call fcn.00402f69
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.Utility.dll_GetStatistic]
and dword [ebp + 0x120], 0
mov dword [ebp + 0x124], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0x130], 0xc35a
mov dword [ebp + 0x134], 0x2aba1e
mov dword [ebp + 0x13c], eax
call esi
test eax, eax
je 0x4033fa
call esi
mov edx, dword [eax]
lea ecx, [ebp + 0xa0]
push ecx
mov ecx, eax
call dword [edx]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_PostQuitMessage]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xfc]
call fcn.00404a19
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x368]
xor ecx, ebp
call fcn.0041887e
add ebp, 0x36c
leave
ret