Function at 0x43d4f0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37cc
call fcn.0045c430
mov eax, dword [0x4a8800]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x108]
push ebx
push str..PhysicalDrive_d
push 0x100
push eax
mov esi, ecx
call fcn.0045cb88
add esp, 0x10
lea eax, [ebp - 0x108]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43d58b
add esi, 0x800
mov ecx, 0x100
mov eax, esi
mov byte [eax], bl
lea eax, [eax + 1]
dec ecx
jne 0x43d551
lea eax, [ebp - 0x108]
push eax
push 0x144
push str._d_ReadPhysicalDriveInNTWithZeroRights_ERROR_CreateFileA__s__returned_INVALID_HANDLE_VALUE
push 0x100
push esi
call fcn.0045cb88
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b1f5
mov esp, ebp
pop ebp
ret
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 0x37c8], ebx
lea eax, [ebp - 0x37b8]
movq qword [ebp - 0x37c4], xmm0
push 0
push eax
mov dword [ebp - 0x37bc], ebx
mov dword [ebp - 0x37c4], ebx
mov dword [ebp - 0x37c0], ebx
call fcn.0045c460
add esp, 0xc
lea eax, [ebp - 0x37c8]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0xc
lea eax, [ebp - 0x37c4]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43d74d
mov ecx, dword [ebp - 0x37ac]
mov byte [ebp - 0xcc0], bl
test ecx, ecx
jle 0x43d619
lea eax, [ebp - 0xcc0]
push eax
lea eax, [ebp - 0x37b8]
push eax
call fcn.0043d3b0
mov ecx, dword [ebp - 0x37a8]
mov byte [ebp - 0x8d8], bl
test ecx, ecx
jle 0x43d63c
lea eax, [ebp - 0x8d8]
push eax
lea eax, [ebp - 0x37b8]
push eax
call fcn.0043d3b0
mov ecx, dword [ebp - 0x37a4]
mov byte [ebp - 0x10a8], bl
test ecx, ecx
jle 0x43d65f
lea eax, [ebp - 0x10a8]
push eax
lea eax, [ebp - 0x37b8]
push eax
call fcn.0043d3b0
mov ecx, dword [ebp - 0x37a0]
xor al, al
mov byte [ebp - 0x4f0], al
test ecx, ecx
jle 0x43d68a
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x37b8]
push eax
call fcn.0043d3b0
mov al, byte [ebp - 0x4f0]
cmp byte [esi], bl
jne 0x43d6ea
cbw
movzx eax, ax
push eax
call fcn.0045a6e8
add esp, 4
test eax, eax
jne 0x43d6b8
movsx ax, byte [ebp - 0x4dd]
movzx eax, ax
push eax
call fcn.0045a6e8
add esp, 4
test eax, eax
je 0x43d6ea
lea eax, [ebp - 0x4f0]
push eax
push 0x400
push esi
call fcn.004601aa
lea eax, [ebp - 0x8d8]
push eax
lea eax, [esi + 0x400]
push 0x400
push eax
call fcn.004601aa
add esp, 0x18
mov ebx, 1
push 0x2710
lea eax, [ebp - 0x37b8]
push 0
push eax
call fcn.0045c460
add esp, 0xc
lea eax, [ebp - 0x37c8]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0
push 0
push 0x700a0
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x43d777
add esi, 0x800
mov ecx, 0x100
mov eax, esi
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x43d736
lea eax, [ebp - 0x108]
push eax
push str._s_ReadPhysicalDriveInNTWithZeroRights_ERROR_DeviceIoControl____IOCTL_DISK_GET_DRIVE_GEOMETRY_EX__returned_0
jmp 0x43d76e
call dword [sym.imp.KERNEL32.dll_GetLastError]
add esi, 0x800
mov edx, 0x100
mov ecx, esi
mov byte [ecx], bl
lea ecx, [ecx + 1]
dec edx
jne 0x43d760
push eax
push str.DeviceIOControl_IOCTL_STORAGE_QUERY_PROPERTY_error___d_n
push esi
call fcn.0043df60
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045b1f5
mov esp, ebp
pop ebp
ret