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

Disassembly:
push 0xffffffffffffffff
push 0x40d752
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x41304c]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push esi
push edi
mov eax, dword [0x41304c]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov edi, edi
movzx ecx, word [eax + 0x40f6fc]
mov word [eax + 0x415640], cx
add eax, 2
cmp cx, bx
jne 0x401ec0
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x401efd
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jge 0x401f07
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x402325
lea eax, [esp + 0x18]
push eax
push 0x40f548
push 1
push ebx
push 0x40f618
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x401ef7
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x40f810
mov dword [esp + 0x34], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x164]
call fcn.00409600
add esp, 0x1c
mov dword [esp + 0x1a8], ebx
cmp dword [esp + 0x160], 0x10
mov eax, dword [esp + 0x14c]
jae 0x401f6d
lea eax, [esp + 0x14c]
push 0xfde9
lea ecx, [esp + 0x4c]
push eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], ecx
call fcn.0040b0f0
lea edx, [esp + 0x1c]
mov byte [esp + 0x1a8], 1
mov ecx, dword [esp + 0x44]
push edx
call fcn.0040af60
mov byte [esp + 0x1a8], 3
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x401fb8
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
call fcn.00401b30
mov byte [esp + 0x1a8], 4
mov eax, dword [eax]
cmp eax, ebx
je 0x401fd8
mov ecx, dword [eax]
jmp 0x401fda
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea esi, [esp + 0x14]
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [esp + 0x28]
mov esi, eax
mov byte [esp + 0x1a8], 3
call fcn.00401bd0
cmp esi, ebx
jge 0x402064
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [esp + 0x1a8], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402042
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x148]
mov dword [esp + 0x1a8], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, 1
jmp 0x402325
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jge 0x4020a6
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esp + 0x1c]
call fcn.0040af40
jmp 0x402042
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x40f828
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x180]
call fcn.00409600
mov byte [esp + 0x1c4], 5
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x40f838
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x19c]
call fcn.00409600
add esp, 0x1c
lea eax, [esp + 0x180]
push eax
lea ecx, [esp + 0x168]
mov byte [esp + 0x1ac], 6
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
cmp dword [esp + 0x17c], 0x10
mov eax, dword [esp + 0x168]
mov dword [esp + 0x20], ebx
jae 0x402127
lea eax, [esp + 0x168]
push eax
lea ebx, [esp + 0x28]
call fcn.00401aa0
mov esi, eax
push 0x40f84c
lea ebx, [esp + 0x2c]
mov byte [esp + 0x1ac], 7
call fcn.00401aa0
mov byte [esp + 0x1a8], 8
mov ecx, dword [esi]
test ecx, ecx
je 0x40215b
mov ecx, dword [ecx]
jmp 0x40215d
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x402167
mov edx, dword [eax]
jmp 0x402169
xor edx, edx
mov eax, dword [esp + 0x14]
mov esi, dword [eax]
lea edi, [esp + 0x20]
push edi
push 0
push 0x30
push ecx
mov ecx, dword [esi + 0x50]
push edx
push eax
call ecx
lea edi, [esp + 0x28]
mov esi, eax
call fcn.00401bd0
lea edi, [esp + 0x24]
mov byte [esp + 0x1a8], 6
call fcn.00401bd0
test esi, esi
jge 0x4021f6
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x180]
mov byte [esp + 0x1a8], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x164]
mov byte [esp + 0x1a8], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [esp + 0x1c]
call fcn.0040af40
jmp 0x402042
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], 0
test eax, eax
je 0x4022a0
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x30]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x30], 0
je 0x4022a0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0x3c]
push edx
push 0
push 0x40f850
push eax
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esp + 0x3c]
mov edx, eax
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402250
mov edi, 0x415640
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x402265
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
push ecx
call ebx
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x402210
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4022b0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x180]
mov byte [esp + 0x1a8], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x164]
mov byte [esp + 0x1a8], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [esp + 0x1c]
call fcn.0040af40
lea ecx, [esp + 0x148]
mov dword [esp + 0x1a8], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18c]
xor ecx, esp
call fcn.0040c1a6
add esp, 0x19c
ret