Function at 0x401b30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x408]
push ebx
lea ebx, [ebp - 0x40c]
sub esp, 0x42c
call fcn.00401a70
mov ecx, 0xff
mov edx, dword [sym.imp.user32.dll_SendMessageA]
mov dword [ebp - 0x40c], 0
mov esi, eax
xor eax, eax
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x41c]
mov dword [esp], esi
mov dword [esp + 0xc], str.TestSomeText
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [ebp - 0x420], edx
call edx
mov dword [ebp - 0x418], edi
xor eax, eax
mov edi, ebx
mov ecx, 0x100
sub esp, 0x10
mov dword [ebp - 0x41c], ebx
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x410], 0x4011a0
mov dword [esp + 0xc], ecx
mov dword [esp], esi
mov dword [esp + 8], 1
mov dword [esp + 4], 0x44a
mov edx, dword [ebp - 0x420]
call edx
mov ecx, dword [sym.imp.msvcrt.dll_strlen]
sub esp, 0x10
mov dword [esp], ebx
mov dword [ebp - 0x424], ecx
call ecx
mov edi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x152
xor eax, eax
cmp edi, 0xc
sete al
mov dword [esp + 8], edi
lea edi, [ebp - 0x41c]
mov dword [esp], eax
mov dword [esp + 4], str.streamed_text_length_is__d__expecting_12_n
call fcn.004017f0
call fcn.00406c60
mov edx, dword [sym.imp.msvcrt.dll_strcmp]
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x153
mov dword [esp], ebx
mov dword [esp + 4], str.TestSomeText
mov dword [ebp - 0x428], edx
call edx
mov dword [esp + 8], ebx
test eax, eax
mov dword [esp + 4], str.streamed_text_different__got__s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], esi
mov dword [esp + 0xc], str.TestSomeText_r
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov edx, dword [ebp - 0x420]
call edx
mov dword [ebp - 0x418], edi
xor eax, eax
mov edi, ebx
mov ecx, 0x100
sub esp, 0x10
mov dword [ebp - 0x41c], ebx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x418]
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x410], 0x4011a0
mov dword [esp + 0xc], edi
mov dword [esp], esi
mov dword [esp + 8], 1
mov dword [esp + 4], 0x44a
mov edx, dword [ebp - 0x420]
call edx
sub esp, 0x10
mov dword [esp], ebx
mov ecx, dword [ebp - 0x424]
call ecx
mov edi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x160
xor eax, eax
cmp edi, 0xd
sete al
mov dword [esp + 8], edi
lea edi, [ebp - 0x41c]
mov dword [esp], eax
mov dword [esp + 4], str.streamed_text_length_is__d__expecting_13_n
call fcn.004017f0
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x161
mov dword [esp], ebx
mov dword [esp + 4], str.TestSomeText_r
mov edx, dword [ebp - 0x428]
call edx
mov dword [esp + 8], ebx
test eax, eax
mov dword [esp + 4], str.streamed_text_different__got__s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], esi
mov dword [esp + 0xc], str.TestSomeText_r_n
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov edx, dword [ebp - 0x420]
call edx
mov dword [ebp - 0x418], edi
xor eax, eax
mov edi, ebx
mov ecx, 0x100
sub esp, 0x10
mov dword [ebp - 0x41c], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x410], 0x4011a0
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x44a
mov edx, dword [ebp - 0x420]
call edx
sub esp, 0x10
mov dword [esp], ebx
mov ecx, dword [ebp - 0x424]
call ecx
mov edi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x16d
xor eax, eax
cmp edi, 0xe
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.streamed_text_length_is__d__expecting_14_n
call fcn.004017f0
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x16e
mov dword [esp], ebx
mov dword [esp + 4], str.TestSomeText_r_n
mov edx, dword [ebp - 0x428]
call edx
mov dword [esp + 8], ebx
test eax, eax
mov dword [esp + 4], str.streamed_text_different__got__s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], esi
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret