Function at 0x4148b0
Capabilities:
Connect to wmi namespace via wbemlocator
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44f261
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
push esi
push edi
mov eax, dword [0x46414c]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor esi, esi
cmp ebx, esi
je 0x414f4c
push esi
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x4149c6
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jl 0x4149c0
lea ecx, [esp + 0x18]
push ecx
push 0x453724
push 1
push esi
push 0x4537f4
mov dword [esp + 0x2c], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4149c0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
mov dword [esp + 0x30], esi
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 0x45de10
push eax
call edx
test eax, eax
jl 0x4149b4
mov eax, dword [esp + 0x14]
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [esp + 0x14]
jl 0x4149ac
lea edx, [esp + 0x1c]
push edx
push esi
push 0x30
push str.SELECT_Caption_Name_ProcessorId_NumberOfCores_NumberOfLogicalProcessors_CurrentClockSpeed_FROM_Win32_Processor
mov dword [esp + 0x2c], esi
mov ecx, dword [eax]
push 0x45df08
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jge 0x4149e1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
cmp eax, esi
je 0x414b81
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x14]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x20], esi
je 0x414b81
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push esi
push esi
lea edx, [esp + 0x34]
push edx
push esi
push str.Caption
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x414a57
mov ecx, dword [esp + 0x34]
push 0x63
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x414a57
mov edx, dword [esp + 0x34]
push str.intel
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x414a57
mov byte [ebx + 4], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push esi
push esi
lea edx, [esp + 0x34]
push edx
push esi
push str.Name
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x414a8f
mov eax, dword [esp + 0x34]
lea edx, [ebx + 6]
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x414a80
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push esi
push esi
lea edx, [esp + 0x84]
push edx
push esi
push str.NumberOfCores
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x414abb
mov cl, byte [esp + 0x84]
add cl, cl
or byte [ebx + 4], cl
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push esi
push esi
lea ecx, [esp + 0xa4]
push ecx
push esi
push str.NumberOfLogicalProcessors
push eax
call edx
test eax, eax
jl 0x414ae7
mov al, byte [esp + 0xa4]
add al, al
or byte [ebx + 4], al
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push esi
push esi
lea edx, [esp + 0x54]
push edx
push esi
push str.ProcessorId
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x414b30
mov ecx, dword [esp + 0x54]
push 0x63
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x414b30
mov eax, dword [esp + 0x54]
lea edx, [ebx + 0xce]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x414b21
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push esi
push esi
lea ecx, [esp + 0x74]
push ecx
push esi
push str.CurrentClockSpeed
push eax
call edx
test eax, eax
jl 0x414b53
mov eax, dword [esp + 0x74]
mov dword [ebx], eax
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x2c]
push ecx
call edi
lea edx, [esp + 0x7c]
push edx
call edi
lea eax, [esp + 0x9c]
push eax
call edi
lea ecx, [esp + 0x6c]
push ecx
call edi
lea edx, [esp + 0x4c]
push edx
call edi
jmp 0x414b87
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push esi
push 0x30
push str.SELECT_SerialNumber_Caption_Size_FROM_Win32_DiskDrive
push 0x45df08
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jl 0x4149a8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
cmp eax, esi
je 0x414cbc
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x14]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x20], esi
je 0x414cbc
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push esi
push esi
lea edx, [esp + 0x34]
push edx
push esi
push str.Caption
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x414c2f
mov ecx, dword [esp + 0x34]
push 0x63
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x414c2f
mov eax, dword [esp + 0x34]
lea edx, [ebx + 0x19c]
sub edx, eax
jmp 0x414c20
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x414c20
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push esi
push esi
lea ecx, [esp + 0x34]
push ecx
push esi
push str.Size
push eax
call edx
test eax, eax
jl 0x414c7d
mov eax, dword [esp + 0x34]
push 0x63
push eax
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x414c7d
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004245e9
add esp, 4
push esi
push 0x40000000
push edx
push eax
call fcn.0044df70
mov dword [ebx + 0x198], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push esi
push esi
lea ecx, [esp + 0x34]
push ecx
push esi
push str.SerialNumber
push eax
call edx
test eax, eax
jl 0x414cb5
mov eax, dword [esp + 0x34]
lea edx, [ebx + 0x264]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x414ca6
lea eax, [esp + 0x2c]
push eax
call edi
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push esi
push 0x30
push str.SELECT_EndingAddress_FROM_Win32_MemoryDevice
mov dword [ebx + 0x2c8], esi
mov ecx, dword [eax]
push 0x45df08
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jl 0x4149a8
mov eax, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x414d74
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x28]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x10], esi
je 0x414d74
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push esi
push esi
lea edx, [esp + 0x54]
push edx
push esi
push str.EndingAddress
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x414d61
mov ecx, dword [esp + 0x54]
push 0x63
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x414d61
mov edx, dword [esp + 0x54]
push edx
call fcn.004245de
inc eax
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
jbe 0x414d61
mov edi, eax
shr eax, 0x14
mov dword [ebx + 0x2c8], eax
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x1c]
cmp eax, esi
jne 0x414cf6
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push esi
push 0x30
push str.SELECT_Name_DriverVersion_FROM_Win32_VideoController
push 0x45df08
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jl 0x4149a8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], esi
cmp eax, esi
je 0x414f2e
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0x44]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x44], esi
je 0x414f2e
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
push esi
push esi
lea edx, [esp + 0x64]
push edx
push esi
push str.Name
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x414e13
mov ecx, dword [esp + 0x64]
push 0x63
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x414e13
mov eax, dword [esp + 0x64]
lea edx, [ebx + 0x2cc]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x414e04
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
push esi
push esi
lea edx, [esp + 0x94]
push edx
push esi
push str.DriverVersion
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, esi
jl 0x414f23
mov ecx, dword [esp + 0x94]
push 0x63
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x414f23
mov ecx, dword [esp + 0x94]
lea edx, [esp + 0x28]
push edx
call fcn.00404a50
mov dword [esp + 0xe0], esi
mov eax, dword [esp + 0x28]
cmp dword [eax - 0xc], esi
jle 0x414f0f
lea ecx, [esp + 0x10]
call fcn.00401440
mov byte [esp + 0xe0], 1
mov dword [esp + 0x20], esi
lea esi, [ebx + 0x394]
mov dword [esp + 0x24], 4
push 0x45b448
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x30]
push edx
lea ebx, [esp + 0x2c]
call fcn.00404b40
lea edi, [esp + 0x10]
mov byte [esp + 0xe0], 2
call fcn.004050a0
mov ebx, 1
lea ecx, [esp + 0x48]
mov byte [esp + 0xe0], bl
call fcn.00401460
cmp dword [esp + 0x20], 0
jle 0x414efd
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
jle 0x414efd
push eax
call fcn.004245de
add esp, 4
mov word [esi], ax
add esi, 2
sub dword [esp + 0x24], ebx
jne 0x414ea2
lea ecx, [esp + 0x10]
call fcn.00401460
lea ecx, [esp + 0x28]
mov dword [esp + 0xe0], 0xffffffff
call fcn.00401460
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret