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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x1014bb94]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [ebx], 0
mov dword [ebp - 0x32c], ebx
jne 0x10008e46
lea edi, [ebx + 4]
mov ecx, edi
call fcn.100a31a0
test al, al
jne 0x10008e46
lea eax, [ebx + 0x58]
cmp dword [eax], eax
jne 0x10008e46
cmp word [ebx + 0x64], 0
lea eax, [ebx + 0x64]
mov dword [ebp - 0x320], eax
jne 0x10008e46
mov ebx, dword [esi + 4]
lea eax, [esi + 4]
mov dword [ebp - 0x330], eax
test ebx, ebx
je 0x10008e0a
cmp ebx, eax
je 0x10008e0a
nop word [eax + eax]
push 0x1012266c
push 0x20
mov dword [ebp - 8], 0
call fcn.100e3d2b
mov esi, eax
add esp, 8
test esi, esi
je 0x10008b24
mov ecx, esi
call fcn.1009d100
lea ecx, [esi + 8]
mov dword [esi], vtable.RolClient::TClientIpAddress_wchar_t_const___class_FamRT::CUnicodeString_.0
call fcn.1009caa0
xor eax, eax
lea ecx, [esi + 0x18]
mov word [esi + 0x14], ax
mov byte [esi + 0x16], al
call fcn.100a1ae0
jmp 0x10008b26
xor esi, esi
push esi
lea ecx, [ebp - 8]
call fcn.10006940
cmp dword [ebp - 8], 0
je 0x10008e3e
mov eax, dword [ebp - 0x320]
lea ecx, [ebx + 8]
movzx eax, word [eax]
mov dword [ebp - 0x328], eax
call fcn.1009cbc0
mov esi, dword [ebp - 8]
mov dword [ebp - 0x324], eax
test eax, eax
je 0x10008e3e
push eax
lea ecx, [esi + 8]
call fcn.1009ced0
test eax, eax
je 0x10008e3e
push dword [ebp - 0x328]
lea ecx, [esi + 0x18]
push dword [ebp - 0x324]
call fcn.100a2510
test al, al
je 0x10008e3e
mov eax, dword [ebp - 0x328]
mov word [esi + 0x14], ax
mov byte [esi + 0x16], 0
mov esi, dword [ebp - 0x32c]
cmp dword [esi], 0
jne 0x10008dd6
mov ecx, dword [ebp - 8]
lea ecx, [ecx + 0x18]
call fcn.100a2180
mov dword [esi], eax
test eax, eax
je 0x10008e3e
push 0x11
push 2
push eax
mov ecx, edi
call fcn.100a3090
test al, al
je 0x10008e3e
lea eax, [edi + 0x4c]
push 0
push eax
call fcn.100062d0
add esp, 8
mov ecx, edi
call fcn.100a31a0
test al, al
je 0x10008e3e
mov ecx, edi
call fcn.100a31a0
test al, al
je 0x10008e3e
push 0x274
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.100e5000
add esp, 0xc
mov ecx, edi
call fcn.100a31a0
test al, al
je 0x10008e3e
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x274
push eax
lea eax, [ebp - 0x31c]
mov ecx, edi
push eax
push 0x2005
push 0xffff
call fcn.100a3250
push eax
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x10008e3e
mov esi, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x10]
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
call fcn.100a1ae0
xor eax, eax
lea ecx, [ebp - 0x10]
cmp esi, 0x17
sete al
push eax
push 0
call fcn.100a26a0
test eax, eax
je 0x10008e36
mov ecx, edi
call fcn.100a31a0
test al, al
je 0x10008e36
lea ecx, [ebp - 0x10]
call fcn.100a1e50
mov esi, eax
test esi, esi
je 0x10008e36
lea ecx, [ebp - 0x10]
call fcn.100a22f0
push eax
push esi
mov ecx, edi
call fcn.100a3250
push eax
call dword [sym.imp.WS2_32.dll_bind]
neg eax
lea ecx, [ebp - 0x10]
sbb esi, esi
call fcn.100a1af0
add esi, 1
je 0x10008e3e
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movlpd qword [ebp - 0x24], xmm0
call fcn.100a1ae0
mov ecx, edi
call fcn.100a31a0
test al, al
je 0x10008e24
mov eax, 0x80
push 0x7e
mov word [ebp - 0xa8], ax
lea eax, [ebp - 0xa6]
push 0
push eax
call fcn.100e5000
add esp, 0xc
mov dword [ebp - 0x14], 0x80
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.100a3250
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x10008e24
xorps xmm0, xmm0
lea ecx, [ebp - 0x1c]
movlpd qword [ebp - 0x1c], xmm0
call fcn.100a1ae0
push dword [ebp - 0x14]
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100a2300
lea ecx, [ebp - 0x1c]
test eax, eax
je 0x10008e1f
lea eax, [ebp - 0x24]
push eax
call fcn.100a2ca0
lea ecx, [ebp - 0x1c]
call fcn.100a1af0
push dword [ebp - 0x320]
lea ecx, [ebp - 0x24]
call fcn.100a22b0
neg eax
lea ecx, [ebp - 0x24]
sbb esi, esi
call fcn.100a1af0
neg esi
je 0x10008e3e
mov eax, dword [ebp - 0x320]
movzx eax, word [eax]
test ax, ax
je 0x10008e3e
mov esi, eax
mov eax, dword [ebp - 8]
push esi
mov dword [ebp - 0x324], eax
lea ecx, [eax + 0x18]
call fcn.100a2c60
test al, al
je 0x10008e3e
mov eax, dword [ebp - 0x324]
mov word [eax + 0x14], si
mov esi, dword [ebp - 0x32c]
mov eax, dword [ebp - 8]
test eax, eax
je 0x10008e3e
push 1
push eax
lea ecx, [esi + 0x54]
call fcn.10007f10
test eax, eax
je 0x10008e3e
lea ecx, [ebp - 8]
call fcn.10007120
test ebx, ebx
je 0x10008e0a
mov ebx, dword [ebx]
test ebx, ebx
je 0x10008e0a
cmp ebx, dword [ebp - 0x330]
jne 0x10008ae0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret 4
call fcn.100a1af0
lea ecx, [ebp - 0x24]
call fcn.100a1af0
lea ecx, [ebp - 8]
call fcn.10007120
jmp 0x10008e46
lea ecx, [ebp - 0x10]
call fcn.100a1af0
lea ecx, [ebp - 8]
call fcn.10007120
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret 4