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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x585184]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x58], eax
xor eax, eax
push 9
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push str.Ole32.dll
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.00404420
mov dword [ebp - 4], 0
lea eax, [ebp - 0x50]
push eax
call fcn.00423e80
mov ecx, eax
call fcn.00423f40
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x4e2cbc
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e2cb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e2fca
push edx
push ecx
call fcn.00502621
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
test esi, esi
je 0x4e2faa
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x55e75c
push esi
call edi
push str.CoInitializeSecurity
mov ebx, eax
push esi
mov dword [ebp - 0x38], ebx
call edi
mov dword [ebp - 0x54], eax
test ebx, ebx
je 0x4e2faa
test eax, eax
je 0x4e2faa
push str.OleAut32.dll
lea ecx, [ebp - 0x50]
call fcn.00404380
mov dword [ebp - 4], 1
lea eax, [ebp - 0x50]
push eax
call fcn.00423e80
mov ecx, eax
call fcn.00423f40
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x4e2d6d
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e2d63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e2fcf
push edx
push ecx
call fcn.00502621
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
test esi, esi
je 0x4e2faa
push str.VariantInit
push esi
call edi
push str.VariantClear
push esi
mov ebx, eax
call edi
mov esi, eax
test ebx, ebx
je 0x4e2faa
test esi, esi
je 0x4e2faa
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [ebp - 0x54]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x20]
push eax
push 0x5568a0
push 1
push 0
push 0x556970
call dword [ebp - 0x38]
test eax, eax
jne 0x4e2f90
cmp dword [ebp - 0x20], eax
je 0x4e2f90
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 6
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
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 0x4e2f7b
cmp dword [ebp - 0x1c], eax
je 0x4e2f7b
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
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 0x562c20
push eax
call dword [ecx + 0x50]
test eax, eax
jne 0x4e2f66
cmp dword [ebp - 0x18], eax
je 0x4e2f66
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x34]
push eax
call ebx
nop dword [eax]
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
je 0x4e2eb3
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0xf
test eax, eax
je 0x4e2eb3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x4e2f4b
cmp dword [ebp - 0x24], eax
je 0x4e2f4b
cmp dword [ebp - 0x14], eax
je 0x4e2f4b
lea eax, [ebp - 0x34]
push eax
call esi
lea eax, [ebp - 0x34]
push eax
call ebx
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x34]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x562c28
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x4e2e80
cmp word [ebp - 0x34], 8
jne 0x4e2e80
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x4e2e80
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e2f20
sub ecx, edi
mov edi, dword [ebp - 0x58]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00404420
push edi
call fcn.004e3030
lea eax, [ebp - 0x34]
push eax
call esi
mov bl, 1
jmp 0x4e2f53
lea eax, [ebp - 0x34]
push eax
call esi
xor bl, bl
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4e2f68
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4e2f68
xor bl, bl
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4e2f7d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4e2f7d
xor bl, bl
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4e2f92
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4e2f92
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4e2fa6
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, bl
jmp 0x4e2fac
xor al, al
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.00502346
mov esp, ebp
pop ebp
ret 4
call fcn.00506759
call fcn.00506759
int3