Function at 0x140008b90
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 dword [rcx + 0x80], 2
mov rbx, rcx
jne 0x140008bba
xor eax, eax
jmp 0x140008e6a
test rdx, rdx
je 0x140008bcc
call fcn.140008aec
test eax, eax
jne 0x140008e6a
mov rdx, qword [0x140122af0]
xor r9d, r9d
mov rcx, qword [rbx + 0x20]
xor r8d, r8d
and dword [rsp + 0xe0], 0
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]
lea r12, [rbx + 0x40]
xor esi, esi
xor edi, edi
mov rax, qword [rbx + 0x50]
cmp rdi, rax
jae 0x140008c26
mov rcx, qword [r12]
cmp byte [rcx + rdi], 0
je 0x140008c75
inc esi
mov edi, esi
cmp rdi, rax
jb 0x140008c17
cmp rax, qword [rbx + 0x48]
jne 0x140008c4b
mov rax, qword [r12 + 8]
lea rdx, [rax + rax]
test rax, rax
jne 0x140008c3f
mov edx, 0x800
mov rcx, r12
call fcn.14000d844
test eax, eax
jne 0x140008c7e
mov r8d, dword [rbx + 0x48]
xor r9d, r9d
mov rdx, qword [rbx + 0x50]
sub r8d, dword [rbx + 0x50]
add rdx, qword [r12]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x140008c7e
cdqe
add qword [rbx + 0x50], rax
jmp 0x140008c0a
mov dword [rsp + 0xf0], esi
jmp 0x140008c94
lea rcx, [0x1400fcbb0]
call fcn.14000ce8c
mov edi, eax
test eax, eax
jne 0x140008e45
mov r15, qword [r12]
mov edx, SafeArrayAllocDescriptor
mov rcx, r15
call fcn.1400ba7b8
xor ebp, ebp
lea rsi, [0x1400f9fae]
test rax, rax
je 0x140008eab
lea rcx, [rax + 1]
mov byte [rax], bpl
xor r13d, r13d
cmp byte [rcx], bpl
je 0x140008eab
cmp r13, 0x10
je 0x140008d93
cmp byte [rcx], 0x2d
jne 0x140008d93
inc rcx
mov dl, byte [rcx]
test dl, dl
je 0x140008d93
lea rax, [rcx + 1]
cmp byte [rax], 0x20
jne 0x140008cfe
cmp byte [rcx + 2], 0x2d
je 0x140008cfe
mov rcx, rax
mov byte [rax], dl
cmp dl, 0x69
mov qword [rsp + r13*8 + 0x20], rcx
lea rax, [r13 + 1]
cmovne r13, rax
lea r8, [rcx + 1]
mov rax, r8
cmovne rax, rsi
mov rsi, rax
mov r14, rax
lea eax, [rbp + 1]
cmovne ebp, eax
cmp dl, 0x2d
je 0x140008eab
mov r9b, SafeArrayAllocDescriptor
cmp byte [r8], r9b
jne 0x140008e85
lea rdi, [rcx + 2]
jmp 0x140008d5f
mov cl, al
cmp al, 0x5c
jne 0x140008d49
mov cl, byte [rdi + 1]
lea rdx, [rdi + 1]
cmovne rdx, rdi
test cl, cl
je 0x140008d93
mov byte [r8], cl
lea rdi, [rdx + 1]
inc r8
mov al, byte [rdi]
cmp al, r9b
jne 0x140008d40
inc rdi
mov byte [r8], 0
cmp byte [rdi], 0
je 0x140008eab
mov r8d, 2
lea rdx, [0x1400fc064]
mov rcx, rdi
call fcn.1400c54c0
test eax, eax
je 0x140008e9f
mov edi, 1
and qword [rbx + 0x70], 0
lea rbp, [rbx + 0x60]
and dword [rbx + 0x78], 0
cmp qword [rbx + 0x20], 0xffffffffffffffff
je 0x140008e45
mov r9, rsi
lea rdx, [0x1400fcad8]
mov r8, r15
mov rcx, rbp
call fcn.14000d2a4
or r8, 0xffffffffffffffff
lea rdx, [0x1400fcb04]
mov rcx, rbp
call fcn.14000d22c
mov r8d, edi
lea rdx, [0x1400fcb08]
mov rcx, rbp
call fcn.14000d2a4
mov rcx, rbx
call fcn.14000c894
mov edi, eax
test eax, eax
jne 0x140008e45
cmp qword [rbx + 0x50], 0
je 0x140008e2a
mov eax, dword [rsp + 0xf0]
mov r8, qword [r12 + 0x10]
inc eax
movsxd rsi, eax
cmp rsi, r8
jae 0x140008e25
mov rcx, qword [r12]
sub r8, rsi
lea rdx, [rcx + rsi]
call fcn.1400ba140
sub qword [r12 + 0x10], rsi
mov eax, dword [rbx + 0x80]
cmp eax, 2
je 0x140008c06
test eax, eax
je 0x140008e45
mov rcx, rbx
call fcn.140008b68
mov rcx, qword [rbx + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140008e68
mov rdx, qword [0x140122af0]
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, [0x1400fc064]
mov rcx, r8
call fcn.1400ba838
mov rdi, rax
test rax, rax
je 0x140008eab
mov byte [rax], 0
lea rcx, [rdi + 1]
cmp byte [rcx], 0
jmp 0x140008cc4
lea r13, [0x14011bfe0]
xor r14d, r14d
mov rdi, r13
mov rcx, qword [rdi]
mov rdx, r15
call fcn.1400c4310
test eax, eax
je 0x140008ee4
inc r14
lea rax, [0x14011c180]
add rdi, 0x10
cmp rdi, rax
jne 0x140008eb8
mov edi, 4
jmp 0x140008d98
add r14, r14
lea rdx, [rsp + 0x20]
mov r9, rsi
mov r8d, ebp
mov rcx, rbx
call qword [r13 + r14*reloc.WSOCK32.dll_htonl + 8]
mov edi, eax
test eax, eax
jne 0x140008f31
cmp qword [rbx + 0x70], 0
jne 0x140008f1d
lea rcx, [rbx + 0x60]
mov r9, rsi
mov r8, r15
lea rdx, [0x1400fcb28]
call fcn.14000d2a4
mov rcx, rbx
call fcn.14000c894
mov edi, eax
test eax, eax
jne 0x140008e45
jmp 0x140008f3a
cmp eax, 0xffffffff
jne 0x140008d98
xor edi, edi
jmp 0x140008df8