Function at 0x4e7e90
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bdf42
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 0x29c]
sub esp, 0x348
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push 0x104
je 0x4e7eda
mov ecx, dword [ecx + 0x294]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4e8228
jmp 0x4e7f39
mov eax, dword [ecx + 0x294]
lea edx, [esp + 0x250]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4e8228
lea ecx, [esp + 0x24c]
push ebx
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov word [esp + 0x14], bx
call fcn.004028e0
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x4e7f22
lea eax, [esp + 0xc]
lea edx, [esp + 0x44]
push eax
push edx
call fcn.0057eaaa
add esp, 8
lea ecx, [esp + 8]
call fcn.00401070
cmp dword [0x67a054], ebx
je 0x4e813d
mov eax, dword [0x679ec0]
cmp eax, ebx
jne 0x4e7f53
mov eax, 0x679ec4
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0057f137
lea ecx, [esp + 0x4c]
add esp, 8
cmp eax, ecx
jne 0x4e813d
mov eax, dword [0x679ec0]
cmp eax, ebx
jne 0x4e7f7b
mov eax, 0x679ec4
push edi
push eax
call fcn.0057e90a
add esp, 4
lea eax, [esp + eax*2 + 0x48]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
push eax
mov dword [esp + 0x30], ebx
mov word [esp + 0x2c], bx
call fcn.00401fc0
xor eax, eax
mov dword [esp + 0x35c], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ebx
mov word [esp + 0x10], bx
mov edi, dword [esp + 0x24]
mov byte [esp + 0x35c], 1
cmp edi, ebx
jne 0x4e7fca
lea edi, [esp + 0x28]
mov esi, dword [0x679ed0]
cmp esi, ebx
jne 0x4e7fd9
mov esi, 0x679ed4
mov edx, 0x64f030
test edx, edx
je 0x4e8101
cmp esi, ebx
je 0x4e8101
cmp edi, ebx
je 0x4e8101
push ebp
push edx
lea ecx, [esp + 0x44]
call fcn.00401f30
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x364], 2
call fcn.00403bb0
mov ebx, 3
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x364], bl
call fcn.00403bb0
lea ecx, [esp + 0x10]
mov byte [esp + 0x360], 4
call fcn.00401070
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x1c]
call fcn.00401fb0
push eax
call fcn.0057e90a
add esp, 4
lea ecx, [esp + 0x34]
mov edi, eax
call fcn.00401fb0
push eax
call fcn.0057e90a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005970d9
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x10], edi
je 0x4e80c8
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, ebx
rep stosb byte es:[edi], al
lea ecx, [esp + 0x1c]
call fcn.00401fb0
push eax
lea ecx, [esp + 0x38]
call fcn.00401fb0
push eax
lea ecx, [esp + 0x48]
call fcn.00401fb0
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
call fcn.0057e89a
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0057e90a
add esp, 0x18
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x360], bl
call fcn.00401070
lea ecx, [esp + 0x34]
mov byte [esp + 0x360], 2
call fcn.00401070
lea ecx, [esp + 0x40]
mov byte [esp + 0x360], 1
call fcn.00401070
mov eax, dword [esp + 0x10]
xor ebx, ebx
pop ebp
cmp eax, ebx
pop edi
jne 0x4e810a
lea eax, [esp + 0xc]
lea edx, [esp + 0x44]
push eax
push edx
call fcn.0057eaaa
add esp, 8
lea ecx, [esp + 8]
mov byte [esp + 0x358], 0
call fcn.00401070
lea ecx, [esp + 0x20]
mov dword [esp + 0x358], 0xffffffff
call fcn.00401070
lea eax, [esp + 0x44]
push 0x6506c8
push eax
call fcn.0057f137
add esp, 8
test eax, eax
jne 0x4e8217
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], bx
lea ecx, [esp + 0x14]
mov dword [esp + 0x358], 5
push ecx
call fcn.00435ba0
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, ebx
jne 0x4e8188
lea eax, [esp + 0x18]
push eax
call fcn.0057e90a
mov ecx, dword [esp + 0x18]
add esp, 4
cmp ecx, ebx
mov edx, ecx
jne 0x4e819f
lea edx, [esp + 0x18]
cmp word [edx + eax*2 - 2], 0x5c
mov eax, 0x64f038
jne 0x4e81b1
mov eax, 0x679a2c
cmp ecx, ebx
jne 0x4e81b9
lea ecx, [esp + 0x18]
mov esi, dword [esp + 0x360]
lea edx, [esp + 0x44]
push edx
push eax
push ecx
push 0x64f9d4
mov ecx, esi
call fcn.00431780
mov eax, dword [esi]
cmp eax, ebx
jne 0x4e81dc
lea eax, [esi + 4]
push 0x65255c
push eax
call fcn.0057f137
add esp, 8
test eax, eax
je 0x4e8201
push 0x64f038
push 0x65255c
mov ecx, esi
call fcn.00431980
jmp 0x4e81d3
lea ecx, [esp + 0x14]
mov dword [esp + 0x358], 0xffffffff
call fcn.00401070
jmp 0x4e8228
mov ecx, dword [esp + 0x360]
lea eax, [esp + 0x44]
push eax
call fcn.00401fc0
mov ecx, dword [esp + 0x350]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x354
ret 4