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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d472b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x628560]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
push esi
call fcn.004a9e40
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
je 0x4a8f53
mov ebx, dword [ebp + 0x10]
lea eax, [ebx + 8]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 0x18]
push ecx
push eax
push esi
mov dword [ebp - 0x14], ecx
call fcn.004a9ef0
mov esi, eax
test esi, esi
mov dword [ebp - 0x1c], esi
je 0x4a8c7a
mov ecx, dword [esi + 0x2c]
mov dl, byte [ecx + 0x60]
test dl, dl
je 0x4a8cac
mov dword [esi], 6
call fcn.004b7d90
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x3c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ebx, [esi + 0x1c]
mov esi, dword [edi + 0x30]
mov ecx, ebx
call fcn.004acde0
mov esi, dword [edi + 0x34]
mov ecx, ebx
call fcn.004acde0
mov ecx, dword [edi + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [edi + 0x30]
mov eax, dword [ecx + 8]
cmp eax, dword [edi + 0x40]
jae 0x4a8f53
push 0x48
mov dword [ebp - 4], 0
call fcn.004d3feb
add esp, 4
test eax, eax
je 0x4a8cef
mov esi, eax
call fcn.004a8310
mov ebx, eax
mov dword [ebp - 0x14], ebx
jmp 0x4a8cf9
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + 0xc8]
mov dword [ebx + 8], eax
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx + 0x14]
mov dword [ebx + 0xc], edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], 0xffffffff
mov edx, dword [esi + 0x1c]
mov dword [eax], edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp - 0x14]
push 0x230
mov dword [ebp - 0x1c], ebx
call fcn.004d3feb
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
mov byte [ebp - 4], 1
je 0x4a8d21
mov edi, dword [edi + 0x2c]
call fcn.004aec80
mov edi, dword [ebp - 0x18]
jmp 0x4a8d23
xor eax, eax
mov byte [ebp - 4], 0
mov dword [ebx + 0x2c], eax
cmp dword [edi + 0x10], 2
jne 0x4a8d68
push 0x10
call fcn.004d3feb
add esp, 4
mov dword [ebx + 0x14], eax
push 0x10
mov word [eax + 2], 0
call fcn.004d3feb
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x18], eax
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
jmp 0x4a8d94
push 0x1c
call fcn.004d3feb
add esp, 4
mov dword [ebx + 0x14], eax
push 0x1c
mov word [eax + 2], 0
call fcn.004d3feb
mov esi, dword [ebp + 0xc]
mov ecx, 7
mov edi, eax
mov dword [ebx + 0x18], eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
mov edx, dword [0x648ae8]
add esp, 4
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x648aec]
sub eax, 1
mov dword [0x648aec], eax
lea esi, [ebx + 0x1c]
mov dword [esi], eax
mov eax, dword [0x648ae8]
push eax
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x20], ecx
mov edx, dword [edi + 0x10]
mov ecx, dword [esi]
mov dword [ebx + 0x10], edx
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 0x18]
add eax, 8
mov dword [ebx + 0x24], edx
mov eax, dword [eax]
mov dword [ebp - 4], 3
mov esi, dword [ebx + 0x2c]
mov dword [ebx + 0x28], eax
mov dword [ebp + 8], 0
call fcn.004af0c0
push ebx
mov eax, edi
call fcn.004ab6d0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx + 0x2c]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004b0450
mov edx, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x14]
mov dword [ebx], 4
mov eax, dword [edx + 0x208]
mov eax, dword [eax + 8]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
sub edx, 2
neg edx
sbb edx, edx
and edx, 0xc
add edx, 0x10
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x20]
push edx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x14]
add eax, 0x214
cmp dword [ebx + 0x10], 2
jne 0x4a8e67
mov edx, dword [eax]
mov dword [ecx + 4], edx
jmp 0x4a8e6c
call fcn.004b8400
mov eax, dword [0x648ae4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [ebp - 0x1c]
mov eax, 0x648ad8
mov dword [ebp - 4], 5
call fcn.004ac650
mov edi, dword [ebp - 0x14]
mov dword [eax], edi
jmp 0x4a8ea5
mov ecx, dword [0x648ae4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [ebp - 0x18]
mov edx, dword [esi + 0x3c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 7
mov ebx, dword [esi + 0x30]
push ecx
call fcn.00453e60
mov dword [ebp - 4], 0xffffffff
jmp 0x4a8ef4
mov edx, dword [esi + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x648b40]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
push eax
call ebx
cmp dword [ebp + 8], 0
jg 0x4a8f3a
mov ecx, dword [esi + 0x38]
push ecx
call ebx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 0x2c]
call fcn.004b08e0
mov dword [edi], 6
call fcn.004b7d90
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc