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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x44c], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x44c]
mov ecx, dword [ecx + 0x18]
call fcn.00416270
test eax, eax
jne 0x415496
xor eax, eax
jmp 0x415746
push 0
mov edx, dword [ebp + 0x10]
xor eax, eax
push eax
push edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
call eax
mov ecx, dword [ebp - 0x44c]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 8]
push eax
call fcn.0047b469
add esp, 4
mov dword [ebp - 0x43c], eax
mov ecx, dword [ebp - 0x43c]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
jmp 0x4154eb
mov edx, dword [ebp - 0x44c]
mov eax, dword [edx + 0x1c]
mov ecx, dword [ebp + 0x10]
add ecx, dword [eax + 8]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0x44c]
mov eax, dword [edx + 0x1c]
mov ecx, dword [ebp + 0x10]
add ecx, dword [eax + 8]
cmp ecx, dword [ebp + 0xc]
jae 0x41568e
mov edx, dword [ebp - 0x44c]
mov eax, dword [edx + 0x1c]
cmp dword [eax + 4], 0
je 0x41551b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x44c]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x44c]
call fcn.004153b0
test eax, eax
jne 0x415562
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x440], ecx
mov edx, dword [ebp - 0x440]
push edx
call fcn.0047b474
add esp, 4
xor eax, eax
jmp 0x415746
mov eax, dword [ebp - 0x44c]
cmp dword [eax], 0
je 0x415631
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x454], ecx
mov dword [ebp - 0x450], 0
fild qword [ebp - 0x454]
fstp dword [ebp - 0x18]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x45c], edx
mov dword [ebp - 0x458], 0
fild qword [ebp - 0x45c]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x18]
fdiv dword [ebp - 0x20]
fmul qword [0x54b3f8]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x18]
mov eax, dword [ebp - 0x44c]
fdiv dword [eax + 8]
fstp dword [ebp - 0x10]
mov ecx, dword [ebp - 0x44c]
fld dword [ebp - 0x14]
fstp dword [ecx + 0xc]
fld dword [ebp - 0x10]
call fcn.00487bc0
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x44c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx + 0x10]
je 0x415631
mov ecx, dword [ebp - 0x44c]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x10], edx
fld dword [ebp - 0x14]
call fcn.00487bc0
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x54b28c
lea edx, [ebp - 0x230]
push edx
call fcn.00487ebf
add esp, 0x14
push 0x54b2bc
lea eax, [ebp - 0x230]
push eax
call fcn.00486ab7
add esp, 8
mov ecx, dword [ebp - 0x44c]
mov edx, dword [ecx + 0x1c]
cmp dword [edx + 4], 0
je 0x415689
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x44c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx]
jae 0x415672
mov eax, dword [ebp - 0x44c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx]
sub edx, dword [ebp - 8]
mov dword [ebp - 0x460], edx
jmp 0x41567c
mov dword [ebp - 0x460], 0
mov eax, dword [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4154d9
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
je 0x415729
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x44c]
call fcn.004153b0
test eax, eax
jne 0x4156df
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x444]
push ecx
call fcn.0047b474
add esp, 4
xor eax, eax
jmp 0x415746
mov edx, dword [ebp - 0x44c]
cmp dword [edx], 0
je 0x415729
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x54b2c0
lea edx, [ebp - 0x438]
push edx
call fcn.00487ebf
add esp, 0x10
push 0x54b2f0
lea eax, [ebp - 0x438]
push eax
call fcn.00486ab7
add esp, 8
mov ecx, dword [ebp - 0x44c]
fld dword [0x54b3f0]
fstp dword [ecx + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x448], edx
mov eax, dword [ebp - 0x448]
push eax
call fcn.0047b474
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret 0xc