Function at 0x455b10
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460dd9
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x47b870]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88], 0
push 0x46c004
lea ecx, [ebp - 0x10]
call fcn.00402bd0
mov dword [ebp - 4], 0
movzx ax, byte [ebp + 0xc]
movzx ecx, ax
push ecx
call dword [sym.imp.USER32.dll_IsCharAlphaW]
test eax, eax
jne 0x455bad
push 0x46c008
lea ecx, [ebp - 0x10]
call fcn.00402bb0
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403060
mov eax, dword [ebp - 0x88]
or eax, 1
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004012e0
mov eax, dword [ebp + 8]
jmp 0x456049
lea ecx, [ebp - 0x28]
call fcn.004012a0
mov byte [ebp - 4], 1
movzx ecx, byte [ebp + 0xc]
push ecx
push 0x46c01c
lea edx, [ebp - 0x28]
push edx
call fcn.00401780
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00406f40
mov dword [ebp - 0x58], eax
push 0x200
call fcn.0040855a
add esp, 4
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0x100
mov dword [ebp - 0x40], 0
push 0x28
call fcn.0040855a
add esp, 4
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x38], 0x14
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea ecx, [ebp - 0x3c]
call fcn.004012a0
mov byte [ebp - 4], 2
push 4
call fcn.0040855a
add esp, 4
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x74], ecx
push 2
push 0
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x28]
call fcn.00402170
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00404b70
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 2
push 0
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402170
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.00406f40
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea ecx, [ebp - 0x84]
call fcn.004012e0
push 0
push 0x400
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.00437440
push 0
push 0x400
push edx
push eax
call fcn.00437440
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
push 0
push 0x400
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00437440
push 0
push 0x400
push edx
push eax
call fcn.00437440
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x90], edx
cmp dword [ebp - 0x90], 5
ja case.default.0x455d46
mov eax, dword [ebp - 0x90]
jmp dword [eax*4 + 0x456058]
cmp dword [ebp - 0x70], 0
je 0x455d6f
mov ecx, dword [ebp - 0x70]
push ecx
movzx edx, byte [ebp + 0xc]
push edx
push 0x46c028
lea eax, [ebp - 0x10]
push eax
call fcn.00401780
add esp, 0x10
jmp 0x455d89
mov ecx, dword [ebp - 0x70]
push ecx
movzx edx, byte [ebp + 0xc]
push edx
push 0x46c048
lea eax, [ebp - 0x10]
push eax
call fcn.00401780
add esp, 0x10
jmp 0x455ff8
cmp dword [ebp - 0x40], 0
je 0x455dab
mov ecx, dword [ebp - 0x40]
push ecx
push 0x46c068
lea edx, [ebp - 0x10]
push edx
call fcn.00401780
add esp, 0xc
jmp 0x455db8
push 0x46c070
lea ecx, [ebp - 0x10]
call fcn.00402bb0
jmp 0x455ff8
cmp dword [ebp - 0x5c], 0
je 0x455ddf
mov eax, dword [ebp - 0x5c]
push eax
movzx ecx, byte [ebp + 0xc]
push ecx
push 0x46c074
lea edx, [ebp - 0x10]
push edx
call fcn.00401780
add esp, 0x10
jmp 0x455df0
push 0x46c098
lea eax, [ebp - 0x10]
push eax
call fcn.00401780
add esp, 8
jmp 0x455ff8
mov ecx, dword [ebp - 0x54]
or ecx, dword [ebp - 0x50]
je 0x455e24
fild qword [ebp - 0x54]
fdiv qword [0x46e498]
sub esp, 8
fstp qword [esp]
movzx edx, byte [ebp + 0xc]
push edx
push 0x46c0b4
lea eax, [ebp - 0x10]
push eax
call fcn.00401780
add esp, 0x14
jmp 0x455e35
push 0x46c0e0
lea ecx, [ebp - 0x10]
push ecx
call fcn.00401780
add esp, 8
jmp 0x455ff8
mov edx, dword [ebp - 0x1c]
or edx, dword [ebp - 0x18]
je 0x455e69
fild qword [ebp - 0x1c]
fdiv qword [0x46e498]
sub esp, 8
fstp qword [esp]
movzx eax, byte [ebp + 0xc]
push eax
push 0x46c0f8
lea ecx, [ebp - 0x10]
push ecx
call fcn.00401780
add esp, 0x14
jmp 0x455e7a
push 0x46c124
lea edx, [ebp - 0x10]
push edx
call fcn.00401780
add esp, 8
jmp 0x455ff8
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 6
ja case.default.0x455ea2
mov ecx, dword [ebp - 0x94]
jmp dword [ecx*4 + 0x456070]
push 0x46c140
lea ecx, [ebp - 0x3c]
call fcn.00402bb0
jmp 0x455fcf
push 0x46c14c
lea ecx, [ebp - 0x10]
call fcn.00402bb0
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403060
mov eax, dword [ebp - 0x88]
or eax, 1
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004012e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.004012e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004012e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004012e0
mov eax, dword [ebp + 8]
jmp 0x456049
push 0x46c164
lea ecx, [ebp - 0x3c]
call fcn.00402bb0
jmp 0x455fcf
push 0x46c170
lea ecx, [ebp - 0x3c]
call fcn.00402bb0
jmp 0x455fcf
push 0x46c178
lea ecx, [ebp - 0x3c]
call fcn.00402bb0
jmp 0x455fcf
push 0x46c184
lea ecx, [ebp - 0x3c]
call fcn.00402bb0
jmp 0x455fcf
push 0x46c19c
lea ecx, [ebp - 0x3c]
call fcn.00402bb0
jmp 0x455fcf
push 0x46c1bc
lea ecx, [ebp - 0x10]
call fcn.00402bb0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403060
mov edx, dword [ebp - 0x88]
or edx, 1
mov dword [ebp - 0x88], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004012e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.004012e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004012e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004012e0
mov eax, dword [ebp + 8]
jmp 0x456049
mov eax, dword [ebp - 0x3c]
push eax
movzx ecx, byte [ebp + 0xc]
push ecx
push 0x46c1c8
lea edx, [ebp - 0x10]
push edx
call fcn.00401780
add esp, 0x10
jmp 0x455ff8
push 0x46c1e8
lea ecx, [ebp - 0x10]
call fcn.00402bb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004012e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.004012e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004012e0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403060
mov ecx, dword [ebp - 0x88]
or ecx, 1
mov dword [ebp - 0x88], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004012e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret