Function at 0x100c8cc7
Capabilities:
Get graphical window text

Disassembly:
push 0x120
mov eax, 0x10179950
call fcn.101462f6
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 0x150], edi
jle 0x100c8d4e
mov esi, edi
lea edi, [ebx + 0x1b0]
mov dword [ebp - 0x118], esi
mov eax, dword [ebx + 0x1b8]
mov ecx, edi
dec eax
push eax
mov dword [ebp - 0x114], eax
call fcn.1002b2f3
mov eax, dword [eax]
mov dword [ebp - 0x11c], eax
test eax, eax
je 0x100c8d2e
mov eax, dword [eax]
push 1
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1018098c]
mov ecx, dword [ebp - 0x11c]
call esi
mov esi, dword [ebp - 0x118]
push 1
push dword [ebp - 0x114]
mov ecx, edi
call fcn.1002d6bb
inc esi
mov dword [ebp - 0x118], esi
cmp esi, dword [ebx + 0x150]
jl 0x100c8cf0
xor edi, edi
mov ecx, ebx
mov dword [ebx + 0x150], edi
call fcn.100c5b51
test eax, eax
je 0x100c8fc5
mov ecx, eax
call fcn.1001b585
push eax
push 0x101938c0
call fcn.10012cbd
mov dword [ebp - 0x124], eax
pop ecx
pop ecx
test eax, eax
je 0x100c8fc5
push 5
push dword [eax + 0x120]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], esi
mov eax, edi
jmp 0x100c8f43
cmp eax, 9
jge 0x100c8f4b
push esi
call fcn.1001b133
push eax
push 0x101947e4
call fcn.10012cbd
mov dword [ebp - 0x120], eax
pop ecx
pop ecx
test eax, eax
jne 0x100c8de4
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
mov dword [ebp - 0x114], esi
jmp 0x100c8f36
mov eax, dword [eax]
mov esi, dword [eax + 0x1e8]
mov ecx, esi
call dword [0x1018098c]
mov ecx, dword [ebp - 0x120]
call esi
test eax, eax
jne 0x100c8e0a
push 2
push dword [ebp - 0x114]
jmp 0x100c8dd1
mov esi, dword [ebp - 0x118]
test esi, esi
jne 0x100c8e5b
push pe_nt_image_headers32
call fcn.1000bdf5
pop ecx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 4], edi
test eax, eax
je 0x100c8e37
push 1
mov ecx, eax
call fcn.100c4ecb
jmp 0x100c8e39
mov eax, edi
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push 0xffffffffffffffff
push eax
mov dword [eax + 0xec], 1
call fcn.100c7de1
mov dword [ebx + 0x150], 1
push 0x100
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x114]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0x11c]
call fcn.1000bf85
lea eax, [ebp - 0x110]
mov dword [ebp - 4], 1
push eax
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x11c]
push str._d__Ts
push eax
call fcn.1000cdf1
push 0x1c4
call fcn.1000bdf5
add esp, 0x14
mov dword [ebp - 0x128], eax
mov esi, dword [ebp - 0x11c]
mov byte [ebp - 4], 2
test eax, eax
je 0x100c8ed8
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push 0xff00
mov ecx, eax
call fcn.100c7b5f
mov ecx, eax
jmp 0x100c8eda
mov ecx, edi
mov eax, dword [ebp - 0x114]
mov dword [ecx + 0xa0], eax
mov dword [ecx + 0xec], 1
mov eax, dword [ebx + 0x84]
push 0xffffffffffffffff
mov dword [ecx + 0x84], eax
push ecx
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.100c7de1
push 2
push dword [ebp - 0x114]
call dword [sym.imp.USER32.dll_GetWindow]
inc dword [ebx + 0x150]
lea ecx, [esi - 0x10]
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x114], eax
call fcn.1000d8ce
mov esi, dword [ebp - 0x114]
mov eax, dword [ebp - 0x118]
inc eax
mov dword [ebp - 0x118], eax
test esi, esi
jne 0x100c8da8
mov esi, dword [ebp - 0x124]
cmp dword [esi + 0x130], edi
je 0x100c8fc5
cmp eax, 9
je 0x100c8f66
cmp dword [esi + 0x140], edi
je 0x100c8fc5
push 0x1c4
call fcn.1000bdf5
pop ecx
mov dword [ebp - 0x128], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x100c8f9c
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0x128]
mov ecx, eax
push dword [esi + 0x130]
call fcn.100c7b5f
mov edi, eax
or dword [ebp - 4], 0xffffffff
xor esi, esi
inc esi
mov ecx, ebx
push 0xffffffffffffffff
mov dword [edi + 0xec], esi
mov eax, dword [ebx + 0x84]
push edi
mov dword [edi + 0x84], eax
call fcn.100c7de1
add dword [ebx + 0x150], esi
call fcn.101462a5
ret