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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x43950c]
and word [ebp - 0x448], 0
push ebx
mov ebx, dword [0x4326b8]
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], eax
push 0x3f7
mov ecx, 0x82
push dword [esi + 4]
xor eax, eax
lea edi, [ebp - 0x446]
rep stosd dword es:[edi], eax
call ebx
lea ecx, [ebp - 0x448]
push 0x104
push ecx
push eax
call dword [0x432690]
lea eax, [ebp - 0x448]
test eax, eax
je 0x40d0b4
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x448]
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.00404ce9
xor edi, edi
lea ecx, [ebp - 4]
push edi
push 0x43ae58
call fcn.00404a64
cmp eax, edi
jle 0x40d33d
add eax, 2
lea ecx, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.0040d75b
mov dword [ebp - 0x2c], edi
xor eax, eax
and dword [ebp - 0x34], eax
lea edi, [ebp - 0x28]
and dword [ebp - 0x14], eax
stosd dword es:[edi], eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0xc]
call dword [0x43224c]
test eax, eax
je 0x40d292
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 0x14
pop ecx
call fcn.0042e720
and word [ebp - 0x85c], 0
mov edx, eax
mov ecx, 0x82
xor eax, eax
and word [ebp - 0x23c], ax
lea edi, [ebp - 0x85a]
rep stosd dword es:[edi], eax
mov ecx, 0x81
lea edi, [ebp - 0x23a]
rep stosd dword es:[edi], eax
cmp edx, 0x400
mov dword [ebp - 8], edx
stosw word es:[edi], ax
jb 0x40d19a
and dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], edx
fild qword [ebp - 0x1c]
push ecx
push ecx
lea eax, [ebp - 0x23c]
fmul dword [0x432904]
fstp qword [esp]
push 0x43af20
push 0x103
push eax
call dword [0x4323e4]
add esp, 0x14
jmp 0x40d1b5
push edx
push 0x43af14
lea eax, [ebp - 0x23c]
push 0x103
push eax
call dword [0x4323e4]
add esp, 0x10
lea eax, [ebp - 0x23c]
mov edi, 0x43af08
push eax
push edi
push 0x43aed8
lea eax, [ebp - 0x85c]
push 0x104
push eax
call dword [0x4323e4]
push edi
call dword [0x4323fc]
add esp, 0x18
cmp eax, dword [ebp - 8]
jbe 0x40d1f9
mov dword [esi + 0x240], 1
mov dword [esi + 0x7c], 0x3333cc
lea eax, [ebp - 0x85c]
push eax
push dword [esi + 0x60]
call dword [0x4326b4]
and word [ebp - 0x650], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x64e]
rep stosd dword es:[edi], eax
push 0x3f7
push dword [esi + 4]
stosw word es:[edi], ax
call ebx
lea ecx, [ebp - 0x650]
push 0x103
push ecx
push eax
call dword [0x432690]
lea eax, [ebp - 0x650]
lea edi, [esi + 0x238]
test eax, eax
je 0x40d25c
lea eax, [ebp - 0x650]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x650]
push ecx
push eax
mov ecx, edi
call fcn.00404ce9
lea eax, [ebp - 0x24]
push 1
mov dword [ebp - 0x24], 0x55
mov dword [ebp - 0x20], 0x82
mov dword [ebp - 0x1c], 0x177
mov dword [ebp - 0x18], 0x9c
push eax
jmp 0x40d32c
push 0x40
push dword [0x4433ac]
push 0x43aea8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
and word [ebp - 0x23c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x23a]
rep stosd dword es:[edi], eax
push 0x3f7
push dword [esi + 4]
stosw word es:[edi], ax
call ebx
lea ecx, [ebp - 0x23c]
push 0x103
push ecx
push eax
call dword [0x432690]
mov eax, dword [esi + 0x238]
lea ecx, [ebp - 0x23c]
push ecx
push eax
call dword [0x432418]
pop ecx
test eax, eax
pop ecx
je 0x40d328
mov eax, dword [esi + 0x238]
and dword [esi + 0x23c], 0
push 0x3f7
lea edi, [esi + 0x23c]
push dword [esi + 4]
mov dword [ebp - 8], eax
call ebx
push dword [ebp - 8]
push eax
call dword [0x4326b4]
mov dword [edi], 1
push 1
push 0
push dword [esi + 4]
call dword [0x43268c]
lea ecx, [ebp - 0xc]
call fcn.00404c0d
lea ecx, [ebp - 4]
call fcn.00404c0d
pop edi
pop esi
pop ebx
leave
ret