Function at 0x4fd4e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x618160
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x68e4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x5c]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x4fd51d
xor eax, eax
jmp 0x4fd6d6
mov edx, dword [ebp - 0x5c]
cmp dword [edx + 0x14], 0
jne 0x4fd52d
xor eax, eax
jmp 0x4fd6d6
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 1
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
shl eax, 1
call fcn.00537690
mov dword [ebp - 0x6c], esp
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 0
jne 0x4fd560
xor eax, eax
jmp 0x4fd6d6
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx + 0x14]
call fcn.004fd360
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x64]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040eae0
mov dword [ebp - 4], 0
push 0
push 0xa
lea ecx, [ebp - 0x28]
call fcn.0047f180
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xffffffff
je 0x4fd62a
mov eax, dword [ebp - 0x68]
push eax
push 0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00469190
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x74], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x74]
call fcn.0040e830
push eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x14]
mov edx, dword [eax + 0x19c]
call edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040ea10
mov eax, dword [ebp - 0x68]
push eax
push 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00469190
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
call fcn.0040e830
push eax
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x58]
call fcn.0040ea10
jmp 0x4fd694
lea ecx, [ebp - 0x28]
call fcn.0040e830
push eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x5c]
mov edx, dword [edx]
mov ecx, dword [eax + 0x14]
mov eax, dword [edx + 0x19c]
call eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebp - 0x5c]
cmp eax, dword [ecx + 4]
jne 0x4fd694
push 0
push 0
push 0xb0
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and eax, 0xf
mov ecx, dword [ebp - 0x60]
sub ecx, 1
cmp eax, ecx
je 0x4fd694
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x60]
push eax
push 0xb1
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0
push 0x62f1e0
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x5c]
mov edx, dword [edx]
mov ecx, dword [eax + 0x14]
mov eax, dword [edx + 0x20]
call eax
mov ecx, eax
call fcn.00442880
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040ea10
mov eax, dword [ebp - 0x80]
lea esp, [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005367cc
mov esp, ebp
pop ebp
ret 0x10