Function at 0x44ad40
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a0b2
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4a7008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x50933c]
test al, 1
jne 0x44ada8
or eax, 1
mov dword [0x50933c], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movdqa xmmword [0x509310], xmm0
call fcn.0045f210
push 0x48d550
call fcn.0046fb6c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x509310
call fcn.0045f560
mov eax, dword [0x509334]
test al, 1
jne 0x44ae03
xorps xmm0, xmm0
or eax, 1
movdqu xmmword [0x509340], xmm0
push 0x48d560
mov dword [0x509334], eax
mov dword [0x509340], 0x496868
mov dword [0x509344], 0
mov dword [0x509348], 0
mov dword [0x50934c], 0
call fcn.0046fb6c
add esp, 4
mov ecx, 0x509340
call fcn.00448f80
mov eax, dword [0x5039c4]
test al, 1
jne 0x44ae4f
or eax, 1
mov dword [0x5039c4], eax
push 0x3c
push 0
push 0x503960
mov dword [ebp - 4], 1
call fcn.00479b40
add esp, 0xc
call fcn.0044f220
push 0x48d360
call fcn.0046fb6c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x503960]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [0x503960]
mov dword [eax + 4], eax
mov dword [0x503964], 0
cmp ecx, dword [0x503960]
je 0x44ae87
mov esi, dword [ecx]
push ecx
call fcn.0046fdb4
add esp, 4
mov ecx, esi
cmp esi, dword [0x503960]
jne 0x44ae72
mov ecx, 0x503960
call fcn.0044f4c0
mov eax, dword [0x5039c4]
mov dword [0x503994], 0
mov dword [0x503998], 0
test al, 1
jne 0x44aee7
or eax, 1
mov dword [0x5039c4], eax
push 0x3c
push 0
push 0x503960
mov dword [ebp - 4], 2
call fcn.00479b40
add esp, 0xc
call fcn.0044f220
push 0x48d360
call fcn.0046fb6c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x503960
call fcn.0044f300
mov eax, dword [0x4fc6a4]
test al, 1
jne 0x44af36
or eax, 1
mov dword [0x4fc6a4], eax
push 0x9c4c
push 0
push 0x4f2a40
mov dword [ebp - 4], 3
call fcn.00479b40
add esp, 0xc
call fcn.00447d80
push 0x48d200
call fcn.0046fb6c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, 0x4f2a4c
jmp 0x44af40
mov byte [eax], 0
add eax, 0x28
cmp eax, 0x4fc68c
jl 0x44af40
mov eax, dword [0x4f2a20]
mov dword [0x4fc688], 0
test al, 1
jne 0x44afc4
or eax, 1
mov dword [0x4f2a20], eax
mov dword [ebp - 4], 4
xorps xmm0, xmm0
push 0
movq qword [0x4f29c0], xmm0
mov dword [0x4f29c8], 0
push 0
mov dword [0x4f29c0], 0x496cf0
mov dword [0x4f29c4], 0
mov dword [0x4f29c8], 0
call fcn.004047e0
push 0x48d0e0
mov dword [0x4f29c4], eax
call fcn.0046fb6c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x4f29c0
call fcn.00458380
mov eax, dword [0x4f2a24]
test al, 1
jne 0x44b01f
xorps xmm0, xmm0
or eax, 1
movdqu xmmword [0x4f2a28], xmm0
push 0x48d1e0
mov dword [0x4f2a24], eax
mov dword [0x4f2a28], 0x496994
mov dword [0x4f2a2c], 0
mov dword [0x4f2a30], 0
mov dword [0x4f2a34], 0
call fcn.0046fb6c
add esp, 4
mov ecx, 0x4f2a28
call fcn.0044eb90
mov eax, dword [0x509320]
test al, 1
jne 0x44b07a
xorps xmm0, xmm0
or eax, 1
movdqu xmmword [0x509324], xmm0
push 0x48d4e0
mov dword [0x509320], eax
mov dword [0x509324], 0x496f3c
mov dword [0x509328], 0
mov dword [0x50932c], 0
mov dword [0x509330], 0
call fcn.0046fb6c
add esp, 4
mov ecx, 0x509324
call fcn.0045e870
mov eax, dword [0x4f29bc]
test al, 1
jne 0x44b0f1
or eax, 1
mov dword [0x4f29bc], eax
mov dword [ebp - 4], 5
xorps xmm0, xmm0
push 0
movq qword [0x4f29b0], xmm0
mov dword [0x4f29b8], 0
push 0
mov dword [0x4f29b0], 0x496d84
mov dword [0x4f29b4], 0
mov dword [0x4f29b8], 0
call fcn.004047e0
push 0x48d020
mov dword [0x4f29b4], eax
call fcn.0046fb6c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x4f29b0
call fcn.0045a570
mov ecx, 0x4f29b0
call fcn.0045a900
mov eax, dword [0x4f2998]
test al, 1
jne 0x44b172
or eax, 1
mov dword [0x4f2998], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 6
movdqa xmmword [0x4f29a0], xmm0
push 0
push 0
mov dword [0x4f29a0], 0x496cc4
mov dword [0x4f29a4], 0
mov dword [0x4f29a8], 0
call fcn.004047e0
push 0x48cf20
mov dword [0x4f29a4], eax
mov dword [0x4f29ac], 0
call fcn.0046fb6c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x4f29a0
call fcn.004574f0
mov eax, dword [0x5039d0]
test al, 1
jne 0x44b1c0
or eax, 1
mov dword [0x5039d0], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 7
movdqa xmmword [0x4fc6b0], xmm0
movdqa xmmword [0x4fc6c0], xmm0
call fcn.004522c0
push 0x48d220
call fcn.0046fb6c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x4fc6b0
call fcn.004524b0
mov eax, dword [0x5092d0]
test al, 1
jne 0x44b21b
xorps xmm0, xmm0
or eax, 1
movdqu xmmword [0x5092c0], xmm0
push 0x48d3e0
mov dword [0x5092d0], eax
mov dword [0x5092c0], 0x496ea0
mov dword [0x5092c4], 0
mov dword [0x5092c8], 0
mov dword [0x5092cc], 0
call fcn.0046fb6c
add esp, 4
mov esi, dword [0x5092c4]
mov ecx, dword [0x5092c8]
cmp esi, ecx
je 0x44b25e
jmp 0x44b230
mov eax, dword [esi]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x44b251
mov ecx, eax
call fcn.0045d480
push dword [ebp - 0x44]
call fcn.0046fdb4
mov ecx, dword [0x5092c8]
add esp, 4
add esi, 4
cmp esi, ecx
jne 0x44b230
mov esi, dword [0x5092c4]
mov ecx, 0x5092c0
mov dword [0x5092c8], esi
call fcn.0045d6b0
call fcn.0044caa0
mov eax, dword [0x4f2998]
test al, 1
jne 0x44b2e0
or eax, 1
mov dword [0x4f2998], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 8
movdqa xmmword [0x4f29a0], xmm0
push 0
push 0
mov dword [0x4f29a0], 0x496cc4
mov dword [0x4f29a4], 0
mov dword [0x4f29a8], 0
call fcn.004047e0
push 0x48cf20
mov dword [0x4f29a4], eax
mov dword [0x4f29ac], 0
call fcn.0046fb6c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4f29ac]
mov edx, str..._srcSIM_Gameplay.cpp
test eax, eax
mov dword [ebp - 0x44], eax
push 0x184
setne cl
call fcn.004665a0
add esp, 4
mov dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
push 6
push str.level1
call fcn.00403610
sub esp, 0x18
mov dword [ebp - 4], 9
mov ecx, esp
lea eax, [ebp - 0x40]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004034d0
mov eax, dword [0x4f2a24]
test al, 1
jne 0x44b39b
xorps xmm0, xmm0
or eax, 1
movdqu xmmword [0x4f2a28], xmm0
push 0x48d1e0
mov dword [0x4f2a24], eax
mov dword [0x4f2a28], 0x496994
mov dword [0x4f2a2c], 0
mov dword [0x4f2a30], 0
mov dword [0x4f2a34], 0
call fcn.0046fb6c
add esp, 4
mov ecx, 0x4f2a28
call fcn.0044ef10
test eax, eax
mov dword [edi + 0x100], eax
push 0x18f
setne cl
mov edx, str..._srcSIM_Gameplay.cpp
call fcn.004665a0
mov eax, dword [edi + 0x100]
lea ecx, [edi + 0x104]
add esp, 4
mov eax, dword [eax]
cmp ecx, eax
je 0x44b3de
push 0xffffffffffffffff
push 0
push eax
call fcn.004034d0
xorps xmm0, xmm0
mov byte [edi + 0x24], 0
movsd qword [edi + 0x30], xmm0
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [edi + 0x3c], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4980b0]
lea eax, [edi + 0x48]
push eax
movsd qword [edi + 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x44b42e
lea eax, [edi + 0x50]
mov byte [edi + 0x40], 1
push eax
call esi
xorps xmm0, xmm0
mov byte [edi + 0x94], 0
movsd qword [edi + 0xa0], xmm0
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [edi + 0xac], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4980b0]
lea eax, [edi + 0xb8]
push eax
movsd qword [edi + 0x98], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x44b48d
lea eax, [edi + 0xc0]
mov byte [edi + 0xb0], 1
push eax
call esi
mov eax, dword [0x5039fc]
mov dword [edi + 0x164], 0
mov dword [edi + 0x168], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x170], 0
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0
mov dword [edi + 0x17c], 0
mov dword [edi + 0x180], 0
mov dword [edi + 0x184], 0
test al, 1
jne 0x44b51e
push 0x7280
or eax, 1
push 0
push 0x4fc6e0
mov dword [0x5039fc], eax
call fcn.00479b40
add esp, 0xc
call fcn.004048c0
push 0x48d1f0
call fcn.0046fb6c
add esp, 4
mov ecx, 0x4fc6e0
call fcn.004049e0
mov ecx, dword [edi + 0x100]
lea eax, [ebp - 0x28]
push eax
call fcn.0040f5a0
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x48], esp
lea eax, [ebp - 0x28]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004034d0
mov byte [ebp - 4], 0xb
mov eax, dword [0x4d1b00]
test al, 1
jne 0x44b5a1
or eax, 1
mov dword [0x4d1b00], eax
push 0x54
push 0
push 0x4d15f0
mov byte [ebp - 4], 0xc
call fcn.00479b40
add esp, 0xc
call fcn.0043ee50
push 0x48cc70
call fcn.0046fb6c
add esp, 4
mov byte [ebp - 4], 0xb
mov ecx, 0x4d15f0
mov byte [ebp - 4], 0xa
call fcn.00440060
xorps xmm0, xmm0
mov byte [edi + 0x12c], 0
movsd qword [edi + 0x138], xmm0
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [edi + 0x144], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4980b0]
lea eax, [edi + 0x150]
push eax
movsd qword [edi + 0x130], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x44b60e
lea eax, [edi + 0x158]
mov byte [edi + 0x148], 1
push eax
call esi
mov ecx, edi
mov dword [edi + 0x160], 4
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
call fcn.0044b940
push 0
mov ecx, edi
call fcn.0044c7f0
mov ecx, edi
call fcn.0044bd50
cmp dword [ebp - 0x44], 0
je 0x44b6c0
mov eax, dword [0x4f2998]
test al, 1
jne 0x44b6b6
or eax, 1
mov dword [0x4f2998], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 0xd
movdqa xmmword [0x4f29a0], xmm0
push 0
push 0
mov dword [0x4f29a0], 0x496cc4
mov dword [0x4f29a4], 0
mov dword [0x4f29a8], 0
call fcn.004047e0
push 0x48cf20
mov dword [0x4f29a4], eax
mov dword [0x4f29ac], 0
call fcn.0046fb6c
add esp, 4
mov ecx, 0x4f29a0
call fcn.004570d0
cmp dword [ebp - 0x14], 0x10
jb 0x44b6d1
push dword [ebp - 0x28]
call fcn.0046fdb4
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x44b6f4
push dword [ebp - 0x40]
call fcn.0046fdb4
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f27e
mov esp, ebp
pop ebp
ret