Function at 0x45bd18
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x45bd20
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a14
mov ebx, 0x467080
mov esi, 0x467054
mov edi, 0x4670cb
xor eax, eax
push ebp
push 0x45c8a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x45c8c0
call fcn.004045b8
lea eax, [ebp - 0xc]
mov ecx, 0x45c998
mov edx, dword [ebp - 4]
call fcn.00404870
mov eax, dword [ebp - 0xc]
call fcn.00404a24
push eax
call sub.kernel32.dll_GetDriveTypeA
add eax, 0xfffffffe
sub eax, 3
jb 0x45bd8d
sub eax, 1
jne 0x45c88c
push dword [ebp - 4]
push 0x45c9a4
push 0x45c9b8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004048e4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.00407a28
mov eax, dword [ebp - 8]
call fcn.00407e84
test al, al
jne 0x45bdf3
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x45c9a4
push 0x45c9cc
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004048e4
mov eax, dword [ebp - 0x14]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00407df0
mov byte [edi], al
push dword [ebp - 4]
push 0x45c9a4
push 0x45c9cc
lea eax, [ebp - 8]
mov edx, 3
call fcn.004048e4
mov eax, ebx
mov edx, 0x45c9e0
call fcn.004045b8
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00407df0
test al, al
mov eax, dword [ebp - 8]
call fcn.00408d3c
mov byte [edi], al
mov eax, ebx
mov edx, 0x45ca10
call fcn.004045b8
push dword [ebp - 4]
push 0x45c9a4
push 0x45ca54
lea eax, [ebp - 8]
mov edx, 3
call fcn.004048e4
mov eax, dword [ebp - 8]
call fcn.00407e84
test al, al
jne 0x45bea4
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x45c9a4
push 0x45ca6c
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004048e4
mov eax, dword [ebp - 0x18]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00407df0
mov byte [edi], al
push dword [ebp - 4]
push 0x45c9a4
push 0x45ca6c
lea eax, [ebp - 8]
mov edx, 3
call fcn.004048e4
mov eax, ebx
mov edx, 0x45ca80
call fcn.004045b8
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00407df0
test al, al
mov eax, dword [ebp - 8]
call fcn.00408d3c
mov byte [edi], al
push dword [ebp - 4]
push 0x45c9a4
push 0x45cb24
lea eax, [ebp - 8]
mov edx, 3
push dword [ebp - 4]
push 0x45cd10
push 0x45cd1c
push 0x45cd2c
push 0x45c9b8
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.004048e4
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 8]
call fcn.00407a28
mov edx, dword [ebp - 8]
mov eax, dword [0x467048]
call fcn.00404b68
test eax, eax
jne 0x45c3bc
mov eax, dword [ebp - 8]
call fcn.00407e84
test al, al
jne 0x45c0ff
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x45cd10
push 0x45cd1c
push 0x45cd2c
push 0x45c9cc
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.004048e4
mov eax, dword [ebp - 0x30]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00407df0
push dword [ebp - 4]
push 0x45cd10
push 0x45cd1c
push 0x45cd2c
push 0x45c9cc
lea eax, [ebp - 8]
mov edx, 5
call fcn.004048e4
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00407df0
test al, al
je 0x45c149
mov eax, dword [ebp - 8]
call fcn.00408d3c
mov byte [edi], al
mov eax, ebx
mov edx, 0x45cd40
call fcn.004045b8
push dword [ebp - 4]
push 0x45cd10
push 0x45cd1c
push 0x45cd2c
push 0x45ca54
lea eax, [ebp - 8]
mov edx, 5
call fcn.004048e4
mov eax, dword [ebp - 8]
call fcn.00407e84
test al, al
jne 0x45c1c2
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x45cd10
push 0x45cd1c
push 0x45cd2c
push 0x45ca6c
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.004048e4
mov eax, dword [ebp - 0x34]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00407df0
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x45cd10
push 0x45cd1c
push 0x45cd2c
push 0x45ca6c
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.004048e4
mov edx, dword [ebp - 0x38]
mov cl, 1
mov eax, dword [esi]
call fcn.00407df0
test al, al
je 0x45c230
push dword [ebp - 4]
push 0x45cd10
push 0x45cd1c
push 0x45cd2c
push 0x45ca6c
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.004048e4
mov eax, dword [ebp - 0x3c]
call fcn.00408d3c
mov byte [edi], al
mov eax, ebx
mov edx, 0x45ca10
call fcn.004045b8
push dword [ebp - 4]
push 0x45cd10
push 0x45cd1c
push 0x45cb24
lea eax, [ebp - 8]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 8]
call fcn.00407e84
test al, al
jne 0x45c3b0
push 1
push 0x96
push 0x7a120
mov ecx, 0x45cb24
lea eax, [ebp - 0x40]
mov edx, dword [0x467048]
call fcn.00404870
mov eax, dword [ebp - 0x40]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00407df0
test al, al
je 0x45c2a5
mov eax, dword [ebp - 8]
call fcn.00408d3c
mov byte [edi], al
push dword [ebp - 4]
push 0x45cd10
push 0x45cd1c
push 0x45cb38
lea eax, [ebp - 8]
mov edx, 4
call fcn.004048e4
push 1
push 0x96
push 0x7a120
mov ecx, 0x45cb38
lea eax, [ebp - 0x44]
mov edx, dword [0x467048]
call fcn.00404870
mov eax, dword [ebp - 0x44]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00407df0
test al, al
je 0x45c2fe
mov eax, dword [ebp - 8]
call fcn.00408d3c
mov byte [edi], al
push dword [ebp - 4]
push 0x45cd10
push 0x45cd1c
push 0x45cb24
lea eax, [ebp - 8]
mov edx, 4
call fcn.004048e4
push 1
push 0x96
push 0x7a120
mov ecx, 0x45cc04
lea eax, [ebp - 0x48]
mov edx, dword [0x467048]
call fcn.00404870
mov eax, dword [ebp - 0x48]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00407df0
test al, al
je 0x45c357
mov eax, dword [ebp - 8]
call fcn.00408d3c
mov byte [edi], al
push dword [ebp - 4]
push 0x45cd10
push 0x45cd1c
push 0x45cb38
lea eax, [ebp - 8]
mov edx, 4
call fcn.004048e4
push 1
push 0x96
push 0x7a120
mov ecx, 0x45ccfc
lea eax, [ebp - 0x4c]
mov edx, dword [0x467048]
call fcn.00404870
mov eax, dword [ebp - 0x4c]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00407df0
test al, al
je 0x45c3b0
mov eax, dword [ebp - 8]
call fcn.00408d3c
mov byte [edi], al
mov eax, ebx
mov edx, 0x45cd8c
call fcn.004045b8
mov eax, ebx
mov edx, 0x45ce30
call fcn.004045b8
push dword [ebp - 4]
push 0x45c9a4
push 0x45cd2c
push 0x45c9b8
lea eax, [ebp - 0x50]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 8]
call fcn.00407a28
mov eax, ebx
mov edx, 0x45ce48
call fcn.004045b8
mov edx, dword [ebp - 8]
mov eax, dword [0x467048]
call fcn.00404b68
test eax, eax
jne 0x45c552
mov eax, dword [ebp - 8]
call fcn.00407e84
test al, al
jne 0x45c459
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x45c9a4
push 0x45cd2c
push 0x45c9cc
lea eax, [ebp - 0x54]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 0x54]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00407df0
mov byte [edi], al
push dword [ebp - 4]
push 0x45c9a4
push 0x45cd2c
push 0x45c9cc
lea eax, [ebp - 8]
mov edx, 4
call fcn.004048e4
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00407df0
test al, al
je 0x45c49e
mov eax, dword [ebp - 8]
call fcn.00408d3c
mov byte [edi], al
mov eax, ebx
mov edx, 0x45cec4
call fcn.004045b8
push dword [ebp - 4]
push 0x45c9a4
push 0x45cd2c
push 0x45ca54
lea eax, [ebp - 8]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 8]
call fcn.00407e84
test al, al
jne 0x45c50d
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x45c9a4
push 0x45cd2c
push 0x45ca6c
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 0x58]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00407df0
mov eax, ebx
mov edx, 0x45cef0
call fcn.004045b8
push dword [ebp - 4]
push 0x45c9a4
push 0x45cd2c
push 0x45ca6c
lea eax, [ebp - 8]
mov edx, 4
call fcn.004048e4
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00407df0
mov byte [edi], al
push dword [ebp - 4]
push 0x45cf54
push 0x45cf80
or bh, 0x45
add byte [eax - 0x74], ch
iretd
inc ebp
add bh, bh
xor eax, 0x467084
push 0x45cf9c
lea eax, [ebp - 8]
mov edx, 6
call fcn.004048e4
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00407df0
test al, al
je 0x45c5a2
mov eax, dword [ebp - 8]
call fcn.00408d3c
mov byte [edi], al
push dword [ebp - 4]
push 0x45cf54
push dword [0x467084]
push 0x45cf9c
lea eax, [ebp - 8]
mov edx, 4
call fcn.004048e4
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00407df0
test al, al
je 0x45c5e8
mov eax, dword [ebp - 8]
call fcn.00408d3c
mov byte [edi], al
push dword [ebp - 4]
push 0x45cf54
push 0x45cf80
push 0x45cf8c
push dword [0x467088]
push 0x45cf9c
lea eax, [ebp - 8]
mov edx, 6
call fcn.004048e4
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00407df0
test al, al
je 0x45c638
mov eax, dword [ebp - 8]
call fcn.00408d3c
mov byte [edi], al
mov eax, ebx
mov edx, 0x45cfbc
call fcn.004045b8
push dword [ebp - 4]
push 0x45cf54
push dword [0x467088]
push 0x45cf9c
lea eax, [ebp - 8]
mov edx, 4
call fcn.004048e4
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00407df0
test al, al
je 0x45c68a
mov eax, dword [ebp - 8]
call fcn.00408d3c
mov byte [edi], al
mov eax, ebx
mov edx, 0x45cff8
call fcn.004045b8
push dword [ebp - 4]
push 0x45cf54
push 0x45d0cc
push dword [0x467084]
push 0x45cf9c
lea eax, [ebp - 8]
mov edx, 5
call fcn.004048e4
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00407df0
test al, al
je 0x45c6e1
mov eax, dword [ebp - 8]
call fcn.00408d3c
mov byte [edi], al
push dword [ebp - 4]
push 0x45cf54
push dword [0x467084]
push 0x45cf9c
lea eax, [ebp - 8]
mov edx, 4
call fcn.004048e4
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00407df0
test al, al
je 0x45c727
mov eax, dword [ebp - 8]
call fcn.00408d3c
mov byte [edi], al
push dword [ebp - 4]
push 0x45cf54
push 0x45d0cc
push dword [0x467088]
push 0x45cf9c
lea eax, [ebp - 8]
mov edx, 5
call fcn.004048e4
mov eax, ebx
mov edx, 0x45d0dc
call fcn.004045b8
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00407df0
test al, al
je 0x45c77e
mov eax, dword [ebp - 8]
call fcn.00408d3c
mov byte [edi], al
push dword [ebp - 4]
push 0x45cf54
push dword [0x467088]
push 0x45cf9c
lea eax, [ebp - 8]
mov edx, 4
call fcn.004048e4
mov eax, ebx
mov edx, 0x45d120
call fcn.004045b8
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00407df0
test al, al
mov eax, dword [ebp - 8]
call fcn.00408d3c
mov byte [edi], al
mov eax, ebx
mov edx, 0x45d1f4
call fcn.004045b8
push dword [ebp - 4]
push 0x45c998
push 0x45cf8c
push dword [0x467084]
push 0x45cf9c
lea eax, [ebp - 8]
mov edx, 5
call fcn.004048e4
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00407df0
mov eax, dword [ebp - 8]
call fcn.00408d3c
mov byte [edi], al
mov eax, ebx
mov edx, 0x45d234
call fcn.004045b8
push dword [ebp - 4]
push 0x45c998
push 0x45cf8c
push dword [0x467088]
push 0x45cf9c
lea eax, [ebp - 8]
mov edx, 5
call fcn.004048e4
mov eax, ebx
mov edx, 0x45cec4
call fcn.004045b8
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00407df0
mov eax, dword [ebp - 8]
call fcn.00408d3c
mov byte [edi], al
mov eax, ebx
mov edx, 0x45d2fc
call fcn.004045b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c8ae
lea eax, [ebp - 0x58]
mov edx, 0x16
call fcn.00404588
ret