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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
cmp dword [0x47de7f], 0
je 0x42cb2c
cmp dword [0x47de77], 0
je 0x42c447
mov dword [0x47de77], 0
mov dword [0x47df53], 0
mov dword [0x47df57], 1
mov dword [0x47df5b], 0
call fcn.0042cb30
push 0x45be18
push dword [0x47dc2f]
call fcn.0040323c
add esp, 8
cmp eax, 0
jne 0x42c431
mov edx, dword [0x47dedb]
mov eax, dword [0x47ded7]
mov dword [0x47df5f], eax
mov dword [0x47df63], edx
jmp 0x42c447
mov edx, dword [0x47deff]
mov eax, dword [0x47defb]
mov dword [0x47df5f], eax
mov dword [0x47df63], edx
cmp dword [0x47dddb], 0
je 0x42c493
cmp dword [0x47ddeb], 0
je 0x42c493
mov ebx, dword [0x47de8f]
call fcn.004035e3
cmp dword [0x47df57], eax
jg 0x42c493
mov ebx, dword [0x47de97]
call fcn.004035e3
cmp dword [0x47df57], eax
jg 0x42c493
xor eax, eax
jmp 0x42c498
mov eax, 1
test eax, eax
je 0x42c4af
mov dword [0x47de7f], 0
jmp 0x42cb2c
call fcn.0041e556
test eax, eax
je 0x42c67d
cmp dword [0x47dbbb], 0
je 0x42c678
mov ebx, dword [0x47de8f]
call fcn.00401bde
push ebx
push ecx
mov eax, dword [0x47df57]
dec eax
jns 0x42c4f5
push 0x317
push 0x40140b2
push 4
call fcn.00442f61
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x42c512
push 0x317
push 0x40140b2
push 1
call fcn.00442f61
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
test eax, eax
jne 0x42c52f
mov eax, 0x45b586
push eax
push 1
mov ebx, 0x9dc
call fcn.004451f0
add esp, 0x10
mov dword [0x47df5b], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x47df67], eax
fild dword [0x47df67]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [0x47df73]
fstp qword [ebp - 0x14]
fsub qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [0x47df6b], eax
mov dword [0x47df6f], edx
fld qword [0x47df6b]
fsub qword [0x47c2f8]
fcomp qword [0x45b418]
fnstsw ax
test ah, 1
je 0x42c5ef
fld qword [0x47c300]
fdiv qword [0x47df6b]
fstp qword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [0x47df6b], eax
mov dword [0x47df6f], edx
fild dword [0x47df5b]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fmul qword [0x47df6b]
fmul qword [0x47ddc3]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.004011c1
mov dword [0x47df5b], eax
cmp dword [0x47ddeb], 0
je 0x42c66e
fild dword [0x47df77]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fmul qword [0x47df5f]
fstp qword [ebp - 0x14]
fild dword [0x47df5b]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [0x47df7b]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.004011c1
push eax
fld qword [ebp - 0x14]
call fcn.004011c1
push eax
call fcn.0041dc20
mov dword [0x47df77], 0
mov dword [0x47df7b], 0
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x47df73], eax
mov dword [0x47de7f], 0
jmp 0x42ca97
mov ebx, dword [0x47de8f]
call fcn.00401bde
push ebx
push ecx
mov eax, dword [0x47df57]
dec eax
jns 0x42c6a9
push 0x63a
push 0x40140b2
push 4
call fcn.00442f61
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x42c6c6
push 0x63a
push 0x40140b2
push 1
call fcn.00442f61
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
test eax, eax
jne 0x42c6e3
mov eax, 0x45b586
push eax
push 1
mov ebx, 0x9dc
call fcn.004451f0
add esp, 0x10
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fild dword [0x47df5b]
fstp qword [ebp - 0x1c]
fsub qword [ebp - 0x1c]
fstp qword [ebp - 0x24]
mov ebx, dword [0x47de97]
call fcn.00401bde
push ebx
push ecx
mov eax, dword [0x47df57]
dec eax
jns 0x42c73d
push 0x675
push 0x40140b2
push 4
call fcn.00442f61
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x42c75a
push 0x675
push 0x40140b2
push 1
call fcn.00442f61
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
jne 0x42c777
mov eax, 0x45b586
push eax
push 1
mov ebx, 0x9dc
call fcn.004451f0
add esp, 0x10
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [0x47df53]
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.00444850
add esp, 0x10
mov dword [0x47df5b], eax
mov ebx, dword [0x47de8f]
call fcn.00401bde
push ebx
push ecx
mov eax, dword [0x47df57]
dec eax
jns 0x42c7fc
push 0x6a1
push 0x40140b2
push 4
call fcn.00442f61
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x42c819
push 0x6a1
push 0x40140b2
push 1
call fcn.00442f61
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
mov ebx, dword [0x47de8f]
call fcn.00401bde
push ebx
push ecx
mov eax, dword [0x47df57]
dec eax
jns 0x42c84d
push 0x6e5
push 0x40140b2
push 4
call fcn.00442f61
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x42c86a
push 0x6e5
push 0x40140b2
push 1
call fcn.00442f61
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x42c887
mov eax, 0x45b586
push eax
push 1
mov ebx, 0x9dc
call fcn.004451f0
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fild dword [0x47df5b]
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.004448e0
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 0x42c8eb
push ebx
call fcn.00442f55
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
inc dword [0x47df53]
mov eax, dword [0x47df5b]
mov dword [ebp - 4], eax
cmp dword [0x47deab], 0
jne 0x42c91d
cmp dword [0x47de7b], 0
jne 0x42c91d
xor eax, eax
jmp 0x42c922
mov eax, 1
test eax, eax
je 0x42ca51
cmp dword [0x47deab], 0
je 0x42c976
push 0x45be18
push dword [0x47dc2f]
call fcn.0040323c
add esp, 8
cmp eax, 0
jne 0x42c976
push 0x45c5f8
push dword [0x47dc0f]
call fcn.0040323c
add esp, 8
cmp eax, 0
jne 0x42c976
mov eax, 1
jmp 0x42c97b
mov eax, 0
test eax, eax
jne 0x42c9e0
cmp dword [0x47deab], 0
je 0x42c9cf
push 0x45c639
push dword [0x47dc2f]
call fcn.0040323c
add esp, 8
cmp eax, 0
jne 0x42c9cf
push 0x45c5f8
push dword [0x47dc13]
call fcn.0040323c
add esp, 8
cmp eax, 0
jne 0x42c9cf
mov eax, 1
jmp 0x42c9d4
mov eax, 0
test eax, eax
jne 0x42c9e0
xor eax, eax
jmp 0x42c9e5
mov eax, 1
test eax, eax
je 0x42ca12
fild dword [0x47df5b]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fmul qword [0x47c308]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.004011c1
mov dword [ebp - 4], eax
jmp 0x42ca51
cmp dword [0x47de7b], 0
je 0x42ca33
cmp dword [0x47df53], 1
jle 0x42ca33
mov eax, 1
jmp 0x42ca38
mov eax, 0
test eax, eax
je 0x42ca51
mov dword [ebp - 4], 0
mov dword [0x47dddb], 0
cmp dword [0x47dddb], 0
je 0x42ca72
cmp dword [0x47ddeb], 0
je 0x42ca72
mov eax, 1
jmp 0x42ca77
mov eax, 0
test eax, eax
je 0x42ca97
push dword [ebp - 4]
push dword [0x47de2f]
call fcn.0041dc20
mov dword [0x47de2f], 0
mov ebx, dword [0x47de97]
call fcn.00401bde
push ebx
push ecx
mov eax, dword [0x47df57]
dec eax
jns 0x42cac3
push 0xaaa
push 0x40140b2
push 4
call fcn.00442f61
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x42cae0
push 0xaaa
push 0x40140b2
push 1
call fcn.00442f61
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
test eax, eax
jne 0x42cafd
mov eax, 0x45b586
push eax
push 1
mov ebx, 0x9dc
call fcn.004451f0
add esp, 0x10
cmp dword [0x47df53], eax
jne 0x42cb2c
inc dword [0x47df57]
mov dword [0x47df53], 0
mov esp, ebp
pop ebp
ret