Function at 0x54b500
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 [0x54a464]
call fcn.004068ac
lea eax, [ebp - 0x8c]
mov edx, dword [0x54a464]
call fcn.004068ac
xor eax, eax
push ebp
push 0x54bde9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.0057a698
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x74]
xor edx, edx
call fcn.0057a698
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.0057a6ac
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x74]
xor edx, edx
call fcn.0057a6ac
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x60]
call fcn.0043a32c
mov ebx, eax
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x64]
call fcn.0043a32c
mov edi, eax
push 0
lea eax, [ebp - 0x104]
push eax
xor ecx, ecx
mov edx, edi
mov eax, ebx
call fcn.0057a514
mov dl, 1
mov eax, dword [0x431350]
call fcn.00437924
mov dword [ebp - 0x4c], eax
mov dl, 3
mov eax, dword [ebp - 0x4c]
call fcn.00438ee4
mov eax, dword [ebp - 0x4c]
call fcn.00437ef4
mov eax, dword [eax + 0x14]
mov edx, 0xffffff
call fcn.00432d10
mov dl, 1
mov eax, dword [0x431350]
call fcn.00437924
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.0057a514
mov eax, dword [ebp - 0x4c]
call fcn.00437ef4
lea edx, [ebp - 0x14]
call fcn.00433160
mov eax, dword [ebp - 0x4c]
call fcn.00437ef4
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.00437ef4
call fcn.0043377c
push eax
call sub.gdi32.dll_SetTextColor
mov eax, dword [ebp - 0x38]
push eax
push 0
mov eax, dword [ebp - 0x4c]
call fcn.00437ef4
call fcn.0043377c
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x34]
call fcn.00568020
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.0057a514
mov eax, dword [ebp - 0x90]
call fcn.00437ef4
lea edx, [ebp - 0x14]
call fcn.00433160
mov esi, dword [ebp - 0x80]
mov eax, esi
mov edx, dword [0x55a688]
call fcn.00404ba0
test al, al
je 0x54b7d4
mov al, byte [esi + 0x1d0]
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.0055d1d0
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x68]
xor edx, edx
call fcn.004323d0
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x190]
call fcn.0043377c
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x90]
call fcn.00437ef4
call fcn.0043377c
mov edx, eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x190]
call fcn.004337fc
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x190]
call fcn.00433218
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x90]
call fcn.0057a538
mov ecx, dword [ebp - 0x88]
test ecx, ecx
jns 0x54b782
call fcn.004048cc
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x80]
mov si, 0xffc5
call fcn.00404c10
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x190]
call fcn.00433650
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x190]
mov edx, dword [ebp - 0xec]
call fcn.004337fc
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 0xf4]
call fcn.004323d0
mov dl, byte [ebp - 0xed]
mov eax, dword [ebp - 0x80]
call fcn.0055d1d0
jmp 0x54b829
push 0
mov eax, dword [ebp - 0x90]
call fcn.00437ef4
call fcn.0043377c
push eax
call sub.gdi32.dll_SetTextColor
mov eax, dword [ebp - 0x90]
call fcn.00437ef4
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.00437ef4
call fcn.0043377c
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x84]
call fcn.00568020
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 0x54b859
adc ecx, 0
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x60]
sub edx, ebx
sar edx, 1
jns 0x54b868
adc edx, 0
add edx, dword [ebp - 0x24]
lea eax, [ebp - 0x114]
call fcn.00408244
mov ecx, dword [ebp - 0xa8]
sub ecx, edi
sar ecx, 1
jns 0x54b885
adc ecx, 0
add ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0xa4]
sub edx, ebx
sar edx, 1
jns 0x54b897
adc edx, 0
add edx, dword [ebp - 0x74]
lea eax, [ebp - 0x124]
call fcn.00408244
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.00408244
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.00408244
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.0056e9e8
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.0057a514
lea edx, [ebp - 0x134]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004b995c
xor eax, eax
mov dword [ebp - 0xc0], eax
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5a10e4]
call fcn.00474200
mov dword [ebp - 0xc4], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0xc4]
call fcn.0045e714
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0xc4]
call fcn.0045e714
push eax
call sub.user32.dll_SetWindowLongA
xor eax, eax
push ebp
push 0x54bdb5
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.0057a514
lea ecx, [ebp - 0xb0]
mov edx, edi
mov eax, ebx
call fcn.0057a648
lea eax, [ebp - 0xc8]
mov dl, 0xff
call fcn.0057af14
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 0x54ba87
push 0
mov ecx, 0x110001
mov edx, 0xa100
mov eax, dword [ebp - 0x30]
call fcn.00457aa8
mov esi, dword [ebp - 0x30]
mov eax, esi
mov edx, dword [0x452068]
call fcn.00404ba0
test al, al
je 0x54ba7d
push 0x585
push 0
push 0
mov eax, esi
call fcn.0045e714
push eax
call sub.user32.dll_RedrawWindow
jmp 0x54ba87
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x84]
call sub.KERNEL32.DLL_GetTickCount
test eax, eax
jns 0x54ba95
call fcn.004048cc
mov dword [ebp - 0xbc], eax
fild dword [ebp - 0x124]
fsubr qword [ebp - 0xd0]
fdiv dword [0x54bdf8]
fsubr qword [ebp - 0xd0]
fstp qword [ebp - 0xd0]
wait
fild dword [ebp - 0x120]
fsubr qword [ebp - 0xd8]
fdiv dword [0x54bdf8]
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 [0x54bdfc]
fmul qword [ebp - 0xe8]
fdiv qword [ebp - 0xe0]
call fcn.004039dc
push edx
push eax
call fcn.0043a270
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 [0x54be00]
fnstsw ax
sahf
jae 0x54bb82
fild dword [ebp - 0x120]
fsubr qword [ebp - 0xd8]
fabs
fcomp dword [0x54be00]
fnstsw ax
sahf
jb 0x54bca2
fld qword [ebp - 0xd0]
call fcn.004039dc
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x54bb9b
call fcn.004048cc
mov dword [ebp - 0x104], eax
fld qword [ebp - 0xd8]
call fcn.004039dc
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x54bbba
call fcn.004048cc
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.0054b3f8
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 + 0x88]
lea eax, [ebp - 0xc8]
push eax
push 0
mov eax, dword [ebp - 0xc4]
call fcn.0045e714
lea ecx, [ebp - 0xb0]
mov edx, dword [ebp - 4]
call fcn.00562ac4
cmp byte [ebp - 0xb5], 0
jne 0x54bc44
mov byte [ebp - 0xb5], 1
push 4
mov eax, dword [ebp - 0xc4]
call fcn.0045e714
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]
call fcn.00474df0
push eax
mov eax, dword [ebp - 0xc4]
call fcn.00474dd0
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc4]
call fcn.0045e714
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 0xbc]
test eax, eax
jns 0x54bc93
call fcn.004048cc
mov edx, 0xc
call fcn.0057aec8
jmp 0x54ba87
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x54bd76
mov eax, ebx
mov edx, dword [0x55a688]
call fcn.00404ba0
test al, al
je 0x54bcc7
xor edx, edx
mov eax, ebx
call fcn.00572298
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x54bd38
cmp dword [ebx + 0x30], 0
je 0x54bd38
lea ecx, [ebp - 0x154]
xor edx, edx
xor eax, eax
call fcn.0057a634
lea edx, [ebp - 0x154]
lea ecx, [ebp - 0x14c]
mov eax, ebx
call fcn.00456250
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.0045e714
mov cl, 1
xor edx, edx
call fcn.005a3f7c
mov dword [ebp - 0xc0], eax
mov dl, 1
mov eax, dword [ebp - 0x80]
call fcn.004566e0
mov ebx, dword [ebp - 0x80]
mov eax, ebx
mov edx, dword [0x559db0]
call fcn.00404ba0
test al, al
je 0x54bd62
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x90]
jmp 0x54bd6c
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x84]
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 0x54bdbc
mov eax, dword [ebp - 0xc4]
call fcn.00404a08
lea eax, [ebp - 0xc0]
call fcn.0041252c
mov eax, dword [ebp - 0x4c]
call fcn.00404a08
mov eax, dword [ebp - 0x90]
call fcn.00404a08
mov eax, dword [ebp - 4]
call fcn.00404a08
ret