Function at 0x100083c6
Capabilities:
Acquire debug privileges
Link many functions at runtime

Disassembly:
mov eax, 0x10013514
call fcn.1000c71c
sub esp, 0x264
mov al, byte [ebp - 0x45]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 0x3c], al
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.100088e4
push str.LoadLibraryW
call fcn.1000560f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov edi, eax
push str.iphlpapi.dll
call edi
cmp eax, ebx
mov dword [ebp - 0x2c], eax
je 0x1000883c
push str.OpenProcess
call fcn.1000560f
push eax
call esi
push str.CloseHandle
mov dword [ebp - 0x40], eax
call fcn.1000560f
push eax
call esi
push str.GetProcessHeap
mov dword [ebp - 0x44], eax
call fcn.1000560f
push eax
call esi
push str.PSAPI.DLL
mov dword [ebp - 0x28], eax
call edi
push str.GetModuleBaseNameW
push eax
call esi
push 1
push str.SeDebugPrivilege
mov dword [ebp - 0x24], eax
call fcn.10007265
push str.AllocateAndGetTcpExTableFromStack
push dword [ebp - 0x2c]
call fcn.10005638
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 0x10], eax
mov esi, 0x224
mov edi, 0x104
je 0x10008561
push 2
push 2
call dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push 1
push eax
call dword [ebp - 0x10]
test eax, eax
jne 0x1000883c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
cmp dword [eax], ebx
jbe 0x1000863c
mov dword [ebp - 0x1c], ebx
push esi
lea eax, [ebp - 0x270]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add eax, ecx
mov byte [ebp - 0x270], bl
add esp, 0xc
mov edx, dword [eax + 8]
mov dword [ebp - 0x268], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x264], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x260], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x25c], edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x1c]
lea eax, [eax + ecx + 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x258], ecx
push dword [eax]
push ebx
push 0x410
call dword [ebp - 0x40]
lea ecx, [ebp - 0x254]
push edi
push ecx
push ebx
push eax
mov dword [ebp - 0x18], eax
call dword [ebp - 0x24]
push dword [ebp - 0x18]
call dword [ebp - 0x44]
lea eax, [ebp - 0x270]
lea ecx, [ebp - 0x3c]
push eax
call fcn.100088d3
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add dword [ebp - 0x1c], 0x18
cmp ecx, dword [eax]
jb 0x100084bc
jmp 0x1000863c
push str.InternalGetTcpTable2
push dword [ebp - 0x2c]
call fcn.10005638
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x18], eax
je 0x1000883c
push 1
call dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [ebp - 0x18]
test eax, eax
jne 0x1000883c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
cmp dword [eax], ebx
jbe 0x1000863c
mov dword [ebp - 0x10], ebx
push esi
lea eax, [ebp - 0x270]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add eax, ecx
mov byte [ebp - 0x270], bl
add esp, 0xc
mov ecx, dword [eax + 8]
mov dword [ebp - 0x268], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x264], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x260], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x25c], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x26c], ecx
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x258], ecx
push dword [eax + 0x18]
push ebx
push 0x410
call dword [ebp - 0x40]
lea ecx, [ebp - 0x254]
push edi
push ecx
push ebx
push eax
mov dword [ebp - 0x18], eax
call dword [ebp - 0x24]
push dword [ebp - 0x18]
call dword [ebp - 0x44]
lea eax, [ebp - 0x270]
lea ecx, [ebp - 0x3c]
push eax
call fcn.100088d3
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
add dword [ebp - 0x10], 0x1c
cmp ecx, dword [eax]
jb 0x100085a1
push str.AllocateAndGetUdpExTableFromStack
push dword [ebp - 0x2c]
call fcn.10005638
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x18], eax
je 0x10008704
push 2
push 2
call dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
jne 0x1000883c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], ebx
cmp dword [eax], ebx
jbe 0x100087c3
mov dword [ebp - 0x10], ebx
push esi
lea eax, [ebp - 0x270]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 0x270], 1
add esp, 0xc
mov edx, dword [ecx + eax + 4]
mov dword [ebp - 0x268], edx
mov edx, dword [ecx + eax + 8]
lea eax, [ecx + eax + 0xc]
mov dword [ebp - 0x264], edx
mov ecx, dword [eax]
mov dword [ebp - 0x258], ecx
push dword [eax]
push ebx
push 0x410
call dword [ebp - 0x40]
lea ecx, [ebp - 0x254]
push edi
push ecx
push ebx
push eax
mov dword [ebp - 0x18], eax
call dword [ebp - 0x24]
push dword [ebp - 0x18]
call dword [ebp - 0x44]
lea eax, [ebp - 0x270]
lea ecx, [ebp - 0x3c]
push eax
call fcn.100088d3
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
add dword [ebp - 0x10], 0xc
cmp ecx, dword [eax]
jb 0x10008680
jmp 0x100087c3
push str.InternalGetUdpTableWithOwnerPid
push dword [ebp - 0x2c]
call fcn.10005638
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x18], eax
je 0x100087c3
push 1
call dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [ebp - 0x18]
test eax, eax
jne 0x1000883c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], ebx
cmp dword [eax], ebx
jbe 0x100087c3
mov dword [ebp - 0x10], ebx
push esi
lea eax, [ebp - 0x270]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 0x270], 1
add esp, 0xc
mov edx, dword [ecx + eax + 4]
mov dword [ebp - 0x268], edx
mov edx, dword [ecx + eax + 8]
lea eax, [ecx + eax + 0xc]
mov dword [ebp - 0x264], edx
mov ecx, dword [eax]
mov dword [ebp - 0x258], ecx
push dword [eax]
push ebx
push 0x410
call dword [ebp - 0x40]
lea ecx, [ebp - 0x254]
push edi
push ecx
push ebx
push eax
mov dword [ebp - 0x18], eax
call dword [ebp - 0x24]
push dword [ebp - 0x18]
call dword [ebp - 0x44]
lea eax, [ebp - 0x270]
lea ecx, [ebp - 0x3c]
push eax
call fcn.100088d3
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
add dword [ebp - 0x10], 0xc
cmp ecx, dword [eax]
jb 0x10008744
push ebx
push str.SeDebugPrivilege
call fcn.10007265
cmp dword [ebp - 0x38], ebx
pop ecx
pop ecx
jne 0x100087da
mov dword [ebp - 0x10], ebx
jmp 0x100087e8
mov eax, dword [ebp - 0x34]
mov ecx, esi
sub eax, dword [ebp - 0x38]
cdq
idiv ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x4c]
imul eax, eax, 0x224
inc eax
push eax
mov dword [ebp - 0x18], eax
call fcn.10007234
mov edi, eax
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [edi], 0x84
jbe 0x10008830
mov dword [ebp - 0x10], ebx
lea ebx, [edi + 1]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
add ecx, eax
push esi
push ecx
push ebx
call sub.MSVCRT.dll_memcpy
add dword [ebp - 0x10], esi
add esp, 0xc
add ebx, esi
dec dword [ebp - 0x14]
jne 0x10008813
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x4c]
push edi
call fcn.10004d87
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.10008857
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret