Function at 0x4542f0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x5a6188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov al, byte [esi + 0x7c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
mov dword [esp + 0x24], 1
test al, al
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
je 0x454342
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0xb0
push edx
call ebp
mov eax, dword [esi + 0x20]
push ebx
push ebx
push 0xba
push eax
call ebp
cmp eax, 0x3e8
jle 0x4543ab
mov ecx, dword [esi + 0x20]
push ebx
push ebx
push 0xbb
push ecx
call ebp
mov edi, eax
cmp edi, ebx
jl 0x4543ab
mov edx, dword [esi + 0x20]
push ebx
push 0x1f4
push 0xbb
push edx
call ebp
cmp eax, ebx
jg 0x45438d
mov eax, dword [esi + 0x20]
push ebx
push edi
push 0xc1
push eax
call ebp
add eax, edi
mov ecx, dword [esi + 0x20]
push eax
push edi
push 0xb1
push ecx
call ebp
mov edx, dword [esi + 0x20]
push 0x631fbc
push ebx
push 0xc2
push edx
call ebp
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push 0xa
push 0xd
push eax
push ecx
mov byte [esp + 0x34], 2
call fcn.004ea3a0
push eax
lea edx, [esp + 0x24]
push str._s____s______s______c_c
push edx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [0x63230c]
mov edx, dword [esp + 0x50]
add esp, 0x1c
inc ecx
cmp edx, ebx
mov dword [0x63230c], ecx
je 0x45448e
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x45448e
jmp 0x454412
mov edx, dword [esp + 0x34]
mov al, byte [ebx + edx]
cmp al, 0xd
jne 0x45443f
push 0xd
lea ecx, [esp + 0x14]
call fcn.005942a0
push 0xa
lea ecx, [esp + 0x14]
call fcn.005942a0
push 0x6030e4
lea ecx, [esp + 0x14]
call fcn.0059429a
jmp 0x45447b
cmp al, 0x3e
jne 0x454471
push 0xd
lea ecx, [esp + 0x14]
call fcn.005942a0
push 0xa
lea ecx, [esp + 0x14]
call fcn.005942a0
push 0x6030e4
lea ecx, [esp + 0x14]
call fcn.0059429a
mov eax, dword [esp + 0x34]
mov cl, byte [ebx + eax]
push ecx
jmp 0x454472
push eax
lea ecx, [esp + 0x14]
call fcn.005942a0
mov edi, dword [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
inc ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebx, ecx
jl 0x45440e
push 0xd
lea ecx, [esp + 0x14]
call fcn.005942a0
push 0xa
lea ecx, [esp + 0x14]
call fcn.005942a0
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetWindowTextLengthA
mov edx, dword [esi + 0x20]
push 0xffffffffffffffff
push eax
push 0xb1
push edx
call ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x20]
push eax
push 0
push 0xc2
push ecx
call ebp
mov al, byte [esi + 0x7c]
test al, al
je 0x4544f6
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x20]
push edx
push eax
push 0xb1
push ecx
call ebp
mov edx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push edx
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc