Function at 0x140008b64
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 0x140008b8e
xor eax, eax
jmp 0x140008e3e
test rdx, rdx
je 0x140008ba0
call fcn.140008ac0
test eax, eax
jne 0x140008e3e
mov rdx, qword [0x140125b28]
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 0x140008bfa
mov rcx, qword [r12]
cmp byte [rcx + rdi], 0
je 0x140008c49
inc esi
mov edi, esi
cmp rdi, rax
jb 0x140008beb
cmp rax, qword [rbx + 0x48]
jne 0x140008c1f
mov rax, qword [r12 + 8]
lea rdx, [rax + rax]
test rax, rax
jne 0x140008c13
mov edx, 0x800
mov rcx, r12
call fcn.14000d8fc
test eax, eax
jne 0x140008c52
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 0x140008c52
cdqe
add qword [rbx + 0x50], rax
jmp 0x140008bde
mov dword [rsp + 0xf0], esi
jmp 0x140008c68
lea rcx, [0x1400fec10]
call fcn.14000cf44
mov edi, eax
test eax, eax
jne 0x140008e19
mov r15, qword [r12]
mov edx, SafeArrayAllocDescriptor
mov rcx, r15
call fcn.1400bc0b0
xor ebp, ebp
lea rsi, [0x1400fc00e]
test rax, rax
je 0x140008e7f
lea rcx, [rax + 1]
mov byte [rax], bpl
xor r13d, r13d
cmp byte [rcx], bpl
je 0x140008e7f
cmp r13, 0x10
je 0x140008d67
cmp byte [rcx], 0x2d
jne 0x140008d67
inc rcx
mov dl, byte [rcx]
test dl, dl
je 0x140008d67
lea rax, [rcx + 1]
cmp byte [rax], 0x20
jne 0x140008cd2
cmp byte [rcx + 2], 0x2d
je 0x140008cd2
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 0x140008e7f
mov r9b, SafeArrayAllocDescriptor
cmp byte [r8], r9b
jne 0x140008e59
lea rdi, [rcx + 2]
jmp 0x140008d33
mov cl, al
cmp al, 0x5c
jne 0x140008d1d
mov cl, byte [rdi + 1]
lea rdx, [rdi + 1]
cmovne rdx, rdi
test cl, cl
je 0x140008d67
mov byte [r8], cl
lea rdi, [rdx + 1]
inc r8
mov al, byte [rdi]
cmp al, r9b
jne 0x140008d14
inc rdi
mov byte [r8], 0
cmp byte [rdi], 0
je 0x140008e7f
mov r8d, 2
lea rdx, [0x1400fe0c4]
mov rcx, rdi
call fcn.1400c6f50
test eax, eax
je 0x140008e73
mov edi, 1
and qword [rbx + 0x70], 0
lea rbp, [rbx + 0x60]
and dword [rbx + 0x78], 0
cmp qword [rbx + 0x20], 0xffffffffffffffff
je 0x140008e19
mov r9, rsi
lea rdx, [0x1400feb38]
mov r8, r15
mov rcx, rbp
call fcn.14000d35c
or r8, 0xffffffffffffffff
lea rdx, [0x1400feb64]
mov rcx, rbp
call fcn.14000d2e4
mov r8d, edi
lea rdx, [0x1400feb68]
mov rcx, rbp
call fcn.14000d35c
mov rcx, rbx
call fcn.14000c94c
mov edi, eax
test eax, eax
jne 0x140008e19
cmp qword [rbx + 0x50], 0
je 0x140008dfe
mov eax, dword [rsp + 0xf0]
mov r8, qword [r12 + 0x10]
inc eax
movsxd rsi, eax
cmp rsi, r8
jae 0x140008df9
mov rcx, qword [r12]
sub r8, rsi
lea rdx, [rcx + rsi]
call fcn.1400bba40
sub qword [r12 + 0x10], rsi
mov eax, dword [rbx + 0x80]
cmp eax, 2
je 0x140008bda
test eax, eax
je 0x140008e19
mov rcx, rbx
call fcn.140008b3c
mov rcx, qword [rbx + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140008e3c
mov rdx, qword [0x140125b28]
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, [0x1400fe0c4]
mov rcx, r8
call fcn.1400bc130
mov rdi, rax
test rax, rax
je 0x140008e7f
mov byte [rax], 0
lea rcx, [rdi + 1]
cmp byte [rcx], 0
jmp 0x140008c98
lea r13, [0x14011efe0]
xor r14d, r14d
mov rdi, r13
mov rcx, qword [rdi]
mov rdx, r15
call fcn.1400c5d80
test eax, eax
je 0x140008eb8
inc r14
lea rax, [0x14011f180]
add rdi, 0x10
cmp rdi, rax
jne 0x140008e8c
mov edi, 4
jmp 0x140008d6c
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 0x140008f05
cmp qword [rbx + 0x70], 0
jne 0x140008ef1
lea rcx, [rbx + 0x60]
mov r9, rsi
mov r8, r15
lea rdx, [0x1400feb88]
call fcn.14000d35c
mov rcx, rbx
call fcn.14000c94c
mov edi, eax
test eax, eax
jne 0x140008e19
jmp 0x140008f0e
cmp eax, 0xffffffff
jne 0x140008d6c
xor edi, edi
jmp 0x140008dcc