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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x472e2c
mov eax, dword fs:[0]
push eax
sub esp, 0x920
mov eax, dword [0x48e300]
xor eax, esp
mov dword [esp + 0x918], eax
push ebx
push esi
push edi
mov eax, dword [0x48e300]
xor eax, esp
push eax
lea eax, [esp + 0x930]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
xor ebx, ebx
push ebx
mov dword [esp + 0x18], 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
lea eax, [esp + 0x14]
push eax
push 0x47ff60
mov ecx, 1
push ecx
push 0
push 0x480030
cmove ebx, ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x409c2b
push str.ROOTCIMV2
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], eax
call fcn.00408870
mov dword [esp + 0x938], 0
mov eax, dword [eax]
test eax, eax
je 0x4097b6
mov edx, dword [eax]
jmp 0x4097b8
xor edx, edx
mov eax, dword [esp + 0x14]
lea esi, [esp + 0x18]
mov ecx, dword [eax]
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
lea ecx, [esp + 0x28]
mov esi, eax
mov dword [esp + 0x938], 0xffffffff
call fcn.00408910
test esi, esi
je 0x4097fd
mov ecx, dword [esp + 0x14]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
jmp 0x409c29
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [esp + 0x34]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
test esi, esi
je 0x409834
mov ecx, dword [esp + 0x14]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [esp + 0x18]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x409c29
xor eax, eax
push 0x1fe
push eax
mov word [esp + 0x5fc], ax
lea eax, [esp + 0x5fe]
push eax
mov dword [esp + 0x2c], 0
call fcn.00424e10
push str.Win32_BaseBoard
lea eax, [esp + 0x804]
push str.SELECT__FROM__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [esp + 0x7f4]
push eax
lea ecx, [esp + 0x28]
call fcn.00408870
mov esi, eax
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x93c], 1
call fcn.004087e0
mov byte [esp + 0x938], 2
mov esi, dword [esi]
test esi, esi
je 0x4098ae
mov esi, dword [esi]
jmp 0x4098b0
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x4098ba
mov edx, dword [eax]
jmp 0x4098bc
xor edx, edx
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x20]
mov ecx, dword [eax]
push edi
push 0
push 0x30
push esi
push edx
push eax
call dword [ecx + 0x50]
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.00408910
lea ecx, [esp + 0x24]
mov dword [esp + 0x938], 0xffffffff
call fcn.00408910
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x409911
mov ecx, dword [esp + 0x14]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x409c29
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
test ecx, ecx
je 0x4099ce
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea esp, [esp]
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x34]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [esp + 0x2c], 0
je 0x4099ca
push 0
push 0
xor eax, eax
lea edx, [esp + 0x3c]
push edx
mov word [esp + 0x40], ax
mov dword [esp + 0x4a], eax
mov word [esp + 0x4e], ax
mov eax, dword [esp + 0x3c]
push 0
xorps xmm0, xmm0
movq qword [esp + 0x46], xmm0
mov ecx, dword [eax]
push 0x481d5c
push eax
call dword [ecx + 0x10]
cmp eax, 0x80004005
je 0x409a7d
test eax, eax
jne 0x4099be
mov eax, 8
cmp ax, word [esp + 0x34]
jne 0x4099be
push dword [esp + 0x3c]
lea eax, [esp + 0x5f8]
push eax
call esi
lea eax, [esp + 0x34]
push eax
call edi
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x409940
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, ebx
je 0x4099f6
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x40
xorps xmm0, xmm0
lea eax, [esp + 0x48]
push 0
push eax
mov byte [esp + 0x3ec], 0
movq qword [esp + 0x3ed], xmm0
movq qword [esp + 0x3f5], xmm0
mov word [esp + 0x3fd], 0
mov byte [esp + 0x3ff], 0
call fcn.00424e10
push 0xff
lea eax, [esp + 0x94]
push 0
push eax
call fcn.00424e10
mov esi, dword [sym.imp.NETAPI32.dll_Netbios]
lea eax, [esp + 0x9c]
mov dword [esp + 0x60], eax
mov eax, 0xff
add esp, 0x18
mov word [esp + 0x4c], ax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x48], 0x37
call esi
test al, al
je 0x409aa5
movzx eax, al
jmp 0x409c2b
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x409c2b
cmp byte [esp + 0x84], 1
jb 0x409b7a
mov al, byte [esp + 0x85]
mov byte [esp + 0x74], al
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x48], 0x32
call esi
push 0x40
lea eax, [esp + 0x48]
push 0
push eax
call fcn.00424e10
mov al, byte [esp + 0x91]
push 0x481ca4
mov byte [esp + 0x84], al
lea eax, [esp + 0x5e]
push 0x10
push eax
mov byte [esp + 0x5c], 0x33
call fcn.00421821
push 0x258
lea eax, [esp + 0x1a0]
push 0
push eax
call fcn.00424e10
lea eax, [esp + 0x1a8]
mov dword [esp + 0x6c], eax
mov eax, 0x258
add esp, 0x24
mov word [esp + 0x4c], ax
lea eax, [esp + 0x44]
push eax
call esi
movzx eax, byte [esp + 0x189]
push eax
movzx eax, byte [esp + 0x18c]
push eax
movzx eax, byte [esp + 0x18f]
push eax
movzx eax, byte [esp + 0x192]
push eax
movzx eax, byte [esp + 0x195]
push eax
movzx eax, byte [esp + 0x198]
push eax
lea eax, [esp + 0x3f8]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.00409310
add esp, 0x20
lea eax, [esp + 0x5f4]
push eax
lea ecx, [esp + 0x20]
call fcn.00408870
lea ecx, [esp + 0x1c]
mov dword [esp + 0x938], 3
call fcn.00408970
push eax
lea eax, [esp + 0x3f8]
push 0x200
push eax
call fcn.00421821
lea eax, [esp + 0x3ec]
push eax
lea eax, [esp + 0x404]
push 0x200
push eax
call fcn.004211a7
push str.duoduomacid
lea eax, [esp + 0x410]
push 0x200
push eax
call fcn.004211a7
lea edx, [esp + 0x418]
add esp, 0x24
mov dword [esp + 0x24], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x409bf8
lea eax, [esp + 0x24]
push eax
push edi
sub edx, ecx
push ecx
lea ecx, [esp + 0x400]
call fcn.00409440
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00408910
mov eax, esi
mov ecx, dword [esp + 0x930]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x918]
xor ecx, esp
call fcn.00420548
mov esp, ebp
pop ebp
ret