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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100301ec
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 0x1001139d
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 0x100118d5
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 0x10011409
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 0x100118d5
mov dword [ebp - 0x98], 0
push str.ROOTCIMV2
lea ecx, [ebp - 0xb4]
call fcn.10011060
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.10011120
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.10011100
cmp dword [ebp - 0x90], 0
jge 0x100114d6
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 0x100118d5
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 0x10011560
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 0x100118d5
mov dword [ebp - 0x9c], 0
push str.SELECT__FROM_Win32_DiskDrive_WHERE__SerialNumber_IS_NOT_NULL_
lea ecx, [ebp - 0xcc]
call fcn.10010fc0
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 2
push 0x10040d8c
lea ecx, [ebp - 0xc8]
call fcn.10010fc0
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.10011120
push eax
mov ecx, dword [ebp - 0xc4]
call fcn.10011120
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.10011100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcc]
call fcn.10011100
cmp dword [ebp - 0x90], 0
jge 0x100116b4
push 0x1000e620
mov edx, dword [ebp - 0x90]
push edx
push 0x10010ef0
push 0x10040d90
push 0x10046090
call fcn.1000e300
add esp, 8
mov ecx, eax
call fcn.10011bf0
mov ecx, eax
call fcn.10011a60
mov ecx, eax
call fcn.1000be20
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 0x100118d5
mov dword [ebp - 0xa4], 0
push 0x10040da0
lea ecx, [ebp - 0x58]
call fcn.10005bc0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x9c], 0
je 0x10011819
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 0x10011716
jmp 0x10011819
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 0x10011796
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.10005af0
jmp 0x100116cf
lea ecx, [ebp - 0x58]
call fcn.10007330
movzx eax, al
test eax, eax
je 0x100117c2
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x58]
call fcn.100118f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.10005af0
jmp 0x100116cf
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.10011ca0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x100117e4
lea edx, [ebp - 0x58]
mov dword [ebp - 0xa8], edx
jmp 0x100117ed
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.100118f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.10005af0
jmp 0x100116cf
push 0x3a8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.10005a40
push eax
call fcn.10010f10
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.100119f0
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.10014230
mov esp, ebp
pop ebp
ret