Function at 0x419b11
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x419cf1
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa8], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xa4], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
test eax, eax
je 0x419cb9
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x419c89
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
jmp 0x419be5
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 3
jg 0x419c87
mov dword [ebp - 0x90], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb4], 0xe7a4860c
mov dword [ebp - 0xc4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [eax], 3
jmp 0x419c2f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jl 0x419c76
mov dword [ebp - 0xbc], 0x75015e0c
push 0x5bdb
push 0x4bf8
push 0x485e
push 1
push 0x2d20
push 1
push 0x6897
push 0x4a8
lea eax, [ebp - 0x90]
push eax
push 1
call fcn.00418e46
add esp, 0x28
jmp 0x419c24
push dword [ebp - 0x7c]
push 0
call fcn.00422f71
pop ecx
pop ecx
jmp 0x419bda
jmp 0x419cb7
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x419cb7
push 0x19cf
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
jmp 0x419cec
push 0x59fb
push 0x22d
push 0x2e54
push 0x482c
push 0x23ab
push 0
push 0x6c69
push 1
push 0
push 0x47ad
push 1
call fcn.0040f522
add esp, 0x2c
jmp 0x419edf
lea eax, [ebp + 0x20]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x419ebf
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x419d40
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x419d3b
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
jmp 0x419ebd
mov dword [ebp - 8], 0
mov dword [ebp - 0x28], 0xbdfadf62
mov dword [ebp - 0xb0], 0x5b8b78ac
mov dword [ebp - 0x60], 0x96d402da
mov dword [ebp - 0x78], 0x6f79b347
mov dword [ebp - 0x1c], 0
jmp 0x419d76
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x419d89
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x10], 1
jmp 0x419d6f
push 0x57c2
lea eax, [ebp - 8]
push eax
push 0
push 0x2da3
call fcn.00408985
add esp, 0x10
mov dword [ebp - 8], 0
jmp 0x419db1
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xfffffff4
jge 0x419ebd
mov dword [ebp - 0xc], 2
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x68], 2
mov dword [ebp - 0x18], 0x14a5ea96
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x60], 0
je 0x419e11
xor eax, eax
inc eax
sub eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0xc]
jl 0x419df7
mov dword [ebp - 0x38], 1
jmp 0x419dfb
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x38]
cmp eax, 1
jg 0x419e11
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x10]
cmp dword [ebp + eax - 0x10], ecx
jle 0x419e30
mov dword [ebp - 0x30], 1
jmp 0x419e34
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x70], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp + eax - 0x10], ecx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x28], eax
je 0x419e7d
mov dword [ebp - 0x2c], 1
jmp 0x419e81
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x2c], eax
jge 0x419e96
push 9
pop eax
test eax, eax
jne 0x419e96
and dword [ebp - 0x34], 0
jmp 0x419e9d
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x34], eax
jle 0x419eae
mov dword [ebp - 0x3c], 1
jmp 0x419eb2
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
jmp 0x419daa
jmp 0x419edf
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
push 0
push dword [ebp - 0x88]
push 0
push 0x3d16
call fcn.0040db92
add esp, 0x10
mov esp, ebp
pop ebp
ret