Function at 0x41e1c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5b5c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
mov ebx, ecx
push esi
lea eax, [ebp - 0x4c]
mov ecx, dword [ebx + 0x20]
push edi
push eax
push ecx
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xfffffffffffffffe
lea edx, [ebp - 0x4c]
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
sub ecx, eax
push 0x13
push ecx
mov ecx, dword [ebp - 0x4c]
lea esi, [ebx + 0x60]
sub edx, ecx
push edx
push eax
push ecx
push ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
sub ecx, eax
push 1
push ecx
mov ecx, dword [ebp - 0x4c]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::MoveWindow
lea esi, [ebx + 0xe0]
xor edi, edi
cmp esi, edi
je 0x41e24e
cmp dword [esi + 4], edi
jne 0x41e263
lea eax, [ebx + 0xa4]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, esi
call sub.MFC42.DLL_CGdiObject::Attach
cmp esi, edi
jne 0x41e26b
xor esi, esi
jmp 0x41e26e
mov esi, dword [esi + 4]
mov ecx, dword [ebx + 0x80]
push 1
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x30
push ecx
call esi
mov edx, dword [ebx + 0x80]
push edi
push edi
push 0x184
push edx
call esi
push 0xffffffffffffffff
lea ecx, [ebx + 0xe8]
push edi
call fcn.00409230
mov eax, dword [0x52d140]
mov ecx, 0x52d140
mov dword [ebp - 0x38], ecx
call dword [eax + 4]
mov eax, dword [0x526620]
mov dword [ebp - 4], edi
cmp eax, edi
jne 0x41e30e
cmp dword [0x52661c], edi
jne 0x41e30e
push 0x24
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x34], eax
cmp eax, edi
mov byte [ebp - 4], 1
je 0x41e2e3
push edi
mov ecx, eax
call fcn.00403720
jmp 0x41e2e5
xor eax, eax
mov ecx, dword [0x5177d4]
mov byte [ebp - 4], 0
push ecx
push 0x4036f0
mov ecx, 0x52b648
mov dword [0x52661c], eax
call fcn.00402160
mov dword [0x526620], 1
mov edx, dword [0x52d140]
mov esi, dword [0x52661c]
mov ecx, 0x52d140
mov dword [ebp - 4], 0xffffffff
call dword [edx + 8]
cmp esi, edi
mov dword [ebp - 0x30], esi
je 0x41e336
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], 2
cmp eax, edi
je 0x41e58b
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], edi
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00404c80
cmp eax, edi
jge 0x41e368
cmp eax, 0x80004002
je 0x41e368
push eax
call fcn.004cf728
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x41e57d
mov dword [ebp - 0x18], edi
mov edx, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push eax
mov byte [ebp - 4], 4
call dword [edx + 0xc]
test eax, eax
jl 0x41e569
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x41e56c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xc]
test eax, eax
jl 0x41e569
mov eax, dword [ebp - 0x2c]
cmp eax, edi
jle 0x41e569
xor esi, esi
cmp eax, edi
mov dword [ebp - 0x38], esi
jle 0x41e569
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
push ecx
push esi
mov edx, dword [eax]
push eax
mov byte [ebp - 4], 5
call dword [edx + 0x10]
test eax, eax
mov eax, dword [ebp - 0x10]
jl 0x41e54c
cmp eax, edi
je 0x41e54c
mov dword [ebp - 0x28], edi
mov edx, dword [eax]
lea ecx, [ebp - 0x28]
push ecx
push eax
mov byte [ebp - 4], 6
call dword [edx + 0xc]
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push ecx
push eax
mov edx, dword [eax]
mov byte [ebp - 4], 7
call dword [edx + 0x14]
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push eax
mov edx, dword [eax]
mov byte [ebp - 4], 8
call dword [edx + 0x18]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], edi
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x1c]
push 0x10
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
cmp esi, edi
mov byte [ebp - 4], 9
je 0x41e471
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 8]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x20], esi
jmp 0x41e476
mov dword [ebp - 0x20], edi
mov esi, edi
mov edx, dword [ebp - 0x28]
lea ecx, [esi + 4]
push edx
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebp - 0x24]
lea ecx, [esi + 8]
push eax
call sub.MFC42.DLL_CString::operator
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::operator
mov edx, dword [ebp - 0x34]
mov eax, 0x517cdc
mov dword [esi], edx
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x41e4b5
cmp eax, edi
je 0x41e50a
jmp 0x41e52e
cmp eax, edi
je 0x41e52e
mov ecx, 0x517cdc
test ecx, ecx
je 0x41e4f3
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.004cf470
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push 0x517cdc
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [ebp - 0x14]
push edi
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
sete al
test al, al
je 0x41e52c
mov esi, dword [ebx + 0xf0]
lea edi, [ebx + 0xe8]
push 0xffffffffffffffff
mov ecx, edi
lea eax, [esi + 1]
push eax
call fcn.00409230
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x20]
mov dword [ecx + esi*4], edx
xor edi, edi
mov eax, dword [ebp - 0x14]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [ebp - 0x24]
push ecx
call esi
mov edx, dword [ebp - 0x28]
push edx
call esi
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x38]
cmp eax, edi
mov byte [ebp - 4], 4
je 0x41e55a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
inc esi
cmp esi, eax
mov dword [ebp - 0x38], esi
jl 0x41e3c4
mov eax, dword [ebp - 0x18]
cmp eax, edi
mov byte [ebp - 4], 3
je 0x41e57a
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, edi
mov byte [ebp - 4], 2
je 0x41e58b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx + 0xf0]
mov dword [ebp - 0x34], edi
test eax, eax
jle 0x41e765
mov edx, dword [ebx + 0xec]
lea ecx, [ebp - 0x14]
mov esi, dword [edx + edi*4]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0xc]
push 0x517ce4
push eax
mov byte [ebp - 4], 0xd
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x41e699
mov ecx, dword [esi]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
mov edi, 0xe10
shr eax, 0x1f
add edx, eax
mov eax, 0x91a2b3c5
mov ecx, edx
imul ecx
add edx, ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov ebx, edx
cdq
idiv edi
mov eax, 0x88888889
mov edi, edx
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov edi, edx
mov ecx, 0x3c
cdq
idiv ecx
cmp ebx, 9
mov dword [ebp - 0x38], edx
jle 0x41e63b
push 0x5195ac
jmp 0x41e640
push 0x5195a4
lea ecx, [ebp - 0x10]
call fcn.004ceaf8
cmp edi, 9
jle 0x41e654
push 0x5195a0
jmp 0x41e659
push 0x519598
lea ecx, [ebp - 0x10]
call fcn.004ceaf8
cmp dword [ebp - 0x38], 9
jle 0x41e66e
push 0x51842c
jmp 0x41e673
push 0x519594
lea ecx, [ebp - 0x10]
call fcn.004ceaf8
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
push edx
push edi
push ebx
lea ecx, [ebp - 0x14]
push eax
push ecx
call sub.MFC42.DLL_CString::Format
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x3c]
add esp, 0x14
jmp 0x41e6c3
mov eax, dword [esi + 0xc]
push 0x517cdc
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x41e6c3
mov edx, dword [esi]
lea eax, [ebp - 0x14]
push edx
push 0x519590
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0x20
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::TrimLeft
add esi, 4
push 0x51958c
lea ecx, [ebp - 0x24]
push esi
push ecx
call sub.MFC42.DLL_operator_2
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 0xe
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call sub.MFC42.DLL_operator_3
push 0x519588
lea ecx, [ebp - 0x2c]
push eax
push ecx
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov edx, dword [ebx + 0x80]
push eax
push 0
push 0x180
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebx + 0xf0]
inc edi
cmp edi, eax
mov dword [ebp - 0x34], edi
jl 0x41e59c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x41e779
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x58]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret