Function at 0x486150
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 0x4a7403
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4c5008]
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 0x4ae8b4
mov dword [ebp - 0x14], 0
mov dword [ebp + 0xe0], 0
mov dword [ebp + 0xe4], 7
mov word [ebp + 0xd0], ax
call fcn.00402760
mov dword [ebp - 4], 0
lea eax, [ebp + 0xd0]
push eax
call fcn.00474710
mov ecx, eax
call fcn.004747d0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xe4]
cmp edx, 8
jb 0x48623b
mov ecx, dword [ebp + 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x486231
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x486231
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00497124
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 0x486ae2
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 0x486ae2
test ebx, ebx
je 0x486ae2
test edi, edi
je 0x486ae2
lea ecx, [ebp - 0x24]
call fcn.0047cbc0
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 0x4a968c
push 1
push 0
push 0x4a975c
call dword [ebp - 0x10]
test eax, eax
js 0x48633d
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x48633d
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 0x486334
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x486334
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 0x48635b
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.0047ccf0
mov eax, dword [ebp - 0x14]
jmp 0x486ae7
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 0x4b10cc
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x486399
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 0x486344
push str.OleAut32.dll
lea ecx, [ebp + 0xd0]
call fcn.00402680
mov byte [ebp - 4], 2
lea eax, [ebp + 0xd0]
push eax
call fcn.00474710
mov ecx, eax
call fcn.004747d0
mov edi, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xe4]
cmp edx, 8
jb 0x486408
mov ecx, dword [ebp + 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4863fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4863fe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00497124
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 0x486447
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 0x486344
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 0x486ac4
test edi, edi
je 0x486ac4
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x486aad
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 0x486aa0
cmp dword [ebp + 0x14], 0
je 0x486aa0
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 0x48653b
mov esi, dword [ebp + 8]
test esi, esi
je 0x48653b
lea ecx, [ebp + 0xe8]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
nop
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x48652e
movzx eax, word [esi + ecx]
test ax, ax
je 0x48652e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x486510
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.00402680
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 0x4af018
call fcn.004645b0
cmp eax, 0xffffffff
je 0x48661d
push eax
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 0xd0]
call fcn.00413f10
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xb4]
push eax
call fcn.00403870
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x486603
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4865f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48622b
push edx
push ecx
call fcn.00497124
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.0046b9f0
test al, al
je 0x486660
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.00485f70
add esp, 8
test eax, eax
je 0x4869d2
inc dword [ebp - 0x14]
lea ecx, [ebp + 0x20]
call fcn.00479b70
mov byte [ebp - 4], 6
lea ecx, [ebp + 0xe8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486697
sub ecx, edx
lea eax, [ebp + 0xe8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x38]
call fcn.00402760
lea eax, [ebp + 0xd0]
push eax
lea ecx, [ebp + 0x9c]
call fcn.00404900
lea ecx, [ebp + 0x38]
call fcn.0046bd50
cmp dword [ebp + 0x48], 0
je 0x4869c6
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 0x48675b
mov esi, dword [ebp + 8]
test esi, esi
je 0x48675b
lea ecx, [ebp + 0xe8]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x48674e
movzx eax, word [ecx + esi]
test ax, ax
je 0x48674e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x486730
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 0x486770
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 0x4867a1
cmp word [eax], 0x3a
je 0x4867a1
add eax, 2
cmp eax, esi
jne 0x486794
cmp eax, esi
je 0x4867d9
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 0x4867d6
nop word [eax + eax]
movzx esi, word [ecx]
cmp esi, 0x3a
je 0x4867ce
mov word [eax], si
add eax, 2
inc edx
add ecx, 2
cmp edx, edi
jne 0x4867c0
mov edi, dword [ebp - 0x18]
test eax, eax
je 0x4867e2
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 0x4867f0
sub ecx, edx
lea eax, [ebp + 0xe8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x50]
call fcn.00402760
lea ecx, [ebp + 0x50]
call fcn.0046bd50
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 0x48689e
mov esi, dword [ebp + 8]
test esi, esi
je 0x48689b
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 0x48688e
movzx eax, word [ecx + esi]
test ax, ax
je 0x48688e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x486870
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 0x4868b0
sub ecx, edx
lea eax, [ebp + 0xe8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x20]
call fcn.00402760
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 0x48691f
push dword [ebp + 8]
lea eax, [ebp + 0x68]
push 0x4ae118
push eax
call fcn.0046c0f0
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 0x4869b4
lea eax, [ebp + 0x20]
mov dword [ebp - 0x20], esi
push eax
mov ecx, esi
call fcn.00404930
mov byte [ebp - 4], 7
lea eax, [ebp + 0x38]
push eax
lea ecx, [esi + 0x18]
call fcn.00404930
mov byte [ebp - 4], 8
lea eax, [ebp + 0x50]
push eax
lea ecx, [esi + 0x30]
call fcn.00404930
mov byte [ebp - 4], 9
lea eax, [ebp + 0x68]
push eax
lea ecx, [esi + 0x48]
call fcn.00404930
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.00404930
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x9c]
push eax
lea ecx, [esi + 0x7c]
call fcn.00404930
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
add dword [ecx + 4], 0x94
jmp 0x4869c0
lea ecx, [ebp + 0x20]
push ecx
push esi
mov ecx, eax
call fcn.00482880
mov esi, dword [ebp + 0xc8]
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x20]
call fcn.00476240
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 3
cmp esi, 8
jb 0x486a13
lea ecx, [esi*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x486a09
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48622b
push ecx
push ebx
call fcn.00497124
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 0x486a74
mov ecx, dword [ebp + 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x486a6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48622b
push edx
push ecx
call fcn.00497124
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 0x486aad
mov ebx, dword [ebp - 0x10]
jmp 0x486480
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x486aad
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 0x486344
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 0x486344
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.004970e3
lea esp, [ebp + 0x1ec]
pop ebp
ret