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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x3e0
mov rax, qword [0x100086110]
xor rax, rsp
mov qword [rsp + 0x3d0], rax
mov eax, dword [0x100089570]
xor ebp, ebp
mov rdi, rcx
lea r12d, [rbp + 1]
mov esi, ebp
test r12b, al
jne 0x10005bb20
or eax, r12d
mov dword [0x100089570], eax
mov rax, qword [rcx + 0xc0]
cmp rax, rbp
je 0x10005bb16
mov rax, qword [rax + 0x78]
jmp 0x10005bb19
mov rax, rbp
mov qword [0x100089160], rax
mov rcx, qword [rcx + 0xb8]
lea rdx, [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x38]
cmp dword [rsp + 0x34], ebp
jl 0x10005bb4c
mov rax, qword [0x100089160]
cmp rax, rbp
je 0x10005bb66
cmp dword [rax + 0x27c], ebp
je 0x10005bb66
mov dword [rdi + 0x68], ebp
mov rcx, qword [rdi + 0x60]
cmp rcx, rbp
je 0x10005bb62
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x60], rbp
mov esi, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
mov r13d, 2
cmp ecx, ebp
je 0x10005bc12
sub ecx, r12d
je 0x10005bc08
sub ecx, r12d
je 0x10005bbee
sub ecx, r12d
je 0x10005bbb0
sub ecx, r12d
je 0x10005bba6
cmp ecx, r12d
je 0x10005bb9f
mov ebx, 0x2779
jmp 0x10005bc5f
mov ebx, 0x2778
jmp 0x10005bc0d
mov ebx, 0x2777
jmp 0x10005bc5f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x98]
cmp eax, 0x1d4c0
jbe 0x10005bbe7
mov dword [rdi + 0x68], ebp
mov rcx, qword [rdi + 0x60]
mov ebx, 0x277a
cmp rcx, rbp
je 0x10005bbde
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x60], rbp
lea rdx, [0x10002b760]
jmp 0x10005bc47
mov ebx, 0x2775
jmp 0x10005bc5f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x98]
cmp eax, 0x1d4c0
ja 0x10005bc25
mov ebx, 0x2776
jmp 0x10005bc5f
mov ebx, 0x277a
mov dword [rdi + 0x68], ebp
jmp 0x10005bc5f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x98]
cmp eax, 0x1d4c0
jbe 0x10005bc5a
mov dword [rdi + 0x68], ebp
mov rcx, qword [rdi + 0x60]
mov ebx, 0x277a
cmp rcx, rbp
je 0x10005bc40
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x60], rbp
lea rdx, [0x10002b738]
mov esi, 0x80072efd
mov ecx, r13d
mov dword [rsp + 0x34], esi
call fcn.1000526dc
jmp 0x10005bc5f
mov ebx, 0x2774
mov r9d, dword [rsp + 0x34]
cmp r9d, ebp
je 0x10005bc92
cmp qword [rdi + 8], rbp
lea r8, [0x100029a10]
lea rdx, [0x10002b790]
cmovne r8, qword [rdi + 8]
mov ecx, r13d
call fcn.1000527f4
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [rsp + 0x38]
cmp ecx, 0xffffffff
jne 0x10005bcff
mov rcx, qword [0x100088070]
mov edi, 0x80
lea r8, [rsp + 0x50]
mov r9d, edi
mov edx, 0x26e8
call qword [sym.imp.USER32.dll_LoadStringW]
cmp eax, ebp
jne 0x10005bd3c
lea rdx, [0x100025048]
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0x50]
sub rdx, rax
lea rax, [rdi + 0x7fffff7e]
cmp rax, rbp
je 0x10005bcf2
movzx eax, word [rdx + rcx]
cmp ax, bp
je 0x10005bcf2
mov word [rcx], ax
add rcx, r13
sub rdi, r12
jne 0x10005bcd2
cmp rdi, rbp
jne 0x10005bcfa
sub rcx, r13
mov word [rcx], bp
jmp 0x10005bd3c
mov edi, dword [rsp + 0x40]
lea rax, [rsp + 0x50]
cmp edi, ebp
jbe 0x10005bd1f
cmp rax, rbp
je 0x10005bd3c
sub ecx, dword [rsp + 0x3c]
xor edx, edx
mov eax, ecx
div edi
mov edx, eax
jmp 0x10005bd32
cmp rax, rbp
je 0x10005bd3c
sub ecx, dword [rsp + 0x3c]
mov eax, 0x10624dd3
mul ecx
shr edx, 0xa
lea rcx, [rsp + 0x50]
call fcn.100058214
mov rcx, qword [0x100088070]
lea r8, [rsp + 0x1d0]
mov r9d, 0x100
mov edx, ebx
call qword [sym.imp.USER32.dll_LoadStringW]
cmp eax, ebp
je 0x10005be15
xor eax, eax
or r8, 0xffffffffffffffff
lea rdi, [rsp + 0x1d0]
mov rcx, r8
repne scasw ax, word [rdi]
lea rdi, [rsp + 0x50]
not rcx
sub rcx, r12
mov rdx, rcx
mov rcx, r8
repne scasw ax, word [rdi]
mov rax, r13
not rcx
sub rcx, r12
lea rbx, [rdx + rcx + 0x21]
mul rbx
cmovo rax, r8
mov rcx, rax
call fcn.10007fa96
mov rdi, rax
cmp rax, rbp
je 0x10005be15
lea rax, [rsp + 0x150]
cmp rax, rbp
je 0x10005bdce
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0x150]
call fcn.1000585c8
jmp 0x10005bdd3
mov eax, 0x80004005
cmp eax, ebp
jl 0x10005be0d
lea rax, [rsp + 0x150]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x1d0]
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.10003a080
cmp qword [0x1000888e8], rbp
je 0x10005be0d
mov rcx, rdi
call fcn.100051c8c
mov rcx, rdi
call fcn.10007faa2
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x3c]
cmp ecx, ebp
cmove ecx, r12d
xor edx, edx
imul eax, eax, 0x64
div ecx
mov ecx, eax
call fcn.100051c48
mov eax, esi
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.10007fa70
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret