Function at 0x4c4150
Capabilities:
Get graphical window text
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e5ff6
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x661204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov ebx, dword [ebp + 0xc]
push 0x208
push 0
push eax
mov dword [ebp - 0x660], esi
call fcn.005b9c20
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005b9c20
add esp, 0x18
push str.SetCapNotify_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [edi + 0x44]
call fcn.004c40e0
mov ecx, 0x66cab8
call fcn.004c4020
cmp ebx, 0x66cb60
je 0x4c41e9
push 0xffffffffffffffff
push 0
push ebx
mov ecx, 0x66cb60
call fcn.0049ed00
lea eax, [ebp - 0x65c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x65c]
lea eax, [ebp - 0x658]
push eax
call fcn.004beac0
add esp, 8
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x658]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x66cae8
call fcn.0049ed00
push 0x104
lea eax, [ebp - 0x420]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp word [ebp - 0x420], 0
jne 0x4c425f
xor ecx, ecx
jmp 0x4c427f
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c4270
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
mov ecx, 0x66cab8
push eax
call fcn.0049ee20
cmp word [ebp - 0x218], 0
jne 0x4c429f
xor ecx, ecx
jmp 0x4c42bf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c42b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, 0x66cad0
push eax
call fcn.0049ee20
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.005b9c20
lea eax, [ebp - 0x628]
push eax
push dword [ebp - 0x65c]
call fcn.004beba0
push 0x5ed820
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x640]
push eax
call fcn.0049fe40
add esp, 0x20
cmp dword [ebp - 0x630], 0
mov byte [ebp - 4], 1
jne 0x4c4330
push 6
push str.unknow
lea ecx, [ebp - 0x640]
call fcn.0049ee20
cmp dword [ebp - 0x62c], 8
lea esi, [ebp - 0x640]
mov ecx, dword [ebp - 0x660]
lea eax, [ebp - 0x658]
cmovae esi, dword [ebp - 0x640]
cmp dword [ebp - 0x644], 8
cmovae eax, dword [ebp - 0x658]
movups xmm0, xmmword [ecx + 4]
push eax
lea eax, [edi + 0x54]
push 0x104
push eax
movups xmmword [edi + 0x44], xmm0
call fcn.005c79ff
lea eax, [ebp - 0x218]
push eax
lea eax, [edi + 0x25c]
push 0x104
push eax
call fcn.005c79ff
lea eax, [ebp - 0x420]
push eax
lea eax, [edi + 0x464]
push 0x104
push eax
call fcn.005c79ff
push esi
lea eax, [edi + 0x66c]
push 0x104
push eax
call fcn.005c79ff
add esp, 0x30
lea eax, [ebp - 0x640]
mov ecx, 0x66cb00
push 0xffffffffffffffff
push 0
push eax
call fcn.0049ed00
push str.thumbnail
lea ecx, [edi - 0x4e8]
call fcn.0057b1b9
test eax, eax
je 0x4c43eb
push ebx
mov ecx, eax
call fcn.004c9740
mov eax, dword [edi + 0x50]
sub eax, dword [edi + 0x48]
push eax
mov eax, dword [edi + 0x4c]
sub eax, dword [edi + 0x44]
push eax
push str._d_d
call fcn.0049a7b0
mov edx, eax
add esp, 0xc
cmp word [edx], 0
jne 0x4c4412
xor ecx, ecx
jmp 0x4c4426
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c4417
sub ecx, ebx
sar ecx, 1
push ecx
push edx
mov ecx, 0x66cb18
call fcn.0049ee20
push str.ver_normal
lea ecx, [edi - 0x4e8]
call fcn.0057b1b9
test eax, eax
je 0x4c4452
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0xdc]
push str.ver_detail
lea ecx, [edi - 0x4e8]
call fcn.0057b1b9
test eax, eax
je 0x4c4472
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0xdc]
lea ecx, [edi - 0x514]
call fcn.004c4500
mov eax, dword [ebp - 0x62c]
cmp eax, 8
jb 0x4c449b
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.0049ef70
xor eax, eax
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
mov eax, dword [ebp - 0x644]
mov dword [ebp - 0x630], 0
cmp eax, 8
jb 0x4c44d6
inc eax
lea ecx, [ebp - 0x658]
push eax
push dword [ebp - 0x658]
call fcn.0049ef70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054c3c9
mov esp, ebp
pop ebp
ret 8