Function at 0x1002f521
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100883bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push esi
push edi
mov dword [ebp - 0x2c], 0x1713b910
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0xb8], 0x6ebf4d39
mov dword [ebp - 0xdc], 5
mov dword [ebp - 0x2c], 0xfffffff6
jmp 0x1002f573
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xfffffff9
jl 0x1002f653
mov dword [ebp - 0x94], 0xbe7e5505
mov dword [ebp - 0x38], 0
jmp 0x1002f597
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x1002f5aa
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x48], 5
jmp 0x1002f590
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1002f5ca
push 0x865
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x48], 0
jbe 0x1002f5e0
mov dword [ebp - 0x80], 1
jmp 0x1002f5e4
and dword [ebp - 0x80], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
imul eax, dword [ebp - 0x80]
imul eax, eax, 0x7101
sub eax, 0x4b0bf246
cmp eax, dword [ebp - 0x94]
jl 0x1002f611
mov dword [ebp - 0x98], 1
jmp 0x1002f618
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x5c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp + eax - 0x48]
cmp dword [ebp - 0x94], ecx
jne 0x1002f63f
mov dword [ebp - 0x64], 1
jmp 0x1002f643
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
dec eax
dec eax
mov dword [ebp - 0xb8], eax
jmp 0x1002f56c
and dword [ebp - 0x110], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x10c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xd8], 0x90a6
mov dword [ebp - 0xd0], 0xffffffff
mov dword [ebp - 0xc4], 0xffffffff
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0xd4], 0xe2a8d3a1
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xd0]
push eax
push 0x7b9d
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xd8]
push eax
push 1
push 0x6213
call fcn.1002ec53
add esp, 0x1c
push 0
lea eax, [ebp - 0x9c]
push eax
push 0x5091
lea eax, [ebp - 0xd4]
push eax
call fcn.10032773
add esp, 0x10
push 0x1c
lea eax, [ebp - 0x110]
push eax
push dword [ebp + 8]
push 0xe81f
push 0xccd3
call fcn.10027323
pop ecx
pop ecx
call eax
test eax, eax
je 0x1002f9b6
mov dword [ebp - 0xc8], 0xee
push 4
lea ecx, [ebp - 0x44]
call fcn.10019b12
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 0xfebaeef2
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xe0]
push eax
push 0x564e
push 1
call fcn.1002ed18
add esp, 0x10
mov dword [ebp - 0x18], 3
jmp 0x1002f756
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1002f967
mov dword [ebp - 0xac], 1
push dword [ebp - 0x18]
lea ecx, [ebp - 0x44]
call fcn.10019b7f
cmp dword [eax], 0
je 0x1002f790
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x1002f78b
call fcn.1002ed8c
jmp 0x1002f94e
mov dword [ebp - 0x10], 0xfffffffb
mov dword [ebp - 0xc0], 1
cmp dword [ebp - 0x18], 0
je 0x1002f7ac
jmp 0x1002f967
mov dword [ebp - 0x10], 3
jmp 0x1002f7bc
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1002f94e
push dword [ebp - 0x18]
lea ecx, [ebp - 0x44]
call fcn.10019b7f
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.10019b7f
mov ecx, dword [ebp - 0x10]
cmp dword [eax], ecx
jle 0x1002f7ec
mov dword [ebp - 0x6c], 1
jmp 0x1002f7f0
and dword [ebp - 0x6c], 0
mov esi, dword [ebp - 0x10]
imul esi, dword [ebp - 0x6c]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x44]
call fcn.10019b7f
cmp esi, dword [eax]
jge 0x1002f812
mov dword [ebp - 0xcc], 1
jmp 0x1002f819
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xe4], eax
push 2
lea ecx, [ebp - 0x44]
call fcn.10019b7f
mov ecx, dword [ebp - 0x10]
cmp dword [eax], ecx
jne 0x1002f83f
mov dword [ebp - 0xa4], 1
jmp 0x1002f846
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xa4]
je 0x1002f85a
mov dword [ebp - 0x74], 1
jmp 0x1002f85e
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xac], eax
mov esi, dword [ebp - 0xac]
push 2
lea ecx, [ebp - 0x44]
call fcn.10019b7f
cmp esi, dword [eax]
jl 0x1002f887
mov dword [ebp - 0xb4], 1
jmp 0x1002f88e
and dword [ebp - 0xb4], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.10019b7f
mov ecx, dword [ebp - 0xb4]
add ecx, 4
cmp dword [eax], ecx
jge 0x1002f8bb
push 0
lea ecx, [ebp - 0x44]
call fcn.10019b7f
cmp dword [eax], 0
je 0x1002f8bb
and dword [ebp - 0x54], 0
jmp 0x1002f8c2
mov dword [ebp - 0x54], 1
push dword [ebp - 0x18]
lea ecx, [ebp - 0x44]
call fcn.10019b7f
mov eax, dword [eax]
cmp eax, dword [ebp - 0x54]
jl 0x1002f8e0
mov dword [ebp - 0xa8], 1
jmp 0x1002f8e7
and dword [ebp - 0xa8], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x44]
call fcn.10019b7f
mov ecx, dword [ebp - 0xa8]
cmp ecx, dword [eax]
jge 0x1002f908
mov dword [ebp - 0x88], 1
jmp 0x1002f90f
and dword [ebp - 0x88], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x44]
call fcn.10019b7f
mov ecx, dword [ebp - 0x88]
add ecx, dword [eax]
cmp ecx, 0xffff
jb 0x1002f936
mov dword [ebp - 0xa0], 1
jmp 0x1002f93d
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc0], eax
jmp 0x1002f7b5
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1002f962
push 1
call fcn.1002eda0
pop ecx
jmp 0x1002f74f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10019b7a
mov eax, dword [ebp - 0xfc]
and eax, dword [ebp - 0xc8]
jne 0x1002f98d
mov dword [ebp - 0x90], 1
jmp 0x1002f994
and dword [ebp - 0x90], 0
mov al, byte [ebp - 0x90]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0xfc]
and eax, 0x101
je 0x1002f9ae
mov byte [ebp - 0x11], 1
mov al, byte [ebp - 0x11]
jmp 0x1002fb97
mov dword [ebp - 0x1c], 0x3f46
mov dword [ebp - 0x8c], 0x3773672
mov dword [ebp - 0x4c], 0x8cafa32f
mov dword [ebp - 0x34], 0xa0b3
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x50], 0xea3d8810
mov dword [ebp - 0xf4], 9
mov dword [ebp - 0x30], 0
jmp 0x1002f9fd
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1002fa13
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0xf0], 0x4e665969
jmp 0x1002f9f6
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], eax
jle 0x1002fa27
mov dword [ebp - 0xb0], 1
jmp 0x1002fa2e
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x78], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x78]
mov dword [ebp + eax - 0xf0], ecx
cmp dword [ebp - 0x78], 0
je 0x1002fa9e
cmp dword [ebp - 0x28], 0
jne 0x1002fa69
cmp dword [ebp - 0x1c], 0
jne 0x1002fa69
and dword [ebp - 0x7c], 0
jmp 0x1002fa70
mov dword [ebp - 0x7c], 1
cmp dword [ebp - 0x7c], 0xffffffff
jne 0x1002fa82
mov dword [ebp - 0x84], 1
jmp 0x1002fa89
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0
jg 0x1002fa9e
mov dword [ebp - 0xbc], 1
jmp 0x1002faa5
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x4c], eax
mov eax, 0x9a31c0a9
add eax, 0x68993dd6
cmp eax, dword [ebp - 0x1c]
jne 0x1002facf
mov dword [ebp - 0x58], 1
jmp 0x1002fad3
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0xd8f9
jl 0x1002fae5
mov dword [ebp - 0x60], 1
jmp 0x1002fae9
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x60]
lea eax, [eax + ecx - 0x58a3e64]
imul eax, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0xf0], 4
mov dword [ebp - 0x50], 4
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x50], eax
je 0x1002fb25
mov dword [ebp - 0x68], 1
jmp 0x1002fb29
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x68]
jl 0x1002fb3a
mov dword [ebp - 0x70], 1
jmp 0x1002fb3e
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x70]
je 0x1002fb74
mov dword [ebp - 0x34], 2
jmp 0x1002fb56
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x1002fb72
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x1002fb70
push 0
call fcn.1002fe60
pop ecx
jmp 0x1002fb4f
jmp 0x1002fb95
mov byte [ebp - 0x1f], 0
push 0x41cf
push 1
push 0x4206
push 0xad6
lea eax, [ebp - 0x1f]
push eax
call fcn.1002edd0
add esp, 0x14
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret