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

Disassembly:
push ebp
lea ebp, [esp - 0x1ec]
sub esp, 0x1ec
push 0xffffffffffffffff
push 0x4a9653
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4c7008]
xor eax, ebp
mov dword [ebp + 0x1e8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push 9
xor eax, eax
mov dword [ebp + 0xe0], 0
mov dword [ebp + 0xe4], 0
lea ecx, [ebp + 0xd0]
push 0x4b0ebc
mov dword [ebp - 0x14], 0
mov dword [ebp + 0xe0], 0
mov dword [ebp + 0xe4], 7
mov word [ebp + 0xd0], ax
call fcn.004027a0
mov dword [ebp - 4], 0
lea eax, [ebp + 0xd0]
push eax
call fcn.0046e190
mov ecx, eax
call fcn.0046e250
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xe4]
cmp edx, 8
jb 0x48860b
mov ecx, dword [ebp + 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488601
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x488601
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991e4
add esp, 8
xor eax, eax
mov dword [ebp + 0xe0], 0
mov dword [ebp + 0xe4], 7
mov word [ebp + 0xd0], ax
test edi, edi
je 0x488eb2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CoCreateInstance
push edi
call esi
push str.CoInitializeSecurity
push edi
mov dword [ebp - 0x10], eax
call esi
push str.CoSetProxyBlanket
push edi
mov ebx, eax
call esi
cmp dword [ebp - 0x10], 0
mov edi, eax
je 0x488eb2
test ebx, ebx
je 0x488eb2
test edi, edi
je 0x488eb2
lea ecx, [ebp - 0x24]
call fcn.00472aa0
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 + 0x18]
mov dword [ebp + 0x18], 0
push eax
push 0x4ab68c
push 1
push 0
push 0x4ab75c
call dword [ebp - 0x10]
test eax, eax
js 0x48870d
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x48870d
lea edx, [ebp + 0x1c]
mov dword [ebp + 0x1c], 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 0x488704
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x488704
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 + 0x1c]
jns 0x48872b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x14], 0xfffffffe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00472bd0
mov eax, dword [ebp - 0x14]
jmp 0x488eb7
lea edx, [ebp + 0x10]
mov dword [ebp + 0x10], 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 0x4b3680
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x488769
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x14], 0xfffffffd
jmp 0x488714
push str.OleAut32.dll
lea ecx, [ebp + 0xd0]
call fcn.00403d20
mov byte [ebp - 4], 2
lea eax, [ebp + 0xd0]
push eax
call fcn.0046e190
mov ecx, eax
call fcn.0046e250
mov edi, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xe4]
cmp edx, 8
jb 0x4887d8
mov ecx, dword [ebp + 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4887ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4887ce
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991e4
add esp, 8
xor eax, eax
mov dword [ebp + 0xe0], 0
mov dword [ebp + 0xe4], 7
mov word [ebp + 0xd0], ax
test edi, edi
jne 0x488817
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x14], 0xfffffffc
jmp 0x488714
push str.VariantInit
push edi
call esi
push str.VariantClear
mov ebx, eax
push edi
mov dword [ebp - 0x10], ebx
call esi
mov edi, eax
mov dword [ebp - 0x18], edi
test ebx, ebx
je 0x488e94
test edi, edi
je 0x488e94
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x488e7d
nop dword [eax]
lea edx, [ebp + 0xcc]
mov dword [ebp + 0x14], 0
push edx
lea edx, [ebp + 0x14]
mov dword [ebp + 0xcc], 0
mov eax, dword [ecx]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp + 0xcc], 0
je 0x488e70
cmp dword [ebp + 0x14], 0
je 0x488e70
lea eax, [ebp]
push eax
call ebx
mov eax, dword [ebp + 0x14]
lea edx, [ebp]
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 + 0xe8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp word [ebp], 8
jne 0x48890b
mov esi, dword [ebp + 8]
test esi, esi
je 0x48890b
lea ecx, [ebp + 0xe8]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
nop
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x4888fe
movzx eax, word [esi + ecx]
test ax, ax
je 0x4888fe
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4888e0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp]
push eax
call edi
lea eax, [ebp + 0xe8]
push eax
lea ecx, [ebp + 0xd0]
call fcn.00403d20
mov byte [ebp - 4], 3
mov esi, 7
mov dword [ebp + 0xc8], 0
xor eax, eax
mov dword [ebp + 0xc4], 0
mov dword [ebp + 0xc8], esi
mov dword [ebp + 0xc4], 0
mov word [ebp + 0xb4], ax
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xd0]
push eax
push 0x4b15e4
call fcn.00466d90
cmp eax, 0xffffffff
je 0x4889ed
push eax
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 0xd0]
call fcn.00416810
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xb4]
push eax
call fcn.004026a0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x4889d3
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4889c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4885fb
push edx
push ecx
call fcn.004991e4
add esp, 8
mov esi, dword [ebp + 0xc8]
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov ebx, dword [ebp + 0xb4]
lea ecx, [ebp + 0xb4]
cmp esi, 8
mov edx, str.ROOT
cmovae ecx, ebx
call fcn.0046a6e0
test al, al
je 0x488a30
cmp dword [ebp + 0xe4], 8
lea eax, [ebp + 0xd0]
mov dword [ebp + 0xe0], 0
cmovae eax, dword [ebp + 0xd0]
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp + 0xe8]
push 1
push 0x80
mov ecx, edx
call fcn.00488340
add esp, 8
test eax, eax
je 0x488da2
inc dword [ebp - 0x14]
lea ecx, [ebp + 0x20]
call fcn.00479160
mov byte [ebp - 4], 6
lea ecx, [ebp + 0xe8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488a67
sub ecx, edx
lea eax, [ebp + 0xe8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x38]
call fcn.004027a0
lea eax, [ebp + 0xd0]
push eax
lea ecx, [ebp + 0x9c]
call fcn.004025e0
lea ecx, [ebp + 0x38]
call fcn.0046aa40
cmp dword [ebp + 0x48], 0
je 0x488d96
lea eax, [ebp]
push eax
call dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
lea edx, [ebp]
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 + 0xe8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp word [ebp], 8
jne 0x488b2b
mov esi, dword [ebp + 8]
test esi, esi
je 0x488b2b
lea ecx, [ebp + 0xe8]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x488b1e
movzx eax, word [ecx + esi]
test ax, ax
je 0x488b1e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x488b00
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp]
push eax
call edi
lea ecx, [ebp + 0xe8]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488b40
sub ecx, edx
lea esi, [ebp + 0xea]
sar ecx, 1
lea eax, [ebp + 0xe8]
lea esi, [esi + ecx*2]
mov ecx, eax
cmp ecx, esi
je 0x488b71
cmp word [eax], 0x3a
je 0x488b71
add eax, 2
cmp eax, esi
jne 0x488b64
cmp eax, esi
je 0x488ba9
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 0x488ba6
nop word [eax + eax]
movzx esi, word [ecx]
cmp esi, 0x3a
je 0x488b9e
mov word [eax], si
add eax, 2
inc edx
add ecx, 2
cmp edx, edi
jne 0x488b90
mov edi, dword [ebp - 0x18]
test eax, eax
je 0x488bb2
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp + 0xe8]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488bc0
sub ecx, edx
lea eax, [ebp + 0xe8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x50]
call fcn.004027a0
lea ecx, [ebp + 0x50]
call fcn.0046aa40
mov esi, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call esi
mov eax, dword [ebp + 0x14]
lea edx, [ebp]
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 + 0xe8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp word [ebp], 8
jne 0x488c6e
mov esi, dword [ebp + 8]
test esi, esi
je 0x488c6b
lea ecx, [ebp + 0xe8]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
nop dword [eax + eax]
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x488c5e
movzx eax, word [ecx + esi]
test ax, ax
je 0x488c5e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x488c40
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call edi
lea ecx, [ebp + 0xe8]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488c80
sub ecx, edx
lea eax, [ebp + 0xe8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x20]
call fcn.004027a0
cmp dword [ebp + 0x7c], 8
lea eax, [ebp + 0x68]
mov dword [ebp + 0x78], 0
cmovae eax, dword [ebp + 0x68]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp]
push eax
call esi
mov eax, dword [ebp + 0x14]
lea edx, [ebp]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.NetConnectionStatus
push eax
call dword [ecx + 0x10]
cmp word [ebp], 3
jne 0x488cef
push dword [ebp + 8]
lea eax, [ebp + 0x68]
push 0x4b0720
push eax
call fcn.0046ade0
add esp, 0xc
lea eax, [ebp]
push eax
call edi
mov eax, dword [ebp - 0x1c]
mov byte [ebp + 0x80], 1
mov esi, dword [eax + 4]
cmp dword [eax + 8], esi
je 0x488d84
lea eax, [ebp + 0x20]
mov dword [ebp - 0x20], esi
push eax
mov ecx, esi
call fcn.00404380
mov byte [ebp - 4], 7
lea eax, [ebp + 0x38]
push eax
lea ecx, [esi + 0x18]
call fcn.00404380
mov byte [ebp - 4], 8
lea eax, [ebp + 0x50]
push eax
lea ecx, [esi + 0x30]
call fcn.00404380
mov byte [ebp - 4], 9
lea eax, [ebp + 0x68]
push eax
lea ecx, [esi + 0x48]
call fcn.00404380
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x64]
mov al, byte [ebp + 0x80]
mov byte [esi + 0x60], al
lea eax, [ebp + 0x84]
push eax
call fcn.00404380
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x9c]
push eax
lea ecx, [esi + 0x7c]
call fcn.00404380
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
add dword [ecx + 4], 0x94
jmp 0x488d90
lea ecx, [ebp + 0x20]
push ecx
push esi
mov ecx, eax
call fcn.00484d30
mov esi, dword [ebp + 0xc8]
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x20]
call fcn.00475ae0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 3
cmp esi, 8
jb 0x488de3
lea ecx, [esi*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x488dd9
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4885fb
push ecx
push ebx
call fcn.004991e4
add esp, 8
xor eax, eax
mov dword [ebp + 0xc4], 0
mov dword [ebp + 0xc8], 7
mov word [ebp + 0xb4], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xe4]
cmp edx, 8
jb 0x488e44
mov ecx, dword [ebp + 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488e3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4885fb
push edx
push ecx
call fcn.004991e4
add esp, 8
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp + 0xe0], 0
mov dword [ebp + 0xe4], 7
mov word [ebp + 0xd0], ax
test ecx, ecx
je 0x488e7d
mov ebx, dword [ebp - 0x10]
jmp 0x488850
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x488e7d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x488714
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x14], 0xfffffffb
jmp 0x488714
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 + 0x1e8]
xor ecx, ebp
call fcn.004991a3
lea esp, [ebp + 0x1ec]
pop ebp
ret