Function at 0x45fc20
Capabilities:
Check for time delay via queryperformancecounter
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4686b8
push eax
mov al, byte [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x14
test al, al
push ebx
push ebp
push esi
push edi
mov esi, ecx
je 0x45fc53
mov eax, dword [esi]
xor ebp, ebp
push ebp
call dword [eax + 0x84]
jmp 0x45fc55
xor ebp, ebp
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x45fc6a
mov ecx, dword [esp + 0x48]
push ebp
push 1
push ecx
call eax
add esp, 0xc
mov ecx, dword [esi + 0x1b8]
call fcn.00448000
xor ebx, ebx
mov dword [esp + 0x18], 0xe100
mov dword [esp + 0x34], ebx
lea edx, [esp + 0x10]
mov dword [esp + 0x2c], ebp
push edx
push 0x20019
push ebp
push str.SoftwareBaldorMFlex
push SysReAllocString
mov dword [esp + 0x24], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebp
jne 0x45fcde
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
push edx
push ecx
push ebp
push str.Bootloader_Speed
push eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x1b8]
push edx
call fcn.004492b0
mov ecx, dword [esi + 0x1b8]
push ebp
call fcn.004481b0
mov edi, eax
cmp di, bp
je 0x45fd14
cmp ebx, ebp
je 0x45fd0c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, di
jmp 0x45fe3b
mov ebx, dword [esp + 0x3c]
mov ebp, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb4]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xb0]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0xa4]
mov edx, dword [esp + 0x38]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push 0
push 1
dec ecx
push 5
push ecx
mov ecx, dword [esi + 0x1b8]
push edx
call fcn.00448d00
lea ecx, [esp + 0x1c]
push ecx
call ebp
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
call fcn.00465780
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
lea eax, [esp + 0x10]
push eax
call ebp
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
call fcn.00465780
mov ecx, dword [esi + 0x1b8]
mov edi, eax
push 0x64
push ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
call fcn.004490e0
test ax, ax
jne 0x45fdcc
mov al, byte [ebx]
cmp al, 0x50
jl 0x45fdcc
cmp al, 0x53
jle 0x45fdf8
sub edi, dword [esp + 0x1c]
cmp edi, 0x64
jb 0x45fd87
mov eax, dword [esp + 0x44]
test eax, eax
je 0x45fd1e
mov edx, dword [esp + 0x48]
push 0
push 1
push edx
call eax
add esp, 0xc
test al, al
jne 0x45fe28
jmp 0x45fd1e
mov al, byte [esp + 0x40]
test al, al
je 0x45fe14
mov ecx, dword [esi + 0x1b8]
push 0
push 1
push 5
push 1
push ebx
call fcn.00448d00
mov eax, dword [esp + 0x34]
test eax, eax
je 0x45fe23
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ax, ax
jmp 0x45fe3b
mov eax, dword [esp + 0x34]
test eax, eax
je 0x45fe37
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, 0x41d
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x18