Function at 0x140008ad4
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 0x140008afe
xor eax, eax
jmp 0x140008dae
test rdx, rdx
je 0x140008b10
call fcn.140008a30
test eax, eax
jne 0x140008dae
mov rdx, qword [0x140122a70]
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 0x140008b6a
mov rcx, qword [r12]
cmp byte [rcx + rdi], 0
je 0x140008bb9
inc esi
mov edi, esi
cmp rdi, rax
jb 0x140008b5b
cmp rax, qword [rbx + 0x48]
jne 0x140008b8f
mov rax, qword [r12 + 8]
lea rdx, [rax + rax]
test rax, rax
jne 0x140008b83
mov edx, 0x800
mov rcx, r12
call fcn.14000d80c
test eax, eax
jne 0x140008bc2
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 0x140008bc2
cdqe
add qword [rbx + 0x50], rax
jmp 0x140008b4e
mov dword [rsp + 0xf0], esi
jmp 0x140008bd8
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000ce54
mov edi, eax
test eax, eax
jne 0x140008d89
mov r15, qword [r12]
mov edx, SafeArrayAllocDescriptor
mov rcx, r15
call fcn.1400b9f08
xor ebp, ebp
lea rsi, [0x1400f9f8e]
test rax, rax
je 0x140008def
lea rcx, [rax + 1]
mov byte [rax], bpl
xor r13d, r13d
cmp byte [rcx], bpl
je 0x140008def
cmp r13, 0x10
je 0x140008cd7
cmp byte [rcx], 0x2d
jne 0x140008cd7
inc rcx
mov dl, byte [rcx]
test dl, dl
je 0x140008cd7
lea rax, [rcx + 1]
cmp byte [rax], 0x20
jne 0x140008c42
cmp byte [rcx + 2], 0x2d
je 0x140008c42
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 0x140008def
mov r9b, SafeArrayAllocDescriptor
cmp byte [r8], r9b
jne 0x140008dc9
lea rdi, [rcx + 2]
jmp 0x140008ca3
mov cl, al
cmp al, 0x5c
jne 0x140008c8d
mov cl, byte [rdi + 1]
lea rdx, [rdi + 1]
cmovne rdx, rdi
test cl, cl
je 0x140008cd7
mov byte [r8], cl
lea rdi, [rdx + 1]
inc r8
mov al, byte [rdi]
cmp al, r9b
jne 0x140008c84
inc rdi
mov byte [r8], 0
cmp byte [rdi], 0
je 0x140008def
mov r8d, 2
lea rdx, [0x1400fc044]
mov rcx, rdi
call fcn.1400c5010
test eax, eax
je 0x140008de3
mov edi, 1
and qword [rbx + 0x70], 0
lea rbp, [rbx + 0x60]
and dword [rbx + 0x78], 0
cmp qword [rbx + 0x20], 0xffffffffffffffff
je 0x140008d89
mov r9, rsi
lea rdx, str._response_command__s__transaction_id__e
mov r8, r15
mov rcx, rbp
call fcn.14000d26c
or r8, 0xffffffffffffffff
lea rdx, [0x1400fcae4]
mov rcx, rbp
call fcn.14000d1f4
mov r8d, edi
lea rdx, str._error_code__i_____response_
mov rcx, rbp
call fcn.14000d26c
mov rcx, rbx
call fcn.14000c85c
mov edi, eax
test eax, eax
jne 0x140008d89
cmp qword [rbx + 0x50], 0
je 0x140008d6e
mov eax, dword [rsp + 0xf0]
mov r8, qword [r12 + 0x10]
inc eax
movsxd rsi, eax
cmp rsi, r8
jae 0x140008d69
mov rcx, qword [r12]
sub r8, rsi
lea rdx, [rcx + rsi]
call fcn.1400b9890
sub qword [r12 + 0x10], rsi
mov eax, dword [rbx + 0x80]
cmp eax, 2
je 0x140008b4a
test eax, eax
je 0x140008d89
mov rcx, rbx
call fcn.140008aac
mov rcx, qword [rbx + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140008dac
mov rdx, qword [0x140122a70]
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, [0x1400fc044]
mov rcx, r8
call fcn.1400b9f88
mov rdi, rax
test rax, rax
je 0x140008def
mov byte [rax], 0
lea rcx, [rdi + 1]
cmp byte [rcx], 0
jmp 0x140008c08
lea r13, [0x14011bfe0]
xor r14d, r14d
mov rdi, r13
mov rcx, qword [rdi]
mov rdx, r15
call fcn.1400c3e60
test eax, eax
je 0x140008e28
inc r14
lea rax, [0x14011c180]
add rdi, 0x10
cmp rdi, rax
jne 0x140008dfc
mov edi, 4
jmp 0x140008cdc
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 0x140008e75
cmp qword [rbx + 0x70], 0
jne 0x140008e61
lea rcx, [rbx + 0x60]
mov r9, rsi
mov r8, r15
lea rdx, str._response_command__s__transaction_id__e___
call fcn.14000d26c
mov rcx, rbx
call fcn.14000c85c
mov edi, eax
test eax, eax
jne 0x140008d89
jmp 0x140008e7e
cmp eax, 0xffffffff
jne 0x140008cdc
xor edi, edi
jmp 0x140008d3c