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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
cmp dword [0x4943cd], 0
je 0x42f72c
cmp dword [0x4943c5], 0
je 0x42ef95
mov dword [0x4943c5], 0
mov dword [0x49449d], 0
mov dword [0x4944a1], 1
mov dword [0x4944a5], 0
call fcn.0042f730
push 0x45c962
push dword [0x494179]
call fcn.00401a8f
add esp, 8
cmp eax, 0
jne 0x42ef7f
mov edx, dword [0x494429]
mov eax, dword [0x494425]
mov dword [0x4944a9], eax
mov dword [0x4944ad], edx
jmp 0x42ef95
mov edx, dword [0x49444d]
mov eax, dword [0x494449]
mov dword [0x4944a9], eax
mov dword [0x4944ad], edx
cmp dword [0x494329], 0
je 0x42efe1
cmp dword [0x494339], 0
je 0x42efe1
mov ebx, dword [0x4943dd]
call fcn.00401e56
cmp dword [0x4944a1], eax
jg 0x42efe1
mov ebx, dword [0x4943e5]
call fcn.00401e56
cmp dword [0x4944a1], eax
jg 0x42efe1
xor eax, eax
jmp 0x42efe6
mov eax, 1
test eax, eax
je 0x42effd
mov dword [0x4943cd], 0
jmp 0x42f72c
push 0x494179
call fcn.004220a9
test eax, eax
je 0x42f1e3
cmp dword [0x4942fd], 0
je 0x42f1de
mov ebx, dword [0x4943dd]
call fcn.00401b2c
push ebx
push ecx
mov eax, dword [0x4944a1]
dec eax
jns 0x42f048
push 0x30b
push 0x4014453
push 4
call fcn.00445bf0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x42f065
push 0x30b
push 0x4014453
push 1
call fcn.00445bf0
add esp, 0xc
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 0x42f082
mov eax, 0x45b26f
push eax
push 1
mov ebx, 0x9dc
call fcn.0044a780
add esp, 0x10
mov dword [0x4944a5], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x4944b1], eax
fild dword [0x4944b1]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [0x4944bd]
fstp qword [ebp - 0x14]
fsub qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [0x4944b5], eax
mov dword [0x4944b9], edx
fld qword [0x4944b5]
fsub qword [0x490a78]
fcomp qword [0x45cb3a]
fnstsw ax
test ah, 1
je 0x42f142
fld qword [0x490a80]
fdiv qword [0x4944b5]
fstp qword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [0x4944b5], eax
mov dword [0x4944b9], edx
fild dword [0x4944a5]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fmul qword [0x4944b5]
fmul qword [0x4942f1]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.00402a49
mov dword [0x4944a5], eax
cmp dword [0x494339], 0
je 0x42f1d4
fild dword [0x4943b5]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fmul qword [0x4944a9]
fstp qword [ebp - 0x14]
fild dword [0x4944a5]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [0x4943b9]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
push 0x32
fld qword [ebp - 0x2c]
call fcn.00402a49
push eax
fld qword [ebp - 0x14]
call fcn.00402a49
push eax
call fcn.00430b06
mov dword [0x4943b5], 0
mov dword [0x4943b9], 0
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x4944bd], eax
mov dword [0x4943cd], 0
jmp 0x42f697
mov ebx, dword [0x4943dd]
call fcn.00401b2c
push ebx
push ecx
mov eax, dword [0x4944a1]
dec eax
jns 0x42f20f
push 0x638
push 0x4014453
push 4
call fcn.00445bf0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x42f22c
push 0x638
push 0x4014453
push 1
call fcn.00445bf0
add esp, 0xc
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 0x42f249
mov eax, 0x45b26f
push eax
push 1
mov ebx, 0x9dc
call fcn.0044a780
add esp, 0x10
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fild dword [0x4944a5]
fstp qword [ebp - 0x1c]
fsub qword [ebp - 0x1c]
fstp qword [ebp - 0x24]
mov ebx, dword [0x4943e5]
call fcn.00401b2c
push ebx
push ecx
mov eax, dword [0x4944a1]
dec eax
jns 0x42f2a3
push 0x673
push 0x4014453
push 4
call fcn.00445bf0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x42f2c0
push 0x673
push 0x4014453
push 1
call fcn.00445bf0
add esp, 0xc
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 0x42f2dd
mov eax, 0x45b26f
push eax
push 1
mov ebx, 0x9dc
call fcn.0044a780
add esp, 0x10
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [0x49449d]
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.0044ad30
add esp, 0x10
mov dword [0x4944a5], eax
mov ebx, dword [0x4943dd]
call fcn.00401b2c
push ebx
push ecx
mov eax, dword [0x4944a1]
dec eax
jns 0x42f362
push 0x69f
push 0x4014453
push 4
call fcn.00445bf0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x42f37f
push 0x69f
push 0x4014453
push 1
call fcn.00445bf0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
mov ebx, dword [0x4943dd]
call fcn.00401b2c
push ebx
push ecx
mov eax, dword [0x4944a1]
dec eax
jns 0x42f3b3
push 0x6e3
push 0x4014453
push 4
call fcn.00445bf0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x42f3d0
push 0x6e3
push 0x4014453
push 1
call fcn.00445bf0
add esp, 0xc
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 0x42f3ed
mov eax, 0x45b26f
push eax
push 1
mov ebx, 0x9dc
call fcn.0044a780
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fild dword [0x4944a5]
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.00447390
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 0x42f451
push ebx
call fcn.00445be4
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
inc dword [0x49449d]
mov eax, dword [0x4944a5]
mov dword [ebp - 4], eax
cmp dword [0x4943f9], 0
jne 0x42f483
cmp dword [0x4943c9], 0
jne 0x42f483
xor eax, eax
jmp 0x42f488
mov eax, 1
test eax, eax
je 0x42f5b7
cmp dword [0x4943f9], 0
je 0x42f4dc
push 0x45c962
push dword [0x494179]
call fcn.00401a8f
add esp, 8
cmp eax, 0
jne 0x42f4dc
push 0x45d13a
push dword [0x494159]
call fcn.00401a8f
add esp, 8
cmp eax, 0
jne 0x42f4dc
mov eax, 1
jmp 0x42f4e1
mov eax, 0
test eax, eax
jne 0x42f546
cmp dword [0x4943f9], 0
je 0x42f535
push 0x470fec
push dword [0x494179]
call fcn.00401a8f
add esp, 8
cmp eax, 0
jne 0x42f535
push 0x45d13a
push dword [0x49415d]
call fcn.00401a8f
add esp, 8
cmp eax, 0
jne 0x42f535
mov eax, 1
jmp 0x42f53a
mov eax, 0
test eax, eax
jne 0x42f546
xor eax, eax
jmp 0x42f54b
mov eax, 1
test eax, eax
je 0x42f578
fild dword [0x4944a5]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fmul qword [0x490a88]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.00402a49
mov dword [ebp - 4], eax
jmp 0x42f5b7
cmp dword [0x4943c9], 0
je 0x42f599
cmp dword [0x49449d], 1
jle 0x42f599
mov eax, 1
jmp 0x42f59e
mov eax, 0
test eax, eax
je 0x42f5b7
mov dword [ebp - 4], 0
mov dword [0x494329], 0
cmp dword [0x494329], 0
je 0x42f5d8
cmp dword [0x494339], 0
je 0x42f5d8
mov eax, 1
jmp 0x42f5dd
mov eax, 0
test eax, eax
je 0x42f697
cmp dword [0x4943b5], 0
jne 0x42f62c
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push dword [0x49437d]
call fcn.00420f3a
jmp 0x42f679
fild dword [0x4943b5]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fmul qword [0x4944a9]
fstp qword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
fld qword [ebp - 0x14]
call fcn.00402a49
push eax
call fcn.00420f3a
mov dword [0x4943b5], 0
mov dword [0x4943b9], 0
mov dword [0x49437d], 0
mov ebx, dword [0x4943e5]
call fcn.00401b2c
push ebx
push ecx
mov eax, dword [0x4944a1]
dec eax
jns 0x42f6c3
push 0xb3a
push 0x4014453
push 4
call fcn.00445bf0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x42f6e0
push 0xb3a
push 0x4014453
push 1
call fcn.00445bf0
add esp, 0xc
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 0x42f6fd
mov eax, 0x45b26f
push eax
push 1
mov ebx, 0x9dc
call fcn.0044a780
add esp, 0x10
cmp dword [0x49449d], eax
jne 0x42f72c
inc dword [0x4944a1]
mov dword [0x49449d], 0
mov esp, ebp
pop ebp
ret