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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x563219
mov eax, dword [0x6e42cc]
mov eax, dword [eax]
cmp byte [eax + 0x6d], 0
jne 0x563219
mov eax, dword [0x6e42cc]
mov eax, dword [eax]
cmp byte [eax + 0x1b], 0
jne 0x563219
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 0x1a]
mov edx, dword [ebp + 0xc]
movzx edx, byte [edx + 0x3c]
add eax, edx
mov edx, dword [0x6e42cc]
mov edx, dword [edx]
movzx edx, word [edx + 0x51]
cmp eax, edx
jbe 0x562d98
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x17], 0
jne 0x56320a
mov eax, dword [ebp + 0xc]
mov ax, word [eax + 8]
sub ax, 3
je 0x563219
dec ax
je 0x563219
sub ax, 3
je 0x563219
sub ax, 0x4c
je 0x563219
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x17], 0
jne 0x562f22
mov eax, dword [ebp + 0xc]
cmp word [eax + 8], 0x1a
jne 0x562df5
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x6e3c60]
sub eax, dword [edx]
cmp eax, 0x2710
jb 0x563219
mov eax, dword [ebp + 0xc]
cmp word [eax + 8], 0x49
jne 0x562e17
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x6e43c0]
sub eax, dword [edx]
cmp eax, 0x2710
jb 0x563219
mov eax, dword [ebp + 0xc]
cmp word [eax + 8], 0x1b
jne 0x562ec7
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x6e46d4]
sub eax, dword [edx]
cmp eax, 0xbb8
jb 0x563219
mov eax, dword [0x6e4734]
cmp byte [eax + 0x221], 0
je 0x562ec7
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x6e431c]
sub eax, dword [edx]
mov edx, dword [0x6e4298]
cmp eax, dword [edx]
jbe 0x562ec7
mov eax, dword [0x6e3f88]
mov eax, dword [eax]
push eax
mov ecx, dword [0x6e40c0]
mov ecx, dword [ecx]
mov eax, dword [0x6e42cc]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov eax, dword [0x6e42cc]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.0064789c
mov byte [ebp - 0x21], al
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x6e431c]
mov dword [edx], eax
mov eax, dword [0x6e3f84]
xor edx, edx
mov dword [eax], edx
push 0
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 8]
push eax
push 0
xor ecx, ecx
mov cl, byte [ebp - 0x21]
mov edx, 0xbc9
mov eax, dword [ebp - 4]
call fcn.0056f538
jmp 0x563219
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x6e40ec]
sub eax, dword [edx]
mov edx, dword [0x6e4298]
cmp eax, dword [edx]
jbe 0x563219
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x6e40ec]
mov dword [edx], eax
mov eax, dword [0x6e3f84]
xor edx, edx
mov dword [eax], edx
push 0
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 8]
push eax
push 0
mov eax, dword [0x6e42cc]
mov eax, dword [eax]
xor ecx, ecx
mov cl, byte [eax + 0x10]
mov edx, 0xbc9
mov eax, dword [ebp - 4]
call fcn.0056f538
jmp 0x563219
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, 0xaf
mov eax, 0x186
call fcn.00648040
mov dword [ebp - 0x10], eax
mov eax, dword [0x6e42f8]
cmp dword [eax], 0
je 0x562f5b
mov eax, dword [0x6e42f8]
mov eax, dword [eax]
cmp byte [eax + 0x30], 0
je 0x562f5b
mov eax, dword [0x6e42f8]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x6e4734]
cmp byte [eax + 0x24], 0
je 0x563000
mov eax, dword [0x6e3c88]
cmp byte [eax + 0x12], 0
je 0x563000
mov eax, dword [ebp + 0xc]
mov ax, word [eax + 8]
cmp ax, 0x57
ja 0x562f90
and eax, 0x7f
bt dword [0x563220], eax
jb 0x563000
mov eax, dword [0x6e4734]
cmp byte [eax + 0x25], 0
je 0x562fc9
mov eax, dword [0x6e42f8]
cmp dword [eax], 0
jne 0x562fb8
mov eax, dword [0x6e4410]
mov eax, dword [eax]
mov edx, dword [0x6e42f8]
mov dword [edx], eax
jmp 0x562fef
mov eax, dword [0x6e42f8]
mov eax, dword [eax]
mov edx, dword [0x6e4410]
mov dword [edx], eax
jmp 0x562fef
mov eax, dword [0x6e4410]
cmp dword [eax], 0
je 0x562fef
mov eax, dword [0x6e4410]
mov eax, dword [eax]
cmp byte [eax + 0x30], 0
jne 0x562fef
mov eax, dword [0x6e4410]
mov eax, dword [eax]
mov edx, dword [0x6e42f8]
mov dword [edx], eax
mov eax, dword [0x6e42f8]
mov eax, dword [eax]
mov edx, dword [0x6e4af8]
mov dword [edx], eax
jmp 0x56300f
mov eax, dword [0x6e4410]
mov eax, dword [eax]
mov edx, dword [0x6e4af8]
mov dword [edx], eax
cmp byte [ebp + 8], 0
je 0x563024
mov eax, dword [0x6e42cc]
mov eax, dword [eax]
mov edx, dword [0x6e4af8]
mov dword [edx], eax
mov edx, dword [0x6e4af8]
mov edx, dword [edx]
mov eax, dword [0x6ef088]
call fcn.005b124c
test al, al
jne 0x563043
mov eax, dword [0x6e4af8]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x6e4af8]
cmp dword [eax], 0
jne 0x56306c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [0x6ef088]
call fcn.005aff8c
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x563093
mov eax, dword [0x6e4af8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [0x6e4af8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [0x6e4af8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
call fcn.00572b44
test al, al
je 0x563219
mov eax, dword [ebp - 4]
call fcn.00572b00
test al, al
je 0x563219
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x6e40ec]
mov dword [edx], eax
mov eax, 0x28
call fcn.00402ff4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, 0x28
call fcn.00403bb4
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x18]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 8]
mov edx, dword [ebp - 0x20]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
add eax, 0xc8
mov edx, dword [0x6e3f84]
mov dword [edx], eax
mov eax, dword [0x6e42cc]
mov eax, dword [eax]
movzx eax, byte [eax + 0x6c]
mov edx, dword [0x6e3f84]
imul dword [edx]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x56322c]
call fcn.00403640
mov edx, dword [0x6e3f84]
sub dword [edx], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
cmp eax, 0x1f
ja case.0x563152.0
mov al, byte [eax + 0x563159]
jmp dword [eax*4 + 0x563179]
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x6e3d44]
mov dword [edx], eax
mov eax, dword [0x6e3dd8]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x6e4af8]
cmp dword [eax], 0
je 0x5631c7
mov eax, dword [0x6e4af8]
mov eax, dword [eax]
cmp byte [eax + 0x12], 0
jne 0x5631c7
mov eax, 0x44c
call fcn.0040354c
add eax, 0x12c
mov edx, dword [0x6e3dd8]
mov dword [edx], eax
mov eax, dword [0x6e4734]
cmp byte [eax + 0xf4], 0
je 0x5631e1
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 8]
call fcn.0062e13c
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
mov eax, dword [0x6e42cc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov dx, 0xbc9
call fcn.00635814
jmp 0x563219
mov edx, 0x563238
mov eax, dword [0x6ef078]
call fcn.005a68d4
mov esp, ebp
pop ebp
ret 8