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

Disassembly:
sub esp, 0x230
push ebx
push ebp
push esi
mov esi, dword [esp + 0x240]
push edi
push 1
mov ecx, dword [esi + 8]
mov ebp, dword [esi + 0x10]
pop eax
xor ebx, ebx
and ecx, eax
push ebx
push ecx
push 0xf1
push 0x7002
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], ebp
mov dword [esi + 0x18], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov word [esi + 0x34], bx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea edi, [esi + 0x444]
push 0x7cf32e54
push edi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ax, word [esi]
push ebx
add word [edi], ax
push esi
call fcn.7cfabc40
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x18]
lea eax, [esi + 0x450]
push edx
push 0x15
push eax
push edi
call dword [ecx + 8]
test al, al
jne 0x7cfabec3
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x7cfabeb3
call edi
jmp 0x7cfabebf
call edi
and eax, 0xffff
or eax, 0x80070000
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x7cfac03a
push 0x7001
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x7005
push ebp
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
cmp ecx, ebx
jbe 0x7cfabf2f
lea eax, [esi + 0x450]
mov dword [esp + 0x18], ecx
mov ebp, eax
mov ecx, dword [eax]
cmp ecx, 1
je 0x7cfabf26
cmp ecx, 2
je 0x7cfabf26
cmp ecx, 3
je 0x7cfabf26
cmp ecx, 4
je 0x7cfabf26
mov dword [ebp], ecx
inc edx
add ebp, 4
add eax, 4
dec dword [esp + 0x18]
jne 0x7cfabf09
cmp edx, ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], ebx
jbe 0x7cfac02a
lea eax, [esi + 0x450]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
cmp eax, 0xc
je 0x7cfabf59
cmp eax, 0xb
jne 0x7cfabf5c
mov dword [esi + 0x14], ebx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
cmp eax, 0xc
je 0x7cfabf90
cmp eax, 0xb
je 0x7cfabf90
mov ebp, 0x7020
call fcn.7cf5562e
test eax, eax
je 0x7cfabf7d
add ebp, 0x30
lea eax, [esp + 0x40]
push 0x100
push eax
mov eax, dword [esp + 0x24]
add ebp, dword [eax]
push ebp
jmp 0x7cfabff6
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x7cfabfe7
mov eax, dword [esp + 0x34]
imul eax, dword [esp + 0x30]
mov dword [esi + 0x30], eax
lea eax, [esp + 0x40]
push eax
push ebx
push dword [esp + 0x3c]
push ebx
push dword [esp + 0x48]
call fcn.7d0419d0
push ebx
push dword [esp + 0x38]
push edx
push eax
call fcn.7d0419d0
push edx
push eax
call fcn.7cf58be6
jmp 0x7cfac002
lea eax, [esp + 0x40]
push 0x100
push eax
push 0x7041
push dword [0x7d04cdfc]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0x40]
push eax
push ebx
push 0x143
push dword [esp + 0x30]
call edi
inc dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x1c], 4
cmp eax, dword [esp + 0x18]
jb 0x7cfabf49
push ebx
mov ebp, 0x14e
push ebx
push ebp
push dword [esp + 0x30]
call edi
jmp 0x7cfac03f
mov ebp, 0x14e
cmp dword [esp + 0x14], ebx
jne 0x7cfac163
push 0x7cf3a3b8
push ebx
push 0x143
push dword [esp + 0x1c]
call edi
cmp dword [esi + 0x14], ebx
jne 0x7cfac089
push 0x7cf3a3c0
push ebx
push 0x143
push dword [esp + 0x1c]
call edi
cmp dword [0x7d04ce40], ebx
je 0x7cfac089
push 0x7cf3a3d0
push ebx
push 0x143
push dword [esp + 0x1c]
call edi
push ebx
push ebx
push ebp
push dword [esp + 0x1c]
call edi
push esi
push ebx
call fcn.7cfabc9b
cmp dword [esp + 0x14], ebx
jne 0x7cfac163
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [esp + 0x40]
push 0x100
push eax
push ebx
push ebx
push ebx
lea eax, [esi + 0x34]
push 0x104
push eax
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x7cfac163
cmp word [esi + 0x34], bx
lea eax, [esi + 0x34]
je 0x7cfac0f2
push eax
push 0x7007
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esi + 0x14], ebx
jne 0x7cfac163
lea eax, [esp + 0x40]
push eax
push 0x7cf3a3c0
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x7cfac11d
push ebx
push 1
push ebp
push dword [esp + 0x1c]
call edi
push esi
mov dword [esi + 0x24], ebx
push 1
jmp 0x7cfac15e
lea eax, [esp + 0x40]
push eax
push 0x7cf3a3d0
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
push ebx
jne 0x7cfac14a
push 2
push ebp
push dword [esp + 0x1c]
call edi
push esi
mov dword [esi + 0x24], 1
mov dword [esi + 0x30], ebx
push 2
jmp 0x7cfac15e
push ebx
push ebp
push dword [esp + 0x1c]
call edi
push esi
mov dword [esi + 0x24], 1
mov dword [esi + 0x30], ebx
push ebx
call fcn.7cfabc9b
mov eax, dword [esp + 0x14]
cmp eax, ebx
jge 0x7cfac1cd
and eax, 0xffff
sub eax, 5
je 0x7cfac1a8
sub eax, 0xe
je 0x7cfac193
dec eax
dec eax
jne 0x7cfac1cd
mov eax, dword [esp + 0x20]
movzx eax, word [eax]
push eax
push 0x10030
push ebx
push 0x1006
jmp 0x7cfac1bb
mov eax, dword [esp + 0x20]
movzx eax, word [eax]
push eax
push 0x10030
push ebx
push 0x700d
jmp 0x7cfac1bb
mov eax, dword [esp + 0x20]
movzx eax, word [eax]
push eax
push 0x10030
push ebx
push 0x700c
push dword [esp + 0x38]
push dword [0x7d04cdfc]
call sym.SHELL32.dll_ShellMessageBoxW
add esp, 0x18
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x230
ret 4