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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x44a00c]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
push esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [esp + 0x18], eax
mov edi, ecx
mov eax, dword [ebp + 0x10]
push 0xb8
mov dword [esp + 0x20], eax
call fcn.0041be73
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, eax
call fcn.00414fd0
mov edx, dword [esp + 0xc]
mov esi, eax
mov dword [esp + 0x14], esi
mov dword [esi + 0x18], edx
mov ecx, dword [edi + 0x1f8c]
mov dword [esi + 0xac], ecx
mov ecx, dword [edi + 0x1f98]
mov dword [esi + 0xb0], ecx
mov dword [esi + 0x58], edi
mov byte [esi + 0xa8], 1
mov eax, dword [edi + 0x20]
mov dword [esi + 0x50], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x14], 0x10
push eax
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jns 0x41635f
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x10
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jns 0x416389
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
jmp 0x41638e
movaps xmm0, xmmword [esp + 0x20]
movups xmmword [esi + 0x34], xmm0
mov eax, dword [esp + 0x34]
mov dword [esi], eax
movzx eax, word [esp + 0x32]
mov word [esi + 4], ax
mov eax, dword [esp + 0x24]
mov dword [esi + 8], eax
movzx eax, word [esp + 0x22]
mov word [esi + 0xc], ax
push dword [edi + 0x1f98]
mov eax, dword [edi + 0x1f88]
push esi
call eax
add esp, 8
test eax, eax
jns 0x4163ee
push dword [esp + 0xc]
call dword [sym.imp.WS2_32.dll_closesocket]
push ecx
mov ecx, esi
call fcn.00415060
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0041be62
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41645c
push dword [esp + 0x1c]
push esi
call eax
add esp, 8
test eax, eax
jns 0x41645c
mov eax, dword [esi + 0x18]
mov byte [esi + 0xa7], 0
test eax, eax
js 0x416420
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x18], 0xffffffff
lea eax, [esi + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x416447
push dword [esi + 0xb0]
mov eax, dword [esi + 0xac]
push esi
call eax
add esp, 4
mov ecx, esi
call fcn.00415060
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0041be62
mov esp, ebp
pop ebp
ret 0xc
push 0
push 0
push dword [edi + 0x2c]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
jne 0x416480
push str.CreateIoCompletion_bind_Socket_Error_n
call fcn.00401410
add esp, 4
jmp 0x416404
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [edi + 0x1f7c]
lea eax, [esp + 0x14]
push eax
push dword [esi + 4]
push esi
call fcn.00414630
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [edi + 0x1f80]
sub ecx, eax
cmp ecx, 1
jb 0x41651b
inc eax
mov dword [edi + 0x1f80], eax
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x14]
cmp byte [esi + 0xa9], 0
je 0x416506
push esi
push esi
push 0
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x416506
push 1
push esi
mov ecx, edi
call fcn.00415220
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0041be62
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0041be62
mov esp, ebp
pop ebp
ret 0xc
push str.list_T__too_long
call fcn.0041be15
int3