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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 0xc]
push ebx
mov dword [ebp - 0x450], eax
mov ebx, ecx
mov al, byte [ebp + 0x10]
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
push edi
mov edi, dword [ebp + 8]
mov byte [ebp - 0x44c], al
lea eax, [ebp - 0x470]
push eax
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x434], 0
call esi
lea eax, [ebp - 0x480]
push eax
call esi
lea eax, [ebp - 0x460]
push eax
call esi
cmp dword [ebx], 0
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
jne 0x42fd6c
push str.rootwmi
mov dword [ebp - 0x418], 0
call esi
push 0
push 0
mov edi, eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0x418]
push eax
push 0x515ad4
push 1
push 0
push 0x515ae4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jne 0x42fd41
push dword [ebp - 0x424]
mov ecx, dword [ebp - 0x418]
push esi
push esi
push esi
mov eax, dword [ecx]
push esi
push esi
push esi
push edi
push ecx
call dword [eax + 0xc]
mov esi, eax
test esi, esi
jne 0x42fd41
push eax
push eax
push 3
push 4
push eax
push eax
mov eax, dword [ebp - 0x424]
push 0xa
push dword [eax]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x418]
test ecx, ecx
je 0x42fd58
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
jne 0x4300f4
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, dword [ebp - 0x43c]
movzx eax, byte [edi + 0xf]
push eax
movzx eax, byte [edi + 0xe]
push eax
movzx eax, byte [edi + 0xd]
push eax
movzx eax, byte [edi + 0xc]
push eax
movzx eax, byte [edi + 0xb]
push eax
movzx eax, byte [edi + 0xa]
push eax
movzx eax, byte [edi + 9]
push eax
movzx eax, byte [edi + 8]
push eax
movzx eax, word [edi + 6]
push eax
movzx eax, word [edi + 4]
push eax
push dword [edi]
lea eax, [ebp - 0x414]
push 0x500b40
push 0x104
push eax
call fcn.00415290
add esp, 0x38
push str.EventTrace
call esi
push str.__CLASS
mov edi, eax
call esi
push str.Guid
mov dword [ebp - 0x444], eax
call esi
push str.EventVersion
mov dword [ebp - 0x440], eax
call esi
mov dword [ebp - 0x448], eax
mov eax, dword [ebp - 0x424]
mov edx, dword [eax]
lea eax, [ebp - 0x428]
push eax
push 0
push 0x20001
mov ecx, dword [edx]
push edi
push edx
call dword [ecx + 0x30]
push edi
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jne 0x4300f4
mov dword [ebp - 0x438], 1
mov ecx, dword [ebp - 0x428]
lea edx, [ebp - 0x438]
push edx
lea edx, [ebp - 0x430]
mov dword [ebp - 0x430], 0
push edx
mov eax, dword [ecx]
push 1
push 0x1388
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x430097
cmp dword [ebp - 0x438], 1
jne 0x4300da
mov ecx, dword [ebp - 0x430]
lea edx, [ebp - 0x470]
mov edi, dword [ebp - 0x444]
push 0
push 0
mov eax, dword [ecx]
push edx
push 0
push edi
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x430097
push dword [ebp - 0x468]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x420], 0
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax]
lea eax, [ebp - 0x420]
push eax
push 0
push 0x20001
mov edx, dword [ecx]
push esi
push ecx
call dword [edx + 0x30]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x470]
push eax
call ebx
mov dword [ebp - 0x418], 1
nop dword [eax + eax]
mov ecx, dword [ebp - 0x420]
mov dword [ebp - 0x41c], 0
test ecx, ecx
je 0x42ff2c
mov eax, dword [ecx]
lea edx, [ebp - 0x418]
push edx
lea edx, [ebp - 0x41c]
push edx
push 1
push 0x1388
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x430070
cmp dword [ebp - 0x418], 1
jne 0x43007d
mov ecx, dword [ebp - 0x41c]
jmp 0x42ff42
mov ecx, dword [ebp - 0x430]
mov dword [ebp - 0x418], 1
mov dword [ebp - 0x41c], ecx
mov eax, dword [ecx]
lea edx, [ebp - 0x470]
push 0
push 0
push edx
push 0
push edi
push ecx
call dword [eax + 0x10]
mov esi, eax
lea eax, [ebp - 0x470]
push eax
call ebx
test esi, esi
jne 0x430070
mov ecx, dword [ebp - 0x42c]
test ecx, ecx
je 0x42ff7f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x42c], esi
mov eax, dword [ebp - 0x41c]
lea edx, [ebp - 0x42c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ecx, dword [ebp - 0x42c]
lea edx, [ebp - 0x480]
push 0
push edx
push 0
push dword [ebp - 0x440]
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x430070
push 0xffffffffffffffff
push dword [ebp - 0x478]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004c935f
add esp, 0x10
lea eax, [ebp - 0x480]
push eax
call ebx
lea eax, [ebp - 0x20c]
push 0x500d94
push eax
call fcn.004c580a
add esp, 8
test eax, eax
jne 0x430009
lea eax, [ebp - 0x20c]
push eax
push 0x500d98
push eax
call fcn.0042fa30
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.004c9460
add esp, 8
test eax, eax
jne 0x430070
mov ecx, dword [ebp - 0x42c]
lea edx, [ebp - 0x460]
push 0
push edx
push 0
push dword [ebp - 0x448]
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x4300b2
push 2
push eax
lea eax, [ebp - 0x460]
push eax
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
movzx esi, word [ebp - 0x458]
lea eax, [ebp - 0x460]
push eax
call ebx
mov eax, dword [ebp - 0x450]
cmp ax, si
je 0x4300a6
cmp dword [ebp - 0x418], 1
je 0x42fee0
mov ecx, dword [ebp - 0x420]
test ecx, ecx
je 0x430097
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x420], 0
cmp dword [ebp - 0x438], 1
je 0x42fe21
jmp 0x4300da
push dword [ebp + 0x14]
push dword [ebp - 0x44c]
push eax
jmp 0x4300bd
push dword [ebp + 0x14]
push dword [ebp - 0x44c]
push 0xffffffffffffffff
push dword [ebp - 0x43c]
mov ecx, dword [ebp - 0x424]
push dword [ebp - 0x41c]
call fcn.004308a0
mov dword [ebp - 0x434], eax
mov ecx, dword [ebp - 0x428]
test ecx, ecx
je 0x4300f4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x428], 0
lea eax, [ebp - 0x480]
push eax
call ebx
lea eax, [ebp - 0x460]
push eax
call ebx
push dword [ebp - 0x440]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call ebx
push dword [ebp - 0x444]
call ebx
push dword [ebp - 0x448]
call ebx
mov ecx, dword [ebp - 0x428]
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x430141
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x428], 0
mov ecx, dword [ebp - 0x420]
test ecx, ecx
je 0x43015b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x420], 0
mov ecx, dword [ebp - 0x42c]
test ecx, ecx
je 0x43016b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x434]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x10