Function at 0x451676
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x451849
lea eax, [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x451809
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x451801
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x451708
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 2
jg 0x4517ff
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x48], 0xfffffffd
mov dword [ebp - 8], 2
jmp 0x451732
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x4517da
mov dword [ebp - 0xc], 0xfffffffc
mov dword [ebp - 0x40], 1
mov byte [ebp - 1], 0
push 1
push 1
push 0x45b7
push 0
push 1
lea eax, [ebp - 1]
push eax
push 0x5b6
push 0x7254
push 0x2f55
call fcn.004496d4
add esp, 0x24
mov dword [ebp - 0xc], 2
jmp 0x451786
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x4517d5
mov dword [ebp - 0x44], 0x1c6076fd
mov dword [ebp - 0x3c], 0xffffffff
push 0
push 0x424
push 1
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x38]
push 0x264c
push 0x56cb
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
call fcn.0045a0fe
add esp, 0x34
jmp 0x45177f
jmp 0x45172b
mov byte [ebp - 2], 0
push 1
push 0x662c
push 0
lea eax, [ebp - 2]
push eax
push 0
push 0x328e
call fcn.0044e3b4
add esp, 0x18
jmp 0x4516fd
jmp 0x451807
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x451847
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x451829
push 0
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
jmp 0x451847
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x451847
push 0
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
jmp 0x451887
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
push 0x6a08
push 1
push dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x6c]
push 1
push dword [ebp - 0x70]
push 0x36a2
call fcn.00448aed
add esp, 0x20
mov esp, ebp
pop ebp
ret