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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push 0x10c
push 2
call fcn.004010b0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45d3a5
xor eax, eax
jmp 0x45d62c
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 0x45d100
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x2a8], edx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x2b0], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x2b8], edx
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x15], 0xa
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x24], 0x200034
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x20]
call fcn.005b7340
mov eax, dword [ebp - 0xc]
add eax, 0x200
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x54]
mov al, byte [ebp - 0x14]
mov byte [edx + 0xc], al
lea ecx, [ebp - 0x20]
call fcn.005b7380
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x30]
call fcn.005b7340
mov edx, dword [ebp - 0xc]
add edx, 0x210
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x28]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x58]
mov dl, byte [ebp - 0x24]
mov byte [ecx + 0xc], dl
lea ecx, [ebp - 0x30]
call fcn.005b7380
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov word [ecx + 0x270], ax
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x40]
call fcn.005b7340
mov eax, dword [ebp - 0xc]
add eax, 0x1e0
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x5c]
mov al, byte [ebp - 0x34]
mov byte [edx + 0xc], al
lea ecx, [ebp - 0x40]
call fcn.005b7380
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x50]
call fcn.005b7340
mov edx, dword [ebp - 0xc]
add edx, 0x1f0
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x48]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x60]
mov dl, byte [ebp - 0x44]
mov byte [ecx + 0xc], dl
lea ecx, [ebp - 0x50]
call fcn.005b7380
fild dword [ebp + 0xc]
fmul qword [0x5e96e8]
mov eax, dword [ebp - 0xc]
fstp dword [eax + 0x274]
fild dword [ebp + 0x10]
fmul qword [0x5e96e8]
mov ecx, dword [ebp - 0xc]
fstp dword [ecx + 0x278]
mov edx, dword [ebp - 0xc]
fldz
fstp dword [edx + 0x27c]
mov eax, dword [ebp - 0xc]
fldz
fstp dword [eax + 0x280]
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push ecx
fld dword [eax + 0x278]
fstp dword [esp]
mov ecx, dword [ebp - 0xc]
push ecx
fld dword [ecx + 0x274]
fstp dword [esp]
call fcn.0049cb80
add esp, 0x10
fld dword [ebp - 8]
fadd qword [0x5e85a8]
call fcn.005cbd10
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x30], eax
fld dword [ebp - 4]
fadd qword [0x5e85a8]
call fcn.005cbd10
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dx, word [ebp + 0x18]
mov word [ecx], dx
mov eax, dword [ebp - 0x10]
mov cx, word [ebp + 0x1c]
mov word [eax + 2], cx
mov edx, dword [ebp - 0x10]
add edx, 2
push edx
call fcn.0045b210
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx + 2]
mov word [eax + 4], dx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov word [ecx + 6], ax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x45d5e8
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x64], edx
jmp 0x45d5f1
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x64]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x10]
fldz
fstp dword [eax + 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x20]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret