Function at 0x429de5
Capabilities:
Get storage device properties

Disassembly:
push 0x2ac
mov eax, 0x4888d6
call fcn.0046a143
mov dword [ebp - 0x2a8], ecx
xor eax, eax
mov dword [ebp - 0x29c], eax
push eax
lea eax, [ebp - 0x210]
push str..PhysicalDrive_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42a101
xor eax, eax
lea edi, [ebp - 0x234]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0x298]
push eax
push 8
lea eax, [ebp - 0x2a4]
push eax
push 0xc
lea eax, [ebp - 0x234]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x429e9d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42a101
mov esi, dword [ebp - 0x2a0]
push esi
call fcn.00436d65
push esi
mov edi, eax
push 0
push edi
call fcn.00468320
add esp, 0x10
lea eax, [ebp - 0x298]
push 0
push eax
push esi
push edi
push 0xc
lea eax, [ebp - 0x234]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x429ee4
push edi
call fcn.00436d6e
pop ecx
jmp 0x429e91
push 7
pop edx
xor ecx, ecx
mov dword [ebp - 0x250], edx
xor eax, eax
mov dword [ebp - 0x254], ecx
mov word [ebp - 0x264], ax
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x23c], ecx
mov word [ebp - 0x24c], ax
mov dword [ebp - 4], ecx
cmp byte [edi + 0xa], al
jne 0x42a0ad
mov eax, dword [edi + 0x18]
test eax, eax
je 0x429fe5
add eax, edi
lea ecx, [ebp - 0x228]
push eax
call fcn.0040d018
mov byte [ebp - 4], 1
lea esi, [ebp - 0x228]
cmp dword [ebp - 0x214], 0x10
lea eax, [ebp - 0x228]
lea ecx, [ebp - 0x228]
cmovae esi, dword [ebp - 0x228]
add esi, dword [ebp - 0x218]
cmp dword [ebp - 0x214], 0x10
cmovae eax, dword [ebp - 0x228]
add eax, dword [ebp - 0x218]
cmp dword [ebp - 0x214], 0x10
push eax
cmovae ecx, dword [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x2b0]
call fcn.0042a296
pop ecx
pop ecx
push esi
push dword [eax]
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x228]
call fcn.00414b23
lea edx, [ebp - 0x228]
lea ecx, [ebp - 0x294]
call fcn.0042bb87
push eax
lea ecx, [ebp - 0x24c]
call fcn.0040d0a7
push 0
push 1
lea ecx, [ebp - 0x294]
call fcn.0040d2b7
push 0
push 1
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0
call fcn.0040d225
mov eax, dword [edi + 0x10]
test eax, eax
je 0x42a0ad
add eax, edi
lea ecx, [ebp - 0x228]
push eax
call fcn.0040d018
mov byte [ebp - 4], 2
lea esi, [ebp - 0x228]
cmp dword [ebp - 0x214], 0x10
lea eax, [ebp - 0x228]
lea ecx, [ebp - 0x228]
cmovae esi, dword [ebp - 0x228]
add esi, dword [ebp - 0x218]
cmp dword [ebp - 0x214], 0x10
cmovae eax, dword [ebp - 0x228]
add eax, dword [ebp - 0x218]
cmp dword [ebp - 0x214], 0x10
push eax
cmovae ecx, dword [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x2b4]
call fcn.0042a296
pop ecx
pop ecx
push esi
push dword [eax]
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x228]
call fcn.00414b23
lea edx, [ebp - 0x228]
lea ecx, [ebp - 0x27c]
call fcn.0042bb87
push eax
lea ecx, [ebp - 0x264]
call fcn.0040d0a7
push 0
push 1
lea ecx, [ebp - 0x27c]
call fcn.0040d2b7
push 0
push 1
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0
call fcn.0040d225
push edi
call fcn.00436d6e
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x254], 0
jne 0x42a0cd
cmp dword [ebp - 0x23c], 0
je 0x42a0df
mov ecx, dword [ebp - 0x2a8]
lea eax, [ebp - 0x264]
push eax
call fcn.0042a11d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
push 0
push 1
call fcn.0040d2b7
push 0
push 1
lea ecx, [ebp - 0x264]
call fcn.0040d2b7
mov eax, dword [ebp - 0x29c]
inc eax
mov dword [ebp - 0x29c], eax
cmp eax, 5
jb 0x429e02
call fcn.0046a0f2
ret