Function at 0x275a2e7b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
mov esi, ecx
je 0x275a2e91
mov dword [eax], ebx
mov ecx, esi
call fcn.27583d30
test eax, eax
jne 0x275a3102
mov edi, dword [ebp + 0xc]
mov ecx, 0xffffff63
mov dword [ebp - 4], ebx
mov edx, 0xffffff4f
mov eax, dword [edi + 8]
cmp eax, ecx
jbe 0x275a2f95
cmp eax, 0xffffff93
jbe 0x275a2fb6
cmp eax, 0xfffffff4
ja 0x275a312e
jne 0x275a2fe1
mov ecx, dword [edi + 0xc]
cmp ecx, 1
je 0x275a30ce
cmp ecx, 0x30002
je 0x275a30e4
cmp ecx, 0x10001
je 0x275a2eff
cmp ecx, 0x30001
jne 0x275a2fd7
mov eax, dword [edi + 0x24]
xor ebx, ebx
test ecx, 0x20000
jne 0x275a3109
inc eax
lea ecx, [esi + 0x1d8]
push eax
call fcn.27584cb2
test eax, eax
je 0x275a2f86
lea ecx, [eax + 0x90]
test ebx, ebx
mov dword [ebp + 0xc], ecx
jne 0x275a3111
test ecx, ecx
je 0x275a2f86
test byte [ecx + 0x7c], 2
jne 0x275ca35c
mov ecx, dword [esi + 0x1c4]
lea eax, [esi + 0x1c4]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0xf8]
push dword [ebp - 8]
call fcn.275a2567
and dword [ebp - 0xc], 0
mov dword [edi + 0x30], eax
mov eax, dword [ebp + 0xc]
pop ecx
add eax, 0x58
lea edx, [ebp - 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
jl 0x275a2f86
cmp word [ebp - 0xc], 0
jne 0x275ca36e
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x275a2fd7
mov dword [eax], 0x30
jmp 0x275a2fd7
je 0x275c9fd9
cmp eax, edx
je 0x275a2fc3
cmp eax, 0xffffff50
je 0x275ca206
cmp eax, 0xffffff51
jne 0x275a2fd7
jmp 0x275ca1a5
je 0x275ca033
cmp eax, 0xffffff6a
jne 0x275a2fd7
add edi, 0xc
xor ecx, ecx
cmp eax, edx
sete cl
push ecx
mov ecx, dword [edi + 0x20]
push edi
call fcn.275adb94
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp eax, 0xffffff94
je 0x275ca2d8
cmp eax, 0xffffff96
je 0x275ca206
cmp eax, 0xffffff97
je 0x275ca1a5
cmp eax, 0xffffff99
je 0x275a3086
cmp eax, 0xffffff9b
je 0x275a302d
cmp eax, 0xffffff9c
jne 0x275a2fd7
cmp dword [edi + 0x28], 0
je 0x275a2fd7
cmp dword [edi + 0x10], 0
jne 0x275a2fd7
test byte [edi + 0x18], 2
je 0x275a2fd7
test byte [edi + 0x14], 2
jne 0x275ca16c
jmp 0x275a2fd7
mov ecx, dword [edi + 0x28]
cmp ecx, ebx
je 0x275a304e
cmp dword [edi + 0x10], ebx
jne 0x275a304e
test byte [edi + 0x18], 2
jne 0x275a304e
test byte [edi + 0x14], 2
je 0x275a304e
test byte [esi + 0x360], 0x10
je 0x275a3070
mov eax, 0x2000
test dword [esi + 0x360], eax
jne 0x275a2fd7
test dword [esi + 0x374], eax
jne 0x275ca17e
jmp 0x275a2fd7
push 1
push dword [ebp + 0x10]
mov ax, word [edi + 0xc]
mov ecx, esi
push eax
call fcn.275b3d28
jmp 0x275a2fd7
mov ecx, esi
call fcn.27583d30
test eax, eax
jne 0x275a2fd7
mov edi, dword [edi + 0x28]
test edi, edi
je 0x275a2fd7
mov eax, dword [edi + 0x60]
test al, 1
je 0x275a2fd7
and al, 0xfe
mov dword [edi + 0x60], eax
cmp dword [esi + 0x378], 0
je 0x275a2fd7
push edi
lea ecx, [esi + 0x1d8]
call fcn.275a8c58
jmp 0x275a2fd7
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x275a2fd7
mov dword [eax], 0x20
jmp 0x275a2fd7
push ebx
push ebx
push 0x31
push dword [esi + 0xa0]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
je 0x275a3102
push eax
push dword [edi + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
xor eax, eax
jmp 0x275a2fda
mov ebx, dword [edi + 0x38]
jmp 0x275a2f10
test bx, bx
jle 0x275a2f32
movsx edx, bx
cmp edx, dword [eax + 0x14c]
jle 0x275ca344
jmp 0x275a2f32
cmp eax, 0xfffffffb
je 0x275a313c
cmp eax, 0xfffffffe
jne 0x275a2fd7
push eax
mov ecx, esi
call fcn.275b3927
jmp 0x275a2fd7
cmp dword [edi + 0x10], ebx
je 0x275a2fd7
mov eax, dword [edi + 0x18]
lea ecx, [esi + 0x1d8]
inc eax
push eax
call fcn.27584cb2
test eax, eax
je 0x275a2fd7
mov ecx, dword [eax + 0x58]
add eax, 0x58
lea edx, [ebp + 0x10]
xor esi, esi
push edx
push eax
mov dword [ebp + 0x10], esi
call dword [ecx + 0xb0]
push esi
push esi
push dword [edi + 0x14]
push dword [edi + 0x10]
push 0xffffffffffffffff
push dword [ebp + 0x10]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp + 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x275a2fd7
test byte [esi + 0xd0], 7
je 0x275a2fd7
cmp dword [esi + 0x27c], 0
jne 0x275a2fd7
mov eax, dword [edi + 0xc]
lea ecx, [esi + 0x1d8]
inc eax
push eax
call fcn.27584cb2
test eax, eax
je 0x275a2fd7
mov dword [esi + 0x27c], eax
mov ecx, dword [eax + 0x1c]
add eax, 0x1c
push eax
call dword [ecx + 4]
cmp word [esi + 0x370], 1
jne 0x275ca0d9
lea eax, [ebp + 0xc]
lea ecx, [esi + 0x1cc]
push eax
mov eax, esi
neg eax
sbb eax, eax
lea edi, [esi + 0xd4]
and eax, ecx
mov ecx, edi
push eax
call fcn.2760523e
test eax, eax
jl 0x275ca0cd
and dword [ebp + 0x10], 0
lea eax, [ebp + 0x10]
push eax
mov ecx, edi
call fcn.276047d6
push dword [ebp + 0xc]
mov ecx, edi
call fcn.276052ad
cmp dword [ebp + 0x10], 2
jne 0x275ca0cd
mov ecx, dword [esi + 0x27c]
call fcn.275ae42f
mov ecx, esi
call fcn.275a12e0
jmp 0x275a2fd7
mov eax, dword [esi + 0x374]
and eax, 3
je 0x275ca0e9
cmp eax, 1
jne 0x275ca0cd
lea ebx, [esi + 0x280]
push ebx
push dword [edi + 0xc]
push 0x1010
push dword [esi + 0xa0]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1029
push dword [esi + 0xa0]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0x20]
lea ecx, [esi + 0x360]
add eax, dword [ebp - 0x10]
sub dword [ebx], eax
mov eax, dword [edi + 0x24]
add eax, dword [ebp - 0xc]
mov edi, dword [ecx]
and edi, 0xfffffff8
sub dword [esi + 0x284], eax
mov eax, dword [esi + 0x374]
mov edx, eax
and al, 0xe3
shr edx, 2
and edx, 7
mov dword [esi + 0x374], eax
or edx, edi
mov dword [ecx], edx
mov ecx, esi
call fcn.275a251e
push dword [esi + 0xa0]
call dword [sym.imp.USER32.dll_SetCapture]
jmp 0x275a2fd7
test byte [esi + 0x360], 0x10
je 0x275a3070
jmp 0x275a2fd7
test ecx, ecx
je 0x275a2fd7
cmp dword [edi + 0x10], 0
jne 0x275a2fd7
mov ecx, dword [edi + 0x14]
xor ecx, dword [edi + 0x18]
test eax, ecx
je 0x275a2fd7
push 0
jmp 0x275a3072
mov eax, dword [esi + 0x374]
and eax, 0x20
test al, al
jne 0x275ca1fd
lea eax, [ebp - 4]
push eax
push 0x27632394
push esi
call fcn.275a8655
mov ecx, dword [esi + 0x360]
add esp, 0xc
add esi, 0x360
xor eax, eax
cmp word [ebp - 4], bx
sete al
and eax, 1
and ecx, 0xfffffff7
shl eax, 3
or eax, ecx
mov dword [esi], eax
cmp dword [ebp + 0x10], ebx
movsx eax, word [ebp - 4]
je 0x275a2fd7
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x275a2fd7
mov dword [ebp - 4], 1
jmp 0x275ca1e6
and dword [esi + 0x360], 0xfffffff7
cmp dword [edi + 0x20], ebx
je 0x275a2fd7
mov ebx, dword [edi + 0x2c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1018
push dword [esi + 0xa0]
call edi
push 0
push 0
push 0xe
push eax
mov dword [ebp + 0xc], eax
call edi
lea edi, [eax + 1]
push edi
call fcn.27584d31
test eax, eax
pop ecx
mov dword [ebp - 8], eax
je 0x275a2fd7
push edi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
push dword [ebp - 8]
call fcn.27596b75
pop ecx
mov dword [ebp + 0xc], eax
test eax, eax
pop ecx
je 0x275ca2ca
mov eax, dword [ebx + 0x1c]
lea edi, [ebx + 0x1c]
push edi
call dword [eax + 4]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x276323a0
push esi
call fcn.275a8655
mov ecx, dword [ebp + 0x10]
xor eax, eax
add esp, 0x10
cmp word [ebp - 4], ax
sete al
test ecx, ecx
je 0x275ca2a1
mov dword [ecx], eax
cmp word [ebp - 4], 0
jne 0x275ca2bb
test byte [ebx + 0x60], 1
je 0x275ca2bb
push dword [ebp + 0xc]
mov ecx, dword [ebx + 0x58]
lea eax, [ebx + 0x58]
push eax
call dword [ecx + 0x28]
push dword [ebp + 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi]
push edi
call dword [eax + 8]
push dword [ebp - 8]
call fcn.27582f08
pop ecx
jmp 0x275a2fd7
mov eax, dword [edi + 0x10]
lea ecx, [esi + 0x228]
inc eax
push eax
call fcn.27584cb2
mov edi, eax
cmp edi, ebx
je 0x275a2fd7
mov ecx, dword [edi + 0x1c]
lea eax, [edi + 0x1c]
lea edx, [ebp + 0xc]
push edx
push 0x27581e38
push eax
call dword [ecx]
test eax, eax
jl 0x275ca322
push dword [ebp + 0xc]
push 0x276323ac
push esi
call fcn.275a8655
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test byte [edi + 0x64], 4
jne 0x275a2fd7
cmp dword [ebp + 0x10], 0
je 0x275a2fd7
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
jmp 0x275a2fd7
lea ecx, [ebp + 0xc]
push ecx
push ebx
lea ecx, [eax + 0x110]
call fcn.275b4d30
mov ecx, dword [ebp + 0xc]
jmp 0x275a2f32
lea eax, [ecx + 0x58]
lea edx, [ebp - 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x275a2f57
push dword [edi + 0x10]
mov ecx, esi
call fcn.275e7b79
jmp 0x275a2f86