Function at 0x4c3b70
Capabilities:
Get storage device properties

Disassembly:
push 0xffffffffffffffff
push 0x651686
mov eax, dword fs:[0]
push eax
mov eax, 0x32e4
call fcn.006218a0
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.00402500
mov dword [esp + 0x3300], ebx
mov eax, dword [esp + 0x3308]
push eax
lea ecx, [esp + 0x1c]
push str..PhysicalDrive_d
push ecx
call fcn.00402f70
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 0x4c3c10
mov dword [esp + 0x3300], eax
lea ecx, [esp + 0x18]
call fcn.00402570
xor eax, eax
jmp 0x4c3df6
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.00620850
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 0x4c3dd9
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.004c3940
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.004c3940
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.004c3940
movzx ecx, byte [esp + 0x2c]
push ecx
call fcn.006222d5
add esp, 4
test eax, eax
jne 0x4c3cf4
movzx edx, byte [esp + 0x3f]
push edx
call fcn.006222d5
add esp, 4
test eax, eax
je 0x4c3dd9
lea ecx, [esp + 0x14]
call fcn.00402500
mov byte [esp + 0x3300], 1
lea eax, [esp + 0x414]
push eax
lea ecx, [esp + 0x18]
push 0x678ea8
push ecx
call fcn.00402f70
add esp, 0xc
push 0x67997c
push 0x678e14
lea ecx, [esp + 0x1c]
call fcn.00402c10
mov ecx, dword [esp + 0x14]
mov eax, ecx
lea esi, [eax + 1]
jmp 0x4c3d40
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4c3d40
sub eax, esi
cmp eax, 0x30
jbe 0x4c3d94
mov esi, dword [ecx - 0xc]
cmp esi, 0x30
jg 0x4c3d60
push 0x80070057
call fcn.00401090
cmp dword [ecx - 4], 1
jle 0x4c3d76
mov edx, esi
push edx
lea ecx, [esp + 0x18]
call fcn.00401720
mov ecx, dword [esp + 0x14]
cmp esi, ebx
mov byte [ecx + 0x30], bl
jl 0x4c3d56
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x4c3d56
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.00402f70
add esp, 0x14
push 0x67997c
push 0x678e14
mov ecx, esi
call fcn.00402c10
mov esi, 1
mov byte [esp + 0x3300], bl
lea ecx, [esp + 0x14]
call fcn.00402570
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x3300], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00402570
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.0062016f
add esp, 0x32f0
ret 4