Function at 0x10011d20
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 1], 0
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 9]
test ecx, ecx
je 0x10011dc2
mov dword [ebp - 0x28], 0x1c
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10011d8a
mov eax, dword [ebp - 0x10]
jmp 0x10012013
mov ax, word [ebp - 0x5a]
mov word [ebp - 8], ax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_getpeername]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10011db8
mov eax, dword [ebp - 0x10]
jmp 0x10012013
mov dx, word [ebp - 0x5a]
mov word [ebp - 0xc], dx
jmp 0x10011e25
mov dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10011def
mov eax, dword [ebp - 0x10]
jmp 0x10012013
mov cx, word [ebp - 0x3e]
mov word [ebp - 8], cx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_getpeername]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10011e1d
mov eax, dword [ebp - 0x10]
jmp 0x10012013
mov ax, word [ebp - 0x3e]
mov word [ebp - 0xc], ax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 0x10]
test edx, edx
je 0x10011f12
push 1
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.IPHLPAPI.DLL_GetTcp6Table
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x7a
je 0x10011e54
mov eax, dword [ebp - 0x10]
jmp 0x10012013
mov edx, dword [ebp - 0x24]
push edx
call fcn.1029aa3e
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10011e73
mov eax, 0xe
jmp 0x10012013
push 1
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.IPHLPAPI.DLL_GetTcp6Table
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10011e9f
mov edx, dword [ebp - 0x18]
push edx
call fcn.1029a2b6
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x10012013
mov dword [ebp - 0x14], 0
jmp 0x10011eb1
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx]
jae 0x10011f01
imul eax, dword [ebp - 0x14], 0x34
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax + 4]
mov dword [ebp - 0x2c], edx
movzx eax, word [ebp - 8]
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x18], eax
jne 0x10011eff
movzx edx, word [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x30], edx
jne 0x10011eff
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx], 5
jne 0x10011eff
mov byte [ebp - 1], 1
mov edi, dword [ebp - 0x1c]
add edi, 0x60
mov ecx, 0xd
mov esi, dword [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
jmp 0x10011f01
jmp 0x10011ea8
mov edx, dword [ebp - 0x18]
push edx
call fcn.1029a2b6
add esp, 4
jmp 0x10012000
push 1
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call sub.IPHLPAPI.DLL_GetTcpTable
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x7a
je 0x10011f32
mov eax, dword [ebp - 0x10]
jmp 0x10012013
mov edx, dword [ebp - 0x24]
push edx
call fcn.1029aa3e
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10011f51
mov eax, 0xe
jmp 0x10012013
push 1
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call sub.IPHLPAPI.DLL_GetTcpTable
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10011f7d
mov edx, dword [ebp - 0x20]
push edx
call fcn.1029a2b6
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x10012013
mov dword [ebp - 0x14], 0
jmp 0x10011f8f
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx]
jae 0x10011ff4
imul eax, dword [ebp - 0x14], 0x14
mov ecx, dword [ebp - 0x20]
lea edx, [ecx + eax + 4]
mov dword [ebp - 0x30], edx
movzx eax, word [ebp - 8]
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 8], eax
jne 0x10011ff2
movzx edx, word [ebp - 0xc]
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x10], edx
jne 0x10011ff2
mov ecx, dword [ebp - 0x30]
cmp dword [ecx], 5
jne 0x10011ff2
mov byte [ebp - 1], 1
mov edx, dword [ebp - 0x1c]
add edx, 0x4c
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov eax, dword [eax + 0x10]
mov dword [edx + 0x10], eax
jmp 0x10011ff4
jmp 0x10011f86
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.1029a2b6
add esp, 4
movzx edx, byte [ebp - 1]
test edx, edx
je 0x1001200e
xor eax, eax
jmp 0x10012013
mov eax, 0x490
pop edi
pop esi
mov esp, ebp
pop ebp
ret