Function at 0x903990
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x98eb88]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x991d1c], 0
je 0x903e22
cmp dword [0x991d18], 0
je 0x903e22
push esi
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00901060
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [0x991d1c]
lea eax, [ebp - 0xe0]
push eax
mov ecx, esi
mov dword [ebp - 0xe0], 0x40
call dword [section..rdata]
call esi
mov eax, dword [ebp - 0x12c]
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xd4]
shrd edx, eax, 0xc
mov eax, dword [ebp - 0xcc]
shrd ecx, eax, 0xc
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0xc8]
shrd ecx, eax, 0xc
mov eax, dword [ebp - 0xdc]
sub ecx, edx
mov dword [ebp - 0x28], edx
push 0x1000
mov dword [ebp - 8], ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x4c], 0x81c0
call fcn.0090dd90
or dword [ebp - 0x4c], 0x200
add esp, 4
mov esi, dword [0x991d20]
mov dword [ebp - 0x20], eax
test esi, esi
je 0x903ae0
push 0x38
lea eax, [ebp - 0xa0]
mov ecx, esi
push eax
call dword [section..rdata]
call esi
test eax, eax
je 0x903aca
mov eax, dword [ebp - 0x70]
or dword [ebp - 0x4c], 0x7c38
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xc], eax
jmp 0x903ae0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.vgsvcVMStatsReport:_GetPerformanceInfo_failed_with__d_n
push 3
call fcn.00902480
add esp, 0xc
mov eax, dword [ebp - 0x11c]
push ebx
push edi
push str.D:_tinderbox_add_7.0_srcVBoxAdditionscommonVBoxServiceVBoxServiceStats.cpp
lea edi, [eax + eax*2]
shl edi, 4
push edi
mov dword [ebp - 0x104], edi
call fcn.0091be40
mov ebx, eax
add esp, 8
mov dword [ebp - 0xec], ebx
test ebx, ebx
je 0x903e1f
mov esi, dword [0x991d18]
lea eax, [ebp - 0xf0]
push eax
push edi
push ebx
push 8
mov ecx, esi
mov byte [ebp - 0xe1], 0
call dword [section..rdata]
call esi
test eax, eax
jne 0x903dc1
cmp dword [ebp - 0xf0], edi
jne 0x903dc1
mov eax, dword [ebp - 0x11c]
xor edi, edi
mov dword [ebp - 0x100], edi
test eax, eax
je 0x903dc1
add ebx, 0x10
xor esi, esi
cmp esi, 0x200
jae 0x903daa
mov ecx, dword [esi + 0x991718]
mov eax, ecx
mov edx, dword [esi + 0x99171c]
or eax, edx
jne 0x903bf2
mov eax, dword [ebx - 0x10]
mov ecx, dword [ebx - 0xc]
mov dword [esi + 0x991518], eax
mov dword [esi + 0x99151c], ecx
mov eax, dword [ebx - 8]
mov ecx, dword [ebx - 4]
mov dword [esi + 0x991718], eax
mov dword [esi + 0x99171c], ecx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
push 0xfa
mov dword [esi + 0x991918], eax
mov dword [esi + 0x99191c], ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [0x991d18]
lea eax, [ebp - 0xf0]
push eax
push dword [ebp - 0x104]
mov ecx, edi
push dword [ebp - 0xec]
push 8
call dword [section..rdata]
call edi
mov ecx, dword [esi + 0x991718]
mov edx, dword [esi + 0x99171c]
mov eax, dword [ebx - 0x10]
sub eax, dword [esi + 0x991518]
mov edi, dword [ebx - 8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebx - 0xc]
sbb eax, dword [esi + 0x99151c]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebx]
sub eax, dword [esi + 0x991918]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebx + 4]
sbb eax, dword [esi + 0x99191c]
sub edi, ecx
mov dword [ebp - 0xf8], eax
mov ecx, edi
mov eax, dword [ebx - 4]
sbb eax, edx
sub ecx, dword [ebp - 0xf4]
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x10c], ecx
mov ecx, eax
sbb ecx, edx
add edi, dword [ebp - 0xfc]
mov dword [ebp - 0x108], ecx
mov ecx, edi
adc eax, dword [ebp - 0xf8]
or ecx, eax
mov dword [ebp - 0xe8], eax
jne 0x903c76
lea edi, [ecx + 1]
mov dword [ebp - 0xe8], ecx
push dword [ebp - 0xe8]
mov eax, edx
mov ecx, 0x64
mul ecx
mov edx, 0x64
mov ecx, eax
mov eax, dword [ebp - 0xf4]
mul edx
push edi
add ecx, edx
push ecx
push eax
call fcn.0094c730
push dword [ebp - 0xe8]
mov dword [ebp - 0x48], eax
mov ecx, 0x64
mov eax, dword [ebp - 0x108]
mul ecx
mov edx, 0x64
mov ecx, eax
mov eax, dword [ebp - 0x10c]
mul edx
push edi
add ecx, edx
push ecx
push eax
call fcn.0094c730
push dword [ebp - 0xe8]
mov dword [ebp - 0x44], eax
mov ecx, 0x64
mov eax, dword [ebp - 0xf8]
mul ecx
mov edx, 0x64
mov ecx, eax
mov eax, dword [ebp - 0xfc]
mul edx
push edi
add ecx, edx
push ecx
push eax
call fcn.0094c730
mov edi, dword [ebp - 0x100]
or dword [ebp - 0x4c], 7
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x50], edi
mov byte [ebp - 0xe1], 1
call fcn.00946770
add esp, 4
test eax, eax
js 0x903d2b
push edi
push str.vgsvcVMStatsReport:_new_statistics__CPU__u__reported_successfully__n
jmp 0x903d31
push eax
push str.vgsvcVMStatsReport:_VbglR3StatReport_failed_with_rc_Rrc_n
push 3
call fcn.00902480
mov eax, dword [ebx - 0x10]
inc edi
mov ecx, dword [ebx - 0xc]
add esp, 0xc
mov dword [esi + 0x991518], eax
mov dword [esi + 0x99151c], ecx
mov eax, dword [ebx - 8]
mov ecx, dword [ebx - 4]
mov dword [esi + 0x991718], eax
mov dword [esi + 0x99171c], ecx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
add ebx, 0x30
mov dword [esi + 0x991918], eax
mov eax, dword [ebp - 0x11c]
mov dword [esi + 0x99191c], ecx
add esi, 8
mov dword [ebp - 0x100], edi
cmp edi, eax
jb 0x903b63
push dword [ebp - 0xec]
call fcn.0091be80
add esp, 4
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00901200
mov esp, ebp
pop ebp
ret
push eax
push edi
push str.vgsvcVMStatsReport:_skipping_information_for_CPUs__u.._u_n
push 3
call fcn.00902480
mov ebx, dword [ebp - 0xec]
add esp, 0x10
push ebx
call fcn.0091be80
add esp, 4
cmp byte [ebp - 0xe1], 0
jne 0x903e1f
push str.vgsvcVMStatsReport:_CPU_info_not_available__n
push 3
call fcn.00902480
lea eax, [ebp - 0x68]
push eax
call fcn.00946770
add esp, 0xc
test eax, eax
js 0x903e0f
push str.vgsvcVMStatsReport:_new_statistics_reported_successfully__n
push 3
call fcn.00902480
add esp, 8
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00901200
mov esp, ebp
pop ebp
ret
push eax
push str.vgsvcVMStatsReport:_stats_report_failed_with_rc_Rrc_n
push 3
call fcn.00902480
add esp, 0xc
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00901200
mov esp, ebp
pop ebp
ret