Function at 0x4cf740
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58be67
push eax
mov dword fs:[0], esp
mov ecx, dword [ecx + 0x294]
sub esp, 0x254
lea eax, [esp + 0x4c]
push ebx
push 0x104
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4cfa6e
mov eax, dword [0x63e51c]
xor ebx, ebx
cmp eax, ebx
je 0x4cf81a
mov eax, dword [0x63e3d0]
cmp eax, ebx
jne 0x4cf798
mov eax, 0x63e3d4
lea edx, [esp + 0x50]
push eax
push edx
call fcn.0054e877
lea ecx, [esp + 0x58]
add esp, 8
cmp eax, ecx
jne 0x4cf81a
mov eax, dword [0x63e3d0]
cmp eax, ebx
jne 0x4cf7bc
mov eax, 0x63e3d4
push eax
call fcn.0054e46e
add esp, 4
lea eax, [esp + eax*2 + 0x50]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], bx
call fcn.00402b60
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov ecx, eax
jne 0x4cf7ee
lea ecx, [esp + 0x14]
mov eax, dword [0x63e3e0]
cmp eax, ebx
jne 0x4cf7fc
mov eax, 0x63e3e4
push ecx
push eax
lea edx, [esp + 0x58]
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.00401070
lea eax, [esp + 0x50]
push 0x618d60
push eax
call fcn.0054e877
add esp, 8
test eax, eax
jne 0x4cfa5d
mov dword [esp + 4], ebx
mov dword [esp + 0xc], ebx
mov word [esp + 8], bx
lea ecx, [esp + 4]
mov dword [esp + 0x260], ebx
push ecx
call fcn.0042cb70
mov eax, dword [esp + 8]
add esp, 4
cmp eax, ebx
jne 0x4cf861
lea eax, [esp + 8]
push eax
call fcn.0054e46e
mov ecx, dword [esp + 8]
add esp, 4
cmp ecx, ebx
mov edx, ecx
jne 0x4cf878
lea edx, [esp + 8]
cmp word [edx + eax*2 - 2], 0x5c
push esi
push edi
mov edi, 0x615f1c
jne 0x4cf88c
mov edi, 0x63e044
cmp ecx, ebx
mov eax, ecx
jne 0x4cf896
lea eax, [esp + 0x10]
mov esi, dword [esp + 0x270]
mov edx, 0x6168c4
test edx, edx
je 0x4cfa01
cmp eax, ebx
je 0x4cfa01
cmp edi, ebx
je 0x4cfa01
lea ecx, [esp + 0x58]
test ecx, ecx
je 0x4cfa01
push ebp
push eax
lea ecx, [esp + 0x30]
call fcn.004034d0
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x270], 1
call fcn.004034d0
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x38]
push edx
mov byte [esp + 0x270], 2
call fcn.004034d0
mov ecx, esi
mov byte [esp + 0x26c], 3
call fcn.00401070
push 0x6168c4
lea ecx, [esp + 0x54]
call fcn.00403500
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x26c], 4
cmp eax, ebx
mov ebp, eax
jne 0x4cf92c
lea ebp, [esp + 0x30]
mov edi, dword [esp + 0x58]
lea ecx, [esp + 0x38]
call fcn.00403580
push eax
call fcn.0054e46e
add esp, 4
lea ecx, [esp + 0x44]
mov ebx, eax
call fcn.00403580
push eax
call fcn.0054e46e
mov dword [esp + 0x2c], ebx
mov ebx, eax
push ebp
add ebx, edi
call fcn.0054e46e
mov ecx, dword [esp + 0x30]
add ebx, ecx
add eax, ebx
lea edx, [eax + eax + 2]
push edx
call fcn.0056649c
add esp, 0xc
xor ebx, ebx
cmp eax, ebx
mov dword [esi], eax
pop ebp
je 0x4cf9be
lea ecx, [esp + 0x34]
call fcn.00403580
push eax
lea ecx, [esp + 0x44]
call fcn.00403580
push eax
lea ecx, [esp + 0x30]
call fcn.00403580
push eax
lea ecx, [esp + 0x58]
call fcn.00403580
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [esi]
push ecx
call fcn.0054e46e
add esp, 0x18
mov dword [esi + 8], eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x268], 3
call fcn.00401070
lea ecx, [esp + 0x34]
mov byte [esp + 0x268], 2
call fcn.00401070
lea ecx, [esp + 0x40]
mov byte [esp + 0x268], 1
call fcn.00401070
lea ecx, [esp + 0x28]
mov byte [esp + 0x268], bl
call fcn.00401070
mov eax, dword [esi]
cmp eax, ebx
jne 0x4cfa0a
lea eax, [esi + 4]
push 0x618d58
push eax
call fcn.0054e877
add esp, 8
test eax, eax
je 0x4cfa2f
push 0x615f1c
push 0x618d58
mov ecx, esi
call fcn.00429df0
jmp 0x4cfa01
lea ecx, [esp + 0xc]
mov dword [esp + 0x268], 0xffffffff
call fcn.00401070
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
add esp, 0x260
ret 4
mov ecx, dword [esp + 0x268]
lea edx, [esp + 0x50]
push edx
call fcn.00402b60
mov ecx, dword [esp + 0x258]
pop ebx
mov dword fs:[0], ecx
add esp, 0x260
ret 4