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

Disassembly:
mov r11, rsp
sub rsp, 0x148
mov rax, qword [0x0072f1d0]
mov qword [rsp + 0x130], rax
cmp dword [rcx + 0xa4], 2
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rsi, qword [rcx]
mov qword [r11 - 8], rdi
mov rbx, rdx
mov rdi, rcx
je 0x53f13d
cmp dword [rcx + 0x2ac], 0
jne 0x53f059
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x53eee3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, rdi
mov edx, eax
mov ebx, eax
call fcn.0052bc00
lea rdx, str.getpeername___failed_with_errno__d:__s
mov r8d, ebx
mov r9, rax
mov rcx, rsi
call fcn.0052eee0
jmp 0x53f13d
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0xb0]
mov rcx, rbx
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x53ef31
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, rdi
mov edx, eax
mov ebx, eax
call fcn.0052bc00
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov r9, rax
mov rcx, rsi
call fcn.0052eee0
jmp 0x53f13d
cmp word [rsp + 0x30], 2
jne 0x53f01c
mov r9d, reloc.WLDAP32.dll_Ordinal_46
lea r8, [rdi + 0xf0]
lea rdx, [rsp + 0x34]
lea ecx, [r9 - 0x2c]
call fcn.00547680
test rax, rax
je 0x53f01c
movzx ecx, word [rsp + 0x32]
call qword [sym.imp.WS2_32.dll_ntohs]
lea r8, [rdi + 0x154]
lea rdx, [rdi + 0x124]
movzx r11d, ax
lea rcx, [rsp + 0xb0]
mov dword [rdi + 0x120], r11d
mov rax, qword [rdi + 0xf0]
mov qword [rdi + 0x70], rax
mov rax, qword [rdi + 0xf8]
mov qword [rdi + 0x78], rax
mov rax, qword [rdi + 0x100]
mov qword [rdi + 0x80], rax
mov rax, qword [rdi + 0x108]
mov qword [rdi + 0x88], rax
mov rax, qword [rdi + 0x110]
mov qword [rdi + 0x90], rax
mov eax, dword [rdi + 0x118]
mov dword [rdi + 0x98], eax
movzx eax, word [rdi + 0x11c]
mov word [rdi + 0x9c], ax
call fcn.0053edc0
test eax, eax
jne 0x53f059
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov edx, eax
mov ebx, eax
call fcn.0052bc00
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r8d, ebx
mov r9, rax
mov rcx, rsi
call fcn.0052eee0
jmp 0x53f13d
mov byte [rdi + 0xf0], 0
mov dword [rdi + 0x120], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rdi
mov ebx, eax
call fcn.0052bc00
lea rdx, str.ssrem_inet_ntop___failed_with_errno__d:__s
mov r8d, ebx
mov r9, rax
mov rcx, rsi
call fcn.0052eee0
jmp 0x53f13d
mov rcx, qword [rdi]
mov rax, qword [rdi + 0xf0]
mov qword [rcx + 0x8a50], rax
mov rax, qword [rdi + 0xf8]
mov qword [rcx + 0x8a58], rax
mov rax, qword [rdi + 0x100]
mov qword [rcx + 0x8a60], rax
mov rax, qword [rdi + 0x108]
mov qword [rcx + 0x8a68], rax
mov rax, qword [rdi + 0x110]
mov qword [rcx + 0x8a70], rax
mov eax, dword [rdi + 0x118]
mov dword [rcx + 0x8a78], eax
movzx eax, word [rdi + 0x11c]
mov word [rcx + 0x8a7c], ax
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x124]
mov qword [rcx + 0x8a84], rax
mov rax, qword [rdi + 0x12c]
mov qword [rcx + 0x8a8c], rax
mov rax, qword [rdi + 0x134]
mov qword [rcx + 0x8a94], rax
mov rax, qword [rdi + 0x13c]
mov qword [rcx + 0x8a9c], rax
mov rax, qword [rdi + 0x144]
mov qword [rcx + 0x8aa4], rax
mov eax, dword [rdi + 0x14c]
mov dword [rcx + 0x8aac], eax
movzx eax, word [rdi + 0x150]
mov word [rcx + 0x8ab0], ax
mov rcx, qword [rdi]
mov eax, dword [rdi + 0x120]
mov dword [rcx + 0x8a80], eax
mov rcx, qword [rdi]
mov eax, dword [rdi + 0x154]
mov dword [rcx + 0x8ab4], eax
mov rdi, qword [rsp + 0x140]
mov rsi, qword [rsp + 0x168]
mov rbx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x130]
call fcn.00693b90
add rsp, 0x148
ret