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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565687
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x639ac0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0xc
mov dword [ebp - 0x86c], eax
mov dword [ebp - 0x84c], 0
call fcn.004f69f2
mov ebx, eax
mov dword [ebp - 0x838], eax
add esp, 4
mov dword [ebp - 0x868], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x4508bc
push 0x5c4610
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx], eax
test eax, eax
je 0x451341
jmp 0x4508c4
xor ebx, ebx
mov dword [ebp - 0x838], ebx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x87c], ebx
test ebx, ebx
je 0x45134b
push 0xc
mov dword [ebp - 4], 1
call fcn.004f69f2
mov edi, eax
mov dword [ebp - 0x848], eax
add esp, 4
mov dword [ebp - 0x868], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x450925
push 0x574fa8
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x451355
jmp 0x45092d
xor edi, edi
mov dword [ebp - 0x848], edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x880], edi
test edi, edi
je 0x45135f
lea eax, [ebp - 0x830]
mov dword [ebp - 0x818], 0
push eax
mov dword [ebp - 0x854], 0
mov dword [ebp - 0x864], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0x800
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.004ff750
mov ecx, dword [ebp - 0x86c]
lea edx, [ebp - 0x84c]
add esp, 0xc
mov byte [ebp - 0x811], 0
mov eax, dword [ecx]
push edx
push 0
push 0x20
push dword [edi]
push dword [ebx]
push ecx
call dword [eax + 0x50]
test eax, eax
jns 0x4509c7
call fcn.00455b90
test al, al
je 0x4509c0
push str.WMI:_Get_WMI_info_failed__1_
call fcn.00455a00
add esp, 4
xor esi, esi
jmp 0x450fe1
call fcn.00455b90
test al, al
je 0x4509ec
push str.WMI:_Get_Network_adapter
push 0x6411e0
call fcn.00432fe0
push 0x6411e0
call fcn.00455a00
add esp, 0xc
mov eax, dword [ebp - 0x84c]
lea edx, [ebp - 0x864]
push edx
lea edx, [ebp - 0x818]
mov dword [ebp - 0x83c], 0
push edx
mov ecx, dword [eax]
push 1
push 0x2710
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x450fd0
lea eax, [esi + 0x453f0]
mov dword [ebp - 0x844], eax
lea eax, [esi + 0x47bf0]
mov dword [ebp - 0x834], eax
lea eax, [esi + 0x47c90]
mov dword [ebp - 0x840], eax
lea eax, [esi + 0x41570]
mov edi, eax
mov dword [ebp - 0x868], eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x820], edi
sub esi, eax
lea eax, [esi + 0x48a00]
mov dword [ebp - 0x860], eax
lea ebx, [esi + 0x48690]
lea eax, [esi + 0x47c90]
mov dword [ebp - 0x85c], eax
nop dword [eax]
cmp dword [ebp - 0x864], 0
je 0x450fc4
cmp dword [ebp - 0x83c], 0x14
jge 0x450fc4
mov eax, dword [ebp - 0x818]
lea edx, [ebp - 0x830]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Caption
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x450b55
cmp word [ebp - 0x830], 8
jne 0x450b55
sub esp, 0x10
mov esi, esp
push esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x830]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x45133b
lea eax, [ebp - 0x810]
push eax
call fcn.00453e00
add esp, 0x14
call fcn.00455b90
test al, al
je 0x450b2b
lea eax, [ebp - 0x810]
push eax
push str.WMI:_Get_Network_adapter___s_
push 0x6411e0
call fcn.00432fe0
push 0x6411e0
call fcn.00455a00
add esp, 0x10
lea eax, [ebp - 0x810]
push str.Bluetooth
push eax
call fcn.004fe706
add esp, 8
test eax, eax
lea eax, [ebp - 0x830]
setne byte [ebp - 0x811]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x818]
lea edx, [ebp - 0x830]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.PNPDeviceID
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x450c49
cmp word [ebp - 0x830], 8
jne 0x450c49
sub esp, 0x10
mov esi, esp
push esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x830]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x45133b
push edi
call fcn.00453e00
add esp, 0x14
call fcn.00455b90
test al, al
je 0x450bda
push edi
push str.WMI:_Get_Network_adapter_PNP___s_
push 0x6411e0
call fcn.00432fe0
push 0x6411e0
call fcn.00455a00
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push str.PCI_
push edi
call fcn.004fe706
add esp, 8
test eax, eax
jne 0x450c5a
push str.NVNET_DEV
push edi
call fcn.004fe706
add esp, 8
test eax, eax
jne 0x450c5a
push str.EBDRV_
push edi
call fcn.004fe706
add esp, 8
test eax, eax
jne 0x450c5a
push str.CHT5BUS_
push edi
call fcn.004fe706
add esp, 8
test eax, eax
jne 0x450c5a
push str.MLX4_
push edi
call fcn.004fe706
add esp, 8
test eax, eax
jne 0x450c5a
cmp byte [ebp - 0x811], al
jne 0x450c5a
mov eax, dword [ebp - 0x818]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x450f9b
mov eax, dword [ebp - 0x818]
lea edx, [ebp - 0x830]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Description
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x450cea
cmp word [ebp - 0x830], 8
jne 0x450cea
sub esp, 0x10
mov esi, esp
push esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x830]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x45133b
lea esi, [edi + 0x1f40]
push esi
call fcn.00453e00
add esp, 0x14
call fcn.00455b90
test al, al
je 0x450cdd
push esi
push str.WMI:_Get_Network_adapter_dev___s_
push 0x6411e0
call fcn.00432fe0
push 0x6411e0
call fcn.00455a00
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x818]
lea edx, [ebp - 0x830]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Speed
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x450dcb
cmp word [ebp - 0x830], 8
jne 0x450dcb
sub esp, 0x10
mov esi, esp
push esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x830]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x45133b
lea eax, [ebp - 0x810]
push eax
call fcn.00453e00
add esp, 0x14
call fcn.00455b90
test al, al
je 0x450d82
lea eax, [ebp - 0x810]
push eax
lea eax, [edi + 0x1f40]
push eax
push str.WMI:_Network__s__s
push 0x6411e0
call fcn.00432fe0
push 0x6411e0
call fcn.00455a00
add esp, 0x14
lea eax, [ebp - 0x810]
push eax
call fcn.0052c95c
mov esi, dword [ebp - 0x834]
add esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
cmp edx, 0x918
jb 0x450dba
ja 0x450dad
cmp eax, 0x4e72a000
jbe 0x450dba
mov dword [esi], 0
mov dword [esi + 4], 0
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x830]
push eax
call edi
jmp 0x450de4
mov eax, dword [ebp - 0x834]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x840]
lea edx, [ebp - 0x830]
push 0
xor ecx, ecx
push 0
mov word [eax], cx
mov eax, dword [ebp - 0x818]
push edx
push 0
push str.MACAddress
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x450e8e
cmp word [ebp - 0x830], 8
jne 0x450e8e
sub esp, 0x10
mov esi, esp
push esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x830]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x45133b
lea eax, [ebp - 0x810]
push eax
call fcn.00453e00
lea ecx, [ebp - 0x810]
add esp, 0x14
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450e55
sub ecx, edx
sar ecx, 1
cmp ecx, 0x40
jae 0x450e85
mov edx, dword [ebp - 0x85c]
lea ecx, [ebp - 0x810]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x450e75
lea eax, [ebp - 0x830]
push eax
call edi
push dword [ebp - 0x840]
lea eax, [ebp - 0x810]
mov dword [ebp - 0x858], 0
push str.SELECT__FROM_Win32_NetworkAdapterConfiguration_WHERE_MacAddress____s_
push eax
mov dword [ebp - 0x870], 0
call fcn.00432fe0
push 0xc
call fcn.004f69f2
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x884], edi
mov byte [ebp - 4], 5
test edi, edi
je 0x450efa
lea eax, [ebp - 0x810]
mov dword [edi + 4], 0
push eax
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x451341
jmp 0x450efc
xor edi, edi
mov byte [ebp - 4], 4
mov dword [ebp - 0x850], edi
test edi, edi
je 0x451341
mov edx, dword [ebp - 0x86c]
lea ecx, [ebp - 0x858]
push ecx
mov ecx, dword [ebp - 0x838]
push 0
mov eax, dword [edx]
push 0x20
push dword [edi]
mov byte [ebp - 4], 6
push dword [ecx]
push edx
call dword [eax + 0x50]
test eax, eax
jns 0x45108e
call fcn.00455b90
test al, al
je 0x450f51
push str.WMI:_Get_WMI_info_failed__Win32_NetworkAdapterConfiguration___1_
call fcn.00455a00
add esp, 4
or eax, 0xffffffff
mov byte [ebp - 4], 4
lock xadd dword [edi + 8], eax
dec eax
jne 0x450f95
mov eax, dword [edi]
test eax, eax
je 0x450f73
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x450f8a
push eax
call fcn.004f69ed
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.004f6a22
add esp, 8
mov edi, dword [ebp - 0x820]
mov eax, dword [ebp - 0x84c]
lea edx, [ebp - 0x864]
push edx
lea edx, [ebp - 0x818]
push edx
mov ecx, dword [eax]
push 1
push 0x2710
push eax
call dword [ecx + 0x10]
test eax, eax
jns 0x450a80
mov ebx, dword [ebp - 0x838]
mov edi, dword [ebp - 0x848]
mov eax, dword [ebp - 0x84c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, 1
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x45102e
mov eax, dword [edi]
test eax, eax
je 0x45100c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x451023
push eax
call fcn.004f69ed
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.004f6a22
add esp, 8
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
dec eax
jne 0x45106e
mov eax, dword [ebx]
test eax, eax
je 0x45104c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x451063
push eax
call fcn.004f69ed
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
call fcn.004f6a22
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f66cd
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x858]
lea edx, [ebp - 0x870]
push edx
lea edx, [ebp - 0x854]
push edx
mov ecx, dword [eax]
push 1
push 0x2710
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x451259
cmp dword [ebp - 0x870], 0
je 0x451259
mov eax, dword [ebp - 0x854]
lea edx, [ebp - 0x830]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.IPAddress
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x45124d
mov eax, 0x2008
cmp word [ebp - 0x830], ax
jne 0x45124d
lea eax, [ebp - 0x878]
mov dword [ebp - 0x81c], 0
push eax
push 1
push dword [ebp - 0x828]
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
lea eax, [ebp - 0x874]
push eax
push 1
push dword [ebp - 0x828]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
test eax, eax
js 0x45124d
lea eax, [ebp - 0x81c]
push eax
push dword [ebp - 0x828]
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
js 0x45124d
mov eax, dword [ebp - 0x81c]
test eax, eax
je 0x45124d
mov esi, dword [ebp - 0x878]
cmp esi, dword [ebp - 0x874]
jg 0x451234
nop dword [eax]
nop word [eax + eax]
push dword [eax + esi*4]
lea eax, [ebp - 0x810]
push 0x5bf03c
push eax
call fcn.00432fe0
lea eax, [ebp - 0x810]
push 0x2e
push eax
call fcn.004fe657
add esp, 0x14
test eax, eax
je 0x4511e2
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4511b2
sub ecx, edx
sar ecx, 1
cmp ecx, 0x16
jae 0x4511e2
lea ecx, [ebp - 0x810]
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + ebx - 2], ax
test ax, ax
jne 0x4511d0
jmp 0x451220
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4511f0
sub ecx, edx
sar ecx, 1
cmp ecx, 0x41
jae 0x451220
mov edx, dword [ebp - 0x860]
lea eax, [ebp - 0x810]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x451210
inc esi
cmp esi, dword [ebp - 0x874]
jg 0x451234
mov eax, dword [ebp - 0x81c]
jmp 0x451180
push dword [ebp - 0x828]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x854]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x858]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call fcn.00455b90
mov esi, dword [ebp - 0x820]
test al, al
je 0x4512a2
mov eax, dword [ebp - 0x834]
push dword [eax + 4]
push dword [eax]
lea eax, [esi + 0x1f40]
push eax
push str.WMI:_Network__s___I64u_
push 0x6411e0
call fcn.00432fe0
push 0x6411e0
call fcn.00455a00
add esp, 0x18
push 0x100
push dword [ebp - 0x844]
push dword [ebp - 0x83c]
push dword [ebp - 0x868]
call fcn.00454bc0
add esp, 0x10
call fcn.00455b90
test al, al
je 0x4512ec
push dword [ebp - 0x844]
push str.WMI:_Get_Network_adapter_str___s_
push 0x6411e0
call fcn.00432fe0
push 0x6411e0
call fcn.00455a00
add esp, 0x10
mov eax, dword [ebp - 0x818]
add esi, 0x190
inc dword [ebp - 0x83c]
invalid