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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x8c]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov esi, eax
lea edi, [ebp - 0x3c]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3c]
mov edx, dword [0x54bdf0]
call fcn.004059d0
lea eax, [ebp - 0x8c]
mov edx, dword [0x54bdf0]
call fcn.004059d0
xor eax, eax
push ebp
push 0x54d769
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.00533ffc
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x74]
xor edx, edx
call fcn.00533ffc
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.00534010
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x74]
xor edx, edx
call fcn.00534010
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x60]
call fcn.0042af60
mov ebx, eax
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x64]
call fcn.0042af60
mov edi, eax
push 0
lea eax, [ebp - 0x104]
push eax
xor ecx, ecx
mov edx, edi
mov eax, ebx
call fcn.00533e78
mov dl, 1
mov eax, dword [0x422700]
call fcn.004286fc
mov dword [ebp - 0x4c], eax
mov dl, 3
mov eax, dword [ebp - 0x4c]
call fcn.00429cdc
mov eax, dword [ebp - 0x4c]
call fcn.00428ccc
mov eax, dword [eax + 0x14]
mov edx, 0xffffff
call fcn.00423e9c
mov dl, 1
mov eax, dword [0x422700]
call fcn.004286fc
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call fcn.00533e78
mov eax, dword [ebp - 0x4c]
call fcn.00428ccc
lea edx, [ebp - 0x14]
call fcn.00424260
mov eax, dword [ebp - 0x4c]
call fcn.00428ccc
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 8]
push 0
mov eax, dword [ebp - 0x4c]
call fcn.00428ccc
call fcn.00424800
push eax
call sub.gdi32.dll_SetTextColor
mov eax, dword [ebp - 0x38]
push eax
push 0
mov eax, dword [ebp - 0x4c]
call fcn.00428ccc
call fcn.00424800
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x34]
call fcn.00524948
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xa4]
call fcn.00533e78
mov eax, dword [ebp - 0x90]
call fcn.00428ccc
lea edx, [ebp - 0x14]
call fcn.00424260
mov esi, dword [ebp - 0x80]
mov eax, esi
mov edx, dword [0x53593c]
call fcn.00403efc
test al, al
je 0x54d158
mov al, byte [esi + 0x1b8]
mov byte [ebp - 0xed], al
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xf4], eax
xor edx, edx
mov eax, esi
call fcn.005365b0
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x68]
xor edx, edx
call fcn.004236d0
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x160]
call fcn.00424800
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x90]
call fcn.00428ccc
call fcn.00424800
mov edx, eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x160]
call fcn.00424880
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x160]
call fcn.00424318
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x90]
call fcn.00533e9c
mov ecx, dword [ebp - 0x88]
test ecx, ecx
jns 0x54d106
call fcn.00403c98
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x80]
mov si, 0xffc6
call fcn.00403f6c
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x160]
call fcn.004246f8
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x160]
mov edx, dword [ebp - 0xec]
call fcn.00424880
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 0xf4]
call fcn.004236d0
mov dl, byte [ebp - 0xed]
mov eax, dword [ebp - 0x80]
call fcn.005365b0
jmp 0x54d1ad
push 0
mov eax, dword [ebp - 0x90]
call fcn.00428ccc
call fcn.00424800
push eax
call sub.gdi32.dll_SetTextColor
mov eax, dword [ebp - 0x90]
call fcn.00428ccc
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x78]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x88]
push eax
push 0
mov eax, dword [ebp - 0x90]
call fcn.00428ccc
call fcn.00424800
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x84]
call fcn.00524948
push edi
lea esi, [ebp - 0x104]
lea edi, [ebp - 0x114]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
push edi
lea esi, [ebp - 0x104]
lea edi, [ebp - 0x124]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov ecx, dword [ebp - 0x64]
sub ecx, edi
sar ecx, 1
jns 0x54d1dd
adc ecx, 0
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x60]
sub edx, ebx
sar edx, 1
jns 0x54d1ec
adc edx, 0
add edx, dword [ebp - 0x24]
lea eax, [ebp - 0x114]
call fcn.004073a0
mov ecx, dword [ebp - 0xa8]
sub ecx, edi
sar ecx, 1
jns 0x54d209
adc ecx, 0
add ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0xa4]
sub edx, ebx
sar edx, 1
jns 0x54d21b
adc edx, 0
add edx, dword [ebp - 0x74]
lea eax, [ebp - 0x124]
call fcn.004073a0
push edi
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov ecx, dword [ebp - 0x110]
neg ecx
mov edx, dword [ebp - 0x114]
neg edx
lea eax, [ebp - 0x5c]
call fcn.004073a0
push edi
lea esi, [ebp - 0x74]
lea edi, [ebp - 0xa0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov ecx, dword [ebp - 0x120]
neg ecx
mov edx, dword [ebp - 0x124]
neg edx
lea eax, [ebp - 0xa0]
call fcn.004073a0
push edi
lea esi, [ebp - 0x114]
lea edi, [ebp - 0x104]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov edx, edi
mov eax, ebx
call fcn.0052ac00
mov dword [ebp - 4], eax
push 0
push 0
lea eax, [ebp - 0x134]
push eax
xor ecx, ecx
mov edx, edi
mov eax, ebx
call fcn.00533e78
lea edx, [ebp - 0x134]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00506cc8
xor eax, eax
mov dword [ebp - 0xc0], eax
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x552fa0]
call fcn.0045da40
mov dword [ebp - 0xc4], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0xc4]
call fcn.0044b9d0
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0xc4]
call fcn.0044b9d0
push eax
call sub.user32.dll_SetWindowLongA
xor eax, eax
push ebp
push 0x54d735
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xb5], 0
fild dword [ebp - 0x104]
fstp qword [ebp - 0xd0]
wait
fild dword [ebp - 0x100]
fstp qword [ebp - 0xd8]
wait
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0x406fe000
push 0
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, edi
mov eax, ebx
call fcn.00533e78
lea ecx, [ebp - 0xb0]
mov edx, edi
mov eax, ebx
call fcn.00533fac
lea eax, [ebp - 0xc8]
mov dl, 0xff
call fcn.005347cc
mov dword [ebp - 0xb4], 0x718
mov eax, dword [ebp - 0x114]
sub eax, dword [ebp - 0x124]
cdq
xor eax, edx
sub eax, edx
imul eax
mov ecx, eax
mov eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0x120]
cdq
xor eax, edx
sub eax, edx
imul eax
add ecx, eax
mov dword [ebp - 0x138], ecx
fild dword [ebp - 0x138]
fsqrt
fstp qword [ebp - 0xe0]
wait
cmp dword [ebp - 0x30], 0
je 0x54d40b
push 0
mov ecx, 0x110001
mov edx, 0xa100
mov eax, dword [ebp - 0x30]
call fcn.0044639c
mov esi, dword [ebp - 0x30]
mov eax, esi
mov edx, dword [0x4410f8]
call fcn.00403efc
test al, al
je 0x54d401
push 0x585
push 0
push 0
mov eax, esi
call fcn.0044b9d0
push eax
call sub.user32.dll_RedrawWindow
jmp 0x54d40b
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x80]
call sub.kernel32.dll_GetTickCount
test eax, eax
jns 0x54d419
call fcn.00403c98
mov dword [ebp - 0xbc], eax
fild dword [ebp - 0x124]
fsubr qword [ebp - 0xd0]
fdiv dword [0x54d778]
fsubr qword [ebp - 0xd0]
fstp qword [ebp - 0xd0]
wait
fild dword [ebp - 0x120]
fsubr qword [ebp - 0xd8]
fdiv dword [0x54d778]
fsubr qword [ebp - 0xd8]
fstp qword [ebp - 0xd8]
wait
fild dword [ebp - 0x124]
fsubr qword [ebp - 0xd0]
fabs
fmul st(0)
fstp xword [ebp - 0x144]
wait
fild dword [ebp - 0x120]
fsubr qword [ebp - 0xd8]
fabs
fmul st(0)
fld xword [ebp - 0x144]
faddp st(1)
fsqrt
fstp qword [ebp - 0xe8]
wait
push 0
push 0xff
fld dword [0x54d77c]
fmul qword [ebp - 0xe8]
fdiv qword [ebp - 0xe0]
call fcn.00402fc4
push edx
push eax
call fcn.0042aea4
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], edx
fild qword [ebp - 0x14c]
fstp qword [ebp - 0x48]
wait
fild dword [ebp - 0x124]
fsubr qword [ebp - 0xd0]
fabs
fcomp dword [0x54d780]
fnstsw ax
sahf
jae 0x54d506
fild dword [ebp - 0x120]
fsubr qword [ebp - 0xd8]
fabs
fcomp dword [0x54d780]
fnstsw ax
sahf
jb 0x54d622
fld qword [ebp - 0xd0]
call fcn.00402fc4
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x54d51f
call fcn.00403c98
mov dword [ebp - 0x104], eax
fld qword [ebp - 0xd8]
call fcn.00402fc4
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x54d53e
call fcn.00403c98
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x104]
add eax, ebx
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x100]
add eax, edi
mov dword [ebp - 0xf8], eax
push ebp
call fcn.0054cd7c
pop ecx
push ebx
push edi
mov ecx, dword [ebp - 0x100]
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0xc4]
mov esi, dword [eax]
call dword [esi + 0x84]
lea eax, [ebp - 0xc8]
push eax
push 0
mov eax, dword [ebp - 0xc4]
call fcn.0044b9d0
lea ecx, [ebp - 0xb0]
mov edx, dword [ebp - 4]
call fcn.0051f414
cmp byte [ebp - 0xb5], 0
jne 0x54d5c8
mov byte [ebp - 0xb5], 1
push 4
mov eax, dword [ebp - 0xc4]
call fcn.0044b9d0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 0xb4]
push eax
mov eax, dword [ebp - 0xac]
push eax
mov eax, dword [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 0x40]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc4]
call fcn.0044b9d0
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 0xbc]
test eax, eax
jns 0x54d613
call fcn.00403c98
mov edx, 0xc
call fcn.00534780
jmp 0x54d40b
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x54d6f6
mov eax, ebx
mov edx, dword [0x53593c]
call fcn.00403efc
test al, al
je 0x54d647
xor edx, edx
mov eax, ebx
call fcn.00518144
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x54d6b8
cmp dword [ebx + 0x30], 0
je 0x54d6b8
lea ecx, [ebp - 0x154]
xor edx, edx
xor eax, eax
call fcn.00533f98
lea edx, [ebp - 0x154]
lea ecx, [ebp - 0x14c]
mov eax, ebx
call fcn.00444ce8
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x80]
mov eax, dword [ebx + 0x48]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x4c]
add eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x30]
call fcn.0044b9d0
mov cl, 1
xor edx, edx
call fcn.004a6fc8
mov dword [ebp - 0xc0], eax
mov dl, 1
mov eax, dword [ebp - 0x80]
call fcn.004450f0
mov ebx, dword [ebp - 0x80]
mov eax, ebx
mov edx, dword [0x53506c]
call fcn.00403efc
test al, al
je 0x54d6e2
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x8c]
jmp 0x54d6ec
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [ebp - 0x8c]
mov byte [eax + 0x34], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54d73c
mov eax, dword [ebp - 0xc4]
call fcn.00403d64
lea eax, [ebp - 0xc0]
call fcn.0040f0a8
mov eax, dword [ebp - 0x4c]
call fcn.00403d64
mov eax, dword [ebp - 0x90]
call fcn.00403d64
mov eax, dword [ebp - 4]
call fcn.00403d64
ret