Function at 0x494d60
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 0x4c8ae4
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4f2008]
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 - 0x48], ecx
push str.Ole32.dll
lea ecx, [ebp + 0xcc]
mov dword [ebp - 0x14], 0
call fcn.00401931
mov dword [ebp - 4], 0
lea eax, [ebp + 0xcc]
push eax
call fcn.00414c50
mov ecx, eax
call fcn.00414d10
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xcc]
call fcn.0040192c
test edi, edi
je 0x495889
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CoCreateInstance
push edi
call esi
push str.CoInitializeSecurity
push edi
mov dword [ebp - 0x1c], eax
call esi
push str.CoSetProxyBlanket
push edi
mov ebx, eax
call esi
cmp dword [ebp - 0x1c], 0
mov edi, eax
je 0x495889
test ebx, ebx
je 0x495889
test edi, edi
je 0x495889
lea ecx, [ebp - 0x4c]
call fcn.0048dc70
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 0x4d65c4
push 1
push 0
push 0x4d6694
call dword [ebp - 0x1c]
test eax, eax
js 0x494ec6
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x494ec6
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 0x494ebd
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x494ebd
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 0x494ee4
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 - 0x4c]
call fcn.0048dd30
mov eax, dword [ebp - 0x14]
jmp 0x49588e
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 0x4def00
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x494f22
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 0x494ecd
push str.OleAut32.dll
lea ecx, [ebp + 0xcc]
call fcn.00401931
mov byte [ebp - 4], 2
lea eax, [ebp + 0xcc]
push eax
call fcn.00414c50
mov ecx, eax
call fcn.00414d10
mov edi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xcc]
call fcn.0040192c
test edi, edi
jne 0x494f7c
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 0x494ecd
push str.VariantInit
push edi
call esi
push str.VariantClear
push edi
mov dword [ebp - 0x20], eax
call esi
mov esi, dword [ebp - 0x20]
mov ebx, eax
mov dword [ebp - 0x24], ebx
test esi, esi
je 0x49586b
test ebx, ebx
je 0x49586b
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x495854
lea edx, [ebp + 0xe4]
mov dword [ebp + 0x14], 0
push edx
lea edx, [ebp + 0x14]
mov dword [ebp + 0xe4], 0
mov eax, dword [ecx]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp + 0xe4], 0
je 0x495847
cmp dword [ebp + 0x14], 0
je 0x495847
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.PNPDeviceID
push eax
call dword [ecx + 0x10]
push 0x100
lea eax, [ebp + 0xe8]
push 0
push eax
call fcn.00497aa0
add esp, 0xc
cmp word [ebp], 8
jne 0x49506b
mov esi, dword [ebp + 8]
test esi, esi
je 0x49506b
lea ecx, [ebp + 0xe8]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x49505e
movzx eax, word [esi + ecx]
test ax, ax
je 0x49505e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x495040
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp]
push eax
call ebx
lea eax, [ebp + 0xe8]
push eax
lea ecx, [ebp + 0xb4]
call fcn.00401931
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xcc]
call fcn.00401bd5
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xb4]
push 0
push 0x4dbe88
call fcn.0040e760
cmp eax, 0xffffffff
je 0x4950db
push eax
push 0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp + 0xb4]
call fcn.004030d0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xcc]
push eax
call fcn.00402646
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.0040192c
lea ecx, [ebp + 0xcc]
call fcn.00401921
mov edx, str.ROOT
mov ecx, eax
call fcn.004057d0
test al, al
je 0x495101
lea ecx, [ebp + 0xb4]
call fcn.00402634
lea edx, [ebp + 0xe8]
push 1
push 0x80
mov ecx, edx
call fcn.00494b80
add esp, 8
test eax, eax
je 0x495811
inc dword [ebp - 0x14]
lea ecx, [ebp + 0x20]
call fcn.0048a900
mov byte [ebp - 4], 6
lea eax, [ebp + 0xe8]
push eax
call fcn.00401a44
add esp, 4
lea ecx, [ebp + 0x38]
mov ebx, eax
call fcn.00401970
mov edi, eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x10], eax
cmp ebx, eax
ja 0x49518a
mov esi, edi
cmp eax, 8
jb 0x49515d
mov esi, dword [edi]
push ebx
lea eax, [ebp + 0xe8]
mov dword [edi + 0x10], ebx
push eax
push esi
call fcn.00401a12
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.00401a01
add esp, 0x14
jmp 0x4952c6
lea ecx, [ebp + 0x38]
call fcn.00401b82
cmp ebx, eax
ja 0x4958b6
lea ecx, [ebp + 0x38]
call fcn.00401b82
lea ecx, [ebp + 0x38]
mov esi, eax
call fcn.00401970
mov ecx, ebx
or ecx, 7
mov dword [ebp - 0x34], ecx
cmp ecx, esi
ja 0x4951df
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 1
mov eax, esi
sub eax, ecx
cmp edx, eax
ja 0x4951df
lea eax, [ecx + edx]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004019ef
add esp, 8
mov esi, dword [eax]
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x4951f1
or ecx, 0xffffffff
jmp 0x4951f9
cmp ecx, 0x1000
jb 0x495224
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.00495cb6
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4958b1
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x495235
test ecx, ecx
je 0x495233
push ecx
call fcn.00495cb6
add esp, 4
jmp 0x495235
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0xe8]
push ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], esi
mov esi, dword [ebp - 0x28]
push eax
push esi
call fcn.00401a2b
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.00401a01
mov ecx, dword [ebp - 0x10]
add esp, 0x14
cmp ecx, 8
jb 0x4952a6
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x495295
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4958b1
mov eax, edx
push ecx
push eax
call fcn.00495ce6
mov eax, dword [ebp - 0x28]
add esp, 8
mov dword [edi], eax
jmp 0x4952c6
push edi
call fcn.00401a5f
push eax
push 4
call fcn.00401880
mov esi, eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401a5f
add esp, 0x10
mov ecx, dword [eax]
mov dword [esi], ecx
lea eax, [ebp + 0xb4]
push eax
lea ecx, [ebp + 0x9c]
call fcn.00401cfd
lea ecx, [ebp + 0x38]
call fcn.00405b00
lea ecx, [ebp + 0x38]
call fcn.00402620
test al, al
jne 0x495802
lea eax, [ebp]
push eax
call dword [ebp - 0x20]
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 fcn.00497aa0
add esp, 0xc
cmp word [ebp], 8
jne 0x49536d
mov esi, dword [ebp + 8]
test esi, esi
je 0x49536d
lea ecx, [ebp + 0xe8]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x495360
movzx eax, word [ecx + esi]
test ax, ax
je 0x495360
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x495342
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp]
push eax
call dword [ebp - 0x24]
lea ecx, [ebp + 0xe8]
mov dword [ebp - 0x10], 0x3a
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x495384
sub ecx, edx
lea eax, [ebp - 0x10]
sar ecx, 1
lea edx, [ebp + 0xea]
push eax
lea edx, [edx + ecx*2]
lea ecx, [ebp + 0xe8]
call fcn.004958c0
add esp, 4
test eax, eax
je 0x4953b7
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 0xe8]
push eax
call fcn.00401a44
add esp, 4
lea ecx, [ebp + 0x50]
mov ebx, eax
call fcn.00401970
mov edi, eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x18], eax
cmp ebx, eax
ja 0x495412
mov esi, edi
cmp eax, 8
jb 0x4953e5
mov esi, dword [edi]
push ebx
lea eax, [ebp + 0xe8]
mov dword [edi + 0x10], ebx
push eax
push esi
call fcn.00401a12
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.00401a01
add esp, 0x14
jmp 0x49554e
lea ecx, [ebp + 0x50]
call fcn.00401b82
cmp ebx, eax
ja 0x4958b6
lea ecx, [ebp + 0x50]
call fcn.00401b82
lea ecx, [ebp + 0x50]
mov esi, eax
call fcn.00401970
mov ecx, ebx
or ecx, 7
mov dword [ebp - 0x3c], ecx
cmp ecx, esi
ja 0x495467
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 1
mov eax, esi
sub eax, ecx
cmp edx, eax
ja 0x495467
lea eax, [ecx + edx]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004019ef
add esp, 8
mov esi, dword [eax]
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x495479
or ecx, 0xffffffff
jmp 0x495481
cmp ecx, 0x1000
jb 0x4954ac
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.00495cb6
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4958b1
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4954bd
test ecx, ecx
je 0x4954bb
push ecx
call fcn.00495cb6
add esp, 4
jmp 0x4954bd
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0xe8]
push ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], esi
mov esi, dword [ebp - 0x2c]
push eax
push esi
call fcn.00401a2b
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.00401a01
mov ecx, dword [ebp - 0x18]
add esp, 0x14
cmp ecx, 8
jb 0x49552e
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x49551d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4958b1
mov eax, edx
push ecx
push eax
call fcn.00495ce6
mov eax, dword [ebp - 0x2c]
add esp, 8
mov dword [edi], eax
jmp 0x49554e
push edi
call fcn.00401a5f
push eax
push 4
call fcn.00401880
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00401a5f
add esp, 0x10
mov ecx, dword [eax]
mov dword [esi], ecx
lea ecx, [ebp + 0x50]
call fcn.00405b00
lea eax, [ebp]
push eax
call dword [ebp - 0x20]
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 fcn.00497aa0
add esp, 0xc
cmp word [ebp], 8
jne 0x4955db
mov esi, dword [ebp + 8]
test esi, esi
je 0x4955db
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 0x4955ce
movzx eax, word [ecx + esi]
test ax, ax
je 0x4955ce
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4955b0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp]
push eax
call dword [ebp - 0x24]
lea eax, [ebp + 0xe8]
push eax
call fcn.00401a44
add esp, 4
lea ecx, [ebp + 0x20]
mov ebx, eax
call fcn.00401970
mov edi, eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x18], eax
cmp ebx, eax
ja 0x49563d
mov esi, edi
cmp eax, 8
jb 0x495610
mov esi, dword [edi]
push ebx
lea eax, [ebp + 0xe8]
mov dword [edi + 0x10], ebx
push eax
push esi
call fcn.00401a12
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.00401a01
add esp, 0x14
jmp 0x495779
lea ecx, [ebp + 0x20]
call fcn.00401b82
cmp ebx, eax
ja 0x4958b6
lea ecx, [ebp + 0x20]
call fcn.00401b82
lea ecx, [ebp + 0x20]
mov esi, eax
call fcn.00401970
mov ecx, ebx
or ecx, 7
mov dword [ebp - 0x44], ecx
cmp ecx, esi
ja 0x495692
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 1
mov eax, esi
sub eax, ecx
cmp edx, eax
ja 0x495692
lea eax, [ecx + edx]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004019ef
add esp, 8
mov esi, dword [eax]
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x4956a4
or ecx, 0xffffffff
jmp 0x4956ac
cmp ecx, 0x1000
jb 0x4956d7
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.00495cb6
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4958b1
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4956e8
test ecx, ecx
je 0x4956e6
push ecx
call fcn.00495cb6
add esp, 4
jmp 0x4956e8
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0xe8]
push ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], esi
mov esi, dword [ebp - 0x1c]
push eax
push esi
call fcn.00401a2b
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.00401a01
mov ecx, dword [ebp - 0x18]
add esp, 0x14
cmp ecx, 8
jb 0x495759
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x495748
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4958b1
mov eax, edx
push ecx
push eax
call fcn.00495ce6
mov eax, dword [ebp - 0x1c]
add esp, 8
mov dword [edi], eax
jmp 0x495779
push edi
call fcn.00401a5f
push eax
push 4
call fcn.00401880
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00401a5f
add esp, 0x10
mov ecx, dword [eax]
mov dword [esi], ecx
lea ecx, [ebp + 0x68]
call fcn.00402634
lea eax, [ebp]
push eax
call dword [ebp - 0x20]
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 0x4957bb
push dword [ebp + 8]
lea eax, [ebp + 0x68]
push 0x4dcc7c
push eax
call fcn.00405d70
add esp, 0xc
lea eax, [ebp]
push eax
call dword [ebp - 0x24]
mov ebx, dword [ebp - 0x48]
mov byte [ebp + 0x80], 1
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
je 0x4957f6
push eax
push 0x94
call fcn.00401880
add esp, 8
lea ecx, [ebp + 0x20]
push ecx
mov ecx, eax
call fcn.00489490
add dword [ebx + 4], 0x94
jmp 0x495802
lea ecx, [ebp + 0x20]
push ecx
push eax
mov ecx, ebx
call fcn.004924f0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x20]
call fcn.004855c0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xcc]
call fcn.0040192c
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xb4]
call fcn.0040192c
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x495854
mov esi, dword [ebp - 0x20]
jmp 0x494fb2
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x495854
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 0x494ecd
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 0x494ecd
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.00495ca5
lea esp, [ebp + 0x1ec]
pop ebp
ret
call fcn.00499d54
call fcn.00401b40
int3