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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d862f
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x50e008]
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 - 0x214], ecx
push str.Ole32.dll
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x204], 0
call fcn.00402700
mov dword [ebp - 4], 0
lea eax, [ebp - 0x12c]
push eax
call fcn.004131f0
mov ecx, eax
call fcn.004132b0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00402290
test edi, edi
je 0x4883ca
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CoCreateInstance
push edi
call esi
push str.CoInitializeSecurity
push edi
mov dword [ebp - 0x208], eax
call esi
push str.CoSetProxyBlanket
push edi
mov ebx, eax
call esi
cmp dword [ebp - 0x208], 0
mov edi, eax
je 0x4883ca
test ebx, ebx
je 0x4883ca
test edi, edi
je 0x4883ca
lea ecx, [ebp - 0x218]
call fcn.0047b420
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 - 0x1e8]
mov dword [ebp - 0x1e8], 0
push eax
push 0x4e8c34
push 1
push 0
push 0x4e8d04
call dword [ebp - 0x208]
test eax, eax
js 0x487ce5
mov ecx, dword [ebp - 0x1e8]
test ecx, ecx
je 0x487ce5
lea edx, [ebp - 0x1e4]
mov dword [ebp - 0x1e4], 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 0x487cd9
mov eax, dword [ebp - 0x1e4]
test eax, eax
je 0x487cd9
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 - 0x1e4]
jns 0x487d0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1e8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x204], 0xfffffffe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.0047b4e0
mov eax, dword [ebp - 0x204]
jmp 0x4883cf
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 0x4f348c
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x487d59
mov eax, dword [ebp - 0x1e4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1e8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x204], 0xfffffffd
jmp 0x487cef
push str.OleAut32.dll
lea ecx, [ebp - 0x12c]
call fcn.00402700
mov byte [ebp - 4], 2
lea eax, [ebp - 0x12c]
push eax
call fcn.004131f0
mov ecx, eax
call fcn.004132b0
mov edi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.00402290
test edi, edi
jne 0x487dbc
mov eax, dword [ebp - 0x1e4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1e8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x204], 0xfffffffc
jmp 0x487cef
push str.VariantInit
push edi
call esi
push str.VariantClear
push edi
mov dword [ebp - 0x208], eax
call esi
mov edi, dword [ebp - 0x208]
mov ebx, eax
mov dword [ebp - 0x210], ebx
test edi, edi
je 0x4883a3
test ebx, ebx
je 0x4883a3
mov ecx, dword [ebp - 0x1f0]
test ecx, ecx
je 0x488386
nop
lea edx, [ebp - 0x114]
mov dword [ebp - 0x1ec], 0
push edx
lea edx, [ebp - 0x1ec]
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 0x488376
cmp dword [ebp - 0x1ec], 0
je 0x488376
lea eax, [ebp - 0x200]
push eax
call edi
mov eax, dword [ebp - 0x1ec]
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.004a2d80
add esp, 0xc
cmp word [ebp - 0x200], 8
jne 0x487ed1
mov esi, dword [ebp - 0x1f8]
test esi, esi
je 0x487ed1
lea ecx, [ebp - 0x110]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x487ec4
movzx eax, word [esi + ecx]
test ax, ax
je 0x487ec4
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x487ea6
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x200]
push eax
call ebx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x144]
call fcn.00402700
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x12c]
call fcn.00402750
mov byte [ebp - 4], 4
push ecx
push 0x4ed16c
lea ecx, [ebp - 0x144]
call fcn.00409f50
cmp eax, 0xffffffff
je 0x487f49
push eax
push 0
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x144]
call fcn.004088a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x12c]
push eax
call fcn.004026c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x230]
call fcn.00402290
lea ecx, [ebp - 0x12c]
call fcn.00405b00
mov edx, str.ROOT
mov ecx, eax
call fcn.00412450
test al, al
je 0x487f98
lea ecx, [ebp - 0x144]
call fcn.00402850
mov dword [ebp - 0x20c], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x487f88
mov eax, dword [eax]
lea ecx, [ebp - 0x20c]
push ecx
push eax
call fcn.00402a20
add esp, 8
lea edx, [ebp - 0x110]
push 1
push 0x80
mov ecx, edx
call fcn.00487980
add esp, 8
test eax, eax
je 0x48833c
inc dword [ebp - 0x204]
lea ecx, [ebp - 0x1e0]
call fcn.00402750
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c8]
call fcn.00402750
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1b0]
call fcn.00402750
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x198]
call fcn.00402750
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x17c]
call fcn.00402750
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x164]
call fcn.00402750
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x180], 0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x110]
push eax
call fcn.00402a80
add esp, 4
lea ecx, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00402870
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x164]
call fcn.00402690
lea ecx, [ebp - 0x1c8]
call fcn.00412760
lea ecx, [ebp - 0x1c8]
call fcn.00402650
test al, al
jne 0x48832d
lea eax, [ebp - 0x200]
push eax
call edi
mov eax, dword [ebp - 0x1ec]
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.004a2d80
add esp, 0xc
cmp word [ebp - 0x200], 8
jne 0x4880ff
mov esi, dword [ebp - 0x1f8]
test esi, esi
je 0x4880ff
lea ecx, [ebp - 0x110]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x4880f2
movzx eax, word [esi + ecx]
test ax, ax
je 0x4880f2
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4880d4
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x200]
push eax
call ebx
lea ecx, [ebp - 0x110]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488111
sub ecx, edx
lea esi, [ebp - 0x10e]
sar ecx, 1
lea eax, [ebp - 0x110]
lea esi, [esi + ecx*2]
mov ecx, eax
cmp ecx, esi
je 0x488142
cmp word [eax], 0x3a
je 0x488142
add eax, 2
cmp eax, esi
jne 0x488135
cmp eax, esi
je 0x48817c
lea ecx, [eax + 2]
mov edi, esi
sub edi, ecx
xor edx, edx
inc edi
shr edi, 1
cmp ecx, esi
cmova edi, edx
test edi, edi
je 0x488176
nop dword [eax + eax]
movzx esi, word [ecx]
cmp esi, 0x3a
je 0x48816e
mov word [eax], si
add eax, 2
inc edx
add ecx, 2
cmp edx, edi
jne 0x488160
mov edi, dword [ebp - 0x208]
test eax, eax
je 0x488185
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x110]
push eax
call fcn.00402a80
add esp, 4
lea ecx, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00402870
lea ecx, [ebp - 0x1b0]
call fcn.00412760
lea eax, [ebp - 0x200]
push eax
call edi
mov eax, dword [ebp - 0x1ec]
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.004a2d80
add esp, 0xc
cmp word [ebp - 0x200], 8
jne 0x48823d
mov esi, dword [ebp - 0x1f8]
test esi, esi
je 0x48823d
lea ecx, [ebp - 0x110]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x488230
movzx eax, word [esi + ecx]
test ax, ax
je 0x488230
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x488212
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x200]
push eax
call ebx
lea eax, [ebp - 0x110]
push eax
call fcn.00402a80
add esp, 4
lea ecx, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00402870
lea ecx, [ebp - 0x198]
call fcn.00402850
mov dword [ebp - 0x20c], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x48828c
mov eax, dword [eax]
lea ecx, [ebp - 0x20c]
push ecx
push eax
call fcn.00402a20
add esp, 8
lea eax, [ebp - 0x200]
push eax
call edi
mov eax, dword [ebp - 0x1ec]
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 0x4882e7
push dword [ebp - 0x1f8]
lea eax, [ebp - 0x198]
push 0x4f046c
push eax
call fcn.004129d0
add esp, 0xc
lea eax, [ebp - 0x200]
push eax
call ebx
mov ebx, dword [ebp - 0x214]
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 0x180], 1
push ecx
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
je 0x48831f
mov edx, eax
call fcn.00482930
add esp, 4
add dword [ebx + 4], 0x94
jmp 0x488327
push eax
mov ecx, ebx
call fcn.004829f0
mov ebx, dword [ebp - 0x210]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1e0]
call fcn.00474040
mov eax, dword [ebp - 0x1ec]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x12c]
call fcn.00402290
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x144]
call fcn.00402290
mov ecx, dword [ebp - 0x1f0]
test ecx, ecx
jne 0x487e00
jmp 0x488386
mov ecx, dword [ebp - 0x1f0]
test ecx, ecx
je 0x488386
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1e4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1e8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x487cef
mov eax, dword [ebp - 0x1e4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1e8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x204], 0xfffffffb
jmp 0x487cef
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.004a100a
mov esp, ebp
pop ebp
ret