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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467d3c
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
push ebx
push esi
push edi
mov eax, dword [0x48700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
lea eax, [esi + 0x10]
mov dword [ebp - 0x1c], eax
je 0x4526cb
mov eax, dword [edi + 0x238]
or eax, dword [edi + 0x23c]
jne 0x452413
call fcn.0044fed0
xorps xmm0, xmm0
push 1
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
cmp dword [0x48b398], 0
mov dword [ebp - 0x20], eax
jne 0x452504
cmp dword [0x48b39c], 0
jne 0x452504
push 0x48b398
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x452504
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x476fd0]
mulsd xmm0, qword [0x476f78]
call fcn.00462a20
mov bl, byte [0x48b173]
lea ecx, [ebp - 0xe8]
sub esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call fcn.00402c10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xe8]
mov eax, dword [ebp - 0xe8]
push 0
push 0
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov byte [ebp - 0x37], bl
mov dword [ebp - 0x30], 4
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], 1
push 0x47538c
push eax
call fcn.00403720
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.0042c650
jmp 0x452630
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xor esi, esi
nop dword [eax]
lea eax, [ebp - 0x28]
push eax
call ebx
test eax, eax
jne 0x4525ed
cmp esi, 0xa
je 0x45253a
inc esi
cmp esi, 0xa
jle 0x452510
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
jmp 0x45262d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x476fd0]
mulsd xmm0, qword [0x476f78]
call fcn.00462a20
mov bl, byte [0x48b173]
lea ecx, [ebp - 0x1a8]
sub esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call fcn.00402c10
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1a8]
mov eax, dword [ebp - 0x1a8]
push 0
push 0
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov byte [ebp - 0xf7], bl
mov dword [ebp - 0xf0], 4
mov byte [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
lea eax, [ebp - 0x198]
mov dword [ebp - 4], 3
push 0x4753b0
push eax
call fcn.00403720
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a8]
call fcn.0042c650
jmp 0x45262d
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
call fcn.00462b80
mulsd xmm0, qword [0x476f80]
mov edx, dword [0x48b39c]
mov ecx, dword [0x48b398]
movsd qword [ebp - 0x18], xmm0
call fcn.00462b80
movsd xmm1, qword [ebp - 0x18]
divsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.00462a20
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov esi, dword [ebp + 8]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push 0x1f3
push 0xfffffc18
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.00462780
mov ecx, edi
mov dword [edi + 0x238], eax
mov dword [edi + 0x23c], edx
call fcn.00452290
test al, al
je 0x452673
mov ecx, edi
call fcn.0044fed0
push esi
lea ecx, [edi + 0x148]
call fcn.0040a540
lea ecx, [edi + 0x160]
cmp ecx, esi
je 0x4526b2
cmp dword [esi + 0x14], 0x10
jb 0x452691
mov esi, dword [esi]
mov edi, dword [ebp - 0x1c]
push dword [edi]
push esi
call fcn.00403560
mov eax, dword [edi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4