Function at 0x404684
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 8
call fcn.00452dec
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00452dec
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00452dec
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00452dec
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0x14], 0
push 8
call fcn.00452dec
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x52523c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
push 0
push 0
push 0
push 0x80000004
push 0
push str.WbemScripting.SWbemLocator
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x456f00
call fcn.00452df8
add esp, 0x28
test eax, eax
je 0x404b41
mov ebx, 0x12
call fcn.004011a0
push 0x80000004
push 0
push str.rootCIMV2
push 0x80000004
push 0
push 0x5256ed
push 0x80000004
push 0
push str.ConnectServer
push 0x10030
push 0
push dword [ebp - 4]
push 0xa
mov ebx, 0x455de0
call fcn.00452df8
add esp, 0x7c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x456ed0
call fcn.00452df8
add esp, 0x10
call fcn.00452df2
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x10030
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x456ee0
call fcn.00452df8
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x404b25
push 0x80000004
push 0
push str.SELECT__FROM_Win32_Thread
push 0x80000004
push 0
push str.ExecQuery
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x455de0
call fcn.00452df8
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x456ed0
call fcn.00452df8
add esp, 0x10
call fcn.00452df2
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x10030
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x456ee0
call fcn.00452df8
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x404b09
push 0x80000301
push 0
push 1
push 0x80000004
push 0
push str.ItemIndex
push 0x10030
push 0
push dword [ebp - 0xc]
push 3
mov ebx, 0x455de0
call fcn.00452df8
add esp, 0x28
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0x80000004
push 0
push str.Properties_
push 0x10030
push 0
push dword [ebp - 0x20]
push 3
mov ebx, 0x455cf0
call fcn.00452df8
add esp, 0x28
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x456ed0
call fcn.00452df8
add esp, 0x10
call fcn.00452df2
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x456ed0
call fcn.00452df8
add esp, 0x10
call fcn.00452df2
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
push str.OSName
push 0x80000004
push 0
push 0x52573f
push 0x10030
push 0
push dword [ebp - 0x10]
push 3
mov ebx, 0x455de0
call fcn.00452df8
add esp, 0x28
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0x80000004
push 0
push 0x525744
push 0x10030
push 0
push dword [ebp - 0x20]
push 3
mov ebx, 0x455c90
call fcn.00452df8
add esp, 0x28
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x456ed0
call fcn.00452df8
add esp, 0x10
call fcn.00452df2
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4049e9
push ebx
call fcn.00452df2
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000004
push 0
push 0x52574a
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x404a12
mov eax, 0x5251f8
push eax
push 3
mov ebx, 0x4545d0
call fcn.00452df8
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404a4a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404a46
imul eax, dword [ebx]
jmp 0x404a3b
mov ecx, eax
test ecx, ecx
je 0x404a69
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404a62
push ebx
push eax
call fcn.00452df2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404a50
call fcn.00452df2
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x18]
call fcn.0040466b
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jl 0x404aed
mov ebx, dword [ebp - 0x18]
call fcn.00401bd8
mov eax, 0
cmp eax, ecx
jl 0x404ab2
push 0x30f
push 0x4040b68
push 1
call fcn.00452e0a
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
je 0x404ad8
push eax
mov ebx, eax
call fcn.004011a8
inc eax
push eax
call fcn.00452dec
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x404ae9
push ebx
call fcn.00452df2
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x10030
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x456ed0
call fcn.00452df8
add esp, 0x10
push 0x10030
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x456ed0
call fcn.00452df8
add esp, 0x10
push 0x10030
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x456ed0
call fcn.00452df8
add esp, 0x10
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x404b5d
push eax
mov ebx, eax
call fcn.004011a8
inc eax
push eax
call fcn.00452dec
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x404b62
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x456ed0
call fcn.00452df8
add esp, 0x10
call fcn.00452df2
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x456ed0
call fcn.00452df8
add esp, 0x10
call fcn.00452df2
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x456ed0
call fcn.00452df8
add esp, 0x10
call fcn.00452df2
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x456ed0
call fcn.00452df8
add esp, 0x10
call fcn.00452df2
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x404bff
push ebx
call fcn.00452df2
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404c1d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404c19
imul eax, dword [ebx]
jmp 0x404c0e
mov ecx, eax
test ecx, ecx
je 0x404c3c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404c35
push ebx
push eax
call fcn.00452df2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404c23
call fcn.00452df2
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x404c54
push ebx
call fcn.00452df2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret