Function at 0x4029c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45daf2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4a8
mov eax, dword [0x47ea94]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
push 0
push 0
push 0
push str.QMReportMgr::CReportManager::InitCommonData
lea ecx, [ebp - 0x4a0]
call fcn.00407b80
mov dword [ebp - 4], 0
test esi, esi
je 0x402df9
cmp dword [esi + 0x74], 0
jne 0x402df9
lea eax, [esi + 0x5c]
mov dword [ebp - 0x4ac], 1
push eax
mov dword [ebp - 0x4b0], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00403290
test eax, eax
je 0x402dd9
cmp dword [esi + 0x20], 0
jne 0x402dd9
push 0x70
call fcn.0045be5d
mov edi, eax
add esp, 4
mov dword [ebp - 0x494], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
xor eax, eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], eax
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], 0xf
mov byte [edi + 0x58], al
lea ecx, [ebp - 0x490]
mov byte [ebp - 4], 4
call fcn.00407d30
push eax
mov ecx, edi
call fcn.00405cc0
mov edx, dword [ebp - 0x47c]
cmp edx, 0x10
jb 0x402b30
mov ecx, dword [ebp - 0x490]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402b26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402b26
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0045be8d
add esp, 8
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x18]
mov dword [esi + 0x20], edi
mov dword [edi + 0x20], eax
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 8]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov ecx, dword [esi + 0x20]
movzx eax, word [esi + 0x1c]
cdq
mov dword [ecx + 0x50], eax
mov dword [ecx + 0x54], edx
mov eax, dword [esi + 0x20]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x402b78
mov ecx, dword [eax]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push dword [eax + 0x50]
push ecx
push str.InitCommonData__Guid_s_ProductID_d__ClientVersion_I64d
push str.QMReportMgr::CReportManager::InitCommonData
push 0x8a
push str.e:qci_workspace_root_workspaces__qci_pipeline_603700_2_ftcommonqmcommonlibdllqmreportmgrqmreportmgr.cpp
call fcn.0040c620
add esp, 0x20
mov ecx, esi
call fcn.00402e30
push 0
push 0
push 0
push 0
push 0
push str.QMReportMgr::CReportManager::FillIEInfo
lea ecx, [ebp - 0x49c]
call fcn.00407b80
cmp dword [esi + 0x74], 0
jne 0x402d2a
cmp dword [esi + 0x20], 0
je 0x402d2a
xorps xmm0, xmm0
mov dword [ebp - method.QMRegisterUtils::CQMRegistryHandle.virtual_0], vtable.QMRegisterUtils::CQMRegistryHandle.0
movlpd qword [ebp - 0x4a8], xmm0
xor edi, edi
lea eax, [ebp - 0x498]
mov byte [ebp - 4], 6
push eax
push 1
push edi
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x498], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402cf2
mov edi, dword [ebp - 0x498]
push 0x412
push eax
lea eax, [ebp - 0x478]
mov dword [ebp - 0x4b4], edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x494], 0x410
lea eax, [ebp - 0x494]
push eax
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x498]
push eax
push 0
push str.Version
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x402cf2
mov eax, dword [ebp - 0x498]
cmp eax, 1
je 0x402c7c
cmp eax, 2
jne 0x402cf2
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x490]
call fcn.00405bb0
lea eax, [ebp - 0x490]
mov byte [ebp - 4], 7
push eax
call fcn.004038d0
mov dword [ebp - 0x494], edx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x47c]
mov dword [ebp - 0x498], eax
cmp edx, 8
jb 0x402d0a
mov ecx, dword [ebp - 0x490]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402ce6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402ce6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0045be8d
add esp, 8
jmp 0x402d0a
mov eax, dword [ebp - 0x4a4]
mov dword [ebp - 0x494], eax
mov eax, dword [ebp - 0x4a8]
mov dword [ebp - 0x498], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0x498]
mov dword [eax + 0x40], ecx
mov ecx, dword [ebp - 0x494]
mov dword [eax + 0x44], ecx
test edi, edi
je 0x402d2a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x49c]
mov byte [ebp - 4], 1
call fcn.00407aa0
push 0
push 0
push 0
push 0
push 0
push str.QMReportMgr::CReportManager::FillOfficeInfo
lea ecx, [ebp - 0x494]
call fcn.00407b80
lea ecx, [ebp - 0x494]
call fcn.00407aa0
mov eax, dword [0x480c60]
xorps xmm0, xmm0
mov word [ebp - 0x18], 0
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
test eax, eax
jne 0x402d8e
push str.QMGetImMacID3A
call fcn.00409780
add esp, 4
mov dword [0x480c60], eax
test eax, eax
je 0x402db9
push 0x21
lea ecx, [ebp - 0x38]
push ecx
call eax
test eax, eax
je 0x402db9
lea ecx, [ebp - 0x38]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402da0
sub ecx, edx
lea eax, [ebp - 0x38]
push ecx
mov ecx, dword [esi + 0x20]
push eax
add ecx, 0x58
call fcn.00406100
xorps xmm0, xmm0
mov word [ebp - 0x3c], 0
lea ecx, [ebp - 0x5c]
movups xmmword [ebp - 0x5c], xmm0
movups xmmword [ebp - 0x4c], xmm0
call fcn.00409120
mov ecx, esi
call fcn.00404b20
xor eax, eax
cmp dword [esi + 0x20], eax
setne al
mov dword [ebp - 0x494], eax
lea eax, [esi + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x494]
jmp 0x402dfb
xor esi, esi
lea ecx, [ebp - 0x4a0]
call fcn.00407aa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045be1b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret