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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x639ac0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov byte [ebp - 0x2a], 0
mov byte [ebp - 0x2b], 0
mov byte [ebp - 0x81], 0
mov byte [ebp - 0x29], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x74], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0xe0], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x98], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x6c], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x100], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x64], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x44], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x4c], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0xb0], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0xb8], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0xa0], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0xa8], xmm0
xorps xmm0, xmm0
movsd qword [ebp - 0x110], xmm0
xorps xmm0, xmm0
movsd qword [ebp - 0x80], xmm0
mov dword [ebp - 0x14], 0xffffffff
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x50], 0
xorps xmm0, xmm0
movss dword [ebp - 0x54], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x38], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x90], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x78], xmm0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x138], 0xa
jl 0x45e061
lea esi, [ebp - 0x14]
mov eax, 0xa
xor ecx, ecx
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
call fcn.00462cc0
movzx edx, al
test edx, edx
je 0x45e03f
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + ecx - 0x14]
push edx
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + eax - 0x14]
push ecx
mov edx, 4
shl edx, 0
mov eax, dword [ebp + edx - 0x14]
push eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + edx - 0x14]
push eax
push str.CPUID_0xA_:_0x_08X_0x_08X_0x_08X_0x_08X
push 0x1b2dd00
call fcn.00432fe0
add esp, 0x18
push 0x1b2dd00
call fcn.00459dc0
add esp, 4
push 4
push 0
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp + edx - 0x14]
push eax
call fcn.004598a0
add esp, 0xc
cmp eax, 2
jbe 0x45e061
mov byte [ebp - 0x29], 1
movzx ecx, byte [ebp - 0x29]
test ecx, ecx
jne 0x45e09b
call fcn.00462cc0
movzx edx, al
test edx, edx
je 0x45e094
push str.WARNING_IA32_FIXED_CTR1_performance_counter_reported_to_be_unavailable.
push 0x1b2dd00
call fcn.00432fe0
add esp, 8
push 0x1b2dd00
call fcn.00459dc0
add esp, 4
fldz
jmp 0x45ea95
mov dword [ebp - 0x24], 0x38f
push 0
lea eax, [ebp - 0x28]
push eax
push 8
lea ecx, [ebp - 0x6c]
push ecx
push 4
lea edx, [ebp - 0x24]
push edx
push 0x8011e060
mov eax, dword [0x5d19b0]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45e25d
call fcn.00462cc0
movzx ecx, al
test ecx, ecx
je 0x45e104
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push str.MSR_0x_0.8X:__0.16llX
push 0x1b2dd00
call fcn.00432fe0
add esp, 0x14
push 0x1b2dd00
call fcn.00459dc0
add esp, 4
push 0x21
push 0x21
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004598c0
add esp, 0x10
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], edx
cmp dword [ebp - 0xf0], 1
jne 0x45e142
cmp dword [ebp - 0xec], 0
jne 0x45e142
mov dword [ebp - 0xc4], 1
jmp 0x45e14c
mov dword [ebp - 0xc4], 0
mov cl, byte [ebp - 0xc4]
mov byte [ebp - 0x39], cl
push 0x22
push 0x22
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004598c0
add esp, 0x10
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
cmp dword [ebp - 0xf8], 1
jne 0x45e193
cmp dword [ebp - 0xf4], 0
jne 0x45e193
mov dword [ebp - 0xc8], 1
jmp 0x45e19d
mov dword [ebp - 0xc8], 0
mov cl, byte [ebp - 0xc8]
mov byte [ebp - 0x3a], cl
movzx edx, byte [ebp - 0x39]
test edx, edx
je 0x45e1ba
movzx eax, byte [ebp - 0x3a]
test eax, eax
jne 0x45e25d
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
or ecx, 2
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
or eax, 4
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], eax
call fcn.00462cc0
movzx ecx, al
test ecx, ecx
je 0x45e21b
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push str.New_MSR_0x_0.8X:__0.16llX
push 0x1b2dd00
call fcn.00432fe0
add esp, 0x14
push 0x1b2dd00
call fcn.00459dc0
add esp, 4
mov dword [ebp - 0x20], 0x38f
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
push 0
lea ecx, [ebp - 0x28]
push ecx
push 8
lea edx, [ebp - 0xe0]
push edx
push 0xc
lea eax, [ebp - 0x20]
push eax
push 0x8011e088
mov ecx, dword [0x5d19b0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45e25d
mov byte [ebp - 0x2a], 1
mov dword [ebp - 0x24], 0x38e
push 0
lea edx, [ebp - 0x28]
push edx
push 8
lea eax, [ebp - 0x100]
push eax
push 4
lea ecx, [ebp - 0x24]
push ecx
push 0x8011e060
mov edx, dword [0x5d19b0]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45e2cc
call fcn.00462cc0
movzx eax, al
test eax, eax
je 0x45e2cc
mov ecx, dword [ebp - 0xfc]
push ecx
mov edx, dword [ebp - 0x100]
push edx
mov eax, dword [ebp - 0x24]
push eax
push str.MSR_0x_0.8X:__0.16llX
push 0x1b2dd00
call fcn.00432fe0
add esp, 0x14
push 0x1b2dd00
call fcn.00459dc0
add esp, 4
mov dword [ebp - 0x24], 0x38d
push 0
lea ecx, [ebp - 0x28]
push ecx
push 8
lea edx, [ebp - 0x64]
push edx
push 4
lea eax, [ebp - 0x24]
push eax
push 0x8011e060
mov ecx, dword [0x5d19b0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45e491
call fcn.00462cc0
movzx edx, al
test edx, edx
je 0x45e336
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push str.MSR_0x_0.8X:__0.16llX
push 0x1b2dd00
call fcn.00432fe0
add esp, 0x14
push 0x1b2dd00
call fcn.00459dc0
add esp, 4
push 4
push 4
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004598c0
add esp, 0x10
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edx
cmp dword [ebp - 0x118], 1
jne 0x45e374
cmp dword [ebp - 0x114], 0
jne 0x45e374
mov dword [ebp - 0xc0], 1
jmp 0x45e37e
mov dword [ebp - 0xc0], 0
mov dl, byte [ebp - 0xc0]
mov byte [ebp - 0x3c], dl
push 8
push 8
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004598c0
add esp, 0x10
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], edx
cmp dword [ebp - 0x108], 1
jne 0x45e3c5
cmp dword [ebp - 0x104], 0
jne 0x45e3c5
mov dword [ebp - 0xbc], 1
jmp 0x45e3cf
mov dword [ebp - 0xbc], 0
mov dl, byte [ebp - 0xbc]
mov byte [ebp - 0x3b], dl
movzx eax, byte [ebp - 0x3c]
test eax, eax
je 0x45e3ec
movzx ecx, byte [ebp - 0x3b]
test ecx, ecx
jne 0x45e491
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x4c]
or ecx, 0x30
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x4c]
or eax, 0x300
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
call fcn.00462cc0
movzx edx, al
test edx, edx
je 0x45e44f
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push str.New_MSR_0x_0.8X:__0.16llX
push 0x1b2dd00
call fcn.00432fe0
add esp, 0x14
push 0x1b2dd00
call fcn.00459dc0
add esp, 4
mov dword [ebp - 0x20], 0x38d
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
push 0
lea edx, [ebp - 0x28]
push edx
push 8
lea eax, [ebp - 0xe0]
push eax
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 0x8011e088
mov edx, dword [0x5d19b0]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45e491
mov byte [ebp - 0x2b], 1
mov dword [ebp - 0x24], 0x199
push 0
lea eax, [ebp - 0x28]
push eax
push 8
lea ecx, [ebp - 0xd0]
push ecx
push 4
lea edx, [ebp - 0x24]
push edx
push 0x8011e060
mov eax, dword [0x5d19b0]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45e4ff
call fcn.00462cc0
movzx ecx, al
test ecx, ecx
je 0x45e4ff
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push str.MSR_0x_0.8X:__0.16llX
push 0x1b2dd00
call fcn.00432fe0
add esp, 0x14
push 0x1b2dd00
call fcn.00459dc0
add esp, 4
mov dword [ebp - 0x24], 0x198
push 0
lea edx, [ebp - 0x28]
push edx
push 8
lea eax, [ebp - 0xd0]
push eax
push 4
lea ecx, [ebp - 0x24]
push ecx
push 0x8011e060
mov edx, dword [0x5d19b0]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45e56e
call fcn.00462cc0
movzx eax, al
test eax, eax
je 0x45e56e
mov ecx, dword [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0xd0]
push edx
mov eax, dword [ebp - 0x24]
push eax
push str.MSR_0x_0.8X:__0.16llX
push 0x1b2dd00
call fcn.00432fe0
add esp, 0x14
push 0x1b2dd00
call fcn.00459dc0
add esp, 4
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x45e586
fldz
jmp 0x45ea95
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x7fffffff
je 0x45e5c0
push 0xf
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xorps xmm0, xmm0
movlpd qword [ebp - 0x74], xmm0
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], 1
jle 0x45e5ee
movsd xmm0, qword [ebp - 0x110]
comisd xmm0, xmmword [0x588c98]
jbe 0x45e5ee
jmp 0x45e924
xor edx, edx
mov dword [ebp - 0x98], 0x5f5e100
mov dword [ebp - 0x94], edx
movss xmm0, dword [ebp + 0x14]
comiss xmm0, dword [ebp - 0x38]
jbe 0x45e623
cmp dword [ebp - 0x50], 2
jne 0x45e623
xor eax, eax
mov dword [ebp - 0x98], 0x23c34600
mov dword [ebp - 0x94], eax
movss xmm0, dword [ebp - 0x38]
comiss xmm0, dword [ebp + 0x14]
jbe 0x45e633
jmp 0x45e924
xorps xmm0, xmm0
movlpd qword [ebp - 0x74], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
jmp 0x45e657
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp - 0x30]
adc edx, 0
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x94]
ja 0x45e683
jb 0x45e66f
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x98]
jae 0x45e683
mov edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x70]
adc eax, dword [ebp - 0x30]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], eax
jmp 0x45e645
lea ecx, [ebp - 0xe8]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x24], 0x30a
push 0
lea ecx, [ebp - 0x28]
push ecx
push 8
lea edx, [ebp - 0x5c]
push edx
push 4
lea eax, [ebp - 0x24]
push eax
push 0x8011e060
mov ecx, dword [0x5d19b0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45e6e9
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x24], 0x30b
push 0
lea ecx, [ebp - 0x28]
push ecx
push 8
lea edx, [ebp - 0x5c]
push edx
push 4
lea eax, [ebp - 0x24]
push eax
push 0x8011e060
mov ecx, dword [0x5d19b0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45e72a
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x9c], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x74], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
jmp 0x45e74e
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp - 0x30]
adc edx, 0
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
ja 0x45e773
jb 0x45e75f
cmp dword [ebp - 0x34], 0xbebc200
jae 0x45e773
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x70]
adc ecx, dword [ebp - 0x30]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], ecx
jmp 0x45e73c
lea edx, [ebp - 0xd8]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov dword [ebp - 0x24], 0x30a
push 0
lea eax, [ebp - 0x28]
push eax
push 8
lea ecx, [ebp - 0x5c]
push ecx
push 4
lea edx, [ebp - 0x24]
push edx
push 0x8011e060
mov eax, dword [0x5d19b0]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45e7c0
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0x24], 0x30b
push 0
lea eax, [ebp - 0x28]
push eax
push 8
lea ecx, [ebp - 0x5c]
push ecx
push 4
lea edx, [ebp - 0x24]
push edx
push 0x8011e060
mov eax, dword [0x5d19b0]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45e800
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa4], edx
mov ecx, dword [ebp - 0xd8]
sub ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xd4]
sbb edx, dword [ebp - 0xe4]
call fcn.004f7740
movsd qword [ebp - 0x80], xmm0
movsd xmm0, qword [ebp - 0x80]
mulsd xmm0, qword [0x588c88]
movsd qword [ebp - 0x80], xmm0
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x120]
call fcn.004f7740
divsd xmm0, qword [0x588c68]
movsd xmm1, qword [ebp - 0x80]
divsd xmm1, xmm0
movsd qword [ebp - 0x80], xmm1
movsd xmm0, qword [ebp - 0x110]
addsd xmm0, qword [ebp - 0x80]
movsd qword [ebp - 0x110], xmm0
mov ecx, dword [ebp - 0xb8]
sub ecx, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xb4]
sbb edx, dword [ebp - 0xac]
call fcn.004f76f0
divsd xmm0, qword [ebp - 0x80]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x90], xmm0
mov ecx, dword [ebp - 0xa8]
sub ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa4]
sbb edx, dword [ebp - 0x9c]
call fcn.004f76f0
divsd xmm0, qword [ebp - 0x80]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [ebp - 0x78]
comiss xmm0, dword [0x5c4be0]
jbe 0x45e8e9
movss xmm0, dword [ebp - 0x90]
divss xmm0, dword [ebp - 0x78]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x38]
comiss xmm0, dword [ebp - 0x54]
jbe 0x45e91a
movss xmm0, dword [ebp - 0x38]
comiss xmm0, dword [0x5c4be0]
jbe 0x45e91a
movss xmm0, dword [0x588c90]
comiss xmm0, dword [ebp - 0x38]
jbe 0x45e91a
movss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x54], xmm0
cmp dword [ebp - 0x50], 2
jl 0x45e5c8
call fcn.00462cc0
movzx eax, al
test eax, eax
je 0x45e9d3
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
cvtss2sd xmm0, dword [ebp - 0x78]
sub esp, 8
movsd qword [esp], xmm0
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
cvtss2sd xmm0, dword [ebp - 0x90]
sub esp, 8
movsd qword [esp], xmm0
cvtss2sd xmm0, dword [ebp + 0x14]
sub esp, 8
movsd qword [esp], xmm0
cvtss2sd xmm0, dword [ebp - 0x54]
sub esp, 8
movsd qword [esp], xmm0
cvtss2sd xmm0, dword [ebp - 0x38]
sub esp, 8
movsd qword [esp], xmm0
mov eax, dword [ebp - 0x50]
push eax
push str.GetIntelCPUMaxSpeed:__d____0.5f___0.5f___0.5f____0.5f___I64u___I64u____0.5f___I64u___I64u_
push 0x1b2dd00
call fcn.00432fe0
add esp, 0x54
push 0x1b2dd00
call fcn.00459dc0
add esp, 4
cmp dword [ebp - 0x8c], 0x7fffffff
je 0x45e9f3
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
movzx ecx, byte [ebp - 0x2a]
test ecx, ecx
je 0x45ea35
mov dword [ebp - 0x20], 0x38f
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
push 0
lea ecx, [ebp - 0x28]
push ecx
push 8
lea edx, [ebp - 0xe0]
push edx
push 0xc
lea eax, [ebp - 0x20]
push eax
push 0x8011e088
mov ecx, dword [0x5d19b0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
movzx edx, byte [ebp - 0x2b]
test edx, edx
je 0x45ea77
mov dword [ebp - 0x20], 0x38d
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
push 0
lea edx, [ebp - 0x28]
push edx
push 8
lea eax, [ebp - 0xe0]
push eax
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 0x8011e088
mov edx, dword [0x5d19b0]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
movss xmm0, dword [0x588c18]
comiss xmm0, dword [ebp - 0x54]
jbe 0x45ea92
movss xmm0, dword [0x588c30]
movss dword [ebp - 0x54], xmm0
fld dword [ebp - 0x54]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f66cd
mov esp, ebp
pop ebp
ret