Function at 0x140008bd0
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 0x140008bfa
xor eax, eax
jmp 0x140008eaa
test rdx, rdx
je 0x140008c0c
call fcn.140008b2c
test eax, eax
jne 0x140008eaa
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 0x140008c66
mov rcx, qword [r12]
cmp byte [rcx + rdi], 0
je 0x140008cb5
inc esi
mov edi, esi
cmp rdi, rax
jb 0x140008c57
cmp rax, qword [rbx + 0x48]
jne 0x140008c8b
mov rax, qword [r12 + 8]
lea rdx, [rax + rax]
test rax, rax
jne 0x140008c7f
mov edx, 0x800
mov rcx, r12
call fcn.14000d8ec
test eax, eax
jne 0x140008cbe
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 0x140008cbe
cdqe
add qword [rbx + 0x50], rax
jmp 0x140008c4a
mov dword [rsp + 0xf0], esi
jmp 0x140008cd4
lea rcx, [0x1400fec10]
call fcn.14000cf34
mov edi, eax
test eax, eax
jne 0x140008e85
mov r15, qword [r12]
mov edx, SafeArrayAllocDescriptor
mov rcx, r15
call fcn.1400bc5c0
xor ebp, ebp
lea rsi, [0x1400fc00e]
test rax, rax
je 0x140008eeb
lea rcx, [rax + 1]
mov byte [rax], bpl
xor r13d, r13d
cmp byte [rcx], bpl
je 0x140008eeb
cmp r13, 0x10
je 0x140008dd3
cmp byte [rcx], 0x2d
jne 0x140008dd3
inc rcx
mov dl, byte [rcx]
test dl, dl
je 0x140008dd3
lea rax, [rcx + 1]
cmp byte [rax], 0x20
jne 0x140008d3e
cmp byte [rcx + 2], 0x2d
je 0x140008d3e
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 0x140008eeb
mov r9b, SafeArrayAllocDescriptor
cmp byte [r8], r9b
jne 0x140008ec5
lea rdi, [rcx + 2]
jmp 0x140008d9f
mov cl, al
cmp al, 0x5c
jne 0x140008d89
mov cl, byte [rdi + 1]
lea rdx, [rdi + 1]
cmovne rdx, rdi
test cl, cl
je 0x140008dd3
mov byte [r8], cl
lea rdi, [rdx + 1]
inc r8
mov al, byte [rdi]
cmp al, r9b
jne 0x140008d80
inc rdi
mov byte [r8], 0
cmp byte [rdi], 0
je 0x140008eeb
mov r8d, 2
lea rdx, [0x1400fe0c4]
mov rcx, rdi
call fcn.1400c7460
test eax, eax
je 0x140008edf
mov edi, 1
and qword [rbx + 0x70], 0
lea rbp, [rbx + 0x60]
and dword [rbx + 0x78], 0
cmp qword [rbx + 0x20], 0xffffffffffffffff
je 0x140008e85
mov r9, rsi
lea rdx, [0x1400feb38]
mov r8, r15
mov rcx, rbp
call fcn.14000d34c
or r8, 0xffffffffffffffff
lea rdx, [0x1400feb64]
mov rcx, rbp
call fcn.14000d2d4
mov r8d, edi
lea rdx, [0x1400feb68]
mov rcx, rbp
call fcn.14000d34c
mov rcx, rbx
call fcn.14000c93c
mov edi, eax
test eax, eax
jne 0x140008e85
cmp qword [rbx + 0x50], 0
je 0x140008e6a
mov eax, dword [rsp + 0xf0]
mov r8, qword [r12 + 0x10]
inc eax
movsxd rsi, eax
cmp rsi, r8
jae 0x140008e65
mov rcx, qword [r12]
sub r8, rsi
lea rdx, [rcx + rsi]
call fcn.1400bbf50
sub qword [r12 + 0x10], rsi
mov eax, dword [rbx + 0x80]
cmp eax, 2
je 0x140008c46
test eax, eax
je 0x140008e85
mov rcx, rbx
call fcn.140008ba8
mov rcx, qword [rbx + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140008ea8
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.1400bc640
mov rdi, rax
test rax, rax
je 0x140008eeb
mov byte [rax], 0
lea rcx, [rdi + 1]
cmp byte [rcx], 0
jmp 0x140008d04
lea r13, [0x14011efe0]
xor r14d, r14d
mov rdi, r13
mov rcx, qword [rdi]
mov rdx, r15
call fcn.1400c6290
test eax, eax
je 0x140008f24
inc r14
lea rax, [0x14011f180]
add rdi, 0x10
cmp rdi, rax
jne 0x140008ef8
mov edi, 4
jmp 0x140008dd8
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 0x140008f71
cmp qword [rbx + 0x70], 0
jne 0x140008f5d
lea rcx, [rbx + 0x60]
mov r9, rsi
mov r8, r15
lea rdx, [0x1400feb88]
call fcn.14000d34c
mov rcx, rbx
call fcn.14000c93c
mov edi, eax
test eax, eax
jne 0x140008e85
jmp 0x140008f7a
cmp eax, 0xffffffff
jne 0x140008dd8
xor edi, edi
jmp 0x140008e38