Function at 0x1054794
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x1080bec]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x7d4
push ebx
mov dword [ebp - 4], eax
call esi
push 0x7d5
push ebx
mov dword [ebp - 0x218], eax
call esi
and dword [ebp - 0x220], 0
push 0x41
pop ecx
mov dword [ebp - 0x214], eax
push ebx
xor eax, eax
lea edi, [ebp - 0x20c]
push ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0106be8a
lea eax, [ebp - 0x20c]
push eax
call fcn.0106071f
xor esi, esi
inc esi
cmp eax, esi
jne 0x1054a8b
lea eax, [ebp - 0x20c]
push 0x1004468
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
pop ecx
pop ecx
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x105486b
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x224]
shrd eax, ecx, 0x14
shr ecx, 0x14
mov ecx, 0x400
cmp eax, ecx
mov dword [0x10812a4], eax
jbe 0x1054871
mov dword [0x10812a4], ecx
jmp 0x1054871
mov dword [0x10812a4], esi
mov eax, dword [0x108129c]
push dword [eax]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x20c]
push 0x10032cc
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x218]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [0x10812a4], esi
mov dword [ebp - 0x210], esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, 0x151
jb 0x1054939
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push 0x10032cc
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x143
push dword [ebp - 0x218]
call esi
push dword [ebp - 0x210]
movzx eax, ax
push eax
push edi
push dword [ebp - 0x218]
mov dword [ebp - 0x21c], eax
call esi
mov eax, dword [0x108129c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x210]
jne 0x1054925
push 0
push dword [ebp - 0x21c]
push 0x14e
push dword [ebp - 0x218]
call esi
inc dword [ebp - 0x210]
mov eax, dword [ebp - 0x210]
cmp eax, dword [0x10812a4]
jbe 0x10548bb
push 0x41
push 0x3e9
push dword [ebp - 0x218]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.0106cf3d
push 0x1401
call fcn.0106bcca
push eax
push 0
push 0x14a
push dword [ebp - 0x214]
call esi
movzx eax, ax
push 0xffffffffffffffff
push eax
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x21c], eax
call esi
mov eax, dword [0x10812a0]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x1054994
cmp eax, 0xffff
jne 0x10549b3
push 0
push dword [ebp - 0x21c]
push 0x14e
push dword [ebp - 0x214]
call esi
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x210], 0x40
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push 0x1005b5c
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push 0x14a
push dword [ebp - 0x214]
call esi
push dword [ebp - 0x210]
movzx eax, ax
push eax
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x21c], eax
call esi
cmp dword [ebp - 0x220], 0
jne 0x1054a3b
mov eax, dword [ebp - 0x210]
mov ecx, dword [0x10812a0]
cmp eax, dword [ecx]
jne 0x1054a3b
push 0
push dword [ebp - 0x21c]
push 0x14e
push dword [ebp - 0x214]
call esi
mov dword [ebp - 0x220], 1
add dword [ebp - 0x210], 0x40
cmp dword [ebp - 0x210], 0x10000
jb 0x10549bd
cmp dword [ebp - 0x220], 0
jne 0x1054a86
mov eax, dword [0x10812a0]
push dword [eax]
lea eax, [ebp - 0x20c]
push 0x10032cc
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
inc eax
jmp 0x1054a95
push esi
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01070ac3
leave
ret 0xc