Function at 0x100019d0
Capabilities:
Acquire debug privileges
Get process image filename
List tcp connections and listeners

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x10003a08
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1000601c]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x218]
push 0x1c
mov dword [ebp - 0x2c], eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
xor ebx, ebx
push ebx
push 5
push 2
push ebx
lea ecx, [ebp - 0x18]
mov esi, eax
push ecx
push esi
mov dword [ebp - 0x18], ebx
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
mov edi, dword [ebp - 0x18]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
xor ecx, ecx
mov eax, edi
mov edx, 0x1c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10002ec8
add esp, 8
push ebx
push 5
push 2
mov edi, eax
push 1
lea eax, [ebp - 0x18]
push eax
push edi
mov dword [ebp - 0x1c], edi
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
cmp edi, ebx
je 0x10001c42
mov dword [ebp - 4], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
cmp esi, dword [edi]
jae 0x10001c39
lea ecx, [esi + esi*2]
movzx edx, word [edi + ecx*8 + 0xc]
lea ebx, [edi + ecx*8]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
cmp word [ebp + 0x21c], ax
jne 0x10001b71
lea eax, [ebp - 0x14]
push eax
push 0x28
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x10001ae3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10001ad3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
xor al, al
jmp 0x10001c44
lea ecx, [ebp - 0x34]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x10001b12
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov edx, dword [ebp - 0x14]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x10001c44
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
push 0
push 0
push 0x10
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
push 0
push eax
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x10001b60
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov ecx, dword [ebp - 0x14]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x10001c44
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x10001b77
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
jmp 0x10001a7d
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x10001ba5
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov eax, dword [ebp - 0x14]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x10001c44
xor ecx, ecx
push 0x208
push ecx
lea edx, [ebp + 2]
push edx
mov word [ebp], cx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x10001c69
mov edx, dword [0x100060dc]
mov eax, dword [edx + 0xc]
mov ecx, 0x100060dc
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 0x18]
lea edx, [ebp]
lea edi, [ebp - 0x24]
mov dword [ebp - 0x28], ecx
call fcn.10001df0
mov edi, dword [ebp - 0x2c]
lea ebx, [ebp - 0x28]
call fcn.10001ea0
mov eax, ebx
mov byte [ebp - 4], 0
call fcn.100029d0
mov edx, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
push esi
call edi
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
inc esi
jmp 0x10001a7d
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.10002eec
add ebp, 0x210
mov esp, ebp
pop ebp
ret
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
push eax
call edi
push esi
call edi
xor al, al
jmp 0x10001c44