Function at 0x4014c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441416
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x452650]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push esi
push edi
mov eax, dword [0x452650]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
lea eax, [esp + 0xac]
push eax
mov ebx, ecx
call fcn.00408440
mov ecx, ebx
mov dword [esp + 0x110], 0
call fcn.0040b22f
mov eax, dword [ebx + 0x74]
mov ecx, dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x80
push ecx
call esi
mov eax, dword [ebx + 0x74]
mov edx, dword [ebx + 0x20]
push eax
push 0
push 0x80
push edx
call esi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [ebx + 0x158]
mov edx, dword [eax + 0x168]
push 0xe800
lea esi, [ebx + 0x158]
push 0x50002800
push ebx
mov ecx, esi
call edx
push 0x81
mov ecx, esi
call fcn.0040cbec
push 1
push 0
push 0
push 0
push 0
push 0xe8ff
push 0xe800
mov ecx, ebx
call fcn.004112f4
lea eax, [esp + 0x60]
push eax
call fcn.00401340
mov ecx, esp
mov byte [esp + 0x114], 1
mov dword [esp + 0x2c], esp
push str.config.ini
push eax
push ecx
call fcn.00402ba0
add esp, 0xc
lea ecx, [esp + 0xb0]
call fcn.004085b0
mov esi, eax
mov byte [esp + 0x110], 0
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4015f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x401c0c
lea ecx, [esp + 0x3c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.width
call fcn.00403050
push ecx
mov byte [esp + 0x11c], 2
mov ecx, esp
mov dword [esp + 0x48], esp
push str.size
call fcn.00403050
lea ecx, [esp + 0xb8]
mov byte [esp + 0x11c], 0
call fcn.004087c0
lea edx, [esp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.height
call fcn.00403050
push ecx
mov byte [esp + 0x11c], 3
mov ecx, esp
mov dword [esp + 0x20], esp
push str.size
call fcn.00403050
lea ecx, [esp + 0xb8]
mov byte [esp + 0x11c], 0
call fcn.004087c0
mov eax, dword [esp + 0xb8]
mov edx, dword [eax + 0x4c]
lea ecx, [esp + 0xb8]
call edx
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebx + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x18]
push ecx
push edx
call edi
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x2c]
push eax
push ecx
call edi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov eax, ecx
sub eax, edx
lea eax, [eax + esi + 0x1e]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
add edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x20]
add ecx, 0x1e
add eax, esi
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], edx
mov edx, ecx
sub edx, dword [esp + 0x38]
add ecx, 0x1e
lea edx, [edx + eax + 0x1e]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x34]
mov dword [esp + 0x30], ecx
add eax, esi
add dword [esp + 0x34], eax
add dword [esp + 0x38], edx
mov edx, dword [ebx + 0x88]
mov edx, dword [edx + 0x54]
push 0
push 0x3e8
push ebx
lea eax, [esp + 0x24]
push eax
push 0x40000000
lea esi, [ebx + 0x88]
push str.EditorCrl
push 0
mov ecx, esi
call edx
push 5
mov ecx, esi
call fcn.00414b11
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x34]
sub edx, dword [esp + 0x50]
sub eax, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
cmp eax, edx
mov edx, dword [ebx + 0x20]
push ecx
push edx
jg 0x4017b2
call edi
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x50]
mov eax, ecx
sub eax, edx
sub eax, dword [esp + 0x24]
add eax, dword [esp + 0x1c]
lea eax, [eax + esi + 0x1e]
mov esi, dword [esp + 0x58]
jmp 0x4017d8
call edi
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
mov eax, ecx
sub eax, edx
sub eax, dword [esp + 0x24]
add eax, dword [esp + 0x1c]
lea eax, [eax + esi + 0x1e]
mov esi, dword [esp + 0x34]
push 1
push eax
mov eax, esi
sub eax, edi
add eax, 6
push eax
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
sub eax, ecx
add eax, edx
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x58]
sub eax, esi
sub eax, dword [esp + 0x50]
mov ecx, ebx
add eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.00414ad3
mov eax, 0x11b
mov dword [esp + 0x18], eax
push 0x3e9
lea eax, [ebx + 0x158]
push eax
lea esi, [ebx + 0x110]
mov ecx, 0xd
lea edi, [esp + 0xd4]
rep movsd dword es:[edi], dword [esi]
mov edx, 0x192
mov dword [esp + 0x28], edx
mov edx, dword [ebx + 0x210]
mov edx, dword [edx + 0x134]
lea edi, [ebx + 0x210]
lea eax, [esp + 0x20]
mov ecx, 2
push eax
mov dword [esp + 0x28], ecx
mov esi, 0xc8
push 0x50200003
mov ecx, edi
mov dword [esp + 0x34], esi
call edx
mov eax, dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push eax
call esi
push eax
call fcn.00415f1d
test eax, eax
je 0x401891
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x230]
push 1
push eax
push 0x30
push ecx
call esi
mov edx, dword [ebx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00415c6c
mov eax, dword [eax + 4]
push edi
push 0x401310
push 0
push eax
call dword [sym.imp.GDI32.dll_EnumFontFamiliesA]
mov ecx, dword [ebx + 0x230]
push 0x4484e0
push 0
push 0x14c
push ecx
call esi
mov edx, dword [ebx + 0x230]
push 0
push eax
push 0x14e
push edx
call esi
mov eax, 0x1ae
mov dword [esp + 0x18], eax
push 0x3e9
mov ecx, 2
lea eax, [ebx + 0x158]
push eax
mov edx, 0x1d6
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov edx, dword [ebx + 0x264]
mov edx, dword [edx + 0x134]
lea ecx, [ebx + 0x264]
lea eax, [esp + 0x20]
push eax
mov edi, 0xc8
push 0x50200003
mov dword [esp + 0x34], edi
call edx
mov eax, dword [ebx + 0x20]
push 0
push 0
push 0x31
push eax
call esi
push eax
call fcn.00415f1d
test eax, eax
je 0x40194e
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x284]
push 1
push eax
push 0x30
push ecx
call esi
push 0x4484e8
lea ecx, [esp + 0x68]
call fcn.00403050
push 0x4484ec
lea ecx, [esp + 0x6c]
mov byte [esp + 0x114], 4
call fcn.00403050
push 0x4484f0
lea ecx, [esp + 0x70]
mov byte [esp + 0x114], 5
call fcn.00403050
push 0x4484f4
lea ecx, [esp + 0x74]
mov byte [esp + 0x114], 6
call fcn.00403050
push 0x4484f8
lea ecx, [esp + 0x78]
mov byte [esp + 0x114], 7
call fcn.00403050
push 0x4484fc
lea ecx, [esp + 0x7c]
mov byte [esp + 0x114], 8
call fcn.00403050
push 0x448500
lea ecx, [esp + 0x80]
mov byte [esp + 0x114], 9
call fcn.00403050
push 0x448504
lea ecx, [esp + 0x84]
mov byte [esp + 0x114], 0xa
call fcn.00403050
push 0x448508
lea ecx, [esp + 0x88]
mov byte [esp + 0x114], 0xb
call fcn.00403050
push 0x44850c
lea ecx, [esp + 0x8c]
mov byte [esp + 0x114], 0xc
call fcn.00403050
push 0x448510
lea ecx, [esp + 0x90]
mov byte [esp + 0x114], 0xd
call fcn.00403050
push 0x448514
lea ecx, [esp + 0x94]
mov byte [esp + 0x114], 0xe
call fcn.00403050
push 0x448518
lea ecx, [esp + 0x98]
mov byte [esp + 0x114], 0xf
call fcn.00403050
push 0x44851c
lea ecx, [esp + 0x9c]
mov byte [esp + 0x114], 0x10
call fcn.00403050
push 0x448520
lea ecx, [esp + 0xa0]
mov byte [esp + 0x114], 0x11
call fcn.00403050
mov byte [esp + 0x110], 0x12
push 0x448524
lea ecx, [esp + 0xa4]
call fcn.00403050
push 0x448528
lea ecx, [esp + 0xa8]
mov byte [esp + 0x114], 0x13
call fcn.00403050
push 0x44852c
lea ecx, [esp + 0xac]
mov byte [esp + 0x114], 0x14
call fcn.00403050
mov byte [esp + 0x110], 0x15
xor edi, edi
mov edi, edi
mov eax, dword [esp + edi*4 + 0x64]
mov edx, dword [ebx + 0x284]
push eax
push edi
push 0x14a
push edx
call esi
add edi, 1
cmp edi, 0x12
jl 0x401b10
call fcn.00416f1e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401b46
push 0x80004005
call fcn.00402e80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x110], 0x16
mov ecx, dword [esp + 0xfc]
push ecx
lea edx, [esp + 0x18]
push 0x4486f0
push edx
call fcn.00403010
mov edi, dword [esp + 0x20]
mov eax, dword [ebx + 0x284]
add esp, 0xc
push edi
push 0
push 0x14c
push eax
call esi
mov ecx, dword [ebx + 0x284]
push 0
push eax
push 0x14e
push ecx
call esi
mov esi, ebx
mov dword [ebx + 0x84], 0xff
call fcn.00401e30
lea eax, [edi - 0x10]
mov byte [esp + 0x110], 0x15
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401bd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x403570
push 0x12
push 4
lea ecx, [esp + 0x70]
push ecx
mov byte [esp + 0x120], 0
call fcn.0042aced
lea ecx, [esp + 0xac]
mov dword [esp + 0x110], 0xffffffff
call fcn.00408510
mov eax, 1
jmp 0x401c25
lea ecx, [esp + 0xac]
mov dword [esp + 0x110], 0xffffffff
call fcn.00408510
xor eax, eax
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.0042aa3b
mov esp, ebp
pop ebp
ret