Function at 0x45a0fe
Capabilities:
Capture screenshot
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x13c
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
mov ebx, dword [esp + 0x150]
push dword [esp + 0x14c]
call dword [sym.imp.USER32.DLL_IsWindowVisible]
test eax, eax
jne 0x45a134
mov eax, 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0x13c
ret 0xc
cmp word [esp + 0x154], 1
sbb eax, eax
inc eax
mov word [esp + 0x154], ax
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x30], 0
je 0x45a18d
mov ecx, dword [ecx + 0x1c]
test ecx, 0x20000000
je 0x45a161
mov edx, ebx
jmp 0x45a163
xor edx, edx
mov dword [esp + 0x14], edx
test ecx, 0x10000000
je 0x45a179
movsx ecx, ax
lea eax, [ecx + edx*2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0x30]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x10], eax
jmp 0x45a199
push 0x12
call dword [sym.imp.USER32.DLL_GetSysColor]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x150]
call dword [sym.imp.USER32.DLL_GetWindowRect]
mov eax, dword [esp + 0x18]
sub dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
push dword [esp + 0x14c]
call dword [sym.imp.USER32.DLL_GetWindowDC]
mov dword [esp + 0x28], eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push eax
call dword [sym.imp.GDI32.DLL_CreateCompatibleBitmap]
mov dword [esp + 0x2c], eax
push eax
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.DLL_CreateCompatibleDC]
mov dword [esp + 0x34], eax
push eax
call dword [sym.imp.GDI32.DLL_SelectObject]
mov eax, dword [esp + 0xc]
test byte [eax + 0x1c], 3
jne 0x45a213
movsx ecx, word [esp + 0x154]
jmp 0x45a215
xor ecx, ecx
mov dword [esp + 0x34], ecx
push dword [0x491a00]
push dword [esp + 0x34]
call dword [sym.imp.GDI32.DLL_SetBkColor]
push dword [esp + 0x10]
push dword [esp + 0x34]
call dword [sym.imp.GDI32.DLL_SetTextColor]
push dword [0x49a840]
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x38]
call dword [sym.imp.USER32.DLL_FillRect]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x38]
rep stosb byte es:[edi], al
mov dword [esp + 0x78], eax
mov word [esp + 0x86], ax
mov ecx, dword [esp + 0xc]
test byte [ecx + 0x1d], 1
je 0x45a289
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], eax
mov word [esp + 0x84], 1
jmp 0x45a4af
mov eax, dword [esp + 0xc]
test byte [eax + 0x1c], 0x90
je 0x45a404
mov dword [esp + 0x88], ebx
mov edx, dword [eax + 0x2c]
test edx, edx
je 0x45a2d0
cmp byte [edx], 0
je 0x45a2d0
test ebx, ebx
jle 0x45a2d0
mov eax, edx
inc edx
cmp byte [eax], 0x7c
jne 0x45a2bd
dec dword [esp + 0x88]
test edx, edx
je 0x45a2d0
cmp byte [edx], 0
je 0x45a2d0
cmp dword [esp + 0x88], 0
jg 0x45a2ae
test edx, edx
je 0x45a2f9
lea ebx, [esp + 0x38]
mov al, byte [edx]
test al, al
je 0x45a2f4
cmp al, 0x7c
je 0x45a2f4
mov eax, edx
inc edx
mov al, byte [eax]
mov byte [ebx], al
inc ebx
mov al, byte [edx]
test al, al
je 0x45a2f4
cmp al, 0x7c
jne 0x45a2e2
mov byte [ebx], 0
jmp 0x45a30d
push 0x40
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x154]
call dword [sym.imp.USER32.DLL_GetWindowTextA]
mov eax, dword [esp + 0xc]
test byte [eax + 0x1c], 0x80
je 0x45a387
lea eax, [esp + 0x38]
push eax
push dword [0x489ab0]
call dword [sym.imp.USER32.DLL_LoadBitmapA]
mov dword [esp + 0x78], eax
neg eax
sbb eax, eax
neg eax
mov word [esp + 0x84], ax
mov ecx, 1
cmp ax, cx
jne 0x45a4af
lea eax, [esp + 0x8c]
push eax
push 0x18
push dword [esp + 0x80]
call dword [sym.imp.GDI32.DLL_GetObjectA]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x80], eax
mov word [esp + 0x86], 1
jmp 0x45a4af
mov eax, dword [esp + 0xc]
push dword [eax + 0x28]
push dword [esp + 0x34]
call dword [sym.imp.GDI32.DLL_SelectObject]
mov dword [esp + 0xb4], eax
push 0x420
lea ecx, [esp + 0xa8]
push ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
push ecx
push dword [esp + 0x40]
call dword [sym.imp.USER32.DLL_DrawTextA]
mov eax, dword [esp + 0xac]
sub eax, dword [esp + 0xa4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0xa8]
mov dword [esp + 0x80], eax
push dword [esp + 0xb4]
push dword [esp + 0x34]
call dword [sym.imp.GDI32.DLL_SelectObject]
mov word [esp + 0x84], 1
jmp 0x45a4af
mov eax, dword [esp + 0xc]
test byte [eax + 0x1c], 0x20
je 0x45a424
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + ebx*4]
mov dword [esp + 0x78], eax
mov word [esp + 0x86], 0
jmp 0x45a469
mov eax, dword [esp + 0xc]
test byte [eax + 0x1c], 0x40
je 0x45a469
cmp word [eax + 0x2e], 0
jne 0x45a43d
movzx ecx, word [eax + 0x2c]
add ecx, ebx
jmp 0x45a444
mov eax, dword [eax + 0x2c]
movzx ecx, word [eax + ebx*2]
and ecx, 0xffff
push ecx
push dword [0x489ab0]
call dword [sym.imp.USER32.DLL_LoadBitmapA]
mov dword [esp + 0x78], eax
neg eax
sbb eax, eax
neg eax
mov word [esp + 0x86], ax
cmp dword [esp + 0x78], 1
sbb eax, eax
inc eax
mov word [esp + 0x84], ax
cmp ax, 1
jne 0x45a4af
lea eax, [esp + 0xb8]
push eax
push 0x18
push dword [esp + 0x80]
call dword [sym.imp.GDI32.DLL_GetObjectA]
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x80], eax
cmp word [esp + 0x84], 0
je 0x45a9ba
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x7c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x34]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x80]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x34]
mov dword [esp + 0xd4], eax
mov ecx, dword [esp + 0xc]
test dword [ecx + 0x1c], 0x10000
mov edx, 3
jne 0x45a504
dec edx
mov dword [esp + 0xd8], edx
push dword [esp + 0x14c]
call dword [sym.imp.USER32.DLL_IsWindowEnabled]
test eax, eax
je 0x45a52a
mov eax, dword [esp + 0xc]
test byte [eax + 0x20], 1
je 0x45a7f3
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x1c]
and ecx, 0x20010
mov edx, 0x20010
cmp ecx, edx
jne 0x45a5a6
mov esi, 0x492200
lea edi, [esp + 0xdc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0xe0], ecx
push 0x120
lea ecx, [esp + 0x3c]
push ecx
push dword [esp + 0xf0]
push dword [esp + 0xf0]
push dword [esp + 0xf0]
push dword [esp + 0xf0]
push dword [eax + 0x28]
push dword [esp + 0x4c]
call fcn.0045cdf6
add esp, 0x20
jmp 0x45a927
push dword [esp + 0x28]
call dword [sym.imp.GDI32.DLL_CreateCompatibleDC]
mov dword [esp + 0xec], eax
mov ecx, dword [esp + 0xc]
test byte [ecx + 0x1d], 1
je 0x45a65f
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd0], ecx
mov word [esp + 0x86], 1
push 0
push 1
push 1
mov edx, dword [esp + 0x30]
add ecx, ecx
sub edx, ecx
mov dword [esp + 0x8c], edx
push edx
mov ebx, dword [esp + 0x30]
sub ebx, ecx
mov dword [esp + 0x8c], ebx
push ebx
call dword [sym.imp.GDI32.DLL_CreateBitmap]
mov dword [esp + 0x78], eax
push eax
push dword [esp + 0xf0]
call dword [sym.imp.GDI32.DLL_SelectObject]
mov esi, 0x492210
lea edi, [esp + 0xf0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0xf8], ebx
mov eax, dword [esp + 0x80]
mov dword [esp + 0xfc], eax
push 0x42
push eax
push ebx
push 0
push 0
push dword [esp + 0x100]
call dword [sym.imp.GDI32.DLL_PatBlt]
jmp 0x45a711
mov eax, dword [esp + 0xc]
test byte [eax + 0x1c], 0x10
je 0x45a700
push dword [eax + 0x28]
push dword [esp + 0xf0]
call dword [sym.imp.GDI32.DLL_SelectObject]
mov dword [esp + 0x100], eax
mov esi, 0x492220
lea edi, [esp + 0x104]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x78]
push dword [esp + 0xf0]
call dword [sym.imp.GDI32.DLL_SelectObject]
push 0xff0062
push dword [esp + 0x84]
push dword [esp + 0x84]
push 0
push 0
push dword [esp + 0x100]
call dword [sym.imp.GDI32.DLL_PatBlt]
push 0x120
lea eax, [esp + 0x108]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x44]
push eax
push dword [esp + 0xfc]
call dword [sym.imp.USER32.DLL_DrawTextA]
push dword [esp + 0x100]
push dword [esp + 0xf0]
call dword [sym.imp.GDI32.DLL_SelectObject]
jmp 0x45a711
push dword [esp + 0x78]
push dword [esp + 0xf0]
call dword [sym.imp.GDI32.DLL_SelectObject]
push 0x492240
push dword [0x489ab0]
call dword [sym.imp.USER32.DLL_LoadBitmapA]
mov ebx, eax
test eax, eax
je 0x45a792
push ebx
call dword [sym.imp.GDI32.DLL_CreatePatternBrush]
mov dword [esp + 0x114], eax
push eax
push dword [esp + 0xf0]
call dword [sym.imp.GDI32.DLL_SelectObject]
push 0xfa0089
push dword [esp + 0x84]
push dword [esp + 0x84]
push 0
push 0
push dword [esp + 0x100]
call dword [sym.imp.GDI32.DLL_PatBlt]
push 5
call dword [sym.imp.GDI32.DLL_GetStockObject]
push eax
push dword [esp + 0xf0]
call dword [sym.imp.GDI32.DLL_SelectObject]
push dword [esp + 0x114]
call dword [sym.imp.GDI32.DLL_DeleteObject]
push ebx
call dword [sym.imp.GDI32.DLL_DeleteObject]
push 0xcc0020
push 0
push 0
push dword [esp + 0xf8]
push dword [esp + 0x90]
push dword [esp + 0x90]
push dword [esp + 0xec]
push dword [esp + 0xec]
push dword [esp + 0x50]
call dword [sym.imp.GDI32.DLL_BitBlt]
push dword [esp + 0xec]
call dword [sym.imp.GDI32.DLL_DeleteDC]
cmp word [esp + 0x86], 0
je 0x45a927
push dword [esp + 0x78]
call dword [sym.imp.GDI32.DLL_DeleteObject]
jmp 0x45a927
mov eax, dword [esp + 0xc]
test byte [eax + 0x1d], 1
je 0x45a869
push dword [esp + 0x10]
call dword [sym.imp.GDI32.DLL_CreateSolidBrush]
mov ebx, eax
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x118]
rep stosb byte es:[edi], al
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov ecx, dword [esp + 0x20]
inc ecx
sub ecx, eax
mov dword [esp + 0x120], ecx
mov ecx, dword [esp + 0x24]
inc ecx
sub ecx, eax
mov dword [esp + 0x124], ecx
push ebx
lea eax, [esp + 0x11c]
push eax
push dword [esp + 0x38]
call dword [sym.imp.USER32.DLL_FillRect]
push ebx
call dword [sym.imp.GDI32.DLL_DeleteObject]
jmp 0x45a927
mov eax, dword [esp + 0xc]
test byte [eax + 0x1c], 0x10
je 0x45a8d9
push dword [eax + 0x28]
push dword [esp + 0x34]
call dword [sym.imp.GDI32.DLL_SelectObject]
mov ebx, eax
mov esi, 0x492230
lea edi, [esp + 0x128]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x12c], eax
push 0x120
lea eax, [esp + 0x12c]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x40]
call dword [sym.imp.USER32.DLL_DrawTextA]
push ebx
push dword [esp + 0x34]
call dword [sym.imp.GDI32.DLL_SelectObject]
jmp 0x45a927
push dword [esp + 0x78]
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.DLL_CreateCompatibleDC]
mov ebx, eax
push eax
call dword [sym.imp.GDI32.DLL_SelectObject]
push 0xcc0020
push 0
push 0
push ebx
push dword [esp + 0x90]
push dword [esp + 0x90]
push dword [esp + 0xec]
push dword [esp + 0xec]
push dword [esp + 0x50]
call dword [sym.imp.GDI32.DLL_BitBlt]
push ebx
call dword [sym.imp.GDI32.DLL_DeleteDC]
cmp word [esp + 0x86], 0
je 0x45a93c
push dword [esp + 0x78]
call dword [sym.imp.GDI32.DLL_DeleteObject]
mov eax, dword [esp + 0xc]
test byte [eax + 0x1d], 0x40
jne 0x45a9ba
call dword [sym.imp.USER32.DLL_GetFocus]
cmp eax, dword [esp + 0x14c]
jne 0x45a9ba
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x138]
rep stosb byte es:[edi], al
mov eax, dword [esp + 0xd0]
add eax, 0xfffffffe
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x13c], eax
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0x7c]
lea ecx, [edx + ecx + 2]
mov dword [esp + 0x140], ecx
add eax, dword [esp + 0x80]
mov dword [esp + 0x144], eax
lea eax, [esp + 0x138]
push eax
push dword [esp + 0x34]
call dword [sym.imp.USER32.DLL_DrawFocusRect]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
call fcn.0045aa5a
mov ebx, eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x1c]
and eax, 0x80000
neg eax
sbb eax, eax
neg eax
push eax
push dword [esp + 0x158]
push ebx
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x40]
call fcn.0045d0ad
push 0xcc0020
push 0
push 0
push dword [esp + 0x50]
push dword [esp + 0x48]
push dword [esp + 0x48]
push 0
push 0
push dword [esp + 0x5c]
call dword [sym.imp.GDI32.DLL_BitBlt]
push dword [esp + 0x44]
call dword [sym.imp.GDI32.DLL_DeleteDC]
push dword [esp + 0x40]
call dword [sym.imp.GDI32.DLL_DeleteObject]
push dword [esp + 0x3c]
push dword [esp + 0x164]
call dword [sym.imp.USER32.DLL_ReleaseDC]
add esp, 0x14
cmp word [esp + 0x84], 1
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
add esp, 0x13c
ret 0xc