Function at 0x4c3b20
Capabilities:
Get storage device properties

Disassembly:
push 0xffffffffffffffff
push 0x6515d6
mov eax, dword fs:[0]
push eax
mov eax, 0x32e4
call fcn.00621970
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x32e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x32f8]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x18]
xor ebx, ebx
xor esi, esi
call fcn.00402510
mov dword [esp + 0x3300], ebx
mov eax, dword [esp + 0x3308]
push eax
lea ecx, [esp + 0x1c]
push str..PhysicalDrive_d
push ecx
call fcn.00402f80
mov edx, dword [esp + 0x24]
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4c3bc0
mov dword [esp + 0x3300], eax
lea ecx, [esp + 0x18]
call fcn.00402580
xor eax, eax
jmp 0x4c3da6
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push 0x2710
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xbe8]
push ebx
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00620920
add esp, 0xc
push ebx
lea ecx, [esp + 0x20]
push ecx
push 0x2710
lea edx, [esp + 0xbf0]
push edx
push 0xc
lea eax, [esp + 0x34]
push eax
push 0x2d1400
push ebp
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4c3d89
mov edx, dword [esp + 0xbf4]
lea ecx, [esp + 0x414]
push ecx
push ebx
push edx
lea eax, [esp + 0xbf0]
push eax
mov ecx, edi
call fcn.004c38f0
mov edx, dword [esp + 0xbf8]
lea ecx, [esp + 0x7fc]
push ecx
push ebx
push edx
lea eax, [esp + 0xbf0]
push eax
mov ecx, edi
call fcn.004c38f0
mov edx, dword [esp + 0xbfc]
lea ecx, [esp + 0x2c]
push ecx
push 1
push edx
lea eax, [esp + 0xbf0]
push eax
mov ecx, edi
call fcn.004c38f0
movzx ecx, byte [esp + 0x2c]
push ecx
call fcn.006223a5
add esp, 4
test eax, eax
jne 0x4c3ca4
movzx edx, byte [esp + 0x3f]
push edx
call fcn.006223a5
add esp, 4
test eax, eax
je 0x4c3d89
lea ecx, [esp + 0x14]
call fcn.00402510
mov byte [esp + 0x3300], 1
lea eax, [esp + 0x414]
push eax
lea ecx, [esp + 0x18]
push 0x678ea8
push ecx
call fcn.00402f80
add esp, 0xc
push 0x67997c
push 0x678e14
lea ecx, [esp + 0x1c]
call fcn.00402c20
mov ecx, dword [esp + 0x14]
mov eax, ecx
lea esi, [eax + 1]
jmp 0x4c3cf0
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4c3cf0
sub eax, esi
cmp eax, 0x30
jbe 0x4c3d44
mov esi, dword [ecx - 0xc]
cmp esi, 0x30
jg 0x4c3d10
push 0x80070057
call fcn.00401090
cmp dword [ecx - 4], 1
jle 0x4c3d26
mov edx, esi
push edx
lea ecx, [esp + 0x18]
call fcn.00401730
mov ecx, dword [esp + 0x14]
cmp esi, ebx
mov byte [ecx + 0x30], bl
jl 0x4c3d06
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x4c3d06
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x14]
mov byte [esi + eax], bl
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x800]
push eax
push ecx
lea esi, [edi + 4]
push str._s__s__s
push esi
call fcn.00402f80
add esp, 0x14
push 0x67997c
push 0x678e14
mov ecx, esi
call fcn.00402c20
mov esi, 1
mov byte [esp + 0x3300], bl
lea ecx, [esp + 0x14]
call fcn.00402580
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x3300], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00402580
mov eax, esi
mov ecx, dword [esp + 0x32f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x32e0]
xor ecx, esp
call fcn.0062023e
add esp, 0x32f0
ret 4