Function at 0x455ecc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x456660
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x21], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd8], 0
jne 0x455f2f
mov eax, dword [ebp - 8]
call fcn.0044d950
call fcn.00407e68
call fcn.004083d8
mov eax, dword [ebp - 4]
fstp qword [eax + 0xe8]
wait
jmp 0x455f3e
call fcn.00408ef8
mov eax, dword [ebp - 4]
fstp qword [eax + 0xe8]
wait
mov eax, dword [ebp - 4]
call fcn.00456754
test eax, eax
jle 0x455f89
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe4]
test eax, eax
je 0x455f70
mov edx, dword [ebp - 4]
cmp byte [edx + 0x2c], 7
je 0x455f70
call fcn.00402f04
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.00402f04
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.0044ebec
mov ebx, eax
test bl, bl
jne 0x45603b
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd8], 0
jne 0x45603b
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.00454d8c
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov edx, 0x456678
call fcn.004080f0
mov eax, dword [ebp - 0x2c]
call fcn.00407e58
test al, al
je 0x45603b
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
push 0
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.00454d8c
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov edx, 0x456678
call fcn.004080f0
mov ecx, dword [ebp - 0x2c]
mov dl, 1
mov eax, dword [0x40cb94]
call fcn.0040fb58
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov edx, dword [ebp - 8]
call fcn.0044ebec
mov ebx, eax
test bl, bl
je 0x45602d
mov byte [ebp - 0x21], 1
jmp 0x45603b
mov eax, dword [ebp - 8]
call fcn.00402f04
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
test bl, bl
jne 0x45610b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x184], 0
jne 0x4560b2
mov eax, dword [ebp - 4]
cmp word [eax + 0x8e], 0
je 0x456074
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 0x456093
mov ecx, 0x456688
mov dl, 1
mov eax, dword [0x44f21c]
call fcn.004096d4
call fcn.0040359c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 0
jne 0x4560b2
mov ecx, 0x4566a8
mov dl, 1
mov eax, dword [0x44f1c0]
call fcn.004096d4
call fcn.0040359c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 1
je 0x4560cb
mov eax, dword [ebp - 4]
cmp byte [eax + 0x184], 0
je 0x456227
push ebp
call fcn.00455ae0
pop ecx
test al, al
jne 0x456227
mov eax, dword [0x45e988]
mov eax, dword [eax]
xor edx, edx
call fcn.004415f0
mov eax, dword [ebp - 4]
call fcn.00455964
mov ecx, 0x456688
mov dl, 1
mov eax, dword [0x44f168]
call fcn.004096d4
call fcn.0040359c
jmp 0x456227
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 - 0x21], 0
je 0x456132
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 0x4561a0
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, 3
call fcn.0044db1c
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x1c]
call fcn.00407a18
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 1], 0x3a
je 0x456175
mov dl, 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
jmp 0x4561aa
lea eax, [ebp - 0x1c]
call fcn.0044de40
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x456194
mov dl, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
jmp 0x4561aa
mov dl, 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
jmp 0x4561aa
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 0x456227
cmp byte [ebp - 0x21], 0
jne 0x4561fd
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
je 0x4561fd
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 0x4561fd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
movzx edx, word [eax + 0xa]
inc edx
mov eax, dword [ebp - 4]
call fcn.004557ec
mov dword [ebp - 8], eax
cmp byte [ebp - 0x21], 0
je 0x456211
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
jmp 0x456227
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.00456754
test eax, eax
jne 0x456259
mov cl, 2
mov dl, 1
mov eax, dword [0x44e03c]
call fcn.0044edb8
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xe0], ebx
mov byte [ebx + 0x18], 7
mov eax, dword [ebp - 4]
mov dword [eax + 0xe4], ebx
mov word [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x45650c
mov dl, 1
mov eax, dword [0x44de84]
call fcn.0044e108
mov dword [ebp - 0xc], eax
xor esi, esi
mov eax, dword [ebp - 4]
cmp byte [eax + 0xf0], 0
jne 0x456292
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x4562a5
push 0
push 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0044e610
mov ebx, eax
jmp 0x4562bb
mov eax, dword [ebp - 4]
push eax
push 0x455940
lea edx, [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0044e610
mov ebx, eax
inc esi
test bl, bl
jne 0x4562f2
cmp esi, 1
jne 0x4562f2
cmp word [ebp - 0x24], 0
jbe 0x4562f2
cmp dword [ebp - 0x10], 0
je 0x4562db
mov eax, dword [ebp - 0x10]
mov word [eax + 0x1e], 0
movzx edx, word [ebp - 0x24]
neg edx
mov cx, 1
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
xor eax, eax
mov dword [ebp - 0x10], eax
test bl, bl
jne 0x456306
cmp esi, 2
je 0x456306
cmp word [ebp - 0x24], 0
jne 0x45627a
mov word [ebp - 0x24], 0
test bl, bl
jne 0x45637c
mov eax, dword [ebp - 4]
cmp byte [eax + 0xf0], 0
je 0x45632e
mov eax, dword [ebp - 0xc]
call fcn.00402f04
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x456522
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x456345
push ebp
call fcn.00455ae0
pop ecx
test al, al
jne 0x456372
mov eax, dword [ebp - 0xc]
call fcn.00402f04
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.00455964
mov ecx, 0x456688
mov dl, 1
mov eax, dword [0x44f168]
call fcn.004096d4
call fcn.0040359c
jmp 0x45637c
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x45650c
mov eax, dword [ebp - 4]
cmp byte [eax + 0xf0], 0
je 0x456418
lea ecx, [ebp - 0x18]
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 0x456403
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov edx, dword [ebp - 0x18]
call fcn.0044c574
mov edx, dword [0x44de84]
call fcn.00403094
mov ebx, eax
mov esi, dword [ebx + 0x2c]
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebx + 0x2c], esi
mov dword [ebp - 0x10], ebx
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.00402f04
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x456418
mov eax, dword [ebp - 0xc]
call fcn.00402f04
xor eax, eax
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x14]
jmp 0x45650c
mov eax, dword [ebp - 4]
cmp byte [eax + 0xf0], 0
jne 0x45649c
xor eax, eax
push ebp
push 0x45644d
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 0x45649c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
cmp word [eax + 8], 0
jbe 0x4564c6
mov eax, dword [ebp - 0xc]
call fcn.0044e878
test al, al
je 0x4564c6
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00455114
cmp dword [ebp - 0xc], 0
je 0x456503
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]
mov ax, word [eax + 0x1e]
test ax, ax
jbe 0x456509
mov word [ebp - 0x24], ax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
jmp 0x456509
mov word [ebp - 0x24], 0
inc dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
movzx eax, word [eax + 0xe]
cmp eax, dword [ebp - 0x14]
jg 0x456269
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x14c]
cmp word [ebx + 8], 0
jbe 0x4565de
mov eax, ebx
call fcn.0044ed48
test al, al
je 0x4565de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov ax, word [eax + 8]
movzx edx, ax
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0xf4]
je 0x456572
cmp byte [ebp - 0x21], 0
jne 0x456572
movzx edx, ax
inc edx
mov eax, dword [ebp - 4]
call fcn.004557ec
cmp byte [ebp - 0x21], 0
jne 0x456585
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.004552a8
jmp 0x4565de
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 ebx, word [eax + 0x18]
lea eax, [ebp - 0x28]
mov edx, ebx
call fcn.00403ff4
lea eax, [ebp - 0x28]
call fcn.00403ef0
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00455374
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 - 0x21], 0
jne 0x456610
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 0x45661b
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.004566bc
cmp byte [ebp - 0x21], 0
je 0x45663d
mov eax, dword [ebp - 8]
call fcn.00402f04
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456667
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00403ac8
lea eax, [ebp - 0x1c]
call fcn.00403aa4
ret