Function at 0x43b9c0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574d10
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5bd250]
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 0x43bca2
mov ecx, esi
mov byte [ebp - 0x69], al
mov byte [ebp - 0x71], al
call fcn.0043a450
cmp word [edi], 0
jne 0x43ba15
xor ecx, ecx
jmp 0x43ba2f
mov ecx, edi
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ba20
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.00420490
cmp dword [esi + 0x14], 8
jb 0x43ba42
mov eax, dword [esi]
jmp 0x43ba44
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 0x43ba68
xor al, al
jmp 0x43bca2
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 0x43bc98
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.00521d36
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 0xffffffff
push 0xa000
push 0
push eax
call fcn.0053e230
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 0x43bc16
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 0x43bc19
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x43bb7a
cmp edx, 0xa000
jae 0x43bb7a
add edx, ecx
lea ecx, [ebp - 0x38]
call fcn.004145d0
push eax
lea ecx, [esi + 0x30]
call fcn.0041b880
lea ecx, [ebp - 0x38]
call fcn.0041fc50
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
mov edx, dword [eax + 0x18]
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 + 0x18]
call fcn.0041b880
lea ecx, [ebp - 0x38]
call fcn.0041fc50
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
mov edx, dword [eax + 0xc]
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 + 0x48]
call fcn.0041b880
lea ecx, [ebp - 0x38]
call fcn.0041fc50
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
mov edx, dword [eax + 0x14]
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 + 0x60]
call fcn.0041b880
lea ecx, [ebp - 0x38]
call fcn.0041fc50
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 0x43bc19
mov ecx, dword [ebp - 0x70]
push 0xa000
push 0
push ecx
call fcn.0053e230
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 0x43bc7c
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.0041b880
lea ecx, [ebp - 0x68]
call fcn.0041fc50
mov byte [ebp - 0x69], 1
push dword [ebp - 0x70]
call fcn.0053d801
add esp, 4
jmp 0x43bc98
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.0053f9bc
mov esp, ebp
pop ebp
ret 8