Function at 0x48f1a5
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4d0e90
call fcn.0045d534
sub esp, 0x158
push ebx
push esi
push edi
lea eax, [ebp - 0x164]
mov ebx, ecx
push 0xff
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x38]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x38]
xor esi, esi
push eax
push ecx
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x60], eax
push 0xfffffffffffffff0
mov byte [ebp - 4], 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, ebx
call fcn.0049f28b
mov eax, dword [ebx + 0x44]
cmp eax, esi
je 0x48f245
push esi
push eax
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.0049ff0d
jmp 0x48f26b
push 0xf
call fcn.004732f2
pop ecx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SetBkColor]
push esi
push esi
lea eax, [ebp - 0x38]
push esi
push eax
push 2
push esi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_ExtTextOutA]
lea esi, [ebp - 0x38]
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
lea ecx, [ebx + 0x34]
push edi
push str.ThunderRT
call fcn.0047444a
cmp eax, 0xffffffff
je 0x48f39b
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x38]
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x64], eax
push edi
mov ecx, ebx
push dword [ebp - 0x14]
mov byte [ebp - 4], 5
push 0xf
push dword [ebx + 4]
call fcn.004a0272
lea esi, [ebp - 0x5c]
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x5c]
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add dword [ebp - 0x48], 0xc
sub dword [ebp - 0x44], 5
sub dword [ebp - 0x40], 5
lea esi, [eax + 5]
call dword [sym.imp.GDI32.dll_SaveDC]
push dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push esi
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_IntersectClipRect]
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x10]
sub esi, dword [ebp - 0x58]
sub edi, dword [ebp - 0x5c]
push 0xf
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
xor eax, eax
push 0xcc0020
push eax
push eax
push dword [ebp - 0x14]
push esi
push edi
push eax
push eax
push dword [ebp - 0x1c]
call fcn.0048ad25
add esp, 0x28
push dword [ebp - 0x20]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_RestoreDC]
push dword [ebp - 0x24]
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
xor edi, edi
cmp dword [ebp - 0x24], edi
je 0x48f375
push dword [ebp - 0x24]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
jmp 0x48f37b
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x3c], edi
je 0x48f385
push dword [ebp - 0x3c]
call esi
cmp dword [ebp - 0x14], edi
mov byte [ebp - 4], 2
je 0x48f397
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_DeleteDC]
xor edi, edi
jmp 0x48f3a1
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
xor ecx, ecx
cmp eax, edi
sete cl
lea eax, [ebp - 0x164]
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.0048ef1a
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, ebx
mov dword [ebp - 0x20], eax
call fcn.0048f49c
mov ebx, dword [sym.imp.GDI32.dll_SelectClipRgn]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x1c], eax
call ebx
mov eax, dword [ebp - 0x2c]
push 0xffffffffffffffff
sub eax, dword [ebp - 0x34]
push 0xcc0020
push edi
push edi
push dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push eax
push edi
push edi
push dword [ebp + 8]
call fcn.0048ad25
add esp, 0x28
push dword [ebp - 0x20]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_RestoreDC]
push edi
push dword [ebp + 8]
call ebx
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x28]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x18]
call esi
test eax, eax
je 0x48f440
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x10], edi
je 0x48f455
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x48f455
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x28], edi
je 0x48f45f
push dword [ebp - 0x28]
call esi
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x48f470
push eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x18], edi
je 0x48f47a
push dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4