Function at 0x1400a8ba8
Capabilities:
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket

Disassembly:
push rbp
push rsi
push rdi
mov eax, 0x2890
call fcn.1400fd8d0
sub rsp, rax
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x28c0], rbx
mov rax, qword [0x1401423c0]
xor rax, rsp
mov qword [rsp + 0x2880], rax
mov esi, edx
mov dword [rsp + 0x34], ecx
mov eax, ecx
mov qword [rsp + 0x48], rax
mov ecx, ecx
call fcn.1400a81bc
mov rdi, rax
mov qword [rsp + 0x58], rax
xor ecx, ecx
mov bpl, cl
mov byte [rsp + 0x30], cl
mov word [rsp + 0x68], cx
xor eax, eax
mov qword [rsp + 0x6a], rax
mov dword [rsp + 0x72], eax
mov word [rsp + 0x76], ax
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
cmp rdi, rcx
je 0x1400a8c45
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x68]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.WS2_32.dll_getsockname]
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x50], rax
movzx ecx, word [rsp + 0x6a]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ebx, ax
call fcn.1400d18e8
mov r11, rax
xor eax, eax
mov ecx, eax
cmp r11, rax
setne cl
cmp ecx, eax
jne 0x1400a8c74
mov ecx, 0x80004005
call fcn.14001cd80
int3
mov rax, qword [r11]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
movzx ebx, bx
mov ecx, dword [rsp + 0x6c]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r9, rax
mov dword [rsp + 0x20], ebx
mov r8, qword [rsp + 0x50]
lea rdx, str.SocketID___d__s:_d
lea rcx, [rsp + 0x38]
call fcn.1400a8b84
xor edx, edx
cmp rdi, rdx
jne 0x1400a8ce2
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
xor ecx, ecx
cmp eax, ecx
jg 0x1400a8f88
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400a8f88
mov eax, esi
shr eax, 0x10
cmp ax, dx
je 0x1400a8d38
movzx eax, si
mov ebx, 1
cmp eax, 2
je 0x1400a8d2a
cmp eax, 8
je 0x1400a8d25
cmp eax, 0x10
je 0x1400a8d0d
cmp eax, 0x20
jne 0x1400a8d2d
mov bpl, bl
jmp 0x1400a8d2d
mov r9, rsi
mov r8d, dword [rdi]
mov edx, dword [rdi + 4]
mov rcx, qword [rdi + 0x1058]
call qword [sym.imp.USER32.dll_PostMessageA]
jmp 0x1400a8d2d
mov bpl, dl
jmp 0x1400a8d2d
mov bpl, dl
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400a8f0c
movzx edx, si
mov ebx, 1
sub edx, ebx
je 0x1400a8e49
sub edx, ebx
je 0x1400a8e0b
sub edx, 6
je 0x1400a8de2
sub edx, 8
je 0x1400a8d79
cmp edx, 0x10
jne 0x1400a8f42
mov edx, ebx
mov ecx, dword [rsp + 0x34]
call fcn.1400a8ba8
xor eax, eax
jmp 0x1400a8f13
mov dword [rdi + 8], ebx
mov r9d, 0x22
mov r8d, dword [0x1401456e4]
mov rdx, qword [0x1401456e8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_WSAAsyncSelect]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [0x1401456f0]
lea rcx, [rdi + 0x10]
call fcn.1400a7c74
lea rcx, [rdi + 0x10]
call fcn.1400a7c9c
mov rcx, qword [rdi + 0x1058]
xor eax, eax
cmp rcx, rax
je 0x1400a8f5e
mov r8d, dword [rdi]
lea r9d, [rax + 0x10]
mov edx, dword [rdi + 4]
call qword [sym.imp.USER32.dll_PostMessageA]
xor ecx, ecx
jmp 0x1400a8f68
mov rcx, qword [rdi + 0x1058]
xor eax, eax
cmp rcx, rax
je 0x1400a8f5a
mov r8d, dword [rdi]
lea r9d, [rax + 8]
mov edx, dword [rdi + 4]
call qword [sym.imp.USER32.dll_PostMessageA]
xor ecx, ecx
jmp 0x1400a8f68
lea rcx, [rdi + 0x10]
mov dl, bl
call fcn.1400a7efc
xor eax, eax
cmp qword [rdi + 0x40], rax
jne 0x1400a8f56
mov rcx, qword [rdi + 0x1058]
cmp rcx, rax
je 0x1400a8f52
mov r8d, dword [rdi]
lea r9d, [rax + 2]
mov edx, dword [rdi + 4]
call qword [sym.imp.USER32.dll_PostMessageA]
xor ecx, ecx
jmp 0x1400a8f68
xor eax, eax
cmp byte [rdi + 0x24], al
je 0x1400a8e76
mov rcx, qword [rdi + 0x1058]
cmp rcx, rax
je 0x1400a8f4e
mov r8d, dword [rdi]
mov r9, rbx
mov edx, dword [rdi + 4]
call qword [sym.imp.USER32.dll_PostMessageA]
xor ecx, ecx
jmp 0x1400a8f68
mov esi, eax
xor r9d, r9d
mov r8d, 0x2800
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_recv]
xor ecx, ecx
cmp eax, ecx
jle 0x1400a8f68
lea rbx, [rdi + 0x10]
mov rbp, qword [rsp + 0x48]
xor edi, edi
add esi, eax
mov r8d, eax
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.1400a7c50
xor r9d, r9d
mov r8d, 0x2800
lea rdx, [rsp + 0x80]
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, edi
jg 0x1400a8ea9
cmp esi, edi
mov rdi, qword [rsp + 0x58]
mov ebx, 1
mov bpl, byte [rsp + 0x30]
jbe 0x1400a8f4a
mov rcx, qword [rdi + 0x1058]
xor eax, eax
cmp rcx, rax
je 0x1400a8f46
mov r8d, dword [rdi]
mov r9, rbx
mov edx, dword [rdi + 4]
call qword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
cmp bpl, al
je 0x1400a8f62
mov byte [rdi + 0x1050], bl
mov dword [rdi + 8], 2
mov rcx, qword [rdi + 0x1058]
cmp rcx, rax
je 0x1400a8f66
mov r8d, dword [rdi]
mov r9d, 0x20
mov edx, dword [rdi + 4]
call qword [sym.imp.USER32.dll_PostMessageA]
xor ecx, ecx
jmp 0x1400a8f68
xor ecx, ecx
jmp 0x1400a8f68
xor ecx, ecx
jmp 0x1400a8f68
xor ecx, ecx
jmp 0x1400a8f68
xor ecx, ecx
jmp 0x1400a8f68
xor ecx, ecx
jmp 0x1400a8f68
xor ecx, ecx
jmp 0x1400a8f68
xor ecx, ecx
jmp 0x1400a8f68
xor ecx, ecx
jmp 0x1400a8f68
xor ecx, ecx
jmp 0x1400a8f68
xor ecx, ecx
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, ecx
jg 0x1400a8f88
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x2880]
xor rcx, rsp
call fcn.1400e2890
mov rbx, qword [rsp + 0x28c0]
add rsp, 0x2890
pop rdi
pop rsi
pop rbp
ret