Function at 0x477e00
Capabilities:
Link many functions at runtime
Reference sql statements
Reference wmi statements
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x49006b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov dword [esp + 0x60], ecx
push 9
xor eax, eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [esp + 0x48]
push str.Ole32.dll
mov dword [esp + 0x1c], 0
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
call fcn.00402f90
mov dword [esp + 0x238], 0
mov eax, dword [0x4b025c]
test al, 1
jne 0x477ec6
or eax, 1
mov dword [0x4b025c], eax
mov byte [esp + 0x238], 1
mov dword [0x4b0258], 0
call fcn.0041d480
push 0x490fd0
call fcn.00480069
add esp, 4
mov byte [esp + 0x238], 0
lea eax, [esp + 0x44]
mov ecx, 0x4b0258
push eax
call fcn.0041d650
mov esi, eax
mov dword [esp + 0x238], 0xffffffff
cmp dword [esp + 0x58], 8
jb 0x477ef6
push dword [esp + 0x44]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
test esi, esi
je 0x4785a7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CoCreateInstance
push esi
call edi
push str.CoInitializeSecurity
push esi
mov ebp, eax
call edi
push str.CoSetProxyBlanket
push esi
mov ebx, eax
call edi
mov esi, eax
test ebp, ebp
je 0x4785a7
test ebx, ebx
je 0x4785a7
test esi, esi
je 0x4785a7
lea ecx, [esp + 0x1c]
call fcn.004641c0
mov dword [esp + 0x238], 2
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call ebx
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0
push eax
push 0x492504
push 1
push 0
push 0x4925d4
call ebp
test eax, eax
js 0x477ffb
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x477ffb
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 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 0x477ff1
mov eax, dword [esp + 0x38]
test eax, eax
je 0x477ff1
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call esi
test eax, eax
mov eax, dword [esp + 0x38]
jns 0x478020
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esp + 0x14], 0xfffffffe
mov dword [esp + 0x238], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00464310
mov eax, dword [esp + 0x14]
jmp 0x4785ac
lea edx, [esp + 0x5c]
mov dword [esp + 0x5c], 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 0x49a668
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x478063
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esp + 0x14], 0xfffffffd
jmp 0x478003
push str.OleAut32.dll
lea ecx, [esp + 0x68]
call fcn.00402e10
mov byte [esp + 0x238], 3
lea eax, [esp + 0x64]
push eax
call fcn.0041d5d0
mov ecx, eax
call fcn.0041d650
mov esi, eax
mov byte [esp + 0x238], 2
lea ecx, [esp + 0x64]
call fcn.00402eb0
test esi, esi
jne 0x4780c2
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esp + 0x14], 0xfffffffc
jmp 0x478003
push str.VariantInit
push esi
call edi
push str.VariantClear
push esi
mov ebx, eax
call edi
mov edi, eax
test ebx, ebx
je 0x478586
test edi, edi
je 0x478586
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x47856d
mov ebp, dword [esp + 0x60]
jmp 0x478100
lea edx, [esp + 0x60]
mov dword [esp + 0x40], 0
push edx
lea edx, [esp + 0x44]
mov dword [esp + 0x64], 0
mov eax, dword [ecx]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [esp + 0x60], 0
je 0x47855f
cmp dword [esp + 0x40], 0
je 0x47855f
lea eax, [esp + 0x44]
push eax
call ebx
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x44]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.PNPDeviceID
push eax
call dword [ecx + 0x10]
xor eax, eax
push 0xfe
push eax
mov word [esp + 0x134], ax
lea eax, [esp + 0x136]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
cmp word [esp + 0x44], 8
jne 0x4781ca
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x4781ca
lea ecx, [esp + 0x12c]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
jmp 0x4781a0
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x4781be
movzx eax, word [esi + ecx]
test ax, ax
je 0x4781be
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x4781a0
jmp 0x4781c2
test edx, edx
jne 0x4781c5
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [esp + 0x44]
push eax
call edi
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x80]
call fcn.00402e10
mov byte [esp + 0x238], 4
xor eax, eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
mov byte [esp + 0x238], 5
push ecx
push 0x4930b0
lea ecx, [esp + 0x84]
call fcn.0040e220
cmp eax, 0xffffffff
je 0x47826a
push eax
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x88]
call fcn.0040c700
mov byte [esp + 0x238], 6
lea ecx, [esp + 0x64]
push eax
call fcn.00402e70
mov byte [esp + 0x238], 5
lea ecx, [esp + 0x20]
call fcn.00402eb0
cmp dword [esp + 0x78], 8
lea ecx, [esp + 0x64]
mov edx, str.ROOT
cmovae ecx, dword [esp + 0x64]
call fcn.0040cf00
test al, al
je 0x47828f
lea ecx, [esp + 0x7c]
call fcn.00404800
lea edx, [esp + 0x12c]
push 1
push 0x80
mov ecx, edx
call fcn.00477bc0
add esp, 8
test eax, eax
je 0x478525
inc dword [esp + 0x14]
lea ecx, [esp + 0x94]
call fcn.0046b300
mov byte [esp + 0x238], 7
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0xb0]
call fcn.00403f80
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x11c]
call fcn.004030c0
lea ecx, [esp + 0xac]
call fcn.0040d1e0
cmp dword [esp + 0xbc], 0
je 0x478511
lea eax, [esp + 0x44]
push eax
call ebx
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x44]
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, [esp + 0x130]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
cmp word [esp + 0x44], 8
jne 0x47838f
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x47838f
lea ecx, [esp + 0x12c]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x478383
movzx eax, word [ecx + esi]
test ax, ax
je 0x478383
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x478365
jmp 0x478387
test edx, edx
jne 0x47838a
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [esp + 0x44]
push eax
call edi
lea ecx, [esp + 0x12c]
mov dword [esp + 0x18], 0x3a
lea edx, [ecx + 2]
jmp 0x4783b0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4783b0
sub ecx, edx
lea eax, [esp + 0x18]
sar ecx, 1
lea edx, [esp + 0x12e]
push eax
lea edx, [edx + ecx*2]
lea ecx, [esp + 0x130]
call fcn.004785e0
add esp, 4
test eax, eax
je 0x4783e6
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0xc8]
call fcn.00403f80
lea ecx, [esp + 0xc4]
call fcn.0040d1e0
lea eax, [esp + 0x44]
push eax
call ebx
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x44]
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, [esp + 0x130]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
cmp word [esp + 0x44], 8
jne 0x47848a
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x47848a
lea ecx, [esp + 0x12c]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
mov edi, edi
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x47847e
movzx eax, word [ecx + esi]
test ax, ax
je 0x47847e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x478460
jmp 0x478482
test edx, edx
jne 0x478485
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [esp + 0x44]
push eax
call edi
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x98]
call fcn.00403f80
lea ecx, [esp + 0xdc]
call fcn.00404800
lea eax, [esp + 0x44]
push eax
call ebx
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x44]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.NetConnectionStatus
push eax
call dword [ecx + 0x10]
cmp word [esp + 0x44], 3
jne 0x4784f3
push dword [esp + 0x4c]
lea eax, [esp + 0xe0]
push 0x4942f8
push eax
call fcn.0040d4d0
add esp, 0xc
lea eax, [esp + 0x44]
push eax
call edi
lea eax, [esp + 0x94]
mov byte [esp + 0xf4], 1
push eax
mov ecx, ebp
call fcn.00473f60
mov byte [esp + 0x238], 5
lea ecx, [esp + 0x94]
call fcn.00468260
mov eax, dword [esp + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [esp + 0x238], 4
lea ecx, [esp + 0x64]
call fcn.00402eb0
mov byte [esp + 0x238], 2
lea ecx, [esp + 0x7c]
call fcn.00402eb0
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x478100
jmp 0x47856d
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x47856d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x478003
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esp + 0x14], 0xfffffffb
jmp 0x478003
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0047ff74
add esp, 0x228
ret