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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov ebx, dword [0x481739]
call fcn.00407b45
mov dword [ebp - 0x10], eax
push 0x50002
push 0
push dword [0x48173d]
push 1
mov ebx, 0x44
mov eax, 0x45b9b0
call fcn.00454d60
add esp, 0x10
cmp dword [ebp - 0x10], eax
je 0x42aac3
mov ebx, dword [0x481739]
call fcn.00407b45
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x42aac3
mov dword [ebp - 8], 1
mov ebx, dword [0x481739]
call fcn.00404690
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x42a94e
push 4
call fcn.004547fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42a961
push 1
call fcn.004547fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 0x50002
push 0
push dword [0x48173d]
push 2
mov ebx, 0x78
mov eax, 0x45be20
call fcn.00454d60
add esp, 0x1c
test eax, eax
je 0x42a9a4
dec dword [ebp - 8]
cmp dword [ebp - 8], 1
jne 0x42aabb
mov ebx, dword [0x481739]
call fcn.00404690
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x42a9ce
push 4
call fcn.004547fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42a9e1
push 1
call fcn.004547fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.0042b3b4
push 0x481739
push 4
mov eax, 2
call fcn.00454ce0
add esp, 8
mov eax, dword [ebp - 4]
dec eax
jl 0x42aaa2
mov dword [ebp - 0x10], eax
mov ebx, dword [0x481739]
mov dword [ebp - 0x18], ebx
call fcn.00404690
mov dword [ebp - 0x1c], ecx
sub ecx, dword [ebp - 0x10]
jle 0x42aaa2
cmp ecx, 1
jle 0x42aa38
mov ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jle 0x42aaa2
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
sub eax, dword [ebp - 0x14]
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x42aa66
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
add edi, 8
mov eax, dword [ebp - 0x10]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x14]
shl eax, 2
mov esi, edi
add esi, eax
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x14]
rep movsd dword es:[edi], dword [esi]
sub edi, dword [ebp - 0x18]
push edi
push dword [ebp - 0x18]
call fcn.0045480c
add esp, 8
mov dword [0x481739], eax
mov eax, dword [ebp - 0x14]
jmp 0x42aaa4
xor eax, eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x48174d], eax
dec dword [ebp - 4]
jmp 0x42a91d
mov ebx, dword [0x481739]
call fcn.00407b45
mov dword [ebp - 0x10], eax
mov ebx, dword [0x481729]
call fcn.00407b45
cmp dword [ebp - 0x10], eax
jle 0x42aefa
mov ebx, dword [0x481739]
call fcn.00407b45
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
mov ebx, dword [0x481729]
call fcn.00407b45
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x42abb2
mov ebx, dword [0x481739]
call fcn.00404690
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x42ab3c
push 4
call fcn.004547fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42ab4f
push 1
call fcn.004547fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [0x481729]
call fcn.00404690
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x42ab77
push 4
call fcn.004547fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42ab8a
push 1
call fcn.004547fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], eax
jne 0x42abaa
dec dword [ebp - 8]
jmp 0x42abb2
pop eax
pop ebx
pop ecx
jmp 0x42ab0e
add esp, 0xc
cmp dword [ebp - 8], 1
jne 0x42aeed
mov ebx, dword [0x481739]
call fcn.00404690
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x42abdf
push 4
call fcn.004547fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42abf2
push 1
call fcn.004547fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 0x50002
push 0
push dword [0x48173d]
push 2
mov ebx, 0x5c
mov eax, 0x45bbe0
call fcn.00454d60
add esp, 0x1c
test eax, eax
je 0x42ad44
mov ebx, dword [0x481739]
call fcn.00404690
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x42ac52
push 4
call fcn.004547fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42ac65
push 1
call fcn.004547fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.0042b3b4
push 0x481739
push 4
mov eax, 2
call fcn.00454ce0
add esp, 8
mov eax, dword [ebp - 4]
dec eax
jl 0x42ad26
mov dword [ebp - 0x10], eax
mov ebx, dword [0x481739]
mov dword [ebp - 0x18], ebx
call fcn.00404690
mov dword [ebp - 0x1c], ecx
sub ecx, dword [ebp - 0x10]
jle 0x42ad26
cmp ecx, 1
jle 0x42acbc
mov ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jle 0x42ad26
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
sub eax, dword [ebp - 0x14]
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x42acea
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
add edi, 8
mov eax, dword [ebp - 0x10]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x14]
shl eax, 2
mov esi, edi
add esi, eax
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x14]
rep movsd dword es:[edi], dword [esi]
sub edi, dword [ebp - 0x18]
push edi
push dword [ebp - 0x18]
call fcn.0045480c
add esp, 8
mov dword [0x481739], eax
mov eax, dword [ebp - 0x14]
jmp 0x42ad28
xor eax, eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x48174d], eax
jmp 0x42aeed
mov ebx, dword [0x481739]
call fcn.00404690
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x42ad64
push 4
call fcn.004547fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42ad77
push 1
call fcn.004547fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 0x50002
push 0
push dword [0x48173d]
push 2
mov ebx, 0x78
mov eax, 0x45be20
call fcn.00454d60
add esp, 0x1c
test eax, eax
je 0x42aeed
push 0x50002
push 0
push dword [0x48173d]
push 1
mov ebx, 0x58
mov eax, 0x45bb80
call fcn.00454d60
add esp, 0x10
mov ebx, dword [0x481739]
call fcn.00404690
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x42adfb
push 4
call fcn.004547fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42ae0e
push 1
call fcn.004547fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.0042b3b4
push 0x481739
push 4
mov eax, 2
call fcn.00454ce0
add esp, 8
mov eax, dword [ebp - 4]
dec eax
jl 0x42aecf
mov dword [ebp - 0x10], eax
mov ebx, dword [0x481739]
mov dword [ebp - 0x18], ebx
call fcn.00404690
mov dword [ebp - 0x1c], ecx
sub ecx, dword [ebp - 0x10]
jle 0x42aecf
cmp ecx, 1
jle 0x42ae65
mov ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jle 0x42aecf
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
sub eax, dword [ebp - 0x14]
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x42ae93
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
add edi, 8
mov eax, dword [ebp - 0x10]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x14]
shl eax, 2
mov esi, edi
add esi, eax
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x14]
rep movsd dword es:[edi], dword [esi]
sub edi, dword [ebp - 0x18]
push edi
push dword [ebp - 0x18]
call fcn.0045480c
add esp, 8
mov dword [0x481739], eax
mov eax, dword [ebp - 0x14]
jmp 0x42aed1
xor eax, eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x48174d], eax
jmp 0x42aeed
dec dword [ebp - 4]
cmp dword [ebp - 4], 0
jg 0x42aaf3
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fild dword [0x48174d]
fstp qword [ebp - 0x20]
fsub qword [ebp - 0x20]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [0x468f81]
fcomp qword [0x4684a1]
fnstsw ax
test ah, 0x41
jne 0x42b3b0
mov ebx, dword [0x481739]
call fcn.00407b45
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x42af8e
push 0x50002
push 0
push dword [0x48173d]
push 1
mov ebx, 0x44
mov eax, 0x45b9b0
call fcn.00454d60
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jg 0x42af8e
xor eax, eax
jmp 0x42af93
mov eax, 1
test eax, eax
je 0x42b3b0
mov ebx, dword [0x481739]
call fcn.00407b45
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
mov ebx, dword [0x481729]
call fcn.00407b45
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x42b068
mov ebx, dword [0x481739]
call fcn.00404690
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x42aff2
push 4
call fcn.004547fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42b005
push 1
call fcn.004547fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [0x481729]
call fcn.00404690
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x42b02d
push 4
call fcn.004547fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42b040
push 1
call fcn.004547fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], eax
jne 0x42b060
dec dword [ebp - 8]
jmp 0x42b068
pop eax
pop ebx
pop ecx
jmp 0x42afc4
add esp, 0xc
cmp dword [ebp - 8], 1
jne 0x42b3a3
mov ebx, dword [0x481739]
call fcn.00404690
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x42b095
push 4
call fcn.004547fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42b0a8
push 1
call fcn.004547fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 0x50002
push 0
push dword [0x48173d]
push 2
mov ebx, 0x5c
mov eax, 0x45bbe0
call fcn.00454d60
add esp, 0x1c
test eax, eax
je 0x42b1fa
mov ebx, dword [0x481739]
call fcn.00404690
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x42b108
push 4
call fcn.004547fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42b11b
push 1
call fcn.004547fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.0042b3b4
push 0x481739
push 4
mov eax, 2
call fcn.00454ce0
add esp, 8
mov eax, dword [ebp - 4]
dec eax
jl 0x42b1dc
mov dword [ebp - 0x10], eax
mov ebx, dword [0x481739]
mov dword [ebp - 0x18], ebx
call fcn.00404690
mov dword [ebp - 0x1c], ecx
sub ecx, dword [ebp - 0x10]
jle 0x42b1dc
cmp ecx, 1
jle 0x42b172
mov ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jle 0x42b1dc
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
sub eax, dword [ebp - 0x14]
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x42b1a0
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
add edi, 8
mov eax, dword [ebp - 0x10]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x14]
shl eax, 2
mov esi, edi
add esi, eax
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x14]
rep movsd dword es:[edi], dword [esi]
sub edi, dword [ebp - 0x18]
push edi
push dword [ebp - 0x18]
call fcn.0045480c
add esp, 8
mov dword [0x481739], eax
mov eax, dword [ebp - 0x14]
jmp 0x42b1de
xor eax, eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x48174d], eax
jmp 0x42b3a3
mov ebx, dword [0x481739]
call fcn.00404690
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x42b21a
push 4
call fcn.004547fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42b22d
push 1
call fcn.004547fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 0x50002
push 0
push dword [0x48173d]
push 2
mov ebx, 0x78
mov eax, 0x45be20
call fcn.00454d60
add esp, 0x1c
test eax, eax
je 0x42b3a3
push 0x50002
push 0
push dword [0x48173d]
push 1
mov ebx, 0x58
mov eax, 0x45bb80
call fcn.00454d60
add esp, 0x10
mov ebx, dword [0x481739]
call fcn.00404690
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x42b2b1
push 4
call fcn.004547fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42b2c4
push 1
call fcn.004547fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.0042b3b4
push 0x481739
push 4
mov eax, 2
call fcn.00454ce0
add esp, 8
mov eax, dword [ebp - 4]
dec eax
jl 0x42b385
mov dword [ebp - 0x10], eax
mov ebx, dword [0x481739]
mov dword [ebp - 0x18], ebx
call fcn.00404690
mov dword [ebp - 0x1c], ecx
sub ecx, dword [ebp - 0x10]
jle 0x42b385
cmp ecx, 1
jle 0x42b31b
mov ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jle 0x42b385
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
sub eax, dword [ebp - 0x14]
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x42b349
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
add edi, 8
mov eax, dword [ebp - 0x10]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x14]
shl eax, 2
mov esi, edi
add esi, eax
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x14]
rep movsd dword es:[edi], dword [esi]
sub edi, dword [ebp - 0x18]
push edi
push dword [ebp - 0x18]
call fcn.0045480c
add esp, 8
mov dword [0x481739], eax
mov eax, dword [ebp - 0x14]
jmp 0x42b387
xor eax, eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x48174d], eax
jmp 0x42b3a3
dec dword [ebp - 4]
cmp dword [ebp - 4], 0
jg 0x42afa9
mov esp, ebp
pop ebp
ret