Function at 0x435920
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519fb2
mov eax, dword fs:[0]
push eax
mov eax, 0x38e4
call fcn.00455430
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38e4], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x38e8], 0
mov dword [ebp - 0x38f0], esi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
push 0x114
lea eax, [ebp - 0x38e0]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x38e8], 1
call fcn.00455160
add esp, 0xc
mov dword [ebp - 0x38e0], 0x114
lea eax, [ebp - 0x38e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x38d0], 2
jne 0x435c2f
xor edi, edi
lea esp, [esp]
push 0xff
lea eax, [ebp - 0x10f]
mov byte [ebp - 0x110], 0
push 0
push eax
call fcn.00455160
push edi
lea eax, [ebp - 0x110]
push 0x525848
push eax
call fcn.00454cb2
add esp, 0x18
lea eax, [ebp - 0x110]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x435c25
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 0x38ec], 0
lea eax, [ebp - 0x37c0]
movq qword [ebp - 0x37cc], xmm0
push 0
push eax
mov dword [ebp - 0x37c4], 0
mov dword [ebp - 0x37cc], 0
mov dword [ebp - 0x37c8], 0
call fcn.00455160
add esp, 0xc
lea eax, [ebp - 0x38ec]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37c0]
push eax
push 0xc
lea eax, [ebp - 0x37cc]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x435c18
push 0x3e7
lea eax, [ebp - 0xcc7]
mov byte [ebp - 0xcc8], 0
push 0
push eax
call fcn.00455160
push 0x3e7
lea eax, [ebp - 0x4f7]
mov byte [ebp - 0x4f8], 0
push 0
push eax
call fcn.00455160
push 0x3e7
lea eax, [ebp - 0x10af]
mov byte [ebp - 0x10b0], 0
push 0
push eax
call fcn.00455160
push 0x3e7
lea eax, [ebp - 0x8df]
mov byte [ebp - 0x8e0], 0
push 0
push eax
call fcn.00455160
mov ecx, dword [ebp - 0x38e4]
lea eax, [ebp - 0x10b0]
add esp, 0x30
push eax
push 0
push dword [ebp - 0x37b4]
lea eax, [ebp - 0x37c0]
push eax
call fcn.00436870
mov ecx, dword [ebp - 0x38e4]
lea eax, [ebp - 0x4f8]
push eax
push 0
push dword [ebp - 0x37b0]
lea eax, [ebp - 0x37c0]
push eax
call fcn.00436870
mov ecx, dword [ebp - 0x38e4]
lea eax, [ebp - 0x8e0]
push eax
push 0
push dword [ebp - 0x37ac]
lea eax, [ebp - 0x37c0]
push eax
call fcn.00436870
mov ecx, dword [ebp - 0x38e4]
lea eax, [ebp - 0xcc8]
push eax
push 0
push dword [ebp - 0x37a8]
lea eax, [ebp - 0x37c0]
push eax
call fcn.00436870
cmp byte [ebp - 0x4f8], 0
jne 0x435b9a
xor ecx, ecx
jmp 0x435bac
lea ecx, [ebp - 0x4f8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435ba3
sub ecx, edx
push ecx
lea eax, [ebp - 0x4f8]
mov ecx, esi
push eax
call fcn.00405b80
cmp byte [ebp - 0x8e0], 0
jne 0x435bc8
xor ecx, ecx
jmp 0x435bda
lea ecx, [ebp - 0x8e0]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435bd1
sub ecx, edx
push ecx
lea eax, [ebp - 0x8e0]
mov ecx, esi
push eax
call fcn.00405e90
cmp byte [ebp - 0xcc8], 0
jne 0x435bf6
xor eax, eax
jmp 0x435c09
lea eax, [ebp - 0xcc8]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435c00
sub eax, edx
push eax
lea eax, [ebp - 0xcc8]
mov ecx, esi
push eax
call fcn.00405e90
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x10], 0
jne 0x435c2f
inc edi
cmp edi, 0x10
jl 0x4359d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret 4