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

Disassembly:
push 0xffffffffffffffff
push 0x445748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x58]
push edi
mov eax, dword [esi + 4]
xor ebx, ebx
push ecx
push eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x34]
push edx
push eax
mov dword [esp + 0x1ac], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x34]
test ecx, ecx
mov byte [esp + 0x1a4], 4
mov dword [esp + 0x14], eax
je 0x40a33a
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
jmp 0x40a346
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetClipBox]
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edx
call edi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
push 2
push eax
push ecx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
sub edx, eax
mov eax, dword [esp + 0x28]
push edx
sub eax, dword [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00404000
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push edx
push eax
call ebp
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push 2
push ecx
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_DPtoLP]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push ebx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403f60
mov edx, dword [esp + 0x10]
push 0xf5efe7
push edx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x10]
push ebx
push ebx
lea eax, [esp + 0x6c]
push ebx
push eax
push 2
push ebx
push ebx
push ecx
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x98]
push ebx
push ebx
push ebx
push edx
push ebx
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_Draw]
push eax
call ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x98]
sub eax, ecx
mov ecx, dword [esp + 0x10]
sub eax, 0x30
push 1
push 0
push eax
push ecx
push 1
push edx
call ebx
mov eax, dword [esp + 0x54]
push eax
call edi
mov ebx, eax
mov eax, dword [esi + 0x8c]
push eax
push ebx
call ebp
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
mov edi, 0x30
sub ecx, eax
sub ecx, edi
cmp ecx, edi
jle 0x40a482
mov edx, dword [esp + 0x10]
push 0xcc0020
push 0
push 0
push ebx
push 0x14
push 1
push 0
push edi
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
sub eax, ecx
inc edi
sub eax, 0x30
cmp edi, eax
jl 0x40a454
mov ecx, dword [esp + 0x30]
push ecx
push ebx
call ebp
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x9d]
mov byte [esp + 0x9c], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x34]
add ecx, 2
mov dword [esp + 0x44], eax
add eax, 9
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 0x9c]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x40]
push 0xff
push eax
push ecx
mov dword [esp + 0x5c], edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi + 0x28]
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.GDI32.dll_SetTextColor]
push eax
push edx
call edi
mov eax, dword [esi + 0x20]
push eax
mov eax, dword [esp + 0x14]
push eax
call ebp
mov ecx, dword [esp + 0x10]
push 1
push ecx
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [esp + 0x10]
push 0xffffff
push edx
call edi
lea edi, [esp + 0x9c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
push eax
lea eax, [esp + 0x48]
dec ecx
push eax
push ecx
lea ecx, [esp + 0xa8]
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call ebp
test ebx, ebx
je 0x40a567
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x40a567
xor ebx, ebx
mov eax, dword [esi + 0x58]
test eax, eax
je 0x40a588
mov eax, dword [esi + 0x2c]
mov edx, dword [esp + 0x10]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esi + 0x24]
push eax
mov eax, dword [esp + 0x14]
push eax
jmp 0x40a5a0
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x10]
push eax
push edx
call ebp
mov edi, eax
mov eax, dword [esi + 0x4c]
sub eax, 5
push 0x32
push eax
lea ecx, [esi + 0x3c]
push 0x1c
push 5
push ecx
mov dword [esp + 0x44], ecx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x30]
mov esi, dword [esi + 0x54]
mov ecx, dword [esp + 0x10]
push 0x8015
push eax
push 0xffffffffffffffff
push esi
push ecx
call dword [sym.imp.USER32.dll_DrawTextA]
mov edx, dword [esp + 0x10]
push edi
push edx
call ebp
test edi, edi
je 0x40a5ed
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
test ebx, ebx
je 0x40a5f8
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
push 0xcc0020
push edx
sub eax, edx
push esi
sub ecx, esi
push edi
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push esi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push ecx
push edx
call ebp
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
test eax, eax
mov byte [esp + 0x198], 6
pop ebx
je 0x40a650
lea ecx, [esp + 8]
call fcn.00404120
mov eax, dword [esp]
test eax, eax
je 0x40a667
push eax
mov dword [esp + 4], 0
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x18c]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x198
ret 0x10