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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100300fc
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x10045068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x28]
call fcn.10004eb0
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jge 0x1001129d
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.10002b50
mov ecx, dword [ebp - 0x8c]
or ecx, 1
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002b00
mov eax, dword [ebp + 8]
jmp 0x100117d5
mov dword [ebp - 0x94], 0
lea edx, [ebp - 0x94]
push edx
push 0x10034594
push 1
push 0
push 0x10034664
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jge 0x10011309
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.10002b50
mov ecx, dword [ebp - 0x8c]
or ecx, 1
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002b00
mov eax, dword [ebp + 8]
jmp 0x100117d5
mov dword [ebp - 0x98], 0
push str.ROOTCIMV2
lea ecx, [ebp - 0xb4]
call fcn.10010f60
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x98]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0xb0]
call fcn.10011020
push eax
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x94]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.10011000
cmp dword [ebp - 0x90], 0
jge 0x100113d6
mov edx, dword [ebp - 0x94]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [eax + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.10002b50
mov ecx, dword [ebp - 0x8c]
or ecx, 1
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002b00
mov eax, dword [ebp + 8]
jmp 0x100117d5
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov edx, dword [ebp - 0x98]
push edx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jge 0x10011460
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x98]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.10002b50
mov eax, dword [ebp - 0x8c]
or eax, 1
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002b00
mov eax, dword [ebp + 8]
jmp 0x100117d5
mov dword [ebp - 0x9c], 0
push str.SELECT__FROM_Win32_DiskDrive_WHERE__SerialNumber_IS_NOT_NULL_
lea ecx, [ebp - 0xcc]
call fcn.10010ec0
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 2
push 0x10040d84
lea ecx, [ebp - 0xc8]
call fcn.10010ec0
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], edx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x9c]
push eax
push 0
push 0x30
mov ecx, dword [ebp - 0xc0]
call fcn.10011020
push eax
mov ecx, dword [ebp - 0xc4]
call fcn.10011020
push eax
mov ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0x98]
mov eax, dword [edx]
mov ecx, dword [eax + 0x50]
call ecx
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc8]
call fcn.10011000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcc]
call fcn.10011000
cmp dword [ebp - 0x90], 0
jge 0x100115b4
push 0x1000e520
mov edx, dword [ebp - 0x90]
push edx
push 0x10010df0
push 0x10040d88
push 0x10046090
call fcn.1000e200
add esp, 8
mov ecx, eax
call fcn.10011af0
mov ecx, eax
call fcn.10011960
mov ecx, eax
call fcn.1000bd20
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x98]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0
mov ecx, dword [ebp + 8]
call fcn.10002bd0
mov edx, dword [ebp - 0x8c]
or edx, 1
mov dword [ebp - 0x8c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002b00
mov eax, dword [ebp + 8]
jmp 0x100117d5
mov dword [ebp - 0xa4], 0
push 0x10040d98
lea ecx, [ebp - 0x58]
call fcn.10005bc0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x9c], 0
je 0x10011719
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xa0]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xa4], 0
jne 0x10011616
jmp 0x10011719
push 0
push 0
lea eax, [ebp - 0xe4]
push eax
push 0
push str.SerialNumber
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xdc]
push edx
lea ecx, [ebp - 0x40]
call fcn.10005bc0
mov byte [ebp - 4], 5
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [edx + 8]
call ecx
lea ecx, [ebp - 0x40]
call fcn.10007330
movzx edx, al
test edx, edx
je 0x10011696
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.10005af0
jmp 0x100115cf
lea ecx, [ebp - 0x58]
call fcn.10007330
movzx eax, al
test eax, eax
je 0x100116c2
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x58]
call fcn.100117f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.10005af0
jmp 0x100115cf
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.10011ba0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x100116e4
lea edx, [ebp - 0x58]
mov dword [ebp - 0xa8], edx
jmp 0x100116ed
lea eax, [ebp - 0x40]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0xd4]
push edx
lea ecx, [ebp - 0x58]
call fcn.100117f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.10005af0
jmp 0x100115cf
push 0x3a8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.10005a40
push eax
call fcn.10010e10
add esp, 0xc
push 1
push str.Anlaigen20240419IV
push str.Anlaigen20240419
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.100027a0
add esp, 0x14
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.10004eb0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.100051e0
add esp, 8
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x28]
call fcn.100118f0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.10002b50
mov ecx, dword [ebp - 0x8c]
or ecx, 1
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.10002b00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.10002b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.10005af0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002b00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001412e
mov esp, ebp
pop ebp
ret