Function at 0x4011d2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
nop
mov eax, 0x1e
push eax
lea eax, [ebp - 0x1e]
push eax
mov eax, dword [0x4048b0]
push eax
call sub.user32.dll_GetWindowTextA
mov eax, 0x1e
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [0x4048b4]
push eax
call sub.user32.dll_GetWindowTextA
mov eax, 0x1e
push eax
lea eax, [ebp - 0x5a]
push eax
mov eax, dword [0x4048b8]
push eax
call sub.user32.dll_GetWindowTextA
mov eax, 0x1e
push eax
lea eax, [ebp - 0x78]
push eax
mov eax, dword [0x4048bc]
push eax
call sub.user32.dll_GetWindowTextA
mov eax, 0x1e
push eax
lea eax, [ebp - 0x96]
push eax
mov eax, dword [0x4048e0]
push eax
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x1e]
push eax
call sub.msvcrt.dll_atoi
add esp, 4
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x3c]
push eax
call sub.msvcrt.dll_atoi
add esp, 4
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x5a]
push eax
call sub.msvcrt.dll_atoi
add esp, 4
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x78]
push eax
call sub.msvcrt.dll_atoi
add esp, 4
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x96]
push eax
call sub.msvcrt.dll_atoi
add esp, 4
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x9c]
imul eax, ecx
mov ecx, dword [ebp - 0xa4]
imul eax, ecx
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xa0]
imul eax, ecx
mov ecx, dword [ebp - 0xa4]
imul eax, ecx
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xb4]
sub eax, ecx
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xa8]
imul eax, ecx
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x9c]
imul eax, ecx
mov ecx, dword [ebp - 0xa8]
imul eax, ecx
mov ecx, dword [ebp - 0xb8]
add eax, ecx
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xac]
cmp eax, 0
jle 0x401375
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xac]
imul eax, ecx
mov ecx, 0x64
cdq
idiv ecx
mov ecx, dword [ebp - 0xc0]
sub ecx, eax
mov dword [ebp - 0xc0], ecx
mov eax, dword [ebp - 0xb0]
push eax
mov eax, 0x404014
push eax
lea eax, [ebp - 0x1e]
push eax
call sub.msvcrt.dll_sprintf
add esp, 0xc
mov eax, dword [ebp - 0xb0]
push eax
call fcn.00401066
add esp, 4
push eax
mov eax, dword [0x4048c0]
push eax
call sub.user32.dll_SetWindowTextA
mov eax, dword [ebp - 0xb4]
push eax
mov eax, 0x404017
push eax
lea eax, [ebp - 0x1e]
push eax
call sub.msvcrt.dll_sprintf
add esp, 0xc
mov eax, dword [ebp - 0xb4]
push eax
call fcn.00401066
add esp, 4
push eax
mov eax, dword [0x4048c4]
push eax
call sub.user32.dll_SetWindowTextA
mov eax, dword [ebp - 0xb8]
push eax
mov eax, 0x40401a
push eax
lea eax, [ebp - 0x1e]
push eax
call sub.msvcrt.dll_sprintf
add esp, 0xc
mov eax, dword [ebp - 0xb8]
push eax
call fcn.00401066
add esp, 4
push eax
mov eax, dword [0x4048c8]
push eax
call sub.user32.dll_SetWindowTextA
mov eax, dword [ebp - 0xbc]
push eax
mov eax, 0x40401d
push eax
lea eax, [ebp - 0x1e]
push eax
call sub.msvcrt.dll_sprintf
add esp, 0xc
mov eax, dword [ebp - 0xbc]
push eax
call fcn.00401066
add esp, 4
push eax
mov eax, dword [0x4048cc]
push eax
call sub.user32.dll_SetWindowTextA
mov eax, dword [ebp - 0xc0]
push eax
mov eax, 0x404020
push eax
lea eax, [ebp - 0x1e]
push eax
call sub.msvcrt.dll_sprintf
add esp, 0xc
mov eax, dword [ebp - 0xc0]
push eax
call fcn.00401066
add esp, 4
push eax
mov eax, dword [0x4048d0]
push eax
call sub.user32.dll_SetWindowTextA
mov eax, dword [ebp - 0xc4]
push eax
call fcn.00401066
add esp, 4
push eax
mov eax, dword [0x4048ec]
push eax
call sub.user32.dll_SetWindowTextA
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xc0]
cdq
idiv ecx
push eax
mov eax, 0x404023
push eax
lea eax, [ebp - 0x1e]
push eax
call sub.msvcrt.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0x1e]
push eax
mov eax, dword [0x4048d4]
push eax
call sub.user32.dll_SetWindowTextA
mov eax, dword [ebp - 0xbc]
push eax
call fcn.00401066
add esp, 4
push eax
lea eax, [ebp - 0x1e]
push eax
call sub.msvcrt.dll_sprintf
add esp, 8
mov eax, dword [ebp - 0xc0]
push eax
call fcn.00401066
add esp, 4
push eax
lea eax, [ebp - 0x1e]
push eax
mov eax, dword [ebp - 0xac]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x9c]
push eax
mov eax, str._i____i____i___________i___i___________s____s___r_n
push eax
lea eax, [ebp - 0x1f0]
push eax
call sub.msvcrt.dll_sprintf
add esp, 0x24
lea eax, [ebp - 0x1f0]
push eax
mov eax, 0
push eax
mov eax, 0xc2
push eax
mov eax, dword [0x4048d8]
push eax
call sub.user32.dll_SendMessageA
mov eax, 0x1e
push eax
lea eax, [ebp - 0x96]
push eax
mov eax, dword [0x4048e0]
push eax
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x96]
push eax
call sub.msvcrt.dll_atoi
add esp, 4
mov dword [ebp - 0x9c], eax
mov eax, 0x64
mov ecx, dword [ebp - 0x9c]
sub eax, ecx
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x1f4]
cmp eax, 0
jne 0x4015ae
mov eax, 1
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0xc4]
mov ecx, 5
cdq
idiv ecx
mov ecx, dword [ebp - 0x1f4]
imul eax, ecx
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x1f8]
sub eax, ecx
push eax
mov eax, 0x404058
push eax
lea eax, [ebp - 0x1e]
push eax
call sub.msvcrt.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0x1e]
push eax
mov eax, dword [0x4048e4]
push eax
call sub.user32.dll_SetWindowTextA
mov eax, 0x1e
push eax
lea eax, [ebp - 0x1e]
push eax
mov eax, dword [0x4048f0]
push eax
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x1e]
push eax
call sub.msvcrt.dll_atoi
add esp, 4
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
shl eax, 1
mov ecx, dword [ebp - 0xc4]
imul eax, ecx
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x1fc]
sub eax, ecx
push eax
call fcn.00401066
add esp, 4
push eax
mov eax, dword [0x4048f4]
push eax
call sub.user32.dll_SetWindowTextA
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa8]
add eax, ecx
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
mov ecx, 2
cdq
idiv ecx
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0xc4]
mov ecx, 2
cdq
idiv ecx
mov ecx, dword [ebp - 0x208]
imul ecx, eax
mov dword [ebp - 0x204], ecx
mov eax, dword [ebp - 0xc4]
mov ecx, 4
cdq
idiv ecx
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x200]
mov ecx, 4
cdq
idiv ecx
mov ecx, dword [ebp - 0x210]
imul ecx, eax
mov dword [ebp - 0x20c], ecx
mov eax, dword [ebp - 0xc4]
mov ecx, 8
cdq
idiv ecx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x200]
mov ecx, 8
cdq
idiv ecx
mov ecx, dword [ebp - 0x218]
imul ecx, eax
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp - 0x204]
mov ecx, dword [ebp - 0x20c]
add eax, ecx
mov ecx, dword [ebp - 0x214]
add eax, ecx
mov ecx, dword [ebp - 0xbc]
sub ecx, eax
push ecx
call fcn.00401066
add esp, 4
push eax
mov eax, dword [0x4048f8]
push eax
call sub.user32.dll_SetWindowTextA
leave
ret