Function at 0x43f7f0
Capabilities:
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
push rbp
sub rsp, 0xe0
lea rbp, [rsp + 0x80]
mov rax, qword [0x00442300]
mov rax, qword [rax]
xor rax, rbp
mov qword [rbp + 0x58], rax
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x28], rdx
mov dword [rbp - 0x14], 0x10
mov dword [rbp - 0x18], 1
lea rcx, [rbp + 0x28]
xor edx, edx
mov r8d, 0x30
call fcn.0041ba90
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax]
lea rdx, [rbp + 0x28]
add rdx, 0x18
lea r8, [rbp - 0x14]
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rbp + 0x28], rax
cmp rax, 0xffffffffffffffff
jne 0x43f864
jmp 0x43fabd
mov rcx, qword [rbp - 0x28]
lea rdx, [rbp + 0x28]
add rdx, 0x18
call fcn.00435540
cmp eax, 1
je 0x43f8d7
lea rcx, [rbp - 0x10]
lea r8, [rbp + 0x28]
add r8, 0x18
mov edx, 0x32
call fcn.0042c010
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x10]
mov rax, rsp
mov qword [rax + 0x30], rcx
lea r8, str.accept_new_connection
mov qword [rax + 0x28], r8
lea rcx, str._s:__s_is_not_allowed_to_connect
mov qword [rax + 0x20], rcx
xor eax, eax
mov ecx, eax
mov r9d, 0x4f5b
call fcn.0041e440
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x43fab8
jmp 0x43f8dc
jmp 0x43f8e1
mov rcx, qword [rbp + 0x28]
mov r8, qword [rbp - 0x28]
xor eax, eax
mov edx, eax
call fcn.004335f0
mov rax, qword [rbp - 0x20]
mov al, byte [rax + 0x28]
mov byte [rbp + 0x50], al
mov rax, qword [rbp - 0x20]
mov al, byte [rax + 0x29]
mov byte [rbp + 0x51], al
mov rax, qword [rbp - 0x20]
mov al, byte [rax + 0x2a]
mov byte [rbp + 0x52], al
mov rcx, qword [rbp + 0x28]
lea rdx, [rbp + 0x28]
add rdx, 8
lea r8, [rbp - 0x14]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0
je 0x43f977
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_strerror
mov rdx, qword [rbp - 0x30]
mov rcx, rax
mov rax, rsp
mov qword [rax + 0x30], rcx
lea r8, str.accept_new_connection
mov qword [rax + 0x28], r8
lea rcx, str._s:_getsockname___failed:__s
mov qword [rax + 0x20], rcx
xor eax, eax
mov ecx, eax
mov r9d, 0x4f68
call fcn.0041e440
movzx eax, word [rbp + 0x30]
cmp eax, 2
je 0x43f991
movzx eax, word [rbp + 0x30]
cmp eax, 0x17
jne 0x43fa08
mov rcx, qword [rbp + 0x28]
mov edx, 0xffff
mov r8d, 8
lea r9, [rbp - 0x18]
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0
je 0x43fa03
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_strerror
mov rdx, qword [rbp - 0x38]
mov rcx, rax
mov rax, rsp
mov qword [rax + 0x30], rcx
lea r8, str.accept_new_connection
mov qword [rax + 0x28], r8
lea rcx, str._s:_setsockopt_SOL_SOCKET_SO_KEEPALIVE__failed:__s
mov qword [rax + 0x20], rcx
xor eax, eax
mov ecx, eax
mov r9d, 0x4f7f
call fcn.0041e440
jmp 0x43fa08
mov rax, qword [rbp - 0x28]
cmp qword [rax + 0x7dc0], 0
je 0x43fa9e
mov rax, qword [rbp - 0x28]
mov rcx, qword [rax + 0x7dc0]
lea rdx, [0x0044b0dc]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
cmp eax, 0
jne 0x43fa9e
lea rcx, [rbp + 0x28]
mov edx, 1
call fcn.0043fb40
cmp eax, 0
je 0x43fa99
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_strerror
mov rdx, qword [rbp - 0x40]
mov rcx, rax
mov rax, rsp
mov qword [rax + 0x30], rcx
lea r8, str.accept_new_connection
mov qword [rax + 0x28], r8
lea rcx, str._s:_setsockopt_IPPROTO_TCP_TCP_NODELAY__failed:__s
mov qword [rax + 0x20], rcx
xor eax, eax
mov ecx, eax
mov r9d, 0x4f92
call fcn.0041e440
jmp 0x43fa9e
mov rcx, qword [rbp + 0x28]
call fcn.00433580
mov byte [rbp + 0x53], 0
mov rcx, qword [rbp - 0x28]
lea rdx, [rbp + 0x28]
call fcn.0043fc00
jmp 0x43fabd
mov rcx, qword [rbp + 0x58]
xor rcx, rbp
mov rax, qword [0x00442300]
mov rax, qword [rax]
sub rax, rcx
jne 0x43fadc
jmp 0x43fae1
call fcn.0041bf30
nop
add rsp, 0xe0
pop rbp
ret