Function at 0x404b10
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47245a
mov eax, dword fs:[0]
push eax
sub esp, 0x584
mov eax, dword [0x498068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
lea eax, [ebp - 0x3f4]
mov dword [ebp - 0x4dc], esi
movups xmm0, xmmword [str.SoftwareTencentQQ2009]
push 0x1d8
push esi
movups xmmword [ebp - 0x424], xmm0
push eax
movups xmm0, xmmword [0x484c28]
mov dword [ebp - 0x428], 0x1000001
movups xmmword [ebp - 0x414], xmm0
movups xmm0, xmmword [0x484c38]
movups xmmword [ebp - 0x404], xmm0
call fcn.00452a30
movups xmm0, xmmword [str.SoftwareTencentQQLite]
push 0x1d8
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x21c], 0x1000101
movups xmmword [ebp - 0x218], xmm0
push esi
movups xmm0, xmmword [0x484c58]
push eax
movups xmmword [ebp - 0x208], xmm0
movups xmm0, xmmword [0x484c68]
movups xmmword [ebp - 0x1f8], xmm0
call fcn.00452a30
add esp, 0x18
mov dword [ebp - 0x4e0], esi
lea edi, [ebp - 0x428]
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4d4], 0
push 0x20019
lea eax, [edi + 4]
mov dword [ebp - 4], 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x4d8]
call fcn.00424ae0
test eax, eax
jne 0x404ff6
push eax
push eax
push eax
push eax
push str.HummerSetup2012
push dword [ebp - 0x4d8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404ff6
mov byte [ebp - 4], 1
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 2
push eax
push str.Install
lea ecx, [ebp - 0x4d8]
call fcn.00424e60
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x4a0]
call fcn.00401920
lea eax, [ebp - 0x4a0]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x488]
call fcn.00401920
lea ecx, [ebp - 0x488]
call fcn.00427330
mov byte [ebp - 4], 4
lea eax, [ebp - 0x488]
cmp dword [ebp - 0x474], 8
lea ecx, [ebp - 0x4a0]
push dword [ebp - 0x478]
cmovae eax, dword [ebp - 0x488]
push eax
call fcn.00401a50
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 3
call fcn.00401850
push 0xa
xor eax, eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
lea ecx, [ebp - 0x458]
push str.BinQQ.exe
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 7
mov word [ebp - 0x458], ax
call fcn.00401a50
lea eax, [ebp - 0x458]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x4d0]
push eax
lea ecx, [ebp - 0x4a0]
call fcn.00427150
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x444]
cmp edx, 8
jb 0x404d8b
mov ecx, dword [ebp - 0x458]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404d81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4050a5
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 7
mov word [ebp - 0x458], ax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x470]
push 0x1b
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], eax
push str.QQProtectBinQQProtect.exe
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], 7
mov word [ebp - 0x470], ax
call fcn.00401a50
lea eax, [ebp - 0x470]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x4b8]
push eax
lea ecx, [ebp - 0x4a0]
call fcn.00427150
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x45c]
cmp edx, 8
jb 0x404e42
mov ecx, dword [ebp - 0x470]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404e38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4050a5
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 7
mov word [ebp - 0x470], ax
lea ecx, [ebp - 0x4d0]
mov byte [ebp - 4], 0xe
call fcn.00401810
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x404f65
lea ecx, [ebp - 0x4b8]
call fcn.00401810
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x404f65
cmp dword [0x49ad28], 0
jg 0x404f2d
sub esp, 8
mov dword [ebp - 0x590], 0
lea ecx, [ebp - 0x588]
call fcn.004235a0
mov dword [ebp - 0x4ec], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetuputil_serviceqd_helper.cpp
mov dword [ebp - 0x4e8], 0x2c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2c1
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetuputil_serviceqd_helper.cpp
lea ecx, [ebp - 0x590]
mov dword [ebp - 0x4e4], eax
call fcn.00426000
or esi, 1
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x42c], 8
lea ecx, [ebp - 0x588]
mov dword [ebp - 0x4dc], esi
mov edx, str.Product_info_refreshed.
lea esi, [ebp - 0x440]
cmovae esi, dword [ebp - 0x440]
call fcn.00407b40
mov edx, esi
mov ecx, eax
call fcn.004263f0
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x4dc]
test al, 1
je 0x404f52
and eax, 0xfffffffe
lea ecx, [ebp - 0x590]
mov dword [ebp - 0x4dc], eax
call fcn.00425b00
mov ecx, dword [edi]
lea edx, [ebp - 0x4a0]
call fcn.00403b80
mov esi, dword [ebp - 0x4dc]
lea ecx, [ebp - 0x4b8]
mov byte [ebp - 4], 7
call fcn.00401850
lea ecx, [ebp - 0x4d0]
mov byte [ebp - 4], 3
call fcn.00401850
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 2
call fcn.00401850
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x42c]
cmp edx, 8
jb 0x404fd6
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404fcc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4050a5
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x4d4]
test eax, eax
je 0x405011
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4d4], 0
mov eax, dword [ebp - 0x4d8]
test eax, eax
je 0x40502c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4d4]
test eax, eax
je 0x40504e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4d4], 0
mov eax, dword [ebp - 0x4d8]
test eax, eax
je 0x405069
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x4d8], 0
mov eax, dword [ebp - 0x4e0]
add edi, 0x20c
inc eax
mov dword [ebp - 0x4e0], eax
cmp eax, 2
jl 0x404be0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450164
mov esp, ebp
pop ebp
ret
call fcn.0045559f
int3