Function at 0x4097ab
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
push 0x14
call fcn.004192a2
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
push 8
call fcn.004192a2
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x423200
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], esp
xor eax, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40981c
push 0x2b
push 0x4010083
push 6
call fcn.004192a8
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push 5
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindow]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x409850
push 0x2b
push 0x4010083
push 6
call fcn.004192a8
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
jne 0x409864
mov dword [ebp + 0xc], 1
cmp dword [ebp - 4], 0
je 0x409b1c
cmp dword [ebp + 0xc], 0
je 0x4098b0
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4098a4
push 0x10c
push 0x4010083
push 6
call fcn.004192a8
add esp, 0xc
test eax, eax
jne 0x4098b0
xor eax, eax
jmp 0x4098b5
mov eax, 1
test eax, eax
je 0x409ae3
mov ebx, dword [ebp - 8]
add ebx, 0x10
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0041b1a0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4098fd
push ebx
call fcn.0041929c
add esp, 4
pop eax
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0041b1a0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x409943
push ebx
call fcn.0041929c
add esp, 4
pop eax
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
add ebx, 0x10
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esp
push 0xff
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x409988
push 0x1a6
push 0x4010083
push 6
call fcn.004192a8
add esp, 0xc
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esp
push 0xff
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.USER32.dll_GetClassNameA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4099c7
push 0x1d9
push 0x4010083
push 6
call fcn.004192a8
add esp, 0xc
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x409a08
push 0x22e
push 0x4010083
push 6
call fcn.004192a8
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
lea eax, [ebp - 0xc]
push eax
push 4
mov eax, 2
call fcn.004198c0
add esp, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ebx
call fcn.004052f0
mov dword [ebp - 0x18], ecx
mov edi, dword [ebp - 0x14]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x409a5e
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x18]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x14]
call fcn.004192ba
add esp, 8
mov dword [ebp - 0xc], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x18]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x10]
push edi
push eax
push 0x14
call fcn.004192a2
add esp, 4
pop esi
mov edi, eax
push eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x409abd
push eax
mov ebx, eax
call fcn.0040162f
inc eax
push eax
call fcn.004192a2
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x409adc
push eax
mov ebx, eax
call fcn.0040162f
inc eax
push eax
call fcn.004192a2
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
mov dword [ebp - 0x10], esp
push 2
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindow]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x409b14
push 0x2d2
push 0x4010083
push 6
call fcn.004192a8
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x409864
mov eax, dword [ebp - 0xc]
push eax
mov ebx, eax
call fcn.004052f0
pop eax
sub ebx, eax
push ecx
push ebx
push eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.004192a2
add esp, 4
pop esi
mov edi, eax
pop ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
test ecx, ecx
je 0x409bb6
push eax
lodsd eax, dword [esi]
push esi
push edi
push ecx
push eax
push 0x14
call fcn.004192a2
add esp, 4
pop esi
mov edi, eax
push eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x409b87
push eax
mov ebx, eax
call fcn.0040162f
inc eax
push eax
call fcn.004192a2
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x409ba6
push eax
mov ebx, eax
call fcn.0040162f
inc eax
push eax
call fcn.004192a2
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
pop ecx
pop edi
pop esi
stosd dword es:[edi], eax
dec ecx
jne 0x409b4e
pop eax
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x409bd7
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x409bd3
imul eax, dword [ebx]
jmp 0x409bc8
mov ecx, eax
test ecx, ecx
je 0x409c1a
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x409bf5
push ebx
call fcn.0041929c
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x409c09
push ebx
call fcn.0041929c
add esp, 4
pop ebx
call fcn.0041929c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x409bdd
call fcn.0041929c
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
call fcn.004052d7
jmp 0x409c35
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x409c4d
push ebx
call fcn.0041929c
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x409c61
push ebx
call fcn.0041929c
add esp, 4
pop ebx
call fcn.0041929c
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x409c88
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x409c84
imul eax, dword [ebx]
jmp 0x409c79
mov ecx, eax
test ecx, ecx
je 0x409ccb
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x409ca6
push ebx
call fcn.0041929c
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x409cba
push ebx
call fcn.0041929c
add esp, 4
pop ebx
call fcn.0041929c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x409c8e
call fcn.0041929c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc