Function at 0x453da8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45458e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x2a], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd8], 0
jne 0x453e0b
mov eax, dword [ebp - 8]
call fcn.0044a590
call fcn.00408bc4
call fcn.004090f8
mov eax, dword [ebp - 4]
fstp qword [eax + 0xe8]
wait
jmp 0x453e1a
call fcn.00409ebc
mov eax, dword [ebp - 4]
fstp qword [eax + 0xe8]
wait
mov eax, dword [ebp - 4]
call fcn.004546d4
test eax, eax
jle 0x453e6d
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe4], 0
je 0x453e54
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2c], 7
je 0x453e54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe4]
call fcn.004030f8
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xe4], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
call fcn.004030f8
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xe0], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov edx, dword [ebp - 8]
call fcn.0044bce0
mov byte [ebp - 0x29], al
cmp byte [ebp - 0x29], 0
jne 0x453f25
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd8], 0
jne 0x453f25
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.00452c40
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
mov edx, 0x4545a4
call fcn.00408e4c
mov eax, dword [ebp - 0x3c]
call fcn.00408bb4
test al, al
je 0x453f25
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
push 0
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.00452c40
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
mov edx, 0x4545a4
call fcn.00408e4c
mov ecx, dword [ebp - 0x3c]
mov dl, 1
mov eax, dword [0x40f394]
call fcn.004125c0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov edx, dword [ebp - 8]
call fcn.0044bce0
mov byte [ebp - 0x29], al
cmp byte [ebp - 0x29], 0
je 0x453f17
mov byte [ebp - 0x2a], 1
jmp 0x453f25
mov eax, dword [ebp - 8]
call fcn.004030f8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
cmp byte [ebp - 0x29], 0
jne 0x453fe9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x184], 0
jne 0x453f9e
mov eax, dword [ebp - 4]
cmp word [eax + 0x8e], 0
je 0x453f60
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x3c]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x90]
call dword [ebx + 0x8c]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 2
jne 0x453f7f
mov ecx, 0x4545b4
mov dl, 1
mov eax, dword [0x44c420]
call fcn.0040bbf0
call fcn.00403790
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 0
jne 0x453f9e
mov ecx, 0x4545d4
mov dl, 1
mov eax, dword [0x44c3c4]
call fcn.0040bbf0
call fcn.00403790
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 1
je 0x453fb7
mov eax, dword [ebp - 4]
cmp byte [eax + 0x184], 0
je 0x454105
push ebp
call fcn.0045398c
pop ecx
test al, al
jne 0x454105
mov eax, dword [ebp - 4]
call fcn.004537fc
mov ecx, 0x4545b4
mov dl, 1
mov eax, dword [0x44c36c]
call fcn.0040bbf0
call fcn.00403790
jmp 0x454105
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
movzx eax, word [eax + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0xf4], eax
cmp byte [ebp - 0x2a], 0
je 0x454010
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xf4], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
cmp word [eax + 8], 0
jbe 0x45407e
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, 3
call fcn.0044a7a0
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x24]
call fcn.004086c0
mov eax, dword [ebp - 0x24]
cmp byte [eax + 1], 0x3a
je 0x454053
mov dl, 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
jmp 0x454088
lea eax, [ebp - 0x24]
call fcn.0044ab30
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x454072
mov dl, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
jmp 0x454088
mov dl, 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
jmp 0x454088
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
cmp word [eax + 0xe], 0
jbe 0x454105
cmp byte [ebp - 0x2a], 0
jne 0x4540db
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
je 0x4540db
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
movzx eax, word [eax + 0xa]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0xf4]
je 0x4540db
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
movzx edx, word [eax + 0xa]
inc edx
mov eax, dword [ebp - 4]
call fcn.00453660
mov dword [ebp - 8], eax
cmp byte [ebp - 0x2a], 0
je 0x4540ef
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
jmp 0x454105
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov edx, dword [eax + 0x14]
xor ecx, ecx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
call fcn.004546d4
test eax, eax
jne 0x454147
mov cl, 2
mov dl, 1
mov eax, dword [0x44ad40]
call fcn.0044bf28
mov edx, dword [ebp - 4]
mov dword [edx + 0xe0], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov byte [eax + 0x18], 7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov edx, dword [ebp - 4]
mov dword [edx + 0xe4], eax
mov word [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x45441f
mov dl, 1
mov eax, dword [0x44ab88]
call fcn.0044ae0c
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xf0], 0
jne 0x454183
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x454197
push 0
push 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0044b588
mov byte [ebp - 0x29], al
jmp 0x4541ae
mov eax, dword [ebp - 4]
push eax
push 0x4537c4
lea edx, [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0044b588
mov byte [ebp - 0x29], al
inc dword [ebp - 0x38]
cmp byte [ebp - 0x29], 0
jne 0x4541ea
cmp dword [ebp - 0x38], 1
jne 0x4541ea
cmp word [ebp - 0x2c], 0
jbe 0x4541ea
cmp dword [ebp - 0x14], 0
je 0x4541d3
mov eax, dword [ebp - 0x14]
mov word [eax + 0x1e], 0
movzx edx, word [ebp - 0x2c]
neg edx
mov cx, 1
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
mov dword [ebp - 0x14], eax
cmp byte [ebp - 0x29], 0
jne 0x454201
cmp dword [ebp - 0x38], 2
je 0x454201
cmp word [ebp - 0x2c], 0
jne 0x45416b
mov word [ebp - 0x2c], 0
cmp byte [ebp - 0x29], 0
jne 0x454279
mov eax, dword [ebp - 4]
cmp byte [eax + 0xf0], 0
je 0x45422b
mov eax, dword [ebp - 0xc]
call fcn.004030f8
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x454435
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x454242
push ebp
call fcn.0045398c
pop ecx
test al, al
jne 0x45426f
mov eax, dword [ebp - 0xc]
call fcn.004030f8
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.004537fc
mov ecx, 0x4545b4
mov dl, 1
mov eax, dword [0x44c36c]
call fcn.0040bbf0
call fcn.00403790
jmp 0x454279
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x45441f
mov eax, dword [ebp - 4]
cmp byte [eax + 0xf0], 0
je 0x454326
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x48]
test al, al
je 0x454311
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov edx, dword [ebp - 0x1c]
call fcn.00448c8c
mov edx, dword [0x44ab88]
call fcn.00403288
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
movzx edx, word [eax + 0x1e]
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x13e]
add edx, eax
mov cx, 1
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xc]
call fcn.004030f8
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x454326
mov eax, dword [ebp - 0xc]
call fcn.004030f8
xor eax, eax
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x18]
jmp 0x45441f
mov eax, dword [ebp - 4]
cmp byte [eax + 0xf0], 0
jne 0x4543aa
xor eax, eax
push ebp
push 0x45435b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4543aa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
cmp word [eax + 8], 0
jbe 0x4543d4
mov eax, dword [ebp - 0xc]
call fcn.0044b818
test al, al
je 0x4543d4
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00452e88
cmp dword [ebp - 0xc], 0
je 0x454416
mov eax, dword [ebp - 0xc]
movzx edx, word [eax + 0x1e]
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x13e]
add edx, eax
mov cx, 1
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xc]
cmp word [eax + 0x1e], 0
jbe 0x45441c
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0x1e]
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
jmp 0x45441c
mov word [ebp - 0x2c], 0
inc dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
movzx eax, word [eax + 0xe]
cmp eax, dword [ebp - 0x18]
jg 0x454157
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
cmp word [eax + 8], 0
jbe 0x454504
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
call fcn.0044be98
test al, al
je 0x454504
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
movzx eax, word [eax + 8]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0xf4]
je 0x454493
cmp byte [ebp - 0x2a], 0
jne 0x454493
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
movzx edx, word [eax + 8]
inc edx
mov eax, dword [ebp - 4]
call fcn.00453660
cmp byte [ebp - 0x2a], 0
jne 0x4544a6
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00453030
jmp 0x454504
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov edx, dword [eax + 0x20]
xor ecx, ecx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
movzx eax, word [eax + 0x18]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x30]
call fcn.004042c8
lea eax, [ebp - 0x34]
call fcn.00404168
mov edx, eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0045312c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov byte [eax + 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
movzx eax, word [eax + 8]
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
cmp byte [ebp - 0x2a], 0
jne 0x454536
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
movzx eax, word [eax + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0xf4], eax
jmp 0x454541
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xf4], edx
mov eax, dword [ebp - 4]
mov dl, byte [eax + 0x2c]
mov eax, dword [ebp - 4]
call fcn.004545e8
cmp byte [ebp - 0x2a], 0
je 0x454563
mov eax, dword [ebp - 8]
call fcn.004030f8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454595
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00403d40
lea eax, [ebp - 0x34]
call fcn.00403d1c
lea eax, [ebp - 0x24]
call fcn.00403d1c
ret