Function at 0x494928
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x494d08
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
dec eax
je 0x49496d
add eax, 0xfffffffb
sub eax, 2
jae 0x494ce2
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x370]
call fcn.00455e74
mov edi, eax
dec edi
test edi, edi
jl 0x494a00
inc edi
xor ebx, ebx
mov edx, ebx
mov eax, dword [esi + 0x370]
call fcn.00455e38
mov eax, dword [eax + 0xc]
dec eax
je 0x4949b6
sub eax, 2
je 0x4949c8
dec eax
je 0x4949da
dec eax
je 0x4949ec
jmp 0x4949fc
mov edx, ebx
mov eax, dword [esi + 0x370]
call fcn.00455e38
mov dword [ebp - 8], eax
jmp 0x4949fc
mov edx, ebx
mov eax, dword [esi + 0x370]
call fcn.00455e38
mov dword [ebp - 0xc], eax
jmp 0x4949fc
mov edx, ebx
mov eax, dword [esi + 0x370]
call fcn.00455e38
mov dword [ebp - 0x10], eax
jmp 0x4949fc
mov edx, ebx
mov eax, dword [esi + 0x370]
call fcn.00455e38
mov dword [ebp - 0x14], eax
inc ebx
dec edi
jne 0x494996
cmp dword [ebp - 8], 0
je 0x494ce2
cmp dword [ebp - 0xc], 0
je 0x494ce2
cmp dword [ebp - 0x10], 0
je 0x494ce2
cmp dword [ebp - 0x14], 0
je 0x494ce2
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
dec eax
jne 0x494af3
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0xcc]
inc eax
je 0x494ce2
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, eax
mov eax, dword [esi + 0x37c]
call fcn.00490e10
mov ebx, eax
test ebx, ebx
je 0x494ce2
mov eax, dword [ebx + 0x54]
call fcn.00404ca4
lea edx, [ebp - 0x18]
call fcn.0047d3ac
mov eax, dword [ebp - 0x18]
call fcn.00405094
push eax
mov eax, dword [ebp - 0xc]
call fcn.0045917c
push eax
call sub.user32.dll_SetWindowTextW
mov eax, dword [ebx + 0x58]
call fcn.00404ca4
lea edx, [ebp - 0x18]
call fcn.0047d3ac
mov eax, dword [ebp - 0x18]
call fcn.00405094
push eax
mov eax, dword [ebp - 0x10]
call fcn.0045917c
push eax
call sub.user32.dll_SetWindowTextW
mov eax, dword [ebx + 0x5c]
call fcn.00404ca4
lea edx, [ebp - 0x18]
call fcn.0047d3ac
mov eax, dword [ebp - 0x18]
call fcn.00405094
push eax
mov eax, dword [ebp - 0x14]
call fcn.0045917c
push eax
call sub.user32.dll_SetWindowTextW
jmp 0x494ce2
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0xcc]
inc eax
jne 0x494b4f
lea ecx, [ebp - 0x18]
mov eax, dword [0x4a184c]
mov eax, dword [eax]
mov edx, 0x30d43
call fcn.004817a4
lea ecx, [ebp - 0x1c]
mov eax, dword [0x4a184c]
mov eax, dword [eax]
mov edx, 0x2750
call fcn.004817a4
push 0x30
mov eax, dword [ebp - 0x1c]
call fcn.00405094
push eax
mov eax, dword [ebp - 0x18]
call fcn.00405094
push eax
mov eax, esi
call fcn.0045917c
push eax
call sub.user32.dll_MessageBoxW
jmp 0x494ce2
mov eax, dword [ebx + 0xc]
sub eax, 6
je 0x494b63
dec eax
je 0x494cb1
jmp 0x494ce2
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, eax
mov eax, dword [esi + 0x37c]
call fcn.00490e10
mov ebx, eax
test ebx, ebx
je 0x494ce2
push 0x80
lea eax, [ebp - 0x122]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0045917c
push eax
call sub.user32.dll_GetWindowTextW
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x122]
mov ecx, 0x81
call fcn.00405068
push 0x80
lea eax, [ebp - 0x122]
push eax
mov eax, dword [ebp - 0x10]
call fcn.0045917c
push eax
call sub.user32.dll_GetWindowTextW
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x122]
mov ecx, 0x81
call fcn.00405068
mov eax, dword [ebp - 0x1c]
xor edx, edx
call fcn.004051bc
je 0x494c18
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 0x1c]
call fcn.00408f94
mov eax, dword [ebp - 0x128]
xor edx, edx
call fcn.004051bc
jne 0x494c63
lea ecx, [ebp - 0x18]
mov eax, dword [0x4a184c]
mov eax, dword [eax]
mov edx, 0x186bd
call fcn.004817a4
lea ecx, [ebp - 0x1c]
mov eax, dword [0x4a184c]
mov eax, dword [eax]
mov edx, 0x271d
call fcn.004817a4
push 0x10
mov eax, dword [ebp - 0x1c]
call fcn.00405094
push eax
mov eax, dword [ebp - 0x18]
call fcn.00405094
push eax
mov eax, esi
call fcn.0045917c
push eax
call sub.user32.dll_MessageBoxW
jmp 0x494ce2
push 0x80
lea eax, [ebp - 0x122]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0045917c
push eax
call sub.user32.dll_GetWindowTextW
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x122]
mov ecx, 0x81
call fcn.00405068
push 1
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x38]
mov eax, dword [esi + 0x378]
call fcn.00485e5c
jmp 0x494ce2
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x18]
push eax
mov ecx, 0x10b11
mov edx, 4
mov eax, dword [esi + 0x378]
call fcn.00485e08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494d0f
lea eax, [ebp - 0x128]
call fcn.00404eec
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404f04
ret