Function at 0x1003a42e
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100679ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x84
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1003a6af
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x34], 0x67af
mov dword [ebp - 0x50], 0x1000ab38
cmp dword [ebp - 0x34], 0x6941
jle 0x1003a4dc
and dword [ebp - 0x28], 0
jmp 0x1003a49b
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x5d7c
jge 0x1003a4dc
and dword [ebp - 0x20], 0
jmp 0x1003a4b1
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2c19
jge 0x1003a4da
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
mov ecx, 0x10610418
call fcn.10019cf9
jmp 0x1003a4aa
jmp 0x1003a494
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x1003a509
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1003a504
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x1003a66a
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1003a537
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], 3
jge 0x1003a554
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x3c]
call fcn.10019fc8
mov dword [eax], 0xe65c
jmp 0x1003a52c
mov dword [ebp - 0x30], 0x3ea8
mov dword [ebp - 0x48], 0x1000ab70
cmp dword [ebp - 0x30], 0x3fd7
jle 0x1003a62e
and dword [ebp - 0x2c], 0
jmp 0x1003a57c
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x2f3b
jge 0x1003a622
and dword [ebp - 0x18], 0
jmp 0x1003a596
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1b0
jge 0x1003a61d
and dword [ebp - 0x1c], 0
jmp 0x1003a5ac
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3c29
jge 0x1003a618
and dword [ebp - 0x24], 0
jmp 0x1003a5c2
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7925
jge 0x1003a616
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
shl eax, cl
mov ecx, dword [ebp - 0x1c]
shl eax, cl
mov ecx, dword [ebp - 0x24]
shl eax, cl
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
lea ecx, [ebp - 0x94]
call fcn.1000d08a
pop ecx
pop ecx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call fcn.10019cd9
push eax
call fcn.10051966
pop ecx
lea ecx, [ebp - 0x94]
call fcn.10019ccf
jmp 0x1003a5bb
jmp 0x1003a5a5
jmp 0x1003a58f
jmp 0x1003a575
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorOwner]
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x3e22
jge 0x1003a644
push dword [ebp - 0x48]
call fcn.10051966
pop ecx
jmp 0x1003a660
or dword [ebp - 4], 0xffffffff
jmp 0x1003a66a
mov dword [ebp - 4], 2
cmp dword [ebp - 0x34], 0x65d8
jge 0x1003a687
mov edx, dword [ebp - 0x50]
mov ecx, 0x10610418
call fcn.1001c204
jmp 0x1003a6a3
or dword [ebp - 4], 0xffffffff
jmp 0x1003a6ad
jmp 0x1003a6d5
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
push dword [ebp - 0x58]
push 1
push dword [ebp - 0x60]
push 0x4257
push 0x43b2
call fcn.1002b163
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret