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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x28]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
mov edx, dword [0x467964]
call fcn.00405cfc
xor eax, eax
push ebp
push 0x4f4a5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
movzx eax, word [eax + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x288], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
mov edx, dword [ebp - 4]
mov dword [edx + 0x28c], eax
cmp word [ebp - 0x28], 0x1b
jne 0x4f4628
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 0
jne 0x4f49e0
movzx eax, word [ebp - 0x28]
add eax, 0xfffffffa
cmp eax, 0x15
ja case.0x4f4647.6
mov al, byte [eax + 0x4f464e]
jmp dword [eax*4 + 0x4f4664]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
test byte [eax + 0x24], 0xff
je 0x4f4693
mov eax, dword [ebp - 4]
mov byte [eax + 0x1a0], 1
jmp case.0x4f4647.6
mov eax, dword [ebp - 4]
mov byte [eax + 0x1a0], 1
cmp word [ebp - 0x28], 0x17
jne 0x4f46a9
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [0x529bec]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
jne 0x4f48d8
cmp word [ebp - 0x28], 0xbc3
jne 0x4f46db
mov eax, dword [0x529ad8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.004edccc
test al, al
je 0x4f4a42
cmp word [ebp - 0x28], 0xbc5
jne 0x4f4715
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [0x529bec]
mov eax, dword [eax]
movzx ecx, word [eax + 0xa]
mov eax, dword [0x529bec]
mov eax, dword [eax]
movzx edx, word [eax + 8]
mov eax, dword [0x529ad8]
mov eax, dword [eax]
call fcn.004edc18
test al, al
je 0x4f4a42
movzx eax, word [ebp - 0x28]
add eax, 0xfffff443
cmp eax, 0x18
ja case.0x4f472d.3005
mov al, byte [eax + 0x4f4734]
jmp dword [eax*4 + 0x4f474d]
mov eax, dword [ebp - 4]
add eax, 0x298
lea edx, [ebp - 0x28]
mov ecx, dword [0x467964]
call fcn.00405e1c
movzx eax, word [ebp - 0x28]
add eax, 0xfffff43f
cmp eax, 0x14
ja case.0x4f478b.3009
mov al, byte [eax + 0x4f4792]
jmp dword [eax*4 + 0x4f47a7]
mov word [ebp - 0x28], 0xd
jmp case.0x4f472d.3005
mov word [ebp - 0x28], 0x23
jmp case.0x4f472d.3005
mov word [ebp - 0x28], 0x24
jmp case.0x4f472d.3005
mov word [ebp - 0x28], 0x25
jmp case.0x4f472d.3005
mov word [ebp - 0x28], 0x26
jmp case.0x4f472d.3005
sub word [ebp - 0x28], 0xbb8
jmp case.0x4f472d.3005
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
je 0x4f4839
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x12c], eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0xa]
mov edx, dword [ebp - 4]
mov dword [edx + 0x130], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov dword [edx + 0x134], eax
mov eax, dword [ebp - 4]
add eax, 0x298
lea edx, [ebp - 0x28]
mov ecx, dword [0x467964]
call fcn.00405e1c
mov word [ebp - 0x28], 0xa97
jmp case.0x4f472d.3005
mov eax, dword [ebp - 4]
add eax, 0x298
lea edx, [ebp - 0x28]
mov ecx, dword [0x467964]
call fcn.00405e1c
mov word [ebp - 0x28], 8
jmp case.0x4f472d.3005
mov eax, dword [ebp - 4]
add eax, 0x298
lea edx, [ebp - 0x28]
mov ecx, dword [0x467964]
call fcn.00405e1c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 4]
mov edx, dword [ebp - 4]
mov word [edx + 0x29a], ax
sub word [ebp - 0x28], 0xbb8
mov eax, dword [ebp - 4]
movzx eax, word [eax + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x27c], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
mov edx, dword [ebp - 4]
mov dword [edx + 0x280], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x284], eax
mov ax, word [ebp - 0x28]
sub ax, 0x11
je 0x4f4948
sub ax, 0xe
jne 0x4f49a6
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1dc], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x50]
lea eax, [eax + eax*4]
mov edx, 0xc8
sub edx, eax
mov dword [ebp - 0x2c], edx
fild dword [ebp - 0x2c]
call fcn.00403404
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x50
jle 0x4f492b
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x25c], eax
jmp 0x4f4938
mov eax, dword [ebp - 4]
mov dword [eax + 0x25c], 0x50
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x1d0], eax
jmp 0x4f49c5
mov al, byte [ebp - 0x26]
mov edx, dword [ebp - 4]
mov byte [edx + 0x10], al
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4f49c5
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov esi, eax
lea edi, [edx + 0x178]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
mov dword [eax + 0x178], 0xffffffff
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18c], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
mov dword [edx + 0x190], eax
mov edx, 0x24
mov eax, dword [ebp - 0xc]
call fcn.00402f24
jmp 0x4f49c5
mov ax, word [ebp - 0x24]
mov edx, dword [ebp - 4]
mov word [edx + 8], ax
mov ax, word [ebp - 0x20]
mov edx, dword [ebp - 4]
mov word [edx + 0xa], ax
mov al, byte [ebp - 0x26]
mov edx, dword [ebp - 4]
mov byte [edx + 0x10], al
movzx eax, word [ebp - 0x28]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1b4], eax
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00404400
jmp 0x4f4a07
cmp word [ebp - 0x28], 0x21
jne 0x4f4a07
movzx eax, word [ebp - 0x28]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1b4], eax
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00404400
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 1
cmp word [ebp - 0x28], 0x20
je 0x4f4a15
cmp word [ebp - 0x28], 0x22
jne 0x4f4a36
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [0x529ad8]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.004ee448
mov eax, dword [ebp - 4]
mov si, 0xfff9
call fcn.00404400
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4a65
lea eax, [ebp - 0x28]
mov edx, dword [0x467964]
call fcn.00405bb8
ret