Function at 0x40d360
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0xffffffffffffffff
push 0x427660
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x430090]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor ebp, ebp
push ebp
push ebp
mov dword [esp + 0x34], ebp
call dword [0x429288]
test eax, eax
jl 0x40d464
lea eax, [esp + 0x1c]
push eax
push 0x429390
push 1
push ebp
push 0x429460
mov dword [esp + 0x30], ebp
call dword [0x429294]
cmp eax, ebp
jl 0x40d45e
lea ebx, [esp + 0x30]
mov dword [esp + 0x18], ebp
call fcn.0040cc70
mov dword [esp + 0x58], ebp
mov eax, dword [eax]
cmp eax, ebp
je 0x40d3dc
mov ecx, dword [eax]
jmp 0x40d3de
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
lea esi, [esp + 0x18]
push esi
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [esp + 0x30]
mov esi, eax
mov dword [esp + 0x58], 0xffffffff
call fcn.00404a60
cmp esi, ebp
jl 0x40d452
mov eax, dword [esp + 0x18]
push ebp
push ebp
push 3
push 3
push ebp
push ebp
push 0xa
push eax
call dword [0x429298]
test eax, eax
mov eax, dword [esp + 0x18]
jl 0x40d44a
lea edx, [esp + 0x24]
push edx
push ebp
push ebp
mov dword [esp + 0x30], ebp
mov ecx, dword [eax]
push str.MSSMBios_RawSMBiosTables
push eax
mov eax, dword [ecx + 0x48]
call eax
test eax, eax
jge 0x40d470
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [0x429290]
xor al, al
jmp 0x40d641
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x24]
push edx
push 1
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x40], ebp
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebp
jl 0x40d61c
mov ebp, dword [0x429200]
lea ecx, [esp + 0x3c]
push ecx
call ebp
push str.SmbiosMajorVersion
lea ebx, [esp + 0x34]
call fcn.0040cbe0
mov dword [esp + 0x58], 1
mov eax, dword [eax]
test eax, eax
je 0x40d4c7
mov eax, dword [eax]
jmp 0x40d4c9
xor eax, eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push 0
lea esi, [esp + 0x2c]
push esi
lea esi, [esp + 0x44]
push esi
push 0
push eax
mov eax, dword [edx + 0x10]
push ecx
call eax
lea edi, [esp + 0x30]
mov esi, eax
mov dword [esp + 0x58], 0xffffffff
call fcn.00404a60
lea ecx, [esp + 0x3c]
push ecx
test esi, esi
jl 0x40d614
mov dl, byte [esp + 0x48]
mov eax, dword [esp + 0x64]
mov byte [eax + 1], dl
call ebp
push str.SmbiosMinorVersion
lea ebx, [esp + 0x34]
call fcn.0040cbe0
mov dword [esp + 0x58], 2
mov eax, dword [eax]
test eax, eax
je 0x40d531
mov eax, dword [eax]
jmp 0x40d533
xor eax, eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push 0
lea esi, [esp + 0x2c]
push esi
lea esi, [esp + 0x44]
push esi
push 0
push eax
mov eax, dword [edx + 0x10]
push ecx
call eax
lea edi, [esp + 0x30]
mov esi, eax
mov dword [esp + 0x58], 0xffffffff
call fcn.00404a60
lea ecx, [esp + 0x3c]
push ecx
test esi, esi
jl 0x40d614
mov dl, byte [esp + 0x48]
mov eax, dword [esp + 0x64]
mov byte [eax + 2], dl
call ebp
push str.SMBiosData
lea ebx, [esp + 0x3c]
call fcn.0040cbe0
mov dword [esp + 0x58], 3
mov eax, dword [eax]
test eax, eax
je 0x40d59b
mov eax, dword [eax]
jmp 0x40d59d
xor eax, eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push 0
lea esi, [esp + 0x2c]
push esi
lea esi, [esp + 0x44]
push esi
push 0
push eax
mov eax, dword [edx + 0x10]
push ecx
call eax
lea edi, [esp + 0x38]
mov esi, eax
mov dword [esp + 0x58], 0xffffffff
call fcn.00404a60
test esi, esi
jl 0x40d60f
mov ecx, 0x2011
cmp cx, word [esp + 0x3c]
jne 0x40d60f
mov eax, dword [esp + 0x44]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov edi, dword [esp + 0x60]
push eax
mov dword [edi + 4], eax
call fcn.0040f5af
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x68]
push ecx
push esi
push ecx
push eax
mov dword [edx], eax
call fcn.0040e641
add esp, 0x14
mov dword [esp + 0x2c], 1
lea eax, [esp + 0x3c]
push eax
call dword [0x4291fc]
xor ebp, ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [0x429290]
cmp dword [esp + 0x2c], ebp
setne al
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8