Function at 0x4aa0c0
Capabilities:
Get disk size
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x58cc88
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
push 0x208
push eax
mov word [esp + 0xb4], ax
lea eax, [esp + 0xb6]
push eax
call fcn.0056cbb0
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [esp + 0xb8]
add esp, 0xc
push 0x104
push eax
push 0x417
push dword [ebx + 4]
call ebp
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
cmp word [esp + 0xac], ax
jne 0x4aa176
xor ecx, ecx
jmp 0x4aa18f
lea ecx, [esp + 0xac]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4aa180
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x38]
call fcn.00404a80
mov dword [esp + 0x2c8], 0
cmp dword [esp + 0x40], 0
jne 0x4aa253
xor eax, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
mov byte [esp + 0x2c8], 1
lea eax, [esp + 0x18]
push 0x5b9d9c
push eax
call fcn.004b0200
add esp, 8
lea eax, [esp + 0x18]
cmp dword [esp + 0x2c], 8
cmovae eax, dword [esp + 0x18]
push eax
push 0x42e
push dword [ebx + 4]
call ebp
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [esp + 0x2c8], 0
cmp dword [esp + 0x2c], 8
jb 0x4aa33f
push dword [esp + 0x18]
call fcn.00564de3
add esp, 4
mov dword [esp + 0x2c], 7
xor eax, eax
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
jmp 0x4aa6ff
lea ecx, [esp + 0x30]
call fcn.004b3080
test al, al
jne 0x4aa35b
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4aa2b2
mov dword [esp + 0x84], 0x5c
lea esi, [eax - 1]
push 1
push esi
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x3c]
call fcn.004ad710
test eax, eax
jle 0x4aa2b2
push esi
push eax
lea ecx, [esp + 0x38]
call fcn.004041f0
lea ecx, [esp + 0x30]
call fcn.004b3080
test al, al
jne 0x4aa2b2
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4aa277
lea ecx, [esp + 0x30]
call fcn.004b3080
test al, al
jne 0x4aa35b
xor eax, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
mov byte [esp + 0x2c8], 2
lea eax, [esp + 0x18]
push 0x5b9d9c
push eax
call fcn.004b0200
add esp, 8
lea eax, [esp + 0x18]
cmp dword [esp + 0x2c], 8
cmovae eax, dword [esp + 0x18]
push eax
push 0x42e
push dword [ebx + 4]
call ebp
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [esp + 0x2c8], 0
cmp dword [esp + 0x2c], 8
jb 0x4aa33f
push dword [esp + 0x18]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
jmp 0x4aa6ff
cmp dword [esp + 0x44], 8
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0x7c], 0
push ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], 0
push ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0x8c], 0
lea eax, [esp + 0x3c]
mov dword [esp + 0xb4], 0
cmovae eax, dword [esp + 0x3c]
xorps xmm0, xmm0
push ecx
push eax
movlpd qword [esp + 0x98], xmm0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x4aa3e7
mov eax, dword [esp + 0x80]
mul dword [esp + 0x7c]
push 0
push dword [esp + 0x7c]
push edx
push eax
call fcn.0056d1d0
mov esi, eax
mov edi, edx
jmp 0x4aa3f5
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
push 2
xor eax, eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [esp + 0x64]
push 0x5b9df0
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
call fcn.00404a80
mov byte [esp + 0x2c8], 3
test edi, edi
jne 0x4aa440
test esi, esi
je 0x4aa4ca
push edi
push esi
lea eax, [esp + 0x20]
push eax
call fcn.004aa760
mov ebp, eax
mov byte [esp + 0x2c8], 4
lea eax, [esp + 0x60]
cmp eax, ebp
je 0x4aa492
cmp dword [esp + 0x74], 8
jb 0x4aa471
push dword [esp + 0x60]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x74], 7
push ebp
lea ecx, [esp + 0x64]
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
call fcn.00404150
mov byte [esp + 0x2c8], 3
cmp dword [esp + 0x2c], 8
jb 0x4aa4ad
push dword [esp + 0x18]
call fcn.00564de3
add esp, 4
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
push 1
xor eax, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x4c]
push 0x5a88b0
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
call fcn.00404a80
mov byte [esp + 0x2c8], 5
mov ecx, ebx
call fcn.004aad30
cmp edx, edi
ja 0x4aa523
jb 0x4aa51a
cmp eax, esi
ja 0x4aa523
mov byte [ebx + 0x1db], 1
jmp 0x4aa52a
mov byte [ebx + 0x1db], 0
test edx, edx
jne 0x4aa536
test eax, eax
je 0x4aa5c1
shld edx, eax, 0xa
shl eax, 0xa
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004aa760
mov esi, eax
mov byte [esp + 0x2c8], 6
lea eax, [esp + 0x48]
cmp eax, esi
je 0x4aa58f
cmp dword [esp + 0x5c], 8
jb 0x4aa56e
push dword [esp + 0x48]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
call fcn.00404150
mov byte [esp + 0x2c8], 5
cmp dword [esp + 0x2c], 8
jb 0x4aa5aa
push dword [esp + 0x18]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
xor eax, eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], 0
mov word [esp + 0x90], ax
mov byte [esp + 0x2c8], 7
lea ecx, [esp + 0x60]
cmp dword [esp + 0x74], 8
lea eax, [esp + 0x48]
cmovae ecx, dword [esp + 0x60]
cmp dword [esp + 0x5c], 8
push ecx
cmovae eax, dword [esp + 0x4c]
push eax
lea eax, [esp + 0x98]
push 0x5b9dd0
push eax
call fcn.004b0200
add esp, 0x10
lea eax, [esp + 0x90]
cmp dword [esp + 0xa4], 8
cmovae eax, dword [esp + 0x90]
push eax
push 0x42e
push dword [ebx + 4]
call ebp
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [esp + 0x2c8], 5
cmp dword [esp + 0xa4], 8
jb 0x4aa67c
push dword [esp + 0x90]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], 0
mov word [esp + 0x90], ax
mov byte [esp + 0x2c8], 3
cmp dword [esp + 0x5c], 8
jb 0x4aa6b7
push dword [esp + 0x48]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
mov byte [esp + 0x2c8], al
cmp dword [esp + 0x74], 8
jb 0x4aa6e8
push dword [esp + 0x60]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
mov word [esp + 0x60], ax
mov dword [esp + 0x2c8], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x4aa71d
push dword [esp + 0x30]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
mov ecx, dword [esp + 0x2c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.00564de8
add esp, 0x2b8
ret