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

Disassembly:
push 0xfc
mov eax, 0x40dc13
call fcn.00408c90
mov dword [ebp - 0xf8], edx
mov edi, ecx
mov dword [ebp - 0xf4], edi
xor edx, edx
xor eax, eax
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xb8], 7
mov dword [ebp - 0xbc], edx
mov word [ebp - 0xcc], ax
mov dword [ebp - 4], edx
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], edx
jb 0x409f55
mov eax, dword [edi]
jmp 0x409f57
mov eax, edi
xor ecx, ecx
push edx
mov word [eax], cx
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x65
pop esi
xor ecx, ecx
mov ebx, esi
mov dword [ebp - 0xd4], ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0xd4]
push eax
push 0x4132e0
push 1
push ecx
push 0x4133b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40a656
cmp dword [ebp - 0xd4], 0
je 0x40a656
push 0x66
xor ecx, ecx
pop ebx
mov dword [ebp - 0xd0], ecx
mov byte [ebp - 4], 5
push 0x72
pop eax
push 0x6f
mov word [ebp - 0x24], ax
pop eax
push 0x74
mov word [ebp - 0x22], ax
mov word [ebp - 0x20], ax
pop eax
mov word [ebp - 0x1e], ax
push 0x5c
pop eax
mov word [ebp - 0x1c], ax
xor eax, eax
mov word [ebp - 0x1a], ax
mov dword [ebp - 0xa4], ecx
mov word [ebp - 0xb4], ax
mov dword [ebp - 0xa0], ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 0xa4], ecx
push eax
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xa0], 7
call fcn.004010ac
mov byte [ebp - 4], 6
push 0x53
pop eax
push 0x63
mov word [ebp - 0x44], ax
pop eax
push 0x75
mov word [ebp - 0x40], ax
pop eax
push 0x72
mov word [ebp - 0x3e], ax
pop eax
push 0x69
pop ecx
push 0x74
mov word [ebp - 0x3a], cx
pop ecx
push 0x79
pop edx
push 0x43
mov word [ebp - 0x36], dx
pop edx
mov word [ebp - 0x3c], ax
mov word [ebp - 0x2a], ax
xor eax, eax
push 0x6e
mov word [ebp - 0x34], dx
pop edx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x44]
push eax
mov word [ebp - 0x42], si
mov word [ebp - 0x38], cx
mov word [ebp - 0x32], si
mov word [ebp - 0x30], dx
mov word [ebp - 0x2e], cx
mov word [ebp - 0x2c], si
call fcn.00402514
pop ecx
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0040113a
call fcn.0040a658
test al, al
je 0x40a0f7
mov esi, dword [ebp - 0xa4]
or eax, 0xffffffff
sub eax, esi
cmp eax, 1
ja 0x40a0a4
push str.string_too_long
call fcn.00408898
push ecx
inc esi
push esi
lea ecx, [ebp - 0xb4]
call fcn.00401293
test al, al
je 0x40a0f7
cmp dword [ebp - 0xa0], 8
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0xb4]
cmovae ecx, dword [ebp - 0xb4]
push 0x32
pop edx
mov word [ecx + eax*2], dx
cmp dword [ebp - 0xa0], 8
lea eax, [ebp - 0xb4]
cmovae eax, dword [ebp - 0xb4]
xor ecx, ecx
mov dword [ebp - 0xa4], esi
mov word [eax + esi*2], cx
cmp dword [ebp - 0xa0], 8
lea eax, [ebp - 0xb4]
cmovae eax, dword [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xf0]
call fcn.0040101b
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xd4]
mov esi, dword [ebp - 0xf0]
mov ecx, dword [eax]
lea edx, [ebp - 0xd0]
push edx
xor edx, edx
push edx
push edx
push edx
push edx
push edx
push edx
push esi
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x40a60a
cmp dword [ebp - 0xd0], 0
je 0x40a60a
push 0x67
pop ebx
xor eax, eax
push eax
push eax
push 3
push 3
push eax
push eax
push 0xa
push dword [ebp - 0xd0]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x40a1a9
mov byte [ebp - 4], 6
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb4]
call fcn.0040107c
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x40a19f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor edx, edx
mov byte [ebp - 4], dl
jmp 0x40a63d
push 0x68
pop ebx
mov dword [ebp - 0xd8], ebx
xor ebx, ebx
mov dword [ebp - 0xe0], ebx
mov byte [ebp - 4], 0xd
push 0x57
pop eax
push 0x51
mov word [ebp - 0x18], ax
pop eax
push 0x4c
pop ecx
push 0x53
mov word [ebp - 0x16], ax
xor eax, eax
mov word [ebp - 0x12], ax
pop eax
push 0x45
mov word [ebp - 0x9c], ax
pop eax
push 0x43
mov word [ebp - 0x9a], ax
mov word [ebp - 0x96], ax
pop eax
push 0x54
mov word [ebp - 0x94], ax
pop eax
push 0x20
mov word [ebp - 0x92], ax
mov word [ebp - 0x14], cx
mov word [ebp - 0x98], cx
pop ecx
push 0x2a
pop eax
push 0x46
mov word [ebp - 0x8e], ax
pop eax
push 0x52
mov word [ebp - 0x8a], ax
pop eax
push 0x4f
mov word [ebp - 0x88], ax
pop eax
push 0x4d
mov word [ebp - 0x86], ax
pop eax
push 0x41
mov word [ebp - 0x84], ax
pop eax
push 0x6e
mov word [ebp - 0x80], ax
pop eax
push 0x74
pop edx
push 0x69
mov word [ebp - 0x90], cx
mov word [ebp - 0x8c], cx
mov word [ebp - 0x82], cx
pop ecx
push 0x76
mov word [ebp - 0x7e], ax
pop eax
push 0x72
mov word [ebp - 0x7a], cx
mov word [ebp - 0x76], cx
pop ecx
push 0x75
mov word [ebp - 0x78], ax
pop eax
push 0x73
mov word [ebp - 0x72], ax
pop eax
push 0x50
mov word [ebp - 0x70], ax
pop eax
mov word [ebp - 0x7c], dx
mov word [ebp - 0x74], cx
mov word [ebp - 0x6e], ax
push 0x6f
pop eax
push 0x64
mov word [ebp - 0x6a], ax
pop eax
push 0x75
mov word [ebp - 0x68], ax
pop eax
mov word [ebp - 0x66], ax
push 0x63
pop eax
mov word [ebp - 0x64], ax
xor eax, eax
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x18]
mov word [ebp - 0x6c], cx
push eax
lea ecx, [ebp - 0xe8]
mov word [ebp - 0x62], dx
call fcn.0040101b
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xec]
call fcn.0040101b
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0xe0]
mov ecx, dword [eax]
push edx
push ebx
push 0x30
push dword [ebp - 0xec]
push dword [ebp - 0xe8]
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x40a5a9
cmp dword [ebp - 0xe0], ebx
je 0x40a5a9
xor eax, eax
mov ebx, eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0xe4]
push edx
lea edx, [ebp - 0xdc]
push edx
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe0]
push 1
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x40a4d0
push 0x65
pop esi
push 0x61
pop edi
cmp dword [ebp - 0xdc], 0
je 0x40a4be
cmp dword [ebp - 0xe4], 0
je 0x40a4be
push 0x10
xor edx, edx
push edx
lea eax, [ebp - 0x108]
push eax
inc ebx
call fcn.00402530
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 0x15
push 0x64
pop eax
push 0x69
mov word [ebp - 0x5c], ax
pop eax
push 0x73
mov word [ebp - 0x5a], ax
pop eax
push 0x70
mov word [ebp - 0x58], ax
pop eax
push 0x6c
mov word [ebp - 0x56], ax
pop eax
push 0x79
mov word [ebp - 0x54], ax
pop eax
push 0x4e
mov word [ebp - 0x50], ax
pop eax
push 0x6d
mov word [ebp - 0x4e], ax
pop eax
xor edx, edx
push edx
push edx
mov word [ebp - 0x4a], ax
lea edx, [ebp - 0x108]
push edx
xor eax, eax
xor edx, edx
push edx
mov word [ebp - 0x46], ax
mov eax, dword [ebp - 0xdc]
lea edx, [ebp - 0x5c]
mov word [ebp - 0x52], di
mov word [ebp - 0x4c], di
mov word [ebp - 0x48], si
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0xbc], 0
je 0x40a438
push 0x413498
call fcn.00402514
pop ecx
push eax
push 0x413498
lea ecx, [ebp - 0xcc]
call fcn.0040113a
mov eax, dword [ebp - 0x100]
xor ecx, ecx
mov dword [ebp - 0xd8], eax
cmp word [eax], cx
je 0x40a45a
push eax
call fcn.00402514
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0xd8]
push ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.0040113a
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x40a47f
xor edx, edx
mov dword [ebp - 0xdc], edx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0xe4]
push edx
xor eax, eax
lea edx, [ebp - 0xdc]
push edx
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe0]
push 1
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
jns 0x40a36b
mov esi, dword [ebp - 0xf0]
mov edi, dword [ebp - 0xf4]
mov dword [ebp - 0xd8], ebx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0xdc]
test eax, eax
je 0x40a4e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xe
push dword [ebp - 0xec]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call ebx
mov byte [ebp - 4], 0xd
push dword [ebp - 0xe8]
call ebx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x40a516
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
push esi
call ebx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb4]
call fcn.0040107c
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x40a540
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x40a555
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x40a567
mov dword [eax], ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0xcc]
cmp edi, eax
je 0x40a58a
push 0xffffffffffffffff
xor eax, eax
push eax
lea eax, [ebp - 0xcc]
push eax
mov ecx, edi
call fcn.004011e5
xor eax, eax
cmp dword [edi + 0x10], eax
setne bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.0040107c
mov al, bl
call fcn.00408c4e
ret
mov byte [ebp - 4], 0xe
push dword [ebp - 0xec]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call ebx
mov byte [ebp - 4], 0xd
push dword [ebp - 0xe8]
call ebx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x40a5db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
push esi
call ebx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb4]
call fcn.0040107c
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x40a605
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40a540
mov byte [ebp - 4], 6
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb4]
call fcn.0040107c
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x40a638
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x40a55b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40a55b
jmp 0x40a638