Function at 0x1400e3040
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
sub rsp, 0x40
sub rcx, 0x7b
je 0x1400e3065
sub rcx, 0x186
je 0x1400e30b3
sub rcx, 2
je 0x1400e3093
cmp rcx, 2
jne 0x1400e3302
mov ecx, reloc.WS2_32.dll_recv
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
call fcn.1400c9260
test eax, eax
je 0x1400e3115
xor edi, edi
cmp byte [0x1401f3473], dil
sete dil
jmp 0x1400e311c
call fcn.1400e2f40
mov byte [0x1401f3a2e], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401f3a08], eax
xor eax, eax
add rsp, 0x40
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x1401f3a2e], 0
mov ebx, eax
je 0x1400e30e9
call qword [sym.imp.USER32.dll_GetDoubleClickTime]
mov ecx, ebx
sub ecx, dword [0x1401f3a08]
cmp ecx, eax
ja 0x1400e30e9
call fcn.1400e2f40
mov dword [0x1401f3a08], ebx
xor eax, eax
add rsp, 0x40
pop rbx
ret
cmp byte [0x1401f3474], 0
jne 0x1400e30fb
cmp byte [0x1401f3a2c], 0
je 0x1400e3100
call fcn.1400e2f40
mov byte [0x1401f3a2e], 1
mov dword [0x1401f3a08], ebx
xor eax, eax
add rsp, 0x40
pop rbx
ret
movsx edi, byte [0x1401f3473]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
call qword [sym.imp.USER32.dll_CreateMenu]
mov rsi, rax
call qword [sym.imp.USER32.dll_CreateMenu]
test edi, edi
mov rbx, rax
je 0x1400e317b
mov r9, qword [0x1401e5d78]
xor edx, edx
mov r8d, 0x9c41
mov r9, qword [r9 + 0x398]
mov rcx, rax
call fcn.1400c5270
mov r9, qword [0x1401e5d78]
xor edx, edx
mov r9, qword [r9 + 0x1a68]
mov r8d, 0x9c47
mov rcx, rbx
call fcn.1400c5270
jmp 0x1400e31b7
mov r9, qword [0x1401e5d78]
xor edx, edx
mov r8d, 0x9c47
mov r9, qword [r9 + 0x1a68]
mov rcx, rax
call fcn.1400c5270
mov r9, qword [0x1401e5d78]
xor edx, edx
mov r9, qword [r9 + 0x398]
mov r8d, 0x9c41
mov rcx, rbx
call fcn.1400c5270
mov rcx, rbx
call fcn.1400c5300
mov r9, qword [0x1401e5d78]
xor edx, edx
mov r9, qword [r9 + 0x4c0]
mov r8d, 0x9c44
mov rcx, rbx
call fcn.1400ce1b0
mov r9, qword [0x1401e5d78]
xor edx, edx
mov r9, qword [r9 + 0x1a48]
mov r8d, 0xa2e5
mov rcx, rbx
call fcn.1400ce1b0
mov r9, qword [0x1401e5d78]
xor edx, edx
mov r9, qword [r9 + 0x16a8]
mov r8d, 0xa2e4
mov rcx, rbx
call fcn.1400ce1b0
mov rcx, rbx
call fcn.1400c5300
mov r9, qword [0x1401e5d78]
xor edx, edx
mov r9, qword [r9 + 0x3b8]
mov r8d, 0x9c45
mov rcx, rbx
call fcn.1400c5270
mov rcx, rbx
call fcn.1400c5300
mov r9, qword [0x1401e5d78]
xor edx, edx
mov r9, qword [r9 + 0x3c0]
mov r8d, 0x9c46
mov rcx, rbx
call fcn.1400c5270
lea r9, [0x14019aef2]
mov r8, rbx
mov edx, reloc.WS2_32.dll_recv
mov rcx, rsi
call fcn.1400c5270
test edi, edi
mov rdi, qword [rsp + 0x60]
je 0x1400e328c
mov edx, 0x9c41
jmp 0x1400e3291
mov edx, 0x9c47
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetMenuDefaultItem]
mov rcx, qword [0x1401f3a38]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rax, qword [0x1401f3a38]
mov r9d, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x50]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
mov edx, 2
mov rcx, rbx
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_TrackPopupMenu]
mov rcx, qword [0x1401f3a38]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyMenu]
mov rsi, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x40
pop rbx
ret