Function at 0x1400d82f0
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x88], 3
jae 0x1400d831a
xor eax, eax
jmp 0x1400d862a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x28], eax
mov r8, qword [rsp + 0x88]
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.1400a8080
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x88]
sub rax, 3
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jge 0x1400d8364
xor eax, eax
jmp 0x1400d862a
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x30], rax
jge 0x1400d8613
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x220], 0
je 0x1400d8613
cmp dword [0x1403aa4f8], 0
jle 0x1400d83b2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [rsp + 0x28]
mov eax, dword [0x1403aa4f8]
imul eax, eax, 0x3e8
cmp ecx, eax
jle 0x1400d83b2
xor eax, eax
jmp 0x1400d862a
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400d7e80
test eax, eax
jne 0x1400d83c7
jmp 0x1400d8364
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
sub rax, rcx
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x88]
lea rax, [rcx + rax - 3]
sub rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov r9d, 2
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_recv]
cdqe
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jg 0x1400d8433
xor eax, eax
jmp 0x1400d862a
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
add rax, rcx
mov byte [rax], 0
lea rdx, [0x1402128cc]
mov rcx, qword [rsp + 0x38]
call fcn.1400207e0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400d8477
lea rdx, [0x140212924]
mov rcx, qword [rsp + 0x38]
call fcn.1400207e0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400d85a3
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x50]
sub rax, rcx
add rax, 1
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x30], rax
jge 0x1400d8507
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
sub rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, qword [rsp + 0x38]
lea rdx, [rax + rcx + 1]
sub rdx, qword [rsp + 0x20]
xor r9d, r9d
mov r8d, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_recv]
cdqe
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jg 0x1400d8505
xor eax, eax
jmp 0x1400d862a
jmp 0x1400d84a2
mov rax, qword [rsp + 0x50]
mov byte [rax], 0
mov rcx, qword [rsp + 0x80]
call fcn.1400a9180
cdqe
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jle 0x1400d8585
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x80]
add rax, rcx
movsx eax, byte [rax - 1]
cmp eax, 0xd
jne 0x1400d8558
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x80]
add rax, rcx
mov byte [rax - 1], 0
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x80]
add rax, rcx
movsx eax, byte [rax - 1]
cmp eax, 0xa
jne 0x1400d8585
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x80]
add rax, rcx
mov byte [rax - 1], 0
lea rdx, [0x140212934]
mov rcx, qword [rsp + 0x80]
call fcn.1400acd50
mov eax, 1
jmp 0x1400d862a
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x48], rax
jge 0x1400d860e
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
sub rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
add rdx, rax
sub rdx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_recv]
cdqe
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jg 0x1400d860c
xor eax, eax
jmp 0x1400d862a
jmp 0x1400d85b6
jmp 0x1400d8364
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x220], 0
jne 0x1400d8625
xor eax, eax
jmp 0x1400d862a
mov eax, 1
add rsp, 0x68
ret