Function at 0x1002ecc7
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008cccd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002ecf9
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x1002f419
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x10], 0x64a53aa9
mov dword [ebp - 0x30], 0
jmp 0x1002ed35
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x1002ed4b
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0xf4], 0xfffffffb
jmp 0x1002ed2e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1002ee50
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x20], 0xffff
ja 0x1002ed76
mov dword [ebp - 0x64], 1
jmp 0x1002ed7a
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x64]
test eax, eax
jne 0x1002ed94
cmp dword [ebp - 0x10], 0
jne 0x1002ed94
and dword [ebp - 0xb8], 0
jmp 0x1002ed9e
mov dword [ebp - 0xb8], 1
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x10], eax
jl 0x1002edaf
mov dword [ebp - 0x4c], 1
jmp 0x1002edb3
and dword [ebp - 0x4c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp + eax - 0xf4]
cmp ecx, 0xfffffff7
jl 0x1002edd4
mov dword [ebp - 0xa4], 1
jmp 0x1002eddb
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1002edf3
mov dword [ebp - 0x54], 1
jmp 0x1002edf7
and dword [ebp - 0x54], 0
imul eax, dword [ebp - 0x54], 0xd816
test eax, eax
je 0x1002ee50
mov dword [ebp - 0x10], 0
jmp 0x1002ee12
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1002ee28
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xf4], 0xde1fc657
jmp 0x1002ee0b
mov dword [ebp - 0x10], 0
jmp 0x1002ee38
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1002ee4e
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xf4], 0x8bd85027
jmp 0x1002ee31
jmp 0x1002ee6b
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1002ee6b
push 0x97c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jle 0x1002f419
push 3
lea ecx, [ebp - 0x100]
call fcn.100191fb
and dword [ebp - 4], 0
mov dword [ebp - 0xc4], 0xeb77278f
mov dword [ebp - 0x128], 0
mov dword [ebp - 0xe4], 0xfffffff7
mov dword [ebp - 0xcc], 0
push 1
lea ecx, [ebp - 0x10c]
call fcn.100191fb
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x124], 1
push 3
lea ecx, [ebp - 0x118]
call fcn.100191fb
mov byte [ebp - 4], 2
mov dword [ebp - 0xb0], 0xcc8c9f13
mov dword [ebp - 0x14], 0
jmp 0x1002ef07
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1002ef20
push dword [ebp - 0x14]
lea ecx, [ebp - 0x100]
call fcn.10019299
or dword [eax], 0xffffffff
jmp 0x1002ef00
push 0x6ec9
push 0x4a83
push 0
lea eax, [ebp - 0x14]
push eax
push 0x7882
lea eax, [ebp - 0x10c]
push eax
call fcn.1002b7c9
add esp, 0x18
mov dword [ebp - 0x14], 0
jmp 0x1002ef54
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1002ef6a
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xec], 0xe74b
jmp 0x1002ef4d
push 0x565e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x118]
push eax
push 0
push 0x5815
call fcn.10028b14
add esp, 0x14
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x1002ef9d
push 0
call dword [sym.imp.USER32.dll_RegisterClassW]
push 2
lea ecx, [ebp - 0x100]
call fcn.10019299
mov esi, eax
push 1
lea ecx, [ebp - 0x100]
call fcn.10019299
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x1002efc8
mov dword [ebp - 0x78], 1
jmp 0x1002efcc
and dword [ebp - 0x78], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xec]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xec]
dec ecx
push 4
pop edx
imul edx, edx, 0
mov dword [ebp + edx - 0xec], ecx
test eax, eax
jne 0x1002f072
cmp dword [ebp - 0xe4], 0xccfdef05
je 0x1002f00d
mov dword [ebp - 0x5c], 1
jmp 0x1002f011
and dword [ebp - 0x5c], 0
push 0
lea ecx, [ebp - 0x10c]
call fcn.10019299
mov dword [ebp - 0xac], eax
push 2
lea ecx, [ebp - 0x118]
call fcn.10019299
mov ecx, dword [ebp - 0xac]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x5c]
jge 0x1002f054
mov dword [ebp - 0xb4], 1
jmp 0x1002f05b
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0xb4], eax
jle 0x1002f072
mov eax, 0x3b3b
test eax, eax
je 0x1002f090
push 0
lea ecx, [ebp - 0x10c]
call fcn.10019299
cmp dword [eax], 0
je 0x1002f090
mov dword [ebp - 0xa0], 1
jmp 0x1002f097
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xa0], eax
jl 0x1002f0ab
mov dword [ebp - 0x68], 1
jmp 0x1002f0af
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0x160c6370
jne 0x1002f0c4
mov dword [ebp - 0x90], 1
jmp 0x1002f0cb
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x90], eax
jg 0x1002f0df
mov dword [ebp - 0x70], 1
jmp 0x1002f0e3
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0x78], eax
jle 0x1002f103
mov dword [ebp - 0x98], 1
jmp 0x1002f10a
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0xcc]
cmp dword [ebp - 0x98], eax
jl 0x1002f121
mov dword [ebp - 0x80], 1
jmp 0x1002f125
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0xb22c
jle 0x1002f13a
mov dword [ebp - 0xa8], 1
jmp 0x1002f141
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call fcn.1001927d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10c]
call fcn.1001927d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.1001927d
push 4
push 0x1000
push dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xd0]
add ecx, dword [eax + 0xc]
push ecx
push 0x2511
push 0x1da9
call fcn.100280f5
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov dword [ebp - 0x1c], 0xfffffff7
mov dword [ebp - 0xd4], 0xfffffff8
mov dword [ebp - 0x28], 0x8f59172d
mov dword [ebp - 0x24], 0xfffffffd
mov dword [ebp - 0xe0], 0x989265
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x2c], 0
jmp 0x1002f1e6
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1002f1fc
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x138], 0x2c6eed1e
jmp 0x1002f1df
xor eax, eax
inc eax
je 0x1002f213
cmp dword [ebp - 0x28], 0
je 0x1002f213
mov dword [ebp - 0x88], 1
jmp 0x1002f21a
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0x88], eax
jne 0x1002f234
mov dword [ebp - 0xd8], 1
jmp 0x1002f23b
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x28], eax
jle 0x1002f255
mov dword [ebp - 0x60], 1
jmp 0x1002f259
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x60], eax
jne 0x1002f26a
mov dword [ebp - 0x44], 1
jmp 0x1002f26e
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x44], eax
jle 0x1002f282
mov dword [ebp - 0xc8], 1
jmp 0x1002f289
and dword [ebp - 0xc8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x138]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1002f2cd
mov dword [ebp - 0xc0], 0x748a
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc0]
push eax
push 0x5d8c
push 0
push 0x397d
call fcn.10032941
add esp, 0x14
jmp 0x1002f3e4
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x3c], 0x69a4575f
mov dword [ebp - 0x48], 0x299b
cmp dword [ebp - 0x1c], 0xa660
jge 0x1002f2fa
mov dword [ebp - 0x8c], 1
jmp 0x1002f301
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x28], 0
je 0x1002f319
cmp dword [ebp - 0xd4], 0
je 0x1002f319
mov dword [ebp - 0x6c], 1
jmp 0x1002f31d
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x28]
jl 0x1002f331
mov dword [ebp - 0x74], 1
jmp 0x1002f335
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0
ja 0x1002f350
mov eax, 0x116e
test eax, eax
je 0x1002f350
mov dword [ebp - 0xbc], 1
jmp 0x1002f357
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x8c]
imul eax, ecx
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x24]
cmp eax, ecx
jge 0x1002f391
mov dword [ebp - 0x94], 1
jmp 0x1002f398
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0xfffffff9
ja 0x1002f3ad
mov dword [ebp - 0x9c], 1
jmp 0x1002f3b4
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
add eax, 0x26d35df9
sub eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x48]
je 0x1002f3d0
mov dword [ebp - 0x50], 1
jmp 0x1002f3d4
and dword [ebp - 0x50], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x50]
mov dword [ebp + eax - 0x138], ecx
mov dword [ebp - 0x24], 0x44bf8e16
lea eax, [ebp - 0x58]
push eax
push 0x7bb7
push 0x3afc
push 1
lea eax, [ebp - 0x40]
push eax
call fcn.10028b14
add esp, 0x14
push dword [ebp - 0x38]
push 0
mov eax, dword [ebp - 0x40]
push dword [eax]
call fcn.100281c2
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret