Function at 0x4c78c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6009a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfe8
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov word [ebp - 0x28], si
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
call fcn.00441860
mov eax, dword [0x6cee80]
add esp, 4
cmp eax, esi
je 0x4c7aef
mov eax, dword [0x6cecf8]
cmp eax, esi
je 0x4c7923
mov dword [ebp - 0x14], eax
jmp 0x4c792d
mov dword [ebp - 0x14], 0x6cecfc
mov eax, dword [ebp - 0x14]
mov edi, dword [0x6ced08]
cmp edi, esi
je 0x4c793c
mov dword [ebp - 0x3c], edi
jmp 0x4c7946
mov dword [ebp - 0x3c], 0x6ced0c
mov edi, dword [ebp - 0x3c]
cmp edi, esi
je 0x4c7aef
cmp eax, esi
je 0x4c7aef
push eax
push edi
call fcn.005c505f
add esp, 8
test eax, eax
je 0x4c7aef
mov ecx, dword [ebp - 0x2c]
push edi
push ecx
call fcn.005c53a5
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x4c7991
push edi
inc esi
call fcn.005c4b4a
lea eax, [ebx + eax*2]
push edi
push eax
call fcn.005c53a5
add esp, 0xc
jmp 0x4c7975
test esi, esi
je 0x4c7aea
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
push edx
call fcn.0040d680
push edi
mov byte [ebp - 4], 2
call fcn.005c4b4a
mov ebx, eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.005c4b4a
add esp, 8
cmp eax, ebx
jbe 0x4c7a16
lea ecx, [ebp - 0x2c]
call fcn.00401070
lea ecx, [ebp - 0x54]
call fcn.00401f50
push edi
mov dword [ebp - 0x18], eax
call fcn.005c4b4a
mov ecx, dword [ebp - 0x14]
mov ebx, eax
push ecx
call fcn.005c4b4a
mov edx, eax
mov eax, dword [ebp - 0x18]
sub edx, ebx
push eax
imul edx, esi
mov dword [ebp - 0x18], edx
call fcn.005c4b4a
mov ecx, dword [ebp - 0x18]
add ecx, eax
lea edx, [ecx + ecx + 2]
push edx
call fcn.005dd58d
add esp, 0x10
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x4c7a19
jmp 0x4c7ade
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x20], eax
call fcn.00401f50
mov ebx, eax
push edi
push ebx
call fcn.005c53a5
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4c7aa1
sub eax, ebx
mov edi, dword [ebp - 0x20]
sar eax, 1
shl eax, 1
mov ecx, eax
mov esi, ebx
mov edx, ecx
mov ebx, dword [ebp - 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add ebx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x14]
push esi
call fcn.005c4b4a
mov ecx, eax
mov edi, ebx
shl ecx, 1
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.005c4b4a
mov esi, dword [ebp - 0x3c]
lea edx, [ebx + eax*2]
push esi
mov dword [ebp - 0x20], edx
call fcn.005c4b4a
mov ecx, dword [ebp - 0x18]
push esi
lea ebx, [ecx + eax*2]
push ebx
call fcn.005c53a5
add esp, 0x14
mov dword [ebp - 0x18], eax
jmp 0x4c7a33
push ebx
call fcn.005c4b4a
mov edi, dword [ebp - 0x20]
mov ecx, eax
shl ecx, 1
mov edx, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005c4b4a
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax*2]
mov word [eax], 0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.005c4b4a
add esp, 0xc
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00401070
mov ebx, dword [ebp - 0x1c]
xor esi, esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], esi
mov word [ebp - 0x34], si
mov eax, dword [0x6a3f58]
mov byte [ebp - 4], 3
cmp eax, esi
je 0x4c7ba2
mov ecx, dword [ebx + 0x1920]
lea eax, [ebp - 0xff4]
push 0x7cf
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4c7c33
lea edx, [ebp - 0xff4]
push 0x6a976c
push edx
call fcn.005c53a5
add esp, 8
cmp eax, esi
je 0x4c7b48
add eax, 6
jmp 0x4c7b4e
lea eax, [ebp - 0xff4]
push eax
lea ecx, [ebp - 0x38]
call fcn.00401f60
mov eax, dword [ebp - 0x38]
cmp eax, esi
jne 0x4c7b61
lea eax, [ebp - 0x34]
push 0x2f
push eax
call fcn.005c4fbf
add esp, 8
cmp eax, esi
je 0x4c7b73
mov word [eax], si
mov eax, dword [ebp - 0x38]
cmp eax, esi
jne 0x4c7b7d
lea eax, [ebp - 0x34]
push eax
call fcn.005c4b4a
add esp, 4
cmp eax, 0x1e
jbe 0x4c7c33
mov eax, dword [ebp - 0x38]
cmp eax, esi
jne 0x4c7b99
lea eax, [ebp - 0x34]
mov word [eax + 0x3c], si
jmp 0x4c7c33
mov ecx, dword [0x6ca27c]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x14]
lea ecx, [ebx + 0x1a5c]
push edx
mov byte [ebp - 4], 4
call fcn.005de49e
mov eax, dword [ebp - 0x14]
push 0x6a0064
push eax
call fcn.005c4c40
add esp, 8
cmp eax, esi
je 0x4c7be8
add eax, 3
lea ecx, [ebp - 0x14]
push eax
push 0x69ffbc
push ecx
call fcn.005d9fbb
add esp, 0xc
mov edx, dword [ebp - 0x14]
push 0x2f
push edx
call fcn.005c4b80
add esp, 8
cmp eax, esi
je 0x4c7bfd
mov byte [eax], 0
mov edi, dword [ebp - 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x1e
jbe 0x4c7c1a
push esi
push 0x1d
lea ecx, [ebp - 0x14]
call fcn.005e15f8
mov eax, dword [ebp - 0x14]
push esi
push eax
lea ecx, [ebp - 0x38]
call fcn.00402890
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.005e118c
mov eax, dword [ebp - 0x2c]
cmp eax, esi
jne 0x4c7c3d
lea eax, [ebp - 0x28]
push eax
call fcn.005c4b4a
add esp, 4
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], esi
mov word [ebp - 0x44], si
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp edx, esi
mov ecx, edx
jne 0x4c7c60
lea ecx, [ebp - 0x28]
cmp word [ecx + eax*2 - 2], 0x5c
mov edi, 0x6a0054
jne 0x4c7c72
mov edi, 0x6ce7cc
mov eax, dword [ebp - 0x38]
cmp eax, esi
mov ecx, eax
jne 0x4c7c7e
lea ecx, [ebp - 0x34]
cmp edx, esi
mov eax, edx
jne 0x4c7c87
lea eax, [ebp - 0x28]
push ecx
push edi
push eax
push str._s_s_s_
lea ecx, [ebp - 0x48]
call fcn.0043c740
mov eax, dword [0x6a3f58]
cmp eax, esi
mov eax, dword [ebp - 0x48]
je 0x4c7cba
cmp eax, esi
jne 0x4c7caa
lea eax, [ebp - 0x44]
mov ecx, dword [ebx + 0x7a8]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4c7ce3
cmp eax, esi
jne 0x4c7cc1
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1c]
call fcn.005e124c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x7a8]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [ebp - 0x1c]
call fcn.005e118c
lea ecx, [ebp - 0x48]
mov byte [ebx + 0x1dbb], 0
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret