Function at 0x8f76735
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x8f8c1c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x108], edi
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x110], edi
mov eax, dword [0x8f8c004]
cmp eax, 0x8f8c004
je 0x8f767a6
test byte [eax + 0x1c], 8
je 0x8f767a6
cmp byte [eax + 0x19], 5
jb 0x8f767a6
push 0x8f715cc
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.08f72d19
mov eax, dword [esi + 0x260]
mov dword [ebp - 0x114], eax
mov eax, dword [esi + 0x270]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x118], eax
cmp ebx, edi
je 0x8f767c7
mov dword [ebx], edi
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, edi
je 0x8f76866
push 0x17d3
push dword [ebp - 0x10c]
call ebx
push eax
call fcn.08f7d337
mov dword [ebp - 0x11c], eax
cmp eax, edi
je 0x8f76817
push eax
push dword [ebp - 0x114]
call fcn.08f7d223
mov dword [ebp - 0x108], eax
cmp eax, edi
je 0x8f76817
mov eax, dword [eax + 4]
mov dword [ebp - 0x120], eax
push 0x17d4
push dword [ebp - 0x10c]
call ebx
push eax
call esi
cmp eax, edi
mov dword [ebp - 0x110], eax
jg 0x8f76841
push dword [ebp - 0x108]
call fcn.08f7d2a9
cmp eax, 1
je 0x8f7684a
cmp dword [ebp - 0x110], 0x40
jl 0x8f76854
mov eax, 0x177c
jmp 0x8f76a68
cmp dword [ebp - 0x11c], edi
jne 0x8f76866
mov eax, 0x183c
jmp 0x8f76a68
push 0x17d1
push dword [ebp - 0x10c]
call ebx
push eax
call esi
push 0x17d5
push dword [ebp - 0x10c]
mov edi, eax
mov dword [ebp - 0x114], edi
call ebx
push eax
call esi
mov dword [ebp - 0x108], eax
test edi, edi
jg 0x8f768a2
mov eax, 0x177a
jmp 0x8f76a68
dec eax
cmp eax, 0x3e
ja 0x8f76a63
cmp dword [ebp - 0x124], 0
jne 0x8f768bc
xor eax, eax
jmp 0x8f76a68
push 0x28
call fcn.08f83725
mov esi, eax
test esi, esi
je 0x8f768d8
push 0xa
pop ecx
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x114]
lea eax, [edi + edi + 2]
push eax
call fcn.08f83725
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x108]
lea eax, [eax + ecx + 0x14]
mov dword [ebp - 0x108], eax
add eax, eax
push eax
call fcn.08f83725
mov dword [ebp - 0x110], eax
test esi, esi
je 0x8f769fd
mov ecx, dword [ebp - 0x114]
test ecx, ecx
je 0x8f769fd
test eax, eax
je 0x8f769fd
mov edx, dword [ebp - 0x124]
mov dword [edx], esi
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x11c]
inc edi
push edi
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x118]
push ecx
push 0x17d1
push dword [ebp - 0x10c]
mov dword [esi + 0x14], eax
mov eax, dword [0x8f8c010]
mov dword [esi + 4], ecx
mov dword [esi + 0x18], eax
call ebx
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
push eax
call edi
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0x17d5
push dword [ebp - 0x10c]
call ebx
push eax
call edi
xor eax, eax
cmp dword [ebp - 0x118], eax
sete al
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.08f843ba
test eax, eax
jne 0x8f769a7
mov edi, 0x1856
jmp 0x8f76a00
cmp dword [ebp - 0x118], 0
jne 0x8f76a20
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x108]
push dword [ebp - 0x110]
call fcn.08f765c2
test eax, eax
jge 0x8f768b5
mov ecx, dword [0x8f8c004]
cmp ecx, 0x8f8c004
je 0x8f769fd
test byte [ecx + 0x1c], 8
je 0x8f769fd
cmp byte [ecx + 0x19], 2
jb 0x8f769fd
push eax
push 0x8f715cc
push 0x10
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.08f72d3f
or edi, 0xffffffff
push esi
call fcn.08f837bd
push dword [ebp - 0x114]
call fcn.08f837bd
push dword [ebp - 0x110]
call fcn.08f837bd
mov eax, edi
jmp 0x8f76a68
push 0x40
lea eax, [ebp - 0x104]
push eax
push 0x17d4
push dword [ebp - 0x10c]
call ebx
push eax
call edi
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x120]
push dword [ebp - 0x108]
push dword [ebp - 0x110]
call fcn.08f7d653
jmp 0x8f768b5
mov eax, 0x177b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.08f82466
leave
ret 0xc