Function at 0x10011b04
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006dc80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
push esi
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x100125da
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x130], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x104], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xfc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0xf4]
movzx eax, byte [eax]
test eax, eax
je 0x10011b74
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x100125d8
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10], 5
mov dword [ebp - 0x38], 0xe0710dd0
mov dword [ebp - 0xd4], 0xfffffffd
mov dword [ebp - 0x94], 0xb2811ff
push 2
lea ecx, [ebp - 0x154]
call fcn.10009e9c
and dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
jmp 0x10011be4
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x10011bfa
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x15c], 0xffffffff
jmp 0x10011bdd
push 0
push 0xfa2
lea eax, [ebp - 0x154]
push eax
push 0x466
push 0x4b08
push 0xd20
lea eax, [ebp - 0x30]
push eax
push 0
call fcn.1000dbf1
add esp, 0x20
mov dword [ebp - 0x10], 0
jmp 0x10011c35
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffec
jge 0x10011d83
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x40], 0
jmp 0x10011c59
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x10011c6f
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x13c], 0xfe64fd9e
jmp 0x10011c52
push 0x352a
push 1
push 1
call fcn.1000c7e3
add esp, 0xc
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x10]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x13c]
cmp eax, dword [ebp - 0x10]
je 0x10011cb1
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x13c], 0
jne 0x10011cb1
and dword [ebp - 0xa0], 0
jmp 0x10011cbb
mov dword [ebp - 0xa0], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x13c]
cmp eax, dword [ebp - 0xa0]
je 0x10011cdc
mov dword [ebp - 0xec], 1
jmp 0x10011ce3
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x38], eax
je 0x10011d00
mov dword [ebp - 0xe8], 1
jmp 0x10011d07
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xe8]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x13c]
jle 0x10011d2b
mov dword [ebp - 0xf0], 1
jmp 0x10011d32
and dword [ebp - 0xf0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x13c]
cmp dword [ebp - 0xf0], eax
jl 0x10011d50
mov dword [ebp - 0x74], 1
jmp 0x10011d54
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x74]
test eax, eax
jg 0x10011d6b
mov dword [ebp - 0xb4], 1
jmp 0x10011d72
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x124], eax
jmp 0x10011c2e
cmp dword [ebp - 0x10], 0xd058bbe5
je 0x10011d9b
cmp dword [ebp - 0x10], 0
je 0x10011d9b
mov dword [ebp - 0x7c], 1
jmp 0x10011d9f
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x7c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x84], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x84]
mov dword [ebp + eax - 0x15c], ecx
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x84], eax
jge 0x10011de1
mov dword [ebp - 0xbc], 1
jmp 0x10011de8
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xbc]
jge 0x10011dff
mov dword [ebp - 0x8c], 1
jmp 0x10011e06
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], 0xffff
mov eax, 0x5bf8
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x38], eax
je 0x10011e3a
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x15c], 0
jne 0x10011e3a
and dword [ebp - 0xe4], 0
jmp 0x10011e44
mov dword [ebp - 0xe4], 1
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x94], eax
mov esi, dword [ebp - 0x94]
push 1
lea ecx, [ebp - 0x154]
call fcn.10009f14
cmp esi, dword [eax]
jg 0x10011e73
mov dword [ebp - 0xc4], 1
jmp 0x10011e7a
and dword [ebp - 0xc4], 0
push 1
lea ecx, [ebp - 0x154]
call fcn.10009f14
mov ecx, dword [ebp - 0xc4]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.10009ef8
lea ecx, [ebp - 0x1a0]
call fcn.10015b44
mov dword [ebp - 4], 1
push 0x5827
lea eax, [ebp - 0x1a0]
push eax
push dword [ebp - 0x9c]
push 0x51e1
push 1
push 0
call fcn.1000dee1
add esp, 0x18
mov dword [ebp - 0x28], 0x714a0256
mov dword [ebp - 0x48], 0
jmp 0x10011eea
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x10011f00
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x1b0], 0xfffffffc
jmp 0x10011ee3
mov dword [ebp - 0x28], 0
jmp 0x10011f10
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x10011f26
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x1b0], 0x5a136951
jmp 0x10011f09
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10011f52
push 0x6c9e
push 0x4b58
push 1
push 0x59c0
push 1
push 0x6aa0
call fcn.1000c6b6
add esp, 0x18
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [eax]
jae 0x100125a6
mov dword [ebp - 0x58], 0xaa32b1ce
mov dword [ebp - 0x54], 0xaa32b1ce
mov dword [ebp - 0x50], 0xaa32b1ce
mov dword [ebp - 0x4c], 0xaa32b1ce
push 3
lea ecx, [ebp - 0x148]
call fcn.10009e9c
mov byte [ebp - 4], 2
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0xac], 0x2d3c5ebb
mov dword [ebp - 0x114], 0x93b76f05
mov dword [ebp - 0x14], 0
jmp 0x10011fbf
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10011fd2
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x18], 0xffffffff
jmp 0x10011fb8
mov dword [ebp - 0x14], 0
jmp 0x10011fe2
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10011ffe
push dword [ebp - 0x14]
lea ecx, [ebp - 0x148]
call fcn.10009f14
mov dword [eax], 0x49d585ed
jmp 0x10011fdb
mov dword [ebp - 0x14], 0
jmp 0x1001200e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10012024
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1c8], 0xbc8f9611
jmp 0x10012007
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x58], 0
jmp 0x10012046
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x58]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x58], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x58], 0
jl 0x1001239b
mov dword [ebp - 0x1c], 0x3c633843
mov dword [ebp - 0xcc], 0xc930f888
mov dword [ebp - 0xc8], 4
mov dword [ebp - 0x128], 0xb416c28c
mov dword [ebp - 0xb0], 0x8770ce40
mov dword [ebp - 0x3c], 0
jmp 0x10012095
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x100120ab
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x180], 0x96bc712b
jmp 0x1001208e
mov dword [ebp - 0x1c], 0
jmp 0x100120bb
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1001213d
mov dword [ebp - 0x24], 0xa29c1464
mov dword [ebp - 0x24], 0
jmp 0x100120d8
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x100120eb
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x18], 0x6efa42b4
jmp 0x100120d1
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x18]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xdc]
mov dword [ebp + eax*4 - 0x18], ecx
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xdc], eax
jl 0x1001211c
mov dword [ebp - 0xa4], 1
jmp 0x10012123
and dword [ebp - 0xa4], 0
push 1
lea ecx, [ebp - 0x148]
call fcn.10009f14
mov ecx, dword [ebp - 0xa4]
mov dword [eax], ecx
jmp 0x100120b4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jne 0x10012171
push 1
lea ecx, [ebp - 0x148]
call fcn.10009f14
mov dword [eax], 0xfff0
mov eax, 0xfff0
test eax, eax
jne 0x10012171
and dword [ebp - 0x78], 0
jmp 0x10012178
mov dword [ebp - 0x78], 1
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp + eax*4 - 0x18], 0
je 0x100121ae
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp + eax*4 - 0x18], 0
je 0x100121ae
mov dword [ebp - 0x5c], 1
jmp 0x100121b2
and dword [ebp - 0x5c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x5c]
mov dword [ebp + eax - 0x180], ecx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xffffffff
je 0x100121d7
mov dword [ebp - 0x70], 1
jmp 0x100121db
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0xffff
je 0x100121ed
mov dword [ebp - 0x80], 1
jmp 0x100121f1
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x80]
jl 0x10012205
mov dword [ebp - 0x88], 1
jmp 0x1001220c
and dword [ebp - 0x88], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp - 0x88], eax
jne 0x1001222a
mov dword [ebp - 0x90], 1
jmp 0x10012231
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x90], eax
jg 0x10012248
mov dword [ebp - 0x10c], 1
jmp 0x1001224f
and dword [ebp - 0x10c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x58]
mov dword [ebp - 0x174], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x58]
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x58]
mov ecx, dword [ebp + ecx*4 - 0x18]
cmp dword [ebp + eax*4 - 0x18], ecx
jge 0x10012287
mov dword [ebp - 0x98], 1
jmp 0x1001228e
and dword [ebp - 0x98], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x58]
mov eax, dword [ebp + eax*4 - 0x18]
cmp eax, dword [ebp - 0x98]
jge 0x100122b9
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp + eax*4 - 0x18], 0
jne 0x100122b9
and dword [ebp - 0x64], 0
jmp 0x100122c0
mov dword [ebp - 0x64], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x58]
imul eax, dword [ebp - 0x64]
cmp eax, 3
je 0x100122df
mov dword [ebp - 0xa8], 1
jmp 0x100122e6
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0xa8], eax
jge 0x10012300
mov dword [ebp - 0xb8], 1
jmp 0x10012307
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb0]
imul eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0x128]
jne 0x1001233a
mov eax, 0xb669
test eax, eax
je 0x1001233a
cmp dword [ebp - 0x114], 0
je 0x1001233a
mov dword [ebp - 0xc0], 1
jmp 0x10012341
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x58]
sub eax, dword [ebp + ecx*4 - 0x18]
je 0x10012383
mov dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
dec eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0x1c], 0
je 0x10012381
jmp 0x1001239b
jmp 0x10012396
mov dword [ebp - 0x12c], 0xdf274c11
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x12c], eax
jmp 0x10012033
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x148]
call fcn.10009ef8
lea eax, [ebp - 0x60]
mov dword [ebp - 0x108], eax
and dword [ebp - 0x44], 0
jmp 0x100123c7
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x44], 2
jae 0x10012565
mov dword [ebp - 0x160], 9
mov dword [ebp - 0x188], 1
mov dword [ebp - 0x184], 0x2d2c87a7
mov dword [ebp - 0x164], 0xffffffff
push 3
lea ecx, [ebp - 0x170]
call fcn.10009e9c
mov byte [ebp - 4], 3
mov dword [ebp - 0x11c], 0x6bde
mov dword [ebp - 0x1a4], 0xfffffff6
mov dword [ebp - 0x178], 0xffffffff
mov dword [ebp - 0xf8], 0xa603d2cf
mov dword [ebp - 0x100], 0xffffffff
lea eax, [ebp - 0x2c]
push eax
push 0x4a87
push 0x264c
push 0x22ce
push 0x3d55
lea eax, [ebp - 0x170]
push eax
push 0x39c3
push 1
push 0
call fcn.1000e96d
add esp, 0x24
mov dword [ebp - 0x2c], 0
jmp 0x1001247c
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x10012492
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x1bc], 1
jmp 0x10012475
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x1bc], 1
cmp dword [ebp - 0x11c], 1
jle 0x100124b8
mov dword [ebp - 0xd8], 1
jmp 0x100124bf
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xf8], eax
push 0x5d7f
push 0x4922
push 0
push 1
push 0x319e
push 0x5fbf
push 0x17b5
push 0x48de
push 0x1bc2
push 0x5b99
push 0x4a5b
push 0x676b
lea eax, [ebp - 0x100]
push eax
call fcn.10010c18
add esp, 0x34
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x170]
call fcn.10009ef8
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
add eax, dword [ebp - 0x34]
xor edx, edx
div dword [0x10074630]
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edx]
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
add eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x68]
mov ecx, dword [ecx]
movzx ecx, byte [ecx + eax]
call fcn.1000ab00
mov ecx, dword [ebp - 0x108]
add ecx, dword [ebp - 0x44]
mov byte [ecx], al
jmp 0x100123b9
push 0
push 1
push 0x77fe
push 0x44a9
call fcn.1000e469
add esp, 0x10
lea eax, [ebp - 0x1a0]
push eax
push 0x5ed9
push 0x6973
push 1
push 0x2fb6
lea eax, [ebp - 0x60]
push eax
push 1
call fcn.1000c887
add esp, 0x1c
jmp 0x10011f56
lea eax, [ebp - 0x1a0]
push eax
mov ecx, dword [ebp - 0x110]
call fcn.10015bbe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a0]
call fcn.10015bb4
jmp 0x100125fd
jmp 0x100125fd
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x118], eax
push dword [ebp - 0x118]
push 0
push 0x412e
push 0x1243
call fcn.10010ec6
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret