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

Disassembly:
sub esp, 0x90
mov eax, dword [0x469a54]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
mov ebx, dword [esp + 0x98]
push ebp
mov ebp, dword [esp + 0xa8]
push esi
or ebp, 0x10
mov dword [esp + 0x10], 0x80
push edi
test ebx, ebx
je 0x411104
push ebx
call fcn.00420560
add esp, 4
test eax, eax
je 0x411104
mov eax, dword [esp + 0xb4]
mov edi, dword [esp + 0xb8]
test eax, eax
jle 0x410edf
push eax
jmp 0x410ee6
jns 0x410ef5
push 0x80
push edi
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
js 0x411104
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x410f1d
push str.getsockname
push edi
call fcn.0041bc20
add esp, 8
jmp 0x411104
push 0x3c
push 1
call fcn.00408570
mov esi, eax
add esp, 8
test esi, esi
jne 0x410f3e
push 0x45d04c
call fcn.0041baf0
jmp 0x411101
mov eax, dword [esp + 0xa8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0xac]
mov dword [esi + 0x10], eax
mov eax, 1
or dword [esi + 0x20], eax
push ebx
mov dword [esi], 0x44d33c
mov dword [esi + 0x14], ebp
mov word [esi + 0x18], ax
call fcn.00420560
push 1
push edi
push eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], ebx
call fcn.00420460
add esp, 0x10
test eax, eax
js 0x4110fb
push 1
call fcn.0041cc70
mov dword [esi + 4], eax
mov eax, 4
push eax
push eax
mov word [esi + 0x30], ax
call fcn.00408570
add esp, 0xc
mov dword [esi + 0x38], eax
test eax, eax
jne 0x410fbd
push str.calloc
call fcn.0041baf0
jmp 0x4110e6
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 0x30]
jge 0x41109e
mov ebp, dword [esp + 0xa8]
movzx eax, word [esp + 0x1c]
mov dword [esp + 0x18], eax
cmp eax, 2
jne 0x410fec
mov byte [esp + 0x13], 0x40
mov eax, 0x9b
jmp 0x410fff
cmp eax, 0x17
jne 0x41106a
mov byte [esp + 0x13], 0x58
mov eax, 0xb3
push eax
push 1
call fcn.00408570
mov edi, eax
add esp, 8
test edi, edi
je 0x41106a
lea eax, [edi + 0x18]
push fcn.00411410
push eax
call fcn.004201d0
mov al, byte [esp + 0x1b]
add esp, 8
mov byte [edi + 0x50], al
mov eax, dword [esp + 0x18]
mov dword [edi + 0x30], 0xffffffff
push edi
mov dword [edi + 0x4c], esi
mov byte [edi + 0x51], al
push 0x411500
push dword [esi + 0x28]
call fcn.00407b50
cdq
add esp, 4
sub eax, edx
sar eax, 1
push eax
lea eax, [edi + 0x38]
push eax
call fcn.00408b60
add esp, 0x10
push 0x3e8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
jmp 0x41106c
xor edi, edi
mov eax, dword [esi + 0x38]
mov dword [eax + ebx*4], edi
mov eax, dword [esi + 0x38]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x4110d1
test ebp, ebp
je 0x41108d
push eax
call fcn.00411810
add esp, 4
test eax, eax
js 0x4110ab
inc word [esi + 0x18]
inc ebx
movsx eax, word [esi + 0x30]
cmp ebx, eax
jl 0x410fd2
push esi
call fcn.00411700
add esp, 4
mov eax, esi
jmp 0x411106
push str.Couldnt_start_accepting_on_socket
call fcn.0041bd40
mov eax, dword [esi + 0x38]
add esp, 4
push dword [eax + ebx*4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x38]
push dword [eax + ebx*4]
call fcn.004117e0
jmp 0x4110db
push str.Couldnt_create_accepting_socket
call fcn.0041bd40
add esp, 4
push dword [esi + 0x38]
call fcn.00408660
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x4110fb
push 1
push eax
call fcn.0041cca0
add esp, 8
push esi
call fcn.00408660
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042eefa
add esp, 0x90
ret