Function at 0x41ffc0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x20], 0
jmp 0x41ffd8
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp + 0xc]
jge 0x420223
mov edx, dword [ebp - 0x20]
imul edx, edx, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
sub edx, 1
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0x13
ja case.0x420010.2
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 0x420250]
jmp dword [ecx*4 + 0x42022c]
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x28
mov dword [ebp - 0x28], edx
fild dword [ebp - 0x28]
mov ecx, dword [ebp + 0x10]
fstp qword [ecx + eax + 8]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x28
mov dword [ebp - 0x2c], edx
fild dword [ebp - 0x2c]
mov ecx, dword [ebp + 0x10]
fstp qword [ecx + eax + 0x10]
jmp 0x42021e
push str.borderwidth
push 8
push 0xaa
push 0x4349cc
call fcn.0040b010
add esp, 0x10
or eax, 0xffffffff
jmp 0x420225
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
cmp ecx, dword [0x43b958]
jle 0x4200c4
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
mov eax, dword [0x43b954]
push eax
call fcn.004248d0
add esp, 8
mov dword [0x43b954], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [0x43b958], ecx
mov edx, dword [0x43b958]
sub edx, 1
push edx
mov eax, dword [0x43b954]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
jmp 0x4200fa
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [0x43b954]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
je 0x42013a
mov eax, dword [0x43b954]
add eax, dword [ebp - 4]
movsx ecx, byte [eax]
cmp ecx, 0xd
je 0x420138
mov edx, dword [0x43b954]
add edx, dword [ebp - 0x1c]
mov eax, dword [0x43b954]
add eax, dword [ebp - 4]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
jmp 0x4200f1
mov eax, dword [0x43b954]
add eax, dword [ebp - 0x1c]
mov byte [eax], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x20]
imul edx, edx, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x43b954]
mov dword [eax + edx + 8], ecx
jmp 0x42021e
push str.appendtext
push 8
push 0xb9
push 0x4349f0
call fcn.0040b010
add esp, 0x10
or eax, 0xffffffff
jmp 0x420225
mov edx, dword [ebp - 0x20]
imul edx, edx, 0x28
mov eax, dword [ebp + 0x10]
mov dword [eax + edx + 8], 0x434a08
jmp 0x42021e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
push 0x434a10
mov eax, dword [0x43b954]
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
mov ecx, dword [ebp - 0x20]
imul ecx, ecx, 0x28
mov edx, dword [ebp + 0x10]
mov eax, dword [0x43b954]
mov dword [edx + ecx + 8], eax
jmp 0x42021e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x28
mov ecx, dword [ebp + 0x10]
mov edx, dword [edx]
mov dword [ecx + eax + 8], edx
jmp 0x42021e
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x28
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov dword [ecx + eax + 8], edx
jmp 0x42021e
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x28
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + eax]
push edx
push 1
push 0xc9
push str..wsmswin32gtext.c
call fcn.0040b010
add esp, 0x10
or eax, 0xffffffff
jmp 0x420225
jmp 0x41ffcf
xor eax, eax
mov esp, ebp
pop ebp
ret