Function at 0x486740
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 0x4a76b3
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 0x4aed30
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.0046c3a0
mov ecx, eax
call fcn.0046c460
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xe4]
cmp edx, 8
jb 0x48682b
mov ecx, dword [ebp + 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x486821
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x486821
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00497404
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 0x4870d2
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 0x4870d2
test ebx, ebx
je 0x4870d2
test edi, edi
je 0x4870d2
lea ecx, [ebp - 0x24]
call fcn.00470cb0
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 0x48692d
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x48692d
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 0x486924
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x486924
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 0x48694b
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.00470de0
mov eax, dword [ebp - 0x14]
jmp 0x4870d7
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 0x4b14cc
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x486989
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 0x486934
push str.OleAut32.dll
lea ecx, [ebp + 0xd0]
call fcn.00403d20
mov byte [ebp - 4], 2
lea eax, [ebp + 0xd0]
push eax
call fcn.0046c3a0
mov ecx, eax
call fcn.0046c460
mov edi, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xe4]
cmp edx, 8
jb 0x4869f8
mov ecx, dword [ebp + 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4869ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4869ee
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00497404
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 0x486a37
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 0x486934
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 0x4870b4
test edi, edi
je 0x4870b4
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x48709d
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 0x487090
cmp dword [ebp + 0x14], 0
je 0x487090
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 0x486b2b
mov esi, dword [ebp + 8]
test esi, esi
je 0x486b2b
lea ecx, [ebp + 0xe8]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
nop
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x486b1e
movzx eax, word [esi + ecx]
test ax, ax
je 0x486b1e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x486b00
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 0x4af428
call fcn.00464fb0
cmp eax, 0xffffffff
je 0x486c0d
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 0x486bf3
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x486be9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48681b
push edx
push ecx
call fcn.00497404
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.00468900
test al, al
je 0x486c50
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.00486560
add esp, 8
test eax, eax
je 0x486fc2
inc dword [ebp - 0x14]
lea ecx, [ebp + 0x20]
call fcn.00477370
mov byte [ebp - 4], 6
lea ecx, [ebp + 0xe8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486c87
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.00468c50
cmp dword [ebp + 0x48], 0
je 0x486fb6
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 0x486d4b
mov esi, dword [ebp + 8]
test esi, esi
je 0x486d4b
lea ecx, [ebp + 0xe8]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x486d3e
movzx eax, word [ecx + esi]
test ax, ax
je 0x486d3e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x486d20
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 0x486d60
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 0x486d91
cmp word [eax], 0x3a
je 0x486d91
add eax, 2
cmp eax, esi
jne 0x486d84
cmp eax, esi
je 0x486dc9
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 0x486dc6
nop word [eax + eax]
movzx esi, word [ecx]
cmp esi, 0x3a
je 0x486dbe
mov word [eax], si
add eax, 2
inc edx
add ecx, 2
cmp edx, edi
jne 0x486db0
mov edi, dword [ebp - 0x18]
test eax, eax
je 0x486dd2
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 0x486de0
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.00468c50
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 0x486e8e
mov esi, dword [ebp + 8]
test esi, esi
je 0x486e8b
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 0x486e7e
movzx eax, word [ecx + esi]
test ax, ax
je 0x486e7e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x486e60
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 0x486ea0
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 0x486f0f
push dword [ebp + 8]
lea eax, [ebp + 0x68]
push 0x4ae6b8
push eax
call fcn.00468ff0
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 0x486fa4
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 0x486fb0
lea ecx, [ebp + 0x20]
push ecx
push esi
mov ecx, eax
call fcn.00482f50
mov esi, dword [ebp + 0xc8]
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x20]
call fcn.00473cf0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 3
cmp esi, 8
jb 0x487003
lea ecx, [esi*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x486ff9
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48681b
push ecx
push ebx
call fcn.00497404
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 0x487064
mov ecx, dword [ebp + 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48705a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48681b
push edx
push ecx
call fcn.00497404
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 0x48709d
mov ebx, dword [ebp - 0x10]
jmp 0x486a70
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x48709d
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 0x486934
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 0x486934
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.004973c3
lea esp, [ebp + 0x1ec]
pop ebp
ret