Function at 0x4628f0
Capabilities:
Get disk information
Get storage device properties

Disassembly:
sub esp, 0xe60
push ebx
push esi
push edi
mov ecx, 0x1f3
xor eax, eax
lea edi, [esp + 0x29d]
mov byte [esp + 0x29c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [esp + 0xe84]
test al, al
je 0x46298d
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], 0
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
lea eax, [esp + 0x40]
push 0x104
push eax
call fcn.00462470
add esp, 0xc
test eax, eax
setne al
test al, al
jne 0x46295d
push 0x64
call esi
jmp 0x46293a
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x29c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [esp + 0xe78]
push ebp
test al, al
je 0x462a98
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x41]
mov byte [esp + 0x40], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x18], eax
push 1
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], eax
call fcn.004627b0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x50]
push str._X_X
push ecx
call fcn.00471e15
lea edx, [esp + 0x28]
push 3
push edx
call fcn.004627b0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
add esp, 0x20
cmp eax, ebx
jne 0x462a0a
cmp ecx, ebx
je 0x462a23
push ecx
push eax
lea eax, [esp + 0x48]
lea ecx, [esp + 0x48]
push eax
push str._s_X_X
push ecx
call fcn.00471e15
add esp, 0x14
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0xd
jb 0x462a66
lea edi, [esp + 0x45]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2a0]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x462a9a
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2a0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x462a9a
xor ebx, ebx
mov al, byte [esp + 0xe80]
test al, al
je 0x462b2c
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19d]
mov byte [esp + 0x19c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x41]
mov byte [esp + 0x40], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x40]
push 0x104
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x1b0]
push 0x104
push ecx
push 0x7596b8
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2a0]
push edx
push eax
lea ecx, [esp + 0x2a8]
push str._s_X
push ecx
call fcn.00471e15
add esp, 0x10
mov al, byte [esp + 0xe84]
test al, al
je 0x462c69
mov eax, dword [0x7596a0]
mov ecx, dword [0x7596a4]
mov edx, dword [str..PhysicalDrive0]
mov dword [esp + 0x2c], eax
mov ax, word [0x7596ac]
mov dword [esp + 0x30], ecx
mov cl, byte [0x7596ae]
mov dword [esp + 0x28], edx
mov edx, dword [0x7596a8]
mov word [esp + 0x38], ax
mov byte [esp + 0x3a], cl
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x10], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ecx
push 0
push 0
push 3
push 0
push 3
lea edx, [esp + 0x3c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x462c69
lea eax, [esp + 0x24]
push 0
push eax
push 0x1000
push 0x76aa70
lea ecx, [esp + 0x20]
push 0xc
push ecx
push 0x2d1400
push ebp
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x462c69
mov ebx, dword [0x76aa88]
test ebx, ebx
jbe 0x462c4d
lea esi, [ebx + 0x76aa70]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x462c1a
cmp byte [edx + esi], 0x20
jne 0x462c1a
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x462c03
lea edi, [edx + ebx + 0x76aa70]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2a0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
mov cl, byte [esp + eax + 0x27]
lea eax, [esp + eax + 0x27]
inc cl
mov byte [eax], cl
jmp 0x462b95
mov bl, byte [esp + 0xe8c]
pop ebp
test bl, bl
je 0x462cae
lea ecx, [esp + 0xa6c]
push ecx
call fcn.00462820
add esp, 4
test al, al
je 0x462cae
lea edx, [esp + 0xa6c]
lea eax, [esp + 0x29c]
push edx
push eax
lea ecx, [esp + 0x2a4]
push str._s_s
push ecx
call fcn.00471e15
add esp, 0x10
mov al, byte [esp + 0xe78]
test al, al
jne 0x462d1f
mov al, byte [esp + 0xe84]
test al, al
jne 0x462d1f
mov al, byte [esp + 0xe7c]
test al, al
jne 0x462d1f
mov al, byte [esp + 0xe80]
test al, al
jne 0x462d1f
test bl, bl
jne 0x462d1f
xor edx, edx
lea eax, [esp + 0xc]
mov dword [esp + 0x10], edx
push 1
mov dword [esp + 0x18], edx
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], edx
call fcn.004627b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x2ac]
push str._08X_08X
push eax
call fcn.00471e15
add esp, 0x18
mov al, byte [0x76bb78]
test al, al
jne 0x462d2f
mov byte [0x759608], 0
mov ebx, dword [esp + 0xe70]
test ebx, ebx
je 0x462db9
lea ecx, [esp + 0x140]
push ecx
call fcn.00465f80
lea edi, [esp + 0x2a0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2a0]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x144]
push ecx
push edx
push eax
call fcn.00465fb0
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x150]
push ecx
push edx
call fcn.00466070
add esp, 0x18
mov edi, ebx
mov ebx, dword [esp + 0xe74]
xor esi, esi
cmp esi, ebx
jae 0x462da9
mov al, byte [esp + esi + 0xc]
push edi
push eax
call fcn.00462770
add esp, 8
inc esi
add edi, 2
cmp esi, 0x10
jb 0x462d8e
mov al, byte [0x76bb78]
test al, al
jne 0x462db9
mov byte [0x759609], 6
pop edi
pop esi
pop ebx
add esp, 0xe60
ret