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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rdx, qword [0x140142730]
mov rsi, rcx
mov rcx, qword [rcx + 0x20]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0xe8], 0
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov rcx, qword [rsi + 0x20]
lea r8, [rsp + 0xe8]
mov edx, 0x8004667e
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0xe0], eax
xor edi, edi
lea r14, [0x14013dbd0]
xor ebx, ebx
mov rax, qword [rsi + 0x40]
cmp rbx, rax
jae 0x140008503
mov rcx, qword [rsi + 0x30]
nop dword [rax]
cmp byte [rcx + rbx], 0
je 0x140008552
mov rax, qword [rsi + 0x40]
inc edi
mov ebx, edi
cmp rbx, rax
jb 0x1400084f0
cmp rax, qword [rsi + 0x38]
jne 0x140008528
mov rax, qword [rsi + 0x38]
lea rdx, [rax + rax]
test rax, rax
jne 0x14000851b
mov edx, 0x800
lea rcx, [rsi + 0x30]
call fcn.14000da20
test eax, eax
jne 0x14000855b
mov r8d, dword [rsi + 0x38]
xor r9d, r9d
mov rdx, qword [rsi + 0x30]
sub r8d, dword [rsi + 0x40]
add rdx, qword [rsi + 0x40]
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x14000855b
cdqe
add qword [rsi + 0x40], rax
jmp 0x1400084dc
mov dword [rsp + 0xe0], edi
jmp 0x140008571
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000d020
mov ebx, eax
test eax, eax
jne 0x14000875f
mov rbp, qword [rsi + 0x30]
mov edx, SafeArrayAllocDescriptor
mov rcx, rbp
call fcn.1400d7ae4
xor r13d, r13d
lea r15, [0x140103afe]
test rax, rax
je 0x1400087cf
lea rbx, [rax + 1]
mov byte [rax], r13b
movzx eax, byte [rbx]
xor r14d, r14d
test al, al
je 0x1400087c8
nop word [rax + rax]
cmp r14, 0x10
je 0x140008685
cmp al, 0x2d
jne 0x140008685
movzx ecx, byte [rbx + 1]
inc rbx
test cl, cl
je 0x140008685
cmp byte [rbx + 1], 0x20
lea rax, [rbx + 1]
jne 0x1400085e6
cmp byte [rbx + 2], 0x2d
je 0x1400085e6
mov rbx, rax
mov byte [rax], cl
cmp cl, 0x69
mov qword [rsp + r14*8 + 0x20], rbx
lea rax, [r14 + 1]
cmovne r14, rax
lea r8, [rbx + 1]
mov rax, r8
cmovne rax, r15
mov r15, rax
mov rdi, rax
lea eax, [r13 + 1]
cmovne r13d, eax
cmp cl, 0x2d
je 0x1400087c8
cmp byte [r8], 0x22
jne 0x14000879f
movzx eax, byte [rbx + 2]
add rbx, 2
cmp al, 0x22
je 0x140008658
nop
movzx ecx, al
cmp al, 0x5c
jne 0x14000863b
movzx ecx, byte [rbx + 1]
lea rdx, [rbx + 1]
cmovne rdx, rbx
test cl, cl
je 0x140008685
mov byte [r8], cl
lea rbx, [rdx + 1]
movzx eax, byte [rbx]
inc r8
cmp al, 0x22
jne 0x140008630
inc rbx
mov byte [r8], 0
cmp byte [rbx], 0
je 0x1400087c8
mov r8d, 2
lea rdx, [0x140103f38]
mov rcx, rbx
call fcn.1400df5e0
test eax, eax
je 0x1400087b9
mov ebx, 1
mov qword [rsi + 0x60], 0
mov dword [rsi + 0x68], 0
cmp qword [rsi + 0x20], 0xffffffffffffffff
je 0x14000875f
mov r9, r15
lea rdx, str._response_command__s__transaction_id__e
mov r8, rbp
lea rcx, [rsi + 0x50]
call fcn.14000d320
cmp dword [rsi + 0x68], 0
jne 0x1400086ec
mov rdx, qword [rsi + 0x60]
lea rcx, [rsi + 0x50]
add rdx, 2
call fcn.14000da20
test eax, eax
jne 0x1400086ec
mov rdx, qword [rsi + 0x60]
add rdx, qword [rsi + 0x50]
movzx eax, word [0x1401049b4]
mov word [rdx], ax
add qword [rsi + 0x60], 2
mov r8d, ebx
lea rdx, str._error_code__i_____response_
lea rcx, [rsi + 0x50]
call fcn.14000d320
mov rcx, rsi
call fcn.14000c950
mov ebx, eax
test eax, eax
jne 0x14000875f
cmp qword [rsi + 0x40], 0
je 0x140008747
mov eax, dword [rsp + 0xe0]
inc eax
movsxd rdi, eax
mov rax, qword [rsi + 0x40]
cmp rdi, rax
jae 0x140008740
mov rcx, qword [rsi + 0x30]
sub rax, rdi
mov r8, rax
lea rdx, [rcx + rdi]
call fcn.1400d8380
mov rax, qword [rsi + 0x40]
sub rax, rdi
mov qword [rsi + 0x40], rax
mov eax, dword [rsi + 0x70]
cmp eax, 2
je 0x1400084d1
test eax, eax
je 0x14000875f
mov rcx, rsi
call fcn.140008440
mov rcx, qword [rsi + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140008782
mov rdx, qword [0x140142730]
mov r9d, SafeArrayAllocDescriptor
mov r8d, 0x408
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov eax, ebx
mov rbx, qword [rsp + 0xf8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [0x140103f38]
mov rcx, r8
call fcn.1400d7b70
mov rbx, rax
test rax, rax
je 0x1400087c8
mov byte [rax], 0
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1400085b0
lea r14, [0x14013dbd0]
lea r11, [0x14013da30]
xor r10d, r10d
mov r9, r11
nop dword [rax]
mov rax, qword [r9]
mov r8, rbp
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140008803
inc rax
test ecx, ecx
jne 0x1400087f0
test edx, edx
je 0x14000881d
inc r10
add r9, 0x10
cmp r9, r14
jne 0x1400087e0
mov ebx, 4
jmp 0x14000868a
add r10, r10
lea rdx, [rsp + 0x20]
mov r9, r15
mov r8d, r13d
mov rcx, rsi
call qword [r11 + r10*reloc.WSOCK32.dll_htonl + 8]
mov ebx, eax
test eax, eax
jne 0x14000886d
cmp qword [rsi + 0x60], 0
jne 0x140008856
lea rcx, [rsi + 0x50]
mov r9, r15
mov r8, rbp
lea rdx, str._response_command__s__transaction_id__e___
call fcn.14000d320
mov rcx, rsi
call fcn.14000c950
mov ebx, eax
test eax, eax
jne 0x14000875f
jmp 0x14000870d
cmp eax, 0xffffffff
jne 0x14000868a
xor ebx, ebx
jmp 0x14000870d