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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 8
call fcn.004513a4
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.004513a4
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.004513a4
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0x10], 0
push 8
call fcn.004513a4
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], esp
push 0
xor eax, eax
call dword [0x479c98]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4152a9
push 0
push 0x404709c
push 6
call fcn.004513b0
add esp, 0xc
push 0
push 0
push 0
push VariantClear
push 0
push str.WbemScripting.SWbemLocator
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x91c
call fcn.00453710
add esp, 0x28
test eax, eax
je 0x41562a
mov ebx, 0x12
call fcn.004010c8
push VariantClear
push 0
push str.rootCIMV2
push VariantClear
push 0
push 0x476550
push VariantClear
push 0
push str.ConnectServer
push 0x10030
push 0
push dword [ebp - 4]
push 0xa
mov ebx, 0x964
call fcn.00453fd0
add esp, 0x7c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.004538f0
add esp, 0x10
call fcn.0045139e
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.00454730
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push 0x4771ac
mov ecx, 2
call fcn.0040106c
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41539e
push ebx
call fcn.0045139e
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4153b1
mov eax, 0x476524
push eax
push VariantClear
push 0
push str.ExecQuery
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x964
call fcn.00453fd0
add esp, 0x28
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4153ed
push ebx
call fcn.0045139e
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.004538f0
add esp, 0x10
call fcn.0045139e
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push VariantClear
push 0
push str.Count
push 0x10030
push 0
push dword [ebp - 0xc]
push 3
mov ebx, 0x934
call fcn.00453a70
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
fld qword [ebp - 0x28]
call fcn.00401cb4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4155ba
push 0x80000301
push 0
push 0
push VariantClear
push 0
push str.ItemIndex
push 0x10030
push 0
push dword [ebp - 0xc]
push 3
mov ebx, 0x964
call fcn.00453fd0
add esp, 0x28
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push VariantClear
push 0
push 0x4765b0
push 0x10030
push 0
push dword [ebp - 0x1c]
push 3
mov ebx, 0x940
call fcn.00453c70
add esp, 0x28
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.004538f0
add esp, 0x10
call fcn.0045139e
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.004538f0
add esp, 0x10
call fcn.0045139e
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push VariantClear
push 0
push str.ExecutablePath
push VariantClear
push 0
push str.Item
push 0x10030
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x964
call fcn.00453fd0
add esp, 0x28
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push VariantClear
push 0
push str.Value
push 0x10030
push 0
push dword [ebp - 0x1c]
push 3
mov ebx, 0x930
call fcn.00453920
add esp, 0x28
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.004538f0
add esp, 0x10
call fcn.0045139e
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4155b6
push ebx
call fcn.0045139e
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x10030
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x924
call fcn.004538f0
add esp, 0x10
push 0x10030
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x924
call fcn.004538f0
add esp, 0x10
push 0x10030
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x924
call fcn.004538f0
add esp, 0x10
push 0x10030
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x924
call fcn.004538f0
add esp, 0x10
mov dword [ebp - 0x1c], esp
xor eax, eax
call dword [0x479c9c]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x415653
push 0x32d
push 0x404709c
push 6
call fcn.004513b0
add esp, 0xc
push 0x476524
push dword [ebp - 0x18]
call fcn.00401a70
add esp, 8
cmp eax, 0
je 0x41567d
cmp dword [ebp + 0xc], 0
jne 0x41567d
mov eax, 1
jmp 0x415682
mov eax, 0
test eax, eax
je 0x4156b6
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x18]
xor eax, eax
call dword [0x479ca0]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4156b6
push 0x3a3
push 0x404709c
push 6
call fcn.004513b0
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4156d2
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.004513a4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4156d7
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.004538f0
add esp, 0x10
call fcn.0045139e
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.004538f0
add esp, 0x10
call fcn.0045139e
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.004538f0
add esp, 0x10
call fcn.0045139e
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.004538f0
add esp, 0x10
call fcn.0045139e
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x415774
push ebx
call fcn.0045139e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc