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

Disassembly:
push 0xffffffffffffffff
push 0x10360dbb
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105be7d0]
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.100cdd90
mov dword [esp + 0x238], 0
mov eax, dword [0x105e87a0]
test al, 1
jne 0x10319bb6
or eax, 1
mov dword [0x105e87a0], eax
mov byte [esp + 0x238], 1
mov dword [0x105e879c], 0
call fcn.1016c620
push 0x10366040
call fcn.1033d620
add esp, 4
mov byte [esp + 0x238], 0
lea eax, [esp + 0x44]
mov ecx, 0x105e879c
push eax
call fcn.1016c7f0
mov esi, eax
mov dword [esp + 0x238], 0xffffffff
cmp dword [esp + 0x58], 8
jb 0x10319be6
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 0x1031a297
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x105852e0
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 0x1031a297
test ebx, ebx
je 0x1031a297
test esi, esi
je 0x1031a297
lea ecx, [esp + 0x1c]
call fcn.1016c3b0
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 0x1036808c
push 1
push 0
push 0x1036815c
call ebp
test eax, eax
js 0x10319ceb
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x10319ceb
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 0x10319ce1
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10319ce1
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 0x10319d10
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.1016c500
mov eax, dword [esp + 0x14]
jmp 0x1031a29c
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 0x10585740
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x10319d53
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 0x10319cf3
push str.OleAut32.dll
lea ecx, [esp + 0x68]
call fcn.100cd5c0
mov byte [esp + 0x238], 3
lea eax, [esp + 0x64]
push eax
call fcn.1016c770
mov ecx, eax
call fcn.1016c7f0
mov esi, eax
mov byte [esp + 0x238], 2
lea ecx, [esp + 0x64]
call fcn.100cd690
test esi, esi
jne 0x10319db2
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 0x10319cf3
push str.VariantInit
push esi
call edi
push str.VariantClear
push esi
mov ebx, eax
call edi
mov edi, eax
test ebx, ebx
je 0x1031a276
test edi, edi
je 0x1031a276
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x1031a25d
mov ebp, dword [esp + 0x60]
jmp 0x10319df0
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 0x1031a24f
cmp dword [esp + 0x40], 0
je 0x1031a24f
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 0x10319eba
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x10319eba
lea ecx, [esp + 0x12c]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
jmp 0x10319e90
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x10319eae
movzx eax, word [esi + ecx]
test ax, ax
je 0x10319eae
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x10319e90
jmp 0x10319eb2
test edx, edx
jne 0x10319eb5
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.100cd5c0
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 0x103684e0
lea ecx, [esp + 0x84]
call fcn.101524a0
cmp eax, 0xffffffff
je 0x10319f5a
push eax
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x88]
call fcn.1010cce0
mov byte [esp + 0x238], 6
lea ecx, [esp + 0x64]
push eax
call fcn.100cd650
mov byte [esp + 0x238], 5
lea ecx, [esp + 0x20]
call fcn.100cd690
cmp dword [esp + 0x78], 8
lea ecx, [esp + 0x64]
mov edx, str.ROOT
cmovae ecx, dword [esp + 0x64]
call fcn.1014d530
test al, al
je 0x10319f7f
lea ecx, [esp + 0x7c]
call fcn.100cd740
lea edx, [esp + 0x12c]
push 1
push 0x80
mov ecx, edx
call fcn.103198b0
add esp, 8
test eax, eax
je 0x1031a215
inc dword [esp + 0x14]
lea ecx, [esp + 0x94]
call fcn.1030aa00
mov byte [esp + 0x238], 7
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0xb0]
call fcn.100cd6c0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x11c]
call fcn.100cd9d0
lea ecx, [esp + 0xac]
call fcn.1014d810
cmp dword [esp + 0xbc], 0
je 0x1031a201
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 0x1031a07f
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x1031a07f
lea ecx, [esp + 0x12c]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x1031a073
movzx eax, word [esi + ecx]
test ax, ax
je 0x1031a073
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x1031a055
jmp 0x1031a077
test edx, edx
jne 0x1031a07a
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 0x1031a0a0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1031a0a0
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.1031a2d0
add esp, 4
test eax, eax
je 0x1031a0d6
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0xc8]
call fcn.100cd6c0
lea ecx, [esp + 0xc4]
call fcn.1014d810
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 0x1031a17a
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x1031a17a
lea ecx, [esp + 0x12c]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
mov edi, edi
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x1031a16e
movzx eax, word [ecx + esi]
test ax, ax
je 0x1031a16e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x1031a150
jmp 0x1031a172
test edx, edx
jne 0x1031a175
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.100cd6c0
lea ecx, [esp + 0xdc]
call fcn.100cd740
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 0x1031a1e3
push dword [esp + 0x4c]
lea eax, [esp + 0xe0]
push 0x1055ab70
push eax
call fcn.1014db00
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.10317740
mov byte [esp + 0x238], 5
lea ecx, [esp + 0x94]
call fcn.10307b00
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.100cd690
mov byte [esp + 0x238], 2
lea ecx, [esp + 0x7c]
call fcn.100cd690
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x10319df0
jmp 0x1031a25d
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x1031a25d
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 0x10319cf3
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 0x10319cf3
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.1033d458
add esp, 0x228
ret