Function at 0x465750
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x529f83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x7f02
push ebp
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x54]
push 0x2f42
push edi
mov dword [esp + 0x54], ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
mov ebx, eax
push ebp
push 0x1004
push ebx
call esi
cmp eax, ebp
mov dword [esp + 0x10], eax
jle 0x465832
push 0xf000
push ebp
push 0x102c
push ebx
call esi
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push 0
shr edi, 0xc
push 0x1005
push ebx
dec edi
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], 0
call esi
test eax, eax
je 0x465825
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 4]
mov esi, dword [eax + 0x38]
cmp byte [esi], 0
je 0x46581f
push esi
mov ecx, 0x5688a8
call fcn.0040150f
test eax, eax
je 0x46580f
mov dword [eax + 0x14], edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x4657fd
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jl 0x4657b3
mov edi, dword [esp + 0x54]
mov edx, dword [0x5688b0]
xor esi, esi
xor ecx, ecx
cmp edx, esi
jle 0x46586c
cmp ecx, edx
jge 0x465852
cmp ecx, esi
jl 0x465852
mov eax, dword [0x5688ac]
mov eax, dword [eax + ecx*4]
jmp 0x465854
xor eax, eax
cmp dword [eax + 0x18], esi
je 0x465867
cmp dword [eax + 4], esi
jne 0x465867
mov dword [eax + 0x14], esi
mov edx, dword [0x5688b0]
inc ecx
cmp ecx, edx
jl 0x465844
push 0x2f06
push edi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
jne 0x465a2b
push 0x2f23
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
inc esi
push esi
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebp, eax
mov dword [esp + 0x10], ebp
push esi
push ebp
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push ebp
call dword [sym.imp.USER32.dll_CharLowerA]
push 0x557d88
push ebp
call dword [sym.imp.MSVCRT.dll_strtok]
mov esi, eax
add esp, 8
test esi, esi
je 0x465a1e
push esi
mov ecx, 0x5688a8
call fcn.0040150f
mov ebx, eax
test ebx, ebx
jne 0x4659fd
push 0x20
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x4c], 1
je 0x465909
push esi
mov ecx, eax
call fcn.00402b5d
mov ebx, eax
jmp 0x46590b
xor ebx, ebx
test ebx, ebx
mov byte [esp + 0x4c], 0
mov dword [ebx + 0x18], 1
je 0x4659ae
mov eax, dword [0x5688b4]
mov edx, dword [0x5688b0]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x465995
mov edx, dword [0x5688bc]
add eax, edx
lea eax, [eax*4 + 4]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [0x5688b4]
mov esi, dword [0x5688ac]
mov ebp, eax
lea ecx, [ecx*4 + 4]
mov edi, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x5688ac]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [0x5688bc]
mov eax, dword [0x5688b4]
add esp, 8
add eax, ecx
mov dword [0x5688ac], ebp
mov ebp, dword [esp + 0x10]
mov dword [0x5688b4], eax
mov edx, dword [0x5688ac]
mov eax, dword [0x5688b0]
mov dword [edx + eax*4], ebx
mov eax, dword [0x5688b0]
inc eax
mov dword [0x5688b0], eax
mov ecx, dword [0x5688b0]
lea esi, [ecx - 2]
test esi, esi
jl 0x4659fd
cmp esi, dword [0x5688b0]
jge 0x4659d2
test esi, esi
jl 0x4659d2
mov edx, dword [0x5688ac]
mov eax, dword [edx + esi*4]
jmp 0x4659d4
xor eax, eax
mov eax, dword [eax]
mov ecx, dword [ebx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jge 0x4659fd
mov eax, dword [0x5688ac]
dec esi
mov edx, dword [eax + esi*4 + 4]
mov dword [eax + esi*4 + 8], edx
mov eax, dword [0x5688ac]
mov dword [eax + esi*4 + 4], ebx
jns 0x4659bb
push 0x557d84
push 0
mov dword [ebx + 0x14], 1
call dword [sym.imp.MSVCRT.dll_strtok]
mov esi, eax
add esp, 8
test esi, esi
jne 0x4658d1
push ebp
call sub.MFC42.DLL_operatordelete
mov edi, dword [esp + 0x58]
add esp, 4
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, 0x5688a8
mov dword [0x5688c8], 1
call fcn.00401f5a
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
jne 0x465a62
push 0x7f00
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [esp + 0x34]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x40
ret