Function at 0x40e590
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x415c71
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor esi, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0xec], esi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0xec], 3
call sub.MFC42.DLL_CString::CString_2
push 0xa
lea ecx, [esp + 0x6c]
mov byte [esp + 0xf0], 4
call sub.MFC42.DLL_CStringList::CStringList
push 0xa
lea ecx, [esp + 0x50]
mov byte [esp + 0xf0], 5
call sub.MFC42.DLL_CStringList::CStringList
push 0xa
lea ecx, [esp + 0x34]
mov byte [esp + 0xf0], 6
call sub.MFC42.DLL_CStringList::CStringList
mov eax, dword [esp + 0xf4]
mov byte [esp + 0xec], 7
push eax
call dword [sym.imp.MSVCRT.dll_atol]
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
mov ebx, 0xa
shr eax, 0x1f
add edx, eax
mov eax, 0x66666667
mov edi, edx
imul ecx
mov eax, edx
add esp, 4
sar eax, 2
mov edx, eax
push ebx
shr edx, 0x1f
add eax, edx
mov dword [esp + 0x2c], edi
cdq
idiv ebx
mov eax, ecx
mov ecx, ebx
mov dword [esp + 0x88], edx
cdq
idiv ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x8c], edx
call sub.MFC42.DLL_CStringList::CStringList
push ebx
lea ecx, [esp + 0xc8]
mov byte [esp + 0xf0], 8
call sub.MFC42.DLL_CStringList::CStringList
push ebx
lea ecx, [esp + 0xac]
mov byte [esp + 0xf0], 9
call sub.MFC42.DLL_CStringList::CStringList
mov edx, dword [ebp + 0xab8]
push esi
push esi
mov byte [esp + 0xf4], bl
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0x1004
push edx
call ebx
test eax, eax
jle 0x40e7a8
lea edi, [ebp + 0xa98]
push 0
lea eax, [esp + 0x24]
push esi
push eax
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xf0], 0xb
call sub.MFC42.DLL_CStringList::AddTail
lea ecx, [esp + 0x20]
mov byte [esp + 0xec], 0xa
call fcn.00413f18
push 1
lea ecx, [esp + 0x30]
push esi
push ecx
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xf0], 0xc
call sub.MFC42.DLL_CStringList::AddTail
lea ecx, [esp + 0x2c]
mov byte [esp + 0xec], 0xa
call fcn.00413f18
push 2
lea edx, [esp + 0x28]
push esi
push edx
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xf0], 0xd
call sub.MFC42.DLL_CStringList::AddTail
lea ecx, [esp + 0x24]
mov byte [esp + 0xec], 0xa
call fcn.00413f18
mov eax, dword [ebp + 0xab8]
push 0
push 0
push 0x1004
push eax
inc esi
call ebx
cmp esi, eax
jl 0x40e6f3
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x34]
mov ecx, eax
test eax, eax
je 0x40ebe0
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
jmp 0x40e7d2
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov eax, ecx
mov ecx, dword [ecx]
add eax, 8
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator
mov edx, dword [ebx]
mov eax, ebx
add eax, 8
lea ecx, [esp + 0x14]
push eax
mov dword [esp + 0x2c], edx
call sub.MFC42.DLL_CString::operator
mov ecx, dword [ebp]
mov eax, ebp
add eax, 8
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0xe4]
push eax
push ecx
call sub.MFC42.DLL_operator
lea edx, [esp + 0x1c]
mov byte [esp + 0xec], 0xe
push edx
push eax
lea eax, [esp + 0x34]
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xf0], 0xf
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x2c]
mov byte [esp + 0xec], 0xe
call fcn.00413f18
lea ecx, [esp + 0xe0]
mov byte [esp + 0xec], 0xa
call fcn.00413f18
mov ecx, dword [esp + 0x10]
push 0x41c998
push ecx
call esi
add esp, 8
test eax, eax
je 0x40e89e
mov edx, dword [esp + 0x10]
push 0x41c98c
push edx
call esi
add esp, 8
test eax, eax
jne 0x40e8af
mov ebx, dword [esp + 0x84]
cmp edi, ebx
jle 0x40ecca
jmp 0x40e8b6
mov ebx, dword [esp + 0x84]
mov eax, dword [esp + 0x10]
push 0x41c980
push eax
call esi
add esp, 8
test eax, eax
je 0x40e8dc
mov ecx, dword [esp + 0x10]
push 0x41c974
push ecx
call esi
add esp, 8
test eax, eax
jne 0x40e8e4
cmp edi, ebx
jge 0x40ecca
mov edx, dword [esp + 0x10]
push 0x41c964
push edx
call esi
add esp, 8
test eax, eax
je 0x40e90a
mov eax, dword [esp + 0x10]
push 0x41c954
push eax
call esi
add esp, 8
test eax, eax
jne 0x40e912
cmp edi, ebx
jl 0x40ecca
mov ecx, dword [esp + 0x10]
push 0x41c948
push ecx
call esi
add esp, 8
test eax, eax
je 0x40e938
mov edx, dword [esp + 0x10]
push 0x41c93c
push edx
call esi
add esp, 8
test eax, eax
jne 0x40e940
cmp edi, ebx
jne 0x40ecca
mov eax, dword [esp + 0x10]
push 0x41c92c
push eax
call esi
add esp, 8
test eax, eax
je 0x40e966
mov ecx, dword [esp + 0x10]
push 0x41c91c
push ecx
call esi
add esp, 8
test eax, eax
jne 0x40e96e
cmp edi, ebx
jg 0x40ecca
mov edx, dword [esp + 0x10]
push 0x41c910
push edx
call esi
add esp, 8
test eax, eax
je 0x40e994
mov eax, dword [esp + 0x10]
push 0x41c904
push eax
call esi
add esp, 8
test eax, eax
jne 0x40e9a5
mov ebp, dword [esp + 0x88]
cmp edi, ebp
jle 0x40ecca
jmp 0x40e9ac
mov ebp, dword [esp + 0x88]
mov ecx, dword [esp + 0x10]
push 0x41c8f8
push ecx
call esi
add esp, 8
test eax, eax
je 0x40e9d2
mov edx, dword [esp + 0x10]
push 0x41c8ec
push edx
call esi
add esp, 8
test eax, eax
jne 0x40e9da
cmp edi, ebp
jge 0x40ecca
mov eax, dword [esp + 0x10]
push 0x41c8dc
push eax
call esi
add esp, 8
test eax, eax
je 0x40ea00
mov ecx, dword [esp + 0x10]
push 0x41c8cc
push ecx
call esi
add esp, 8
test eax, eax
jne 0x40ea08
cmp edi, ebp
jl 0x40ecca
mov edx, dword [esp + 0x10]
push 0x41c8bc
push edx
call esi
add esp, 8
test eax, eax
je 0x40ea2e
mov eax, dword [esp + 0x10]
push 0x41c8ac
push eax
call esi
add esp, 8
test eax, eax
jne 0x40ea36
cmp edi, ebp
jg 0x40ecca
mov ecx, dword [esp + 0x10]
push 0x41c8a0
push ecx
call esi
add esp, 8
test eax, eax
je 0x40ea5c
mov edx, dword [esp + 0x10]
push 0x41c894
push edx
call esi
add esp, 8
test eax, eax
jne 0x40ea64
cmp edi, ebp
jne 0x40ecca
mov eax, dword [esp + 0x10]
push 0x41c888
push eax
call esi
add esp, 8
test eax, eax
je 0x40ea8a
mov ecx, dword [esp + 0x10]
push 0x41c87c
push ecx
call esi
add esp, 8
test eax, eax
jne 0x40ea92
cmp ebx, ebp
jle 0x40ecca
mov edx, dword [esp + 0x10]
push 0x41c870
push edx
call esi
add esp, 8
test eax, eax
je 0x40eab8
mov eax, dword [esp + 0x10]
push 0x41c864
push eax
call esi
add esp, 8
test eax, eax
jne 0x40eac0
cmp ebx, ebp
jge 0x40ecca
mov ecx, dword [esp + 0x10]
push 0x41c854
push ecx
call esi
add esp, 8
test eax, eax
je 0x40eae6
mov edx, dword [esp + 0x10]
push 0x41c844
push edx
call esi
add esp, 8
test eax, eax
jne 0x40eaee
cmp ebx, ebp
jl 0x40ecca
mov eax, dword [esp + 0x10]
push 0x41c834
push eax
call esi
add esp, 8
test eax, eax
je 0x40eb14
mov ecx, dword [esp + 0x10]
push 0x41c824
push ecx
call esi
add esp, 8
test eax, eax
jne 0x40eb1c
cmp ebx, ebp
jg 0x40ecca
mov edx, dword [esp + 0x10]
push 0x41c818
push edx
call esi
add esp, 8
test eax, eax
je 0x40eb42
mov eax, dword [esp + 0x10]
push 0x41c80c
push eax
call esi
add esp, 8
test eax, eax
jne 0x40eb4a
cmp ebx, ebp
jne 0x40ecca
mov ecx, dword [esp + 0x10]
push 0x41c800
push ecx
call esi
add esp, 8
test eax, eax
je 0x40eb70
mov edx, dword [esp + 0x10]
push 0x41c7f4
push edx
call esi
add esp, 8
test eax, eax
jne 0x40eb78
cmp ebx, ebp
je 0x40ecca
mov eax, dword [esp + 0x10]
push 0x41c7e8
push eax
call esi
add esp, 8
test eax, eax
je 0x40eb9e
mov ecx, dword [esp + 0x10]
push 0x41c7dc
push ecx
call esi
add esp, 8
test eax, eax
jne 0x40eba6
cmp edi, ebp
je 0x40ecca
mov edx, dword [esp + 0x10]
push 0x41c7d0
push edx
call esi
add esp, 8
test eax, eax
je 0x40ebcc
mov eax, dword [esp + 0x10]
push 0x41c7c4
push eax
call esi
add esp, 8
test eax, eax
jne 0x40ebd4
cmp ebx, edi
je 0x40ecca
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40e7c6
lea ecx, [esp + 0xa8]
mov byte [esp + 0xec], 9
call fcn.00414008
lea ecx, [esp + 0xc4]
mov byte [esp + 0xec], 8
call fcn.00414008
lea ecx, [esp + 0x8c]
mov byte [esp + 0xec], 7
call fcn.00414008
lea ecx, [esp + 0x30]
mov byte [esp + 0xec], 6
call fcn.00414008
lea ecx, [esp + 0x4c]
mov byte [esp + 0xec], 5
call fcn.00414008
lea ecx, [esp + 0x68]
mov byte [esp + 0xec], 4
call fcn.00414008
lea ecx, [esp + 0x1c]
mov byte [esp + 0xec], 3
call fcn.00413f18
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 2
call fcn.00413f18
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 1
call fcn.00413f18
lea ecx, [esp + 0x10]
mov byte [esp + 0xec], 0
call fcn.00413f18
lea ecx, [esp + 0xf4]
mov dword [esp + 0xec], 0xffffffff
call fcn.00413f18
mov eax, 1
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe0
ret 4
lea ecx, [esp + 0xa8]
mov byte [esp + 0xec], 9
call fcn.00414008
lea ecx, [esp + 0xc4]
mov byte [esp + 0xec], 8
call fcn.00414008
lea ecx, [esp + 0x8c]
mov byte [esp + 0xec], 7
call fcn.00414008
lea ecx, [esp + 0x30]
mov byte [esp + 0xec], 6
call fcn.00414008
lea ecx, [esp + 0x4c]
mov byte [esp + 0xec], 5
call fcn.00414008
lea ecx, [esp + 0x68]
mov byte [esp + 0xec], 4
call fcn.00414008
lea ecx, [esp + 0x1c]
mov byte [esp + 0xec], 3
call fcn.00413f18
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 2
call fcn.00413f18
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 1
call fcn.00413f18
lea ecx, [esp + 0x10]
mov byte [esp + 0xec], 0
call fcn.00413f18
lea ecx, [esp + 0xf4]
mov dword [esp + 0xec], 0xffffffff
call fcn.00413f18
xor eax, eax
jmp 0x40ecaf