Function at 0x42be1d
Capabilities:
Connect to wmi namespace via wbemlocator
Get disk size
Get geographical location
Reference wmi statements

Disassembly:
push 0x74
mov eax, 0x52b9cd
call fcn.004e49d2
mov dword [ebp - 0x70], ecx
push 2
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x42be42
xor al, al
jmp 0x42c2d3
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], ebx
push eax
push 0x544928
push 1
push ebx
push 0x544918
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x42be68
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x42be3b
mov dword [ebp - 0x5c], ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.ROOTCIMV2
call ebx
lea edx, [ebp - 0x5c]
mov edi, eax
mov eax, dword [ebp - 0x60]
push edx
xor edx, edx
push edx
mov ecx, dword [eax]
push edx
push edx
push edx
push edx
push edx
push edi
push eax
call dword [ecx + 0xc]
push edi
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jns 0x42bea8
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x42be60
xor eax, eax
push eax
push eax
push 3
push 3
push eax
push eax
push 0xa
push dword [ebp - 0x5c]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x42becc
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x42be9d
push 0x5b0f44
call ebx
push str.SELECT__FROM_Win32_OperatingSystem
mov ebx, eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
and dword [ebp - 0x6c], 0
lea edx, [ebp - 0x6c]
push edx
push 0
mov edi, eax
mov eax, dword [ebp - 0x5c]
push 0x30
push edi
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
push ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, eax
call ebx
push edi
call ebx
test esi, esi
js 0x42bec1
mov ecx, dword [ebp - 0x6c]
xor ebx, ebx
mov dword [ebp - 0x74], ebx
test ecx, ecx
je 0x42c1c6
mov eax, dword [ecx]
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0x44]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x74], ebx
je 0x42c1c3
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x58]
push ebx
push ebx
push edx
mov ecx, dword [eax]
push ebx
push str.Caption
push eax
call dword [ecx + 0x10]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x42bf74
push dword [ebp - 0x50]
call fcn.0042655b
mov ebx, dword [ebp - 0x70]
pop ecx
push eax
push dword [ebp - 0x50]
mov ecx, ebx
call fcn.004264e2
lea eax, [ebp - 0x58]
push eax
call esi
jmp 0x42bf77
mov ebx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x58]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Version
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x42bfae
push dword [ebp - 0x50]
call fcn.0042655b
pop ecx
push eax
push dword [ebp - 0x50]
lea ecx, [ebx + 0x18]
call fcn.004264e2
lea eax, [ebp - 0x58]
push eax
call esi
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x58]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.CodeSet
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x42bfe5
push dword [ebp - 0x50]
call fcn.0042655b
pop ecx
push eax
push dword [ebp - 0x50]
lea ecx, [ebx + 0x30]
call fcn.004264e2
lea eax, [ebp - 0x58]
push eax
call esi
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x58]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.CountryCode
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x42c01c
push dword [ebp - 0x50]
call fcn.0042655b
pop ecx
push eax
push dword [ebp - 0x50]
lea ecx, [ebx + 0x48]
call fcn.004264e2
lea eax, [ebp - 0x58]
push eax
call esi
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x58]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.FreePhysicalMemory
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x42c053
push 0xa
push 0
push dword [ebp - 0x50]
call fcn.0050df6a
add esp, 0xc
mov dword [ebx + 0x60], eax
lea eax, [ebp - 0x58]
mov dword [ebx + 0x64], edx
push eax
call esi
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x58]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.FreeVirtualMemory
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x42c08a
push 0xa
push 0
push dword [ebp - 0x50]
call fcn.0050df6a
add esp, 0xc
mov dword [ebx + 0x68], eax
lea eax, [ebp - 0x58]
mov dword [ebx + 0x6c], edx
push eax
call esi
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x58]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Locale
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x42c0c1
push dword [ebp - 0x50]
call fcn.0042655b
pop ecx
push eax
push dword [ebp - 0x50]
lea ecx, [ebx + 0x78]
call fcn.004264e2
lea eax, [ebp - 0x58]
push eax
call esi
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x58]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.OSArchitecture
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x42c0fb
push dword [ebp - 0x50]
call fcn.0042655b
pop ecx
push eax
push dword [ebp - 0x50]
lea ecx, [ebx + 0x90]
call fcn.004264e2
lea eax, [ebp - 0x58]
push eax
call esi
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x58]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.OSLanguage
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x42c126
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0xa8], eax
lea eax, [ebp - 0x58]
push eax
call esi
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x58]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.ServicePackMajorVersion
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x42c153
mov ax, word [ebp - 0x50]
mov word [ebx + 0xac], ax
lea eax, [ebp - 0x58]
push eax
call esi
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x58]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.ServicePackMinorVersion
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x42c180
mov ax, word [ebp - 0x50]
mov word [ebx + 0xae], ax
lea eax, [ebp - 0x58]
push eax
call esi
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x58]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Status
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x42c1ba
push dword [ebp - 0x50]
call fcn.0042655b
pop ecx
push eax
push dword [ebp - 0x50]
lea ecx, [ebx + 0xb0]
call fcn.004264e2
lea eax, [ebp - 0x58]
push eax
call esi
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ebx, dword [ebp - 0x70]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0
mov word [ebp - 0x64], 0
mov byte [ebx + 0xe3], 0
call fcn.0044775c
test al, al
je 0x42c222
mov eax, dword [ebp - 0x68]
mov dword [ebx + 0xe4], eax
mov ax, word [ebp - 0x64]
mov byte [ebx + 0xe3], 1
mov word [ebx + 0xe8], ax
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x58
call esi
test eax, eax
push 0x4a
setne al
mov byte [ebx + 0xe0], al
call esi
test eax, eax
push 0x49
setne al
mov byte [ebx + 0xe1], al
call esi
test eax, eax
mov byte [ebx + 0xeb], 0
lea ecx, [ebx + 0xec]
setne al
mov byte [ebx + 0xe2], al
call fcn.0042b944
test al, al
je 0x42c272
mov byte [ebx + 0xeb], 1
push str.MSHTML.DLL
lea ecx, [ebp - 0x28]
call fcn.004147d9
and dword [ebp - 4], 0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.0042bb24
push eax
lea ecx, [ebx + 0xc8]
call fcn.00427b2c
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00427ba9
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00416ab1
xor ecx, ecx
lea eax, [ebp - 0x80]
push ecx
push ecx
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExA]
test eax, eax
je 0x42c2d1
mov ecx, dword [ebp - 0x80]
mov dword [ebx + 0x70], ecx
mov ecx, dword [ebp - 0x7c]
mov dword [ebx + 0x74], ecx
mov al, 1
call fcn.004e497c
ret