Function at 0x455e68
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
xor ebx, ebx
push 0x1410
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.00446437
mov esi, dword [ebp - 0x1c]
lea eax, [esi + 0x800]
push 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
lea edi, [esi + 0x400]
mov dword [ebp - 0x18], eax
mov byte [ebp - 2], bl
mov byte [ebp - 3], bl
mov byte [ebp - 1], bl
call fcn.004b4520
push 0x28
push ebx
push edi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov byte [esi + 8], bl
call fcn.004b4520
add esp, 0x18
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x828
push edi
push 0xc
push esi
push 0x2d1400
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, ebx
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], ecx
jg 0x455ef0
mov dword [edi + 0x18], ebx
mov dword [edi + 0x10], ebx
cmp byte [0x4e2e78], bl
je 0x455f1a
push dword [edi + 0x18]
push dword [edi + 0x10]
push eax
push ecx
push dword [ebp + 0x14]
push 0x36a5
push str.DBGG__d__d__d:__d__d__d_r_n
push 0x4e3110
call fcn.00411365
add esp, 0x20
mov eax, dword [ebp + 0x10]
mov word [eax], 0x22
mov ecx, dword [edi + 0x10]
inc eax
inc eax
cmp ecx, ebx
mov dword [ebp + 0x10], eax
jbe 0x455f46
mov eax, dword [edi + 4]
sub eax, ecx
push eax
add ecx, edi
push ecx
lea eax, [ebp + 0x10]
push eax
call fcn.00443bb0
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov word [eax], 0x22
inc eax
inc eax
mov word [eax], 0x20
inc eax
inc eax
mov word [eax], 0x22
mov ecx, dword [edi + 0x18]
inc eax
inc eax
cmp ecx, ebx
mov dword [ebp + 0x10], eax
jbe 0x455f7d
mov eax, dword [edi + 4]
sub eax, ecx
push eax
add ecx, edi
push ecx
lea eax, [ebp + 0x10]
push eax
call fcn.00443bb0
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov word [eax], 0x22
inc eax
inc eax
cmp dword [ebp + 0x14], ebx
mov dword [ebp + 0x10], eax
mov word [eax], bx
je 0x456024
movzx ecx, byte [edi + 0xb]
push ecx
movzx ecx, byte [edi + 0xa]
push ecx
movzx ecx, byte [edi + 9]
push ecx
movzx ecx, byte [edi + 8]
push ecx
push dword [edi]
push str.__d__d__d__d__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 0x10]
lea eax, [ecx + eax*2]
mov ecx, dword [edi + 0xc]
add esp, 0x1c
cmp ecx, ebx
mov dword [ebp + 0x10], eax
jbe 0x455fe0
mov eax, dword [edi + 4]
sub eax, ecx
push eax
add ecx, edi
push ecx
lea eax, [ebp + 0x10]
push eax
call fcn.00443bb0
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov word [eax], 0x22
push 2
pop esi
add eax, esi
mov word [eax], 0x20
add eax, esi
mov word [eax], 0x22
mov ecx, dword [edi + 0x14]
add eax, esi
cmp ecx, ebx
mov dword [ebp + 0x10], eax
jbe 0x45601a
mov eax, dword [edi + 4]
sub eax, ecx
push eax
add ecx, edi
push ecx
lea eax, [ebp + 0x10]
push eax
call fcn.00443bb0
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov word [eax], 0x22
jmp 0x456468
cmp dword [ebp - 0x14], 0x11
je 0x45629d
cmp dword [ebp - 0x14], 7
je 0x45603e
cmp dword [ebp - 0x14], 5
jne 0x4561a9
push 0x2c
push ebx
push dword [ebp - 0xc]
mov byte [ebp - 3], 1
call fcn.004b4520
push 0x2c
push ebx
push esi
call fcn.004b4520
push 0x100
push ebx
push edi
call fcn.004b4520
add esp, 0x24
push ebx
lea eax, [ebp - 0x10]
push eax
push 0xf4
push esi
push 0x2c
push esi
push 0x4d014
push dword [ebp + 8]
mov word [esi], 0x2c
mov byte [esi + 6], 6
mov byte [esi + 8], 1
mov dword [esi + 0xc], 0x100
mov dword [esi + 0x10], 2
mov dword [esi + 0x14], edi
mov byte [esi + 0x1c], 0x12
mov byte [esi + 0x20], 0xc8
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 4
mov dword [ebp + 0x14], eax
movzx eax, byte [esi + 2]
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
call fcn.004b4520
mov eax, dword [ebp - 0xc]
push 0x2c
push ebx
push esi
mov dword [eax + 4], ebx
call fcn.004b4520
mov eax, dword [ebp - 0xc]
add esp, 0x18
push ebx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x20]
push eax
push 0xf4
push esi
push 0x2c
push esi
mov word [esi], 0x2c
mov byte [esi + 6], 6
mov byte [esi + 8], 1
mov dword [esi + 0xc], 0x100
mov dword [esi + 0x10], 2
or byte [esi + 0x1d], 1
push 0x4d014
push dword [ebp + 8]
mov byte [esi + 0x1c], 0x12
mov byte [esi + 0x1e], 0x80
mov dword [ebp - 0x20], ebx
mov byte [esi + 0x20], 0xc8
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp dword [ebp + 0x14], ebx
mov dword [ebp - 8], eax
movzx eax, byte [esi + 2]
jne 0x45612d
mov byte [edi + 0x10], bl
cmp dword [ebp - 8], ebx
mov ecx, dword [ebp - 0xc]
jne 0x456138
mov byte [ecx + 4], bl
cmp dword [ebp + 0x14], ebx
jle 0x456157
cmp dword [ebp - 8], ebx
jle 0x456157
cmp byte [ecx + 3], bl
jbe 0x456157
cmp dword [ebp - 0x14], ebx
jne 0x456157
cmp eax, ebx
mov dword [ebp + 0x10], 1
je 0x45615a
mov dword [ebp + 0x10], ebx
cmp byte [0x4e2e78], bl
je 0x45618e
push eax
push dword [ebp - 0x14]
movzx eax, byte [ecx + 3]
push eax
push dword [ebp + 0x10]
push dword [ebp - 8]
push dword [ebp + 0x14]
push 0x3742
push str.DBGS__d:__d__d__d__d__d__d_r_n
push 0x4e3110
call fcn.00411365
mov ecx, dword [ebp - 0xc]
add esp, 0x24
cmp dword [ebp + 0x10], ebx
jne 0x45639f
cmp byte [ebp - 1], bl
je 0x45629d
cmp byte [ebp - 2], bl
jne 0x45646d
push 0x400
push ebx
push edi
mov byte [ebp - 2], 1
call fcn.004b4520
push 0x25
push ebx
push esi
call fcn.004b4520
add esp, 0x18
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x400
push edi
push 0x21
push esi
push 0x7c088
push dword [ebp + 8]
mov dword [esi], 0x200
mov byte [esi + 5], 1
mov byte [esi + 6], 1
mov byte [esi + 9], 0xa0
mov byte [esi + 0xa], 0xec
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp byte [0x4e2e78], bl
mov dword [ebp - 8], eax
je 0x456224
movzx ecx, word [edi + 0x46]
push ecx
movzx ecx, word [edi + 0x24]
push ecx
push eax
push 0x36df
push str.DBGA__d:__d_0x_X_0x_X_r_n
push 0x4e3110
call fcn.00411365
add esp, 0x18
cmp dword [ebp - 8], ebx
je 0x456294
lea ecx, [edi + 0x10]
cmp word [ecx + 0x14], 0x2000
jb 0x456294
cmp word [ecx + 0x36], 0x2000
jb 0x456294
mov eax, dword [ebp - 0x18]
mov word [eax], 0x22
add eax, 2
push eax
push 0x2e
push 0x1b
push ecx
call fcn.00443b2c
mov word [eax], 0x22
inc eax
inc eax
mov word [eax], 0x20
inc eax
inc eax
mov word [eax], 0x22
inc eax
inc eax
push eax
push 0x13
mov dword [ebp + 0x10], eax
lea eax, [edi + 0x10]
push 0xa
push eax
call fcn.00443b2c
mov ecx, dword [ebp + 0x10]
mov cx, word [ecx]
mov word [eax], 0x22
add esp, 0x20
inc eax
inc eax
cmp cx, bx
mov word [eax], bx
jne 0x45646d
cmp byte [ebp - 1], bl
jne 0x456391
push 0x1030
push ebx
push esi
mov byte [ebp - 1], 1
call fcn.004b4520
add esp, 0xc
mov dword [esi], 0x31
mov dword [esi + 4], ebx
xor eax, eax
inc eax
push ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x1030
push eax
push esi
push eax
push esi
push 0x2d1400
push dword [ebp + 8]
mov dword [esi + 8], 2
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 0x28
mov dword [esi + 0x1c], 0x1000
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], ebx
mov eax, dword [esi + 0x18]
lea ecx, [eax + esi + 8]
mov dword [ebp + 0x14], ecx
jle 0x456335
cmp dword [esi], 0x30
jne 0x456335
cmp dword [esi + 4], 0x30
jne 0x456335
cmp eax, 0x28
jb 0x456335
cmp dword [esi + 0x1c], 0x1000
jb 0x456335
cmp word [ecx], bx
je 0x456335
cmp dword [ecx + 0x204], ebx
mov dword [ebp + 0x10], 1
jne 0x456338
mov dword [ebp + 0x10], ebx
cmp byte [0x4e2e78], bl
je 0x45637f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax + 0x204]
movzx eax, word [eax]
push eax
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [esi]
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push dword [ebp - 8]
push 0x370b
push str.DBGN__d:__d__d__d___d__d__d__d__d_err_d_r_n
push 0x4e3110
call fcn.00411365
mov ecx, dword [ebp + 0x14]
add esp, 0x30
cmp dword [ebp + 0x10], ebx
jne 0x456415
cmp byte [ebp - 2], bl
je 0x4561a9
cmp byte [ebp - 3], bl
jne 0x456197
jmp 0x45603e
mov eax, dword [ebp - 0x18]
push 0x22
pop esi
mov word [eax], si
add eax, 2
cmp dword [ebp + 0x14], ebx
mov dword [ebp + 0x10], eax
je 0x4563cb
push 0x10
add edi, 0x10
lea eax, [ebp + 0x10]
push edi
push eax
call fcn.00443bb0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov word [eax], si
push 2
pop edi
add eax, edi
mov word [eax], 0x20
add eax, edi
mov word [eax], si
add eax, edi
cmp dword [ebp - 8], ebx
mov dword [ebp + 0x10], eax
mov word [eax], bx
je 0x456408
mov dl, byte [ecx + 3]
cmp dl, bl
jbe 0x456408
movzx eax, dl
push eax
add ecx, 4
push ecx
lea eax, [ebp + 0x10]
push eax
call fcn.00443bb0
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov word [eax], si
add eax, edi
xor esi, esi
mov word [eax], bx
inc esi
jmp 0x456470
mov eax, dword [ebp - 0x18]
push 0x22
pop edi
mov word [eax], di
add eax, 2
push 0x28
add ecx, 0x18
mov dword [ebp + 0x10], eax
push ecx
lea eax, [ebp + 0x10]
push eax
call fcn.00443bb0
mov eax, dword [ebp + 0x10]
mov word [eax], di
push 2
pop esi
add eax, esi
mov word [eax], 0x20
add eax, esi
mov word [eax], di
add eax, esi
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x14]
add eax, 4
push 0x14
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.00443bb0
mov eax, dword [ebp + 0x10]
add esp, 0x18
mov word [eax], di
add eax, esi
mov word [eax], bx
mov esi, dword [ebp - 8]
lea ecx, [ebp - 0x1c]
call fcn.0043fe25
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret