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

Disassembly:
push rbp
push rbx
sub rsp, 0x148
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x128], 0
mov qword [rbp + 0x120], 0
mov qword [rbp + 0x138], 0
mov qword [rbp + 0x88], rbp
mov qword [rbp + 0x160], rcx
mov qword [rbp + 0x168], rdx
nop
mov rax, qword [rbp + 0x160]
movzx rcx, byte [rax + 0x542]
cmp cl, 7
ja 0x604b95
mov al, 1
shl eax, cl
movzx rcx, byte [0x00605318]
test al, cl
setne al
jmp 0x604b97
xor eax, eax
test al, al
je 0x604bca
mov rcx, qword [rbp + 0x160]
lea rdx, [rbp + 0x80]
call fcn.005cf510
mov rax, qword [rbp + 0x160]
lea rcx, [rax + 0x538]
mov rdx, qword [rbp + 0x80]
call fcn.00410600
jmp 0x604c10
call sub.kernel32.dll_GetTickCount_1
mov rcx, qword [rbp + 0x160]
sub eax, dword [rcx + 0x534]
mov rcx, qword [rbp + 0x160]
cmp eax, dword [rcx + 0x574]
jb 0x604bfe
mov rax, qword [rbp + 0x160]
lea rcx, [rax + 0x538]
call fcn.0040ffb0
call sub.kernel32.dll_GetTickCount_1
mov rcx, qword [rbp + 0x160]
mov dword [rcx + 0x534], eax
mov rax, qword [rbp + 0x168]
movzx rax, word [rax]
sub ax, 8
test ax, ax
je 0x604c7a
sub ax, 1
test ax, ax
je 0x604c3f
sub ax, 0x12
test ax, ax
jne 0x604f71
jmp 0x605226
mov rax, qword [rbp + 0x160]
cmp byte [rax + 0x531], 0
je 0x605225
mov rcx, qword [rbp + 0x160]
call fcn.00602320
test al, al
je 0x605225
mov rcx, qword [rbp + 0x160]
xor edx, edx
call fcn.00602350
jmp 0x605225
mov rcx, rbp
lea rdx, [rbp + 0x134]
lea r8, [rbp + 0x130]
call fcn.00604960
test al, al
je 0x604cae
mov rcx, rbp
mov edx, dword [rbp + 0x134]
mov r8d, dword [rbp + 0x130]
call fcn.006049e0
jmp 0x604f44
mov rax, qword [rbp + 0x160]
movzx rcx, byte [rax + 0x542]
cmp cl, 7
ja 0x604cd5
mov al, 1
shl eax, cl
movzx rcx, byte [0x00605318]
test al, cl
setne al
jmp 0x604cd7
xor eax, eax
test al, al
je 0x604d27
mov rcx, qword [rbp + 0x160]
lea rdx, [rbp + 0x78]
call fcn.005cf510
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0xe0], rax
mov dword [rbp + 0xdc], 0
mov rax, qword [rbp + 0xe0]
test rax, rax
je 0x604d15
mov eax, dword [rax - 4]
mov dword [rbp + 0xdc], eax
cmp dword [rbp + 0xdc], 0
setg al
mov byte [rbp + 0xdb], al
jmp 0x604d2e
mov byte [rbp + 0xdb], 0
cmp byte [rbp + 0xdb], 0
je 0x604ebf
mov rcx, qword [rbp + 0x160]
lea rdx, [rbp + 0x120]
call fcn.005cf510
mov eax, dword [rbp + 0x134]
mov dword [rbp + 0x11c], eax
jmp 0x604d63
sub dword [rbp + 0x11c], 1
mov rcx, qword [rbp + 0x120]
mov edx, dword [rbp + 0x11c]
call fcn.00442fc0
cmp al, 2
je 0x604d5c
lea rcx, [rbp + 0x128]
mov rdx, qword [rbp + 0x120]
mov r8d, 1
mov r9d, dword [rbp + 0x11c]
sub r9d, 1
call fcn.00411970
mov rcx, qword [rbp + 0x160]
call fcn.005dd0c0
mov rcx, rax
mov edx, 0x14e
or r8, 0xffffffffffffffff
xor r9, r9
call sub.user32.dll_SendMessageW
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x120]
mov r8d, dword [rbp + 0x130]
add r8d, 1
mov r9d, 0x7fffffff
call fcn.00411970
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x128]
mov r8, qword [rbp + 0x68]
call fcn.00411750
mov rcx, qword [rbp + 0x160]
mov rdx, qword [rbp + 0x70]
call fcn.005cf580
mov rcx, qword [rbp + 0x160]
call fcn.005dd0c0
mov rcx, rax
movzx rax, word [rbp + 0x11c]
sub ax, 1
movzx eax, ax
mov edx, 0x142
xor r8, r8
mov r9d, eax
shl r9d, 0x10
or eax, r9d
movsxd r9, eax
call sub.user32.dll_SendMessageW
mov rcx, qword [rbp + 0x160]
lea rdx, [rbp + 0x60]
call fcn.005cf510
mov rax, qword [rbp + 0x160]
lea rcx, [rax + 0x538]
mov rdx, qword [rbp + 0x60]
call fcn.00410600
jmp 0x604f44
mov rax, qword [rbp + 0x160]
mov rax, qword [rax + 0x538]
mov qword [rbp + 0xd0], rax
mov dword [rbp + 0xcc], 0
mov rax, qword [rbp + 0xd0]
test rax, rax
je 0x604e9f
mov eax, dword [rax - 4]
mov dword [rbp + 0xcc], eax
mov rax, qword [rbp + 0x160]
lea rcx, [rax + 0x538]
mov edx, dword [rbp + 0xcc]
mov r8d, 1
call fcn.004119d0
mov rax, qword [rbp + 0x160]
mov rcx, qword [rax + 0x538]
call fcn.00410790
mov rcx, qword [rbp + 0x160]
mov rcx, qword [rcx + 0x538]
mov edx, eax
call fcn.00442fc0
cmp al, 2
je 0x604e6b
mov rax, qword [rbp + 0x160]
mov rax, qword [rax + 0x538]
mov qword [rbp + 0xc0], rax
mov dword [rbp + 0xbc], 0
mov rax, qword [rbp + 0xc0]
test rax, rax
je 0x604f24
mov eax, dword [rax - 4]
mov dword [rbp + 0xbc], eax
mov rax, qword [rbp + 0x160]
lea rcx, [rax + 0x538]
mov edx, dword [rbp + 0xbc]
mov r8d, 1
call fcn.004119d0
mov rax, qword [rbp + 0x168]
mov word [rax], 0
mov rcx, qword [rbp + 0x160]
mov dx, 0xffac
call fcn.0040d200
mov rbx, rax
mov rcx, qword [rbp + 0x160]
call rbx
jmp 0x605225
mov rcx, rbp
lea rdx, [rbp + 0x134]
lea r8, [rbp + 0x130]
call fcn.00604960
mov rax, qword [rbp + 0x160]
cmp byte [rax + 0x542], 2
jae 0x604fe2
mov rax, qword [rbp + 0x160]
mov rax, qword [rax + 0x538]
mov qword [rbp + 0xb0], rax
mov dword [rbp + 0xac], 0
mov rax, qword [rbp + 0xb0]
test rax, rax
je 0x604fcb
mov eax, dword [rax - 4]
mov dword [rbp + 0xac], eax
mov eax, dword [rbp + 0x134]
cmp eax, dword [rbp + 0xac]
setl al
mov byte [rbp + 0xab], al
jmp 0x604fe9
mov byte [rbp + 0xab], 0
cmp byte [rbp + 0xab], 0
je 0x6050c7
nop
lea rcx, [rbp + 0x58]
mov rax, qword [rbp + 0x160]
mov rdx, qword [rax + 0x538]
mov r8d, 1
mov r9d, dword [rbp + 0x134]
call fcn.00411970
lea rcx, [rbp + 0x50]
mov rax, qword [rbp + 0x168]
movzx rdx, word [rax]
call fcn.00411360
lea rcx, [rbp + 0x138]
mov rdx, qword [rbp + 0x58]
mov r8, qword [rbp + 0x50]
call fcn.00411750
mov rax, qword [rbp + 0x160]
mov rax, qword [rax + 0x538]
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0x9c], 0
mov rax, qword [rbp + 0xa0]
test rax, rax
je 0x605078
mov eax, dword [rax - 4]
mov dword [rbp + 0x9c], eax
lea rcx, [rbp + 0x48]
mov rax, qword [rbp + 0x160]
mov rdx, qword [rax + 0x538]
mov r8d, dword [rbp + 0x130]
add r8d, 1
mov r9d, dword [rbp + 0x9c]
call fcn.00411970
lea rcx, [rbp + 0x120]
mov rdx, qword [rbp + 0x138]
mov r8, qword [rbp + 0x48]
call fcn.00411750
nop
lea rcx, [rbp + 0x138]
call fcn.0040ffb0
jmp 0x6050f9
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0x168]
movzx rdx, word [rax]
call fcn.00411360
lea rcx, [rbp + 0x120]
mov rax, qword [rbp + 0x160]
mov rdx, qword [rax + 0x538]
mov r8, qword [rbp + 0x40]
call fcn.00411750
mov rax, qword [rbp + 0x160]
cmp byte [rax + 0x531], 0
je 0x605127
mov rcx, qword [rbp + 0x160]
call fcn.00602320
test al, al
jne 0x605127
mov rcx, qword [rbp + 0x160]
mov dl, 1
call fcn.00602350
mov rax, qword [rbp + 0x168]
cmp word [rax], 0xd800
jb 0x605143
mov rax, qword [rbp + 0x168]
cmp word [rax], 0xdfff
jbe 0x605147
xor eax, eax
jmp 0x605149
mov al, 1
test al, al
je 0x605202
mov rcx, qword [rbp + 0x160]
call fcn.005dd0c0
lea rcx, [rbp + 0xe8]
mov rdx, rax
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
call sub.user32.dll_PeekMessageW
test eax, eax
je 0x605225
cmp dword [rbp + 0xf0], 0x102
jne 0x605225
lea rcx, [rbp + 0x30]
movzx rdx, word [rbp + 0xf8]
call fcn.00411360
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x120]
mov r8, qword [rbp + 0x30]
call fcn.00411750
mov rcx, qword [rbp + 0x160]
mov rdx, qword [rbp + 0x38]
call fcn.00605320
test al, al
je 0x605225
mov rcx, qword [rbp + 0x160]
call fcn.005dd0c0
lea rcx, [rbp + 0xe8]
mov rdx, rax
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 1
call sub.user32.dll_PeekMessageW
mov rax, qword [rbp + 0x168]
mov word [rax], 0
jmp 0x605225
mov rcx, qword [rbp + 0x160]
mov rdx, qword [rbp + 0x120]
call fcn.00605320
test al, al
je 0x605225
mov rax, qword [rbp + 0x168]
mov word [rax], 0
nop
lea rcx, [rbp + 0x30]
mov edx, 6
call fcn.00410090
lea rcx, [rbp + 0x60]
call fcn.0040ffb0
lea rcx, [rbp + 0x68]
mov edx, 2
call fcn.00410090
lea rcx, [rbp + 0x78]
mov edx, 2
call fcn.00410090
lea rcx, [rbp + 0x120]
mov edx, 2
call fcn.00410090
lea rcx, [rbp + 0x138]
call fcn.0040ffb0
lea rsp, [rbp + 0x148]
pop rbx
pop rbp
ret