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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
cmp byte [0x14012eda5], 0
je 0x140008a3c
xor eax, eax
jmp 0x140008d7c
test rdx, rdx
je 0x140008a55
lea rcx, [0x14012ecd0]
call fcn.140008994
test eax, eax
jne 0x140008d7c
mov rax, qword [0x14012c398]
xor r9d, r9d
mov rdx, qword [0x140132f10]
xor r8d, r8d
mov byte [0x14012eda5], 1
mov ecx, dword [rax + 0x60]
mov dword [rax + 0x60], SafeArrayAllocDescriptor
and dword [rsp + 0xe0], 0
mov dword [rsp + 0xf0], ecx
mov rcx, qword [0x14012ecf0]
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov rcx, qword [0x14012ecf0]
lea r8, [rsp + 0xe0]
mov edx, 0x8004667e
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
mov r9, qword [0x14012ed40]
mov r12d, dword [rsp + 0xe0]
xor edi, edi
xor ebx, ebx
mov r14, qword [0x14012ed30]
jmp 0x140008ad7
cmp byte [r14 + rbx], 0
je 0x140008b41
inc edi
mov ebx, edi
cmp rbx, r9
jb 0x140008acc
mov rdx, qword [0x14012ed38]
cmp r9, rdx
jne 0x140008b09
inc rdx
lea rcx, [0x14012ed30]
call fcn.14000dc5c
test eax, eax
jne 0x140008b46
mov r9, qword [0x14012ed40]
mov r14, qword [0x14012ed30]
mov r8d, dword [0x14012ed38]
lea rdx, [r14 + r9]
mov rcx, qword [0x14012ecf0]
sub r8d, r9d
xor r9d, r9d
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x140008b46
mov r9, qword [0x14012ed40]
cdqe
add r9, rax
mov qword [0x14012ed40], r9
jmp 0x140008ac3
mov r12d, edi
jmp 0x140008b63
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000d264
mov ebx, eax
test eax, eax
jne 0x140008d3c
mov r14, qword [0x14012ed30]
mov edx, SafeArrayAllocDescriptor
mov rcx, r14
call fcn.1400c5120
xor esi, esi
lea rdi, [0x1401070ce]
test rax, rax
je 0x140008dbe
lea rcx, [rax + 1]
mov byte [rax], sil
xor r13d, r13d
cmp byte [rcx], sil
je 0x140008dbe
cmp r13, 0x10
je 0x140008c5e
cmp byte [rcx], 0x2d
jne 0x140008c5e
inc rcx
mov dl, byte [rcx]
test dl, dl
je 0x140008c5e
lea rax, [rcx + 1]
cmp byte [rax], 0x20
jne 0x140008bc9
cmp byte [rcx + 2], 0x2d
je 0x140008bc9
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, rdi
mov rdi, rax
mov rbp, rax
lea eax, [rsi + 1]
cmovne esi, eax
cmp dl, 0x2d
je 0x140008dbe
mov r9b, SafeArrayAllocDescriptor
cmp byte [r8], r9b
jne 0x140008d97
lea rbx, [rcx + 2]
jmp 0x140008c2a
mov cl, al
cmp al, 0x5c
jne 0x140008c14
mov cl, byte [rbx + 1]
lea rdx, [rbx + 1]
cmovne rdx, rbx
test cl, cl
je 0x140008c5e
mov byte [r8], cl
lea rbx, [rdx + 1]
inc r8
mov al, byte [rbx]
cmp al, r9b
jne 0x140008c0b
inc rbx
mov byte [r8], 0
cmp byte [rbx], 0
je 0x140008dbe
mov r8d, 2
lea rdx, [0x140109334]
mov rcx, rbx
call fcn.1400d0800
test eax, eax
je 0x140008db1
mov ebx, 1
and qword [0x14012ed60], 0
and dword [0x14012ed68], 0
cmp qword [0x14012ecf0], 0xffffffffffffffff
je 0x140008d3c
lea rbp, [0x14012ed50]
mov r9, rdi
mov rcx, rbp
lea rdx, str._response_command__s__transaction_id__e
mov r8, r14
call fcn.14000d674
lea rdx, [0x140109d54]
mov rcx, rbp
call fcn.14000d604
mov r8d, ebx
lea rdx, str._error_code__i_____response_
mov rcx, rbp
call fcn.14000d674
xor edx, edx
lea rcx, [0x14012ecd0]
call fcn.14000cc48
mov ebx, eax
test eax, eax
jne 0x140008d3c
mov r9, qword [0x14012ed40]
test r9, r9
je 0x140008d11
lea eax, [r12 + 1]
movsxd rdi, eax
cmp rdi, r9
jae 0x140008d07
mov rcx, qword [0x14012ed30]
sub r9, rdi
mov r8, r9
lea rdx, [rcx + rdi]
call fcn.1400e78c0
mov r9, qword [0x14012ed40]
sub r9, rdi
mov qword [0x14012ed40], r9
mov eax, dword [0x14012ed70]
cmp eax, 2
je 0x140008abf
test eax, eax
je 0x140008d3c
mov cl, byte [0x14012eda4]
test cl, cl
je 0x140008d3c
mov dl, 1
call fcn.140017690
mov byte [0x14012eda4], 0
mov ecx, dword [rsp + 0xf0]
mov rax, qword [0x14012c398]
mov byte [0x14012eda5], 0
mov dword [rax + 0x60], ecx
mov rcx, qword [0x14012ecf0]
cmp rcx, 0xffffffffffffffff
je 0x140008d7a
mov rdx, qword [0x140132f10]
mov r9d, SafeArrayAllocDescriptor
mov r8d, 0x408
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov eax, ebx
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, [0x140109334]
mov rcx, r8
call fcn.1400c519c
mov rbx, rax
test rax, rax
je 0x140008dbe
mov byte [rax], 0
lea rcx, [rbx + 1]
cmp byte [rcx], 0
jne 0x140008b95
lea r15, [0x14012c1f0]
xor ebp, ebp
mov rbx, r15
mov rcx, qword [rbx]
mov rdx, r14
call fcn.1400cf630
test eax, eax
je 0x140008df6
inc rbp
lea rax, [0x14012c390]
add rbx, 0x10
cmp rbx, rax
jne 0x140008dca
mov ebx, 4
jmp 0x140008c63
add rbp, rbp
lea rdx, [rsp + 0x20]
mov r9, rdi
lea rcx, [0x14012ecd0]
mov r8d, esi
call qword [r15 + rbp*reloc.WSOCK32.dll_htonl + 8]
mov ebx, eax
test eax, eax
jne 0x140008e53
cmp qword [0x14012ed60], 0
jne 0x140008e39
mov r9, rdi
lea rdx, str._response_command__s__transaction_id__e___
mov r8, r14
lea rcx, [0x14012ed50]
call fcn.14000d674
xor edx, edx
lea rcx, [0x14012ecd0]
call fcn.14000cc48
mov ebx, eax
test eax, eax
jne 0x140008d3c
jmp 0x140008e5c
cmp eax, 0xffffffff
jne 0x140008c63
xor ebx, ebx
jmp 0x140008cd1