Function at 0x43b8f0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573950
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5bb250]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0xc]
xor al, al
mov edi, dword [ebp + 8]
test esi, esi
je 0x43bbd2
mov ecx, esi
mov byte [ebp - 0x69], al
mov byte [ebp - 0x71], al
call fcn.0043a380
cmp word [edi], 0
jne 0x43b945
xor ecx, ecx
jmp 0x43b95f
mov ecx, edi
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b950
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.004203d0
cmp dword [esi + 0x14], 8
jb 0x43b972
mov eax, dword [esi]
jmp 0x43b974
mov eax, esi
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x78], edi
cmp edi, 0xffffffff
jne 0x43b998
xor al, al
jmp 0x43bbd2
push 0
lea eax, [ebp - 0x80]
mov dword [ebp - 0x50], 0
push eax
push 0x18
lea eax, [ebp - 0x50]
mov dword [ebp - 0x3c], 0
push eax
push 0
push 0
push 0x70000
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
push edi
movdqu xmmword [ebp - 0x4c], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43bbc8
mov eax, dword [ebp - 0x48]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
push 0xa000
mov dword [esi + 0x78], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 0
call fcn.00520986
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 0xffffffff
push 0xa000
push 0
push eax
call fcn.0053ca90
add esp, 0xc
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
push 0
push eax
push 0x9fff
push dword [ebp - 0x70]
lea eax, [ebp - 0x20]
push 0xc
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43bb46
mov eax, dword [ebp - 0x70]
mov byte [eax + 0x9fff], 0
mov ecx, dword [ebp - 0x70]
mov eax, ecx
mov dword [ebp - 0x78], eax
test ecx, ecx
je 0x43bb49
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x43baaa
cmp edx, 0xa000
jae 0x43baaa
add edx, ecx
lea ecx, [ebp - 0x38]
call fcn.004145d0
push eax
lea ecx, [esi + 0x30]
call fcn.0041b830
lea ecx, [ebp - 0x38]
call fcn.0041fb90
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
mov edx, dword [eax + 0x18]
test edx, edx
je 0x43bada
cmp edx, 0xa000
jae 0x43bada
add edx, ecx
lea ecx, [ebp - 0x38]
call fcn.004145d0
push eax
lea ecx, [esi + 0x18]
call fcn.0041b830
lea ecx, [ebp - 0x38]
call fcn.0041fb90
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x43bb0a
cmp edx, 0xa000
jae 0x43bb0a
add edx, ecx
lea ecx, [ebp - 0x38]
call fcn.004145d0
push eax
lea ecx, [esi + 0x48]
call fcn.0041b830
lea ecx, [ebp - 0x38]
call fcn.0041fb90
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
mov edx, dword [eax + 0x14]
test edx, edx
je 0x43bb3a
cmp edx, 0xa000
jae 0x43bb3a
add edx, ecx
lea ecx, [ebp - 0x38]
call fcn.004145d0
push eax
lea ecx, [esi + 0x60]
call fcn.0041b830
lea ecx, [ebp - 0x38]
call fcn.0041fb90
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x7c], eax
mov byte [ebp - 0x69], 1
jmp 0x43bb49
mov ecx, dword [ebp - 0x70]
push 0xa000
push 0
push ecx
call fcn.0053ca90
add esp, 0xc
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
push 0
push eax
push 0x9fff
push dword [ebp - 0x70]
push 0
push 0
push 0x2d0c10
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43bbac
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x68]
mov byte [eax + 0x9fff], 0
call fcn.004145d0
push eax
lea ecx, [esi + 0x18]
call fcn.0041b830
lea ecx, [ebp - 0x68]
call fcn.0041fb90
mov byte [ebp - 0x69], 1
push dword [ebp - 0x70]
call fcn.0053c06b
add esp, 4
jmp 0x43bbc8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x69]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret 8