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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
push 0x410548
push 1
push edi
mov ebx, edi
mov dword [ebp - 0xc], edi
push 0x410538
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
mov edx, dword [0x4b70c8]
push 3
pop edi
cmp edx, 0x4b70c8
je 0x49dbd3
test byte [edx + 0x1c], 0x20
je 0x49dbd3
movzx ecx, byte [edx + 0x19]
xor eax, eax
test esi, esi
sets al
dec eax
and eax, edi
add eax, 2
cmp ecx, eax
jb 0x49dbd3
push dword [ebp - 0xc]
push esi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x410558
push 0xa
pop ecx
call fcn.00417822
mov edx, dword [0x4b70c8]
test esi, esi
js 0x49e131
push 0x410448
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
test edi, edi
jne 0x49dc30
mov edx, dword [0x4b70c8]
cmp edx, 0x4b70c8
je 0x49e159
test byte [edx + 0x1c], 0x20
je 0x49e131
cmp byte [edx + 0x19], 4
jb 0x49e131
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x410558
push 0xb
pop ecx
call fcn.00416054
mov edx, dword [0x4b70c8]
jmp 0x49e131
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
test ecx, ecx
je 0x49dc4a
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4bb544]
call esi
mov esi, dword [ebx]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
mov ecx, dword [esi + 0xc]
push eax
push eax
push eax
push eax
push eax
push edi
push ebx
call dword [0x4bb544]
call dword [esi + 0xc]
mov esi, eax
mov edx, dword [0x4b70c8]
push 3
pop ebx
cmp edx, 0x4b70c8
je 0x49dcab
test byte [edx + 0x1c], 0x20
je 0x49dcab
movzx ecx, byte [edx + 0x19]
xor eax, eax
test esi, esi
sets al
dec eax
and eax, ebx
add eax, 2
cmp ecx, eax
jb 0x49dcab
push dword [ebp - 4]
push esi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x410558
push 0xc
pop ecx
call fcn.00417822
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
js 0x49e126
xor eax, eax
push eax
push eax
push ebx
push ebx
push 0xffffffffffffffff
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
mov edx, dword [0x4b70c8]
push 0xd
pop edi
cmp edx, 0x4b70c8
je 0x49dd18
test byte [edx + 0x1c], 0x20
je 0x49dd18
movzx ecx, byte [edx + 0x19]
xor eax, eax
test esi, esi
sets al
dec eax
and eax, ebx
add eax, 2
cmp ecx, eax
jb 0x49dd18
push dword [ebp - 4]
mov ecx, edi
push esi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x410558
call fcn.00417822
mov edx, dword [0x4b70c8]
test esi, esi
js 0x49e12e
push 0x41045c
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0x410468
mov ebx, eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
test ebx, ebx
je 0x49ddba
test edi, edi
je 0x49ddba
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x49dd62
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4bb544]
call esi
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
lea ecx, [ebp - 8]
push ecx
push 0
push 0x30
mov ecx, dword [esi + 0x50]
push edi
push ebx
push eax
call dword [0x4bb544]
call dword [esi + 0x50]
mov esi, eax
mov edx, dword [0x4b70c8]
cmp edx, 0x4b70c8
je 0x49ddea
test byte [edx + 0x1c], 0x20
je 0x49ddea
movzx ecx, byte [edx + 0x19]
xor eax, eax
test esi, esi
sets al
dec eax
and eax, 3
add eax, 2
cmp ecx, eax
jb 0x49ddea
push dword [ebp - 8]
push edi
push ebx
push esi
push dword [edx + 0x14]
push dword [edx + 0x10]
call fcn.0049da59
jmp 0x49ddea
mov esi, 0x8007000e
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x49ddea
test byte [eax + 0x1c], 0x20
je 0x49ddea
cmp byte [eax + 0x19], 4
jb 0x49ddea
push dword [eax + 0x14]
mov edx, 0x410558
push dword [eax + 0x10]
push 0xe
pop ecx
call fcn.00416054
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [ebp - 0x18]
test esi, esi
js 0x49dc25
xor edi, edi
test ebx, ebx
jne 0x49dc25
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [eax]
push 1
push 0xffffffffffffffff
push eax
mov ecx, dword [esi + 0x10]
call dword [0x4bb544]
call dword [esi + 0x10]
cmp dword [ebp - 0x1c], edi
je 0x49e106
test eax, eax
js 0x49e106
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
push edi
push edi
push ecx
mov esi, dword [eax]
push edi
push 0x4104b0
push eax
mov ecx, dword [esi + 0x10]
call dword [0x4bb544]
call dword [esi + 0x10]
mov esi, eax
mov edx, dword [0x4b70c8]
cmp edx, 0x4b70c8
je 0x49deaf
test byte [edx + 0x1c], 0x20
je 0x49deaf
movzx ecx, byte [edx + 0x19]
xor eax, eax
test esi, esi
sets al
dec eax
and eax, 3
add eax, 2
cmp ecx, eax
jb 0x49deaf
movzx eax, word [ebp - 0x50]
push eax
push esi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x410558
push 0x10
pop ecx
call fcn.00417822
test esi, esi
js 0x49e0dc
push 0xd
pop eax
cmp ax, word [ebp - 0x50]
jne 0x49e0dc
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x14], edi
push 0x410528
mov esi, dword [eax]
push eax
mov ecx, dword [esi]
call dword [0x4bb544]
call dword [esi]
mov esi, eax
mov edx, dword [0x4b70c8]
cmp edx, 0x4b70c8
je 0x49df23
test byte [edx + 0x1c], 0x20
je 0x49df23
movzx ecx, byte [edx + 0x19]
xor eax, eax
test esi, esi
sets al
dec eax
and eax, 3
add eax, 2
cmp ecx, eax
jb 0x49df23
push dword [ebp - 0x14]
push esi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x410558
push 0x11
pop ecx
call fcn.00417822
test esi, esi
js 0x49e0c5
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
push edi
push edi
push ecx
mov esi, dword [eax]
push edi
push 0x4104d8
push eax
mov ecx, dword [esi + 0x10]
call dword [0x4bb544]
call dword [esi + 0x10]
mov esi, eax
mov edx, dword [0x4b70c8]
cmp edx, 0x4b70c8
je 0x49df98
test byte [edx + 0x1c], 0x20
je 0x49df98
movzx ecx, byte [edx + 0x19]
xor eax, eax
test esi, esi
sets al
dec eax
and eax, 3
add eax, 2
cmp ecx, eax
jb 0x49df98
movzx eax, word [ebp - 0x40]
push eax
push esi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x410558
push 0x12
pop ecx
call fcn.00417822
test esi, esi
js 0x49e0bb
push 0xd
pop eax
cmp ax, word [ebp - 0x40]
jne 0x49e0bb
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], edi
push 0x410528
mov esi, dword [eax]
push eax
mov ecx, dword [esi]
call dword [0x4bb544]
call dword [esi]
mov esi, eax
mov edx, dword [0x4b70c8]
cmp edx, 0x4b70c8
je 0x49e00c
test byte [edx + 0x1c], 0x20
je 0x49e00c
movzx ecx, byte [edx + 0x19]
xor eax, eax
test esi, esi
sets al
dec eax
and eax, 3
add eax, 2
cmp ecx, eax
jb 0x49e00c
push dword [ebp - 0x10]
push esi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x410558
push 0x13
pop ecx
call fcn.00417822
test esi, esi
js 0x49e0a4
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
push edi
push edi
push ecx
mov esi, dword [eax]
push edi
push 0x4104fc
push eax
mov ecx, dword [esi + 0x10]
call dword [0x4bb544]
call dword [esi + 0x10]
mov esi, eax
mov edx, dword [0x4b70c8]
cmp edx, 0x4b70c8
je 0x49e084
test byte [edx + 0x1c], 0x20
je 0x49e084
movzx ecx, byte [edx + 0x19]
xor eax, eax
test esi, esi
sets al
dec eax
and eax, 3
add eax, 2
cmp ecx, eax
jb 0x49e084
push dword [ebp - 0x28]
movzx eax, word [ebp - 0x30]
push eax
push esi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x410558
push 0x14
pop ecx
call fcn.00417592
test esi, esi
js 0x49e09a
push 3
pop eax
cmp ax, word [ebp - 0x30]
jne 0x49e09a
cmp dword [ebp - 0x28], 2
jne 0x49e09a
xor ebx, ebx
inc ebx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x49e0bb
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4bb544]
call esi
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x49e0dc
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4bb544]
call esi
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x49de05
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4bb544]
call esi
jmp 0x49de05
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x49dc25
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4bb544]
call esi
jmp 0x49dc25
mov ebx, dword [ebp - 0x18]
jmp 0x49dc25
mov ebx, dword [ebp - 0x18]
cmp edx, 0x4b70c8
je 0x49e159
test byte [edx + 0x1c], 2
je 0x49e159
cmp byte [edx + 0x19], 5
jb 0x49e159
push ebx
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x410558
push 0x15
pop ecx
call fcn.0041610f
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x49e174
and dword [ebp - 8], 0
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4bb544]
call esi
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x49e18f
and dword [ebp - 4], 0
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4bb544]
call esi
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x49e1aa
and dword [ebp - 0xc], 0
mov ecx, dword [edx]
push edx
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4bb544]
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret