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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4489dc
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
push edi
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x405916
cmp eax, 0x80010106
jne 0x405a99
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x40593d
cmp eax, 0x80010119
jne 0x405a93
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x44ce80
push 1
push 0
push 0x44ce90
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x405a93
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
mov esi, esp
mov dword [ebp - 0x34], esi
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x405ccd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.WlZ2hOQgZuOW0GCFT90mDGQ
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004038c0
test al, al
jne 0x4059bf
push 0x18
push str.WlZ2hOQgZuOW0GCFT90mDGQ
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004023d0
add esp, 4
mov dword [ebp - 4], 1
mov edi, dword [eax]
push 0xc
call fcn.00423a88
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x405a16
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x405a18
test edi, edi
jne 0x405cd7
jmp 0x405a18
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], esi
test esi, esi
je 0x405ce1
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
push dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.004057f0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x405a62
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
js 0x405a8a
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x405aab
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0
push 0x30
push ecx
mov ecx, esp
push str.dFA3QVScVHexA3iBBd_oVBZlEGjlwpYDwahYwUKwNz9aIJQEkGUicnMKUQhEET1nbJxs0nQjYA
call fcn.004030e0
lea ecx, [ebp - 0x30]
call fcn.004023d0
add esp, 4
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x2c]
push dword [eax]
call fcn.00405750
mov byte [ebp - 4], 5
mov eax, dword [eax]
test eax, eax
je 0x405af1
mov eax, dword [eax]
jmp 0x405af3
xor eax, eax
push eax
push ecx
mov ecx, esp
push str.WGtCPTw86zDg
call fcn.004030e0
lea ecx, [ebp - 0x24]
call fcn.004023d0
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
push dword [eax]
call fcn.00405750
mov byte [ebp - 4], 7
mov edx, dword [eax]
test edx, edx
je 0x405b28
mov edx, dword [edx]
jmp 0x405b2a
xor edx, edx
mov eax, dword [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.004057f0
mov byte [ebp - 4], 5
or ecx, 0xffffffff
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x405b5d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2c]
call fcn.004057f0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405b87
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
js 0x405a81
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
test ecx, ecx
je 0x405c9a
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, edi
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x1c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x20], 0
je 0x405c9a
push 0
push 0
lea eax, [ebp - 0x48]
push eax
push 0
push ecx
mov esi, esp
mov dword [ebp - 0x30], esi
call fcn.00401620
test eax, eax
je 0x405ccd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.Q2pOPSBY_9Bww
mov ecx, esi
mov dword [ebp - 4], 8
call fcn.004038c0
test al, al
jne 0x405c1a
push 0xe
push str.Q2pOPSBY_9Bww
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.004023d0
add esp, 4
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x1c]
push dword [eax]
push ecx
mov edx, dword [ecx]
call dword [edx + 0x10]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405c60
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x40]
mov edx, 0x45d9a0
sub edx, ecx
lea ebx, [ebx]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x405c70
lea eax, [ebp - 0x48]
push eax
call edi
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x405bb0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004013f0
push 0x8007000e
call fcn.00424990
push 0x8007000e
call fcn.00424990
int3