Function at 0x140008a38
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
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
xor r12d, r12d
cmp byte [0x14012bd85], r12b
je 0x140008a6e
xor eax, eax
jmp 0x140008e74
test rdx, rdx
je 0x140008a87
lea rcx, [0x14012bcd0]
call fcn.1400089bc
test eax, eax
jne 0x140008e74
mov rdx, qword [0x14012fec8]
mov r14d, 1
mov rcx, qword [0x14012bcf0]
xor r9d, r9d
xor r8d, r8d
mov byte [0x14012bd85], r14b
mov dword [rsp + 0xd0], r12d
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov rcx, qword [0x14012bcf0]
lea r8, [rsp + 0xd0]
mov edx, 0x8004667e
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
mov r9, qword [0x14012bd20]
mov r13d, dword [rsp + 0xd0]
mov edi, r12d
mov rbx, r12
mov r15, qword [0x14012bd10]
jmp 0x140008af9
cmp byte [r15 + rbx], r12b
je 0x140008b63
add edi, r14d
mov ebx, edi
cmp rbx, r9
jb 0x140008aee
mov rdx, qword [0x14012bd18]
cmp r9, rdx
jne 0x140008b2b
inc rdx
lea rcx, [0x14012bd10]
call fcn.14000def8
test eax, eax
jne 0x140008b68
mov r9, qword [0x14012bd20]
mov r15, qword [0x14012bd10]
mov r8d, dword [0x14012bd18]
lea rdx, [r15 + r9]
mov rcx, qword [0x14012bcf0]
sub r8d, r9d
xor r9d, r9d
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x140008b68
mov r9, qword [0x14012bd20]
cdqe
add r9, rax
mov qword [0x14012bd20], r9
jmp 0x140008ae5
mov r13d, edi
jmp 0x140008b85
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000d504
mov ebx, eax
test eax, eax
jne 0x140008e45
mov r15, qword [0x14012bd10]
mov edx, SafeArrayAllocDescriptor
mov rcx, r15
call fcn.1400c4330
lea rdi, [0x14010509e]
mov esi, r12d
test rax, rax
je 0x140008d84
lea rbx, [rax + 1]
mov byte [rax], r12b
mov al, byte [rbx]
mov rbp, r12
test al, al
je 0x140008d84
mov rcx, r12
lea r9, [0x14010509e]
mov r8d, r12d
mov r10b, 0x2d
cmp al, r10b
jne 0x140008cb9
add rbx, r14
mov dl, byte [rbx]
test dl, dl
je 0x140008cb9
lea rax, [rbx + 1]
cmp byte [rax], 0x20
jne 0x140008bf3
cmp byte [rbx + 2], r10b
je 0x140008bf3
mov rbx, rax
mov byte [rax], dl
lea rax, [rbp + 1]
mov qword [rsp + rbp*8 + 0x20], rbx
mov rbp, rcx
lea rdi, [rbx + 1]
mov r11b, 0x69
mov rcx, rdi
cmp dl, r11b
cmovne rbp, rax
cmovne rdi, r9
lea eax, [rsi + 1]
mov esi, r8d
cmovne esi, eax
cmp dl, r10b
je 0x140008d84
mov r8b, SafeArrayAllocDescriptor
cmp byte [rcx], r8b
jne 0x140008c7e
add rbx, 2
jmp 0x140008c4d
cmp al, 0x5c
lea rdx, [rbx + 1]
cmovne rdx, rbx
mov al, byte [rdx]
test al, al
je 0x140008cb9
mov byte [rcx], al
lea rbx, [rdx + 1]
add rcx, r14
mov al, byte [rbx]
cmp al, r8b
jne 0x140008c34
add rbx, r14
mov byte [rcx], r12b
cmp byte [rbx], r12b
je 0x140008d84
mov r8d, 2
lea rdx, [0x140107314]
mov rcx, rbx
call fcn.1400cea30
test eax, eax
jne 0x140008cb9
jmp 0x140008c99
lea rdx, [0x140107314]
call fcn.1400c43ac
mov rbx, rax
test rax, rax
je 0x140008d84
mov byte [rax], r12b
inc rbx
mov al, byte [rbx]
test al, al
je 0x140008d84
mov rcx, rbp
mov r9, rdi
mov r8d, esi
cmp rbp, 0x10
jne 0x140008bc6
mov ebx, r14d
cmp qword [0x14012bcf0], 0xffffffffffffffff
mov qword [0x14012bd40], r12
mov dword [0x14012bd48], r12d
je 0x140008e45
lea rsi, [0x14012bd30]
mov r9, rdi
mov rcx, rsi
lea rdx, str._response_command__s__transaction_id__e
mov r8, r15
call fcn.14000d914
lea rdx, [0x140107d34]
mov rcx, rsi
call fcn.14000d8a4
mov r8d, ebx
lea rdx, str._error_code__i_____response_
mov rcx, rsi
call fcn.14000d914
xor edx, edx
lea rcx, [0x14012bcd0]
call fcn.14000cef8
mov ebx, eax
test eax, eax
jne 0x140008e45
mov r9, qword [0x14012bd20]
test r9, r9
je 0x140008d6c
lea eax, [r13 + 1]
movsxd rdi, eax
cmp rdi, r9
jae 0x140008d62
mov rcx, qword [0x14012bd10]
sub r9, rdi
mov r8, r9
lea rdx, [rdi + rcx]
call fcn.1400e5b10
mov r9, qword [0x14012bd20]
sub r9, rdi
mov qword [0x14012bd20], r9
mov eax, dword [0x14012bd50]
cmp eax, 2
jne 0x140008e29
lea r14d, [rax - 1]
jmp 0x140008adf
mov rbp, r12
lea rbx, [0x1401291f0]
mov rcx, qword [rbx]
mov rdx, r15
call fcn.1400cd860
test eax, eax
je 0x140008dba
inc rbp
lea rax, [0x140129390]
add rbx, 0x10
cmp rbx, rax
jne 0x140008d8e
mov ebx, 4
jmp 0x140008cbc
add rbp, rbp
lea rdx, [rsp + 0x20]
mov r9, rdi
lea rcx, [0x14012bcd0]
mov r8d, esi
lea rax, [0x1401291f0]
call qword [rax + rbp*reloc.WSOCK32.dll_htonl + 8]
mov ebx, eax
test eax, eax
jne 0x140008e18
cmp qword [0x14012bd40], r12
jne 0x140008e02
mov r9, rdi
lea rdx, str._response_command__s__transaction_id__e___
mov r8, r15
lea rcx, [0x14012bd30]
call fcn.14000d914
xor edx, edx
lea rcx, [0x14012bcd0]
call fcn.14000cef8
mov ebx, eax
test eax, eax
jne 0x140008e45
jmp 0x140008e21
cmp eax, 0xffffffff
jne 0x140008cbc
mov ebx, r12d
jmp 0x140008d2d
test eax, eax
je 0x140008e45
mov cl, byte [0x14012bd84]
test cl, cl
je 0x140008e45
mov dl, 1
call fcn.1400176a0
mov byte [0x14012bd84], r12b
mov rcx, qword [0x14012bcf0]
mov byte [0x14012bd85], r12b
cmp rcx, 0xffffffffffffffff
je 0x140008e72
mov rdx, qword [0x14012fec8]
mov r9d, SafeArrayAllocDescriptor
mov r8d, 0x408
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov eax, ebx
lea r11, [rsp + 0xa0]
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