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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x50
movsd xmm0, qword [0x589200]
movsd qword [ebp - 0x14], xmm0
movsd qword [ebp - 0x1c], xmm0
call fcn.0043dd10
call fcn.00439660
test eax, eax
jl 0x43dcb7
mov esi, 0x628e68
cmp dword [esi - 4], 0
jne 0x43dccb
push dword [esi + 4]
push dword [esi]
push 0
push 0xf4240
call fcn.004764e0
mov esi, eax
add esi, 1
mov edi, edx
adc edi, 0
mov dword [ebp - 0x44], 0xa
mov eax, 8
add eax, eax
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
push edx
call sub.KERNEL32.dll_QueryPerformanceCounter
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], edx
cmp dword [0x6035b8], 0
jne 0x43dcd5
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jle 0x43db25
mov dword [ebp - 0x20], ecx
mov ebx, ecx
call fcn.00439660
dec ebx
jne 0x43daf6
lea eax, [ebp - 0x30]
push eax
call sub.KERNEL32.dll_QueryPerformanceCounter
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x48]
sbb edx, dword [ebp - 0x4c]
mov ebx, eax
mov eax, edx
cmp dword [0x6035b8], 0
je 0x43db2a
jmp 0x43dcdf
mov dword [ebp - 0x20], ecx
jmp 0x43dafe
cmp ebx, esi
mov edx, eax
sbb edx, edi
jl 0x43db75
mov ecx, eax
mov edx, ebx
push ecx
push edx
call fcn.004f6550
fstp qword [ebp - 0x5c]
mov eax, dword [ebp - 0x20]
xorps xmm1, xmm1
cvtsi2sd xmm1, eax
movsd xmm0, qword [ebp - 0x5c]
divsd xmm0, xmm1
movsd xmm1, qword [ebp - 0x14]
ucomisd xmm1, xmm0
jp 0x43db60
je 0x43db7d
movsd xmm1, qword [ebp - 0x14]
ucomisd xmm1, qword [ebp - 0x14]
jp 0x43db83
ucomisd xmm0, qword [ebp - 0x14]
ja 0x43db83
jmp 0x43db88
mov eax, dword [ebp - 0x20]
jmp 0x43dac3
cmp dword [ebp - 0x10], 0
jge 0x43db73
movsd xmm0, qword [ebp - 0x14]
movsd qword [ebp - 0x14], xmm0
mov edx, eax
sar edx, 0x1f
and edx, 3
add edx, eax
mov eax, edx
sar eax, 2
add eax, eax
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x38]
push edx
call sub.KERNEL32.dll_QueryPerformanceCounter
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ecx
cmp dword [0x6035b8], 0
jne 0x43dcef
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jle 0x43dbfe
mov dword [ebp - 0x20], ecx
mov ebx, ecx
call fcn.0043dd10
dec ebx
jne 0x43dbcf
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.dll_QueryPerformanceCounter
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x48]
sbb edx, dword [ebp - 0x4c]
mov ebx, eax
mov eax, edx
cmp dword [0x6035b8], 0
je 0x43dc03
jmp 0x43dcf9
mov dword [ebp - 0x20], ecx
jmp 0x43dbd7
cmp ebx, esi
mov edx, eax
sbb edx, edi
jl 0x43dc4c
mov ecx, eax
mov edx, ebx
push ecx
push edx
call fcn.004f6550
fstp qword [ebp - 0x5c]
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x5c]
divsd xmm0, xmm1
movsd xmm1, qword [ebp - 0x1c]
ucomisd xmm1, xmm0
jp 0x43dc37
je 0x43dc54
movsd xmm1, qword [ebp - 0x1c]
ucomisd xmm1, qword [ebp - 0x1c]
jp 0x43dc5a
ucomisd xmm0, qword [ebp - 0x1c]
ja 0x43dc5a
jmp 0x43dc5f
mov eax, dword [ebp - 0x20]
jmp 0x43db9c
cmp dword [ebp - 0x18], 0
jge 0x43dc4a
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ebp - 0x1c], xmm0
mov ebx, dword [ebp - 0x44]
dec ebx
mov dword [ebp - 0x44], ebx
jne 0x43dabe
movsd xmm0, qword [ebp - 0x14]
mulsd xmm0, qword [0x589208]
divsd xmm0, qword [ebp - 0x1c]
sub esp, 8
movsd qword [esp], xmm0
call fcn.004f64a0
mov edx, 0x1388
cmp eax, 0x1388
cmovg eax, edx
mov dword [0x600788], eax
cmp dword [0x600788], 5
setle al
movzx eax, al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x600788], 0xffff
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.004f264a
jmp 0x43da9c
call fcn.004f4751
jmp 0x43daea
mov dword [ebp - 0x4c], eax
call fcn.004f4751
mov eax, dword [ebp - 0x4c]
jmp 0x43db2a
call fcn.004f4751
jmp 0x43dbc3
mov dword [ebp - 0x4c], eax
call fcn.004f4751
mov eax, dword [ebp - 0x4c]
jmp 0x43dc03