Function at 0x4846e0
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 0x4a5c13
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4c4008]
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 0x4ad868
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.00472a60
mov ecx, eax
call fcn.00472b20
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xe4]
cmp edx, 8
jb 0x4847cb
mov ecx, dword [ebp + 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4847c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4847c1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495a94
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 0x485072
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 0x485072
test ebx, ebx
je 0x485072
test edi, edi
je 0x485072
lea ecx, [ebp - 0x24]
call fcn.0047af30
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 0x4a868c
push 1
push 0
push 0x4a875c
call dword [ebp - 0x10]
test eax, eax
js 0x4848cd
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x4848cd
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 0x4848c4
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4848c4
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 0x4848eb
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.0047b060
mov eax, dword [ebp - 0x14]
jmp 0x485077
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 0x4b004c
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x484929
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 0x4848d4
push str.OleAut32.dll
lea ecx, [ebp + 0xd0]
call fcn.00402680
mov byte [ebp - 4], 2
lea eax, [ebp + 0xd0]
push eax
call fcn.00472a60
mov ecx, eax
call fcn.00472b20
mov edi, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xe4]
cmp edx, 8
jb 0x484998
mov ecx, dword [ebp + 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48498e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48498e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495a94
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 0x4849d7
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 0x4848d4
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 0x485054
test edi, edi
je 0x485054
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x48503d
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 0x485030
cmp dword [ebp + 0x14], 0
je 0x485030
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 0x484acb
mov esi, dword [ebp + 8]
test esi, esi
je 0x484acb
lea ecx, [ebp + 0xe8]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
nop
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x484abe
movzx eax, word [esi + ecx]
test ax, ax
je 0x484abe
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x484aa0
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 0x4adf9c
call fcn.004628b0
cmp eax, 0xffffffff
je 0x484bad
push eax
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 0xd0]
call fcn.00414110
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xb4]
push eax
call fcn.004039b0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x484b93
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x484b89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4847bb
push edx
push ecx
call fcn.00495a94
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.004693d0
test al, al
je 0x484bf0
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.00484500
add esp, 8
test eax, eax
je 0x484f62
inc dword [ebp - 0x14]
lea ecx, [ebp + 0x20]
call fcn.00477eb0
mov byte [ebp - 4], 6
lea ecx, [ebp + 0xe8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x484c27
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.00404a50
lea ecx, [ebp + 0x38]
call fcn.00469720
cmp dword [ebp + 0x48], 0
je 0x484f56
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 0x484ceb
mov esi, dword [ebp + 8]
test esi, esi
je 0x484ceb
lea ecx, [ebp + 0xe8]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x484cde
movzx eax, word [ecx + esi]
test ax, ax
je 0x484cde
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x484cc0
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 0x484d00
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 0x484d31
cmp word [eax], 0x3a
je 0x484d31
add eax, 2
cmp eax, esi
jne 0x484d24
cmp eax, esi
je 0x484d69
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 0x484d66
nop word [eax + eax]
movzx esi, word [ecx]
cmp esi, 0x3a
je 0x484d5e
mov word [eax], si
add eax, 2
inc edx
add ecx, 2
cmp edx, edi
jne 0x484d50
mov edi, dword [ebp - 0x18]
test eax, eax
je 0x484d72
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 0x484d80
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.00469720
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 0x484e2e
mov esi, dword [ebp + 8]
test esi, esi
je 0x484e2b
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 0x484e1e
movzx eax, word [ecx + esi]
test ax, ax
je 0x484e1e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x484e00
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 0x484e40
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 0x484eaf
push dword [ebp + 8]
lea eax, [ebp + 0x68]
push 0x4ad1f0
push eax
call fcn.00469ac0
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 0x484f44
lea eax, [ebp + 0x20]
mov dword [ebp - 0x20], esi
push eax
mov ecx, esi
call fcn.00404a80
mov byte [ebp - 4], 7
lea eax, [ebp + 0x38]
push eax
lea ecx, [esi + 0x18]
call fcn.00404a80
mov byte [ebp - 4], 8
lea eax, [ebp + 0x50]
push eax
lea ecx, [esi + 0x30]
call fcn.00404a80
mov byte [ebp - 4], 9
lea eax, [ebp + 0x68]
push eax
lea ecx, [esi + 0x48]
call fcn.00404a80
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.00404a80
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x9c]
push eax
lea ecx, [esi + 0x7c]
call fcn.00404a80
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
add dword [ecx + 4], 0x94
jmp 0x484f50
lea ecx, [ebp + 0x20]
push ecx
push esi
mov ecx, eax
call fcn.00480df0
mov esi, dword [ebp + 0xc8]
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x20]
call fcn.00474580
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 3
cmp esi, 8
jb 0x484fa3
lea ecx, [esi*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x484f99
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4847bb
push ecx
push ebx
call fcn.00495a94
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 0x485004
mov ecx, dword [ebp + 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x484ffa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4847bb
push edx
push ecx
call fcn.00495a94
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 0x48503d
mov ebx, dword [ebp - 0x10]
jmp 0x484a10
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x48503d
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 0x4848d4
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 0x4848d4
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.00495a53
lea esp, [ebp + 0x1ec]
pop ebp
ret