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

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xb8], rdx
nop
mov rcx, qword [rbp + 0xb0]
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
call qword [rax + 0x280]
mov ebx, eax
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
call fcn.00590d00
mov rcx, qword [rbp + 0xb0]
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
call qword [rax + 0x48]
mov rcx, rax
mov edx, 1
mov rax, qword [rax]
call qword [rax + 0x28]
test al, al
je 0x5c5872
mov rax, qword [rbp + 0xb8]
movzx rax, word [rax]
sub ax, 0x1b
test ax, ax
je 0x5c5844
sub ax, 5
cmp ax, 0xffe0
jae 0x5c5872
mov rcx, qword [rbp + 0xb0]
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
call qword [rax + 0x48]
lea rcx, [rbp + 0x58]
mov rdx, rax
call fcn.004a87f0
mov rcx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x58]
mov rax, qword [rax]
call qword [rax + 0x48]
test al, al
jne 0x5c5814
mov rax, qword [rbp + 0xb8]
mov word [rax], 0
jmp 0x5c5872
mov rcx, qword [rbp + 0xb0]
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
call qword [rax + 0x48]
lea rcx, [rbp + 0x50]
mov rdx, rax
call fcn.004a87f0
mov rcx, qword [rbp + 0x50]
mov rax, qword [rbp + 0x50]
mov rsi, qword [rax]
call qword [rsi + 0x58]
jmp 0x5c5872
mov rcx, qword [rbp + 0xb0]
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
call qword [rax + 0x48]
lea rcx, [rbp + 0x48]
mov rdx, rax
call fcn.004a87f0
mov rcx, qword [rbp + 0x48]
mov rax, qword [rbp + 0x48]
mov rsi, qword [rax]
call qword [rsi + 0x50]
mov rax, qword [rbp + 0xb0]
cmp byte [rax + 0x4a8], 0
je 0x5c5aff
call sub.kernel32.dll_GetTickCount
mov rcx, qword [rbp + 0xb0]
sub eax, dword [rcx + 0x4c0]
mov rcx, qword [rbp + 0xb0]
cmp eax, dword [rcx + 0x558]
jb 0x5c58ba
mov rax, qword [rbp + 0xb0]
lea rcx, [rax + 0x4b8]
call fcn.0040fd60
call sub.kernel32.dll_GetTickCount
mov rcx, qword [rbp + 0xb0]
mov dword [rcx + 0x4c0], eax
mov rax, qword [rbp + 0xb8]
cmp word [rax], 8
je 0x5c5a01
mov rax, qword [rbp + 0xb8]
cmp word [rax], 0xd800
jb 0x5c599b
mov rax, qword [rbp + 0xb8]
cmp word [rax], 0xdfff
ja 0x5c599b
mov rcx, qword [rbp + 0xb0]
call fcn.00592a80
lea rcx, [rbp + 0x60]
mov rdx, rax
mov r8d, 0x102
mov r9d, 0x102
mov dword [rsp + 0x20], 1
call sub.user32.dll_PeekMessageW
test eax, eax
je 0x5c5a6c
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0xb8]
movzx rdx, word [rax]
call fcn.004113b0
lea rcx, [rbp + 0x38]
movzx rdx, word [rbp + 0x70]
call fcn.004113b0
mov rax, qword [rbp + 0xb0]
lea rcx, [rax + 0x4b8]
mov edx, 3
mov rax, qword [rbp + 0xb0]
mov r8, qword [rax + 0x4b8]
mov r9, qword [rbp + 0x40]
mov rax, qword [rbp + 0x38]
mov qword [rsp + 0x20], rax
call fcn.00411900
mov rax, qword [rbp + 0xb8]
mov word [rax], 0
jmp 0x5c5a6c
lea rcx, [rbp + 0x30]
mov rax, qword [rbp + 0xb8]
movzx rdx, word [rax]
call fcn.004113b0
mov rax, qword [rbp + 0xb0]
lea rcx, [rax + 0x4b8]
mov rdx, qword [rbp + 0x30]
call fcn.00411700
jmp 0x5c5a6c
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 0x4b8]
xor ecx, ecx
test rax, rax
je 0x5c59e3
mov ecx, dword [rax - 4]
mov rax, qword [rbp + 0xb0]
lea rax, [rax + 0x4b8]
mov edx, ecx
mov r8d, 1
mov rcx, rax
call fcn.00411a50
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 0x4b8]
xor ecx, ecx
test rax, rax
je 0x5c5a19
mov ecx, dword [rax - 4]
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 0x4b8]
mov edx, ecx
mov rcx, rax
call fcn.0043da90
cmp al, 2
je 0x5c59cb
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 0x4b8]
xor ecx, ecx
test rax, rax
je 0x5c5a4e
mov ecx, dword [rax - 4]
mov rax, qword [rbp + 0xb0]
lea rax, [rax + 0x4b8]
mov edx, ecx
mov r8d, 1
mov rcx, rax
call fcn.00411a50
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 0x4b8]
xor ecx, ecx
test rax, rax
je 0x5c5a84
mov ecx, dword [rax - 4]
test ecx, ecx
jle 0x5c5a92
mov rcx, rbp
call fcn.005c55a0
jmp 0x5c5ac7
mov rcx, qword [rbp + 0xb0]
xor edx, edx
mov rax, qword [rbp + 0xb0]
mov rsi, qword [rax]
call qword [rsi + 0x288]
mov rcx, qword [rbp + 0xb0]
mov dx, 0xffea
call fcn.0040d210
mov rsi, rax
mov rcx, qword [rbp + 0xb0]
call rsi
mov rcx, qword [rbp + 0xb0]
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
call qword [rax + 0x280]
cmp ebx, eax
je 0x5c5afe
mov rcx, qword [rbp + 0xb0]
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
call qword [rax + 0x48]
mov rcx, rax
call fcn.004a8ca0
nop
lea rcx, [rbp + 0x30]
mov edx, 3
call fcn.0040fe40
lea rcx, [rbp + 0x48]
mov rdx, qword [0x00464470]
mov r8d, 3
call fcn.004124b0
lea rsp, [rbp + 0x90]
pop rbx
pop rsi
pop rbp
ret