Function at 0x100347bd
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064f69
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x10034a7e
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x10034a6e
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 0x5f4d
mov dword [ebp - 0x54], 0x1000842c
cmp dword [ebp - 0x38], 0x62c6
jle 0x100348fa
push 0x158d
push 0
push 0x8ee
push 0x1a6
push 0x15eb
call dword [sym.imp.GDI32.dll_TextOutA]
and dword [ebp - 0x1c], 0
jmp 0x10034876
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x122d
jge 0x100348fa
and dword [ebp - 0x20], 0
jmp 0x1003488c
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2da3
jge 0x100348f5
and dword [ebp - 0x24], 0
jmp 0x100348a2
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x3575
jge 0x100348f3
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x20]
mov eax, edx
cdq
idiv dword [ebp - 0x24]
mov eax, edx
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
lea ecx, [ebp - 0x90]
call fcn.1000a53d
pop ecx
pop ecx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.1000befa
push eax
call fcn.1004bc81
pop ecx
lea ecx, [ebp - 0x90]
call fcn.10009a15
jmp 0x1003489b
jmp 0x10034885
jmp 0x1003486f
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0x5d6e
jge 0x10034916
push dword [ebp - 0x54]
call fcn.1004bc81
pop ecx
jmp 0x10034932
or dword [ebp - 4], 0xffffffff
jmp 0x1003493c
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
push 0x14
push 0
push 0x37d8
push 0x29e8
call fcn.10021902
pop ecx
pop ecx
call eax
push eax
push 0x37d8
push 0x329e
call fcn.10021902
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1003e5ab
add esp, 0xc
push 1
push 0x1d1
push 1
push 0x3812
push 0x6c7d
lea eax, [ebp - 0x14]
push eax
push 0x2308
push 0x649b
push 1
call fcn.10033807
add esp, 0x24
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and dword [eax + 8], 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x7785
call fcn.10035420
add esp, 0xc
push 4
push 0x1000
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x28]
push dword [eax]
push 0x37d8
push 0x361a
call fcn.10021902
pop ecx
pop ecx
call eax
push 4
push 0x1000
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x54]
mov eax, dword [ebp - 0x28]
push dword [eax]
push 0x37d8
push 0x361a
call fcn.10021902
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x54]
push eax
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
push dword [eax]
call fcn.10021f8a
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
add eax, dword [ecx + 0x3c]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
push 1
lea eax, [ebp - 0x14]
push eax
push 0x48c0
push 1
lea eax, [ebp - 0x28]
push eax
push 0x33a6
push 0x1335
call fcn.100345d4
add esp, 0x1c
jmp 0x10034a7c
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
jmp 0x10034af3
lea eax, [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x10034aa8
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
jmp 0x10034af3
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10034ad6
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 3
jge 0x10034af3
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x70]
call fcn.1000c0cd
mov dword [eax], 0x315362d
jmp 0x10034acb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret