Function at 0x455320
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48928b
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x49e7c0]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e7c0]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x118]
xor edi, edi
cmp ebp, edi
mov esi, ecx
je 0x4562aa
mov eax, dword [esi + 0x130]
cmp eax, edi
je 0x455393
mov ecx, dword [esi + 0x134]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4553d8
cmp dword [0x4a0564], 2
jne 0x4553d0
cmp byte [esp + 0x11c], 0
je 0x4553d0
cmp ebp, 1
jne 0x4553bb
push edi
push 0x6b
call fcn.004164f0
add esp, 8
jmp 0x4562ac
cmp ebp, 0xffffffff
jne 0x4553d0
push edi
push 0x6c
call fcn.004164f0
add esp, 8
jmp 0x4562ac
or eax, 0xffffffff
jmp 0x4562ac
mov eax, dword [esi + 0x118]
cmp eax, edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
jne 0x4562d6
mov eax, dword [esi + 0x154]
or ebx, 0xffffffff
cmp eax, ebx
je 0x455418
mov ecx, dword [esi + 0x150]
lea edx, [ecx - 1]
cmp edx, eax
jne 0x455418
mov dword [esi + 0x150], eax
mov dword [esi + 0x154], ecx
push fcn.00401000
push 0x40ad00
push 4
push 4
lea eax, [esp + 0x70]
push eax
call fcn.0047878c
cmp dword [0x4a0634], 0
mov dword [esp + 0x110], 0
je 0x4556df
cmp byte [esp + 0x11c], 0
je 0x4556df
fldz
mov edx, dword [esi + 0x150]
xor eax, eax
fstp qword [esp + 0x34]
fld qword [0x48e088]
xor ecx, ecx
test ebp, ebp
fstp qword [esp + 0x3c]
setle cl
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0x154]
mov edi, ecx
mov ecx, dword [esi + 0x170]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + edi*8 + 0x48], edx
mov edx, dword [esi + 0x184]
mov dword [esp + edi*8 + 0x4c], eax
mov dword [esp + edi*4 + 0x58], ecx
mov ecx, esi
mov dword [esp + edi*4 + 0xf0], edx
call fcn.0044a620
cmp dword [esi + 0x150], ebx
mov byte [esp + edi + 0xf8], al
je 0x455533
cmp dword [esi + 0x148], 0
je 0x45554c
cmp dword [esi + 0x154], ebx
je 0x455629
cmp dword [esi + 0x14c], 0
jne 0x455629
lea ebx, [esi + 0x264]
mov ecx, ebx
call fcn.004476e0
test eax, eax
jbe 0x45567a
mov ecx, ebx
call fcn.0044b9b0
mov al, byte [eax + 0xcc]
mov ebx, edi
shl ebx, 5
cmp al, byte [esp + edi + 0xf8]
lea ecx, [esi + 0x264]
je 0x4555d7
call fcn.0044b9b0
mov ecx, dword [eax + 0x54]
add eax, 0x54
mov dword [esp + ebx + 0x70], ecx
mov edx, dword [eax + 4]
mov dword [esp + ebx + 0x74], edx
mov ecx, dword [eax + 8]
mov dword [esp + ebx + 0x78], ecx
mov edx, dword [eax + 0xc]
lea ecx, [esi + 0x264]
mov dword [esp + ebx + 0x7c], edx
call fcn.0044b9b0
mov ecx, dword [eax + 0x44]
add eax, 0x44
lea ebx, [esp + ebx + 0x80]
mov dword [ebx], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0xc], edx
jmp 0x45567a
call fcn.0044b9b0
mov ecx, dword [eax + 0x44]
add eax, 0x44
mov dword [esp + ebx + 0x70], ecx
mov edx, dword [eax + 4]
mov dword [esp + ebx + 0x74], edx
mov ecx, dword [eax + 8]
mov dword [esp + ebx + 0x78], ecx
mov edx, dword [eax + 0xc]
lea ecx, [esi + 0x264]
mov dword [esp + ebx + 0x7c], edx
call fcn.0044b9b0
mov ecx, dword [eax + 0x54]
add eax, 0x54
lea ebx, [esp + ebx + 0x80]
mov dword [ebx], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0xc], edx
jmp 0x45567a
lea eax, [esi + 0x148]
push eax
lea ecx, [esp + edi*8 + 0x64]
call fcn.0040b050
lea ecx, [esi + 0x14c]
push ecx
lea ecx, [esp + edi*8 + 0x68]
call fcn.0040b050
lea edx, [esp + edi*8 + 0xe0]
push edx
lea eax, [esp + edi*8 + 0xd4]
push eax
lea ecx, [esp + edi*8 + 0xc8]
push ecx
mov eax, edi
lea edx, [esp + edi*8 + 0xbc]
shl eax, 5
lea ecx, [esp + eax + 0x7c]
push edx
push ecx
mov ecx, esi
call fcn.0044aa10
cmp dword [esp + 0x60], 0
setne dl
cmp dword [esp + 0x64], 0
mov byte [esp + 0xfa], dl
setne al
cmp dword [esp + 0x68], 0
mov byte [esp + 0xfb], al
setne cl
cmp dword [esp + 0x6c], 0
mov byte [esp + 0xfc], cl
setne dl
cmp dword [esi + 0x180], 1
mov byte [esp + 0xfd], dl
jle 0x4556d8
cmp dword [esi + 0x170], 0
jle 0x4556d8
mov byte [esp + edi*2 + 0xfa], 0
mov byte [esp + edi*2 + 0xfb], 0
mov edi, dword [esp + 0x18]
or ebx, 0xffffffff
test ebp, ebp
jge 0x4559ac
mov al, byte [esp + 0x11c]
cmp al, 1
mov ecx, 2
jne 0x45576f
mov eax, dword [esi + 0x180]
cmp eax, ecx
je 0x455706
cmp eax, 3
jne 0x45571e
cmp dword [esi + 0x170], ecx
jne 0x45575e
xor ebp, ebp
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x170], 1
mov edx, dword [esi + 0x150]
lea eax, [edx + ebp]
test eax, eax
jge 0x45581c
cmp dword [esi + 0x154], ebx
je 0x4557f0
push 0
mov ecx, esi
call fcn.0044a5e0
test al, al
je 0x4557f0
xor ebp, ebp
mov edi, 1
mov dword [esi + 0x150], ebp
jmp 0x45586d
cmp dword [esi + 0x150], 0
je 0x45571e
mov dword [esi + 0x170], ecx
jmp 0x45571e
test al, al
jne 0x45571e
cmp ebp, ebx
jne 0x45571e
mov eax, dword [esi + 0x150]
sub eax, 1
jns 0x455873
cmp dword [esi + 0x154], ebx
je 0x4557ad
push 0
mov ecx, esi
call fcn.0044a5e0
test al, al
je 0x4557ad
xor ebp, ebp
mov edi, 1
mov dword [esi + 0x150], ebp
jmp 0x45586d
cmp dword [esi + 0x180], 1
je 0x4557c3
cmp dword [esi + 0x184], 2
jne 0x455873
mov ecx, esi
call fcn.0040b080
cmp eax, 2
jle 0x455873
mov ecx, esi
xor ebp, ebp
call fcn.0040b080
sub eax, 1
mov dword [esi + 0x150], eax
mov dword [esi + 0x154], ebp
jmp 0x455873
mov eax, dword [esi + 0x150]
test eax, eax
je 0x455873
neg eax
push 0
mov ecx, esi
mov dword [esi + 0x170], 1
mov ebp, eax
call fcn.0044a5e0
test al, al
je 0x455873
mov edi, 1
jmp 0x45586d
cmp dword [esi + 0x180], 1
je 0x45582d
cmp dword [esi + 0x184], ecx
jne 0x455873
push eax
mov ecx, esi
call fcn.0044a090
test al, al
je 0x455849
cmp dword [esi + 0x174], 0
je 0x455873
mov edi, 1
jmp 0x45586d
mov eax, dword [esi + 0x150]
lea ecx, [eax + ebp + 1]
push ecx
mov ecx, esi
call fcn.0044a090
test al, al
je 0x455873
cmp dword [esi + 0x17c], 0
je 0x455873
mov edi, 2
mov dword [esi + 0x154], ebx
mov edx, dword [esi + 0x150]
lea eax, [edx + ebp]
test eax, eax
jge 0x45592e
cmp byte [esp + 0x11c], 0
je 0x4558fb
mov eax, dword [0x4a0564]
cmp eax, 1
jne 0x4558c7
push 0
push 0x65
call fcn.004164f0
mov dword [esp + 0x118], ebx
add esp, 8
push fcn.00401000
push 4
mov esi, eax
push 4
lea eax, [esp + 0x6c]
push eax
call fcn.00478729
mov eax, esi
jmp 0x4562ac
cmp eax, 2
jne 0x4558fb
push 0
push 0x6c
call fcn.004164f0
add esp, 8
push fcn.00401000
push 4
push 4
lea ecx, [esp + 0x6c]
push ecx
mov esi, eax
mov dword [esp + 0x120], ebx
call fcn.00478729
mov eax, esi
jmp 0x4562ac
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
mov ecx, esi
call fcn.00452fe0
push fcn.00401000
push 4
push 4
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x120], ebx
call fcn.00478729
mov eax, 1
jmp 0x4562ac
test ebp, ebp
je 0x455cb3
cmp dword [esi + 0x184], 2
mov dword [esi + 0x150], eax
je 0x455959
cmp dword [esi + 0x180], 1
je 0x455959
mov dword [esi + 0x154], ebx
jmp 0x455cb3
test edi, edi
jne 0x455cb3
cmp byte [esp + 0x11c], 1
jne 0x45597f
lea ecx, [eax - 1]
test ecx, ecx
mov dword [esi + 0x154], ecx
jge 0x455988
add eax, 1
xor ebp, ebp
jmp 0x455982
add eax, 1
mov dword [esi + 0x154], eax
mov edi, dword [esi + 0x154]
test edi, edi
jl 0x4559a1
mov ecx, esi
call fcn.0040b080
cmp edi, eax
jl 0x455cb3
mov dword [esi + 0x154], ebx
jmp 0x455cb3
mov ecx, esi
call fcn.0044a620
test al, al
mov ebx, 2
je 0x4559c7
mov edi, 1
mov dword [esp + 0x20], edi
jmp 0x4559e9
cmp dword [esi + 0x154], 0xffffffff
jne 0x4559dc
cmp dword [esi + 0x184], ebx
mov dword [esp + 0x20], ebx
je 0x4559e4
mov dword [esp + 0x20], 0
mov edi, 1
cmp byte [esp + 0x11c], 1
jne 0x455a2f
mov eax, dword [esi + 0x180]
cmp eax, ebx
je 0x455a02
cmp eax, 3
jne 0x455a2f
cmp dword [esi + 0x170], edi
jne 0x455a18
xor ebp, ebp
mov dword [esp + 0x1c], edi
mov dword [esi + 0x170], ebx
jmp 0x455a2f
mov ecx, esi
call fcn.0040b080
sub eax, edi
cmp dword [esi + 0x150], eax
je 0x455a2f
mov dword [esi + 0x170], edi
mov eax, dword [esi + 0x154]
cmp eax, 0xffffffff
mov ecx, dword [esi + 0x150]
mov dword [esp + 0x24], ecx
je 0x455a65
lea edx, [ecx + 1]
cmp edx, eax
je 0x455a65
cmp byte [esp + 0x11c], 0
mov dword [esp + 0x24], eax
je 0x455a5f
mov ebp, edi
sub ebp, ecx
jmp 0x455a82
neg ecx
mov ebp, ecx
jmp 0x455a90
cmp dword [esi + 0x184], ebx
jne 0x455a82
cmp eax, 0xffffffff
je 0x455a82
cmp byte [esp + 0x11c], 0
je 0x455a90
mov dword [esp + 0x24], eax
mov ebp, ebx
cmp byte [esp + 0x11c], 0
jne 0x455b46
cmp ebp, edi
jne 0x455b46
cmp dword [esi + 0x180], edi
je 0x455aac
cmp dword [esi + 0x184], ebx
jne 0x455bc0
mov edi, dword [esi + 0x150]
mov ecx, esi
call fcn.0040b080
lea ecx, [edi + 1]
cmp ecx, eax
jl 0x455b01
xor ebp, ebp
cmp dword [esi + 0x154], 0xffffffff
jne 0x455ae6
mov ecx, esi
call fcn.0040b080
sub eax, 1
mov dword [esi + 0x150], eax
mov dword [esi + 0x154], ebp
jmp 0x455bc0
mov edx, dword [esi + 0x154]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x150], edx
mov dword [esi + 0x154], ebp
jmp 0x455bc0
cmp dword [esi + 0x154], 0xffffffff
jne 0x455bc0
push edi
mov ecx, esi
call fcn.0044a5e0
test al, al
jne 0x455b33
mov eax, dword [esi + 0x150]
add eax, 1
push eax
mov ecx, esi
call fcn.0044a090
test al, al
je 0x455bc0
mov ecx, dword [esi + 0x150]
xor ebp, ebp
add ecx, 1
mov dword [esi + 0x154], ecx
jmp 0x455bc0
mov edi, dword [esi + 0x150]
mov ecx, esi
lea ebx, [edi + ebp]
call fcn.0040b080
cmp ebx, eax
mov ecx, esi
jl 0x455b84
call fcn.0040b080
sub eax, 1
cmp dword [esp + 0x24], eax
je 0x455bc0
mov ecx, esi
mov dword [esi + 0x170], 2
call fcn.0040b080
mov ebp, eax
sub ebp, edi
sub ebp, 1
jmp 0x455bc0
push ebx
call fcn.0044a5e0
test al, al
je 0x455b98
mov dword [esp + 0x18], 1
jmp 0x455bb6
mov edx, dword [esi + 0x150]
lea eax, [edx + ebp + 1]
push eax
mov ecx, esi
call fcn.0044a090
test al, al
je 0x455bc0
mov dword [esp + 0x18], 2
mov dword [esi + 0x154], 0xffffffff
mov ecx, dword [esi + 0x150]
lea edi, [ecx + ebp]
mov ecx, esi
call fcn.0040b080
cmp edi, eax
jl 0x455c74
cmp byte [esp + 0x11c], 0
je 0x455c3d
mov eax, dword [0x4a0564]
cmp eax, 1
jne 0x455c1f
push 0
push 0x66
call fcn.004164f0
add esp, 8
push fcn.00401000
push 4
push 4
lea edx, [esp + 0x6c]
push edx
mov esi, eax
mov dword [esp + 0x120], 0xffffffff
call fcn.00478729
mov eax, esi
jmp 0x4562ac
cmp eax, 2
jne 0x455c3d
push 0
push 0x6b
call fcn.004164f0
mov dword [esp + 0x118], 0xffffffff
jmp 0x4558a8
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
mov ecx, esi
call fcn.00452fe0
push fcn.00401000
push 4
push 4
lea ecx, [esp + 0x6c]
push ecx
mov dword [esp + 0x120], 0xffffffff
call fcn.00478729
mov eax, 1
jmp 0x4562ac
test ebp, ebp
je 0x455ca2
cmp dword [esi + 0x184], 2
mov dword [esi + 0x150], edi
je 0x455d8d
cmp dword [esi + 0x180], 1
je 0x455d8d
mov dword [esi + 0x154], 0xffffffff
cmp dword [esp + 0x18], 0
je 0x455cb3
mov edx, dword [esp + 0x20]
mov dword [esi + 0x17c], edx
cmp dword [0x4a0634], 0
je 0x456221
mov eax, dword [esp + 0x1c]
add eax, ebp
je 0x456221
cmp byte [esp + 0x11c], 0
je 0x456221
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
add ecx, eax
xor edx, edx
test eax, eax
mov eax, dword [esi + 0x150]
setg dl
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x154]
mov edi, edx
mov edx, dword [esi + 0x170]
mov dword [esp + edi*8 + 0x48], eax
mov dword [esp + edi*8 + 0x4c], ecx
lea ebx, [esp + edi*8 + 0x48]
lea eax, [esp + edi*8 + 0x4c]
mov dword [esp + 0x1c], eax
lea eax, [edi*4]
lea ecx, [esp + 0xf4]
sub ecx, eax
mov dword [esp + eax + 0x58], edx
mov edx, dword [ecx]
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + eax + 0xf0], edx
call fcn.0044a620
lea ecx, [esp + 0xf9]
mov byte [esp + edi + 0xf8], al
sub ecx, edi
shl edi, 5
cmp byte [ecx], al
je 0x455dc3
lea eax, [esp + 0xa0]
sub eax, edi
mov edx, dword [eax]
mov dword [esp + edi + 0x70], edx
mov ecx, dword [eax + 4]
mov dword [esp + edi + 0x74], ecx
mov edx, dword [eax + 8]
mov dword [esp + edi + 0x78], edx
mov eax, dword [eax + 0xc]
mov dword [esp + edi + 0x7c], eax
lea eax, [esp + 0x90]
jmp 0x455dee
cmp dword [esp + 0x18], 0
jne 0x455ca9
add edi, 1
test edi, edi
mov dword [esi + 0x154], edi
jl 0x455db4
mov ecx, esi
call fcn.0040b080
cmp edi, eax
jl 0x455cb3
mov dword [esi + 0x154], 0xffffffff
jmp 0x455cb3
lea eax, [esp + 0x90]
sub eax, edi
mov ecx, dword [eax]
mov dword [esp + edi + 0x70], ecx
mov edx, dword [eax + 4]
mov dword [esp + edi + 0x74], edx
mov ecx, dword [eax + 8]
mov dword [esp + edi + 0x78], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + edi + 0x7c], edx
lea eax, [esp + 0xa0]
sub eax, edi
mov edx, dword [eax]
lea ecx, [esp + edi + 0x80]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ebp, [esi + 0x264]
mov ecx, ebp
mov byte [esp + 0x17], 1
xor edi, edi
call fcn.004476e0
test eax, eax
jle 0x456053
mov ebx, 1
push edi
mov ecx, ebp
call fcn.00447700
mov ecx, dword [eax]
mov eax, dword [esp + 0x2c]
imul ecx, eax
test ecx, ecx
jge 0x456039
test eax, eax
jge 0x455f5a
push edi
mov ecx, ebp
call fcn.00447700
mov ebx, dword [eax + 0x1c]
push edi
mov ecx, ebp
call fcn.00447700
cmp dword [eax + 0x20], 0xffffffff
je 0x455e73
push edi
mov ecx, ebp
call fcn.00447700
mov ebx, dword [eax + 0x20]
mov eax, dword [esi + 0x180]
cmp eax, 1
jg 0x455e8d
cmp dword [esp + 0x48], ebx
jle 0x455eb7
cmp eax, 1
jle 0x456039
push edi
mov ecx, ebp
call fcn.00447700
mov edx, dword [esp + 0x48]
cmp edx, dword [eax + 0x1c]
jne 0x456039
push edi
mov ecx, ebp
call fcn.00447700
mov ecx, dword [esp + 0x50]
cmp ecx, dword [eax + 0x24]
jne 0x456039
push edi
mov ecx, ebp
call fcn.00447700
mov edx, dword [esp + 0x48]
cmp edx, dword [eax + 0x1c]
je 0x455ed9
push edi
mov ecx, ebp
call fcn.00447700
mov ecx, dword [esp + 0x48]
cmp ecx, dword [eax + 0x20]
jne 0x455ee2
mov dword [esp + 0x20], edi
mov byte [esp + 0x17], 0
push edi
mov ecx, ebp
call fcn.00447700
mov ebx, dword [eax]
push edi
mov ecx, ebp
neg ebx
call fcn.00447700
push edi
mov ecx, ebp
mov dword [eax], ebx
call fcn.00447700
mov ebx, dword [esp + 0x44]
mov ecx, ebx
sub ecx, dword [eax + 0x18]
cmp dword [esi + 0x180], 1
jne 0x455f44
cmp dword [esp + 0xf0], 1
jne 0x455f30
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
sub edx, dword [esp + 0x74]
sub eax, dword [esp + 0x70]
cmp eax, edx
jle 0x455f4e
mov eax, dword [0x4a0628]
cmp ecx, eax
jbe 0x45602a
xor eax, eax
jmp 0x45602c
cmp dword [esp + 0xf0], 1
jne 0x455f30
mov eax, dword [0x4a0628]
cdq
sub eax, edx
sar eax, 1
jmp 0x455f35
cmp dword [esi + 0x180], ebx
jg 0x455f7f
push edi
mov ecx, ebp
call fcn.00447700
mov ecx, dword [esp + 0x50]
cmp ecx, dword [eax + 0x24]
jge 0x455fa9
cmp dword [esi + 0x180], ebx
jle 0x456039
push edi
mov ecx, ebp
call fcn.00447700
mov edx, dword [esp + 0x48]
cmp edx, dword [eax + 0x1c]
jne 0x456039
push edi
mov ecx, ebp
call fcn.00447700
mov ecx, dword [esp + 0x50]
cmp ecx, dword [eax + 0x24]
jne 0x456039
push edi
mov ecx, ebp
call fcn.00447700
mov edx, dword [esp + 0x50]
cmp edx, dword [eax + 0x24]
jne 0x455fc3
mov dword [esp + 0x20], edi
mov byte [esp + 0x17], 0
push edi
mov ecx, ebp
call fcn.00447700
mov ebx, dword [eax]
push edi
mov ecx, ebp
neg ebx
call fcn.00447700
push edi
mov ecx, ebp
mov dword [eax], ebx
call fcn.00447700
mov ebx, dword [esp + 0x44]
mov ecx, ebx
sub ecx, dword [eax + 0x18]
cmp dword [esi + 0x180], 1
jne 0x4560c0
cmp dword [esp + 0xf4], 1
jne 0x456025
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
sub eax, dword [esp + 0x94]
sub edx, dword [esp + 0x90]
cmp edx, eax
jle 0x4560ce
mov eax, dword [0x4a0628]
sub eax, ecx
push edi
mov ecx, ebp
sub ebx, eax
call fcn.00447700
mov dword [eax + 0x18], ebx
mov ebx, 1
mov ecx, ebp
add edi, ebx
call fcn.004476e0
cmp edi, eax
jl 0x455e2e
mov ebx, dword [esp + 0x24]
mov eax, dword [esi + 0x154]
cmp eax, 0xffffffff
je 0x456073
mov ecx, dword [esi + 0x150]
lea edx, [ecx - 1]
cmp edx, eax
jne 0x456073
mov dword [ebx], eax
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
mov bl, byte [esp + 0x17]
test bl, bl
je 0x4560dd
xor edi, edi
cmp dword [esi + 0x2a4], edi
je 0x45609a
push edi
push edi
push 1
mov ecx, esi
call fcn.0044d0b0
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.00451d80
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x274], eax
mov dword [esi + 0x288], edi
mov dword [esi + 0x284], edi
jmp 0x45611d
cmp dword [esp + 0xf4], 1
jne 0x456025
mov eax, dword [0x4a0628]
cdq
sub eax, edx
sar eax, 1
jmp 0x45602a
mov edi, dword [esp + 0x20]
push edi
mov ecx, ebp
call fcn.00447700
push eax
lea ecx, [esp + 0x30]
call fcn.00449d00
mov ecx, ebp
call fcn.0044b9b0
push eax
push edi
mov ecx, ebp
call fcn.00447700
mov ecx, eax
call fcn.00449d00
lea edx, [esp + 0x2c]
push edx
mov ecx, ebp
call fcn.0044b9b0
mov ecx, eax
call fcn.00449d00
mov ecx, ebp
call fcn.004476e0
cmp eax, 1
jne 0x456221
test bl, bl
je 0x456221
mov edx, dword [esi + 0x180]
xor eax, eax
cmp dword [esp + 0x28], eax
setle al
cmp edx, 1
mov ecx, dword [esp + eax*8 + 0x48]
mov dword [esi + 0x27c], ecx
mov ecx, dword [esp + eax*4 + 0x58]
mov dword [esi + 0x280], ecx
jle 0x4561ef
mov edi, dword [esi + 0x188]
test edi, edi
jne 0x456170
cmp ecx, 1
je 0x45617a
cmp edi, 1
jne 0x45619e
cmp ecx, 2
jne 0x45619e
shl eax, 5
cmp dword [0x4a062c], 0
jne 0x456192
mov edx, dword [esp + eax + 0x70]
mov dword [esi + 0x278], edx
jmp 0x456211
mov eax, dword [esp + eax + 0x74]
mov dword [esi + 0x278], eax
jmp 0x456211
cmp edx, 1
jle 0x4561ef
mov edx, dword [esi + 0x188]
cmp edx, 1
jne 0x4561b2
cmp ecx, edx
je 0x4561bb
test edx, edx
jne 0x4561ef
cmp ecx, 2
jne 0x4561ef
mov ecx, eax
shl ecx, 5
cmp dword [0x4a062c], 0
jne 0x4561dc
mov edx, dword [esp + ecx + 0x78]
sub edx, dword [esp + eax*8 + 0xb0]
mov dword [esi + 0x278], edx
jmp 0x456211
mov edx, dword [esp + ecx + 0x7c]
sub edx, dword [esp + eax*8 + 0xc0]
mov dword [esi + 0x278], edx
jmp 0x456211
shl eax, 5
cmp dword [0x4a062c], 0
jne 0x456207
mov eax, dword [esp + eax + 0x70]
mov dword [esi + 0x278], eax
jmp 0x456211
mov ecx, dword [esp + eax + 0x74]
mov dword [esi + 0x278], ecx
mov eax, dword [esi + 8]
push 0
push 0xa
push 0xe
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x178], edx
mov ecx, dword [esi + 0x148]
xor ebx, ebx
or edi, 0xffffffff
cmp ecx, ebx
je 0x456247
add dword [ecx + 4], edi
jne 0x456247
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x148], ebx
mov ecx, dword [esi + 0x14c]
cmp ecx, ebx
je 0x456264
add dword [ecx + 4], edi
jne 0x456264
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
push ebx
push ebx
push 2
mov ecx, esi
mov dword [esi + 0x14c], ebx
call fcn.0044d0b0
mov eax, dword [esi + 0x150]
add eax, 1
push eax
mov ecx, 0x4a0a68
call fcn.00469a60
mov ecx, esi
call fcn.00452fe0
push fcn.00401000
push 4
push 4
lea ecx, [esp + 0x6c]
push ecx
mov dword [esp + 0x120], edi
call fcn.00478729
xor eax, eax
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.004777ea
add esp, 0x100
ret 8
cmp eax, 1
jne 0x4562aa
cmp byte [esp + 0x11c], 0
je 0x4562fb
cmp ebp, edi
jge 0x4562f3
mov ebp, dword [esi + 0x184]
neg ebp
jmp 0x4562fb
jle 0x4562fb
mov ebp, dword [esi + 0x184]
mov edx, dword [esi + 0x150]
push edi
add edx, ebp
push edx
mov ecx, esi
call fcn.00452340
jmp 0x4562ac