Function at 0x140008370
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 [0x140134240]
mov rsi, rcx
mov rcx, qword [rcx + 0x20]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0xe0], 0
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov rcx, qword [rsi + 0x20]
lea r8, [rsp + 0xe0]
mov edx, 0x8004667e
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
xor edi, edi
lea r14, [0x14012fc00]
xor ebx, ebx
nop
mov rax, qword [rsi + 0x50]
cmp rbx, rax
jae 0x1400083ef
mov rcx, qword [rsi + 0x40]
nop dword [rax]
cmp byte [rcx + rbx], 0
je 0x14000843e
inc edi
mov ebx, edi
cmp rbx, rax
jb 0x1400083e0
cmp rax, qword [rsi + 0x48]
jne 0x140008414
mov rax, qword [rsi + 0x48]
lea rdx, [rax + rax]
test rax, rax
jne 0x140008407
mov edx, 0x800
lea rcx, [rsi + 0x40]
call fcn.14000e5f0
test eax, eax
jne 0x140008447
mov r8d, dword [rsi + 0x48]
xor r9d, r9d
mov rdx, qword [rsi + 0x40]
sub r8d, dword [rsi + 0x50]
add rdx, qword [rsi + 0x50]
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x140008447
cdqe
add qword [rsi + 0x50], rax
jmp 0x1400083d0
mov dword [rsp + 0xe8], edi
jmp 0x14000845d
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000dba0
mov ebx, eax
test eax, eax
jne 0x14000863d
mov rbp, qword [rsi + 0x40]
mov edx, SafeArrayAllocDescriptor
mov rcx, rbp
call fcn.1400cbba0
xor r13d, r13d
lea r15, [0x1400fbcd6]
test rax, rax
je 0x1400086aa
lea rbx, [rax + 1]
mov byte [rax], r13b
xor r14d, r14d
cmp byte [rbx], r13b
je 0x1400086a3
cmp r14, 0x10
je 0x140008568
cmp byte [rbx], 0x2d
jne 0x140008568
movzx ecx, byte [rbx + 1]
inc rbx
test cl, cl
je 0x140008568
cmp byte [rbx + 1], 0x20
lea rax, [rbx + 1]
jne 0x1400084cb
cmp byte [rbx + 2], 0x2d
je 0x1400084cb
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 0x1400086a3
cmp byte [r8], 0x22
jne 0x14000867d
movzx eax, byte [rbx + 2]
add rbx, 2
cmp al, 0x22
je 0x14000853b
movzx ecx, al
cmp al, 0x5c
jne 0x14000851e
movzx ecx, byte [rbx + 1]
lea rdx, [rbx + 1]
cmovne rdx, rbx
test cl, cl
je 0x140008568
mov byte [r8], cl
lea rbx, [rdx + 1]
movzx eax, byte [rbx]
inc r8
cmp al, 0x22
jne 0x140008513
inc rbx
mov byte [r8], 0
cmp byte [rbx], 0
je 0x1400086a3
mov r8d, 2
lea rdx, [0x1400fc11c]
mov rcx, rbx
call fcn.1400d7770
test eax, eax
je 0x140008697
mov ebx, 1
mov qword [rsi + 0x70], 0
mov dword [rsi + 0x78], 0
cmp qword [rsi + 0x20], 0xffffffffffffffff
je 0x14000863d
mov r9, r15
lea rdx, str._response_command__s__transaction_id__e
mov r8, rbp
lea rcx, [rsi + 0x60]
call fcn.14000de40
cmp dword [rsi + 0x78], 0
jne 0x1400085d1
mov rdx, qword [rsi + 0x70]
lea rcx, [rsi + 0x60]
add rdx, 2
call fcn.14000e5f0
test eax, eax
jne 0x1400085d1
mov rdx, qword [rsi + 0x70]
movzx eax, word [0x1400fcc14]
mov r8, qword [rsi + 0x60]
mov word [r8 + rdx], ax
add qword [rsi + 0x70], 2
mov r8d, ebx
lea rdx, str._error_code__i_____response_
lea rcx, [rsi + 0x60]
call fcn.14000de40
mov rcx, rsi
call fcn.14000d420
mov ebx, eax
test eax, eax
jne 0x14000863d
cmp qword [rsi + 0x50], 0
je 0x140008622
mov eax, dword [rsp + 0xe8]
mov r8, qword [rsi + 0x50]
inc eax
movsxd rdi, eax
cmp rdi, r8
jae 0x14000861e
mov rcx, qword [rsi + 0x40]
sub r8, rdi
lea rdx, [rcx + rdi]
call fcn.1400cfd20
sub qword [rsi + 0x50], rdi
mov eax, dword [rsi + 0x80]
cmp eax, 2
je 0x1400083c3
test eax, eax
je 0x14000863d
mov rcx, rsi
call fcn.140008340
mov rcx, qword [rsi + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140008660
mov rdx, qword [0x140134240]
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, [0x1400fc11c]
mov rcx, r8
call fcn.1400cbc20
mov rbx, rax
test rax, rax
je 0x1400086a3
mov byte [rax], 0
inc rbx
cmp byte [rbx], 0
jne 0x140008494
lea r14, [0x14012fc00]
lea r11, [0x14012fa60]
xor r10d, r10d
mov r9, r11
nop word [rax + 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 0x1400086e3
inc rax
test ecx, ecx
jne 0x1400086d0
test edx, edx
je 0x1400086fd
inc r10
add r9, 0x10
cmp r9, r14
jne 0x1400086c0
mov ebx, 4
jmp 0x14000856d
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 0x14000874d
cmp qword [rsi + 0x70], 0
jne 0x140008736
lea rcx, [rsi + 0x60]
mov r9, r15
mov r8, rbp
lea rdx, str._response_command__s__transaction_id__e___
call fcn.14000de40
mov rcx, rsi
call fcn.14000d420
mov ebx, eax
test eax, eax
jne 0x14000863d
jmp 0x1400085f2
cmp eax, 0xffffffff
jne 0x14000856d
xor ebx, ebx
jmp 0x1400085f2