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

Disassembly:
push 0x94
mov eax, 0x1004ef74
call fcn.100335d5
mov edi, ecx
call fcn.100159ce
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea esi, [ebp - 0xa0]
mov dword [ebp - 0x24], eax
call fcn.1001420b
xor ebx, ebx
push ebx
push 0x87
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.10015f21
mov ecx, esi
call fcn.1001422d
push 5
mov ecx, esi
call fcn.1001c35c
call fcn.100019d9
push ebx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.100207dd
mov esi, eax
cmp esi, ebx
je 0x10001c13
call fcn.10015105
push eax
lea ecx, [ebp - 0x10]
call fcn.100152e5
push 0x65
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000471f
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
je 0x10001c05
push ebx
push ebx
push 0x800
push dword [esi + 4]
call dword [sym.imp.USER32.dll_AppendMenuA]
push dword [ebp - 0x10]
push 0x10
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_AppendMenuA]
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.100010b5
lea esi, [edi + 0x430]
push dword [esi]
push 1
push 0x80
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [esi]
push ebx
push 0x80
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_GetMenu]
mov byte [edi + 0x75], 1
mov byte [edi + 0x74], 1
call esi
push eax
call fcn.100207dd
push 8
push 0x801c
push dword [eax + 4]
call dword [sym.imp.USER32.dll_CheckMenuItem]
push dword [edi + 0x20]
call esi
push eax
call fcn.100207dd
push ebx
push 0x801e
push dword [eax + 4]
call dword [sym.imp.USER32.dll_CheckMenuItem]
push dword [edi + 0x20]
call esi
push eax
call fcn.100207dd
push ebx
push 0x801f
push dword [eax + 4]
call dword [sym.imp.USER32.dll_CheckMenuItem]
push dword [edi + 0x20]
call esi
push eax
call fcn.100207dd
push ebx
push 0x8020
push dword [eax + 4]
call dword [sym.imp.USER32.dll_CheckMenuItem]
push dword [edi + 0x20]
call esi
push eax
call fcn.100207dd
push ebx
push 0x8021
push dword [eax + 4]
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 3
push 3
push 0xfe
push 0x10
lea esi, [edi + 0x120]
push 0x10
mov ecx, esi
call fcn.100149cc
call fcn.100166c9
push 0xb1
call fcn.10001967
push eax
mov eax, esi
call fcn.100019a3
call fcn.100166c9
push 0xb0
call fcn.10001967
push eax
mov eax, esi
call fcn.100019a3
call fcn.100166c9
push 0x96
call fcn.10001967
push eax
mov eax, esi
call fcn.100019a3
cmp esi, ebx
jne 0x10001d34
xor esi, esi
jmp 0x10001d37
mov esi, dword [esi + 4]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0x1109
push dword [edi + 0x98]
call esi
push eax
call fcn.10014882
push 0x415
mov ecx, edi
call fcn.1001c1c5
push ebx
push ebx
push 0x14e
push dword [eax + 0x20]
call esi
push ebx
push ebx
push 0x10057d90
push ebx
lea esi, [edi + 0xcc]
push 1
mov ecx, esi
call fcn.10014452
push ebx
push ebx
push 0x10057d98
push 1
push 1
mov ecx, esi
call fcn.10014452
push ebx
push ebx
push 0x10057da4
push 2
push 1
mov ecx, esi
call fcn.10014452
push ebx
push ebx
push 0x10057db0
push 3
push 1
mov ecx, esi
call fcn.10014452
push ebx
push ebx
push 0x10057dbc
push 4
push 1
mov ecx, esi
call fcn.10014452
lea ebx, [edi + 0x360]
mov eax, dword [ebx]
push esi
push 0x83
mov ecx, ebx
call dword [eax + 0x138]
lea ecx, [edi + 0x284]
mov eax, dword [ecx]
push esi
push 0x84
call dword [eax + 0x138]
lea ecx, [edi + 0x210]
mov eax, dword [ecx]
push esi
push 0x8e
call dword [eax + 0x138]
lea ecx, [edi + 0x19c]
mov eax, dword [ecx]
push esi
push 0x8f
call dword [eax + 0x138]
lea ecx, [edi + 0x128]
mov eax, dword [ecx]
push esi
push 0x90
call dword [eax + 0x138]
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0xec]
call dword [sym.imp.USER32.dll_GetClientRect]
add dword [ebp - 0x1c], 0x1e
add dword [ebp - 0x20], 8
sub dword [ebp - 0x18], 8
sub dword [ebp - 0x14], 8
push ebx
lea eax, [ebp - 0x20]
call fcn.1000192d
lea eax, [edi + 0x284]
push eax
lea eax, [ebp - 0x20]
call fcn.1000192d
lea eax, [edi + 0x210]
push eax
lea eax, [ebp - 0x20]
call fcn.1000192d
lea eax, [edi + 0x19c]
push eax
lea eax, [ebp - 0x20]
call fcn.1000192d
lea eax, [edi + 0x128]
push eax
lea eax, [ebp - 0x20]
call fcn.1000192d
push 5
mov ecx, ebx
call fcn.1001c35c
movzx eax, byte [0x10091250]
push eax
push edi
call fcn.10003c0a
call fcn.100166c9
mov eax, dword [eax + 8]
push 0x40005
push eax
push 0xb6
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, 0x5dc
jmp 0x10001eda
call fcn.100019d9
call esi
sub eax, dword [ebp - 0x24]
cmp eax, edi
jb 0x10001ed3
lea ecx, [ebp - 0xa0]
call fcn.10019734
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.100155d0
xor eax, eax
inc eax
call fcn.100336ad
ret