Function at 0x1003f2cc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065829
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003f31f
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x6c], eax
push 0xb7b
push dword [ebp - 0x54]
push 1
push dword [ebp - 0x6c]
call fcn.1003f60f
add esp, 0x10
jmp 0x1003f5fe
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x1003f48f
mov dword [ebp - 0x38], 0x58d
mov dword [ebp - 0x74], 0x1000b7f0
cmp dword [ebp - 0x38], 0x61c
jle 0x1003f400
and dword [ebp - 0x28], 0
jmp 0x1003f373
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x1331
jge 0x1003f3f8
and dword [ebp - 0x34], 0
jmp 0x1003f389
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xa75
jge 0x1003f3f3
and dword [ebp - 0x30], 0
jmp 0x1003f39f
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x38b5
jge 0x1003f3f1
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
lea ecx, [ebp - 0xa8]
call fcn.1000defa
pop ecx
pop ecx
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
call fcn.1001b176
push eax
call fcn.1004f7a6
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.1001b16c
jmp 0x1003f398
jmp 0x1003f382
jmp 0x1003f36c
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x8c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0x3a7
jge 0x1003f41f
push dword [ebp - 0x74]
call fcn.1004f7a6
pop ecx
jmp 0x1003f43b
or dword [ebp - 4], 0xffffffff
jmp 0x1003f445
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1003f470
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x1003f48a
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x80]
call fcn.1001b465
and dword [eax], 0
jmp 0x1003f465
jmp 0x1003f5fe
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x3c], 0x2ccb
mov dword [ebp - 0x70], 0x1000b810
cmp dword [ebp - 0x3c], 0x2f95
jle 0x1003f580
and dword [ebp - 0x2c], 0
jmp 0x1003f4c3
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x6245
jge 0x1003f578
and dword [ebp - 0x1c], 0
jmp 0x1003f4dd
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6474
jge 0x1003f573
and dword [ebp - 0x20], 0
jmp 0x1003f4f7
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3aa1
jge 0x1003f56e
and dword [ebp - 0x24], 0
jmp 0x1003f50d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7a20
jge 0x1003f56c
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x20]
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
mov ecx, edx
shl eax, cl
cdq
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
push dword [ebp - 0x84]
push dword [ebp - 0x88]
lea ecx, [ebp - 0xc0]
call fcn.1000defa
pop ecx
pop ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
call fcn.1001b176
push eax
call fcn.1004f7a6
pop ecx
lea ecx, [ebp - 0xc0]
call fcn.1001b16c
jmp 0x1003f506
jmp 0x1003f4f0
jmp 0x1003f4d6
jmp 0x1003f4bc
push 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1003f5a2
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], 2
jge 0x1003f5bf
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x68]
call fcn.1001b465
mov dword [eax], 0x3d9b9503
jmp 0x1003f597
mov dword [ebp - 4], 2
cmp dword [ebp - 0x3c], 0x2916
jge 0x1003f5d8
push dword [ebp - 0x70]
call fcn.1004f7a6
pop ecx
jmp 0x1003f5f4
or dword [ebp - 4], 0xffffffff
jmp 0x1003f5fe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret