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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x632b20]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x519b47
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x11c], edx
jmp 0x519b53
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x11c]
sub edx, dword [0xcda6fc]
cmp edx, 0x2710
jbe 0x519b7f
cmp dword [0x121bbdc], 3
ja 0x519b7f
mov dword [0x121bbdc], 8
jmp case.default.0x519be2
xor eax, eax
mov word [ebp - 0x118], ax
xor ecx, ecx
mov dword [ebp - 0x116], ecx
mov dword [ebp - 0x112], ecx
mov dword [ebp - 0x10e], ecx
mov word [ebp - 0x10a], cx
mov dword [ebp - 0x110], 0xffffffff
xor edx, edx
mov word [ebp - 0x10a], dx
mov byte [ebp - 0x10c], 0
mov byte [ebp - 0x10b], 4
mov eax, dword [0x121bbdc]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 9
ja case.default.0x519be2
mov ecx, dword [ebp - 0x120]
jmp dword [ecx*4 + 0x51a034]
mov dword [0xf1c0dc], 0
mov dword [0x121bbdc], 1
jmp case.default.0x519be2
mov dword [0x7d22c4], 2
cmp dword [0xf1c0dc], 5
jge 0x519c2e
call fcn.0046d480
mov edx, dword [0xf1c0dc]
add edx, 1
mov dword [0xf1c0dc], edx
jmp case.default.0x519be2
lea eax, [ebp - 0x118]
push eax
push 0
push 0x3c3c7
push 3
push 0xf0
push 0x140
call fcn.005a19f0
add esp, 0x18
call fcn.0046d480
mov dword [0x124bc98], 0
call fcn.005a0c00
push 0x10
push 0
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xc]
push edx
push 0
push 0
mov eax, dword [0x124bc9c]
mov ecx, dword [eax]
mov edx, dword [0x124bc9c]
push edx
mov eax, dword [ecx + 0x1c]
call eax
mov dword [0x124bc98], 1
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x519cb7
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x124], edx
jmp 0x519cc3
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x124], eax
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x128], 0
fild qword [ebp - 0x12c]
fstp qword [0x7d12b8]
mov dword [0x62f838], 1
mov dword [0x121bbdc], 2
jmp case.default.0x519be2
mov dword [0x7d22c4], 2
push ecx
fld dword [0x5e85e4]
fstp dword [esp]
push 0x20
push 0x11
call fcn.0059e640
add esp, 0xc
cmp eax, 1
jne 0x519d2d
mov dword [0x121bbdc], 3
jmp case.default.0x519be2
lea eax, [ebp - 0x118]
push eax
push 0
push 0x3c3c7
push 3
push 0xf0
push 0x140
call fcn.005a19f0
add esp, 0x18
jmp case.default.0x519be2
lea ecx, [ebp - 0x118]
push ecx
push 0
push 0x3c406
push 3
push 0xf0
push 0x140
call fcn.005a19f0
add esp, 0x18
lea edx, [ebp - 0x118]
push edx
push 0
push 0x3c40a
push 0xe4
mov eax, dword [0xf10f90]
imul eax, eax, 0xa
add eax, 0xf0
push eax
push 0x140
call fcn.005a19f0
add esp, 0x18
mov ecx, dword [0xf10f90]
sub ecx, 1
mov dword [0xf10f90], ecx
jne 0x519dc4
mov dword [0x121bbdc], 5
jmp case.default.0x519be2
lea edx, [ebp - 0x118]
push edx
push 0
push 0x3c406
push 3
push 0xf0
push 0x140
call fcn.005a19f0
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
push 0
push 0x3c40a
push 0xe4
push 0xf0
push 0x140
call fcn.005a19f0
add esp, 0x18
mov ecx, dword [0xf1ce2c]
and ecx, 1
jne 0x519e4a
mov edx, dword [0xf1ce2c]
and edx, 2
jne 0x519e4a
movsx eax, byte [0x7d25f5]
and eax, 2
jne 0x519e4a
movsx ecx, byte [0x7d2608]
and ecx, 2
jne 0x519e4a
movsx edx, byte [0x7d2603]
and edx, 2
je 0x519e68
push 0xf0
push 0x140
push 0x35
call fcn.005af300
add esp, 0xc
mov dword [0x121bbdc], 6
push 0x5f268c
lea eax, [ebp - 0x108]
push eax
call fcn.005cc4f5
add esp, 8
push 0
push 0
lea ecx, [ebp - 0x108]
push ecx
push 4
push 0
push 5
push 0x17c
push 0x1e
call fcn.00477f60
add esp, 0x20
push 0x5f26b4
lea edx, [ebp - 0x108]
push edx
call fcn.005cc4f5
add esp, 8
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push 0
push 0xc
push 5
push 0x1b8
push 0x190
call fcn.00477f60
add esp, 0x20
jmp case.default.0x519be2
mov dword [0x62f838], 1
call fcn.0059b290
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x519f0b
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x130], edx
jmp 0x519f17
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x130], eax
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x134], 0
fild qword [ebp - 0x138]
fstp qword [0x7d12b8]
mov dword [ebp - 0x110], 0xffffffff
xor eax, eax
mov word [ebp - 0x10a], ax
mov byte [ebp - 0x10c], 0
mov byte [ebp - 0x10b], 4
cmp dword [0x121bbdc], 8
jne 0x519f91
lea ecx, [ebp - 0x118]
push ecx
push 0
push 0x3c3c7
push 3
push 0xf0
push 0x140
call fcn.005a19f0
add esp, 0x18
mov dword [0x121bbdc], 9
jmp 0x519fe2
lea edx, [ebp - 0x118]
push edx
push 0
push 0x3c406
push 3
push 0xf0
push 0x140
call fcn.005a19f0
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
push 0
push 0x3c40a
push 0xe4
push 0xf0
push 0x140
call fcn.005a19f0
add esp, 0x18
mov dword [0x121bbdc], 7
jmp case.default.0x519be2
mov dword [0x7d22c4], 2
push ecx
fld dword [0x5e85e4]
fstp dword [esp]
push 0x20
push 0x10
call fcn.0059e640
add esp, 0xc
cmp eax, 1
jne case.default.0x519be2
cmp dword [0x121bbdc], 9
jne 0x51a019
call fcn.00519a20
jmp case.default.0x519be2
push 0xf
call fcn.00599ef0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cbcfe
mov esp, ebp
pop ebp
ret