Function at 0x401748
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 8
call fcn.004719f5
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.004719f5
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.004719f5
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.004719f5
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.004719f5
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x5fcb7f
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 getpeername
push 0
push str.WbemScripting.SWbemLocator
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4778a0
call fcn.00471a0d
add esp, 0x28
test eax, eax
je 0x401c05
mov ebx, 0x12
call fcn.0040169c
push getpeername
push 0
push str.rootCIMV2
push getpeername
push 0
push 0x5fcb1f
push getpeername
push 0
push str.ConnectServer
push 0x10030
push 0
push dword [ebp - 4]
push 0xa
mov ebx, 0x476730
call fcn.00471a0d
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, 0x477870
call fcn.00471a0d
add esp, 0x10
call fcn.004719fb
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x10030
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x477880
call fcn.00471a0d
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x401be9
push getpeername
push 0
push str.SELECT__FROM_Win32_Thread
push getpeername
push 0
push str.ExecQuery
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x476730
call fcn.00471a0d
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, 0x477870
call fcn.00471a0d
add esp, 0x10
call fcn.004719fb
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x10030
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x477880
call fcn.00471a0d
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x401bcd
push CPtrArray::~CPtrArray
push 0
push 1
push getpeername
push 0
push str.ItemIndex
push 0x10030
push 0
push dword [ebp - 0xc]
push 3
mov ebx, 0x476730
call fcn.00471a0d
add esp, 0x28
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push getpeername
push 0
push str.Properties_
push 0x10030
push 0
push dword [ebp - 0x20]
push 3
mov ebx, 0x4765e0
call fcn.00471a0d
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, 0x477870
call fcn.00471a0d
add esp, 0x10
call fcn.004719fb
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, 0x477870
call fcn.00471a0d
add esp, 0x10
call fcn.004719fb
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push getpeername
push 0
push str.OSName
push getpeername
push 0
push str.Item
push 0x10030
push 0
push dword [ebp - 0x10]
push 3
mov ebx, 0x476730
call fcn.00471a0d
add esp, 0x28
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push getpeername
push 0
push str.value
push 0x10030
push 0
push dword [ebp - 0x20]
push 3
mov ebx, 0x476580
call fcn.00471a0d
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, 0x477870
call fcn.00471a0d
add esp, 0x10
call fcn.004719fb
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401aad
push ebx
call fcn.004719fb
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push getpeername
push 0
push 0x5fcb7c
push getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x401ad6
mov eax, 0x5fcb7e
push eax
push 3
mov ebx, 0x473400
call fcn.00471a0d
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 0x401b0e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x401b0a
imul eax, dword [ebx]
jmp 0x401aff
mov ecx, eax
test ecx, ecx
je 0x401b2d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x401b26
push ebx
push eax
call fcn.004719fb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401b14
call fcn.004719fb
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x18]
call fcn.004016a4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jl 0x401bb1
mov ebx, dword [ebp - 0x18]
call fcn.004016bd
mov eax, 0
cmp eax, ecx
jl 0x401b76
push 0x30f
push 0x4015d1e
push 1
call fcn.00471a07
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 0x401b9c
push eax
mov ebx, eax
call fcn.004016dd
inc eax
push eax
call fcn.004719f5
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 0x401bad
push ebx
call fcn.004719fb
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x10030
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x477870
call fcn.00471a0d
add esp, 0x10
push 0x10030
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x477870
call fcn.00471a0d
add esp, 0x10
push 0x10030
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x477870
call fcn.00471a0d
add esp, 0x10
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x401c21
push eax
mov ebx, eax
call fcn.004016dd
inc eax
push eax
call fcn.004719f5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x401c26
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x477870
call fcn.00471a0d
add esp, 0x10
call fcn.004719fb
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x477870
call fcn.00471a0d
add esp, 0x10
call fcn.004719fb
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x477870
call fcn.00471a0d
add esp, 0x10
call fcn.004719fb
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x477870
call fcn.00471a0d
add esp, 0x10
call fcn.004719fb
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401cc3
push ebx
call fcn.004719fb
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x401ce1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x401cdd
imul eax, dword [ebx]
jmp 0x401cd2
mov ecx, eax
test ecx, ecx
je 0x401d00
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x401cf9
push ebx
push eax
call fcn.004719fb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401ce7
call fcn.004719fb
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401d18
push ebx
call fcn.004719fb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret