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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x102dd418]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x102e2a31], 0
lea eax, [ebp - 0x3c]
push ebx
push esi
push edi
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x31], 0
push eax
je 0x1000c330
lea eax, [ebp - 0x30]
mov dword [ebp - 0x3c], 0x1c
push eax
push dword [0x102e2a2c]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1000c4eb
movzx ebx, word [ebp - 0x2e]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [0x102e2a2c]
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x1000c4eb
movzx eax, word [ebp - 0x2e]
jmp 0x1000c373
lea eax, [ebp - 0x14]
mov dword [ebp - 0x3c], 0x10
push eax
push dword [0x102e2a2c]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1000c4eb
movzx ebx, word [ebp - 0x12]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [0x102e2a2c]
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x1000c4eb
movzx eax, word [ebp - 0x12]
cmp byte [0x102e2a38], 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x38]
push 1
push eax
push 0
je 0x1000c452
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetTcp6Table]
call edi
cmp eax, 0x7a
jne 0x1000c4eb
push dword [ebp - 0x38]
call fcn.102a499c
mov esi, eax
add esp, 4
test esi, esi
jne 0x1000c3c3
mov eax, 0xe
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1029978f
mov esp, ebp
pop ebp
ret
push 1
lea eax, [ebp - 0x38]
push eax
push esi
call edi
mov edi, eax
test edi, edi
je 0x1000c3ee
push esi
call fcn.102a2a5d
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1029978f
mov esp, ebp
pop ebp
ret
mov edi, dword [esi]
xor edx, edx
test edi, edi
je 0x1000c4d5
movzx eax, bx
lea ecx, [esi + 4]
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
cmp dword [ecx + 0x18], eax
jne 0x1000c41b
movzx eax, bx
cmp dword [ecx + 0x30], eax
jne 0x1000c418
cmp dword [ecx], 5
je 0x1000c428
mov eax, dword [ebp - 0x40]
inc edx
add ecx, 0x34
cmp edx, edi
jb 0x1000c406
jmp 0x1000c4d5
movups xmm0, xmmword [ecx]
movups xmmword [0x102e2a88], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [0x102e2a98], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [0x102e2aa8], xmm0
mov eax, dword [ecx + 0x30]
mov dword [0x102e2ab8], eax
jmp 0x1000c4d1
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetTcpTable]
call edi
cmp eax, 0x7a
jne 0x1000c4eb
push dword [ebp - 0x38]
call fcn.102a499c
mov esi, eax
add esp, 4
test esi, esi
je 0x1000c3ad
push 1
lea eax, [ebp - 0x38]
push eax
push esi
call edi
mov edi, eax
test edi, edi
jne 0x1000c3d2
mov edi, dword [esi]
xor edx, edx
test edi, edi
je 0x1000c4d5
movzx eax, bx
lea ecx, [esi + 4]
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
nop
cmp dword [ecx + 8], eax
jne 0x1000c4b5
movzx eax, bx
cmp dword [ecx + 0x10], eax
jne 0x1000c4b2
cmp dword [ecx], 5
je 0x1000c4bf
mov eax, dword [ebp - 0x40]
inc edx
add ecx, 0x14
cmp edx, edi
jb 0x1000c4a0
jmp 0x1000c4d5
movups xmm0, xmmword [ecx]
movups xmmword [0x102e2a74], xmm0
mov eax, dword [ecx + 0x10]
mov dword [0x102e2a84], eax
mov byte [ebp - 0x31], 1
push esi
call fcn.102a2a5d
xor ecx, ecx
add esp, 4
cmp byte [ebp - 0x31], cl
mov eax, 0x490
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1029978f
mov esp, ebp
pop ebp
ret