Function at 0x140008aac
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 byte [rcx + 0xb5], 0
mov rbx, rcx
je 0x140008ad6
xor eax, eax
jmp 0x140008db6
test rdx, rdx
je 0x140008ae8
call fcn.140008a08
test eax, eax
jne 0x140008db6
mov rax, qword [0x1401251d8]
xor r9d, r9d
mov rdx, qword [0x14012bb88]
xor r8d, r8d
mov byte [rbx + 0xb5], 1
mov ecx, dword [rax + 0x60]
mov dword [rax + 0x60], SafeArrayAllocDescriptor
and dword [rsp + 0xf0], 0
mov dword [rsp + 0xf8], ecx
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov rcx, qword [rbx + 0x20]
lea r8, [rsp + 0xf0]
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 0x140008b61
mov rcx, qword [r12]
cmp byte [rcx + rdi], 0
je 0x140008ba5
inc esi
mov edi, esi
cmp rdi, rax
jb 0x140008b52
cmp rax, qword [rbx + 0x48]
jne 0x140008b7b
mov rdx, qword [r12 + 8]
mov rcx, r12
inc rdx
call fcn.14000d7c0
test eax, eax
jne 0x140008bb0
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 0x140008bb0
cdqe
add qword [rbx + 0x50], rax
jmp 0x140008b45
mov ebp, esi
mov dword [rsp + 0xe0], esi
jmp 0x140008bcd
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000cdcc
mov edi, eax
test eax, eax
jne 0x140008d79
mov ebp, dword [rsp + 0xe0]
mov r13, qword [r12]
mov edx, SafeArrayAllocDescriptor
mov rcx, r13
call fcn.1400c1880
xor r14d, r14d
lea r15, [0x14010200e]
test rax, rax
je 0x140008df5
mov byte [rax], r14b
xor esi, esi
inc rax
cmp byte [rax], sil
je 0x140008df5
cmp rsi, 0x10
je 0x140008cc9
mov r9b, 0x2d
cmp byte [rax], r9b
jne 0x140008cc9
mov r8d, 1
add rax, r8
mov dl, byte [rax]
test dl, dl
je 0x140008e31
lea rcx, [rax + 1]
cmp byte [rcx], 0x20
jne 0x140008c3f
cmp byte [rax + 2], r9b
je 0x140008c3f
mov rax, rcx
mov byte [rcx], dl
mov qword [rsp + rsi*8 + 0x20], rax
lea rcx, [rax + 1]
add rsi, r8
add r14d, r8d
cmp dl, 0x69
jne 0x140008c5e
sub r14d, r8d
mov r15, rcx
sub rsi, r8
jmp 0x140008c67
cmp dl, r9b
je 0x140008df5
mov r9b, SafeArrayAllocDescriptor
cmp byte [rcx], r9b
jne 0x140008dd1
lea rdi, [rax + 2]
jmp 0x140008c96
cmp al, 0x5c
lea rdx, [rdi + 1]
cmovne rdx, rdi
mov al, byte [rdx]
test al, al
je 0x140008e31
mov byte [rcx], al
lea rdi, [rdx + 1]
add rcx, r8
mov al, byte [rdi]
cmp al, r9b
jne 0x140008c79
add rdi, r8
mov byte [rcx], 0
cmp byte [rdi], 0
je 0x140008df5
mov r8d, 2
lea rdx, [0x1401040c4]
mov rcx, rdi
call fcn.1400cc3e0
test eax, eax
je 0x140008de8
mov edi, 1
and qword [rbx + 0x70], 0
lea rsi, [rbx + 0x60]
and dword [rbx + 0x78], 0
cmp qword [rbx + 0x20], 0xffffffffffffffff
je 0x140008d79
mov r9, r15
lea rdx, str._response_command__s__transaction_id__e
mov r8, r13
mov rcx, rsi
call fcn.14000d1dc
lea rdx, [0x140104ac4]
mov rcx, rsi
call fcn.14000d16c
mov r8d, edi
lea rdx, str._error_code__i_____response_
mov rcx, rsi
call fcn.14000d1dc
xor edx, edx
mov rcx, rbx
call fcn.14000c7c0
mov edi, eax
test eax, eax
jne 0x140008d79
mov eax, dword [rsp + 0xe0]
cmp qword [rbx + 0x50], 0
je 0x140008d5e
mov r8, qword [r12 + 0x10]
inc eax
movsxd rsi, eax
cmp rsi, r8
jae 0x140008d59
mov rcx, qword [r12]
sub r8, rsi
lea rdx, [rcx + rsi]
call fcn.1400e2970
sub qword [r12 + 0x10], rsi
mov eax, dword [rbx + 0x80]
cmp eax, 2
je 0x140008b41
test eax, eax
je 0x140008d79
mov rcx, rbx
call fcn.140008a84
mov ecx, dword [rsp + 0xf8]
mov rax, qword [0x1401251d8]
mov byte [rbx + 0xb5], 0
mov dword [rax + 0x60], ecx
mov rcx, qword [rbx + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140008db4
mov rdx, qword [0x14012bb88]
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, [0x1401040c4]
call fcn.1400c18fc
mov rdi, rax
test rax, rax
je 0x140008df5
mov byte [rax], 0
lea rax, [rdi + 1]
cmp byte [rax], 0
jne 0x140008c02
xor esi, esi
lea rdi, [0x140125030]
mov rcx, qword [rdi]
mov rdx, r13
call fcn.1400cb210
test eax, eax
je 0x140008e39
mov ebp, dword [rsp + 0xe0]
lea rax, [0x1401251d0]
inc rsi
add rdi, 0x10
cmp rdi, rax
jne 0x140008dfe
mov edi, 4
jmp 0x140008cce
mov edi, r8d
jmp 0x140008cce
add rsi, rsi
lea rdx, [rsp + 0x20]
mov r9, r15
lea rax, [0x140125030]
mov r8d, r14d
mov rcx, rbx
call qword [rax + rsi*reloc.WSOCK32.dll_htonl + 8]
mov edi, eax
test eax, eax
jne 0x140008e91
cmp qword [rbx + 0x70], 0
jne 0x140008e78
lea rcx, [rbx + 0x60]
mov r9, r15
mov r8, r13
lea rdx, str._response_command__s__transaction_id__e___
call fcn.14000d1dc
xor edx, edx
mov rcx, rbx
call fcn.14000c7c0
mov edi, eax
test eax, eax
jne 0x140008d79
jmp 0x140008d2c
mov dword [rsp + 0xe0], ebp
cmp eax, 0xffffffff
jne 0x140008cce
mov eax, ebp
xor edi, edi
mov dword [rsp + 0xe0], eax
jmp 0x140008d33