Function at 0x140008b94
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 0x140008bbe
xor eax, eax
jmp 0x140008e6e
test rdx, rdx
je 0x140008bd0
call fcn.140008af0
test eax, eax
jne 0x140008e6e
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 0x140008c2a
mov rcx, qword [r12]
cmp byte [rcx + rdi], 0
je 0x140008c79
inc esi
mov edi, esi
cmp rdi, rax
jb 0x140008c1b
cmp rax, qword [rbx + 0x48]
jne 0x140008c4f
mov rax, qword [r12 + 8]
lea rdx, [rax + rax]
test rax, rax
jne 0x140008c43
mov edx, 0x800
mov rcx, r12
call fcn.14000d92c
test eax, eax
jne 0x140008c82
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 0x140008c82
cdqe
add qword [rbx + 0x50], rax
jmp 0x140008c0e
mov dword [rsp + 0xf0], esi
jmp 0x140008c98
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000cf74
mov edi, eax
test eax, eax
jne 0x140008e49
mov r15, qword [r12]
mov edx, SafeArrayAllocDescriptor
mov rcx, r15
call fcn.1400bbfd0
xor ebp, ebp
lea rsi, [0x1400fc00e]
test rax, rax
je 0x140008eaf
lea rcx, [rax + 1]
mov byte [rax], bpl
xor r13d, r13d
cmp byte [rcx], bpl
je 0x140008eaf
cmp r13, 0x10
je 0x140008d97
cmp byte [rcx], 0x2d
jne 0x140008d97
inc rcx
mov dl, byte [rcx]
test dl, dl
je 0x140008d97
lea rax, [rcx + 1]
cmp byte [rax], 0x20
jne 0x140008d02
cmp byte [rcx + 2], 0x2d
je 0x140008d02
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 0x140008eaf
mov r9b, SafeArrayAllocDescriptor
cmp byte [r8], r9b
jne 0x140008e89
lea rdi, [rcx + 2]
jmp 0x140008d63
mov cl, al
cmp al, 0x5c
jne 0x140008d4d
mov cl, byte [rdi + 1]
lea rdx, [rdi + 1]
cmovne rdx, rdi
test cl, cl
je 0x140008d97
mov byte [r8], cl
lea rdi, [rdx + 1]
inc r8
mov al, byte [rdi]
cmp al, r9b
jne 0x140008d44
inc rdi
mov byte [r8], 0
cmp byte [rdi], 0
je 0x140008eaf
mov r8d, 2
lea rdx, [0x1400fe0c4]
mov rcx, rdi
call fcn.1400c6e70
test eax, eax
je 0x140008ea3
mov edi, 1
and qword [rbx + 0x70], 0
lea rbp, [rbx + 0x60]
and dword [rbx + 0x78], 0
cmp qword [rbx + 0x20], 0xffffffffffffffff
je 0x140008e49
mov r9, rsi
lea rdx, str._response_command__s__transaction_id__e
mov r8, r15
mov rcx, rbp
call fcn.14000d38c
or r8, 0xffffffffffffffff
lea rdx, [0x1400feb64]
mov rcx, rbp
call fcn.14000d314
mov r8d, edi
lea rdx, str._error_code__i_____response_
mov rcx, rbp
call fcn.14000d38c
mov rcx, rbx
call fcn.14000c97c
mov edi, eax
test eax, eax
jne 0x140008e49
cmp qword [rbx + 0x50], 0
je 0x140008e2e
mov eax, dword [rsp + 0xf0]
mov r8, qword [r12 + 0x10]
inc eax
movsxd rsi, eax
cmp rsi, r8
jae 0x140008e29
mov rcx, qword [r12]
sub r8, rsi
lea rdx, [rcx + rsi]
call fcn.1400bb960
sub qword [r12 + 0x10], rsi
mov eax, dword [rbx + 0x80]
cmp eax, 2
je 0x140008c0a
test eax, eax
je 0x140008e49
mov rcx, rbx
call fcn.140008b6c
mov rcx, qword [rbx + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140008e6c
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.1400bc050
mov rdi, rax
test rax, rax
je 0x140008eaf
mov byte [rax], 0
lea rcx, [rdi + 1]
cmp byte [rcx], 0
jmp 0x140008cc8
lea r13, [0x14011efe0]
xor r14d, r14d
mov rdi, r13
mov rcx, qword [rdi]
mov rdx, r15
call fcn.1400c5ca0
test eax, eax
je 0x140008ee8
inc r14
lea rax, [0x14011f180]
add rdi, 0x10
cmp rdi, rax
jne 0x140008ebc
mov edi, 4
jmp 0x140008d9c
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 0x140008f35
cmp qword [rbx + 0x70], 0
jne 0x140008f21
lea rcx, [rbx + 0x60]
mov r9, rsi
mov r8, r15
lea rdx, str._response_command__s__transaction_id__e___
call fcn.14000d38c
mov rcx, rbx
call fcn.14000c97c
mov edi, eax
test eax, eax
jne 0x140008e49
jmp 0x140008f3e
cmp eax, 0xffffffff
jne 0x140008d9c
xor edi, edi
jmp 0x140008dfc