Function at 0x1400089f4
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 byte [rcx + 0xb5], 0
mov rbx, rcx
je 0x140008a1e
xor eax, eax
jmp 0x140008cf1
test rdx, rdx
je 0x140008a30
call fcn.140008950
test eax, eax
jne 0x140008cf1
mov rax, qword [0x1401241d8]
xor r9d, r9d
mov rdx, qword [0x14012ab78]
xor r8d, r8d
mov byte [rbx + 0xb5], 1
mov ecx, dword [rax + 0x60]
mov dword [rax + 0x60], SafeArrayAllocDescriptor
and dword [rsp + 0xe0], 0
mov dword [rsp + 0xf0], ecx
mov rcx, qword [rbx + 0x20]
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]
mov r13d, dword [rsp + 0xe0]
lea r14, [rbx + 0x40]
xor esi, esi
xor edi, edi
mov rax, qword [rbx + 0x50]
cmp rdi, rax
jae 0x140008ab0
mov rcx, qword [r14]
cmp byte [rcx + rdi], 0
je 0x140008af2
inc esi
mov edi, esi
cmp rdi, rax
jb 0x140008aa1
cmp rax, qword [rbx + 0x48]
jne 0x140008ac9
mov rdx, qword [r14 + 8]
mov rcx, r14
inc rdx
call fcn.14000d7c8
test eax, eax
jne 0x140008af7
mov r8d, dword [rbx + 0x48]
xor r9d, r9d
mov rdx, qword [r14]
sub r8d, dword [rbx + 0x50]
add rdx, qword [rbx + 0x50]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x140008af7
cdqe
add qword [rbx + 0x50], rax
jmp 0x140008a95
mov r13d, esi
jmp 0x140008b0d
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000cdd0
mov edi, eax
test eax, eax
jne 0x140008cb4
mov r15, qword [r14]
mov edx, SafeArrayAllocDescriptor
mov rcx, r15
call fcn.1400bf620
xor ebp, ebp
lea r12, [0x14010101e]
test rax, rax
je 0x140008d30
mov byte [rax], bpl
xor esi, esi
inc rax
cmp byte [rax], sil
je 0x140008d30
cmp rsi, 0x10
je 0x140008c0c
mov r8b, 0x2d
cmp byte [rax], r8b
jne 0x140008c0c
mov r9d, 1
add rax, r9
mov dl, byte [rax]
test dl, dl
je 0x140008d65
lea rcx, [rax + 1]
cmp byte [rcx], 0x20
jne 0x140008b7d
cmp byte [rax + 2], r8b
je 0x140008b7d
mov rax, rcx
mov byte [rcx], dl
mov qword [rsp + rsi*8 + 0x20], rax
lea rcx, [rax + 1]
add rsi, r9
add ebp, r9d
cmp dl, 0x69
jne 0x140008b9c
sub ebp, r9d
mov r12, rcx
sub rsi, r9
jmp 0x140008ba5
cmp dl, r8b
je 0x140008d30
mov r10b, SafeArrayAllocDescriptor
cmp byte [rcx], r10b
jne 0x140008d0c
lea rdi, [rax + 2]
jmp 0x140008bd9
mov dl, al
cmp al, 0x5c
jne 0x140008bc0
mov dl, byte [rdi + 1]
lea r8, [rdi + 1]
cmovne r8, rdi
test dl, dl
je 0x140008d65
mov byte [rcx], dl
lea rdi, [r8 + 1]
add rcx, r9
mov al, byte [rdi]
cmp al, r10b
jne 0x140008bb7
add rdi, r9
mov byte [rcx], 0
cmp byte [rdi], 0
je 0x140008d30
mov r8d, 2
lea rdx, [0x1401030d4]
mov rcx, rdi
call fcn.1400cb160
test eax, eax
je 0x140008d23
mov edi, 1
and qword [rbx + 0x70], 0
lea rsi, [rbx + 0x60]
and dword [rbx + 0x78], 0
cmp qword [rbx + 0x20], 0xffffffffffffffff
je 0x140008cb4
mov r9, r12
lea rdx, str._response_command__s__transaction_id__e
mov r8, r15
mov rcx, rsi
call fcn.14000d1e0
lea rdx, [0x140103ad4]
mov rcx, rsi
call fcn.14000d170
mov r8d, edi
lea rdx, str._error_code__i_____response_
mov rcx, rsi
call fcn.14000d1e0
xor edx, edx
mov rcx, rbx
call fcn.14000c7c8
mov edi, eax
test eax, eax
jne 0x140008cb4
cmp qword [rbx + 0x50], 0
je 0x140008c99
mov r8, qword [r14 + 0x10]
lea eax, [r13 + 1]
movsxd rsi, eax
cmp rsi, r8
jae 0x140008c95
mov rcx, qword [r14]
sub r8, rsi
lea rdx, [rcx + rsi]
call fcn.1400e16d0
sub qword [r14 + 0x10], rsi
mov eax, dword [rbx + 0x80]
cmp eax, 2
je 0x140008a91
test eax, eax
je 0x140008cb4
mov rcx, rbx
call fcn.1400089cc
mov ecx, dword [rsp + 0xf0]
mov rax, qword [0x1401241d8]
mov byte [rbx + 0xb5], 0
mov dword [rax + 0x60], ecx
mov rcx, qword [rbx + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140008cef
mov rdx, qword [0x14012ab78]
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, [0x1401030d4]
call fcn.1400bf69c
mov rdi, rax
test rax, rax
je 0x140008d30
mov byte [rax], 0
lea rax, [rdi + 1]
cmp byte [rax], 0
jne 0x140008b40
xor esi, esi
lea rdi, [0x140124030]
mov rcx, qword [rdi]
mov rdx, r15
call fcn.1400c9f90
test eax, eax
je 0x140008d6d
inc rsi
lea rax, [0x1401241d0]
add rdi, 0x10
cmp rdi, rax
jne 0x140008d39
mov edi, 4
jmp 0x140008c11
mov edi, r9d
jmp 0x140008c11
add rsi, rsi
lea rdx, [rsp + 0x20]
mov r9, r12
lea rax, [0x140124030]
mov r8d, ebp
mov rcx, rbx
call qword [rax + rsi*reloc.WSOCK32.dll_htonl + 8]
mov edi, eax
test eax, eax
jne 0x140008dc2
cmp qword [rbx + 0x70], 0
jne 0x140008dac
lea rcx, [rbx + 0x60]
mov r9, r12
mov r8, r15
lea rdx, str._response_command__s__transaction_id__e___
call fcn.14000d1e0
xor edx, edx
mov rcx, rbx
call fcn.14000c7c8
mov edi, eax
test eax, eax
jne 0x140008cb4
jmp 0x140008dcb
cmp eax, 0xffffffff
jne 0x140008c11
xor edi, edi
jmp 0x140008c6f