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

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x250
mov qword [rsp + 0x1f8], 0xfffffffffffffffe
mov rax, qword [0x180161180]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov qword [rsp + 0xf0], 0
mov dword [rsp + 0xf8], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x100], 0
mov dword [rsp + 0xac], 0x1f
mov dword [rsp + 0xb4], 0
mov dword [rsp + 0x88], 0
mov dword [rsp + 0xfc], 0
mov dword [rsp + 0xa8], 0
mov dword [rsp + 0xa4], 0
movzx eax, byte [rsp + 0x278]
sub eax, 1
movsxd rcx, eax
imul rcx, rcx, 0x22
mov rax, qword [rsp + 0x280]
mov eax, dword [rax + rcx + 0xf]
mov dword [rsp + 0xe8], eax
movzx eax, byte [rsp + 0x278]
sub eax, 1
movsxd rcx, eax
imul rcx, rcx, 0x22
mov rax, qword [rsp + 0x280]
mov eax, dword [rax + rcx + 0x16]
mov dword [rsp + 0xa0], eax
movzx eax, byte [rsp + 0x278]
sub eax, 1
movsxd rcx, eax
imul rcx, rcx, 0x22
mov rax, qword [rsp + 0x280]
mov eax, dword [rax + rcx + 0x26]
mov dword [rsp + 0x80], eax
mov byte [rsp + 0x84], 0
mov byte [rsp + 0xb0], 0
mov byte [rsp + 0x78], 0
mov byte [rsp + 0x79], 0
mov byte [rsp + 0x7a], 0
mov byte [rsp + 0x7b], 0
mov byte [rsp + 0x7c], 0
mov byte [rsp + 0x7d], 0
mov byte [rsp + 0xe0], 0
mov byte [rsp + 0xe1], 0
mov byte [rsp + 0xe2], 0
mov byte [rsp + 0xe3], 0
mov byte [rsp + 0xe4], 0
mov byte [rsp + 0xe5], 0
mov dword [rsp + 0xcc], 0
mov dword [rsp + 0xc8], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0x98], 0
mov byte [rsp + 0xb8], 0
mov byte [rsp + 0xb9], 0
mov byte [rsp + 0xba], 0
mov byte [rsp + 0xbb], 0
mov byte [rsp + 0xbc], 0
cmp dword [rsp + 0x298], 0
jle 0x1800c32e4
mov eax, dword [rsp + 0x2a8]
mov dword [rsp + 0xe8], eax
mov eax, dword [rsp + 0x2b0]
mov dword [rsp + 0xa0], eax
movzx eax, byte [rsp + 0x2c0]
test eax, eax
je 0x1800c3301
lea rax, [0x1800034dc]
mov qword [rsp + 0x200], rax
jmp 0x1800c3310
lea rax, [0x1800034d8]
mov qword [rsp + 0x200], rax
movzx eax, byte [rsp + 0x2b8]
test eax, eax
je 0x1800c332d
lea rax, [0x1800034dc]
mov qword [rsp + 0x208], rax
jmp 0x1800c333c
lea rax, [0x1800034d8]
mov qword [rsp + 0x208], rax
movzx edi, byte [rsp + 0x278]
movzx eax, byte [rsp + 0x278]
sub eax, 1
movsxd rdx, eax
imul rdx, rdx, 0x22
movzx eax, byte [rsp + 0x278]
sub eax, 1
movsxd rcx, eax
imul rcx, rcx, 0x22
mov dword [rsp + 0x50], edi
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x2a0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x298]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x280]
mov eax, dword [rax + rdx + 0x16]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xa0]
mov rax, qword [rsp + 0x280]
mov r8d, dword [rax + rcx + 0xf]
mov edx, dword [rsp + 0xe8]
lea rcx, [0x180027350]
call fcn.1800892c0
mov ecx, 0xf000
call fcn.1800eb9ac
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x1800c34af
lea rcx, [0x180027300]
call fcn.1800892c0
mov ecx, 0x1020
call fcn.1800eb9ac
mov qword [rsp + 0x130], rax
cmp qword [rsp + 0x130], 0
je 0x1800c345f
lea r9, [0x1800272b0]
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0x130]
call fcn.18008d120
mov qword [rsp + 0x210], rax
jmp 0x1800c346b
mov qword [rsp + 0x210], 0
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x138], rax
lea rdx, [0x18015a158]
lea rcx, [rsp + 0x138]
call fcn.1800ec370
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x260]
mov rax, qword [rax + 0x10]
mov dword [rax + 0x18], 0xf000
mov rax, qword [rsp + 0x280]
movzx eax, byte [rax + 1]
test eax, eax
jne 0x1800c34fb
mov rcx, qword [rsp + 0x260]
mov rcx, qword [rcx + 0x10]
mov eax, dword [rsp + 0x80]
imul eax, eax, 0x10
mov dword [rcx + 0x18], eax
mov rax, qword [rsp + 0x260]
mov rax, qword [rax + 0x10]
mov edx, dword [rax + 0x18]
lea rcx, [0x180027250]
call fcn.1800892c0
mov rax, qword [rsp + 0x260]
mov rax, qword [rax + 0x10]
xor edx, edx
mov eax, dword [rax + 0x18]
div dword [rsp + 0x80]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x298], 0
jle 0x1800c3563
cmp dword [rsp + 0x298], 1
jne 0x1800c3558
movzx eax, byte [rsp + 0x2c8]
cmp eax, 1
jne 0x1800c3558
jmp 0x1800c3563
mov dword [rsp + 0x88], 1
movzx eax, byte [rsp + 0x2c0]
cmp eax, 1
jne 0x1800c357b
mov dword [rsp + 0x88], 1
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0xfc], eax
mov qword [rsp + 0xd0], 0
mov ecx, dword [rsp + 0xe8]
mov eax, dword [rsp + 0xa0]
sub eax, ecx
add eax, 1
cdqe
mov qword [rsp + 0xc0], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0xf8], eax
mov byte [rsp + 0x84], 1
mov rdi, qword [rsp + 0x90]
xor eax, eax
mov ecx, 0xf000
rep stosb byte [rdi], al
cmp dword [rsp + 0x88], 1
jbe 0x1800c3668
mov eax, dword [rsp + 0xf8]
mov ecx, dword [rsp + 0xa0]
sub ecx, eax
add ecx, 1
mov rax, qword [rsp + 0x260]
mov rax, qword [rax + 0x10]
xor edx, edx
mov eax, dword [rax + 0x18]
div dword [rsp + 0x80]
cmp eax, ecx
jae 0x1800c3640
mov rax, qword [rsp + 0x260]
mov rax, qword [rax + 0x10]
xor edx, edx
mov eax, dword [rax + 0x18]
div dword [rsp + 0x80]
mov dword [rsp + 0x218], eax
jmp 0x1800c365a
mov ecx, dword [rsp + 0xf8]
mov eax, dword [rsp + 0xa0]
sub eax, ecx
add eax, 1
mov dword [rsp + 0x218], eax
mov eax, dword [rsp + 0x218]
mov dword [rsp + 0x88], eax
movzx eax, byte [rsp + 0xb0]
test eax, eax
jne 0x1800c3735
movzx eax, byte [0x180163d59]
cmp eax, 1
jne 0x1800c3691
mov rcx, qword [rsp + 0x260]
call fcn.1800a4bf0
mov rax, qword [rsp + 0x280]
movzx eax, byte [rax + 1]
test eax, eax
jne 0x1800c3700
mov eax, dword [rsp + 0x88]
imul eax, dword [rsp + 0x80]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x40], 0
mov byte [rsp + 0x38], 0
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, dword [rsp + 0x88]
mov r8d, dword [rsp + 0xf8]
xor edx, edx
mov rcx, qword [rsp + 0x260]
call fcn.1800a66f0
jmp 0x1800c3733
mov byte [rsp + 0x28], 0
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xf8]
mov r8d, 0xf000
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x260]
call fcn.1800a4e10
jmp 0x1800c373d
mov byte [rsp + 0x84], 0
movzx eax, byte [rsp + 0x84]
test eax, eax
jne 0x1800c3a9c
mov eax, dword [rsp + 0x2a0]
add eax, 1
cmp dword [rsp + 0x298], eax
jge 0x1800c3949
movzx eax, byte [rsp + 0xb0]
test eax, eax
jne 0x1800c3949
xor r9d, r9d
lea r8, [rsp + 0xf8]
mov rdx, qword [rsp + 0x260]
mov rdx, qword [rdx + 0x121d8]
mov ecx, 0x14
mov rax, qword [rsp + 0x260]
call qword [rax + 0x121d0]
mov ecx, dword [rsp + 0xf8]
mov eax, dword [rsp + 0x88]
lea edx, [rcx + rax - 1]
mov ecx, dword [rsp + 0x298]
add ecx, 1
movzx eax, byte [rsp + 0x2c8]
mov byte [rsp + 0x68], al
movzx eax, byte [rsp + 0x2c0]
mov byte [rsp + 0x60], al
movzx eax, byte [rsp + 0x2b8]
mov byte [rsp + 0x58], al
mov dword [rsp + 0x50], edx
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x2a0]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x20], rax
movzx r9d, byte [rsp + 0x278]
mov r8, qword [rsp + 0x270]
mov rdx, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x260]
call fcn.1800c30f0
nop
mov ecx, dword [rsp + 0x88]
mov rax, qword [rsp + 0xd0]
add rax, rcx
mov qword [rsp + 0xd0], rax
mov ecx, dword [rsp + 0x88]
mov eax, dword [rsp + 0xf8]
add eax, ecx
mov dword [rsp + 0xf8], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0xf8], eax
jle 0x1800c388e
jmp 0x1800c3f7f
movzx eax, byte [rsp + 0x278]
sub eax, 1
movsxd rdx, eax
imul rdx, rdx, 0x22
mov rax, qword [rsp + 0x280]
mov ecx, dword [rsp + 0xf8]
mov eax, dword [rax + rdx + 0x16]
sub eax, ecx
cmp eax, 0x96
jge 0x1800c38c7
mov dword [rsp + 0x88], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0x290], 0
jbe 0x1800c393f
mov edx, dword [rsp + 0x290]
imul edx, edx, 0x3e8
mov ecx, dword [rsp + 0xa8]
mov eax, dword [rsp + 0xa4]
sub eax, ecx
cmp eax, edx
jbe 0x1800c393f
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0xa8], eax
lea r9, [rsp + 0xd0]
lea r8, [rsp + 0xc0]
mov rdx, qword [rsp + 0x260]
mov rdx, qword [rdx + 0x121d8]
mov ecx, 0xb
mov rax, qword [rsp + 0x260]
call qword [rax + 0x121d0]
jmp 0x1800c35cd
movzx eax, byte [rsp + 0x2b8]
test eax, eax
jne 0x1800c3a59
movzx eax, byte [rsp + 0x278]
sub eax, 1
movsxd rdx, eax
imul rdx, rdx, 0x22
mov rax, qword [rsp + 0x280]
mov ecx, dword [rsp + 0xf8]
mov eax, dword [rax + rdx + 0x16]
sub eax, ecx
cmp eax, 0xc8
jle 0x1800c3a59
mov edx, dword [rsp + 0xf8]
lea rcx, [0x180026ef0]
call fcn.1800892c0
mov ecx, 0x1020
call fcn.1800eb9ac
mov qword [rsp + 0x178], rax
cmp qword [rsp + 0x178], 0
je 0x1800c39ec
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x20], eax
lea r9, [0x180026ea0]
xor r8d, r8d
mov edx, 0xa
mov rcx, qword [rsp + 0x178]
call fcn.18008d120
mov qword [rsp + 0x228], rax
jmp 0x1800c39f8
mov qword [rsp + 0x228], 0
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x180], rax
mov rcx, qword [rsp + 0x180]
call fcn.1800ec288
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x188], rax
lea rdx, [0x18015a158]
lea rcx, [rsp + 0x188]
call fcn.1800ec370
mov rdi, qword [rsp + 0x90]
xor eax, eax
mov ecx, 0xf000
rep stosb byte [rdi], al
lea r9, [rsp + 0x88]
lea r8, [rsp + 0xf8]
mov rdx, qword [rsp + 0x260]
mov rdx, qword [rdx + 0x121d8]
mov ecx, 0x12
mov rax, qword [rsp + 0x260]
call qword [rax + 0x121d0]
mov r8d, dword [rsp + 0xfc]
imul r8d, dword [rsp + 0x80]
lea rax, [rsp + 0xac]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb4]
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x288]
call qword [rsp + 0x268]
test eax, eax
jne 0x1800c3bbd
mov edx, dword [rsp + 0xac]
lea rcx, [0x180026e40]
call fcn.1800892c0
mov ecx, 0x1020
call fcn.1800eb9ac
mov qword [rsp + 0x198], rax
cmp qword [rsp + 0x198], 0
je 0x1800c3b50
mov r8d, dword [rsp + 0xac]
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x20], eax
lea r9, [0x180026df0]
mov edx, 5
mov rcx, qword [rsp + 0x198]
call fcn.18008d120
mov qword [rsp + 0x230], rax
jmp 0x1800c3b5c
mov qword [rsp + 0x230], 0
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x1a0], rax
mov rcx, qword [rsp + 0x1a0]
call fcn.1800ec288
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x1a8], rax
lea rdx, [0x18015a158]
lea rcx, [rsp + 0x1a8]
call fcn.1800ec370
mov eax, dword [rsp + 0xfc]
imul eax, dword [rsp + 0x80]
cmp dword [rsp + 0xb4], eax
je 0x1800c3ccb
mov r8d, dword [rsp + 0x88]
imul r8d, dword [rsp + 0x80]
mov edx, dword [rsp + 0xb4]
lea rcx, [0x180026d80]
call fcn.1800892c0
mov ecx, 0x1020
call fcn.1800eb9ac
mov qword [rsp + 0x1b8], rax
cmp qword [rsp + 0x1b8], 0
je 0x1800c3c5e
mov eax, dword [rsp + 0x88]
imul eax, dword [rsp + 0x80]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x20], eax
lea r9, [0x180026d10]
xor r8d, r8d
mov edx, 0xa
mov rcx, qword [rsp + 0x1b8]
call fcn.18008d120
mov qword [rsp + 0x238], rax
jmp 0x1800c3c6a
mov qword [rsp + 0x238], 0
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x1c0], rax
mov rcx, qword [rsp + 0x1c0]
call fcn.1800ec288
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x1c8], rax
lea rdx, [0x18015a158]
lea rcx, [rsp + 0x1c8]
call fcn.1800ec370
mov rax, qword [rsp + 0x260]
movzx eax, byte [rax + 0x11cbe]
cmp eax, 1
jne 0x1800c3db1
mov edx, dword [rsp + 0xf8]
lea rcx, [0x180026cc0]
call fcn.1800892c0
mov ecx, 0x1020
call fcn.1800eb9ac
mov qword [rsp + 0x1d8], rax
cmp qword [rsp + 0x1d8], 0
je 0x1800c3d44
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x20], eax
lea r9, [0x180026c70]
xor r8d, r8d
mov edx, 0xe
mov rcx, qword [rsp + 0x1d8]
call fcn.18008d120
mov qword [rsp + 0x240], rax
jmp 0x1800c3d50
mov qword [rsp + 0x240], 0
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x1e0]
call fcn.1800ec288
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x1e8], rax
lea rdx, [0x18015a158]
lea rcx, [rsp + 0x1e8]
call fcn.1800ec370
mov ecx, dword [rsp + 0x88]
mov rax, qword [rsp + 0xd0]
add rax, rcx
mov qword [rsp + 0xd0], rax
mov ecx, dword [rsp + 0x88]
mov eax, dword [rsp + 0xf8]
add eax, ecx
mov dword [rsp + 0xf8], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0xf8], eax
jle 0x1800c3df7
jmp 0x1800c3f7f
movzx eax, byte [rsp + 0x278]
sub eax, 1
movsxd rdx, eax
imul rdx, rdx, 0x22
mov rax, qword [rsp + 0x280]
mov ecx, dword [rsp + 0xf8]
mov eax, dword [rax + rdx + 0x16]
sub eax, ecx
cmp eax, 0x96
jge 0x1800c3f02
movzx eax, byte [rsp + 0x278]
sub eax, 1
movsxd rdx, eax
imul rdx, rdx, 0x22
mov rax, qword [rsp + 0x280]
mov ecx, dword [rsp + 0xf8]
mov eax, dword [rax + rdx + 0x16]
sub eax, ecx
add eax, 1
mov dword [rsp + 0x11c], eax
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x11c], eax
jae 0x1800c3f02
mov eax, dword [rsp + 0xa0]
add eax, 1
sub eax, dword [rsp + 0x88]
cmp eax, dword [rsp + 0xe8]
jge 0x1800c3ea3
mov dword [rsp + 0x88], 1
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0xfc], eax
jmp 0x1800c3f02
mov eax, dword [rsp + 0xa0]
add eax, 1
sub eax, dword [rsp + 0x88]
mov dword [rsp + 0xf8], eax
mov eax, dword [rsp + 0x11c]
mov dword [rsp + 0xfc], eax
mov ecx, dword [rsp + 0x11c]
mov eax, dword [rsp + 0x88]
sub eax, ecx
imul eax, dword [rsp + 0x80]
mov dword [rsp + 0x118], eax
mov ecx, dword [rsp + 0x118]
mov rax, qword [rsp + 0x90]
add rax, rcx
mov qword [rsp + 0x100], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0x290], 0
jbe 0x1800c3f7a
mov edx, dword [rsp + 0x290]
imul edx, edx, 0x3e8
mov ecx, dword [rsp + 0xa8]
mov eax, dword [rsp + 0xa4]
sub eax, ecx
cmp eax, edx
jbe 0x1800c3f7a
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0xa8], eax
lea r9, [rsp + 0xd0]
lea r8, [rsp + 0xc0]
mov rdx, qword [rsp + 0x260]
mov rdx, qword [rdx + 0x121d8]
mov ecx, 0xb
mov rax, qword [rsp + 0x260]
call qword [rax + 0x121d0]
jmp 0x1800c35cd
lea rdx, [rsp + 0xac]
mov rcx, qword [rsp + 0x288]
call qword [rsp + 0x270]
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x1f0], rax
mov rcx, qword [rsp + 0x1f0]
call fcn.1800ec288
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1800eb430
add rsp, 0x250
pop rdi
ret