Function at 0x4e5fc0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bdd63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2904
call fcn.0057ed50
mov eax, dword [0x6754d4]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x7f0]
mov byte [ebp - 4], 1
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x7c]
push 0x7cf
test eax, eax
je 0x4e605b
mov edx, dword [ebx + 0x78]
lea ecx, [ebp - 0x2914]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4e6084
lea eax, [ebp - 0x7f0]
push 0x7d0
lea ecx, [ebp - 0x2914]
push eax
push ecx
call fcn.00404220
add esp, 0xc
lea edx, [ebp - 0x7f0]
lea eax, [ebp - 0x14]
push edx
push 0x64efb0
push eax
jmp 0x4e607c
mov edx, dword [ebx + 0x78]
lea ecx, [ebp - 0x7f0]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x7f0]
lea ecx, [ebp - 0x14]
push eax
push 0x64efb0
push ecx
call fcn.00593b08
add esp, 0xc
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4e60b0
mov edx, dword [0x67a9b4]
mov eax, dword [0x67a9b0]
push 0x40
push edx
push eax
mov ecx, ebx
call fcn.00598d31
jmp 0x4e640b
mov ecx, dword [0x6754d4]
mov dword [ebp - 0x18], ecx
lea esi, [ebx + 0x64]
lea eax, [ebp - 0x18]
push esi
push eax
push edx
mov byte [ebp - 4], 2
call fcn.004e5ef0
add esp, 0xc
test al, al
jne 0x4e611a
mov ecx, dword [0x6754d4]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x67aad0]
push edx
lea ecx, [ebp - 0x1c]
push eax
push ecx
mov byte [ebp - 4], 3
call fcn.00593b08
mov edx, dword [0x67a9ac]
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, ebx
push 0x40
push edx
push eax
call fcn.00598d31
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0059ad3d
jmp 0x4e63ff
lea ecx, [ebp - 0x1974]
call fcn.004fc6e0
mov esi, dword [esi]
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x7f0]
rep stosd dword es:[edi], eax
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 4], 4
cmp ecx, 0x7d0
jb 0x4e6153
mov ecx, 0x7cf
jmp 0x4e615f
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
lea edi, [ebp - 0x7f0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0
and ecx, 3
lea eax, [ebp - 0x7f0]
rep movsb byte es:[edi], byte [esi]
push 0x7d0
push eax
lea ecx, [ebp - 0x1974]
call fcn.004fd990
test eax, eax
jne 0x4e61a5
mov ecx, dword [0x67a9ac]
mov edx, dword [0x67ace4]
push 0x40
push ecx
push edx
jmp 0x4e63e9
mov cl, byte [ebp - 0xfd4]
mov dword [ebp - 0x20], 0
cmp cl, 0x2f
lea eax, [ebp - 0xfd4]
jne 0x4e61c3
lea eax, [ebp - 0xfd3]
cmp byte [eax], 0
je 0x4e61e6
push 0x66671c
push eax
call fcn.00580140
add esp, 8
test eax, eax
je 0x4e61e6
cmp byte [eax], 0x2f
jne 0x4e61e6
mov dword [ebp - 0x20], 1
mov eax, dword [ebx + 0x3a8]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xf0
push eax
call esi
test eax, eax
je 0x4e6255
mov ecx, dword [0x6754d4]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x14]
lea ecx, [ebx + 0x2d8]
push edx
mov byte [ebp - 4], 5
call fcn.00597feb
lea eax, [ebp - 0x1c]
lea ecx, [ebx + 0x260]
push eax
call fcn.00597feb
mov edi, dword [ebp - 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4e62a2
mov edi, dword [ebp - 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4e62a2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0059ad3d
mov eax, dword [ebx + 0x240]
push 0
push 0
push 0xf0
push eax
call esi
test eax, eax
je 0x4e63a6
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebx + 0x1e8]
call fcn.00597feb
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4e62ca
mov edx, dword [0x67a9b4]
mov eax, dword [0x67a9a4]
push 0x40
push edx
jmp 0x4e63e8
mov ecx, dword [0x67a9b4]
mov edx, dword [0x67a9a8]
push 0x40
push ecx
push edx
mov ecx, ebx
call fcn.00598d31
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0059ad3d
jmp 0x4e63f0
lea esi, [ebx + 0x68]
lea ecx, [ebp - 0x18]
push esi
push ecx
push edx
call fcn.004e5ef0
add esp, 0xc
test al, al
jne 0x4e6327
mov edx, dword [0x6754d4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x67aad0]
push eax
lea edx, [ebp - 0x20]
push ecx
push edx
mov byte [ebp - 4], 6
call fcn.00593b08
mov eax, dword [0x67a9a0]
mov ecx, dword [ebp - 0x20]
add esp, 0xc
push 0x40
push eax
push ecx
mov ecx, ebx
call fcn.00598d31
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0059ad3d
jmp 0x4e63f0
mov esi, dword [esi]
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x7f0]
rep stosd dword es:[edi], eax
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x7d0
jb 0x4e6351
mov ecx, 0x7cf
jmp 0x4e635d
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
lea edi, [ebp - 0x7f0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0
and ecx, 3
lea eax, [ebp - 0x7f0]
rep movsb byte es:[edi], byte [esi]
push 0x7d0
push eax
lea ecx, [ebp - 0x1974]
call fcn.004fd990
test eax, eax
jne 0x4e63a0
mov ecx, dword [0x67a9a0]
mov edx, dword [0x67ace4]
push 0x40
push ecx
push edx
jmp 0x4e63e9
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0xd8]
push 0
push 0
push 0xf0
push eax
call esi
test eax, eax
je 0x4e642a
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebx + 0x80]
call fcn.00597feb
mov edi, dword [ebp - 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4e642a
mov edx, dword [0x67a9b4]
mov eax, dword [0x67a8c4]
push 0x40
push edx
push eax
mov ecx, ebx
call fcn.00598d31
lea ecx, [ebp - 0x1974]
mov byte [ebp - 4], 2
call fcn.004fc730
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0059ad3d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0059ad3d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebx + 0x5c]
push ecx
push 0x141a
mov eax, dword [edx + 0x428]
push 0x111
push eax
call esi
lea ecx, [ebp - 0x1974]
mov byte [ebp - 4], 2
call fcn.004fc730
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0059ad3d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0059ad3d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret