Function at 0x1000e5aa
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x10058973
call fcn.10057e90
sub esp, 0x94
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov esi, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x20], ebx
call fcn.1000bb81
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000ed8a
mov dword [ebp - 4], ebx
add esi, 0xffffcbc8
mov edx, dword [ebp - 0x2c]
mov ecx, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], bl
jne 0x1000e613
cmp dword [eax + 0x10], esi
jge 0x1000e5f8
mov eax, dword [eax + 8]
jmp 0x1000e5fc
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x1000e5ee
cmp ecx, edx
je 0x1000e613
cmp esi, dword [ecx + 0x10]
jl 0x1000e613
mov dword [ebp - 0x38], ecx
lea esi, [ebp - 0x38]
jmp 0x1000e619
mov dword [ebp - 0x3c], edx
lea esi, [ebp - 0x3c]
mov esi, dword [esi]
mov dword [ebp - 0x14], 0x24f84b81
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x10], 0xe21a
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x1c], ebx
jmp 0x1000e64d
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x58], 1
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jl 0x1000e63f
mov eax, dword [ebp - 0x14]
inc dword [ebp - 0x10]
je 0x1000e6ab
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov eax, dword [ebp - 0x14]
cmp eax, ecx
setg dl
xor eax, eax
cmp edx, 0xfffffff9
mov edx, dword [ebp - 0x50]
setle al
sub edx, eax
mov eax, dword [ebp - 0x14]
neg edx
sbb edx, edx
add edx, 0xffff1509
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [ebp - 0x14]
setle cl
xor edx, edx
cmp ecx, eax
setle dl
inc edx
neg edx
sbb edx, edx
inc edx
add edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x18]
je 0x1000e6ab
xor eax, eax
inc eax
jmp 0x1000e6ad
mov eax, ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x18], 0xffffffe9
cmp dword [ebp - 0x18], 0x25
push 2
pop ebx
jge 0x1000e7b5
mov dword [ebp - 0x10], 0x857617c0
cmp dword [ebp - 0x10], 0
je 0x1000e716
mov dword [ebp - 0x10], 6
lea ecx, [ebp - 0x48]
push ebx
call fcn.100013ad
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], 0
jmp 0x1000e701
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x48]
mov dword [eax + ecx*4], 0xe1b8d813
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jl 0x1000e6f1
inc dword [ebp - 0x10]
lea ecx, [ebp - 0x48]
call fcn.1000140a
jmp 0x1000e7a2
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x10], 0x54fa
cmp dword [ebp - 0x10], 0x568e
jle 0x1000e784
push 0x1039
push 0
push 0xd90
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor edi, edi
xor esi, esi
mov eax, edi
lea ecx, [ebp - 0x70]
cdq
idiv esi
mov eax, edx
cdq
push edx
push eax
call fcn.10001331
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000e75f
mov eax, dword [eax]
push eax
call fcn.10040c20
pop ecx
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.10001542
inc esi
cmp esi, 0x5766
jl 0x1000e743
inc edi
cmp edi, 0x388f
jl 0x1000e741
cmp dword [ebp - 0x24], 0
jne 0x1000e7a2
cmp dword [ebp - 0x10], 0x540d
jge 0x1000e79e
push str.xirtcgp_ysakhnf_vkqz_dfimersia_jhr_eln_zocxdu_mepjml_qry_qfi_sxooyndy_tadvnitt_zush
call fcn.10040c20
pop ecx
and dword [ebp - 4], 0
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x25
jl 0x1000e6c4
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov eax, dword [0x1007586c]
test al, 1
jne 0x1000e7ea
and dword [0x10075880], 0
or eax, 1
mov dword [0x1007586c], eax
xor eax, eax
push 0x10059b1d
mov dword [0x10075884], 7
mov word [0x10075870], ax
call fcn.10040bf6
pop ecx
cmp esi, dword [ebp - 0x2c]
je 0x1000e80a
push dword [esi + 0x18]
mov edx, dword [esi + 0x14]
lea ecx, [ebp - 0xa0]
call fcn.10006ab7
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 3
inc ebx
jmp 0x1000e821
push 0x10075870
lea ecx, [ebp - 0x88]
call fcn.10004387
mov dword [ebp - 4], 4
push eax
mov ecx, edi
mov dword [ebp - 0x20], ebx
call fcn.10004387
or ebx, 4
test bl, 2
je 0x1000e846
push 0
push 1
lea ecx, [ebp - 0x88]
and ebx, 0xfffffffd
call fcn.10004836
test bl, 1
je 0x1000e85a
push 0
push 1
lea ecx, [ebp - 0xa0]
call fcn.10004836
lea ecx, [ebp - 0x2c]
call fcn.1000eb76
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret