Function at 0x45e441
Capabilities:
Capture screenshot
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb88
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.0045e050
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x45e709
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0xfec], 0
je 0x45e709
push dword [ebp + 8]
call sub.USER32.dll_GetDC
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x45e709
push dword [ebp - 0x24]
call sub.GDI32.dll_CreateCompatibleDC
mov edi, eax
test edi, edi
jne 0x45e4a5
push dword [ebp - 0x24]
push dword [ebp + 8]
call sub.USER32.dll_ReleaseDC
jmp 0x45e709
push 0xf
call sub.USER32.dll_GetSysColor
mov dword [ebp - 4], eax
push 0
push 0
push 0x31
push dword [ebp + 8]
call sub.USER32.dll_SendMessageA
lea edx, [ebp - 0x448]
push edx
push 0x3c
push eax
call sub.GDI32.dll_GetObjectA
test eax, eax
jne 0x45e4e6
push edi
call sub.GDI32.dll_DeleteDC
push dword [ebp - 0x24]
push dword [ebp + 8]
call sub.USER32.dll_ReleaseDC
jmp 0x45e709
mov byte [ebp - 0x433], 1
lea eax, [ebp - 0x448]
push eax
call sub.GDI32.dll_CreateFontIndirectA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x45e518
push edi
call sub.GDI32.dll_DeleteDC
push dword [ebp - 0x24]
push dword [ebp + 8]
call sub.USER32.dll_ReleaseDC
jmp 0x45e709
push dword [ebp - 0x14]
push edi
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x20]
mov esi, dword [ecx + 0xfec]
test esi, esi
je 0x45e6e7
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x45e6dc
push ebx
call sub.USER32.dll_IsWindowEnabled
test eax, eax
je 0x45e6dc
push ebx
push dword [ebp - 0x20]
call fcn.0045e0b5
test eax, eax
je 0x45e6dc
lea eax, [ebp - 0x458]
push eax
push ebx
call sub.USER32.dll_GetWindowRect
push 2
lea edx, [ebp - 0x458]
push edx
mov ecx, dword [ebp - 0x20]
push dword [ecx + 0xc8]
push 0
call sub.USER32.dll_MapWindowPoints
mov eax, dword [ebp - 0x450]
sub eax, dword [ebp - 0x458]
mov dword [ebp - 0x460], eax
mov edx, dword [ebp - 0x44c]
sub edx, dword [ebp - 0x454]
mov dword [ebp - 0x45c], edx
xor ecx, ecx
mov dword [ebp - 0x468], ecx
xor eax, eax
mov dword [ebp - 0x464], eax
push dword [ebp - 0x45c]
push dword [ebp - 0x460]
push dword [ebp - 0x24]
call sub.GDI32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45e6dc
push dword [ebp - 0x18]
push edi
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x1c], eax
push 0x9b0000
push edi
call sub.GDI32.dll_SetTextColor
mov dword [ebp - 8], eax
push dword [ebp - 4]
push edi
call sub.GDI32.dll_SetBkColor
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x40c]
push edx
push 0x3e7
push 0xd
push ebx
call sub.USER32.dll_SendMessageA
push esi
push edi
lea esi, [ebp - 0x458]
lea edi, [ebp - 0x478]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push 0x2c10
lea eax, [ebp - 0x478]
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x40c]
push edx
push edi
call sub.USER32.dll_DrawTextA
mov ecx, dword [ebp - 0x46c]
sub ecx, dword [ebp - 0x474]
mov dword [ebp - 0x45c], ecx
push 0
push 0
push 0x561360
lea eax, [ebp - 0x468]
push eax
push 6
push 0
push 0
push edi
call sub.GDI32.dll_ExtTextOutA
push 0x2810
lea edx, [ebp - 0x468]
push edx
push 0xffffffffffffffff
lea ecx, [ebp - 0x40c]
push ecx
push edi
call sub.USER32.dll_DrawTextA
push 0xcc0020
push 0
push 0
push edi
push dword [ebp - 0x45c]
push dword [ebp - 0x460]
push dword [ebp - 0x454]
push dword [ebp - 0x458]
push dword [ebp - 0x24]
call sub.GDI32.dll_BitBlt
push dword [ebp - 8]
push edi
call sub.GDI32.dll_SetTextColor
push dword [ebp - 0xc]
push edi
call sub.GDI32.dll_SetBkColor
push dword [ebp - 0x1c]
push edi
call sub.GDI32.dll_SelectObject
push dword [ebp - 0x18]
call sub.GDI32.dll_DeleteObject
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x45e535
push dword [ebp - 0x10]
push edi
call sub.GDI32.dll_SelectObject
push dword [ebp - 0x14]
call sub.GDI32.dll_DeleteObject
push edi
call sub.GDI32.dll_DeleteDC
push dword [ebp - 0x24]
push dword [ebp + 8]
call sub.USER32.dll_ReleaseDC
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4