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

Disassembly:
sub esp, 0xf4
push ebx
push ebp
push esi
push edi
mov esi, dword [esp + 0x108]
mov di, word [esp + 0x114]
mov ecx, 1
cmp di, cx
sbb ebp, ebp
and ebp, 0xfffffffe
add ebp, 0xc
cmp di, cx
sbb ecx, ecx
and cl, 0xfe
add ecx, 0xc
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.USER32.DLL_GetClientRect]
push esi
call dword [sym.imp.USER32.DLL_GetDC]
mov dword [esp + 0x24], eax
push eax
call dword [sym.imp.GDI32.DLL_CreateCompatibleDC]
mov ebx, eax
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.DLL_CreateCompatibleBitmap]
mov dword [esp + 0x28], eax
push eax
push ebx
call dword [sym.imp.GDI32.DLL_SelectObject]
push dword [0x49a840]
lea ecx, [esp + 0x18]
push ecx
push ebx
call dword [sym.imp.USER32.DLL_FillRect]
cmp dword [esp + 0x110], 0xffffffff
jne 0x45b705
push 5
call dword [sym.imp.USER32.DLL_GetSysColor]
mov dword [esp + 0x2c], eax
push 8
call dword [sym.imp.USER32.DLL_GetSysColor]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
jmp 0x45b726
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x2c], ecx
xor ecx, 0xffffff
mov dword [esp + 0x30], ecx
push 8
call dword [sym.imp.USER32.DLL_GetSysColor]
mov dword [esp + 0x34], eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.DLL_GetWindowLongA]
test al, 0x20
mov ecx, 1
jne 0x45b73a
xor ecx, ecx
mov word [esp + 0x38], cx
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.DLL_GetWindowLongA]
test al, 0x40
mov ecx, 1
jne 0x45b753
xor ecx, ecx
mov word [esp + 0x3a], cx
cmp word [esp + 0x38], 0
je 0x45b76b
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffffe
sub ecx, ebp
jmp 0x45b770
mov ecx, 1
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x3c]
add ecx, ebp
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x40]
add ecx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.DLL_CreateSolidBrush]
mov dword [esp + 0x4c], eax
test di, di
je 0x45b7c3
push eax
lea ecx, [esp + 0x40]
push ecx
push ebx
call fcn.0045cc40
add esp, 0xc
jmp 0x45b7d9
push 1
push 0
push dword [esp + 0x54]
lea ecx, [esp + 0x48]
push ecx
push ebx
call fcn.0045c5dd
add esp, 0x14
push dword [esp + 0x4c]
call dword [sym.imp.GDI32.DLL_DeleteObject]
cmp dword [esp + 0x10c], 0
je 0x45b993
test di, di
je 0x45b8e3
cmp word [esp + 0x11c], 0
je 0x45b993
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x44]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x48]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x54], eax
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x58]
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x40]
add edx, 3
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x3c]
add edx, 3
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffffd
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffffd
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
push dword [esp + 0x30]
call dword [sym.imp.GDI32.DLL_CreateSolidBrush]
push eax
push ebx
call dword [sym.imp.GDI32.DLL_SelectObject]
mov dword [esp + 0x78], eax
push dword [esp + 0x30]
push 0
push 0
call dword [sym.imp.GDI32.DLL_CreatePen]
push eax
push ebx
call dword [sym.imp.GDI32.DLL_SelectObject]
mov dword [esp + 0x7c], eax
push 4
lea ecx, [esp + 0x5c]
push ecx
push ebx
call dword [sym.imp.GDI32.DLL_Polygon]
push dword [esp + 0x78]
push ebx
call dword [sym.imp.GDI32.DLL_SelectObject]
push eax
call dword [sym.imp.GDI32.DLL_DeleteObject]
push dword [esp + 0x7c]
push ebx
call dword [sym.imp.GDI32.DLL_SelectObject]
push eax
call dword [sym.imp.GDI32.DLL_DeleteObject]
jmp 0x45b993
cmp word [esp + 0x11c], 0
jne 0x45b8ff
test dword [esp + 0x118], 0x100000
jne 0x45b993
push dword [esp + 0x24]
call dword [sym.imp.GDI32.DLL_CreateCompatibleDC]
mov edi, eax
cmp word [esp + 0x11c], 0
je 0x45b91d
mov ecx, 0x492273
jmp 0x45b922
mov ecx, 0x492268
push ecx
push dword [0x489ab0]
call dword [sym.imp.USER32.DLL_LoadBitmapA]
mov dword [esp + 0x80], eax
push dword [esp + 0x30]
push ebx
call dword [sym.imp.GDI32.DLL_SetTextColor]
push dword [esp + 0x2c]
push ebx
call dword [sym.imp.GDI32.DLL_SetBkColor]
push dword [esp + 0x80]
push edi
call dword [sym.imp.GDI32.DLL_SelectObject]
push 0xcc0020
push 0
push 0
push edi
push 7
push 7
mov ecx, dword [esp + 0x58]
add ecx, 2
push ecx
mov ecx, dword [esp + 0x58]
add ecx, 2
push ecx
push ebx
call dword [sym.imp.GDI32.DLL_BitBlt]
push edi
call dword [sym.imp.GDI32.DLL_DeleteDC]
push dword [esp + 0x80]
call dword [sym.imp.GDI32.DLL_DeleteObject]
push 0x64
lea ecx, [esp + 0x88]
push ecx
push esi
call dword [sym.imp.USER32.DLL_GetWindowTextA]
mov dword [esp + 0xf8], eax
push 0
push 0
push 0x31
push esi
call dword [sym.imp.USER32.DLL_SendMessageA]
push eax
push ebx
call dword [sym.imp.GDI32.DLL_SelectObject]
push 0x420
lea ecx, [esp + 0xec]
push ecx
push dword [esp + 0x100]
lea ecx, [esp + 0x90]
push ecx
push ebx
call dword [sym.imp.USER32.DLL_DrawTextA]
mov ecx, dword [esp + 0xf4]
sub ecx, dword [esp + 0xec]
mov dword [esp + 0xfc], ecx
mov edx, dword [esp + 0xf0]
sub edx, dword [esp + 0xe8]
mov dword [esp + 0x100], edx
cmp word [esp + 0x38], 0
je 0x45ba2a
cmp word [esp + 0x3a], 0
je 0x45ba2a
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff8
sub eax, ebp
sub eax, edx
jmp 0x45ba3c
cmp word [esp + 0x38], 0
je 0x45ba39
mov eax, dword [esp + 0x14]
inc eax
jmp 0x45ba3c
lea eax, [ebp + 6]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xec], eax
mov edx, dword [esp + 0xe8]
add edx, dword [esp + 0x100]
mov dword [esp + 0xf0], edx
mov edx, dword [esp + 0xec]
add edx, ecx
mov dword [esp + 0xf4], edx
push dword [0x491a00]
push ebx
call dword [sym.imp.GDI32.DLL_SetBkColor]
push dword [esp + 0x34]
push ebx
call dword [sym.imp.GDI32.DLL_SetTextColor]
cmp word [esp + 0x11c], 0
jne 0x45baed
test dword [esp + 0x118], 0x20000
je 0x45baed
push 0
lea ecx, [esp + 0x88]
push ecx
push dword [esp + 0xfc]
push dword [esp + 0xfc]
push dword [esp + 0xfc]
push dword [esp + 0xfc]
push 0
push 0
push 0x31
push esi
call dword [sym.imp.USER32.DLL_SendMessageA]
push eax
push ebx
call fcn.0045cdf6
add esp, 0x20
jmp 0x45bb0d
push 0x20
lea ecx, [esp + 0xec]
push ecx
push dword [esp + 0x100]
lea ecx, [esp + 0x90]
push ecx
push ebx
call dword [sym.imp.USER32.DLL_DrawTextA]
test byte [esp + 0x119], 0x40
jne 0x45bb4c
call dword [sym.imp.USER32.DLL_GetFocus]
cmp eax, esi
jne 0x45bb4c
dec dword [esp + 0xe8]
dec dword [esp + 0xec]
inc dword [esp + 0xf0]
inc dword [esp + 0xf4]
lea ecx, [esp + 0xe8]
push ecx
push ebx
call dword [sym.imp.USER32.DLL_DrawFocusRect]
push 0xcc0020
push 0
push 0
push ebx
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0
push 0
push dword [esp + 0x44]
call dword [sym.imp.GDI32.DLL_BitBlt]
push 0xd
call dword [sym.imp.GDI32.DLL_GetStockObject]
push eax
push ebx
call dword [sym.imp.GDI32.DLL_SelectObject]
push ebx
call dword [sym.imp.GDI32.DLL_DeleteDC]
push dword [esp + 0x28]
call dword [sym.imp.GDI32.DLL_DeleteObject]
push dword [esp + 0x24]
push esi
call dword [sym.imp.USER32.DLL_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret