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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rdx, qword [0x140132ab0]
mov rbp, rcx
mov rcx, qword [rcx + 0x20]
xor r9d, r9d
xor r8d, r8d
mov dword [rax + 8], 0
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov rcx, qword [rbp + 0x20]
lea r8, [rsp + 0xd0]
mov edx, 0x8004667e
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
mov r13d, dword [rsp + 0xd0]
nop
xor edi, edi
xor ebx, ebx
mov rax, qword [rbp + 0x40]
cmp rbx, rax
jae 0x140008bf0
mov rcx, qword [rbp + 0x30]
cmp byte [rcx + rbx], 0
je 0x140008c3f
inc edi
mov ebx, edi
cmp rbx, rax
jb 0x140008be1
cmp rax, qword [rbp + 0x38]
jne 0x140008c15
mov rax, qword [rbp + 0x38]
lea rdx, [rax + rax]
test rax, rax
jne 0x140008c08
mov edx, 0x800
lea rcx, [rbp + 0x30]
call fcn.14000f1f0
test eax, eax
jne 0x140008c44
mov r8d, dword [rbp + 0x38]
xor r9d, r9d
mov rdx, qword [rbp + 0x30]
sub r8d, dword [rbp + 0x40]
add rdx, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x140008c44
cdqe
add qword [rbp + 0x40], rax
jmp 0x140008bd4
mov r13d, edi
jmp 0x140008c5a
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000e7a0
mov ebx, eax
test eax, eax
jne 0x140008e31
mov r15, qword [rbp + 0x30]
mov edx, SafeArrayAllocDescriptor
mov rcx, r15
call qword [sym.imp.VCRUNTIME140.dll_strchr]
xor esi, esi
lea r14, [0x1400fa000]
test rax, rax
je 0x140008e9b
lea rbx, [rax + 1]
mov byte [rax], sil
xor edi, edi
cmp byte [rbx], sil
je 0x140008e9b
cmp rdi, 0x10
je 0x140008d60
cmp byte [rbx], 0x2d
jne 0x140008d60
movzx eax, byte [rbx + 1]
inc rbx
test al, al
je 0x140008d60
cmp byte [rbx + 1], 0x20
lea rcx, [rbx + 1]
jne 0x140008cc7
cmp byte [rbx + 2], 0x2d
je 0x140008cc7
mov rbx, rcx
mov byte [rcx], al
mov qword [rsp + rdi*8 + 0x20], rbx
inc esi
inc rdi
cmp al, 0x69
jne 0x140008ce3
lea r14, [rbx + 1]
dec esi
dec rdi
mov rcx, r14
jmp 0x140008cef
cmp al, 0x2d
je 0x140008e9b
lea rcx, [rbx + 1]
cmp byte [rcx], 0x22
jne 0x140008e77
movzx edx, byte [rbx + 2]
add rbx, 2
cmp dl, 0x22
je 0x140008d33
nop word [rax + rax]
cmp dl, 0x5c
lea rax, [rbx + 1]
cmovne rax, rbx
movzx edx, byte [rax]
test dl, dl
je 0x140008d60
mov byte [rcx], dl
lea rbx, [rax + 1]
movzx edx, byte [rbx]
inc rcx
cmp dl, 0x22
jne 0x140008d10
inc rbx
mov byte [rcx], 0
cmp byte [rbx], 0
je 0x140008e9b
mov r8d, 2
lea rdx, [0x1400fa1c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140008e8f
mov ebx, 1
xor eax, eax
mov qword [rbp + 0x60], rax
mov dword [rbp + 0x68], eax
cmp qword [rbp + 0x20], 0xffffffffffffffff
je 0x140008e31
mov r9, r14
lea rdx, str._response_command__s__transaction_id__e
mov r8, r15
lea rcx, [rbp + 0x50]
call fcn.14000eac0
cmp dword [rbp + 0x68], 0
lea rsi, [rbp + 0x50]
jne 0x140008dce
mov rdx, qword [rbp + 0x60]
lea rcx, [rbp + 0x50]
add rdx, 2
lea rsi, [rbp + 0x50]
call fcn.14000f1f0
test eax, eax
jne 0x140008dce
mov rdx, qword [rbp + 0x60]
lea rsi, [rbp + 0x50]
movzx eax, word [0x1400fac44]
mov rcx, qword [rbp + 0x50]
mov word [rdx + rcx], ax
add qword [rbp + 0x60], 2
mov r8d, ebx
lea rdx, str._error_code__i_____response_
mov rcx, rsi
call fcn.14000eac0
mov rcx, rbp
call fcn.14000dfc0
mov ebx, eax
test eax, eax
jne 0x140008e31
cmp qword [rbp + 0x40], 0
je 0x140008e19
mov r8, qword [rbp + 0x40]
lea eax, [r13 + 1]
movsxd rdi, eax
cmp rdi, r8
jae 0x140008e15
mov rcx, qword [rbp + 0x30]
sub r8, rdi
lea rdx, [rcx + rdi]
call sub.VCRUNTIME140.dll_memmove
sub qword [rbp + 0x40], rdi
mov eax, dword [rbp + 0x70]
cmp eax, 2
je 0x140008bd0
test eax, eax
je 0x140008e31
mov rcx, rbp
call fcn.140008b40
mov rcx, qword [rbp + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140008e54
mov rdx, qword [0x140132ab0]
mov r9d, SafeArrayAllocDescriptor
mov r8d, 0x408
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rdx, [0x1400fa1c8]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
test rax, rax
je 0x140008e9b
mov byte [rax], 0
inc rbx
cmp byte [rbx], 0
jne 0x140008c90
lea r11, [0x14012f090]
xor r10d, r10d
mov r9, r11
nop dword [rax + rax]
mov rax, qword [r9]
mov r8, r15
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140008ed3
inc rax
test ecx, ecx
jne 0x140008ec0
test edx, edx
je 0x140008ef4
inc r10
lea rax, [0x14012f230]
add r9, 0x10
cmp r9, rax
jne 0x140008eb0
mov ebx, 4
jmp 0x140008d65
add r10, r10
lea rdx, [rsp + 0x20]
mov r9, r14
mov r8d, esi
mov rcx, rbp
call qword [r11 + r10*reloc.WSOCK32.dll_htonl + 8]
mov ebx, eax
test eax, eax
jne 0x140008f44
cmp qword [rbp + 0x60], 0
jne 0x140008f2d
lea rcx, [rbp + 0x50]
mov r9, r14
mov r8, r15
lea rdx, str._response_command__s__transaction_id__e___
call fcn.14000eac0
mov rcx, rbp
call fcn.14000dfc0
mov ebx, eax
test eax, eax
jne 0x140008e31
jmp 0x140008dee
cmp eax, 0xffffffff
jne 0x140008d65
xor ebx, ebx
jmp 0x140008dee