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

Disassembly:
sub esp, 0x1c0
mov eax, dword [0x4fe040]
xor eax, esp
mov dword [esp + 0x1bc], eax
push ebx
mov ebx, dword [esp + 0x1c8]
lea eax, [esp + 0x90]
push ebp
mov ebp, dword [esp + 0x1d0]
push 0x2e
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0xc], 0xffffffff
cmp byte [ebp + 0x509], 3
jne 0x455764
cmp byte [ebp + 0x247], 0
push esi
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push edi
mov edi, dword [esp + 0x1dc]
jne 0x4556bd
cmp byte [ebp + 0x259], 0
jne 0x4556bd
push 0x80
lea eax, [esp + 0x20]
mov dword [esp + 0x14], 0x80
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x45565d
call esi
mov esi, eax
lea eax, [esp + 0xcc]
push pe_nt_image_headers32
push eax
push esi
call fcn.00440070
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebx
call fcn.00453b20
jmp 0x4556b4
lea eax, [esp + 0x18]
push eax
lea eax, [ebp + 0xbc]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
call fcn.00454540
add esp, 0x10
test al, al
jne 0x4556bd
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov edi, eax
lea eax, [esp + 0xcc]
push pe_nt_image_headers32
push eax
push esi
call fcn.00440070
push eax
push dword [edi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00453b20
mov edi, dword [esp + 0x1f8]
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
add esp, 0x1c
push 0x80
lea eax, [esp + 0x20]
mov dword [esp + 0x14], 0x80
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x45570e
call esi
mov esi, eax
lea eax, [esp + 0xcc]
push pe_nt_image_headers32
push eax
push esi
call fcn.00440070
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
jmp 0x455759
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xa0]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
call fcn.00454540
add esp, 0x10
test al, al
jne 0x455762
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov edi, eax
lea eax, [esp + 0xcc]
push pe_nt_image_headers32
push eax
push esi
call fcn.00440070
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00453b20
add esp, 0x1c
pop edi
pop esi
cmp byte [esp + 0x94], 0
movups xmm0, xmmword [ebp + 0xbc]
movups xmmword [ebx + 0xd98], xmm0
movups xmm0, xmmword [ebp + 0xcc]
movups xmmword [ebx + 0xda8], xmm0
movq xmm0, qword [ebp + 0xdc]
movq qword [ebx + 0xdb8], xmm0
mov eax, dword [ebp + 0xe4]
mov dword [ebx + 0xdc0], eax
mov ax, word [ebp + 0xe8]
mov word [ebx + 0xdc4], ax
je 0x455801
movups xmm0, xmmword [esp + 0x94]
mov eax, dword [esp + 0xbc]
movups xmmword [ebx + 0xdd0], xmm0
movups xmm0, xmmword [esp + 0xa4]
movups xmmword [ebx + 0xde0], xmm0
movq xmm0, qword [esp + 0xb4]
movq qword [ebx + 0xdf0], xmm0
mov dword [ebx + 0xdf8], eax
mov ax, word [esp + 0xc0]
mov word [ebx + 0xdfc], ax
jmp 0x455808
mov byte [ebx + 0xdd0], 0
mov eax, dword [ebp + 0x288]
mov ecx, dword [esp + 0x1c4]
mov eax, dword [eax]
mov dword [ebx + 0xe04], eax
mov eax, dword [ebp + 0x288]
mov eax, dword [eax + 0x44]
mov dword [ebx + 0xe08], eax
mov eax, dword [ebp + 0x4f4]
mov dword [ebx + 0xdc8], eax
mov eax, dword [ebp + 0x4f8]
mov dword [ebx + 0xdcc], eax
mov eax, dword [esp + 0xc]
pop ebp
mov dword [ebx + 0xe00], eax
pop ebx
xor ecx, esp
call fcn.0043e7f2
add esp, 0x1c0
ret