Function at 0x43b9f0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570490
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5b8250]
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 0x43bcd2
mov ecx, esi
mov byte [ebp - 0x69], al
mov byte [ebp - 0x71], al
call fcn.0043a480
cmp word [edi], 0
jne 0x43ba45
xor ecx, ecx
jmp 0x43ba5f
mov ecx, edi
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ba50
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.004204e0
cmp dword [esi + 0x14], 8
jb 0x43ba72
mov eax, dword [esi]
jmp 0x43ba74
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 0x43ba98
xor al, al
jmp 0x43bcd2
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 0x43bcc8
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.0051d4c8
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 0xffffffff
push 0xa000
push 0
push eax
call fcn.005392b0
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 0x43bc46
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 0x43bc49
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x43bbaa
cmp edx, 0xa000
jae 0x43bbaa
add edx, ecx
lea ecx, [ebp - 0x38]
call fcn.004145d0
push eax
lea ecx, [esi + 0x30]
call fcn.0041b940
lea ecx, [ebp - 0x38]
call fcn.0041fca0
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
mov edx, dword [eax + 0x18]
test edx, edx
je 0x43bbda
cmp edx, 0xa000
jae 0x43bbda
add edx, ecx
lea ecx, [ebp - 0x38]
call fcn.004145d0
push eax
lea ecx, [esi + 0x18]
call fcn.0041b940
lea ecx, [ebp - 0x38]
call fcn.0041fca0
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x43bc0a
cmp edx, 0xa000
jae 0x43bc0a
add edx, ecx
lea ecx, [ebp - 0x38]
call fcn.004145d0
push eax
lea ecx, [esi + 0x48]
call fcn.0041b940
lea ecx, [ebp - 0x38]
call fcn.0041fca0
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
mov edx, dword [eax + 0x14]
test edx, edx
je 0x43bc3a
cmp edx, 0xa000
jae 0x43bc3a
add edx, ecx
lea ecx, [ebp - 0x38]
call fcn.004145d0
push eax
lea ecx, [esi + 0x60]
call fcn.0041b940
lea ecx, [ebp - 0x38]
call fcn.0041fca0
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 0x43bc49
mov ecx, dword [ebp - 0x70]
push 0xa000
push 0
push ecx
call fcn.005392b0
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 0x43bcac
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.0041b940
lea ecx, [ebp - 0x68]
call fcn.0041fca0
mov byte [ebp - 0x69], 1
push dword [ebp - 0x70]
call fcn.00538881
add esp, 4
jmp 0x43bcc8
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.0053aa3c
mov esp, ebp
pop ebp
ret 8