Function at 0x1001ec22
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100658dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push esi
push edi
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1001f0b6
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
test eax, eax
je 0x1001ecc6
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
push 2
mov ecx, dword [ebp - 0x90]
call fcn.10028a8b
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
jmp 0x1001f0b4
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x7c], 0x224b
cmp dword [ebp - 0x7c], 0x100e
jge 0x1001f03b
lea ecx, [ebp - 0xd0]
call fcn.10027e57
and dword [ebp - 4], 0
lea edx, [ebp - 0xd0]
mov ecx, 0x10657790
call fcn.1002cc45
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xd8]
push eax
mov ecx, 0x10657790
call fcn.10028232
mov ecx, eax
call fcn.10028232
lea ecx, [ebp - 0x50]
call fcn.10028b04
mov byte [ebp - 4], 1
xorpd xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
xorpd xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
jmp 0x1001ed95
mov eax, dword [ebp - 0x34]
add eax, 1
mov ecx, dword [ebp - 0x30]
adc ecx, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0xd0]
call fcn.10027f1b
xor ecx, ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x98]
jg 0x1001ee2b
jl 0x1001edc6
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x9c]
jae 0x1001ee2b
push 0
push 0xa
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.10051a00
mov esi, eax
mov edi, edx
push dword [ebp - 0x34]
lea ecx, [ebp - 0xd0]
call fcn.10027f07
movsx eax, byte [eax]
sub eax, 0x30
cdq
add esi, eax
adc edi, edx
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
push edi
push esi
call fcn.10064dc0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x14]
jne 0x1001ee26
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x50]
call fcn.10028cac
jmp 0x1001ed83
mov dword [ebp - 0x3c], 1
and dword [ebp - 0x38], 0
or dword [ebp - 0x2c], 0xffffffff
xorpd xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
lea ecx, [ebp - 0xd0]
call fcn.10027f1b
dec eax
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
jmp 0x1001ee6b
mov eax, dword [ebp - 0x20]
sub eax, 1
mov ecx, dword [ebp - 0x1c]
sbb ecx, 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jl 0x1001ef53
jg 0x1001ee81
cmp dword [ebp - 0x20], 0
jb 0x1001ef53
push dword [ebp - 0x20]
lea ecx, [ebp - 0xd0]
call fcn.10027f07
movsx eax, byte [eax]
sub eax, 0x30
cdq
push edx
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.10051a00
add eax, dword [ebp - 0x18]
adc edx, dword [ebp - 0x14]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push edx
push eax
call fcn.10064dc0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push 0
push 0xa
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.10051a00
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push edx
push eax
call fcn.10064dc0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
push dword [ebp - 0x20]
lea ecx, [ebp - 0xd0]
call fcn.10027f07
movsx eax, byte [eax]
cmp eax, 0x30
je 0x1001ef4e
mov eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x14]
jne 0x1001ef4e
mov eax, dword [ebp - 0x20]
sub eax, 1
mov ecx, dword [ebp - 0x1c]
sbb ecx, 0
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], ecx
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x50]
call fcn.10028a65
push eax
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x50]
call fcn.10028cca
mov ecx, eax
call fcn.10028bf4
movzx eax, al
test eax, eax
je 0x1001ef4e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
jmp 0x1001ee59
cmp dword [ebp - 0x2c], 0
jge 0x1001ef69
push 0x10007c3c
call fcn.1004e532
pop ecx
jmp 0x1001f020
push dword [0x10007e1c]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0xd0]
call fcn.10027f98
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 2
push dword [ebp - 0x2c]
push 0
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0xd0]
call fcn.10027f98
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 3
push fcn.1002c976
push fcn.1002c976
mov edx, 0x10007c8c
mov ecx, 0x106576d8
call fcn.1002c79f
mov edx, dword [ebp - 0xb4]
mov ecx, eax
call fcn.1002ca49
mov ecx, eax
call fcn.10028523
mov edx, dword [ebp - 0x8c]
mov ecx, eax
call fcn.1002ca49
mov ecx, eax
call fcn.10028523
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x108]
call fcn.10027eba
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.10027eba
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.10028b6a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.10027eba
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x28]
mov dword [eax], 0
jmp 0x1001f05a
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 1
jg 0x1001f0b4
mov eax, dword [ebp - 0x24]
mov dword [eax], 1
jmp 0x1001f078
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
jl 0x1001f0b2
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0
je 0x1001f0a4
mov eax, 0x6407
test eax, eax
je 0x1001f0a4
mov dword [ebp - 0x40], 1
jmp 0x1001f0a8
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
jmp 0x1001f06d
jmp 0x1001f04f
jmp 0x1001f0f3
lea eax, [ebp + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x1001f0da
push 0x46e
push 0
push 0xa9c
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1001f0f3
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1001f0f3
push 0xa37
push 0
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret