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

Disassembly:
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x18019e008]
xor rax, rsp
mov qword [rbp - 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x180208930]
cmp eax, 0x3e8
jbe 0x18009ee89
movabs rax, 0x991251afc3981f84
mov qword [rsp + 0x138], r14
xor r14d, r14d
mov qword [0x1802008b8], rax
mov dword [0x1801b79b0], r14d
mov dword [0x1801b79c0], r14d
call fcn.1800ba210
cmp dword [rax], r14d
jne 0x18009ee75
movabs rax, 0xd3c2e180a40f031e
mov dword [0x1801b79b0], r14d
mov qword [0x1802008b8], rax
mov dword [0x1801b79c0], r14d
call fcn.1800ba210
cmp dword [rax], r14d
jne 0x18009ee75
movabs rax, 0x41ca5a33160ea4ab
mov dword [0x1801b79b0], r14d
mov qword [0x1802008b8], rax
mov dword [0x1801b79c0], r14d
call fcn.1800ba210
cmp dword [rax], r14d
jne 0x18009ee75
call fcn.1800656d0
test eax, eax
jne 0x18009ee75
mov qword [rsp + 0x160], rbx
mov qword [rsp + 0x168], rsi
mov qword [rsp + 0x170], rdi
mov qword [rsp + 0x148], r12
mov qword [rsp + 0x140], r13
mov qword [rsp + 0x130], r15
movaps xmmword [rsp + 0x110], xmm7
movaps xmmword [rsp + 0x100], xmm8
movaps xmmword [rsp + 0xf0], xmm9
movaps xmmword [rsp + 0xe0], xmm10
call fcn.180063b00
mov qword [rsp + 0x50], r14
movabs r12, 0x3fef770d40960d5a
mov dword [rsp + 0x50], eax
mov esi, eax
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x50], r14
mov qword [0x1801b7a88], rcx
mov dword [rsp + 0x50], r14d
mov rcx, qword [rsp + 0x50]
mov qword [0x1801b7a90], rcx
mov dword [0x1801b79c0], r14d
mov qword [0x1802008b8], r12
mov dword [0x1801b79b0], 2
call fcn.1800ba210
movss xmm7, dword [0x180180008]
mov ebx, r14d
movabs r15, 0xd24d37cc275948cc
movaps xmmword [rsp + 0x120], xmm6
movabs r13, 0xb736a491e64a32cf
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
lea rax, str.p_cablecar_s_door_r
mov qword [rbp - 0x80], rax
lea rax, str.p_cablecar_s_door_l
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rax, str.p_cablecar_s
mov qword [rbp - 0x68], rax
lea rax, str.prop_rub_cage01a
mov qword [rbp - 0x60], rax
lea rax, str.prop_gold_cont_01
mov qword [rbp - 0x58], rax
lea rax, str.prop_gold_cont_01b
mov qword [rbp - 0x50], rax
lea rax, str.prop_dog_cage_01
movups xmmword [rsp + 0x60], xmm0
mov qword [rbp - 0x48], rax
lea rax, str.prop_dog_cage_02
movss xmm9, dword [rsp + 0x68]
movss xmm10, dword [rsp + 0x60]
movsd qword [rsp + 0x70], xmm1
movss xmm8, dword [rsp + 0x70]
mov qword [rbp - 0x40], rax
nop dword [rax]
mov rdi, qword [rbp + rbx*8 - 0x80]
mov qword [0x1801b7a88], rdi
mov dword [0x1801b79c0], r14d
mov qword [0x1802008b8], r15
mov dword [0x1801b79b0], 1
call fcn.1800ba210
mov dword [rsp + 0x38], r14d
movaps xmm3, xmm8
movaps xmm2, xmm9
movaps xmm1, xmm10
mov ecx, dword [rax]
mov dword [rsp + 0x28], ecx
movss dword [rsp + 0x20], xmm7
call fcn.1800a4ac0
mov ecx, eax
mov dword [rsp + 0x50], eax
call fcn.180063b30
test eax, eax
je 0x18009ee0d
xor edx, edx
mov ecx, esi
call fcn.180064240
test eax, eax
jne 0x18009ee0d
mov ecx, dword [rsp + 0x50]
lea r8d, [rax + 1]
xor edx, edx
call fcn.180064090
mov ecx, dword [rsp + 0x50]
xor edx, edx
lea r8d, [rdx + 1]
call fcn.1800641d0
mov ecx, dword [rsp + 0x50]
xor edx, edx
call fcn.180064160
mov eax, dword [rsp + 0x50]
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], r14
mov qword [0x1801b7a88], rax
mov dword [rsp + 0x58], r14d
mov rax, qword [rsp + 0x58]
mov qword [0x1801b7a90], rax
mov dword [0x1801b79c0], r14d
mov qword [0x1802008b8], r12
mov dword [0x1801b79b0], 2
call fcn.1800ba210
mov rcx, rdi
movsd xmm1, qword [rax + 0x10]
movups xmm6, xmmword [rax]
movsd qword [rsp + 0x70], xmm1
call fcn.180064c20
mov ecx, eax
call fcn.180064e90
mov ecx, dword [rsp + 0x50]
call fcn.1800a7490
lea rax, [rsp + 0x50]
mov dword [0x1801b79c0], r14d
mov qword [0x1801b7a88], rax
mov qword [0x1802008b8], r13
mov dword [0x1801b79b0], 1
call fcn.1800ba210
movabs rax, 0xae3cbe5bf394c9c9
mov dword [0x1801b79c0], r14d
mov qword [0x1802008b8], rax
lea rax, [rsp + 0x50]
mov qword [0x1801b7a88], rax
mov dword [0x1801b79b0], 1
call fcn.1800ba210
movss xmm3, dword [rsp + 0x70]
movaps xmm2, xmm6
shufps xmm2, xmm6, 0xaa
movaps xmm1, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.1800a4da0
lea rcx, str.rCage_got_deleted_
call fcn.1800bccc0
inc rbx
cmp rbx, 9
jl 0x18009ec80
movaps xmm10, xmmword [rsp + 0xe0]
movaps xmm9, xmmword [rsp + 0xf0]
movaps xmm8, xmmword [rsp + 0x100]
movaps xmm7, xmmword [rsp + 0x110]
movaps xmm6, xmmword [rsp + 0x120]
mov r15, qword [rsp + 0x130]
mov r13, qword [rsp + 0x140]
mov r12, qword [rsp + 0x148]
mov rdi, qword [rsp + 0x170]
mov rsi, qword [rsp + 0x168]
mov rbx, qword [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14, qword [rsp + 0x138]
mov dword [0x180208930], eax
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.1800e99a0
add rsp, 0x150
pop rbp
ret