Function at 0x45b820
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x45b828
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 0x45c3d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x45c3ec
call fcn.004045b8
lea eax, [ebp - 0xc]
mov ecx, 0x45c450
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 0x45b895
sub eax, 1
jne 0x45c3b8
push dword [ebp - 4]
push 0x45c45c
push 0x45c470
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004048e4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.00407a18
mov eax, dword [ebp - 8]
call fcn.00407e74
test al, al
jne 0x45b8fb
push 1
push 0x96
push 0x222e1
push dword [ebp - 4]
push 0x45c45c
push 0x45c484
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.00407de0
mov byte [edi], al
push dword [ebp - 4]
push 0x45c45c
push 0x45c484
lea eax, [ebp - 8]
mov edx, 3
call fcn.004048e4
mov eax, ebx
mov edx, 0x45c498
call fcn.004045b8
push 1
push 0x96
push 0x222e1
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00407de0
test al, al
mov eax, dword [ebp - 8]
call fcn.00408ca8
mov byte [edi], al
mov eax, ebx
mov edx, 0x45c570
call fcn.004045b8
push dword [ebp - 4]
push 0x45c45c
push 0x45c5e4
lea eax, [ebp - 8]
mov edx, 3
call fcn.004048e4
mov eax, dword [ebp - 8]
call fcn.00407e74
test al, al
jne 0x45b9ac
push 1
push 0x96
push 0x222e1
push dword [ebp - 4]
push 0x45c45c
push 0x45c5fc
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.00407de0
mov byte [edi], al
push dword [ebp - 4]
push 0x45c45c
push 0x45c5fc
lea eax, [ebp - 8]
mov edx, 3
call fcn.004048e4
mov eax, ebx
mov edx, 0x45c610
call fcn.004045b8
push 1
push 0x96
push 0x222e1
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00407de0
test al, al
mov eax, dword [ebp - 8]
call fcn.00408ca8
mov byte [edi], al
mov eax, ebx
mov edx, 0x45c69c
call fcn.004045b8
push dword [ebp - 4]
push 0x45c45c
push 0x45c704
lea eax, [ebp - 8]
mov edx, 3
call fcn.004048e4
mov eax, dword [ebp - 8]
call fcn.00407e74
test al, al
jne 0x45bb86
push 1
push 0x96
push 0x222e1
mov ecx, 0x45c704
lea eax, [ebp - 0x1c]
mov edx, dword [0x467048]
call fcn.00404870
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00407de0
test al, al
je 0x45ba66
mov eax, dword [ebp - 8]
call fcn.00408ca8
mov byte [edi], al
push dword [ebp - 4]
push 0x45c45c
push 0x45c718
lea eax, [ebp - 8]
mov edx, 3
call fcn.004048e4
mov eax, ebx
mov edx, 0x45c72c
call fcn.004045b8
push 1
push 0x96
push 0x222e1
mov ecx, 0x45c718
lea eax, [ebp - 0x20]
mov edx, dword [0x467048]
call fcn.00404870
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00407de0
test al, al
je 0x45bac6
mov eax, dword [ebp - 8]
call fcn.00408ca8
mov byte [edi], al
push dword [ebp - 4]
push 0x45c45c
push 0x45c7c0
lea eax, [ebp - 8]
mov edx, 3
call fcn.004048e4
mov eax, ebx
mov edx, 0x45c7d4
call fcn.004045b8
push 1
push 0x96
push 0x222e1
mov ecx, 0x45c7c0
lea eax, [ebp - 0x24]
mov edx, dword [0x467048]
call fcn.00404870
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00407de0
test al, al
je 0x45bb26
mov eax, dword [ebp - 8]
call fcn.00408ca8
mov byte [edi], al
mov eax, ebx
mov edx, 0x45c86c
call fcn.004045b8
push dword [ebp - 4]
push 0x45c45c
push 0x45c928
lea eax, [ebp - 8]
mov edx, 3
call fcn.004048e4
push 1
push 0x96
push 0x222e1
mov ecx, 0x45c928
lea eax, [ebp - 0x28]
mov edx, dword [0x467048]
call fcn.00404870
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00407de0
test al, al
je 0x45bb86
mov eax, dword [ebp - 8]
call fcn.00408ca8
mov byte [edi], al
mov eax, ebx
mov edx, 0x45c93c
call fcn.004045b8
push dword [ebp - 4]
push 0x45ca04
push 0x45ca10
push 0x45ca20
push 0x45c470
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.004048e4
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 8]
call fcn.00407a18
mov eax, ebx
mov edx, 0x45ca34
call fcn.004045b8
mov edx, dword [ebp - 8]
mov eax, dword [0x467048]
call fcn.00404b68
test eax, eax
jne 0x45bee8
mov eax, dword [ebp - 8]
call fcn.00407e74
test al, al
jne 0x45bc2b
push 1
push 0x96
push 0x222e1
push dword [ebp - 4]
push 0x45ca04
push 0x45ca10
push 0x45ca20
push 0x45c484
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.00407de0
push dword [ebp - 4]
push 0x45ca04
push 0x45ca10
push 0x45ca20
push 0x45c484
lea eax, [ebp - 8]
mov edx, 5
call fcn.004048e4
push 1
push 0x96
push 0x222e1
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00407de0
test al, al
je 0x45bc75
mov eax, dword [ebp - 8]
call fcn.00408ca8
mov byte [edi], al
mov eax, ebx
mov edx, 0x45c3ec
call fcn.004045b8
push dword [ebp - 4]
push 0x45ca04
push 0x45ca10
push 0x45ca20
push 0x45c5e4
lea eax, [ebp - 8]
mov edx, 5
call fcn.004048e4
mov eax, dword [ebp - 8]
call fcn.00407e74
test al, al
jne 0x45bcee
push 1
push 0x96
push 0x222e1
push dword [ebp - 4]
push 0x45ca04
push 0x45ca10
push 0x45ca20
push 0x45c5fc
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.00407de0
push 1
push 0x96
push 0x222e1
push dword [ebp - 4]
push 0x45ca04
push 0x45ca10
push 0x45ca20
push 0x45c5fc
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.004048e4
mov edx, dword [ebp - 0x38]
mov cl, 1
mov eax, dword [esi]
call fcn.00407de0
test al, al
je 0x45bd5c
push dword [ebp - 4]
push 0x45ca04
push 0x45ca10
push 0x45ca20
push 0x45c5fc
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.004048e4
mov eax, dword [ebp - 0x3c]
call fcn.00408ca8
mov byte [edi], al
push dword [ebp - 4]
push 0x45ca04
push 0x45ca10
push 0x45c704
lea eax, [ebp - 8]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 8]
call fcn.00407e74
test al, al
jne 0x45bedc
push 1
push 0x96
push 0x222e1
mov ecx, 0x45c704
lea eax, [ebp - 0x40]
mov edx, dword [0x467048]
call fcn.00404870
mov eax, dword [ebp - 0x40]
sal byte [ecx - 0x7aa74ff], 0xe8
sub eax, eax
cli
invalid
test al, al
je 0x45bdc5
mov eax, dword [ebp - 8]