Function at 0x402e30
Capabilities:
Get system information on windows

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 0x45db36
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x160
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::FillSysInfo
lea ecx, [ebp - 0x140]
call fcn.00407b80
mov dword [ebp - 4], 0
test esi, esi
je 0x40307e
cmp dword [esi + 0x74], 0
jne 0x40307e
lea edi, [esi + 0x5c]
mov dword [ebp - 0x144], 1
push edi
mov dword [ebp - 0x148], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
cmp dword [esi + 0x20], 0
je 0x403077
push str.RtlGetVersion
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push pe_nt_image_headers32
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x134]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x13c]
add esp, 0xc
mov dword [ebp - 0x138], 0x11c
test eax, eax
je 0x402f2c
lea ecx, [ebp - 0x138]
push ecx
call eax
test eax, eax
je 0x402fa6
mov eax, dword [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_call_RtlGetVersion____err_d__RtlGetVersion_p
push str.QMReportMgr::CReportManager::FillSysInfo
push 0xc3
push str.e:qci_workspace_root_workspaces__qci_pipeline_603700_2_ftcommonqmcommonlibdllqmreportmgrqmreportmgr.cpp
call fcn.0040c660
add esp, 0x18
mov dword [ebp - 0x138], 0x11c
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x402fa6
lea eax, [ebp - 0x138]
mov dword [ebp - 0x138], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x402fa6
mov eax, dword [esi + 0x20]
xor ecx, ecx
mov word [eax + 0x30], cx
mov eax, dword [esi + 0x20]
mov word [eax + 0x32], cx
mov eax, dword [esi + 0x20]
mov word [eax + 0x36], cx
mov eax, dword [esi + 0x20]
mov word [eax + 0x34], cx
jmp 0x402fdb
mov ecx, dword [esi + 0x20]
movzx eax, word [ebp - 0x134]
mov word [ecx + 0x30], ax
mov ecx, dword [esi + 0x20]
movzx eax, word [ebp - 0x130]
mov word [ecx + 0x32], ax
mov ecx, dword [esi + 0x20]
movzx eax, word [ebp - 0x24]
mov word [ecx + 0x36], ax
mov ecx, dword [esi + 0x20]
movzx eax, word [ebp - 0x12c]
mov word [ecx + 0x34], ax
mov ecx, dword [esi + 0x20]
movzx eax, word [ecx + 0x36]
push eax
movzx eax, word [ecx + 0x34]
push eax
movzx eax, word [ecx + 0x32]
push eax
movzx eax, word [ecx + 0x30]
push eax
push str.Windows_version:__d._d._d__sp__d_
push str.QMReportMgr::CReportManager::FillSysInfo
push 0xdb
push str.e:qci_workspace_root_workspaces__qci_pipeline_603700_2_ftcommonqmcommonlibdllqmreportmgrqmreportmgr.cpp
call fcn.0040c660
add esp, 0x20
mov dword [ebp - 0x14c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x16c], xmm0
push str.GetNativeSystemInfo
push str.kernel32.dll
movups xmmword [ebp - 0x15c], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40304f
lea ecx, [ebp - 0x16c]
push ecx
call eax
jmp 0x40305c
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esi + 0x20]
mov ax, word [ebp - 0x16c]
mov word [ecx + 0x38], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, dword [esi + 0x20]
mov word [ecx + 0x3a], ax
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x140]
call fcn.00407aa0
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