Function at 0x401a8c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x10], eax
push 5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp + 0xc]
push eax
push 0x41603c
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x104
lea edx, [ebp - 0x12c]
push edx
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.00401a3d
add esp, 0x10
test eax, eax
jne 0x401b04
push 0x104
lea ecx, [ebp - 0x12c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
movsx eax, byte [ebp - 0x12c]
test eax, eax
je 0x401b95
lea ecx, [ebp - 0x12c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [ebp + 0x10], 0
je 0x401b95
cmp dword [0x41a890], 0
je 0x401b76
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [0x41a890]
push ecx
push 0x416048
mov edx, dword [0x41a88c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov eax, dword [0x41a88c]
push eax
push 0
push 0x46f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401b95
lea edx, [ebp - 0x12c]
push edx
push 0
push 0x46f
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 8], 0
je 0x401bfc
push 0xfffffffffffffff4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp + 0xc], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040640c
add esp, 8
push 0x104
mov ecx, dword [0x41a88c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.00401a3d
add esp, 0x10
test eax, eax
je 0x401beb
mov ecx, dword [0x41a88c]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 2
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 8], eax
jmp 0x401b95
push 5
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 8], eax
push str.Next__
push 0x416058
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0x28], eax
push str.__Back
push 0x416068
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 4], eax
push 0x416070
push 0x416078
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
je 0x401d35
push 0x104
lea edx, [ebp - 0x24]
push edx
push 0x145
mov eax, dword [0x41a8ec]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 8]
jne 0x401cb3
push 0x104
mov edx, dword [0x41a88c]
push edx
push 1
lea eax, [ebp - 0x24]
push eax
call fcn.00401a3d
add esp, 0x10
test eax, eax
je 0x401cb1
mov ecx, dword [0x41a88c]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x401d21
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 8]
jne 0x401ceb
push 0x104
mov ecx, dword [0x41a88c]
push ecx
push 2
lea edx, [ebp - 0x24]
push edx
call fcn.00401a3d
add esp, 0x10
test eax, eax
je 0x401ce9
mov eax, dword [0x41a88c]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x401d21
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 8]
jne 0x401d21
push 0x104
mov eax, dword [0x41a88c]
push eax
push 3
lea ecx, [ebp - 0x24]
push ecx
call fcn.00401a3d
add esp, 0x10
test eax, eax
je 0x401d21
mov edx, dword [0x41a88c]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 2
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 8], eax
jmp 0x401c56
xor eax, eax
mov esp, ebp
pop ebp
ret