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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404a44
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x408040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc
call fcn.00403a75
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x401ac7
push 0x40539c
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x401ed0
jmp 0x401ac9
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], esi
test esi, esi
je 0x401eda
mov ebx, dword [esi]
push 0
push 0
mov dword [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov edi, eax
test edi, edi
js 0x401ba5
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]
mov edi, eax
test edi, edi
js 0x401ba5
push 0x408870
push 0x405478
push 1
push 0
push 0x405488
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x401ba5
mov eax, dword [0x408870]
lea ecx, [ebp - 0x20]
push ebx
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
call fcn.00401440
mov eax, dword [eax]
mov byte [ebp - 4], 2
test eax, eax
je 0x401b5a
mov eax, dword [eax]
jmp 0x401b5c
xor eax, eax
push 0x408874
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push dword [0x408870]
call edi
lea ecx, [ebp - 0x20]
mov edi, eax
call fcn.004016f0
test edi, edi
js 0x401ba5
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [0x408874]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
xor edi, edi
test eax, eax
cmovs edi, eax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x401bec
mov eax, dword [esi]
test eax, eax
je 0x401bca
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x401be1
push eax
call fcn.00403ab3
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00403aa5
add esp, 8
test edi, edi
js 0x401d9b
mov eax, dword [0x408874]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [eax]
push str.Win32_StartupCommand
mov esi, dword [eax + 0x18]
call fcn.004013b0
mov eax, dword [eax]
mov dword [ebp - 4], 3
test eax, eax
je 0x401c31
mov eax, dword [eax]
jmp 0x401c33
xor eax, eax
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
push eax
push dword [0x408874]
call esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.004016f0
test esi, esi
jns 0x401c8c
mov ecx, dword [0x408874]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [0x408870]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push str.Create
mov eax, dword [eax]
mov esi, dword [eax + 0x4c]
call fcn.004013b0
mov eax, dword [eax]
mov dword [ebp - 4], 4
test eax, eax
je 0x401cb2
mov eax, dword [eax]
jmp 0x401cb4
xor eax, eax
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.004016f0
test esi, esi
jns 0x401cf0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [0x408874]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x401c67
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov esi, eax
test esi, esi
jns 0x401d1c
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x10]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x401eb7
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x38]
push eax
call esi
push dword [ebp + 8]
mov eax, 8
lea ecx, [ebp - 0x20]
mov word [ebp - 0x38], ax
call fcn.004013b0
mov eax, dword [eax]
test eax, eax
je 0x401d46
mov eax, dword [eax]
jmp 0x401d48
xor eax, eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], eax
call fcn.004016f0
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x38]
push 0
push edx
push 0
mov eax, dword [ecx]
push str.Name
push ecx
call dword [eax + 0x14]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, eax
lea eax, [ebp - 0x38]
push eax
call ebx
test edi, edi
jns 0x401daf
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call fcn.00401ef0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x48]
push eax
call esi
push dword [ebp + 0xc]
mov eax, 8
lea ecx, [ebp - 0x20]
mov word [ebp - 0x48], ax
call fcn.004013b0
mov eax, dword [eax]
test eax, eax
je 0x401dd3
mov eax, dword [eax]
jmp 0x401dd5
xor eax, eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x40], eax
call fcn.004016f0
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x48]
push 0
push edx
push 0
mov eax, dword [ecx]
push str.Command
push ecx
call dword [eax + 0x14]
mov esi, eax
lea eax, [ebp - 0x48]
push eax
call ebx
test esi, esi
jns 0x401e10
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
jmp 0x401ea5
mov eax, dword [0x408874]
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push str.Create
mov eax, dword [eax]
mov edi, dword [eax + 0x60]
call fcn.004013b0
mov eax, dword [eax]
mov dword [ebp - 4], 5
test eax, eax
je 0x401e42
mov esi, dword [eax]
jmp 0x401e44
xor esi, esi
push str.Win32_StartupCommand
lea ecx, [ebp - 0x24]
call fcn.004013b0
mov eax, dword [eax]
mov byte [ebp - 4], 6
test eax, eax
je 0x401e5f
mov eax, dword [eax]
jmp 0x401e61
xor eax, eax
push 0
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push 0
push 0
push esi
push eax
push dword [0x408874]
call edi
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.004016f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004016f0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x401e9c
mov eax, dword [ecx]
push ecx
call dword [eax + 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]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call fcn.00401ef0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.00403710
push 0x8007000e
call fcn.00403710
int3