Function at 0x10016cb8
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1005b365
call fcn.1005a5c0
sub esp, 0xb8
push ebx
push esi
mov dword [ebp - 0x30], 0x552b
xor ebx, ebx
cmp dword [ebp - 0x30], 0x55b3
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x40], edx
jle 0x10016ea4
xor eax, eax
inc ebx
mov dword [ebp - 0x20], eax
xor edi, edi
mov dword [ebp - 0x2c], edi
xor ecx, ecx
mov dword [ebp - 0x28], 0x55d9
mov dword [ebp - 0x38], ecx
xor edi, edi
sar eax, cl
mov dword [ebp - 0x34], eax
mov ecx, edi
mov dword [ebp - 0x1c], 0x1d78
shl eax, cl
cmp dword [ebp - 0x1c], 0x68e
cdq
mov ecx, edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], ecx
jge 0x10016e50
lea eax, [ebp - 0xc0]
push eax
push 0x10065844
call fcn.10043a7b
lea eax, [ebp - 0xc0]
push eax
call fcn.100439f0
add esp, 0xc
mov dword [ebp - 0x1c], eax
push 0x1c4
push 0
push 0x10078630
call fcn.1003ab8c
add esp, 0xc
push 0x1c4
push 0
push 0x10078460
call fcn.1003ab8c
xor esi, esi
mov dword [0x10078630], ebx
add esp, 0xc
mov dword [0x10078460], ebx
mov eax, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], esi
jle 0x10016e12
mov ebx, dword [ebp - 0x1c]
mov al, byte [ebp + esi - 0xc0]
cmp al, 0x4c
jne 0x10016daf
push 2
lea edx, [ebp - 0x18]
mov ecx, 0x10078460
call fcn.10016c6d
jmp 0x10016dd1
cmp al, 0x52
jne 0x10016dd4
push 2
lea edx, [ebp - 0x18]
mov ecx, 0x10078460
call fcn.10016c6d
pop ecx
lea eax, [ebp - 0x24]
push eax
push ecx
lea edx, [ebp - 0x18]
call fcn.10016bec
pop ecx
pop ecx
jmp 0x10016e07
cmp al, 0x2a
jne 0x10016e07
push 5
lea edx, [ebp - 0x18]
mov ecx, 0x10078460
call fcn.10016c6d
pop ecx
lea eax, [ebp - 0x24]
push eax
push ecx
lea edx, [ebp - 0x18]
call fcn.10016bec
push 3
lea edx, [ebp - 0x24]
mov ecx, 0x10078630
call fcn.10016c6d
add esp, 0xc
inc esi
cmp esi, ebx
jl 0x10016d93
mov eax, dword [ebp - 0x18]
xor ebx, ebx
inc ebx
lea esi, [eax - 1]
mov dword [ebp - 0x1c], esi
test esi, esi
js 0x10016e42
mov ebx, esi
push dword [esi*4 + 0x10078460]
cmp esi, ebx
jne 0x10016e30
push 0x1006559c
jmp 0x10016e35
push str._07d
call fcn.10043d63
dec esi
pop ecx
pop ecx
jns 0x10016e1e
xor ebx, ebx
inc ebx
push 0xa
call fcn.10045920
mov eax, dword [ebp - 0x3c]
pop ecx
mov ecx, dword [ebp - 0x44]
push ecx
push eax
mov ecx, 0x10077318
call fcn.1000f05b
mov eax, dword [ebp - 0x34]
inc edi
cmp edi, 0xe2d
jl 0x10016d05
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x2c]
add ecx, edi
dec dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], ecx
jne 0x10016cfe
inc edi
mov dword [ebp - 0x2c], edi
cmp edi, 0x42a9
jl 0x10016cf2
inc eax
mov dword [ebp - 0x20], eax
cmp eax, 0x3323
jl 0x10016ced
jmp 0x10016ea5
inc ebx
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x53c1
jge 0x10016ec1
mov edx, str.odzoujqc_pvuotlo_iht_ixiqj_nhcuhx_mrul_vhnosgj_uwmyap_yjfi
mov ecx, 0x10077318
call fcn.10013928
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 8], 0
je 0x10016f24
mov dword [ebp - 0x34], 0xf0ea
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x11], 0
je 0x10016ef0
push 0x14c8
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x108d
push ecx
mov dl, bl
call fcn.10015ebd
pop ecx
pop ecx
jmp 0x10016f47
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
cmp dword [edx], 3
jge 0x10016f47
mov esi, dword [ebp - 0x40]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 4
inc dword [edx]
cmp dword [edx], 3
jl 0x10016f35
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret