Function at 0x4014e0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x410189
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0x414290
mov dword [esp + 0x3c], ebp
call fcn.00404f80
mov eax, dword [ebp + 8]
xor esi, esi
add esp, 4
cmp eax, esi
jne 0x4018db
push 0x41427c
call fcn.00404f80
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
add esp, 4
push 0x414264
push 0x41425c
call edi
mov ebx, eax
cmp ebx, esi
jne 0x40155a
push 0x414240
push 0x41425c
call edi
mov ebx, eax
cmp ebx, esi
je 0x4017f3
lea eax, [esp + 0x34]
mov dword [esp + 0x34], esi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
call fcn.00401ce0
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc8], esi
cmp eax, esi
je 0x401599
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004013c0
add esp, 8
lea eax, [esp + 0x14]
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.00401030
add esp, 8
mov edx, dword [0x4111ac]
lea ecx, [esp + 0x14]
push edx
push esi
push eax
mov byte [esp + 0xd4], 1
call fcn.00401990
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0xcc], 0
call fcn.00401ce0
mov edi, 0x414234
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x1c]
not ecx
dec ecx
push ecx
push 0x414234
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.004026d0
cmp eax, esi
je 0x40162c
mov edi, 0x414224
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x20]
push 0x414224
push ecx
push esi
lea ecx, [esp + 0x24]
call fcn.004026d0
cmp eax, esi
jne 0x4017b6
push 0x414214
call fcn.00404f80
add esp, 4
mov byte [esp + 0x13], 0
push 0x7e2
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, eax
cmp edx, esi
je 0x4017a9
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x5d]
mov byte [esp + 0x5c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x5c]
push 0x64
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
call fcn.00401ce0
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x28]
push ebp
call fcn.00402070
test al, al
je 0x4016cf
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x5c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ebp
xor esi, esi
mov byte [eax + ebp], 0
lea ecx, [esp + 0x24]
lea edx, [esp + 0x3c]
push ecx
push edx
mov byte [esp + 0xd0], 2
call fcn.00401030
add esp, 8
mov ecx, dword [0x4111ac]
mov byte [esp + 0xc8], 3
push ecx
push esi
push eax
lea ecx, [esp + 0x30]
call fcn.00401990
mov eax, dword [esp + 0x40]
mov byte [esp + 0xc8], 2
cmp eax, esi
je 0x401730
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x401727
cmp al, 0xff
je 0x401727
dec al
mov byte [ecx], al
jmp 0x401730
push ecx
call fcn.00405716
add esp, 4
mov edi, 0x41420c
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x40], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x44], esi
push ecx
push esi
push 0x41420c
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], esi
call fcn.00401c50
cmp eax, esi
jne 0x401764
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x28]
mov byte [esp + 0xc8], 0
cmp eax, esi
je 0x401791
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x401788
cmp al, 0xff
je 0x401788
dec al
mov byte [ecx], al
jmp 0x401791
push ecx
call fcn.00405716
add esp, 4
mov al, byte [esp + 0x13]
mov dword [esp + 0x28], esi
test al, al
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
jne 0x401816
mov ebp, dword [esp + 0x38]
push 0x4141e8
call fcn.00404f80
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc8], 0xffffffff
cmp ecx, esi
je 0x4017e5
mov al, byte [ecx - 1]
test al, al
je 0x4017db
cmp al, 0xff
je 0x4017db
dec al
mov byte [ecx - 1], al
jmp 0x4017e5
dec ecx
push ecx
call fcn.00405716
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
jmp 0x401800
push 0x4141d8
call fcn.00404f80
add esp, 4
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 8], esi
je 0x40151f
jmp 0x4018db
push 0x4141b4
call fcn.00404f80
add esp, 4
push 0x7dd
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x401867
push 0x414184
call fcn.00404f80
add esp, 4
push 0x8000a
push 1
push 0x201
push esi
call edi
push 0x8000a
push ebp
push 0x202
push esi
call edi
push 1
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
cmp esi, ebp
je 0x4018a0
push 0x414168
call fcn.00404f80
add esp, 4
push 0x8000a
push 1
push 0x201
push esi
call edi
push 0x8000a
push ebp
push 0x202
push esi
call edi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc8], 0xffffffff
cmp ecx, ebp
je 0x4018cf
mov al, byte [ecx - 1]
test al, al
je 0x4018c5
cmp al, 0xff
je 0x4018c5
dec al
mov byte [ecx - 1], al
jmp 0x4018cf
dec ecx
push ecx
call fcn.00405716
add esp, 4
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
push 0x414150
call fcn.00404f80
mov ecx, dword [esp + 0xc4]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret