Function at 0x1400d82e0
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 0x1400d830a
xor eax, eax
jmp 0x1400d861a
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.1400a8070
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x88]
sub rax, 3
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jge 0x1400d8354
xor eax, eax
jmp 0x1400d861a
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x30], rax
jge 0x1400d8603
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x220], 0
je 0x1400d8603
cmp dword [0x1403ab4f8], 0
jle 0x1400d83a2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [rsp + 0x28]
mov eax, dword [0x1403ab4f8]
imul eax, eax, 0x3e8
cmp ecx, eax
jle 0x1400d83a2
xor eax, eax
jmp 0x1400d861a
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400d7e70
test eax, eax
jne 0x1400d83b7
jmp 0x1400d8354
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 0x1400d8423
xor eax, eax
jmp 0x1400d861a
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
add rax, rcx
mov byte [rax], 0
lea rdx, [0x1402138cc]
mov rcx, qword [rsp + 0x38]
call fcn.1400215f0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400d8467
lea rdx, [0x140213924]
mov rcx, qword [rsp + 0x38]
call fcn.1400215f0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400d8593
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 0x1400d84f7
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 0x1400d84f5
xor eax, eax
jmp 0x1400d861a
jmp 0x1400d8492
mov rax, qword [rsp + 0x50]
mov byte [rax], 0
mov rcx, qword [rsp + 0x80]
call fcn.1400a9170
cdqe
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jle 0x1400d8575
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x80]
add rax, rcx
movsx eax, byte [rax - 1]
cmp eax, 0xd
jne 0x1400d8548
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 0x1400d8575
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x80]
add rax, rcx
mov byte [rax - 1], 0
lea rdx, [0x140213934]
mov rcx, qword [rsp + 0x80]
call fcn.1400acd30
mov eax, 1
jmp 0x1400d861a
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 0x1400d85fe
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 0x1400d85fc
xor eax, eax
jmp 0x1400d861a
jmp 0x1400d85a6
jmp 0x1400d8354
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x220], 0
jne 0x1400d8615
xor eax, eax
jmp 0x1400d861a
mov eax, 1
add rsp, 0x68
ret