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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47d69c
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4ab3e0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x4ab3e0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
and dword [esp + 0x14], 0
mov dword [esp + 0x34], eax
call fcn.00455160
xor edi, edi
push 6
inc edi
push edi
push 2
lea esi, [esp + 0x20]
mov dword [esp + 0x24], eax
call fcn.00428486
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x20], ebx
and dword [esp + 0x58], 0
cmp ebx, 0xffffffff
jne 0x428977
cmp dword [esp + 0x14], 0
je 0x428977
mov eax, esi
push eax
mov ecx, str.socket_select_interrupter
call fcn.004173b7
push 4
pop edx
push edx
lea eax, [esp + 0x30]
push eax
push 0xffff
push ebx
lea ecx, [esp + 0x24]
lea eax, [esp + 0x23]
mov dword [esp + 0x3c], edi
mov byte [esp + 0x23], 0
call fcn.004284f3
xor eax, eax
lea edi, [esp + 0x48]
stosd dword es:[edi], eax
add esp, 0x10
stosd dword es:[edi], eax
push 0x10
pop esi
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
pop eax
push str.127.0.0.1
mov dword [esp + 0x2c], esi
mov word [esp + 0x3c], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edi, dword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [esp + 0x3c], eax
xor eax, eax
cmp ebx, 0xffffffff
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov word [esp + 0x3a], ax
jne 0x4289f3
call fcn.00455160
mov ecx, 0x2719
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jmp 0x428a3f
push 0
call edi
push esi
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x28]
call dword [sym.imp.WS2_32.dll_bind]
mov dword [esp + 0x1c], eax
call fcn.00455160
mov dword [esp + 0x24], eax
call ebx
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
jne 0x428a38
call fcn.00455160
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x1c], 0xffffffff
jne 0x428a4f
cmp dword [esp + 0x14], 0
je 0x428a4f
lea eax, [esp + 0x14]
jmp 0x42896c
cmp dword [esp + 0x20], 0xffffffff
jne 0x428a6a
call fcn.00455160
mov ecx, 0x2719
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jmp 0x428abf
push 0
call edi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x28]
mov dword [esp + 0x28], esi
call dword [sym.imp.WS2_32.dll_getsockname]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
call fcn.00455160
mov esi, eax
call ebx
mov dword [esp + 0x18], esi
xor esi, esi
mov dword [esp + 0x14], eax
cmp dword [esp + 0x24], esi
jne 0x428ab8
call fcn.00455160
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
cmp dword [esp + 0x24], 0xffffffff
jne 0x428acf
cmp dword [esp + 0x14], 0
je 0x428acf
lea eax, [esp + 0x14]
jmp 0x42896c
push str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x3c], eax
jne 0x428af9
call fcn.00455160
mov ecx, 0x2719
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jmp 0x428b3d
push 0
call edi
push bind
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_listen]
mov dword [esp + 0x24], eax
call fcn.00455160
mov esi, eax
call ebx
mov dword [esp + 0x18], esi
xor esi, esi
mov dword [esp + 0x14], eax
cmp dword [esp + 0x24], esi
jne 0x428b36
call fcn.00455160
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
cmp dword [esp + 0x24], 0xffffffff
jne 0x428b4d
cmp dword [esp + 0x14], 0
je 0x428b4d
lea eax, [esp + 0x14]
jmp 0x42896c
push 6
push 1
push 2
lea esi, [esp + 0x20]
call fcn.00428486
add esp, 0xc
mov dword [esp + 0x1c], eax
xor esi, esi
mov byte [esp + 0x58], 1
cmp eax, 0xffffffff
jne 0x428b7e
cmp dword [esp + 0x14], esi
je 0x428b7e
lea eax, [esp + 0x14]
jmp 0x42896c
push dword [esp + 0x28]
lea ecx, [esp + 0x3c]
push ecx
push eax
lea eax, [esp + 0x20]
call fcn.004283b2
add esp, 0xc
cmp eax, 0xffffffff
jne 0x428ba8
cmp dword [esp + 0x14], esi
je 0x428ba8
lea eax, [esp + 0x14]
jmp 0x42896c
cmp dword [esp + 0x20], 0xffffffff
jne 0x428bc2
call fcn.00455160
mov ecx, 0x2719
mov dword [esp + 0x14], ecx
or edi, 0xffffffff
jmp 0x428c00
push esi
call edi
push esi
push esi
push dword [esp + 0x28]
mov dword [esp + 0x30], esi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [esp + 0x28], eax
call fcn.00455160
mov edi, eax
call ebx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x14], eax
cmp edi, 0xffffffff
jne 0x428bf7
or edi, edi
jmp 0x428c04
call fcn.00455160
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], edi
mov byte [esp + 0x58], 2
cmp edi, 0xffffffff
jne 0x428c21
cmp dword [esp + 0x14], esi
je 0x428c21
lea eax, [esp + 0x14]
jmp 0x42896c
lea eax, [esp + 0x13]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
lea ebx, [esp + 0x38]
mov dword [esp + 0x38], 1
mov byte [esp + 0x1b], 0
call fcn.0042859a
pop ecx
pop ecx
test eax, eax
je 0x428c5a
cmp dword [esp + 0x14], 0
je 0x428c5a
lea eax, [esp + 0x14]
jmp 0x42896c
push 4
lea eax, [esp + 0x30]
push eax
xor ebx, ebx
inc ebx
push 6
push dword [esp + 0x28]
lea ecx, [esp + 0x24]
mov edx, ebx
lea eax, [esp + 0x23]
mov dword [esp + 0x3c], ebx
call fcn.004284f3
lea eax, [esp + 0x23]
push eax
mov dword [esp + 0x44], ebx
push edi
lea eax, [esp + 0x2c]
lea ebx, [esp + 0x48]
mov byte [esp + 0x2b], 0
call fcn.0042859a
add esp, 0x18
test eax, eax
je 0x428cb0
cmp dword [esp + 0x14], 0
je 0x428cb0
lea eax, [esp + 0x14]
jmp 0x42896c
push 4
lea eax, [esp + 0x30]
push eax
xor ebx, ebx
inc ebx
push 6
push edi
lea ecx, [esp + 0x24]
mov edx, ebx
lea eax, [esp + 0x23]
mov dword [esp + 0x3c], ebx
call fcn.004284f3
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
or dword [esp + 0x38], 0xffffffff
or dword [esp + 0x2c], 0xffffffff
add esp, 0x10
lea esi, [esp + 0x28]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov byte [esp + 0x58], bl
call fcn.004288c3
lea esi, [esp + 0x1c]
mov byte [esp + 0x58], 0
call fcn.004288c3
or dword [esp + 0x58], 0xffffffff
lea esi, [esp + 0x20]
call fcn.004288c3
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00440747
mov esp, ebp
pop ebp
ret 4