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

Disassembly:
mov eax, 0xc23e78
call fcn.00be12c8
sub esp, 0x40
push ebx
push esi
push edi
xor edi, edi
cmp dword [ecx + 0x13c], edi
mov dword [ebp - 0x24], ecx
jne 0x6aa1bd
jmp 0x6a9f90
push eax
mov eax, 0x2d9fb3d
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x20], 0x24210002
pop eax
jmp 0x6a9fbb
xor eax, eax
xor esi, esi
mov edx, dword [ecx + 0x160]
cmp edx, edi
je 0x6aa1bd
cmp eax, dword [edx - 4]
jae 0x6aa1bd
mov edx, dword [esi + edx]
cmp edx, dword [ebp + 8]
je 0x6a9fe4
inc eax
add esi, 0x20
jmp 0x6a9fbf
cmp eax, edi
jl 0x6aa1bd
mov edx, dword [ecx + 0x160]
cmp edx, edi
je 0x6aa1bd
cmp eax, dword [edx - 4]
jae 0x6aa1bd
mov edx, dword [ebp + 0xc]
cmp edx, edi
jl 0x6aa1bd
mov ecx, dword [ecx + 0x160]
shl eax, 5
lea esi, [eax + ecx]
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x6aa1bd
cmp edx, dword [eax - 4]
jae 0x6aa1bd
cmp eax, edi
jne 0x6aa036
xor eax, eax
jmp 0x6aa039
mov eax, dword [eax - 4]
lea ecx, [ebp + 0xb]
push ecx
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
call fcn.0049bd26
mov eax, dword [esi + 0x18]
cmp eax, edi
mov dword [ebp - 4], edi
jne 0x6aa057
xor eax, eax
jmp 0x6aa05a
mov eax, dword [eax - 4]
lea ecx, [ebp - 0xd]
push ecx
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], edi
call fcn.006b0026
mov byte [ebp - 4], 1
xor ebx, ebx
mov eax, dword [esi + 0x18]
test eax, eax
je 0x6aa09d
cmp edi, dword [eax - 4]
jae 0x6aa09d
add eax, ebx
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [eax + edi*4]
call fcn.0041b94d
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ebx + 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + edi*4], eax
inc edi
add ebx, 0x14
jmp 0x6aa070
mov ecx, dword [0xd7c46c]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push dword [esi]
call fcn.00b6da5c
xor edi, edi
cmp dword [0xd80ebc], edi
je 0x6aa0fc
mov dword [ebp - 0x20], edi
mov eax, dword [0xd7c46c]
push dword [eax + 0x2034]
lea eax, [ebp - 0x20]
push 0xd3c3b0
push eax
mov byte [ebp - 4], 2
call fcn.0044e655
mov ecx, dword [0xd80ebc]
add esp, 0xc
push dword [ebp - 0x20]
call fcn.00bc771f
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00406a50
push 9
lea ecx, [ebp - 0x3c]
call fcn.0079117f
xor eax, eax
mov al, byte [esi]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
call fcn.00406cba
push dword [ebp + 0xc]
lea ecx, [ebp - 0x3c]
call fcn.00406cba
mov eax, dword [0xd7c468]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x1c], 0x10
mov eax, dword [eax + 8]
push ecx
push eax
call dword [sym.imp.ws2_32.dll_getsockname]
test eax, eax
jne 0x6aa147
mov edi, dword [ebp - 0x48]
push edi
lea ecx, [ebp - 0x3c]
call fcn.00406d17
mov ecx, dword [0xd7c468]
lea eax, [ebp - 0x3c]
push eax
call fcn.004b1207
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x13c], 1
mov eax, dword [0xd808e8]
add esi, 4
push esi
lea ecx, [eax + 0xc]
call fcn.0041b94d
mov eax, dword [0xd80eb0]
mov ecx, dword [0xd808e8]
mov eax, dword [eax + 0x28]
mov dword [ecx + 0x10], eax
mov ecx, dword [0xd808e8]
call fcn.004b9e58
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0042db5c
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.006358ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004691dd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8