Function at 0x4626b0
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6cb7
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x4fad60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x41c], 0xf
mov dword [ebp - 0x420], ebx
mov byte [ebp - 0x430], bl
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x462727
cmp dword [ebp - 0x41c], 0x10
jb 0x462bcc
mov ecx, dword [ebp - 0x430]
push ecx
jmp 0x462bc4
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
jns 0x462764
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0x41c], 0x10
jb 0x46275a
mov edx, dword [ebp - 0x430]
push edx
call fcn.00490a16
add esp, 4
mov eax, 1
jmp 0x462bce
lea eax, [ebp - 0x458]
push eax
push 0x4dca20
push 1
push ebx
push 0x4dcaf0
mov dword [ebp - 0x458], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x4627b0
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0x41c], 0x10
jb 0x46275a
mov ecx, dword [ebp - 0x430]
push ecx
call fcn.00490a16
add esp, 4
mov eax, 1
jmp 0x462bce
mov dword [ebp - 0x454], ebx
lea ebx, [ebp - 0x450]
call fcn.00462590
mov byte [ebp - 4], 1
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
je 0x4627d1
mov eax, dword [eax]
jmp 0x4627d3
xor eax, eax
mov ecx, dword [ebp - 0x458]
mov edx, dword [ecx]
lea esi, [ebp - 0x454]
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov eax, dword [edx + 0xc]
push ecx
call eax
lea edi, [ebp - 0x450]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.00435410
cmp esi, ebx
jl 0x46282c
mov eax, dword [ebp - 0x454]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jge 0x462855
mov eax, dword [ebp - 0x454]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea esi, [ebp - 0x430]
call fcn.004040c0
mov eax, 1
jmp 0x462bce
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x468], ebx
push str.SELECT__FROM_Win32_DiskDrive
lea ebx, [ebp - 0x464]
call fcn.00434f30
mov esi, eax
push 0x4e5c1c
lea ebx, [ebp - 0x450]
mov byte [ebp - 4], 2
call fcn.00434f30
mov byte [ebp - 4], 3
mov ecx, dword [esi]
xor ebx, ebx
cmp ecx, ebx
je 0x462897
mov ecx, dword [ecx]
jmp 0x462899
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x4628a3
mov edx, dword [eax]
jmp 0x4628a5
xor edx, edx
mov eax, dword [ebp - 0x454]
mov esi, dword [eax]
lea edi, [ebp - 0x460]
push edi
push ebx
push 0x30
push ecx
push edx
push eax
mov eax, dword [esi + 0x50]
call eax
lea edi, [ebp - 0x450]
mov esi, eax
call fcn.00435410
lea edi, [ebp - 0x464]
mov byte [ebp - 4], bl
call fcn.00435410
cmp esi, ebx
jl 0x46281e
mov eax, dword [ebp - 0x460]
cmp eax, ebx
je 0x462b76
mov ecx, dword [eax]
lea edx, [ebp - 0x468]
push edx
lea edx, [ebp - 0x45c]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x468], ebx
je 0x462b76
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x484]
push ecx
call esi
mov eax, dword [ebp - 0x45c]
lea ecx, [ebp - 0x464]
push ecx
push ebx
push 0x70
mov dword [ebp - 0x464], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
push ebx
push eax
call edx
mov eax, dword [ebp - 0x45c]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x450]
push edx
lea edx, [ebp - 0x484]
push edx
push ebx
push 0x4e5c20
push eax
mov eax, dword [ecx + 0x10]
call eax
mov ax, word [ebp - 0x484]
cmp ax, bx
je 0x462b68
cmp ax, 1
je 0x462b68
mov ecx, dword [ebp - 0x47c]
push ecx
call fcn.0048dba0
lea edx, [ebp - 0x430]
push edx
call fcn.00434a50
mov ecx, 0x4e5c3c
lea edi, [ebp - 0x430]
call fcn.004320d0
test eax, eax
jne 0x462b68
lea eax, [ebp - 0x484]
push eax
mov dword [ebp - 0x450], ebx
call esi
mov eax, dword [ebp - 0x45c]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x450]
push edx
lea edx, [ebp - 0x484]
push edx
push ebx
push 0x4e5c40
push eax
mov eax, dword [ecx + 0x10]
call eax
mov ax, word [ebp - 0x484]
cmp ax, bx
je 0x462b68
cmp ax, 1
je 0x462b68
mov ecx, dword [ebp - 0x47c]
push ecx
call fcn.0048dba0
mov edx, edi
push edx
call fcn.00434a50
cmp dword [ebp - 0x420], 0x28
jne 0x462a6d
push 0x3ff
lea eax, [ebp - 0x413]
push ebx
push eax
mov byte [ebp - 0x414], bl
call fcn.00497ad0
mov ecx, dword [ebp - 0x430]
add esp, 0xc
cmp dword [ebp - 0x41c], 0x10
jae 0x462a46
mov ecx, edi
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x488]
call fcn.00462630
add esp, 4
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x414]
call fcn.00434a50
xor eax, eax
cmp dword [ebp - 0x420], ebx
jbe 0x462acf
mov esi, dword [ebp - 0x41c]
mov edx, dword [ebp - 0x430]
mov ecx, edx
cmp esi, 0x10
jae 0x462a90
lea ecx, [ebp - 0x430]
mov cl, byte [ecx + eax]
mov edi, edx
cmp esi, 0x10
jae 0x462aa2
lea edi, [ebp - 0x430]
mov edx, edi
mov bl, byte [edi + eax + 1]
mov byte [edx + eax], bl
cmp dword [ebp - 0x41c], 0x10
mov edx, dword [ebp - 0x430]
jae 0x462abe
lea edx, [ebp - 0x430]
mov byte [edx + eax + 1], cl
add eax, 2
cmp eax, dword [ebp - 0x420]
jb 0x462a77
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x438], 7
mov dword [ebp - 0x43c], ebx
mov word [ebp - 0x44c], cx
lea edx, [ebp - 0x44c]
push edx
sub esp, 0x1c
lea eax, [ebp - 0x430]
mov esi, esp
mov byte [ebp - 4], 4
mov dword [ebp - 0x46c], esp
call fcn.00401e50
call fcn.0044c520
add esp, 0x20
lea ebx, [ebp - 0x44c]
call fcn.0044bba0
lea eax, [ebp - 0x430]
push eax
sub esp, 0x1c
mov ecx, ebx
mov esi, esp
mov dword [ebp - 0x46c], esp
call fcn.004090b0
call fcn.0044c3f0
add esp, 0x20
cmp dword [ebp - 0x420], 0
jbe 0x462b57
mov edi, dword [ebp - 0x470]
lea ecx, [ebp - 0x430]
call fcn.0045d5a0
lea ecx, [ebp - 0x44c]
mov byte [ebp - 4], 0
call fcn.00404690
xor ebx, ebx
mov eax, dword [ebp - 0x460]
cmp eax, ebx
jne 0x4628f0
mov eax, dword [ebp - 0x454]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x460]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x45c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0x41c], 0x10
jb 0x462bcc
mov eax, dword [ebp - 0x430]
push eax
call fcn.00490a16
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00490a21
mov esp, ebp
pop ebp
ret