Function at 0x10017c3d
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.10102790
push 0xffffffffffffffff
push 0x1013526d
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x1019c8c8]
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.101027c0
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.1000587e
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x30]
mov esi, 0x1019e6e0
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.100adc3c
cmp dword [ebp - 0x30], ebx
je 0x100180cf
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.100add33
cmp dword [ebp - 0x20], ebx
je 0x100180bf
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.1000584b
push 0x20
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.100179a0
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.1000584b
call fcn.100e6014
cmp eax, ebx
pop ecx
je 0x10017d8a
cmp dword [ebp - 0x20], ebx
je 0x10017d5c
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.10003abd
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.10086249
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.10086275
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10086252
jmp 0x100180a6
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 0x34], ebx
call fcn.100ad566
cmp dword [ebp - 0x34], ebx
je 0x100180a6
mov eax, dword [0x1019a028]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 7
call fcn.10096afb
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xf8]
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.1000584b
mov ecx, dword [ebp - 0x34]
call fcn.10098b41
cmp eax, ebx
je 0x10017e42
push dword [ebp - 0x28]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x10]
call fcn.10086249
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 9
call fcn.1009660d
mov esi, dword [eax]
push 1
push ebx
push ebx
push ebx
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0xa
call fcn.100960b3
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10086275
lea ecx, [ebp - 0x14]
call fcn.100015d9
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.10086252
jmp 0x1001808f
lea ecx, [ebp - 0x98]
call fcn.10096afb
mov ecx, 0x1019e718
mov byte [ebp - 4], 0xb
call fcn.100374a5
test eax, eax
je 0x10017fae
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.100adf70
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
call fcn.10017563
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x10017f9d
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 - 0x98]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push dword [ebp - 0x38]
call fcn.1000587e
mov ecx, dword [ebp - 0x34]
call fcn.10098c44
cmp eax, ebx
je 0x10017f83
lea ecx, [ebp - 0x10]
call fcn.10086249
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], ebx
mov byte [ebp - 4], 0xf
je 0x10017f0c
lea ecx, [ebp - 0x98]
call fcn.100960c1
cmp eax, 1
jne 0x10017f0c
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x98]
call fcn.1009660d
lea eax, [ebp - 0x14]
push ebx
push eax
mov byte [ebp - 4], 0x11
call fcn.100e62a4
mov esi, dword [ebp - 0x14]
pop ecx
pop ecx
jmp 0x10017f21
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x98]
call fcn.1009660d
mov esi, dword [eax]
mov byte [ebp - 4], 0x10
push 1
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x98]
call fcn.100960b3
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10086275
lea ecx, [ebp - 0x14]
call fcn.100015d9
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xe
call fcn.10086252
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 0x10017f69
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x10018080
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10018080
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 0x10017f9d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x10017fae
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x1019a028]
mov dword [ebp - 0x1c], eax
push 0xdf
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call fcn.1000201d
lea eax, [ebp - 0x98]
push eax
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.1000584b
mov ecx, dword [ebp - 0x34]
call fcn.10098c44
cmp eax, ebx
je 0x10018078
lea ecx, [ebp - 0x14]
call fcn.10086249
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], ebx
mov byte [ebp - 4], 0x13
je 0x10018035
lea ecx, [ebp - 0x98]
call fcn.100960c1
cmp eax, 1
jne 0x10018035
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x98]
call fcn.1009660d
lea eax, [ebp - 0x10]
push ebx
push eax
mov byte [ebp - 4], 0x15
call fcn.100e62a4
mov esi, dword [ebp - 0x10]
pop ecx
pop ecx
jmp 0x1001804a
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x98]
call fcn.1009660d
mov esi, dword [eax]
mov byte [ebp - 4], 0x14
push 1
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x98]
call fcn.100960b3
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.10086275
lea ecx, [ebp - 0x10]
call fcn.100015d9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x12
call fcn.10086252
lea ecx, [ebp - 0x1c]
call fcn.100015d9
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 8
call fcn.10096a8e
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 7
call fcn.10096a8e
lea ecx, [ebp - 0x28]
call fcn.100015d9
lea ecx, [ebp - 0x18]
call fcn.100015d9
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x100180bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x100180cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x24]
call fcn.100015d9
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.101018a3
add ebp, 0x1004
leave
ret