Function at 0x54c3f8
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 [0x54b35c]
call fcn.00406768
lea eax, [ebp - 0x8c]
mov edx, dword [0x54b35c]
call fcn.00406768
xor eax, eax
push ebp
push 0x54cce1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.0057b590
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x74]
xor edx, edx
call fcn.0057b590
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.0057b5a4
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x74]
xor edx, edx
call fcn.0057b5a4
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x60]
call fcn.0043a6a0
mov ebx, eax
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x64]
call fcn.0043a6a0
mov edi, eax
push 0
lea eax, [ebp - 0x104]
push eax
xor ecx, ecx
mov edx, edi
mov eax, ebx
call fcn.0057b40c
mov dl, 1
mov eax, dword [0x4316c4]
call fcn.00437c98
mov dword [ebp - 0x4c], eax
mov dl, 3
mov eax, dword [ebp - 0x4c]
call fcn.00439258
mov eax, dword [ebp - 0x4c]
call fcn.00438268
mov eax, dword [eax + 0x14]
mov edx, 0xffffff
call fcn.00433084
mov dl, 1
mov eax, dword [0x4316c4]
call fcn.00437c98
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.0057b40c
mov eax, dword [ebp - 0x4c]
call fcn.00438268
lea edx, [ebp - 0x14]
call fcn.004334d4
mov eax, dword [ebp - 0x4c]
call fcn.00438268
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.00438268
call fcn.00433af0
push eax
call sub.gdi32.dll_SetTextColor
mov eax, dword [ebp - 0x38]
push eax
push 0
mov eax, dword [ebp - 0x4c]
call fcn.00438268
call fcn.00433af0
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x34]
call fcn.00568f18
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.0057b40c
mov eax, dword [ebp - 0x90]
call fcn.00438268
lea edx, [ebp - 0x14]
call fcn.004334d4
mov esi, dword [ebp - 0x80]
mov eax, esi
mov edx, dword [0x55b580]
call fcn.00404a3c
test al, al
je 0x54c6cc
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.0055e0c8
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x68]
xor edx, edx
call fcn.00432744
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x190]
call fcn.00433af0
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x90]
call fcn.00438268
call fcn.00433af0
mov edx, eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x190]
call fcn.00433b70
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x190]
call fcn.0043358c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x90]
call fcn.0057b430
mov ecx, dword [ebp - 0x88]
test ecx, ecx
jns 0x54c67a
call fcn.00404768
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x80]
mov si, 0xffc5
call fcn.00404aac
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x190]
call fcn.004339c4
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x190]
mov edx, dword [ebp - 0xec]
call fcn.00433b70
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 0xf4]
call fcn.00432744
mov dl, byte [ebp - 0xed]
mov eax, dword [ebp - 0x80]
call fcn.0055e0c8
jmp 0x54c721
push 0
mov eax, dword [ebp - 0x90]
call fcn.00438268
call fcn.00433af0
push eax
call sub.gdi32.dll_SetTextColor
mov eax, dword [ebp - 0x90]
call fcn.00438268
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.00438268
call fcn.00433af0
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x84]
call fcn.00568f18
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 0x54c751
adc ecx, 0
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x60]
sub edx, ebx
sar edx, 1
jns 0x54c760
adc edx, 0
add edx, dword [ebp - 0x24]
lea eax, [ebp - 0x114]
call fcn.00408100
mov ecx, dword [ebp - 0xa8]
sub ecx, edi
sar ecx, 1
jns 0x54c77d
adc ecx, 0
add ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0xa4]
sub edx, ebx
sar edx, 1
jns 0x54c78f
adc edx, 0
add edx, dword [ebp - 0x74]
lea eax, [ebp - 0x124]
call fcn.00408100
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.00408100
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.00408100
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.0056f8e0
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.0057b40c
lea edx, [ebp - 0x134]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004ba7b8
xor eax, eax
mov dword [ebp - 0xc0], eax
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5a1fdc]
call fcn.00475014
mov dword [ebp - 0xc4], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0xc4]
call fcn.0045f528
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0xc4]
call fcn.0045f528
push eax
call sub.user32.dll_SetWindowLongA
xor eax, eax
push ebp
push 0x54ccad
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.0057b40c
lea ecx, [ebp - 0xb0]
mov edx, edi
mov eax, ebx
call fcn.0057b540
lea eax, [ebp - 0xc8]
mov dl, 0xff
call fcn.0057be0c
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 0x54c97f
push 0
mov ecx, 0x110001
mov edx, 0xa100
mov eax, dword [ebp - 0x30]
call fcn.004588bc
mov esi, dword [ebp - 0x30]
mov eax, esi
mov edx, dword [0x452e7c]
call fcn.00404a3c
test al, al
je 0x54c975
push 0x585
push 0
push 0
mov eax, esi
call fcn.0045f528
push eax
call sub.user32.dll_RedrawWindow
jmp 0x54c97f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x84]
call sub.KERNEL32.DLL_GetTickCount
test eax, eax
jns 0x54c98d
call fcn.00404768
mov dword [ebp - 0xbc], eax
fild dword [ebp - 0x124]
fsubr qword [ebp - 0xd0]
fdiv dword [0x54ccf0]
fsubr qword [ebp - 0xd0]
fstp qword [ebp - 0xd0]
wait
fild dword [ebp - 0x120]
fsubr qword [ebp - 0xd8]
fdiv dword [0x54ccf0]
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 [0x54ccf4]
fmul qword [ebp - 0xe8]
fdiv qword [ebp - 0xe0]
call fcn.004039dc
push edx
push eax
call fcn.0043a5e4
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 [0x54ccf8]
fnstsw ax
sahf
jae 0x54ca7a
fild dword [ebp - 0x120]
fsubr qword [ebp - 0xd8]
fabs
fcomp dword [0x54ccf8]
fnstsw ax
sahf
jb 0x54cb9a
fld qword [ebp - 0xd0]
call fcn.004039dc
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x54ca93
call fcn.00404768
mov dword [ebp - 0x104], eax
fld qword [ebp - 0xd8]
call fcn.004039dc
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x54cab2
call fcn.00404768
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.0054c2f0
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.0045f528
lea ecx, [ebp - 0xb0]
mov edx, dword [ebp - 4]
call fcn.005639bc
cmp byte [ebp - 0xb5], 0
jne 0x54cb3c
mov byte [ebp - 0xb5], 1
push 4
mov eax, dword [ebp - 0xc4]
call fcn.0045f528
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.00475c04
push eax
mov eax, dword [ebp - 0xc4]
call fcn.00475be4
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc4]
call fcn.0045f528
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 0xbc]
test eax, eax
jns 0x54cb8b
call fcn.00404768
mov edx, 0xc
call fcn.0057bdc0
jmp 0x54c97f
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x54cc6e
mov eax, ebx
mov edx, dword [0x55b580]
call fcn.00404a3c
test al, al
je 0x54cbbf
xor edx, edx
mov eax, ebx
call fcn.00573190
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x54cc30
cmp dword [ebx + 0x30], 0
je 0x54cc30
lea ecx, [ebp - 0x154]
xor edx, edx
xor eax, eax
call fcn.0057b52c
lea edx, [ebp - 0x154]
lea ecx, [ebp - 0x14c]
mov eax, ebx
call fcn.00457064
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.0045f528
mov cl, 1
xor edx, edx
call fcn.005a4e74
mov dword [ebp - 0xc0], eax
mov dl, 1
mov eax, dword [ebp - 0x80]
call fcn.004574f4
mov ebx, dword [ebp - 0x80]
mov eax, ebx
mov edx, dword [0x55aca8]
call fcn.00404a3c
test al, al
je 0x54cc5a
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x90]
jmp 0x54cc64
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 0x54ccb4
mov eax, dword [ebp - 0xc4]
call fcn.004048a4
lea eax, [ebp - 0xc0]
call fcn.004126f4
mov eax, dword [ebp - 0x4c]
call fcn.004048a4
mov eax, dword [ebp - 0x90]
call fcn.004048a4
mov eax, dword [ebp - 4]
call fcn.004048a4
ret