Function at 0x100242e8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080ecc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push esi
mov dword [ebp - 0x110], 0x3dd33a4a
mov dword [ebp - 0x10c], 0x3dd33a4a
mov dword [ebp - 0x108], 0x3dd33a4a
mov dword [ebp - 0x104], 0x3dd33a4a
lea ecx, [ebp - 0x45]
call fcn.10008cf3
push eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x15c]
call fcn.100159c4
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x60]
call fcn.10015973
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xfc], 0x8cdac369
mov dword [ebp - 0x114], 0x1a2c
mov dword [ebp - 0x10], 3
jmp 0x1002438d
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x100245da
mov dword [ebp - 0x14], 0xe8c9f369
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x100243b0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x14], 3
jmp 0x100243c0
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x100245d5
mov dword [ebp - 0xe8], 0x51d77f17
mov dword [ebp - 0x70], 0xfffffffc
mov dword [ebp - 0x34], 0
jmp 0x100243eb
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 4
jge 0x10024401
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x154], 0xfffffff8
jmp 0x100243e4
push dword [ebp - 0x10]
lea ecx, [ebp - 0x60]
call fcn.100159b5
cmp dword [ebp - 0xe8], 3
jae 0x1002441e
mov dword [ebp - 0x74], 1
jmp 0x10024422
and dword [ebp - 0x74], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x60]
call fcn.100159b5
mov eax, dword [eax]
cmp eax, dword [ebp - 0x74]
je 0x1002443d
mov dword [ebp - 0x50], 1
jmp 0x10024441
and dword [ebp - 0x50], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
mov dword [ebp + eax - 0x154], ecx
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x14]
je 0x1002445d
cmp dword [ebp - 0x10], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x60]
call fcn.100159b5
mov ecx, dword [ebp - 0x10]
cmp dword [eax], ecx
jle 0x1002447b
mov dword [ebp - 0xa8], 1
jmp 0x10024482
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
add eax, 0x7bb456e
cmp eax, 0xffffffff
jle 0x100244ab
push dword [ebp - 0x14]
lea ecx, [ebp - 0x60]
call fcn.100159b5
cmp dword [eax], 0
jne 0x100244ab
and dword [ebp - 0xbc], 0
jmp 0x100244b5
mov dword [ebp - 0xbc], 1
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xbbda73a1
je 0x100244d3
mov dword [ebp - 0x98], 1
jmp 0x100244da
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0x25bb5a27
jg 0x100244ef
mov dword [ebp - 0x78], 1
jmp 0x100244f3
and dword [ebp - 0x78], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x60]
call fcn.100159b5
mov ecx, dword [ebp - 0x78]
imul ecx, dword [eax]
add ecx, dword [ebp - 0x10]
jne 0x10024521
push 0
lea ecx, [ebp - 0x60]
call fcn.100159b5
cmp dword [eax], 0
jne 0x10024521
and dword [ebp - 0xb8], 0
jmp 0x1002452b
mov dword [ebp - 0xb8], 1
mov esi, dword [ebp - 0xb8]
sub esi, dword [ebp - 0x10]
push 3
lea ecx, [ebp - 0x60]
call fcn.100159b5
cmp esi, dword [eax]
jne 0x1002454b
mov dword [ebp - 0x80], 1
jmp 0x1002454f
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x80], eax
jne 0x10024563
mov dword [ebp - 0xa0], 1
jmp 0x1002456a
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0x7a540f82
jl 0x10024582
mov dword [ebp - 0x88], 1
jmp 0x10024589
and dword [ebp - 0x88], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x60]
call fcn.100159b5
mov esi, eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x60]
call fcn.100159b5
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x88]
imul ecx, dword [eax]
cmp dword [esi], ecx
jl 0x100245bd
mov dword [ebp - 0xb0], 1
jmp 0x100245c4
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xfc], eax
jmp 0x100243b9
jmp 0x10024386
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.10015999
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10024a61
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x18], 0x824a8c6a
mov dword [ebp - 0x90], 0xffffffff
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10024651
push 0x1008
push 0x41e
push 0x3b2
push 0x1fd8
push 0x92d
push 0x1652
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_RoundRect]
mov dword [ebp - 0x18], 0
jmp 0x10024661
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfffffff5
je 0x100247e8
push 3
lea ecx, [ebp - 0xf8]
call fcn.10015917
mov dword [ebp - 4], 1
mov dword [ebp - 0x54], 0x9974082
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0x44], 0
jmp 0x100246a0
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x100246bc
push dword [ebp - 0x44]
lea ecx, [ebp - 0xf8]
call fcn.100159b5
mov dword [eax], 0x968939f5
jmp 0x10024699
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
jne 0x100246cd
mov dword [ebp - 0x68], 1
jmp 0x100246d1
and dword [ebp - 0x68], 0
push 2
lea ecx, [ebp - 0xf8]
call fcn.100159b5
mov eax, dword [eax]
mov dword [ebp - 0x90], eax
mov esi, dword [ebp - 0x90]
push 2
lea ecx, [ebp - 0xf8]
call fcn.100159b5
add esi, dword [eax]
cmp esi, 0xffffffff
jge 0x1002470c
mov dword [ebp - 0xc0], 1
jmp 0x10024713
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x4c]
test eax, eax
jne 0x1002472a
cmp dword [ebp - 0x54], 0
jne 0x1002472a
and dword [ebp - 0x6c], 0
jmp 0x10024731
mov dword [ebp - 0x6c], 1
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x6c]
jge 0x10024745
mov dword [ebp - 0xcc], 1
jmp 0x1002474c
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x18], 1
jge 0x10024764
mov dword [ebp - 0x64], 1
jmp 0x10024768
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x64], eax
jl 0x10024779
mov dword [ebp - 0x7c], 1
jmp 0x1002477d
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x7c], eax
je 0x10024791
mov dword [ebp - 0x84], 1
jmp 0x10024798
and dword [ebp - 0x84], 0
mov esi, dword [ebp - 0x18]
add esi, dword [ebp - 0x84]
sub esi, dword [ebp - 0x18]
push 2
lea ecx, [ebp - 0xf8]
call fcn.100159b5
cmp esi, dword [eax]
jl 0x100247c1
mov dword [ebp - 0x8c], 1
jmp 0x100247c8
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xe4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.10015999
jmp 0x1002465a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xc4], 0xec51938d
mov dword [ebp - 0x38], 0
jmp 0x1002481c
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x10024832
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x12c], 0xfffffff6
jmp 0x10024815
mov dword [ebp - 0x28], 0
jmp 0x10024842
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jg 0x100249e0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x3c], 0
jmp 0x1002486d
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x10024883
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0xdc], 1
jmp 0x10024866
mov dword [ebp - 0x20], 0
jmp 0x10024893
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jg 0x100249ab
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x30], 0
jmp 0x100248b7
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x100248cd
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x138], 0xfc0233fd
jmp 0x100248b0
cmp dword [ebp - 0x20], 0
je 0x10024947
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x138], 0
jg 0x100248ee
mov dword [ebp - 0xd4], 1
jmp 0x100248f5
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xec], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xec]
mov dword [ebp + eax - 0xdc], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x12c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x94], eax
jle 0x10024947
mov dword [ebp - 0x9c], 1
jmp 0x1002494e
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x9c], eax
jg 0x10024968
cmp dword [ebp - 0x20], 0
jne 0x10024968
and dword [ebp - 0xa4], 0
jmp 0x10024972
mov dword [ebp - 0xa4], 1
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xfffffff8
jg 0x10024993
mov dword [ebp - 0xb4], 1
jmp 0x1002499a
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xc4], eax
jmp 0x1002488c
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x100249db
push 0x254
push 0
push 0
push 0x485
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
jmp 0x1002483b
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x40], 0
jmp 0x100249f7
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x10024a0d
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x144], 5
jmp 0x100249f0
mov dword [ebp - 0x2c], 2
jmp 0x10024a1d
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x10024a34
mov eax, dword [ebp - 0x2c]
cmp dword [ebp + eax*4 - 0x144], 0
je 0x10024a32
jmp 0x10024a34
jmp 0x10024a16
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xe0]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
jmp 0x10024a7a
push 0x2242
push 0x214c
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_CreateCaret]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret