Function at 0x40c420
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4b24a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x270]
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x268], 1
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x264], 2
call sub.MFC42u.DLL_CString::MakeLower
mov eax, dword [0x4e3a10]
xor edi, edi
test eax, eax
mov dword [esp + 0x18], edi
jle 0x40c998
mov ebp, dword [sym.imp.MSVCRT.dll_wcscmp]
lea ecx, [esp + 0x3c]
push edi
push ecx
mov ecx, 0x4e3a08
call fcn.00401460
mov eax, dword [eax]
mov edx, dword [esp + 0x1c]
push eax
push edx
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
setne bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x40c857
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0x24], eax
mov eax, dword [0x4e2bf8]
xor esi, esi
test eax, eax
jle 0x40c513
lea eax, [esp + 0x38]
push esi
push eax
mov ecx, 0x4e2bf0
call fcn.00401460
mov ecx, dword [esp + 0x26c]
mov edx, dword [eax]
push ecx
push edx
call ebp
add esp, 8
lea ecx, [esp + 0x38]
test eax, eax
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
jne 0x40c870
mov eax, dword [0x4e2bf8]
add esi, 2
cmp esi, eax
jl 0x40c4d1
lea edx, [esp + 0x26c]
mov ecx, 0x4e2bf0
push edx
push eax
call sub.MFC42u.DLL_CStringArray::SetAtGrow
mov eax, dword [0x4e2bf8]
lea ecx, [esp + 0x270]
push ecx
push eax
mov ecx, 0x4e2bf0
call sub.MFC42u.DLL_CStringArray::SetAtGrow
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x5e]
mov word [esp + 0x5c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x24]
xor edi, edi
cmp eax, edi
je 0x40c56f
lea edx, [esp + 0x5c]
push 0x100
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x28]
push eax
call fcn.00422360
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x264], 5
push ecx
lea ecx, [esp + 0x14]
mov word [esp + 0x1a], di
mov word [esp + 0x18], 1
mov word [esp + 0x3a], di
mov word [esp + 0x38], 3
call sub.MFC42u.DLL_CString::CString_3
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x268], 6
call sub.MFC42u.DLL_CString::operator_1
push 0x52fe70
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::operator_1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x26c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004b0394
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42u.DLL_CString::operator_1
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x50]
push esi
push eax
mov ecx, 0x4e3a08
call fcn.00401460
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x268], 7
call fcn.004b0394
lea ecx, [esp + 0x50]
mov byte [esp + 0x264], 6
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::operator_1
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42u.DLL_CString::operator_1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x270]
push ecx
lea ecx, [esp + 0x14]
call fcn.004b0394
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42u.DLL_CString::operator_1
lea eax, [esp + 0x34]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42u.DLL_CString::operator_1
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42u.DLL_CString::CString_3
push 0x4d0534
call fcn.00425820
add esp, 8
lea ecx, [esp + 0x2c]
push 0x4e2868
call sub.MFC42u.DLL_CString::CString_4
add esi, 2
lea ecx, [esp + 0x48]
mov byte [esp + 0x264], 8
lea eax, [esi - 1]
push eax
push ecx
mov ecx, 0x4e3a08
call fcn.00401460
mov edx, dword [eax]
push 0x4d0578
push edx
call ebp
add esp, 8
cmp eax, edi
lea ecx, [esp + 0x48]
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x40c722
lea eax, [esp + 0x58]
push eax
call fcn.0040b580
add esp, 4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x268], 9
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x58]
mov byte [esp + 0x264], 8
call sub.MFC42u.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4cf608
call sub.MFC42u.DLL_CString::CString_2
push ecx
mov byte [esp + 0x26c], 0xa
mov ecx, esp
mov dword [esp + 0x5c], esp
push str.file_transfer_backup_screen.flag
push 0x1404c10
push ecx
call sub.MFC42u.DLL_operator_4
mov byte [esp + 0x26c], 8
call fcn.0040ac30
add esp, 8
lea edx, [esp + 0x270]
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call sub.MFC42u.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x278]
mov edi, esp
mov dword [esp + 0x3c], esp
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.IMONITOR_ID_30040
mov byte [esp + 0x27c], 0xb
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x34]
push 0x4e2a30
push ecx
call fcn.004285b0
add esp, 0xc
push eax
push edi
mov byte [esp + 0x27c], 0xc
call sub.MFC42u.DLL_operator
mov byte [esp + 0x270], 0xd
call fcn.004016e0
add esp, 0xc
lea ecx, [esp + 0x20]
mov byte [esp + 0x264], 8
call sub.MFC42u.DLL_CString::CString
lea edx, [esp + 0x44]
push esi
push edx
mov ecx, 0x4e3a08
call fcn.00401460
mov eax, dword [eax]
push 0x4d0578
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x44]
test eax, eax
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x40c820
mov al, byte [esp + 0x274]
test al, al
jne 0x40c9ef
lea ecx, [esp + 0x2c]
mov byte [esp + 0x264], 6
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x264], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x264], 2
call sub.MFC42u.DLL_CString::CString
mov edi, dword [esp + 0x18]
mov eax, dword [0x4e3a10]
add edi, 3
cmp edi, eax
mov dword [esp + 0x18], edi
jl 0x40c485
jmp 0x40c998
inc esi
lea eax, [esp + 0x4c]
push esi
push eax
mov ecx, 0x4e2bf0
call fcn.00401460
mov ecx, dword [esp + 0x270]
mov edx, dword [eax]
push ecx
push edx
call ebp
add esp, 8
lea ecx, [esp + 0x4c]
test eax, eax
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x40c8e9
lea eax, [edi + 2]
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, 0x4e3a08
call fcn.00401460
mov edx, dword [eax]
push 0x4d0578
push edx
call ebp
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x40c53e
mov al, byte [esp + 0x274]
test al, al
jne 0x40c904
jmp 0x40c53e
mov ecx, dword [0x4e2bf4]
lea eax, [esp + 0x270]
push eax
lea ecx, [ecx + esi*4]
call sub.MFC42u.DLL_CString::operator_2
jmp 0x40c53e
push 0x4e2868
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString_4
inc edi
lea ecx, [esp + 0x20]
push edi
push ecx
mov ecx, 0x4e3a08
mov byte [esp + 0x26c], 3
call fcn.00401460
mov edx, dword [eax]
push 0x4d0578
push edx
call ebp
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x40c97a
lea eax, [esp + 0x20]
push eax
call fcn.0040b580
add esp, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x268], 4
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x264], 3
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0040bea0
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x264], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x264], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x26c]
mov byte [esp + 0x264], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x270]
mov dword [esp + 0x264], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor al, al
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x258
ret
mov edx, dword [esp + 0x24]
push edx
call fcn.0040bea0
add esp, 4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x264], 6
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x264], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x264], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x264], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x26c]
mov byte [esp + 0x264], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x270]
mov dword [esp + 0x264], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov al, 1
jmp 0x40c9d6