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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47193a
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 [0x484b80]
mov dword [ebp - 0x428], 0x1000001
movups xmmword [ebp - 0x414], xmm0
movups xmm0, xmmword [0x484b90]
movups xmmword [ebp - 0x404], xmm0
call fcn.00452050
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 [0x484bb0]
push eax
movups xmmword [ebp - 0x208], xmm0
movups xmm0, xmmword [0x484bc0]
movups xmmword [ebp - 0x1f8], xmm0
call fcn.00452050
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.004240f0
test eax, eax
jne 0x404616
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 0x404616
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.00424470
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.00426940
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.00426760
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x444]
cmp edx, 8
jb 0x4043ab
mov ecx, dword [ebp - 0x458]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4043a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4046c5
push edx
push ecx
call fcn.0044f7c7
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.00426760
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x45c]
cmp edx, 8
jb 0x404462
mov ecx, dword [ebp - 0x470]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404458
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4046c5
push edx
push ecx
call fcn.0044f7c7
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 0x404585
lea ecx, [ebp - 0x4b8]
call fcn.00401810
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x404585
cmp dword [0x49ad2c], 0
jg 0x40454d
sub esp, 8
mov dword [ebp - 0x590], 0
lea ecx, [ebp - 0x588]
call fcn.00422bb0
mov dword [ebp - 0x4ec], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetuputil_serviceqd_helper.cpp
mov dword [ebp - 0x4e8], 0x2c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2c2
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetuputil_serviceqd_helper.cpp
lea ecx, [ebp - 0x590]
mov dword [ebp - 0x4e4], eax
call fcn.00425610
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.00407130
mov edx, esi
mov ecx, eax
call fcn.00425a00
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x4dc]
test al, 1
je 0x404572
and eax, 0xfffffffe
lea ecx, [ebp - 0x590]
mov dword [ebp - 0x4dc], eax
call fcn.00425110
mov ecx, dword [edi]
lea edx, [ebp - 0x4a0]
call fcn.004031a0
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 0x4045f6
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4045ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4046c5
push edx
push ecx
call fcn.0044f7c7
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 0x404631
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4d4], 0
mov eax, dword [ebp - 0x4d8]
test eax, eax
je 0x40464c
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 0x40466e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4d4], 0
mov eax, dword [ebp - 0x4d8]
test eax, eax
je 0x404689
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 0x404200
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.0044f786
mov esp, ebp
pop ebp
ret
call fcn.00454bbf
int3