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

Disassembly:
push 0xd80
mov eax, 0x6da1c9
call fcn.00648bbe
mov edi, ecx
mov dword [ebp - 0xca4], edi
mov eax, dword [ebp + 8]
push str.START_HD
push ecx
mov dword [ebp - 0xc90], eax
call fcn.005a1dac
pop ecx
mov ecx, eax
call fcn.005a1e39
lea eax, [edi + 0x2a8]
xor ebx, ebx
lea ecx, [ebp - 0xc84]
mov dword [ebp - 0xc84], eax
mov byte [ebp - 0xc80], bl
call fcn.00516ad6
mov byte [edi + 0x2a4], bl
mov edx, dword [edi + 0x29c]
push ecx
mov ecx, dword [edi + 0x298]
call fcn.0052f4ae
mov eax, dword [edi + 0x298]
pop ecx
mov dword [edi + 0x29c], eax
mov dword [ebp - 4], ebx
cmp byte [ebp - 0xc80], bl
je 0x5b967b
mov ecx, dword [ebp - 0xc84]
call fcn.0051795c
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0xcb4]
push eax
call esi
mov eax, dword [ebp - 0xcb4]
mov dword [ebp - 0xcac], eax
mov eax, dword [ebp - 0xcb0]
mov dword [ebp - 0xca8], eax
lea eax, [ebp - 0xcb4]
push eax
call esi
mov eax, dword [ebp - 0xcb4]
mov esi, dword [ebp - 0xc90]
mov dword [ebp - 0xcac], eax
mov eax, dword [ebp - 0xcb0]
mov dword [ebp - 0xca8], eax
lea eax, [ebp - 0xc84]
mov ecx, dword [esi]
push eax
call fcn.005acec9
push eax
lea ecx, [ebp - 0xd2c]
mov dword [ebp - 4], 1
call fcn.005ad02d
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xc80]
test ecx, ecx
je 0x5b96fd
call fcn.0051578b
mov ecx, dword [esi]
lea eax, [ebp - 0xc84]
push eax
call fcn.005acede
push eax
lea ecx, [ebp - 0xd14]
mov byte [ebp - 4], 5
call fcn.005ad02d
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xc80]
test ecx, ecx
je 0x5b972e
call fcn.0051578b
push ebx
push str.Win32_DiskDrive
lea eax, [ebp - 0xcc0]
mov byte [ebp - 4], 7
mov ecx, dword [edi + 0x2d8]
push eax
call fcn.005a2f08
mov ecx, ebx
mov dword [ebp - 0xc98], ebx
mov edi, ebx
mov dword [ebp - 0xca0], ecx
mov dword [ebp - 0xc9c], edi
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xcbc]
mov esi, dword [ebp - 0xcc0]
mov dword [ebp - 0xc8c], eax
cmp esi, eax
je 0x5b97be
push ecx
push dword [esi]
lea ecx, [ebp - 0xc74]
call fcn.005b6a39
push eax
lea ecx, [ebp - 0xca0]
mov byte [ebp - 4], 0xb
call fcn.005bd33a
lea ecx, [ebp - 0xc74]
mov byte [ebp - 4], 0xa
call fcn.005b9cd3
mov edi, dword [ebp - 0xc9c]
add esi, 4
mov ecx, dword [ebp - 0xca0]
mov eax, dword [ebp - 0xc8c]
jmp 0x5b9776
mov al, byte [ebp - 0xc7c]
mov esi, 0xb78
mov byte [ebp - 0xc7c], al
lea eax, [ebp - 0xc7c]
push eax
mov eax, edi
sub eax, ecx
cdq
idiv esi
mov edx, edi
push eax
call fcn.005bea2c
pop ecx
pop ecx
push str.HD_CP1
lea ecx, [ebp - 0xcb4]
call fcn.0059de04
mov byte [ebp - 4], 0xc
call fcn.006460e0
mov dword [ebp - 4], 0xa
mov al, 1
mov esi, dword [ebp - 0xca0]
mov edi, dword [ebp - 0xc9c]
mov dword [ebp - 0xc78], esi
lea ecx, [ebp - 0xc78]
test al, al
je 0x5b990a
cmp esi, edi
je 0x5b990a
mov ecx, dword [ecx]
mov al, bl
mov dword [ebp - 0xc78], ecx
test al, al
jne 0x5b98ff
mov eax, dword [ecx + 0xb68]
cmp eax, dword [ecx + 0xb6c]
je 0x5b985b
cmp dword [eax], 7
je 0x5b985b
add eax, 4
jmp 0x5b9849
push ecx
call fcn.005b6ea7
push eax
mov eax, dword [ebp - 0xc78]
push eax
push dword [eax + 0xb44]
call fcn.00601eb1
mov ecx, dword [ebp - 0xc78]
push ebx
push str.SuperSpeed_RAM_Disk
mov dword [ecx + 0xb38], eax
add ecx, 0xa24
call fcn.00514fc9
mov ecx, dword [ebp - 0xc78]
test eax, eax
js 0x5b98a2
mov byte [ecx + 0xb3c], 1
call fcn.005b6ea7
push eax
mov eax, dword [ebp - 0xc78]
lea ecx, [eax + 0xaa0]
call fcn.005fb2cb
mov byte [ebp - 4], 0xe
call fcn.006460e0
mov dword [ebp - 4], 0xa
mov al, 1
mov ecx, dword [ebp - 0xc78]
jmp 0x5b983b
add esi, 0xb78
jmp 0x5b9815
mov esi, dword [ebp - 0xca4]
lea ecx, [esi + 0x2b8]
call fcn.005fde67
push 0x86c
lea ecx, [ebp - 0xcfc]
call fcn.006c22f9
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xf4]
push eax
mov dword [ebp - 0xfc], ebx
call fcn.0052b35a
lea ecx, [ebp - 0xcfc]
mov byte [ebp - 4], 0x12
call fcn.006c2344
push 0x86d
lea ecx, [ebp - 0xd5c]
call fcn.006c22f9
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xbc]
push eax
mov dword [ebp - 0xc4], 2
call fcn.0052b35a
lea ecx, [ebp - 0xd5c]
mov byte [ebp - 4], 0x15
call fcn.006c2344
push 0x86e
lea ecx, [ebp - 0xcfc]
call fcn.006c22f9
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x84]
push eax
mov dword [ebp - 0x8c], 1
call fcn.0052b35a
lea ecx, [ebp - 0xcfc]
mov byte [ebp - 4], 0x18
call fcn.006c2344
push 0x86f
lea ecx, [ebp - 0xd5c]
call fcn.006c22f9
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x4c]
push eax
mov dword [ebp - 0x54], 3
call fcn.0052b35a
lea ecx, [ebp - 0xd5c]
call fcn.006c2344
lea ecx, [esi + 0x2c0]
mov byte [ebp - 4], 0x1a
call fcn.005fe494
lea edi, [ebp - 0xfc]
mov al, 1
lea ebx, [ebp - 0x1c]
mov dword [ebp - 0xc78], edi
lea ecx, [ebp - 0xc78]
test al, al
je 0x5b9c0c
cmp edi, ebx
je 0x5b9c0c
mov ecx, dword [ecx]
xor al, al
mov dword [ebp - 0xc78], ecx
test al, al
jne 0x5b9c04
mov eax, dword [ecx]
mov esi, dword [ebp - 0xca0]
mov dword [ebp - 0xc8c], eax
mov eax, dword [ebp - 0xc9c]
mov dword [ebp - 0xc88], eax
cmp esi, eax
je 0x5b9a79
mov ecx, esi
call fcn.00607071
cmp eax, dword [ebp - 0xc8c]
je 0x5b9a75
mov eax, 0xb78
add esi, eax
mov eax, dword [ebp - 0xc88]
jmp 0x5b9a53
mov al, 1
jmp 0x5b9a7b
xor al, al
test al, al
je 0x5b9b8f
mov esi, dword [ebp - 0xc78]
lea ecx, [ebp - 0xd84]
and dword [ebp - 0xd8c], 0
lea eax, [esi + 8]
push eax
call fcn.0052b35a
xor eax, eax
mov dword [ebp - 0xd54], eax
mov dword [ebp - 0xd34], eax
mov dword [ebp - 0xd30], eax
lea eax, [ebp - 0xd8c]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0xcc8]
push eax
lea ecx, [ebp - 0xd14]
call fcn.005ad1f2
push eax
lea ecx, [ebp - 0xce4]
mov byte [ebp - 4], 0x1c
call fcn.005ad02d
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0xcc4]
test ecx, ecx
je 0x5b9af3
call fcn.0051578b
lea ecx, [ebp - 0xd54]
mov byte [ebp - 4], 0x21
call fcn.0051f634
lea ecx, [ebp - 0xd84]
mov byte [ebp - 4], 0x20
call fcn.006c2344
and dword [ebp - 0xc94], 0
mov eax, dword [esi]
mov ecx, 0xb78
mov dword [ebp - 0xc88], eax
xor esi, esi
mov eax, dword [ebp - 0xc9c]
sub eax, dword [ebp - 0xca0]
cdq
idiv ecx
and dword [ebp - 0xc8c], 0
mov dword [ebp - 0xc80], eax
test eax, eax
jle 0x5b9b80
push esi
lea ecx, [ebp - 0xca0]
call fcn.006070f3
mov ecx, eax
call fcn.00607071
cmp eax, dword [ebp - 0xc88]
jne 0x5b9b77
mov eax, dword [ebp - 0xc8c]
cmp dword [ebp - 0xc94], eax
je 0x5b9b9c
inc eax
mov dword [ebp - 0xc8c], eax
inc esi
cmp esi, dword [ebp - 0xc80]
jl 0x5b9b47
lea ecx, [ebp - 0xce4]
mov byte [ebp - 4], 0x1a
call fcn.005ad08b
mov ecx, dword [ebp - 0xc78]
mov al, 1
jmp 0x5b9a31
push esi
lea ecx, [ebp - 0xca0]
call fcn.006070f3
inc dword [ebp - 0xc94]
mov dword [ebp - 0xc88], eax
mov byte [ebp - 4], 0x22
call fcn.006460e0
mov ecx, dword [ebp - 0xca4]
lea eax, [ebp - 0xd2c]
push esi
mov dword [ebp - 4], 0x20
push dword [ebp - 0xc88]
push eax
lea eax, [ebp - 0xce4]
push eax
call fcn.005b9d61
mov esi, dword [ebp - 0xc78]
jmp 0x5b9b18
add edi, 0x38
jmp 0x5b9a0b
push str.HD_for_FillDrive
lea ecx, [ebp - 0xcb4]
call fcn.0059de04
mov esi, dword [ebp - 0xc90]
mov ecx, dword [esi]
call fcn.005acef0
mov ebx, dword [ebp - 0xca4]
lea ecx, [ebp - 0xc84]
mov byte [ebp - 0xc80], 0
lea eax, [ebx + 0x2a8]
mov dword [ebp - 0xc84], eax
call fcn.00516ad6
mov byte [ebx + 0x2a4], 1
mov byte [ebp - 4], 0x24
cmp byte [ebp - 0xc80], 0
je 0x5b9c6c
mov ecx, dword [ebp - 0xc84]
call fcn.0051795c
push 0x541ab0
push 4
push 0x38
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0xa
push eax
call fcn.00648500
lea ecx, [ebp - 0xca0]
call fcn.005bd2e0
lea ecx, [ebp - 0xcc0]
call fcn.005a41ad
lea ecx, [ebp - 0xd14]
call fcn.005ad08b
lea ecx, [ebp - 0xd2c]
call fcn.005ad08b
call fcn.00648b0b
ret 4