Function at 0x10001ce4
Capabilities:
Get disk information
Get disk size

Disassembly:
sub esp, 0x3c
push ebx
push ebp
mov ebp, dword [esp + 0x48]
push esi
push edi
xor ebx, ebx
mov al, 0x5c
push 0x8003
mov byte [esp + 0x18], bl
mov byte [esp + 0x19], 0x3a
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], al
mov byte [esp + 0x1c], bl
mov dword [esp + 0x54], ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [esp + 0x10], 1
mov al, byte [esp + 0x10]
lea ecx, [esp + 0x14]
add al, 0x41
push ecx
mov byte [esp + 0x18], al
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ecx, 6
cmp eax, ecx
ja case.default.0x10001cdd
jmp dword [eax*4 + 0x10001e84]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], edx
jmp 0x10001e3b
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], 2
jmp 0x10001d3b
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], 3
lea ecx, [esp + 0x24]
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x10001d79
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov ecx, 6
jmp 0x10001e47
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], 4
jmp 0x10001e47
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
mov dword [esp + 0x34], ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], 5
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x10001e06
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov ecx, 6
jmp 0x10001e47
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ecx
jmp 0x10001e47
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x50]
mov edi, ebp
add ebp, 0x18
lea esi, [esp + 0x34]
inc eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x1a
mov dword [esp + 0x10], eax
jl 0x10001cbb
push ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4