Function at 0x404cc0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x479f48
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49c550]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov esi, dword [esp + 0x70]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, dword [esi + 0x6c]
push 0
push 0
mov edi, eax
mov eax, dword [esi + 0x20]
push 0x408
push eax
call ebx
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
mov dword [esp + 0x78], eax
call fcn.0042eb31
fild dword [esp + 0x70]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x30]
fidiv dword [esp + 0x18]
push eax
push ecx
fstp qword [esp + 0x30]
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x34]
push edx
mov ecx, edi
call fcn.0042e906
fild dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
fmul qword [esp + 0x28]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
call fcn.00445cd0
push ebp
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
mov dword [esp + 0x60], eax
call fcn.0042e906
lea ecx, [esp + 0x40]
call fcn.0042af8f
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x68], ebp
jne 0x404da3
xor eax, eax
jmp 0x404da6
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x44]
call fcn.0042b507
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], vtable.CBitmap.0
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x30]
mov edx, dword [edi + 4]
push eax
push ecx
push edx
mov byte [esp + 0x74], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x24]
call fcn.0042b7b8
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call fcn.0042b886
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x31
push edx
mov ebp, eax
call ebx
push eax
call fcn.0042b7aa
push eax
lea ecx, [esp + 0x44]
call fcn.0042b8d9
push 1
lea ecx, [esp + 0x44]
mov ebx, eax
call fcn.0042ae28
push 0xd
call dword [sym.imp.USER32.dll_GetSysColor]
not eax
and eax, 0xffffff
push eax
lea ecx, [esp + 0x44]
call fcn.0042ae56
mov eax, dword [esi]
mov edx, dword [eax + 0x13c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push 0x25
lea edx, [esp + 0x34]
push edx
push ecx
push eax
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x68]
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 2
call edx
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x30]
push 0x660046
push 0
push 0
push edx
push eax
push ecx
push 0
push 0
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
push ebx
lea ecx, [esp + 0x44]
call fcn.0042b8d9
test ebp, ebp
je 0x404eb3
mov ebp, dword [ebp + 4]
mov ecx, dword [edi + 4]
push ebp
push ecx
call fcn.0042b886
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x68], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404ee2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 0
mov dword [esp + 0x20], vtable.CBitmap.0
call fcn.00402560
lea ecx, [esp + 0x40]
mov dword [esp + 0x68], 0xffffffff
call fcn.0042b56b
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret