Function at 0x4898a0
Capabilities:
Link many functions at runtime
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x695def
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x748068]
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 dword [ebp - 0x210], ecx
push str.Ole32.dll
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x204], 0
call fcn.00405d30
mov dword [ebp - 4], 0
lea eax, [ebp - 0x12c]
push eax
call fcn.00450f20
mov ecx, eax
call fcn.00450fe0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00405ce0
test edi, edi
je 0x48a0a1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6e0718
push edi
call esi
push str.CoInitializeSecurity
push edi
mov dword [ebp - 0x1e4], eax
call esi
push str.CoSetProxyBlanket
push edi
mov ebx, eax
call esi
cmp dword [ebp - 0x1e4], 0
mov edi, eax
je 0x48a0a1
test ebx, ebx
je 0x48a0a1
test edi, edi
je 0x48a0a1
lea ecx, [ebp - 0x214]
call fcn.0048a140
mov dword [ebp - 4], 1
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call ebx
lea eax, [ebp - 0x1ec]
mov dword [ebp - 0x1ec], 0
push eax
push 0x6c0504
push 1
push 0
push 0x6c05d4
call dword [ebp - 0x1e4]
test eax, eax
js 0x489a25
mov ecx, dword [ebp - 0x1ec]
test ecx, ecx
je 0x489a25
lea edx, [ebp - 0x1e8]
mov dword [ebp - 0x1e8], 0
mov eax, dword [ecx]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push str.ROOTCIMV2
push ecx
call dword [eax + 0xc]
test eax, eax
js 0x489a19
mov eax, dword [ebp - 0x1e8]
test eax, eax
je 0x489a19
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call edi
test eax, eax
mov eax, dword [ebp - 0x1e8]
jns 0x489a4c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1ec]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x204], 0xfffffffe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x214]
call fcn.0048a200
mov eax, dword [ebp - 0x204]
jmp 0x48a0a6
lea edx, [ebp - 0x1f0]
mov dword [ebp - 0x1f0], 0
mov ecx, dword [eax]
push edx
push 0
push 0x30
push str.SELECT__FROM_Win32_NetworkAdapter_WHERE__MACAddress_IS_NOT_NULL__AND__NOT__PNPDeviceID_LIKE_ROOT___
push 0x6e0744
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x489a99
mov eax, dword [ebp - 0x1e8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1ec]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x204], 0xfffffffd
jmp 0x489a2f
push str.OleAut32.dll
lea ecx, [ebp - 0x12c]
call fcn.00405d30
mov byte [ebp - 4], 2
lea eax, [ebp - 0x12c]
push eax
call fcn.00450f20
mov ecx, eax
call fcn.00450fe0
mov edi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.00405ce0
test edi, edi
jne 0x489afc
mov eax, dword [ebp - 0x1e8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1ec]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x204], 0xfffffffc
jmp 0x489a2f
push str.VariantInit
push edi
call esi
push str.VariantClear
mov ebx, eax
push edi
mov dword [ebp - 0x208], ebx
call esi
mov edi, eax
test ebx, ebx
je 0x48a07a
test edi, edi
je 0x48a07a
mov ecx, dword [ebp - 0x1f0]
test ecx, ecx
je 0x48a05d
nop dword [eax]
nop dword [eax + eax]
lea edx, [ebp - 0x114]
mov dword [ebp - 0x1e4], 0
push edx
lea edx, [ebp - 0x1e4]
mov dword [ebp - 0x114], 0
mov eax, dword [ecx]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x114], 0
je 0x48a04d
cmp dword [ebp - 0x1e4], 0
je 0x48a04d
lea eax, [ebp - 0x200]
push eax
call ebx
mov eax, dword [ebp - 0x1e4]
lea edx, [ebp - 0x200]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.PNPDeviceID
push eax
call dword [ecx + 0x10]
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00652810
add esp, 0xc
cmp word [ebp - 0x200], 8
jne 0x489c11
mov esi, dword [ebp - 0x1f8]
test esi, esi
je 0x489c11
lea ecx, [ebp - 0x110]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x489c04
movzx eax, word [ecx + esi]
test ax, ax
je 0x489c04
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x489be6
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x200]
push eax
call edi
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x144]
call fcn.00405d30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x12c]
call fcn.00405d80
mov byte [ebp - 4], 4
push ecx
push 0x6ddf40
lea ecx, [ebp - 0x144]
call fcn.00437ed0
cmp eax, 0xffffffff
je 0x489c89
push eax
push 0
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x144]
call fcn.0040c900
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x12c]
push eax
call fcn.00405cf0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x22c]
call fcn.00405ce0
lea ecx, [ebp - 0x12c]
call fcn.00405ca0
mov edx, str.ROOT
mov ecx, eax
call fcn.0042fef0
test al, al
je 0x489caf
lea ecx, [ebp - 0x144]
call fcn.0041cd30
lea edx, [ebp - 0x110]
push 1
push 0x80
mov ecx, edx
call fcn.004896c0
add esp, 8
test eax, eax
je 0x48a013
inc dword [ebp - 0x204]
lea ecx, [ebp - 0x1e0]
call fcn.00405d80
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c8]
call fcn.00405d80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1b0]
call fcn.00405d80
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x198]
call fcn.00405d80
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x17c]
call fcn.00405d80
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x164]
call fcn.00405d80
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x180], 0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x110]
push eax
call fcn.004060d0
add esp, 4
lea ecx, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00405ec0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x164]
call fcn.0040ca40
lea ecx, [ebp - 0x1c8]
call fcn.00430240
lea ecx, [ebp - 0x1c8]
call fcn.00405c90
test al, al
jne 0x48a004
lea eax, [ebp - 0x200]
push eax
call ebx
mov eax, dword [ebp - 0x1e4]
lea edx, [ebp - 0x200]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.MACAddress
push eax
call dword [ecx + 0x10]
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00652810
add esp, 0xc
cmp word [ebp - 0x200], 8
jne 0x489e1b
mov esi, dword [ebp - 0x1f8]
test esi, esi
je 0x489e1b
lea ecx, [ebp - 0x110]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
nop dword [eax + eax]
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x489e0e
movzx eax, word [ecx + esi]
test ax, ax
je 0x489e0e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x489df0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x200]
push eax
call edi
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x20c], 0x3a
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x489e37
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
lea edx, [ebp - 0x10e]
push eax
lea edx, [edx + ecx*2]
lea ecx, [ebp - 0x110]
call fcn.0048a0d0
add esp, 4
test eax, eax
je 0x489e6d
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x110]
push eax
call fcn.004060d0
add esp, 4
lea ecx, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00405ec0
lea ecx, [ebp - 0x1b0]
call fcn.00430240
lea eax, [ebp - 0x200]
push eax
call ebx
mov eax, dword [ebp - 0x1e4]
lea edx, [ebp - 0x200]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.GUID
push eax
call dword [ecx + 0x10]
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00652810
add esp, 0xc
cmp word [ebp - 0x200], 8
jne 0x489f2b
mov esi, dword [ebp - 0x1f8]
test esi, esi
je 0x489f2b
lea ecx, [ebp - 0x110]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
nop word [eax + eax]
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x489f1e
movzx eax, word [ecx + esi]
test ax, ax
je 0x489f1e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x489f00
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x200]
push eax
call edi
lea eax, [ebp - 0x110]
push eax
call fcn.004060d0
add esp, 4
lea ecx, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00405ec0
lea ecx, [ebp - 0x198]
call fcn.0041cd30
lea eax, [ebp - 0x200]
push eax
call ebx
mov eax, dword [ebp - 0x1e4]
lea edx, [ebp - 0x200]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.NetConnectionStatus
push eax
call dword [ecx + 0x10]
cmp word [ebp - 0x200], 3
jne 0x489fac
push dword [ebp - 0x1f8]
lea eax, [ebp - 0x198]
push 0x6df24c
push eax
call fcn.004304b0
add esp, 0xc
lea eax, [ebp - 0x200]
push eax
call edi
mov ebx, dword [ebp - 0x210]
mov byte [ebp - 0x180], 1
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
je 0x489fef
push eax
push 0x94
call fcn.004047f0
add esp, 8
lea ecx, [ebp - 0x1e0]
push ecx
mov ecx, eax
call fcn.00466ac0
add dword [ebx + 4], 0x94
jmp 0x489ffe
lea ecx, [ebp - 0x1e0]
push ecx
push eax
mov ecx, ebx
call fcn.0047df30
mov ebx, dword [ebp - 0x208]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1e0]
call fcn.00464600
mov eax, dword [ebp - 0x1e4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x12c]
call fcn.00405ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x144]
call fcn.00405ce0
mov ecx, dword [ebp - 0x1f0]
test ecx, ecx
jne 0x489b40
jmp 0x48a05d
mov ecx, dword [ebp - 0x1f0]
test ecx, ecx
je 0x48a05d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1e8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1ec]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x489a2f
mov eax, dword [ebp - 0x1e8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1ec]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x204], 0xfffffffb
jmp 0x489a2f
mov eax, 0xfffffffe
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.0064fb08
mov esp, ebp
pop ebp
ret