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

Disassembly:
sub esp, 0x188
mov eax, dword [0x48d030]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
mov ebx, dword [esp + 0x190]
cmp dword [ebx + 0x2f8], 3
jne 0x438f5a
cmp byte [ebx + 0x51e], 0
jne 0x438f5a
cmp byte [ebx + 0x532], 0
jne 0x438f5a
push ebp
push esi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x80
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1a8]
call dword [sym.imp.WS2_32.dll_getpeername]
mov ebp, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x438e22
call edi
mov esi, eax
lea eax, [esp + 0x94]
push 0x100
push eax
push esi
call fcn.004618f0
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push dword [ebx]
call fcn.00437460
add esp, 0x1c
jmp 0x438eb0
lea eax, [ebx + 0x3a0]
push eax
lea esi, [ebx + 0x372]
push esi
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
call fcn.00437e10
add esp, 0x10
test al, al
jne 0x438e7a
call ebp
mov esi, dword [eax]
call ebp
mov edi, eax
lea eax, [esp + 0x94]
push 0x100
push eax
push esi
call fcn.004618f0
push eax
push dword [edi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push dword [ebx]
call fcn.00437460
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
add esp, 0x1c
jmp 0x438eb0
movups xmm0, xmmword [esi]
mov eax, dword [esi + 0x28]
movups xmmword [ebx + 0x2c4], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [ebx + 0x2d4], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [ebx + 0x2e4], xmm0
mov dword [ebx + 0x2ec], eax
mov ax, word [esi + 0x2c]
mov word [ebx + 0x2f0], ax
push 0x80
lea eax, [esp + 0x18]
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 + 0x18]
push eax
push dword [esp + 0x1a8]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x438f07
call edi
mov esi, eax
lea eax, [esp + 0x94]
push 0x100
push eax
push esi
call fcn.004618f0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
jmp 0x438f4d
lea eax, [ebx + 0x3d4]
push eax
lea eax, [ebx + 0x3a4]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
call fcn.00437e10
add esp, 0x10
test al, al
jne 0x438f57
call ebp
mov esi, dword [eax]
call ebp
mov edi, eax
lea eax, [esp + 0x94]
push 0x100
push eax
push esi
call fcn.004618f0
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push dword [ebx]
call fcn.00437460
add esp, 0x1c
pop edi
pop esi
pop ebp
mov ecx, dword [ebx]
movups xmm0, xmmword [ebx + 0x372]
movups xmmword [ecx + 0x1170], xmm0
movups xmm0, xmmword [ebx + 0x382]
movups xmmword [ecx + 0x1180], xmm0
movq xmm0, qword [ebx + 0x392]
movq qword [ecx + 0x1190], xmm0
mov eax, dword [ebx + 0x39a]
mov dword [ecx + 0x1198], eax
movzx eax, word [ebx + 0x39e]
mov word [ecx + 0x119c], ax
mov ecx, dword [ebx]
movups xmm0, xmmword [ebx + 0x3a4]
movups xmmword [ecx + 0x11a4], xmm0
movups xmm0, xmmword [ebx + 0x3b4]
movups xmmword [ecx + 0x11b4], xmm0
movq xmm0, qword [ebx + 0x3c4]
movq qword [ecx + 0x11c4], xmm0
mov eax, dword [ebx + 0x3cc]
mov dword [ecx + 0x11cc], eax
movzx eax, word [ebx + 0x3d0]
mov word [ecx + 0x11d0], ax
mov eax, dword [ebx + 0x568]
mov ecx, dword [ebx]
mov eax, dword [eax]
mov dword [ecx + 0x11d8], eax
mov eax, dword [ebx + 0x568]
mov ecx, dword [ebx]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x11dc], eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x3a0]
mov dword [ecx + 0x11a0], eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x3d4]
pop ebx
mov dword [ecx + 0x11d4], eax
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.0046f931
add esp, 0x188
ret