Function at 0x1013c740
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 0x101a40c4
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101fe070]
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 - 0x20], ecx
push 9
xor eax, eax
mov dword [ebp + 0xe0], 0
mov dword [ebp + 0xe4], 0
lea ecx, [ebp + 0xd0]
push str.Ole32.dll
mov dword [ebp - 0x14], 0
mov dword [ebp + 0xe0], 0
mov dword [ebp + 0xe4], 7
mov word [ebp + 0xd0], ax
call fcn.100090a0
mov dword [ebp - 4], 0
lea eax, [ebp + 0xd0]
push eax
call fcn.10018430
mov ecx, eax
call fcn.100184f0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xe4]
cmp edx, 8
jb 0x1013c829
mov ecx, dword [ebp + 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1013c81f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1013d05b
push edx
push ecx
call fcn.1015c4d3
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 0x1013d033
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x101c19fc
push edi
call esi
push str.CoInitializeSecurity
push edi
mov dword [ebp - 0x18], eax
call esi
push str.CoSetProxyBlanket
push edi
mov ebx, eax
call esi
cmp dword [ebp - 0x18], 0
mov edi, eax
je 0x1013d033
test ebx, ebx
je 0x1013d033
test edi, edi
je 0x1013d033
lea ecx, [ebp - 0x24]
call fcn.1000ed90
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 0x101b9b50
push 1
push 0
push 0x101b9c20
call dword [ebp - 0x18]
test eax, eax
js 0x1013c92b
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x1013c92b
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 0x1013c922
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x1013c922
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 0x1013c949
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.1000eec0
mov eax, dword [ebp - 0x14]
jmp 0x1013d038
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 0x101cd204
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x1013c987
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 0x1013c932
push str.OleAut32.dll
lea ecx, [ebp + 0xb8]
call fcn.10008e50
mov byte [ebp - 4], 2
lea eax, [ebp + 0xb8]
push eax
call fcn.10018430
mov ecx, eax
call fcn.100184f0
mov edi, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xcc]
cmp edx, 8
jb 0x1013c9f4
mov ecx, dword [ebp + 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1013c9ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1013d060
push edx
push ecx
call fcn.1015c4d3
add esp, 8
xor eax, eax
mov dword [ebp + 0xc8], 0
mov dword [ebp + 0xcc], 7
mov word [ebp + 0xb8], ax
test edi, edi
jne 0x1013ca33
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 0x1013c932
push str.VariantInit
push edi
call esi
push str.VariantClear
push edi
mov dword [ebp - 0x10], eax
call esi
mov esi, dword [ebp - 0x10]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test esi, esi
je 0x1013d015
test ebx, ebx
je 0x1013d015
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1013cffe
nop dword [eax]
lea edx, [ebp + 0xb4]
mov dword [ebp + 0x14], 0
push edx
lea edx, [ebp + 0x14]
mov dword [ebp + 0xb4], 0
mov eax, dword [ecx]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp + 0xb4], 0
je 0x1013cff1
cmp dword [ebp + 0x14], 0
je 0x1013cff1
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.1015e8b0
add esp, 0xc
cmp word [ebp], 8
jne 0x1013cb2e
mov esi, dword [ebp + 8]
test esi, esi
je 0x1013cb2b
lea ecx, [ebp + 0xe8]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
nop
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x1013cb1e
movzx eax, word [esi + ecx]
test ax, ax
je 0x1013cb1e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1013cb00
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 ebx
lea eax, [ebp + 0xe8]
push eax
lea ecx, [ebp + 0xd0]
call fcn.10008e50
mov byte [ebp - 4], 3
mov ebx, 7
mov dword [ebp + 0xcc], 0
xor eax, eax
mov dword [ebp + 0xc8], 0
mov dword [ebp + 0xcc], ebx
mov dword [ebp + 0xc8], 0
mov word [ebp + 0xb8], ax
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xd0]
push eax
push 0x101c0698
call fcn.10013e20
cmp eax, 0xffffffff
je 0x1013cc10
push eax
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 0xd0]
call fcn.10010400
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xb8]
push eax
call fcn.10008de0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x1013cbf6
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1013cbec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1013d05b
push edx
push ecx
call fcn.1015c4d3
add esp, 8
mov ebx, dword [ebp + 0xcc]
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov edi, dword [ebp + 0xb8]
lea ecx, [ebp + 0xb8]
cmp ebx, 8
mov edx, str.ROOT
cmovae ecx, edi
call fcn.1000fa50
test al, al
je 0x1013cc53
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.1013c560
add esp, 8
test eax, eax
je 0x1013cf20
inc dword [ebp - 0x14]
lea ecx, [ebp + 0x20]
call fcn.10120b30
mov byte [ebp - 4], 6
lea ecx, [ebp + 0xe8]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1013cc90
sub ecx, edx
lea eax, [ebp + 0xe8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x38]
call fcn.100090a0
lea eax, [ebp + 0xd0]
push eax
lea ecx, [ebp + 0x9c]
call fcn.10008d70
lea eax, [ebp + 0x38]
push eax
call fcn.1000fdc0
add esp, 4
cmp dword [ebp + 0x48], 0
je 0x1013cf14
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.MACAddress
push eax
call dword [ecx + 0x10]
push 0x100
lea eax, [ebp + 0xe8]
push 0
push eax
call fcn.1015e8b0
add esp, 0xc
cmp word [ebp], 8
jne 0x1013cd5e
mov esi, dword [ebp + 8]
test esi, esi
je 0x1013cd5b
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 0x1013cd4e
movzx eax, word [esi + ecx]
test ax, ax
je 0x1013cd4e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1013cd30
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 dword [ebp - 0x18]
lea ecx, [ebp + 0xe8]
mov dword [ebp - 0x1c], 0x3a
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1013cd75
sub ecx, edx
lea eax, [ebp - 0x1c]
sar ecx, 1
lea edx, [ebp + 0xea]
push eax
lea edx, [edx + ecx*2]
lea ecx, [ebp + 0xe8]
call fcn.1013d070
add esp, 4
test eax, eax
je 0x1013cda8
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp + 0xe8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1013cdb1
sub ecx, edx
lea eax, [ebp + 0xe8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x50]
call fcn.100090a0
lea eax, [ebp + 0x50]
push eax
call fcn.1000fdc0
add esp, 4
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 fcn.1015e8b0
add esp, 0xc
cmp word [ebp], 8
jne 0x1013ce5e
mov esi, dword [ebp + 8]
test esi, esi
je 0x1013ce5b
lea ecx, [ebp + 0xe8]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x1013ce4e
movzx eax, word [ecx + esi]
test ax, ax
je 0x1013ce4e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1013ce30
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 dword [ebp - 0x18]
lea ecx, [ebp + 0xe8]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1013ce70
sub ecx, edx
lea eax, [ebp + 0xe8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x20]
call fcn.100090a0
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 0x1013cedf
push dword [ebp + 8]
lea eax, [ebp + 0x68]
push 0x101c117c
push eax
call fcn.10010150
add esp, 0xc
lea eax, [ebp]
push eax
call dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
lea ecx, [ebp + 0x20]
mov byte [ebp + 0x80], 1
push ecx
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x1013cf0c
mov ecx, eax
call fcn.1011ee90
add dword [esi + 4], 0x94
jmp 0x1013cf14
push eax
mov ecx, esi
call fcn.1012ff50
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x20]
call fcn.1011ba80
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 3
cmp ebx, 8
jb 0x1013cf61
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x1013cf57
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1013d05b
push ecx
push edi
call fcn.1015c4d3
add esp, 8
xor eax, eax
mov dword [ebp + 0xc8], 0
mov dword [ebp + 0xcc], 7
mov word [ebp + 0xb8], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xe4]
cmp edx, 8
jb 0x1013cfc2
mov ecx, dword [ebp + 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1013cfb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1013d05b
push edx
push ecx
call fcn.1015c4d3
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 0x1013cffe
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
jmp 0x1013ca70
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1013cffe
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 0x1013c932
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 0x1013c932
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.1015c023
lea esp, [ebp + 0x1ec]
pop ebp
ret
call fcn.101616ac
call fcn.101616ac
int3