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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x560
lea rdi, [rsp + 0x30]
mov ecx, 0x14c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x570]
mov rax, qword [0x14055f260]
xor rax, rsp
mov qword [rsp + 0x558], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0xd0], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xf8], 0
mov rax, qword [rsp + 0x570]
movzx eax, word [rax + 0x230]
mov word [rsp + 0x104], ax
mov rax, qword [rsp + 0x570]
movzx eax, word [rax + 0x232]
mov dword [rsp + 0x108], eax
mov eax, 8
imul rax, rax, 8
mov rcx, qword [rsp + 0x570]
mov rax, qword [rcx + rax + 0x720]
mov qword [rsp + 0x110], rax
cmp qword [rsp + 0x110], 0
jne 0x1400e81d1
movzx eax, word [rsp + 0x104]
test eax, eax
jne 0x1400e81d1
xor eax, eax
jmp 0x1400e89a8
mov r8d, 0x80
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
cmp qword [rsp + 0x110], 0
je 0x1400e8717
mov rcx, qword [rsp + 0x110]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
cmp rax, 0xff
jae 0x1400e8717
movzx eax, byte [0x140575018]
mov byte [rsp + 0x130], al
lea rax, [rsp + 0x131]
mov rdi, rax
xor eax, eax
mov ecx, 0xff
rep stosb byte [rdi], al
mov dword [rsp + 0x234], 0
mov byte [rsp + 0x238], 0
mov byte [rsp + 0x239], 0
mov rcx, qword [str.0uU_]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8, rax
mov rdx, qword [rsp + 0x110]
mov rcx, qword [str.0uU_]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x1400e829c
mov rcx, qword [str.0uU_]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x110], rax
mov byte [rsp + 0x238], 1
jmp 0x1400e82ee
mov rcx, qword [str.4uU_]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8, rax
mov rdx, qword [rsp + 0x110]
mov rcx, qword [str.4uU_]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x1400e82ee
mov rcx, qword [str.4uU_]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x110], rax
mov byte [rsp + 0x239], 1
movzx eax, byte [rsp + 0x239]
test eax, eax
jne 0x1400e83e7
mov dword [rsp + 0x28], 0x100
lea rax, [rsp + 0x130]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x110]
mov rax, qword [rsp + 0x578]
mov r8d, dword [rax + 0x700]
mov edx, dword [rsp + 0x590]
mov ecx, dword [rsp + 0x588]
call fcn.140100ad0
mov dword [rsp + 0x550], eax
cmp dword [rsp + 0x550], 0
je 0x1400e8367
cmp dword [rsp + 0x550], 1
je 0x1400e839b
cmp dword [rsp + 0x550], 2
je 0x1400e83a5
jmp 0x1400e83e7
movzx eax, byte [rsp + 0x238]
test eax, eax
je 0x1400e8399
mov r8, qword [rsp + 0x110]
lea rdx, str.Couldnt_bind_to_interface__s
mov rcx, qword [rsp + 0x570]
call fcn.140084280
mov eax, reloc.WLDAP32.dll_Ordinal_45
jmp 0x1400e89a8
jmp 0x1400e83e7
mov eax, 1
jmp 0x1400e89a8
mov byte [rsp + 0x238], 1
mov eax, dword [rsp + 0x588]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x130]
mov r8, qword [rsp + 0x110]
lea rdx, str.Local_Interface__s_is_ip__s_using_address_family__i
mov rcx, qword [rsp + 0x570]
call fcn.140084140
mov dword [rsp + 0x234], 1
movzx eax, byte [rsp + 0x238]
test eax, eax
jne 0x1400e8566
mov rax, qword [rsp + 0x578]
movzx eax, byte [rax + 0x70c]
mov byte [rsp + 0x23a], al
cmp dword [rsp + 0x588], 2
jne 0x1400e8428
mov rax, qword [rsp + 0x578]
mov byte [rax + 0x70c], 1
jmp 0x1400e8441
cmp dword [rsp + 0x588], 0x17
jne 0x1400e8441
mov rax, qword [rsp + 0x578]
mov byte [rax + 0x70c], 2
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x50
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x570]
call fcn.140095be0
mov dword [rsp + 0x23c], eax
cmp dword [rsp + 0x23c], 1
jne 0x1400e8492
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x570]
call fcn.14006d710
mov rax, qword [rsp + 0x578]
movzx ecx, byte [rsp + 0x23a]
mov byte [rax + 0x70c], cl
cmp qword [rsp + 0xf8], 0
je 0x1400e855b
mov r8d, 0x100
lea rdx, [rsp + 0x130]
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rax]
call fcn.140096580
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax]
mov eax, dword [rax + 4]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x588]
mov r8, qword [rsp + 0x110]
lea rdx, str.Name__s_family__i_resolved_to__s_family__i
mov rcx, qword [rsp + 0x570]
call fcn.140084140
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x570]
call fcn.1400962f0
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x588], eax
je 0x1400e854e
mov eax, 1
jmp 0x1400e89a8
mov dword [rsp + 0x234], 1
jmp 0x1400e8566
mov dword [rsp + 0x234], 0xffffffff
cmp dword [rsp + 0x234], 0
jle 0x1400e86d3
cmp dword [rsp + 0x588], 0x17
jne 0x1400e866f
mov edx, Ordinal_41
lea rcx, [rsp + 0x130]
call sub.VCRUNTIME140.dll_strchr
mov qword [rsp + 0x240], rax
cmp qword [rsp + 0x240], 0
je 0x1400e85c5
mov rax, qword [rsp + 0x240]
mov byte [rax], 0
mov rax, qword [rsp + 0x240]
inc rax
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0xe0]
add rax, 8
mov r8, rax
lea rdx, [rsp + 0x130]
mov ecx, reloc.WS2_32.dll_socket
call fcn.1400ed670
test eax, eax
jle 0x1400e8662
mov eax, reloc.WS2_32.dll_socket
mov rcx, qword [rsp + 0xe0]
mov word [rcx], ax
movzx ecx, word [rsp + 0x104]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0xe0]
mov word [rcx + 2], ax
cmp qword [rsp + 0x240], 0
je 0x1400e8662
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rsp + 0x240]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov dword [rsp + 0x248], eax
cmp dword [rsp + 0x248], 0xffffffff
jbe 0x1400e8650
mov eax, 1
jmp 0x1400e89a8
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rsp + 0x248]
mov dword [rax + 0x18], ecx
mov dword [rsp + 0xd0], Ordinal_33
jmp 0x1400e86d3
cmp dword [rsp + 0x588], 2
jne 0x1400e86d3
mov rax, qword [rsp + 0xd8]
add rax, 4
mov r8, rax
lea rdx, [rsp + 0x130]
mov ecx, 2
call fcn.1400ed670
test eax, eax
jle 0x1400e86d3
mov eax, 2
mov rcx, qword [rsp + 0xd8]
mov word [rcx], ax
movzx ecx, word [rsp + 0x104]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0xd8]
mov word [rcx + 2], ax
mov dword [rsp + 0xd0], reloc.WS2_32.dll_recv
cmp dword [rsp + 0x234], 1
jge 0x1400e8712
mov rax, qword [rsp + 0x570]
mov byte [rax + 0x136f], 0
mov r8, qword [rsp + 0x110]
lea rdx, str.Couldnt_bind_to__s
mov rcx, qword [rsp + 0x570]
call fcn.140084280
mov eax, reloc.WLDAP32.dll_Ordinal_45
jmp 0x1400e89a8
jmp 0x1400e8797
cmp dword [rsp + 0x588], 0x17
jne 0x1400e8758
mov eax, reloc.WS2_32.dll_socket
mov rcx, qword [rsp + 0xe0]
mov word [rcx], ax
movzx ecx, word [rsp + 0x104]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0xe0]
mov word [rcx + 2], ax
mov dword [rsp + 0xd0], Ordinal_33
jmp 0x1400e8797
cmp dword [rsp + 0x588], 2
jne 0x1400e8797
mov eax, 2
mov rcx, qword [rsp + 0xd8]
mov word [rcx], ax
movzx ecx, word [rsp + 0x104]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0xd8]
mov word [rcx + 2], ax
mov dword [rsp + 0xd0], reloc.WS2_32.dll_recv
mov r8d, dword [rsp + 0xd0]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x580]
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
jl 0x1400e8899
mov dword [rsp + 0x2f4], 0x80
mov r8d, 0x80
xor edx, edx
lea rcx, [rsp + 0x260]
call sub.VCRUNTIME140.dll_memset
lea r8, [rsp + 0x2f4]
lea rdx, [rsp + 0x260]
mov rcx, qword [rsp + 0x580]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jge 0x1400e8864
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x118], eax
mov rax, qword [rsp + 0x570]
mov ecx, dword [rsp + 0x118]
mov dword [rax + 0xd7c], ecx
mov r8d, 0x100
lea rdx, [rsp + 0x320]
mov ecx, dword [rsp + 0x118]
call fcn.140058490
mov r9, rax
mov r8d, dword [rsp + 0x118]
lea rdx, [0x140557848]
mov rcx, qword [rsp + 0x570]
call fcn.140084280
mov eax, reloc.WLDAP32.dll_Ordinal_45
jmp 0x1400e89a8
movzx eax, word [rsp + 0x104]
mov r8d, eax
lea rdx, str.Local_port:__hu
mov rcx, qword [rsp + 0x570]
call fcn.140084140
mov rax, qword [rsp + 0x578]
mov byte [rax + 0x2de], 1
xor eax, eax
jmp 0x1400e89a8
mov eax, dword [rsp + 0x108]
dec eax
mov dword [rsp + 0x108], eax
cmp dword [rsp + 0x108], 0
jle 0x1400e8941
movzx eax, word [rsp + 0x104]
inc ax
mov word [rsp + 0x104], ax
movzx eax, word [rsp + 0x104]
test eax, eax
jne 0x1400e88d8
jmp 0x1400e8948
movzx eax, word [rsp + 0x104]
dec eax
mov r8d, eax
lea rdx, str.Bind_to_local_port__d_failed__trying_next
mov rcx, qword [rsp + 0x570]
call fcn.140084140
mov rax, qword [rsp + 0xc8]
movzx eax, word [rax]
cmp eax, 2
jne 0x1400e8925
movzx ecx, word [rsp + 0x104]
call qword [sym.imp.WS2_32.dll_ntohs]
mov rcx, qword [rsp + 0xd8]
mov word [rcx + 2], ax
jmp 0x1400e893f
movzx ecx, word [rsp + 0x104]
call qword [sym.imp.WS2_32.dll_ntohs]
mov rcx, qword [rsp + 0xe0]
mov word [rcx + 2], ax
jmp 0x1400e8943
jmp 0x1400e8948
jmp 0x1400e8797
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x118], eax
mov rax, qword [rsp + 0x570]
mov ecx, dword [rsp + 0x118]
mov dword [rax + 0xd7c], ecx
mov r8d, 0x100
lea rdx, [rsp + 0x440]
mov ecx, dword [rsp + 0x118]
call fcn.140058490
mov r9, rax
mov r8d, dword [rsp + 0x118]
lea rdx, str.bind_failed_with_errno__d:__s
mov rcx, qword [rsp + 0x570]
call fcn.140084280
mov eax, reloc.WLDAP32.dll_Ordinal_45
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_getsockopt
call fcn.14036c99c
mov rax, rdi
mov rcx, qword [rsp + 0x558]
xor rcx, rsp
call fcn.14036c0d0
add rsp, 0x560
pop rdi
ret