Function at 0x10029f1a
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1002a0ea
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x1002a0cc
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
inc ecx
sub ecx, dword [eax]
sub ecx, 0x28379649
neg ecx
mov eax, dword [ebp - 4]
add ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
imul eax, dword [eax], 0
mov ecx, dword [ebp - 4]
add eax, dword [ecx]
je 0x10029fe6
mov eax, 0xc352
test eax, eax
je 0x10029fe6
mov dword [ebp - 0x58], 1
jmp 0x10029fea
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x1002a007
mov dword [ebp - 0x2c], 1
jmp 0x1002a00b
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x1002a033
mov dword [ebp - 8], 1
jmp 0x1002a037
and dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 8], eax
jne 0x1002a04a
mov dword [ebp - 0x34], 1
jmp 0x1002a04e
and dword [ebp - 0x34], 0
mov eax, 0xa37b187b
cmp eax, 7
ja 0x1002a061
mov dword [ebp - 0xc], 1
jmp 0x1002a065
and dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0xffff
jne 0x1002a077
mov dword [ebp - 0x14], 1
jmp 0x1002a07b
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jg 0x1002a08e
mov dword [ebp - 0x3c], 1
jmp 0x1002a092
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x1002a0a7
mov dword [ebp - 0x1c], 1
jmp 0x1002a0ab
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
je 0x1002a0be
mov dword [ebp - 0x24], 1
jmp 0x1002a0c2
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x1002a0e8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x1002a0e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x1002a106
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x6c], eax
push 1
push dword [ebp - 0x64]
push dword [ebp - 0x6c]
call fcn.10029bc2
add esp, 0xc
mov esp, ebp
pop ebp
ret