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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x513b94]
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 0x4029fc
push 0x4d6b28
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 0x4f31b0
push 1
push 0
push 0x4f31c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jne 0x4029d1
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 0x4029d1
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 0x4029e8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
jne 0x402d84
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 0x4d6a88
push 0x104
push eax
call fcn.00404390
add esp, 0x38
push 0x4d6af0
call esi
push 0x4d6c80
mov edi, eax
call esi
push 0x4d6c30
mov dword [ebp - 0x444], eax
call esi
push 0x4d6cec
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 0x402d84
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 0x402d27
cmp dword [ebp - 0x438], 1
jne 0x402d6a
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 0x402d27
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 0x402bbc
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 0x402d00
cmp dword [ebp - 0x418], 1
jne 0x402d0d
mov ecx, dword [ebp - 0x41c]
jmp 0x402bd2
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 0x402d00
mov ecx, dword [ebp - 0x42c]
test ecx, ecx
je 0x402c0f
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 0x402d00
push 0xffffffffffffffff
push dword [ebp - 0x478]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004a863e
add esp, 0x10
lea eax, [ebp - 0x480]
push eax
call ebx
lea eax, [ebp - 0x20c]
push 0x4d6d08
push eax
call fcn.004a3f5a
add esp, 8
test eax, eax
jne 0x402c99
lea eax, [ebp - 0x20c]
push eax
push 0x4d6d0c
push eax
call fcn.00402420
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.004a8747
add esp, 8
test eax, eax
jne 0x402d00
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 0x402d42
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 0x402d36
cmp dword [ebp - 0x418], 1
je 0x402b70
mov ecx, dword [ebp - 0x420]
test ecx, ecx
je 0x402d27
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x420], 0
cmp dword [ebp - 0x438], 1
je 0x402ab1
jmp 0x402d6a
push dword [ebp + 0x14]
push dword [ebp - 0x44c]
push eax
jmp 0x402d4d
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.00403560
mov dword [ebp - 0x434], eax
mov ecx, dword [ebp - 0x428]
test ecx, ecx
je 0x402d84
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 0x402dd1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x428], 0
mov ecx, dword [ebp - 0x420]
test ecx, ecx
je 0x402deb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x420], 0
mov ecx, dword [ebp - 0x42c]
test ecx, ecx
je 0x402dfb
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.004a0e13
mov esp, ebp
pop ebp
ret 0x10