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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0561
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4d8c20]
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 ebx, ecx
xor esi, esi
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x88], esi
lea eax, [ebp - 0x90]
push eax
push 0x4b46dc
push 1
push esi
mov dword [ebp - 4], 2
push 0x4b47ac
mov dword [ebp - 0x90], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jge 0x41791b
xor ecx, ecx
mov edi, 7
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], esi
push esi
mov word [ebx], cx
push 0x4b9470
mov ecx, ebx
call fcn.00404447
jmp 0x417fbc
cmp dword [ebp + 0x1c], 8
mov edi, dword [ebp + 8]
mov dword [ebp - 0x8c], esi
jae 0x41792d
lea edi, [ebp + 8]
lea eax, [ebp - 0x84]
push eax
call fcn.004176d0
mov byte [ebp - 4], 3
mov eax, dword [eax]
cmp eax, esi
je 0x417947
mov ecx, dword [eax]
jmp 0x417949
xor ecx, ecx
mov eax, dword [ebp - 0x90]
mov edx, dword [eax]
lea edi, [ebp - 0x8c]
push edi
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x84]
cmp eax, esi
je 0x4179b7
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor edi, edi
cmp eax, edi
jne 0x4179b9
cmp esi, edi
je 0x4179b9
mov eax, dword [esi]
cmp eax, edi
je 0x41799c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4179ac
push eax
call fcn.00475dcb
add esp, 4
push esi
call fcn.00475dcb
add esp, 4
jmp 0x4179b9
xor edi, edi
cmp dword [ebp - 0x88], edi
jge 0x417a55
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push edi
mov esi, 7
xor eax, eax
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x10], edi
push 0x4b9470
mov ecx, ebx
mov word [ebx], ax
call fcn.00404447
cmp dword [ebp + 0x1c], 8
jb 0x417a02
mov ecx, dword [ebp + 8]
push ecx
call fcn.00475dcb
add esp, 4
xor edx, edx
cmp dword [ebp + 0x38], 8
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], edi
mov word [ebp + 8], dx
jb 0x417a20
mov eax, dword [ebp + 0x24]
push eax
call fcn.00475dcb
add esp, 4
mov eax, dword [ebp + 0x40]
xor ecx, ecx
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x34], edi
mov word [ebp + 0x24], cx
cmp eax, edi
je 0x418020
mov edx, dword [ebp - 0x88]
push edx
mov edx, dword [ebp + 0x44]
lea ecx, [ebp + 0x4c]
push ecx
push edx
push eax
call fcn.00417480
mov eax, dword [ebp + 0x40]
push eax
jmp 0x418018
mov ecx, dword [ebp - 0x8c]
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, edi
jge 0x417af6
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push edi
mov esi, 7
xor eax, eax
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x10], edi
push 0x4b9470
mov ecx, ebx
mov word [ebx], ax
call fcn.00404447
cmp dword [ebp + 0x1c], 8
jb 0x417abf
mov ecx, dword [ebp + 8]
push ecx
call fcn.00475dcb
add esp, 4
xor edx, edx
cmp dword [ebp + 0x38], 8
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], edi
mov word [ebp + 8], dx
jb 0x417add
mov eax, dword [ebp + 0x24]
push eax
call fcn.00475dcb
add esp, 4
xor ecx, ecx
mov word [ebp + 0x24], cx
lea ecx, [ebp + 0x40]
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x34], edi
call fcn.00416450
jmp 0x418020
push 0xe
xor edx, edx
push str.SELECT__FROM
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
call fcn.00404447
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x64]
push edx
mov byte [ebp - 4], 4
call fcn.004183e0
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x417b9c
cmp dword [ebp - 0x18], 8
jb 0x417b4e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00475dcb
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
cmp dword [esi + 0x14], 8
jae 0x417b7a
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x2c]
push esi
push ecx
call fcn.00475550
add esp, 0xc
jmp 0x417b81
mov edx, dword [esi]
mov dword [ebp - 0x2c], edx
mov dword [esi], edi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x18], ecx
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], dx
mov esi, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x50], esi
jb 0x417bb6
mov eax, dword [ebp - 0x64]
push eax
call fcn.00475dcb
add esp, 4
mov edi, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x417bc1
lea edi, [ebp - 0x2c]
lea ecx, [ebp - 0x84]
push ecx
call fcn.004176d0
mov esi, eax
lea edx, [ebp - 0x88]
push edx
mov edi, 0x4bec24
mov byte [ebp - 4], 6
call fcn.004176d0
mov byte [ebp - 4], 7
mov ecx, dword [esi]
test ecx, ecx
je 0x417bf2
mov ecx, dword [ecx]
jmp 0x417bf4
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x417bfe
mov edx, dword [eax]
jmp 0x417c00
xor edx, edx
mov eax, dword [ebp - 0x8c]
mov esi, dword [eax]
lea edi, [ebp - 0x94]
push edi
push 0
push 0x30
push ecx
push edx
push eax
mov eax, dword [esi + 0x50]
call eax
lea edi, [ebp - 0x88]
mov esi, eax
call fcn.00417770
lea edi, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.00417770
test esi, esi
jns 0x417ce1
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor esi, esi
push esi
mov edi, 7
xor eax, eax
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], esi
push 0x4b9470
mov ecx, ebx
mov word [ebx], ax
call fcn.00404447
cmp dword [ebp - 0x18], 8
jb 0x417c8c
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00475dcb
add esp, 4
xor edx, edx
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
jb 0x417caa
mov eax, dword [ebp + 8]
push eax
call fcn.00475dcb
add esp, 4
xor ecx, ecx
cmp dword [ebp + 0x38], 8
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], esi
mov word [ebp + 8], cx
jb 0x417cc8
mov edx, dword [ebp + 0x24]
push edx
call fcn.00475dcb
add esp, 4
xor eax, eax
lea ecx, [ebp + 0x40]
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x34], esi
mov word [ebp + 0x24], ax
call fcn.00416450
jmp 0x418020
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ecx
mov word [ebp - 0x48], dx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x94]
cmp eax, ecx
je 0x417ee2
jmp 0x417d10
mov ecx, dword [eax]
lea edx, [ebp - 0x9c]
push edx
lea edx, [ebp - 0xa0]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x9c], 0
je 0x417eba
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], cx
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 0x44]
mov esi, dword [ebp + 0x40]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor bl, bl
add eax, edx
je 0x417e6e
mov dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x417d8a
mov eax, dword [eax]
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
push 0
push 0
lea esi, [ebp - 0xb0]
push esi
push 0
push eax
mov eax, dword [edx + 0x10]
push ecx
call eax
test eax, eax
jne 0x417e34
movzx eax, word [ebp - 0xb0]
cmp eax, 3
je 0x417deb
cmp eax, 8
jne 0x417e27
mov edx, dword [ebp - 0xa8]
mov eax, edx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417dd0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x64]
call fcn.004043a6
jmp 0x417e25
mov ecx, dword [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x80]
push edx
call fcn.004177c0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xa
call fcn.00404303
mov byte [ebp - 4], 9
cmp dword [ebp - 0x6c], 8
jb 0x417e25
mov eax, dword [ebp - 0x80]
push eax
call fcn.00475dcb
add esp, 4
mov bl, 1
lea ecx, [ebp - 0xb0]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 1
push 0x4bec2c
lea ecx, [ebp - 0x64]
call fcn.004043a6
mov ecx, dword [ebp + 0x44]
mov esi, dword [ebp + 0x40]
add dword [ebp - 0x84], 0x1c
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x417d7a
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, bl
je 0x417e90
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
call fcn.00404303
mov byte [ebp - 4], 8
cmp dword [ebp - 0x50], 8
jb 0x417ea6
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00475dcb
add esp, 4
mov eax, dword [ebp - 0x94]
mov ebx, dword [ebp - 0x98]
test eax, eax
jne 0x417d10
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x417ee2
lea eax, [ecx - 1]
cmp eax, ecx
ja 0x417ed5
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x48]
call fcn.004044c5
jmp 0x417ee2
sub eax, ecx
push 0
push eax
lea ecx, [ebp - 0x48]
call fcn.004112e0
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor esi, esi
mov edi, 7
xor eax, eax
lea ecx, [ebp - 0x48]
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], esi
mov word [ebx], ax
cmp ebx, ecx
je 0x417f80
cmp dword [ebx + 0x14], 8
jb 0x417f36
mov edx, dword [ebx]
push edx
call fcn.00475dcb
add esp, 4
xor eax, eax
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], esi
mov word [ebx], ax
cmp dword [ebp - 0x34], 8
jae 0x417f6a
mov ecx, dword [ebp - 0x38]
lea edx, [ecx + ecx + 2]
push edx
lea eax, [ebp - 0x48]
push eax
push ebx
call fcn.00475550
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
jmp 0x417f92
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov dword [ebx], ecx
mov dword [ebp - 0x48], esi
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
jmp 0x417f92
cmp dword [ebp - 0x34], 8
jb 0x417f92
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00475dcb
add esp, 4
xor edx, edx
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
jb 0x417fb0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00475dcb
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
cmp dword [ebp + 0x1c], 8
jb 0x417fce
mov edx, dword [ebp + 8]
push edx
call fcn.00475dcb
add esp, 4
xor eax, eax
cmp dword [ebp + 0x38], 8
mov word [ebp + 8], ax
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x1c], edi
jb 0x417fec
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.00475dcb
add esp, 4
mov eax, dword [ebp + 0x40]
xor edx, edx
mov word [ebp + 0x24], dx
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x38], edi
cmp eax, esi
je 0x418020
mov ecx, dword [ebp - 0x88]
push ecx
mov ecx, dword [ebp + 0x44]
lea edx, [ebp + 0x4c]
push edx
push ecx
push eax
call fcn.00417480
mov edx, dword [ebp + 0x40]
push edx
call fcn.00475dcb
add esp, 0x14
mov eax, ebx
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.004751dc
mov esp, ebp
pop ebp
ret