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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
xor esi, esi
push edi
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
xor eax, eax
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x40], ax
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov edi, eax
cmp edi, esi
jl 0x100513e
lea eax, [ebp - 0x28]
push eax
push 0x10016dc
push 1
push esi
push 0x10017ac
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
jl 0x100513e
lea ecx, [ebp - 4]
call fcn.010028e5
lea eax, [ebp - 4]
push eax
push 0x10015f0
mov dword [ebp - 4], esi
call fcn.010025ae
mov edi, eax
cmp edi, esi
jl 0x100513e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
lea edi, [ebp - 0xc]
push edi
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push ecx
call dword [edx + 0xc]
mov edi, eax
cmp edi, esi
jl 0x100513e
lea ecx, [ebp - 4]
call fcn.010028e5
lea eax, [ebp - 4]
push eax
push 0x10015c0
mov dword [ebp - 4], esi
call fcn.010025ae
mov edi, eax
cmp edi, esi
jl 0x100513e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
push esi
lea edi, [ebp - 0x1c]
push edi
push esi
push esi
push eax
push ecx
call dword [edx + 0x18]
mov edi, eax
cmp edi, esi
jl 0x100513e
lea ecx, [ebp - 4]
call fcn.010028e5
lea eax, [ebp - 4]
push eax
mov ebx, 0x100159c
push ebx
mov dword [ebp - 4], esi
call fcn.010025ae
mov edi, eax
cmp edi, esi
jl 0x100513e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push esi
lea edi, [ebp - 0x24]
push edi
push esi
push eax
push ecx
call dword [edx + 0x4c]
mov edi, eax
cmp edi, esi
jl 0x100513e
mov eax, dword [ebp - 0x24]
cmp eax, esi
jne 0x1004f71
mov edi, 0x80004005
cmp edi, esi
jl 0x100513e
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push esi
push eax
call dword [ecx + 0x3c]
mov edi, eax
cmp edi, esi
jl 0x100513e
lea ecx, [ebp - 4]
call fcn.010028e5
lea eax, [ebp - 4]
push eax
push 0x1001578
mov dword [ebp - 4], esi
call fcn.010025ae
mov edi, eax
cmp edi, esi
jl 0x100513e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push esi
lea edi, [ebp - 0x20]
push edi
push esi
push eax
push ecx
call dword [edx + 0x4c]
mov edi, eax
cmp edi, esi
jl 0x100513e
mov eax, dword [ebp - 0x20]
cmp eax, esi
jne 0x1004fda
mov edi, 0x80004005
cmp edi, esi
jl 0x100513e
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push esi
push eax
call dword [ecx + 0x3c]
mov edi, eax
cmp edi, esi
jl 0x100513e
lea ecx, [ebp - 4]
call fcn.010028e5
lea eax, [ebp - 4]
push eax
push 0x100156c
mov dword [ebp - 4], esi
call fcn.010025ae
mov edi, eax
cmp edi, esi
jl 0x100513e
push 1
lea ecx, [ebp - 0x40]
call fcn.010028ba
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push esi
lea edi, [ebp - 0x40]
push edi
push esi
push eax
push ecx
call dword [edx + 0x14]
mov edi, eax
cmp edi, esi
jl 0x100513e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
push esi
lea edi, [ebp - 0x10]
push edi
push eax
push esi
push esi
push ebx
push 0x10015c0
push ecx
call dword [edx + 0x60]
mov edi, eax
cmp edi, esi
jl 0x100513e
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x40]
push eax
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x40]
push edx
push esi
push 0x100155c
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp edi, esi
jl 0x100513e
cmp dword [ebp - 0x38], esi
jge 0x1005098
mov edi, dword [ebp - 0x38]
cmp edi, esi
jl 0x100513e
lea eax, [ebp - 0x40]
push eax
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x40]
push edx
push esi
push 0x1001548
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp edi, esi
jl 0x100513e
push dword [ebp - 0x38]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebx, eax
add ebx, 0xa
xor ecx, ecx
push 2
pop edx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x18], eax
neg eax
sbb eax, eax
and eax, 0x7ff8fff2
add eax, 0x8007000e
mov edi, eax
js 0x100513e
push dword [ebp - 0x38]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push dword [ebp - 0x38]
mov eax, dword [ebp - 8]
push ebx
push dword [eax + 0x18]
call fcn.010027f5
mov edi, eax
cmp edi, esi
jl 0x100513e
mov eax, dword [ebp - 8]
push 0x1001534
push ebx
push dword [eax + 0x18]
call fcn.01002844
mov edi, eax
cmp edi, esi
jl 0x100513e
mov ecx, dword [ebp - 8]
call fcn.01004d29
mov edi, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
cmp eax, esi
je 0x1005185
xor ecx, ecx
cmp cx, word [eax]
je 0x1005185
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
je 0x1005185
mov edx, dword [ecx]
push esi
lea ebx, [ebp - 0x40]
push ebx
push esi
push eax
push ecx
call dword [edx + 0x14]
test eax, eax
jl 0x1005185
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
push esi
lea ebx, [ebp - 0x2c]
push ebx
push eax
push esi
push esi
push 0x1001578
push 0x10015c0
push ecx
call dword [edx + 0x60]
lea ecx, [ebp - 4]
call fcn.010028e5
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x2c]
call fcn.0100296a
lea ecx, [ebp - 0x10]
call fcn.0100296a
lea ecx, [ebp - 0x14]
call fcn.0100296a
lea ecx, [ebp - 0x18]
call fcn.0100296a
lea ecx, [ebp - 0x20]
call fcn.0100296a
lea ecx, [ebp - 0x24]
call fcn.0100296a
lea ecx, [ebp - 0x1c]
call fcn.0100296a
lea ecx, [ebp - 0x30]
call fcn.0100296a
lea ecx, [ebp - 0xc]
call fcn.0100296a
lea ecx, [ebp - 0x28]
call fcn.0100296a
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret