Function at 0x61c7b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x61c7b9
mov eax, dword [ebp - 4]
add esp, 0xffffffc0
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x61ca85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
cmp dword [eax + 0x3c], 0
je 0x61c80e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 0x44]
call fcn.004abe84
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x5c]
mov edx, dword [edx + 0x3c]
mov edx, dword [edx + 0x64]
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x2024]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.USER32.DLL_GetWindowRect
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.USER32.DLL_GetWindowLongW
and eax, 0x2000
cmp eax, 0x2000
jne 0x61c86d
push 3
lea eax, [ebp - 0x2034]
push eax
lea edx, [ebp - 0x2044]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x203c]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x1c]
sub ecx, 3
mov edx, 3
call fcn.004376b0
jmp 0x61c8a8
lea eax, [ebp - 0x2024]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
sub eax, 3
push eax
lea eax, [ebp - 0x2034]
push eax
lea edx, [ebp - 0x2044]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov ecx, dword [ebp - 0x2044]
mov edx, 3
mov eax, 3
call fcn.004376b0
push 0
push 0
push 0x147
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.USER32.DLL_SendMessageW
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00458e8c
cmp dword [ebp - 0x10], 0xffffffff
jle 0x61c90d
lea eax, [ebp - 0x2012]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0x148
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.USER32.DLL_SendMessageW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x61c8fa
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x2012]
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 8]
call fcn.00458f74
jmp 0x61c94c
push 0
push 0
push 0xe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.USER32.DLL_SendMessageW
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.00458f74
cmp dword [ebp - 8], 0
je 0x61c94c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
inc eax
push eax
push 0xd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.USER32.DLL_SendMessageW
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.USER32.DLL_GetWindowLongW
and eax, 3
cmp eax, 3
sete byte [ebp - 0x11]
call sub.USER32.DLL_GetFocus
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x54]
sete al
and al, byte [ebp - 0x11]
je 0x61c9cf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 0x44]
call fcn.004abe84
mov eax, dword [eax + 0x48]
xor edx, edx
call fcn.004a5564
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 0x44]
call fcn.004abe84
call fcn.004a65ec
lea edx, [ebp - 0x2034]
mov ecx, 0xff00000d
call sym.DatCutter.exe__Sgraphutils_FillDC_qqrp5HDC__rx11Types_TRectx15Graphics_TColor
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 0x44]
call fcn.004abe84
mov eax, dword [eax + 0x40]
mov edx, 0xff00000e
call fcn.004a4890
jmp 0x61c9e7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 0x44]
call fcn.004abe84
mov eax, dword [eax + 0x48]
mov dl, 1
call fcn.004a5564
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 0x44]
call fcn.004abe84
mov eax, dword [eax + 0x48]
mov dl, 1
call fcn.004a5564
cmp dword [ebp - 0xc], 0
je 0x61ca3c
xor eax, eax
mov al, byte [ebp - 0x11]
add eax, dword [ebp - 0x2030]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 0x44]
call fcn.004abe84
xor ecx, ecx
mov cl, byte [ebp - 0x11]
add ecx, dword [ebp - 0x2034]
lea edx, [ebp - 0x2034]
mov ebx, dword [eax]
call dword [ebx + 0x90]
call sub.USER32.DLL_GetFocus
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x54]
sete al
and al, byte [ebp - 0x11]
je 0x61ca6f
lea eax, [ebp - 0x2034]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 0x44]
call fcn.004abe84
call fcn.004a65ec
push eax
call sub.USER32.DLL_DrawFocusRect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61ca8c
lea eax, [ebp - 0xc]
call fcn.00458e28
ret