Function at 0x1001f7c9
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.10146c50
push 0xffffffffffffffff
push 0x1017b0b1
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0xffe
lea eax, [ebp + 2]
push ebx
push eax
mov edi, ecx
mov word [ebp], bx
call fcn.10146c80
add esp, 0xc
push 0x7ff
lea eax, [ebp]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x24]
call fcn.10007b11
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x30]
mov esi, 0x101f84b0
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.100e5402
cmp dword [ebp - 0x30], ebx
je 0x1001fc5b
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.100e5557
cmp dword [ebp - 0x20], ebx
je 0x1001fc4b
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.10007ade
push 0x20
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.1001f2a6
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.10007ade
call fcn.10125b1d
cmp eax, ebx
pop ecx
je 0x1001f916
cmp dword [ebp - 0x20], ebx
je 0x1001f8e8
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.10005f82
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
call dword [ecx + 0x5c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
call esi
push dword [ebp - 0x10]
mov byte [ebp - 4], 3
call esi
lea ecx, [ebp - 0x14]
call fcn.100a8e6c
push 1
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.100a8e98
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.100a8e75
jmp 0x1001fc32
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 0x34], ebx
call fcn.100e4bba
cmp dword [ebp - 0x34], ebx
je 0x1001fc32
mov eax, dword [0x101f3028]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 7
call fcn.100c497b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x100]
push eax
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 8
call fcn.10007ade
mov ecx, dword [ebp - 0x34]
call fcn.100c69e0
cmp eax, ebx
je 0x1001f9ce
push dword [ebp - 0x28]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x10]
call fcn.100a8e6c
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 9
call fcn.100c448d
mov esi, dword [eax]
push 1
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xa
call fcn.100c3f2b
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.100a8e98
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.100a8e75
jmp 0x1001fc1b
lea ecx, [ebp - 0x9c]
call fcn.100c497b
mov ecx, 0x101f84e8
mov byte [ebp - 4], 0xb
call fcn.10051454
test eax, eax
je 0x1001fb3a
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.100e57e7
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
call fcn.1001f154
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x1001fb29
mov dword [ebp - 0x38], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push eax
mov byte [ebp - 4], 0xe
call dword [ecx + 0xc]
lea eax, [ebp - 0x9c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push dword [ebp - 0x38]
call fcn.10007b11
mov ecx, dword [ebp - 0x34]
call fcn.100c6ae3
cmp eax, ebx
je 0x1001fb0f
lea ecx, [ebp - 0x10]
call fcn.100a8e6c
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], ebx
mov byte [ebp - 4], 0xf
je 0x1001fa98
lea ecx, [ebp - 0x9c]
call fcn.100c3f39
cmp eax, 1
jne 0x1001fa98
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x9c]
call fcn.100c448d
lea eax, [ebp - 0x14]
push ebx
push eax
mov byte [ebp - 4], 0x11
call fcn.10125dee
mov esi, dword [ebp - 0x14]
pop ecx
pop ecx
jmp 0x1001faad
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x9c]
call fcn.100c448d
mov esi, dword [eax]
mov byte [ebp - 4], 0x10
push 1
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x9c]
call fcn.100c3f2b
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.100a8e98
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xe
call fcn.100a8e75
push dword [ebp - 0x38]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x1001faf5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x1001fc0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1001fc0c
push dword [ebp - 0x38]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x1001fb29
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x1001fb3a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x101f3028]
mov dword [ebp - 0x1c], eax
push 0xdf
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call fcn.100045b9
lea eax, [ebp - 0x9c]
push eax
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.10007ade
mov ecx, dword [ebp - 0x34]
call fcn.100c6ae3
cmp eax, ebx
je 0x1001fc04
lea ecx, [ebp - 0x14]
call fcn.100a8e6c
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], ebx
mov byte [ebp - 4], 0x13
je 0x1001fbc1
lea ecx, [ebp - 0x9c]
call fcn.100c3f39
cmp eax, 1
jne 0x1001fbc1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x9c]
call fcn.100c448d
lea eax, [ebp - 0x10]
push ebx
push eax
mov byte [ebp - 4], 0x15
call fcn.10125dee
mov esi, dword [ebp - 0x10]
pop ecx
pop ecx
jmp 0x1001fbd6
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x9c]
call fcn.100c448d
mov esi, dword [eax]
mov byte [ebp - 4], 0x14
push 1
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x9c]
call fcn.100c3f2b
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.100a8e98
lea ecx, [ebp - 0x10]
call fcn.10003b75
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x12
call fcn.100a8e75
lea ecx, [ebp - 0x1c]
call fcn.10003b75
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
call fcn.100c490e
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 7
call fcn.100c490e
lea ecx, [ebp - 0x28]
call fcn.10003b75
lea ecx, [ebp - 0x18]
call fcn.10003b75
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x1001fc4b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x1001fc5b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x24]
call fcn.10003b75
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.10145d71
add ebp, 0x1004
leave
ret