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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 8
call fcn.00451bfc
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00451bfc
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00451bfc
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.00451bfc
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 [0x47986c]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x415968
push 0
push 0x404709c
push 6
call fcn.00451c08
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.00453f70
add esp, 0x28
test eax, eax
je 0x415ce9
mov ebx, 0x12
call fcn.004010e4
push VariantClear
push 0
push str.rootCIMV2
push VariantClear
push 0
push 0x476536
push VariantClear
push 0
push str.ConnectServer
push 0x10030
push 0
push dword [ebp - 4]
push 0xa
mov ebx, 0x964
call fcn.00454830
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.00454150
add esp, 0x10
call fcn.00451bf6
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.00454f90
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push 0x47708a
mov ecx, 2
call fcn.00401088
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x415a5d
push ebx
call fcn.00451bf6
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x415a70
mov eax, 0x47650f
push eax
push VariantClear
push 0
push str.ExecQuery
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x964
call fcn.00454830
add esp, 0x28
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x415aac
push ebx
call fcn.00451bf6
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.00454150
add esp, 0x10
call fcn.00451bf6
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.004542d0
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
fld qword [ebp - 0x28]
call fcn.00401cc7
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x415c79
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.00454830
add esp, 0x28
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push VariantClear
push 0
push 0x47658a
push 0x10030
push 0
push dword [ebp - 0x1c]
push 3
mov ebx, 0x940
call fcn.004544d0
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.00454150
add esp, 0x10
call fcn.00451bf6
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.00454150
add esp, 0x10
call fcn.00451bf6
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.00454830
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.00454180
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.00454150
add esp, 0x10
call fcn.00451bf6
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x415c75
push ebx
call fcn.00451bf6
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.00454150
add esp, 0x10
push 0x10030
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x924
call fcn.00454150
add esp, 0x10
push 0x10030
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x924
call fcn.00454150
add esp, 0x10
push 0x10030
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x924
call fcn.00454150
add esp, 0x10
mov dword [ebp - 0x1c], esp
xor eax, eax
call dword [0x479870]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x415d12
push 0x32d
push 0x404709c
push 6
call fcn.00451c08
add esp, 0xc
push 0x47650f
push dword [ebp - 0x18]
call fcn.00401a89
add esp, 8
cmp eax, 0
je 0x415d3c
cmp dword [ebp + 0xc], 0
jne 0x415d3c
mov eax, 1
jmp 0x415d41
mov eax, 0
test eax, eax
je 0x415d75
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x18]
xor eax, eax
call dword [0x479874]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x415d75
push 0x3a3
push 0x404709c
push 6
call fcn.00451c08
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x415d91
push eax
mov ebx, eax
call fcn.0040101d
inc eax
push eax
call fcn.00451bfc
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x415d96
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.00454150
add esp, 0x10
call fcn.00451bf6
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.00454150
add esp, 0x10
call fcn.00451bf6
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.00454150
add esp, 0x10
call fcn.00451bf6
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.00454150
add esp, 0x10
call fcn.00451bf6
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x415e33
push ebx
call fcn.00451bf6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc