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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rdx, qword [0x140127a60]
mov rsi, rcx
mov rcx, qword [rcx + 0x20]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0xe0], 0
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov rcx, qword [rsi + 0x20]
lea r8, [rsp + 0xe0]
mov edx, 0x8004667e
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
lea r14, [rsi + 0x30]
xor edi, edi
lea rbp, [0x1401241f0]
xor ebx, ebx
mov rax, qword [rsi + 0x40]
cmp rbx, rax
jae 0x1400089d3
mov rcx, qword [r14]
nop
cmp byte [rcx + rbx], 0
je 0x140008a20
mov rax, qword [rsi + 0x40]
inc edi
mov ebx, edi
cmp rbx, rax
jb 0x1400089c0
cmp rax, qword [rsi + 0x38]
jne 0x1400089f7
mov rax, qword [r14 + 8]
lea rdx, [rax + rax]
test rax, rax
jne 0x1400089eb
mov edx, 0x800
mov rcx, r14
call fcn.14000e280
test eax, eax
jne 0x140008a29
mov r8d, dword [rsi + 0x38]
xor r9d, r9d
mov rdx, qword [r14]
sub r8d, dword [rsi + 0x40]
add rdx, qword [rsi + 0x40]
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x140008a29
cdqe
add qword [rsi + 0x40], rax
jmp 0x1400089b2
mov dword [rsp + 0xe8], edi
jmp 0x140008a3f
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000d850
mov ebx, eax
test eax, eax
jne 0x140008c35
mov r12, qword [r14]
mov edx, SafeArrayAllocDescriptor
mov rcx, r12
call qword [sym.imp.VCRUNTIME140.dll_strchr]
xor r13d, r13d
lea r15, [0x1400efd8e]
test rax, rax
je 0x140008ca6
lea rbx, [rax + 1]
mov byte [rax], r13b
movzx eax, byte [rbx]
xor r14d, r14d
test al, al
je 0x140008ca6
nop dword [rax + rax]
cmp r14, 0x10
je 0x140008b56
cmp al, 0x2d
jne 0x140008b56
movzx ecx, byte [rbx + 1]
inc rbx
test cl, cl
je 0x140008b56
cmp byte [rbx + 1], 0x20
lea rax, [rbx + 1]
jne 0x140008ab6
cmp byte [rbx + 2], 0x2d
je 0x140008ab6
mov rbx, rax
mov byte [rax], cl
cmp cl, 0x69
mov qword [rsp + r14*8 + 0x20], rbx
lea rax, [r14 + 1]
cmovne r14, rax
lea r8, [rbx + 1]
mov rax, r8
cmovne rax, r15
mov r15, rax
mov rdi, rax
lea eax, [r13 + 1]
cmovne r13d, eax
cmp cl, 0x2d
je 0x140008c9f
cmp byte [r8], 0x22
jne 0x140008c75
movzx eax, byte [rbx + 2]
add rbx, 2
cmp al, 0x22
je 0x140008b28
nop
movzx ecx, al
cmp al, 0x5c
jne 0x140008b0b
movzx ecx, byte [rbx + 1]
lea rdx, [rbx + 1]
cmovne rdx, rbx
test cl, cl
je 0x140008b56
mov byte [r8], cl
lea rbx, [rdx + 1]
movzx eax, byte [rbx]
inc r8
cmp al, 0x22
jne 0x140008b00
inc rbx
mov byte [r8], 0
cmp byte [rbx], 0
je 0x140008c9f
mov r8d, 2
lea rdx, [0x1400f01c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140008c90
mov ebx, 1
mov qword [rsi + 0x60], 0
mov dword [rsi + 0x68], 0
cmp qword [rsi + 0x20], 0xffffffffffffffff
je 0x140008c35
mov r9, r15
lea rdx, str._response_command__s__transaction_id__e
mov r8, r12
lea rcx, [rsi + 0x50]
call fcn.14000db70
cmp dword [rsi + 0x68], 0
jne 0x140008bbf
mov rdx, qword [rsi + 0x60]
lea rcx, [rsi + 0x50]
add rdx, 2
call fcn.14000e280
test eax, eax
jne 0x140008bbf
mov rdx, qword [rsi + 0x60]
movzx eax, word [0x1400f0c44]
mov r8, qword [rsi + 0x50]
mov word [r8 + rdx], ax
add qword [rsi + 0x60], 2
mov r8d, ebx
lea rdx, str._error_code__i_____response_
lea rcx, [rsi + 0x50]
call fcn.14000db70
mov rcx, rsi
call fcn.14000d120
mov ebx, eax
test eax, eax
jne 0x140008c35
cmp qword [rsi + 0x40], 0
lea r14, [rsi + 0x30]
je 0x140008c1d
mov eax, dword [rsp + 0xe8]
inc eax
movsxd rdi, eax
mov rax, qword [r14 + 0x10]
cmp rdi, rax
jae 0x140008c16
mov rcx, qword [r14]
sub rax, rdi
mov r8, rax
lea rdx, [rcx + rdi]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r14 + 0x10]
sub rax, rdi
mov qword [r14 + 0x10], rax
mov eax, dword [rsi + 0x70]
cmp eax, 2
je 0x1400089a7
test eax, eax
je 0x140008c35
mov rcx, rsi
call fcn.140008920
mov rcx, qword [rsi + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140008c58
mov rdx, qword [0x140127a60]
mov r9d, SafeArrayAllocDescriptor
mov r8d, 0x408
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov eax, ebx
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [0x1400f01c8]
mov rcx, r8
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
test rax, rax
je 0x140008c9f
mov byte [rax], 0
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140008a80
lea rbp, [0x1401241f0]
lea r11, [0x140124050]
xor r10d, r10d
mov r9, r11
mov rax, qword [r9]
mov r8, r12
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140008cd3
inc rax
test ecx, ecx
jne 0x140008cc0
test edx, edx
je 0x140008ced
inc r10
add r9, 0x10
cmp r9, rbp
jne 0x140008cb3
mov ebx, 4
jmp 0x140008b5b
add r10, r10
lea rdx, [rsp + 0x20]
mov r9, r15
mov r8d, r13d
mov rcx, rsi
mov rax, qword [r11 + r10*8 + 8]
call rax
mov ebx, eax
test eax, eax
jne 0x140008d3f
cmp qword [rsi + 0x60], 0
jne 0x140008d28
lea rcx, [rsi + 0x50]
mov r9, r15
mov r8, r12
lea rdx, str._response_command__s__transaction_id__e___
call fcn.14000db70
mov rcx, rsi
call fcn.14000d120
mov ebx, eax
test eax, eax
jne 0x140008c35
jmp 0x140008be0
cmp eax, 0xffffffff
jne 0x140008b5b
xor ebx, ebx
jmp 0x140008be0