Function at 0x42d321
Capabilities:
Get disk size

Disassembly:
push 0xac
mov eax, 0x45ab9b
call fcn.00438c9e
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x5c]
mov dword [ebp - 0xb0], eax
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb8], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], ebx
push eax
push 0x404f38
call fcn.00435ceb
pop ecx
pop ecx
test al, al
je 0x42d68a
lea eax, [ebp - 0x5c]
push eax
call fcn.0043489f
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
pop ecx
jb 0x42d38e
mov eax, dword [ebp - 0x5c]
push ebx
push ebx
lea ecx, [ebp - 0x64]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42d68a
mov ecx, dword [ebp - 0xb0]
mov esi, ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xb4], ebx
call fcn.00427802
test eax, eax
jle 0x42d68a
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0xa4]
call fcn.00426359
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
push esi
call fcn.004277da
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x7c]
add eax, dword [ebp - 0x98]
mov edi, dword [ebp - 0xac]
add edi, eax
mov dword [ebp - 0xac], edi
adc dword [ebp - 0xb4], ebx
call fcn.00414f1b
lea ecx, [ebp - 0x94]
call fcn.00414f1b
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, 8
jb 0x42d47f
mov ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x42d476
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00414eaa
mov eax, dword [ebp - 0xa8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.00438c1d
pop ecx
pop ecx
mov ecx, dword [ebp - 0xb0]
inc esi
call fcn.00427802
cmp esi, eax
jl 0x42d3c4
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0xb4]
cmp eax, ecx
jb 0x42d68a
mov esi, dword [ebp - 0x64]
ja 0x42d4b1
cmp edi, esi
jbe 0x42d68a
shrd edi, eax, 0x14
xor eax, eax
mov dword [ebp - 0xac], edi
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
shrd esi, ecx, 0x14
push 7
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x2c], ax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0xb8]
push 8
pop edi
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], edi
jb 0x42d4fe
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2c]
push 0x3f4
push eax
call fcn.00435b36
mov eax, dword [ebp - 0xac]
push esi
push eax
lea eax, [ebp - 0x44]
push 0x421
push eax
call fcn.00435b36
add esp, 0x1c
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jb 0x42d531
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], edi
jb 0x42d53c
mov eax, dword [ebp - 0x44]
push 0x31
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
mov eax, dword [ebp - 0x30]
jne 0x42d5f3
cmp eax, edi
jb 0x42d595
mov ecx, dword [ebp - 0x44]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xa8], ecx
cmp eax, 0x1000
jb 0x42d58c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00414eaa
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xa8]
push eax
push ecx
call fcn.00438c1d
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], 7
cmp eax, edi
jb 0x42d68c
mov ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xa8], ecx
cmp eax, 0x1000
jb 0x42d5e5
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00414eaa
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xa8]
push eax
push ecx
call fcn.00438c1d
pop ecx
pop ecx
jmp 0x42d68c
cmp eax, edi
jb 0x42d635
mov ecx, dword [ebp - 0x44]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xa8], ecx
cmp eax, 0x1000
jb 0x42d62c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00414eaa
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xa8]
push eax
push ecx
call fcn.00438c1d
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], 7
cmp eax, edi
jb 0x42d68a
mov ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xa8], ecx
cmp eax, 0x1000
jb 0x42d681
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00414eaa
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xa8]
push eax
push ecx
call fcn.00438c1d
pop ecx
pop ecx
mov bl, 1
lea ecx, [ebp - 0x5c]
call fcn.00414f1b
mov al, bl
call fcn.00438c4d
ret