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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
cmp dword [0x485dbd], 0
je 0x425fab
cmp dword [0x485db5], 0
je 0x42590d
mov dword [0x485db5], 0
mov dword [0x485e89], 0
mov dword [0x485e8d], 1
mov dword [0x485e91], 0
call fcn.00425faf
push 0x454e35
push dword [0x485b61]
call fcn.00401790
add esp, 8
cmp eax, 0
jne 0x4258f7
mov edx, dword [0x485e19]
mov eax, dword [0x485e15]
mov dword [0x485e95], eax
mov dword [0x485e99], edx
jmp 0x42590d
mov edx, dword [0x485e3d]
mov eax, dword [0x485e39]
mov dword [0x485e95], eax
mov dword [0x485e99], edx
cmp dword [0x485d0d], 0
je 0x425959
cmp dword [0x485d29], 0
je 0x425959
mov ebx, dword [0x485dcd]
call fcn.00401b07
cmp dword [0x485e8d], eax
jg 0x425959
mov ebx, dword [0x485dd5]
call fcn.00401b07
cmp dword [0x485e8d], eax
jg 0x425959
xor eax, eax
jmp 0x42595e
mov eax, 1
test eax, eax
je 0x425975
mov dword [0x485dbd], 0
jmp 0x425fab
push 0x485b61
call fcn.00419682
test eax, eax
je 0x425b34
cmp dword [0x485c01], 0
je 0x425b2f
mov ebx, dword [0x485dcd]
call fcn.0040182d
push ebx
push ecx
mov eax, dword [0x485e8d]
dec eax
jns 0x4259b6
push 4
call fcn.0043a7d3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4259c9
push 1
call fcn.0043a7d3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
push SysStringLen
push 0
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4259e6
mov eax, 0x45426f
push eax
push 1
mov ebx, 0x9dc
call fcn.0043f070
add esp, 0x10
mov dword [0x485e91], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x485e9d], eax
fild dword [0x485e9d]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [0x485ea9]
fstp qword [ebp - 0x14]
fsub qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [0x485ea1], eax
mov dword [0x485ea5], edx
fld qword [0x485ea1]
fsub qword [0x4824bb]
fcomp qword [0x4550c1]
fnstsw ax
test ah, 1
je 0x425aa6
fld qword [0x4824c3]
fdiv qword [0x485ea1]
fstp qword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [0x485ea1], eax
mov dword [0x485ea5], edx
fild dword [0x485e91]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fmul qword [0x485ea1]
fmul qword [0x485bf5]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.00402682
mov dword [0x485e91], eax
cmp dword [0x485d29], 0
je 0x425b25
fild dword [0x485d2d]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fmul qword [0x485e95]
fstp qword [ebp - 0x14]
fild dword [0x485e91]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [0x485da9]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00402682
push eax
fld qword [ebp - 0x14]
call fcn.00402682
push eax
call fcn.00414005
mov dword [0x485d2d], 0
mov dword [0x485da9], 0
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x485ea9], eax
mov dword [0x485dbd], 0
jmp 0x425f2a
mov ebx, dword [0x485dcd]
call fcn.0040182d
push ebx
push ecx
mov eax, dword [0x485e8d]
dec eax
jns 0x425b56
push 4
call fcn.0043a7d3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x425b69
push 1
call fcn.0043a7d3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
push SysStringLen
push 0
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
test eax, eax
jne 0x425b86
mov eax, 0x45426f
push eax
push 1
mov ebx, 0x9dc
call fcn.0043f070
add esp, 0x10
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fild dword [0x485e91]
fstp qword [ebp - 0x1c]
fsub qword [ebp - 0x1c]
fstp qword [ebp - 0x24]
mov ebx, dword [0x485dd5]
call fcn.0040182d
push ebx
push ecx
mov eax, dword [0x485e8d]
dec eax
jns 0x425bd6
push 4
call fcn.0043a7d3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x425be9
push 1
call fcn.0043a7d3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
push SysStringLen
push 0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
jne 0x425c06
mov eax, 0x45426f
push eax
push 1
mov ebx, 0x9dc
call fcn.0043f070
add esp, 0x10
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [0x485e89]
fstp qword [ebp - 0x3c]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x24]
fdiv qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
push 0x80000601
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 1
mov ebx, 0x60
call fcn.0043f800
add esp, 0x10
mov dword [0x485e91], eax
mov ebx, dword [0x485dcd]
call fcn.0040182d
push ebx
push ecx
mov eax, dword [0x485e8d]
dec eax
jns 0x425c81
push 4
call fcn.0043a7d3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x425c94
push 1
call fcn.0043a7d3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
mov ebx, dword [0x485dcd]
call fcn.0040182d
push ebx
push ecx
mov eax, dword [0x485e8d]
dec eax
jns 0x425cbe
push 4
call fcn.0043a7d3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x425cd1
push 1
call fcn.0043a7d3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
push SysStringLen
push 0
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x425cee
mov eax, 0x45426f
push eax
push 1
mov ebx, 0x9dc
call fcn.0043f070
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fild dword [0x485e91]
fstp qword [ebp - 0x20]
fsub qword [ebp - 0x20]
fstp qword [ebp - 0x28]
push 0x80000601
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 1
mov ebx, 0x168
call fcn.0043bf40
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x425d52
push ebx
call fcn.0043a7c7
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
inc dword [0x485e89]
mov eax, dword [0x485e91]
mov dword [ebp - 4], eax
cmp dword [0x485de9], 0
jne 0x425d84
cmp dword [0x485db9], 0
jne 0x425d84
xor eax, eax
jmp 0x425d89
mov eax, 1
test eax, eax
je 0x425eb8
cmp dword [0x485de9], 0
je 0x425ddd
push 0x454e35
push dword [0x485b61]
call fcn.00401790
add esp, 8
cmp eax, 0
jne 0x425ddd
push 0x4555ba
push dword [0x485b41]
call fcn.00401790
add esp, 8
cmp eax, 0
jne 0x425ddd
mov eax, 1
jmp 0x425de2
mov eax, 0
test eax, eax
jne 0x425e47
cmp dword [0x485de9], 0
je 0x425e36
push 0x4643f3
push dword [0x485b61]
call fcn.00401790
add esp, 8
cmp eax, 0
jne 0x425e36
push 0x4555ba
push dword [0x485b45]
call fcn.00401790
add esp, 8
cmp eax, 0
jne 0x425e36
mov eax, 1
jmp 0x425e3b
mov eax, 0
test eax, eax
jne 0x425e47
xor eax, eax
jmp 0x425e4c
mov eax, 1
test eax, eax
je 0x425e79
fild dword [0x485e91]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fmul qword [0x4824cb]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.00402682
mov dword [ebp - 4], eax
jmp 0x425eb8
cmp dword [0x485db9], 0
je 0x425e9a
cmp dword [0x485e89], 1
jle 0x425e9a
mov eax, 1
jmp 0x425e9f
mov eax, 0
test eax, eax
je 0x425eb8
mov dword [ebp - 4], 0
mov dword [0x485d0d], 0
cmp dword [0x485d0d], 0
je 0x425ed9
cmp dword [0x485d29], 0
je 0x425ed9
mov eax, 1
jmp 0x425ede
mov eax, 0
test eax, eax
je 0x425f2a
fild dword [0x485d2d]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fmul qword [0x485e95]
fstp qword [ebp - 0x14]
push dword [ebp - 4]
fld qword [ebp - 0x14]
call fcn.00402682
push eax
call fcn.004186be
mov dword [0x485d2d], 0
mov dword [0x485da9], 0
mov dword [0x485d71], 0
mov ebx, dword [0x485dd5]
call fcn.0040182d
push ebx
push ecx
mov eax, dword [0x485e8d]
dec eax
jns 0x425f4c
push 4
call fcn.0043a7d3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x425f5f
push 1
call fcn.0043a7d3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
push SysStringLen
push 0
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
test eax, eax
jne 0x425f7c
mov eax, 0x45426f
push eax
push 1
mov ebx, 0x9dc
call fcn.0043f070
add esp, 0x10
cmp dword [0x485e89], eax
jne 0x425fab
inc dword [0x485e8d]
mov dword [0x485e89], 0
mov esp, ebp
pop ebp
ret