Function at 0x1003bf06
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b41d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
push esi
mov dword [ebp - 0x114], 0xbf3
mov dword [ebp - 0x168], 0xf951fe7
mov dword [ebp - 0x2c], 0
jmp 0x1003bf49
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1003bf5f
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x1c8], 0xb13e
jmp 0x1003bf42
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c8]
mov dword [ebp - 0x114], eax
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x1003bf84
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x34], 0
jmp 0x1003bf9d
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x1003bfb3
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x17c], 0x825e
jmp 0x1003bf96
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1003bfc9
push 0
push 0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x17c]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x17c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 5
push 1
lea ecx, [ebp - 0x68]
call fcn.1000ebc1
and dword [ebp - 4], 0
mov dword [ebp - 0x120], 0x689bb5c1
mov dword [ebp - 0x44], 0
jmp 0x1003c01d
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x1003c036
push dword [ebp - 0x44]
lea ecx, [ebp - 0x68]
call fcn.1000ec02
mov dword [eax], 0x4f6b903c
jmp 0x1003c016
mov dword [ebp - 0x14], 0
jmp 0x1003c046
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 9
jl 0x1003c36c
mov dword [ebp - 0x134], 0xffffffff
mov dword [ebp - 0x40], 0
jmp 0x1003c06a
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jge 0x1003c07d
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x10], 0
jmp 0x1003c063
push 0
lea ecx, [ebp - 0x68]
call fcn.1000ec02
cmp dword [eax], 0
jne 0x1003c0a4
push 0
lea ecx, [ebp - 0x68]
call fcn.1000ec02
cmp dword [eax], 0
jne 0x1003c0a4
and dword [ebp - 0x10c], 0
jmp 0x1003c0ae
mov dword [ebp - 0x10c], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp eax, dword [ebp - 0x10c]
je 0x1003c0cc
mov dword [ebp - 0x12c], 1
jmp 0x1003c0d3
and dword [ebp - 0x12c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0x15c], eax
push 0
lea ecx, [ebp - 0x68]
call fcn.1000ec02
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0x164], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 2
jae 0x1003c116
mov dword [ebp - 0x110], 1
jmp 0x1003c11d
and dword [ebp - 0x110], 0
push 0
lea ecx, [ebp - 0x68]
call fcn.1000ec02
mov ecx, dword [ebp - 0x110]
cmp ecx, dword [eax]
jl 0x1003c13d
mov dword [ebp - 0x94], 1
jmp 0x1003c144
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x14]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x10]
imul eax, dword [ebp - 0x94]
test eax, eax
je 0x1003c173
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0
je 0x1003c173
mov dword [ebp - 0x74], 1
jmp 0x1003c177
and dword [ebp - 0x74], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp dword [ebp - 0x74], eax
jge 0x1003c192
mov dword [ebp - 0xe8], 1
jmp 0x1003c199
and dword [ebp - 0xe8], 0
push 0
lea ecx, [ebp - 0x68]
call fcn.1000ec02
mov esi, dword [ebp - 0xe8]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x68]
call fcn.1000ec02
cmp esi, dword [eax]
jle 0x1003c1c2
mov dword [ebp - 0x7c], 1
jmp 0x1003c1c6
and dword [ebp - 0x7c], 0
imul eax, dword [ebp - 0x7c], 0xd153
imul eax, dword [ebp - 0x134]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x10]
je 0x1003c1ec
mov dword [ebp - 0xf0], 1
jmp 0x1003c1f3
and dword [ebp - 0xf0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp dword [ebp - 0xf0], eax
jg 0x1003c211
mov dword [ebp - 0x84], 1
jmp 0x1003c218
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x84], eax
je 0x1003c22f
mov dword [ebp - 0xf8], 1
jmp 0x1003c236
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0xcb818ebc
je 0x1003c24e
mov dword [ebp - 0x8c], 1
jmp 0x1003c255
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x1003c26c
mov dword [ebp - 0x54], 1
jmp 0x1003c270
and dword [ebp - 0x54], 0
push 0
lea ecx, [ebp - 0x68]
call fcn.1000ec02
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp dword [ebp - 0x54], eax
jl 0x1003c29a
mov dword [ebp - 0x100], 1
jmp 0x1003c2a1
and dword [ebp - 0x100], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp dword [ebp - 0x100], eax
jge 0x1003c2bf
mov dword [ebp - 0x108], 1
jmp 0x1003c2c6
and dword [ebp - 0x108], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp dword [ebp - 0x108], eax
jne 0x1003c2e4
mov dword [ebp - 0xd4], 1
jmp 0x1003c2eb
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xd4], eax
jne 0x1003c302
mov dword [ebp - 0x9c], 1
jmp 0x1003c309
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0xe588ce32
jbe 0x1003c321
mov dword [ebp - 0x124], 1
jmp 0x1003c328
and dword [ebp - 0x124], 0
push 0
lea ecx, [ebp - 0x68]
call fcn.1000ec02
mov ecx, dword [ebp - 0x14]
cmp dword [eax], ecx
jg 0x1003c345
mov dword [ebp - 0xf4], 1
jmp 0x1003c34c
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x120], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0
je 0x1003c367
jmp 0x1003c36c
jmp 0x1003c03f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.1000ebfd
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0x3c], 0xda115252
mov dword [ebp - 0x16c], 0xffffffff
mov dword [ebp - 0x1bc], 0x53072226
push 2
lea ecx, [ebp - 0x19c]
call fcn.1000ebc1
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0
jmp 0x1003c3c0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1003c3d6
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1a4], 9
jmp 0x1003c3b9
mov dword [ebp - 0x18], 0
jmp 0x1003c3e6
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1003c402
push dword [ebp - 0x18]
lea ecx, [ebp - 0x19c]
call fcn.1000ec02
mov dword [eax], 1
jmp 0x1003c3df
mov dword [ebp - 0x3c], 0
jmp 0x1003c412
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jg 0x1003c537
mov dword [ebp - 0x160], 0x9565
mov dword [ebp - 0x190], 0xfffffffd
mov dword [ebp - 0x154], 4
mov dword [ebp - 0x1a8], 0xa7084bc9
push 1
lea ecx, [ebp - 0x18c]
call fcn.1000ebc1
mov byte [ebp - 4], 2
mov dword [ebp - 0x170], 1
mov dword [ebp - 0x1b8], 0x87c7
mov dword [ebp - 0x1b4], 0x87c7
mov dword [ebp - 0x1b0], 0x87c7
mov dword [ebp - 0x1ac], 0x87c7
push 2
lea ecx, [ebp - 0x150]
call fcn.1000ebc1
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], 0
jmp 0x1003c4a8
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1003c4c4
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18c]
call fcn.1000ec02
mov dword [eax], 1
jmp 0x1003c4a1
mov dword [ebp - 0x20], 0
jmp 0x1003c4d4
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1003c4f0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x150]
call fcn.1000ec02
mov dword [eax], 0x8d9b
jmp 0x1003c4cd
push 1
lea ecx, [ebp - 0x150]
call fcn.1000ec02
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.1000ebfd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18c]
call fcn.1000ebfd
jmp 0x1003c40b
mov byte [ebp - 0x23], 0
movzx eax, byte [ebp - 0x23]
test eax, eax
je 0x1003c563
push 0
push 0x542
push 0xde5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_MoveToEx]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x19c]
call fcn.1000ebfd
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xd8], eax
push 2
lea ecx, [ebp - 0x50]
call fcn.1000ebc1
mov dword [ebp - 4], 4
mov dword [ebp - 0x58], 0xedb7758b
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x98], 6
mov dword [ebp - 0x1c], 0
jmp 0x1003c5c6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x1003c5dc
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x144], 0x40d7f825
jmp 0x1003c5bf
mov dword [ebp - 0x1c], 0
jmp 0x1003c5ec
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1003c605
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x50]
call fcn.1000ec02
mov dword [eax], 0xa87013dc
jmp 0x1003c5e5
push 1
lea ecx, [ebp - 0x50]
call fcn.1000ec02
and dword [eax], 0
jmp 0x1003c635
push 1
lea ecx, [ebp - 0x50]
call fcn.1000ec02
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xdc]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x50]
call fcn.1000ec02
cmp dword [eax], 3
jg 0x1003c6a9
mov dword [ebp - 0x38], 0xf40fc027
push 1
lea ecx, [ebp - 0x50]
call fcn.1000ec02
mov esi, dword [eax]
push 1
lea ecx, [ebp - 0x50]
call fcn.1000ec02
mov eax, dword [eax]
mov ecx, dword [ebp + esi*4 - 0x144]
mov dword [ebp + eax*4 - 0x144], ecx
mov dword [ebp - 0x38], 0x1c
jmp 0x1003c681
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 9
jge 0x1003c6a4
mov byte [ebp - 0x24], 0
movzx eax, byte [ebp - 0x24]
test eax, eax
je 0x1003c6a2
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
jmp 0x1003c67a
jmp 0x1003c614
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x144]
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x58], 0x5a9cea44
cmp dword [ebp - 0x58], 0x578cca69
jl 0x1003c6d7
mov dword [ebp - 0xac], 1
jmp 0x1003c6de
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xac], eax
jge 0x1003c6f5
mov dword [ebp - 0x130], 1
jmp 0x1003c6fc
and dword [ebp - 0x130], 0
push 1
lea ecx, [ebp - 0x50]
call fcn.1000ec02
mov esi, dword [ebp - 0x30]
push 1
lea ecx, [ebp - 0x50]
call fcn.1000ec02
cmp esi, dword [eax]
jl 0x1003c723
mov dword [ebp - 0x104], 1
jmp 0x1003c72a
and dword [ebp - 0x104], 0
imul eax, dword [ebp - 0x104], 0x83a0
cmp eax, 0xd91f
jg 0x1003c747
mov dword [ebp - 0xb4], 1
jmp 0x1003c74e
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0x85fc
jne 0x1003c769
cmp dword [ebp - 0x58], 0
jne 0x1003c769
and dword [ebp - 0xe4], 0
jmp 0x1003c773
mov dword [ebp - 0xe4], 1
push 1
lea ecx, [ebp - 0x50]
call fcn.1000ec02
mov ecx, dword [ebp - 0xe4]
cmp ecx, dword [eax]
jne 0x1003c793
mov dword [ebp - 0xbc], 1
jmp 0x1003c79a
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0x3f02
jle 0x1003c7b2
mov dword [ebp - 0xfc], 1
jmp 0x1003c7b9
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xfc], eax
jne 0x1003c7d0
mov dword [ebp - 0xc4], 1
jmp 0x1003c7d7
and dword [ebp - 0xc4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x144]
cmp dword [ebp - 0xc4], eax
jl 0x1003c7f8
mov dword [ebp - 0xec], 1
jmp 0x1003c7ff
and dword [ebp - 0xec], 0
cmp dword [ebp - 0xec], 0xffffffff
jge 0x1003c814
mov dword [ebp - 0xcc], 1
jmp 0x1003c81b
and dword [ebp - 0xcc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x144]
cmp dword [ebp - 0xcc], eax
jle 0x1003c839
mov dword [ebp - 0x6c], 1
jmp 0x1003c83d
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x6c], eax
jge 0x1003c85e
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x144], 0
jne 0x1003c85e
and dword [ebp - 0x90], 0
jmp 0x1003c868
mov dword [ebp - 0x90], 1
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
mov esi, dword [ebp - 0x98]
push 1
lea ecx, [ebp - 0x50]
call fcn.1000ec02
add esi, dword [eax]
cmp esi, 0x70d28e48
jle 0x1003c89a
mov dword [ebp - 0xa0], 1
jmp 0x1003c8a1
and dword [ebp - 0xa0], 0
push 1
lea ecx, [ebp - 0x50]
call fcn.1000ec02
mov ecx, dword [ebp - 0xa0]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.1000ebfd
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x1003c8e6
mov dword [ebp - 0xa8], 1
jmp 0x1003c8ed
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0xffffffff
jge 0x1003c90a
mov eax, dword [ebp - 0xe0]
cmp dword [eax], 0
jne 0x1003c90a
and dword [ebp - 0xb0], 0
jmp 0x1003c914
mov dword [ebp - 0xb0], 1
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp dword [ebp - 0xb0], eax
jge 0x1003c92d
mov dword [ebp - 0xc0], 1
jmp 0x1003c934
and dword [ebp - 0xc0], 0
push 0
mov ecx, dword [ebp - 0x128]
call fcn.1000ec02
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xd0]
push dword [eax]
mov ecx, dword [ebp - 0xd8]
call fcn.1000ec02
mov ecx, dword [ebp - 0xb8]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax]
add eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc8]
mov esi, dword [eax]
mov eax, dword [ebp - 0xd0]
push dword [eax]
mov ecx, dword [ebp - 0xd8]
call fcn.1000ec02
cmp esi, dword [eax]
jl 0x1003c9a5
mov dword [ebp - 0x118], 1
jmp 0x1003c9ac
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x1003c9d9
xor eax, eax
inc eax
jne 0x1003c9d9
and dword [ebp - 0x70], 0
jmp 0x1003c9e0
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x70]
je 0x1003c9f6
mov dword [ebp - 0x80], 1
jmp 0x1003c9fa
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x80]
sub esi, dword [edx]
imul ecx, esi
cmp dword [eax], ecx
jge 0x1003ca1d
mov dword [ebp - 0x88], 1
jmp 0x1003ca24
and dword [ebp - 0x88], 0
push 0
mov ecx, dword [ebp - 0x11c]
call fcn.1000ec02
mov ecx, dword [ebp - 0x88]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret