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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov esi, esp
mov eax, dword [0x594180]
xor eax, ebp
mov dword [esi + 0x18], eax
mov eax, dword [0x598468]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x59846c]
sete byte [esi + 5]
cmp eax, 0xa
setl byte [esi + 6]
mov eax, 0x75ddaeaa
jmp 0x4ab243
mov eax, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov eax, dword [0x598468]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete cl
mov eax, 0x92824879
mov edi, 0x3d79fa32
cmove eax, edi
cmp dword [0x59846c], 0xa
mov edx, 0x92824879
cmovge eax, edx
setl dl
xor dl, cl
cmovne eax, edi
cmp eax, 0x16f8dd5d
jle 0x4ab2b0
cmp eax, 0x5ebfc3d9
jg 0x4ab300
cmp eax, 0x16f8dd5e
je 0x4ab37c
cmp eax, 0x3d79fa32
je 0x4ab404
cmp eax, 0x425db7b6
jne 0x4ab243
mov eax, dword [0x598468]
lea ecx, [eax - 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete cl
mov eax, 0xeb165fdb
mov edi, 0x5ebfc3da
cmove eax, edi
cmp dword [0x59846c], 0xa
mov edx, 0xeb165fdb
jmp 0x4ab238
cmp eax, 0x275c35a
jg 0x4ab350
cmp eax, 0x92824879
je 0x4ab449
cmp eax, 0xc8583aeb
je 0x4ab204
cmp eax, 0xeb165fdb
jne 0x4ab243
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 8]
push dword [eax]
push dword [ecx]
push dword [edx]
push dword [esi + 0xc]
call fcn.004aaee0
add esp, 0x10
mov eax, 0x5ebfc3da
jmp 0x4ab243
cmp eax, 0x5ebfc3da
je 0x4ab453
cmp eax, 0x66ec58bb
je 0x4ab4b3
cmp eax, 0x75ddaeaa
jne 0x4ab243
movzx ecx, byte [esi + 5]
movzx eax, byte [esi + 6]
mov edx, ecx
xor dl, al
test al, al
mov eax, 0x66ec58bb
mov edi, 0x16f8dd5e
cmovne eax, edi
test cl, cl
mov ecx, 0x66ec58bb
cmove eax, ecx
test dl, dl
cmovne eax, edi
jmp 0x4ab243
cmp eax, 0x275c35b
je 0x4ab4da
cmp eax, 0xb5ed58e
jne 0x4ab4e4
cmp byte [esi + 7], 0
mov eax, 0x425db7b6
mov ecx, 0xc8583aeb
cmovne eax, ecx
jmp 0x4ab243
push eax
mov eax, esp
mov dword [esi + 0x10], eax
push eax
mov eax, esp
mov dword [esi + 0x14], eax
sub esp, 0x80
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov dword [esi + 0xc], eax
push eax
mov eax, esp
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov eax, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov eax, dword [esi + 8]
mov dword [eax], 0x80
push dword [esi + 8]
push dword [esi + 0xc]
push ebx
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
setne byte [esi + 7]
mov eax, dword [0x598468]
lea ecx, [eax + 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete cl
mov eax, 0x66ec58bb
mov edi, 0xb5ed58e
cmove eax, edi
cmp dword [0x59846c], 0xa
mov edx, 0x66ec58bb
jmp 0x4ab238
mov edx, dword [0x598468]
mov ecx, dword [0x59846c]
lea eax, [edx + 1]
imul eax, edx
not eax
or eax, 0xfffffffe
cmp eax, 0xffffffff
sete dl
cmp ecx, 0xa
setl dh
xor dh, dl
mov edx, 0x92824879
mov edi, 0x13a812ad
cmovne edx, edi
cmp eax, 0xffffffff
mov eax, edx
cmove eax, edi
cmp ecx, 0xa
cmovge eax, edx
jmp 0x4ab243
mov eax, 0x3d79fa32
jmp 0x4ab243
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 8]
push dword [eax]
push dword [ecx]
push dword [edx]
push dword [esi + 0xc]
call fcn.004aaee0
add esp, 0x10
mov edx, dword [0x598468]
mov ecx, dword [0x59846c]
lea eax, [edx + 1]
imul eax, edx
mov edx, eax
xor edx, 0xfffffffe
test edx, eax
sete bl
cmp ecx, 0xa
setl bh
xor bh, bl
mov ebx, 0xeb165fdb
mov edi, 0x275c35b
cmovne ebx, edi
test edx, eax
mov eax, ebx
cmove eax, edi
cmp ecx, 0xa
cmovge eax, ebx
mov ebx, dword [ebp + 8]
jmp 0x4ab243
push eax
sub esp, 0x7c
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
push eax
mov ecx, esp
mov dword [ecx], 0x80
push ecx
push eax
push ebx
call dword [sym.imp.WS2_32.dll_getsockname]
mov eax, 0x16f8dd5e
jmp 0x4ab243
mov eax, 0xc8583aeb
jmp 0x4ab243
cmp eax, 0x13a812ad
jne 0x4ab243
mov ecx, dword [esi + 0x18]
xor ecx, ebp
call fcn.0055d8e5
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret