Function at 0x414200
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530610
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x57c54c]
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
lea edx, [ebp - 0x34]
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x34], 0
call fcn.00414580
test eax, eax
je 0x41455a
cmp dword [ebp - 0x3c], 0
je 0x41455a
cmp dword [ebp - 0x34], 0
je 0x41455a
push str.SELECT__FROM_Win32_SoundDevice
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x38], 0
call fcn.00411e20
mov esi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
push 0x55f104
call fcn.00411e20
mov byte [ebp - 4], 1
mov ecx, dword [esi]
test ecx, ecx
je 0x41429a
mov esi, dword [ecx]
jmp 0x41429c
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x4142a6
mov edx, dword [eax]
jmp 0x4142a8
xor edx, edx
mov eax, dword [ebp - 0x34]
lea ebx, [ebp - 0x38]
push ebx
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov ebx, eax
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x30]
mov edx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test esi, esi
je 0x41431e
lea ecx, [esi + 8]
push ecx
call edx
test eax, eax
jne 0x414311
test esi, esi
je 0x414311
mov eax, dword [esi]
test eax, eax
je 0x4142ef
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x414306
push eax
call fcn.005010e5
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.005010b4
add esp, 8
mov edx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x414376
lea eax, [esi + 8]
push eax
call edx
test eax, eax
jne 0x41436f
test esi, esi
je 0x41436f
mov eax, dword [esi]
test eax, eax
je 0x41434d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x414364
push eax
call fcn.005010e5
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.005010b4
add esp, 8
mov dword [ebp - 0x14], 0
test ebx, ebx
js 0x414542
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x414542
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea edx, [ebp - 0x14]
mov dword [ebp - 0x30], 0
push edx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x14], 0
mov eax, dword [ecx]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x14], 0
je 0x41451a
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x50]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x55f108
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x48]
lea ecx, [ebp - 0x54]
call fcn.00411ec0
mov dword [ebp - 4], 2
mov esi, dword [eax]
test esi, esi
je 0x4143ff
mov edx, dword [esi + 4]
test edx, edx
jne 0x414401
push dword [esi]
call fcn.005024a0
mov dword [esi + 4], eax
mov edx, eax
jmp 0x414401
xor edx, edx
mov ecx, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414426
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040add0
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x54]
test esi, esi
je 0x414492
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41448b
test esi, esi
je 0x41448b
mov eax, dword [esi]
test eax, eax
je 0x414469
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x414480
push eax
call fcn.005010e5
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.005010b4
add esp, 8
mov dword [ebp - 0x54], 0
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x2c]
push ecx
cmp dword [edi + 8], eax
je 0x4144ab
mov ecx, eax
call fcn.00408380
add dword [edi + 4], 0x18
jmp 0x4144b3
push eax
mov ecx, edi
call fcn.00412410
lea eax, [ebp - 0x50]
push eax
call ebx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4144fd
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4144f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414578
push edx
push ecx
call fcn.005010b4
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
test ecx, ecx
jne 0x414390
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
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]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x41455c
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
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 - 0x10]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
ret
call fcn.00508868
int3