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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2f0
lea rdi, [rsp + 0x20]
mov ecx, 0xb4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x300]
mov rax, qword [0x1400dad40]
xor rax, rsp
mov qword [rsp + 0x2e8], rax
mov rax, qword [rsp + 0x300]
cmp dword [rax + 0x32c], 3
jne 0x140044cfd
mov rax, qword [rsp + 0x300]
movzx eax, byte [rax + 0x655]
test eax, eax
jne 0x140044cfd
mov rax, qword [rsp + 0x300]
movzx eax, byte [rax + 0x66f]
test eax, eax
jne 0x140044cfd
mov rax, qword [rsp + 0x300]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x294], 0x80
lea r8, [rsp + 0x294]
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x308]
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x140044b42
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x2c4], eax
mov r8d, 0x100
lea rdx, [rsp + 0x40]
mov ecx, dword [rsp + 0x2c4]
call fcn.14001c5c0
mov r9, rax
mov r8d, dword [rsp + 0x2c4]
lea rdx, str.getpeername___failed_with_errno__d:__s
mov rcx, qword [rsp + 0x20]
call fcn.140042340
jmp 0x140044d0a
mov dword [rsp + 0x2b4], 0x80
mov r8d, 0x80
xor edx, edx
lea rcx, [rsp + 0x200]
call sub.VCRUNTIME140.dll_memset
lea r8, [rsp + 0x2b4]
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x308]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x140044bc9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x2c8], eax
mov r8d, 0x100
lea rdx, [rsp + 0x40]
mov ecx, dword [rsp + 0x2c8]
call fcn.14001c5c0
mov r9, rax
mov r8d, dword [rsp + 0x2c8]
lea rdx, str.getsockname___failed_with_errno__d:__s
mov rcx, qword [rsp + 0x20]
call fcn.140042340
jmp 0x140044d0a
mov rax, qword [rsp + 0x300]
add rax, 0x42c
mov rcx, qword [rsp + 0x300]
add rcx, 0x3fe
mov r9, rax
mov r8, rcx
mov edx, dword [rsp + 0x294]
lea rcx, [rsp + 0x160]
call fcn.140044720
movzx eax, al
test eax, eax
jne 0x140044c4f
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov r8d, 0x100
lea rdx, [rsp + 0x40]
mov ecx, dword [rax]
call fcn.14001c5c0
mov qword [rsp + 0x2d8], rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov rcx, qword [rsp + 0x2d8]
mov r9, rcx
mov r8d, dword [rax]
lea rdx, str.ssrem_inet_ntop___failed_with_errno__d:__s
mov rcx, qword [rsp + 0x20]
call fcn.140042340
jmp 0x140044d0a
mov rax, qword [rsp + 0x300]
add rax, 0x3fe
mov rcx, qword [rsp + 0x300]
add rcx, 0x2f8
mov r8d, reloc.WLDAP32.dll_Ordinal_46
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x300]
add rax, 0x460
mov rcx, qword [rsp + 0x300]
add rcx, 0x430
mov r9, rax
mov r8, rcx
mov edx, dword [rsp + 0x2b4]
lea rcx, [rsp + 0x200]
call fcn.140044720
movzx eax, al
test eax, eax
jne 0x140044cfd
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov r8d, 0x100
lea rdx, [rsp + 0x40]
mov ecx, dword [rax]
call fcn.14001c5c0
mov qword [rsp + 0x2e0], rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov rcx, qword [rsp + 0x2e0]
mov r9, rcx
mov r8d, dword [rax]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov rcx, qword [rsp + 0x20]
call fcn.140042340
jmp 0x140044d0a
mov rcx, qword [rsp + 0x300]
call fcn.140044d40
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_getpeername
call fcn.1400abe64
mov rcx, qword [rsp + 0x2e8]
xor rcx, rsp
call fcn.1400ab680
add rsp, 0x2f0
pop rdi
ret