Function at 0x1400089c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
cmp byte [rcx + 0xb5], 0
mov rbx, rcx
je 0x1400089ea
xor eax, eax
jmp 0x140008cbd
test rdx, rdx
je 0x1400089fc
call fcn.14000891c
test eax, eax
jne 0x140008cbd
mov rax, qword [0x1401241d8]
xor r9d, r9d
mov rdx, qword [0x14012ab78]
xor r8d, r8d
mov byte [rbx + 0xb5], 1
mov ecx, dword [rax + 0x60]
mov dword [rax + 0x60], SafeArrayAllocDescriptor
and dword [rsp + 0xe0], 0
mov dword [rsp + 0xf0], ecx
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov rcx, qword [rbx + 0x20]
lea r8, [rsp + 0xe0]
mov edx, 0x8004667e
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
mov r13d, dword [rsp + 0xe0]
lea r14, [rbx + 0x40]
xor esi, esi
xor edi, edi
mov rax, qword [rbx + 0x50]
cmp rdi, rax
jae 0x140008a7c
mov rcx, qword [r14]
cmp byte [rcx + rdi], 0
je 0x140008abe
inc esi
mov edi, esi
cmp rdi, rax
jb 0x140008a6d
cmp rax, qword [rbx + 0x48]
jne 0x140008a95
mov rdx, qword [r14 + 8]
mov rcx, r14
inc rdx
call fcn.14000d7a0
test eax, eax
jne 0x140008ac3
mov r8d, dword [rbx + 0x48]
xor r9d, r9d
mov rdx, qword [r14]
sub r8d, dword [rbx + 0x50]
add rdx, qword [rbx + 0x50]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x140008ac3
cdqe
add qword [rbx + 0x50], rax
jmp 0x140008a61
mov r13d, esi
jmp 0x140008ad9
lea rcx, [0x140103b80]
call fcn.14000cda8
mov edi, eax
test eax, eax
jne 0x140008c80
mov r15, qword [r14]
mov edx, SafeArrayAllocDescriptor
mov rcx, r15
call fcn.1400c02c0
xor ebp, ebp
lea r12, [0x14010101e]
test rax, rax
je 0x140008cfc
mov byte [rax], bpl
xor esi, esi
inc rax
cmp byte [rax], sil
je 0x140008cfc
cmp rsi, 0x10
je 0x140008bd8
mov r8b, 0x2d
cmp byte [rax], r8b
jne 0x140008bd8
mov r9d, 1
add rax, r9
mov dl, byte [rax]
test dl, dl
je 0x140008d31
lea rcx, [rax + 1]
cmp byte [rcx], 0x20
jne 0x140008b49
cmp byte [rax + 2], r8b
je 0x140008b49
mov rax, rcx
mov byte [rcx], dl
mov qword [rsp + rsi*8 + 0x20], rax
lea rcx, [rax + 1]
add rsi, r9
add ebp, r9d
cmp dl, 0x69
jne 0x140008b68
sub ebp, r9d
mov r12, rcx
sub rsi, r9
jmp 0x140008b71
cmp dl, r8b
je 0x140008cfc
mov r10b, SafeArrayAllocDescriptor
cmp byte [rcx], r10b
jne 0x140008cd8
lea rdi, [rax + 2]
jmp 0x140008ba5
mov dl, al
cmp al, 0x5c
jne 0x140008b8c
mov dl, byte [rdi + 1]
lea r8, [rdi + 1]
cmovne r8, rdi
test dl, dl
je 0x140008d31
mov byte [rcx], dl
lea rdi, [r8 + 1]
add rcx, r9
mov al, byte [rdi]
cmp al, r10b
jne 0x140008b83
add rdi, r9
mov byte [rcx], 0
cmp byte [rdi], 0
je 0x140008cfc
mov r8d, 2
lea rdx, [0x1401030d4]
mov rcx, rdi
call fcn.1400cbe00
test eax, eax
je 0x140008cef
mov edi, 1
and qword [rbx + 0x70], 0
lea rsi, [rbx + 0x60]
and dword [rbx + 0x78], 0
cmp qword [rbx + 0x20], 0xffffffffffffffff
je 0x140008c80
mov r9, r12
lea rdx, [0x140103aa8]
mov r8, r15
mov rcx, rsi
call fcn.14000d1b8
lea rdx, [0x140103ad4]
mov rcx, rsi
call fcn.14000d148
mov r8d, edi
lea rdx, [0x140103ad8]
mov rcx, rsi
call fcn.14000d1b8
xor edx, edx
mov rcx, rbx
call fcn.14000c7a0
mov edi, eax
test eax, eax
jne 0x140008c80
cmp qword [rbx + 0x50], 0
je 0x140008c65
mov r8, qword [r14 + 0x10]
lea eax, [r13 + 1]
movsxd rsi, eax
cmp rsi, r8
jae 0x140008c61
mov rcx, qword [r14]
sub r8, rsi
lea rdx, [rcx + rsi]
call fcn.1400e2370
sub qword [r14 + 0x10], rsi
mov eax, dword [rbx + 0x80]
cmp eax, 2
je 0x140008a5d
test eax, eax
je 0x140008c80
mov rcx, rbx
call fcn.140008998
mov ecx, dword [rsp + 0xf0]
mov rax, qword [0x1401241d8]
mov byte [rbx + 0xb5], 0
mov dword [rax + 0x60], ecx
mov rcx, qword [rbx + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140008cbb
mov rdx, qword [0x14012ab78]
mov r9d, SafeArrayAllocDescriptor
mov r8d, 0x408
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov eax, edi
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [0x1401030d4]
call fcn.1400c033c
mov rdi, rax
test rax, rax
je 0x140008cfc
mov byte [rax], 0
lea rax, [rdi + 1]
cmp byte [rax], 0
jne 0x140008b0c
xor esi, esi
lea rdi, [0x140124030]
mov rcx, qword [rdi]
mov rdx, r15
call fcn.1400cac30
test eax, eax
je 0x140008d39
inc rsi
lea rax, [0x1401241d0]
add rdi, 0x10
cmp rdi, rax
jne 0x140008d05
mov edi, 4
jmp 0x140008bdd
mov edi, r9d
jmp 0x140008bdd
add rsi, rsi
lea rdx, [rsp + 0x20]
mov r9, r12
lea rax, [0x140124030]
mov r8d, ebp
mov rcx, rbx
call qword [rax + rsi*reloc.WSOCK32.dll_htonl + 8]
mov edi, eax
test eax, eax
jne 0x140008d8e
cmp qword [rbx + 0x70], 0
jne 0x140008d78
lea rcx, [rbx + 0x60]
mov r9, r12
mov r8, r15
lea rdx, [0x140103af8]
call fcn.14000d1b8
xor edx, edx
mov rcx, rbx
call fcn.14000c7a0
mov edi, eax
test eax, eax
jne 0x140008c80
jmp 0x140008d97
cmp eax, 0xffffffff
jne 0x140008bdd
xor edi, edi
jmp 0x140008c3b