Function at 0x4302c9
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
movzx eax, byte [ebp + 0x38]
test eax, eax
je 0x43076b
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xa8], eax
lea eax, [ebp + 0x40]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xd8], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xf8], eax
lea eax, [ebp + 0x48]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x4304ab
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x4303e4
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0xd0]
mov dword [eax], ecx
jmp 0x4304a6
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x4303fb
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4304a6
push 2
lea ecx, [ebp - 0x110]
call fcn.004308a8
mov dword [ebp - 0x50], 2
push 0
push 0x45d5
push 0x1208
push 1
push 1
lea eax, [ebp - 0x118]
push eax
push 1
lea eax, [ebp - 0x110]
push eax
push 0x1784
call fcn.00428eac
add esp, 0x24
push 1
lea ecx, [ebp - 0x110]
call fcn.00430996
and dword [eax], 0
jmp 0x430473
push 1
lea ecx, [ebp - 0x110]
call fcn.00430996
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x110]
call fcn.00430996
cmp dword [eax], 8
jne 0x430496
mov dword [ebp - 0x50], 6
cmp dword [ebp - 0xc], 0
je 0x430494
jmp 0x430458
jmp 0x430458
lea ecx, [ebp - 0x110]
call fcn.0043097a
jmp 0x4303f4
jmp 0x430766
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x114]
movzx eax, byte [eax]
test eax, eax
je 0x430642
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x10], eax
xor eax, eax
jne 0x4305ef
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x11c], eax
xor eax, eax
inc eax
jne 0x4305cf
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00430996
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x430592
push 1
mov ecx, dword [ebp - 0x10]
call fcn.00430996
cmp dword [eax], 0
je 0x430592
mov dword [ebp - 0x38], 1
jmp 0x430596
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jg 0x4305a9
mov dword [ebp - 0x28], 1
jmp 0x4305ad
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0
jb 0x4305bc
mov dword [ebp - 0x1c], 1
jmp 0x4305c0
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0xdfad
jne 0x4305cf
and dword [ebp - 0x30], 0
jmp 0x4305d6
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0xb7c7008b
je 0x4305ef
and dword [ebp - 0x20], 0
jmp 0x4305f6
mov dword [ebp - 0x20], 1
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00430996
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jg 0x430610
mov dword [ebp - 0x24], 1
jmp 0x430614
and dword [ebp - 0x24], 0
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00430996
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax]
jne 0x43062e
mov dword [ebp - 0x2c], 1
jmp 0x430632
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x430766
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x43069d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xf
jl 0x430766
mov dword [ebp - 8], 0x13f1a073
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4306bd
jmp 0x430766
cmp dword [ebp - 8], 0
jne 0x4306c9
mov eax, dword [ebp - 8]
cmp dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 8], eax
jle 0x4306dc
mov dword [ebp - 0x34], 1
jmp 0x4306e0
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 8]
neg eax
cmp eax, dword [ebp - 0x34]
jne 0x4306f0
cmp dword [ebp - 8], 0
je 0x430707
mov eax, 0x3cc92ea2
test eax, eax
je 0x430707
or eax, 0xffffffff
je 0x430707
mov dword [ebp - 0x3c], 1
jmp 0x43070b
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0x32b96ce0
jge 0x43071d
mov dword [ebp - 0x44], 1
jmp 0x430721
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0xffffffff
je 0x430730
mov dword [ebp - 0x4c], 1
jmp 0x430734
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x4c], eax
jg 0x430747
mov dword [ebp - 0x18], 1
jmp 0x43074b
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x430692
jmp 0x4307f4
lea eax, [ebp + 0x18]
mov dword [ebp - 0xe4], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xdc]
movzx eax, byte [eax]
test eax, eax
je 0x4307c8
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
movzx eax, byte [eax]
test eax, eax
je 0x4307c0
push 0x9f1
push 0x16d3
push 0
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x4307c6
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x4307f4
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xfc], eax
push 1
push dword [ebp - 0xfc]
push 0
push 1
push 0x5a5
push 0x643f
push 0
call fcn.0042686f
add esp, 0x1c
mov esp, ebp
pop ebp
ret