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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x18], 0
jne 0x45bc74
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x18], 1
mov ecx, dword [ebp - 0x1c]
fldz
fstp dword [ecx + 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x24], 0x320
jle 0x45bca9
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x28]
push edx
call fcn.0045aee0
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.004013e0
add esp, 4
mov dword [ebp + 8], 0
xor eax, eax
jmp 0x45bebc
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x18], 0
je 0x45bd0d
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x45bcd3
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x20], edx
jmp 0x45bcdc
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x14]
add eax, 0x3e8
cmp eax, dword [ebp - 0x20]
jae 0x45bd0d
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x24]
add edx, 4
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x24], edx
mov ecx, dword [ebp - 0x1c]
fld dword [ecx + 0x20]
fadd qword [0x5e9748]
mov edx, dword [ebp - 0x1c]
fstp dword [edx + 0x20]
mov eax, dword [ebp - 0x1c]
fld dword [eax + 0x20]
fstp dword [ebp - 0xc]
mov dword [ebp - 8], 0
jmp 0x45bd28
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 3
jge 0x45beba
mov edx, dword [ebp - 0x1c]
fild dword [edx + 0x24]
push ecx
fld dword [ebp - 0xc]
fstp dword [esp]
fstp qword [ebp - 0x28]
call fcn.004a09a0
add esp, 4
fmul qword [ebp - 0x28]
fstp dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
fild dword [eax + 0x24]
push ecx
fld dword [ebp - 0xc]
fstp dword [esp]
fstp qword [ebp - 0x30]
call fcn.004a0970
add esp, 4
fmul qword [ebp - 0x30]
fstp dword [ebp - 4]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
fld dword [eax + 0x278]
fadd dword [ebp - 4]
fstp dword [ebp - 0x34]
fld dword [ebp - 0x34]
push ecx
fstp dword [esp]
mov ecx, dword [ebp + 8]
fld dword [ecx + 0x274]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0x38]
fld dword [ebp - 0x38]
push ecx
fstp dword [esp]
call fcn.0049cb80
add esp, 0x10
fld dword [ebp - 0x14]
fadd qword [0x5e85a8]
call fcn.005cbd10
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], eax
fld dword [ebp - 0x10]
fadd qword [0x5e85a8]
call fcn.005cbd10
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x34], eax
push 0
push 0
push 0x64
mov edx, dword [ebp + 8]
push edx
call fcn.00592b40
add esp, 0x10
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x24], 0
jne 0x45be4e
mov ecx, dword [ebp + 8]
add ecx, 0x2f8
push ecx
push 0
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.00593b40
add esp, 8
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x34]
push eax
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00593b40
add esp, 8
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x30]
push eax
mov edx, dword [ebp + 8]
push ecx
fld dword [edx + 0x278]
fstp dword [esp]
mov eax, dword [ebp + 8]
push ecx
fld dword [eax + 0x274]
fstp dword [esp]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
push edx
call fcn.0049a730
add esp, 0x1c
jmp 0x45be9d
cmp dword [0x6ba8f0], 1
jne 0x45be9d
mov eax, dword [ebp + 8]
add eax, 0x2f8
push eax
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
push edx
push 0xb
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.00593b40
add esp, 8
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x34]
push eax
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00593b40
add esp, 8
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x30]
push eax
call fcn.005a1d30
add esp, 0x18
fld dword [ebp - 0xc]
fadd qword [0x5e8710]
fstp dword [ebp - 0xc]
lea edx, [ebp - 0xc]
push edx
call fcn.004a08a0
add esp, 4
jmp 0x45bd1f
xor eax, eax
mov esp, ebp
pop ebp
ret