Function at 0x43e62d
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x698539
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x816078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
push ebx
push 0x30
push 0x6e6f60
push 0x6e6fd0
push esi
call dword [eax + 0x50]
test eax, eax
je 0x43e6d8
lea eax, [ebp - 0x44]
mov byte [edi], bl
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x43e851
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x43e6b8
mov dword [ebp - 0x2c], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x43e833
mov dword [ebp - 0x30], ebx
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
jmp 0x43e833
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x43e85d
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x2c]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x43e7f5
cmp dword [ebp - 0x34], 1
jne 0x43e7f5
mov eax, dword [ebp - 0x2c]
push ebx
test eax, eax
je 0x43e85e
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push ebx
push edx
push ebx
push str.Caption
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x43e75f
lea eax, [ebp - 0x44]
mov byte [edi], bl
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x43e851
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x43e753
mov dword [ebp - 0x2c], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 7
jmp 0x43e823
mov eax, dword [ebp - 0x3c]
mov ecx, vtable.Mso::Logging::StructuredObject_wchar_t_const___1_.0
mov dword [ebp - 0x48], eax
mov edx, 0x55f
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ecx
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
push eax
push str.GetMachineDetailsWmi
push 0x32
mov ecx, 0x2160747
mov dword [ebp - 0x4c], str.OSName
mov dword [ebp - 0x18], str.Information
mov dword [ebp - 0x14], str.Retrieving_OS_name_from_WMI
call fcn.00411dd9
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x28]
call fcn.0040d412
lea eax, [ebp - 0x28]
mov byte [edi], bl
lea ecx, [edi + 4]
push eax
call fcn.0040d3df
lea ecx, [ebp - 0x28]
mov byte [edi], 1
call fcn.0040d475
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x43e851
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x43e7ec
mov dword [ebp - 0x2c], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 9
jmp 0x43e823
lea eax, [ebp - 0x44]
mov byte [edi], bl
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x43e851
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x43e81c
mov dword [ebp - 0x2c], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x43e833
mov dword [ebp - 0x30], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064c681
mov esp, ebp
pop ebp
ret
mov edx, 0x75d25d
mov ecx, eax
call fcn.0042279d
push ebx
push 0x152139a
call fcn.00422704
int3