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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435e9f
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x44a068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x50], edi
push 0
push 0
mov dword [ebp - 0x50], edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x408486
push eax
mov edx, str.Failed_to_initialize_COM_library._Error_code_
mov ecx, 0x44b438
call fcn.00406250
mov ecx, eax
call fcn.0040c940
push eax
call fcn.00406510
add esp, 4
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x4443f8
mov word [edi], ax
call fcn.00404540
jmp 0x40885a
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]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 0x43b688
push 1
push 0
push 0x43b678
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4084ec
push eax
mov edx, str.Failed_to_create_IWbemLocator_object._Error_code_
mov ecx, 0x44b438
call fcn.00406250
mov ecx, eax
call fcn.0040c940
push eax
call fcn.00406510
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x408461
push 0xc
mov dword [ebp - 0x30], 0
call fcn.00419215
mov esi, eax
add esp, 4
mov dword [ebp - 0x50], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x408540
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push str.ROOTSecurityCenter2
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 0x408878
jmp 0x408542
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x50], esi
test esi, esi
je 0x408882
lea edx, [ebp - 0x30]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x34]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push dword [esi]
push eax
call dword [ecx + 0xc]
or ebx, 0xffffffff
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, ebx
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x4085c5
mov ecx, dword [esi]
test ecx, ecx
je 0x4085a0
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4085b7
push eax
call fcn.00419015
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00419245
mov eax, dword [ebp - 0x54]
add esp, 8
test eax, eax
jns 0x4085fd
push eax
mov edx, str.Could_not_connect._Error_code_
mov ecx, 0x44b438
call fcn.00406250
mov ecx, eax
call fcn.0040c940
push eax
call fcn.00406510
mov eax, dword [ebp - 0x34]
add esp, 4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x408461
push str.SELECT__FROM_AntivirusProduct
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x38], 0
call fcn.00408160
mov esi, eax
push 0x4446cc
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 2
call fcn.00408160
mov byte [ebp - 4], 3
mov esi, dword [esi]
test esi, esi
je 0x408635
mov esi, dword [esi]
jmp 0x408637
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x408641
mov edx, dword [eax]
jmp 0x408643
xor edx, edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x30]
push 0
push 0x30
push esi
push edx
push eax
call dword [ecx + 0x50]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
test esi, esi
je 0x4086ad
mov ecx, ebx
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x4086a6
test esi, esi
je 0x4086a6
mov eax, dword [esi]
test eax, eax
je 0x408684
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40869b
push eax
call fcn.00419015
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00419245
add esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x4086fc
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x4086fc
test esi, esi
je 0x4086fc
mov eax, dword [esi]
test eax, eax
je 0x4086da
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4086f1
push eax
call fcn.00419015
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00419245
add esp, 8
mov eax, dword [ebp - 0x50]
test eax, eax
jns 0x408745
push eax
mov edx, 0x4446d0
mov ecx, 0x44b438
call fcn.00406250
mov ecx, eax
call fcn.0040c940
push eax
call fcn.00406510
mov eax, dword [ebp - 0x30]
add esp, 4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x4443f8
jmp 0x408853
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x14], 0
test ecx, ecx
je 0x408830
nop
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x3c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x14], 0
je 0x40882d
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x4c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.displayName
push eax
call dword [ecx + 0x10]
test eax, eax
jns 0x4087a4
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x408760
jmp 0x408830
push dword [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.004035d0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 4
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00403590
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40885a
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408821
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40888c
push edx
push ecx
call fcn.00419245
add esp, 8
jmp 0x40885a
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push str.Unknown
mov ecx, edi
call fcn.004035d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419004
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.00419eb0
push 0x8007000e
call fcn.00419eb0
call fcn.0041f2d0
int3