Function at 0x100495d0
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push 0xffffffffffffffff
push 0x1008c55e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], eax
xor eax, eax
push 9
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
push 0x100957e4
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.10003000
mov dword [esp + 0x6c], 0
mov eax, dword [0x100b084c]
test al, 1
jne 0x10049680
or eax, 1
mov dword [0x100b084c], eax
mov byte [esp + 0x6c], 1
mov dword [0x100b0848], 0
call fcn.1001b590
push 0x10092b30
call fcn.10081c88
add esp, 4
mov byte [esp + 0x6c], 0
lea eax, [esp + 0x14]
mov ecx, 0x100b0848
push eax
call fcn.1001b760
mov esi, eax
mov dword [esp + 0x6c], 0xffffffff
cmp dword [esp + 0x28], 8
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x100496af
push dword [esp + 0x14]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
test esi, esi
je 0x1004997d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100960c0
push esi
call edi
push str.CoInitializeSecurity
push esi
mov dword [esp + 0x34], eax
call edi
cmp dword [esp + 0x2c], 0
mov ebp, eax
je 0x1004997d
test ebp, ebp
je 0x1004997d
push str.OleAut32.dll
lea ecx, [esp + 0x18]
call fcn.10002f90
mov dword [esp + 0x6c], 2
lea eax, [esp + 0x14]
push eax
call fcn.1001b6e0
mov ecx, eax
call fcn.1001b760
mov esi, eax
mov dword [esp + 0x6c], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x1004973e
push dword [esp + 0x14]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
test esi, esi
je 0x1004997d
push str.VariantInit
push esi
call edi
push str.VariantClear
push esi
mov ebx, eax
call edi
mov esi, eax
test ebx, ebx
je 0x1004997d
test esi, esi
je 0x1004997d
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call ebp
mov dword [esp + 0x50], 0
mov dword [esp + 0x6c], 4
lea eax, [esp + 0x50]
push eax
push 0x100934dc
push 1
push 0
push 0x100935ac
call dword [esp + 0x40]
test eax, eax
jne 0x10049961
cmp dword [esp + 0x50], eax
je 0x10049961
mov dword [esp + 0x54], eax
mov byte [esp + 0x6c], 7
lea edx, [esp + 0x54]
mov eax, dword [esp + 0x50]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push str.ROOTcimv2
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x1004994a
cmp dword [esp + 0x54], eax
je 0x1004994a
mov dword [esp + 0x4c], eax
mov byte [esp + 0x6c], 0xb
lea edx, [esp + 0x4c]
mov eax, dword [esp + 0x54]
push edx
push 0
push 0x30
mov ecx, dword [eax]
push str.SELECT__FROM_Win32_DiskDrive_WHERE__Model_IS_NOT_NULL__AND__MediaType_LIKE_Fixed_hard_disk__
push 0x1009620c
push eax
call dword [ecx + 0x50]
test eax, eax
jne 0x10049933
cmp dword [esp + 0x4c], eax
je 0x10049933
mov dword [esp + 0x48], eax
mov byte [esp + 0x6c], 0x10
lea eax, [esp + 0x34]
push eax
call ebx
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x5c], 0
call fcn.10049f30
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x58]
push edx
lea edx, [esp + 0x4c]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x100498f8
nop
cmp dword [esp + 0x58], 0
je 0x100498f8
cmp dword [esp + 0x48], 0
je 0x100498f8
lea eax, [esp + 0x34]
push eax
call esi
lea eax, [esp + 0x34]
push eax
call ebx
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x34]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Model
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x100498ca
cmp word [esp + 0x34], 8
jne 0x100498ca
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x10049916
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x5c], 0
call fcn.10049f30
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x58]
push edx
lea edx, [esp + 0x4c]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x10049880
lea eax, [esp + 0x34]
push eax
call esi
xor bl, bl
mov byte [esp + 0x6c], 0xb
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10049935
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10049935
mov edi, dword [esp + 0x30]
mov ecx, edi
push eax
call fcn.100049d0
push edi
call fcn.100499f0
lea eax, [esp + 0x34]
push eax
call esi
mov bl, 1
jmp 0x10049901
xor bl, bl
mov byte [esp + 0x6c], 7
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x1004994c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1004994c
xor bl, bl
mov byte [esp + 0x6c], 4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x10049963
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10049963
xor bl, bl
mov dword [esp + 0x6c], 0xffffffff
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x10049979
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, bl
jmp 0x1004997f
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10081b94
add esp, 0x5c
ret 4