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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x110
cmp rdx, 0xffffffffffffffff
je 0x140053cbe
mov rdi, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0x2c], pe_nt_image_headers64
lea rdx, [rsp + 0x90]
lea r8, [rsp + 0x2c]
mov rcx, rdi
call sub.ws2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x140053a27
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x90]
cmp ecx, 2
je 0x140053a36
cmp ecx, 0x17
jne 0x140053a66
cmp eax, 0x1b
jbe 0x140053cdb
movzx eax, word [rsp + 0x92]
rol ax, 8
mov ecx, dword [rsp + 0x94]
mov edx, dword [rsp + 0xa8]
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rsp + 0x52], xmm0
mov word [rsp + 0x30], 1
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x32], xmm0
movzx r8d, word [rsp + 0x60]
mov word [rsp + 0x42], r8w
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x48], edx
mov word [rsp + 0x4c], ax
xor ebx, ebx
jmp 0x140053a7b
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x140053a6d
cmp eax, 0xf
jbe 0x140053cf3
mov eax, dword [rsp + 0x94]
movzx ecx, word [rsp + 0x92]
rol cx, 8
mov word [rsp + 0x30], 0
mov word [rsp + 0x36], cx
mov dword [rsp + 0x32], eax
xor ebx, ebx
jmp 0x140053a7b
lea rax, str.invalid_argument_
mov qword [rsp + 0x38], rax
mov word [rsp + 0x30], 2
mov bl, 1
xorps xmm0, xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0x50], pe_nt_image_headers64
lea rdx, [rsp + 0x90]
lea r8, [rsp + 0x50]
mov rcx, rdi
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x140053b25
mov eax, dword [rsp + 0x50]
movzx ecx, word [rsp + 0x90]
cmp ecx, 0x17
je 0x140053b38
cmp ecx, 2
jne 0x140053b7e
cmp eax, 0xf
jbe 0x140053d0b
mov eax, dword [rsp + 0x94]
movzx ecx, word [rsp + 0x92]
rol cx, 8
movzx r9d, cx
shl r9, 0x20
or r9, rax
xor edi, edi
jmp 0x140053b89
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov di, 2
jmp 0x140053b89
cmp eax, 0x1b
jbe 0x140053d20
movzx ecx, word [rsp + 0x92]
rol cx, 8
mov r8d, dword [rsp + 0x94]
mov edx, dword [rsp + 0xa8]
mov r9d, dword [rsp + 0x98]
shl r9, 0x10
mov rax, qword [rsp + 0x9c]
mov di, 1
mov r10d, dword [rsp + 0xa4]
jmp 0x140053b89
mov di, 2
lea rax, str.invalid_argument_
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x70], di
mov dword [rsp + 0x72], r9d
shr r9, 0x20
mov word [rsp + 0x76], r9w
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], r10d
mov dword [rsp + 0x84], r8d
mov dword [rsp + 0x88], edx
mov word [rsp + 0x8c], cx
movzx eax, word [rsp + 0x50]
cmp ax, 2
je 0x140053c85
cmp di, 2
je 0x140053c85
lea rax, [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xc0], xmm1
movzx eax, byte [0x1402f31d1]
mov edx, 0x40
xor ecx, ecx
call fcn.14018e330
test rax, rax
je 0x140053cca
movaps xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0xa0]
movaps xmm2, xmmword [rsp + 0xb0]
movaps xmm3, xmmword [rsp + 0xc0]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov qword [rsi], rax
lea rax, [0x140212c90]
mov qword [rsi + 8], rax
mov word [rsi + 0x10], 1
jmp 0x140053cb2
mov qword [rsi], 0
mov word [rsi + 0x10], 1
cmp ax, 2
jne 0x140053ca2
lea rcx, [rsp + 0x58]
call fcn.1400511c0
cmp di, 2
jne 0x140053cb2
lea rcx, [rsp + 0x78]
call fcn.1400511c0
nop
add rsp, 0x110
pop rbx
pop rdi
pop rsi
ret
lea rcx, str._home_rifat_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.38.0_src_io_poll_evented.rs
call fcn.1400347a0
mov ecx, 4
mov edx, 0x40
call fcn.140023f30
jmp 0x140053d38
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len___mem::size_of::_c::sockaddr_in___
mov edx, 0x3a
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
call fcn.14002e2c0
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len___mem::size_of::_c::sockaddr_in___
mov edx, 0x39
lea rcx, [0x14026e891]
call fcn.14002e2c0
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len___mem::size_of::_c::sockaddr_in___
mov edx, 0x39
lea rcx, [0x14026e891]
jmp 0x140053d33
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len___mem::size_of::_c::sockaddr_in___
mov edx, 0x3a
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
call fcn.14002e2c0
ud2