Function at 0x42ecf0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2750
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfd4
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov edi, ecx
push esi
mov dword [ebp - 0x40], edi
mov dword [ebp - 4], esi
call fcn.0059d649
mov eax, dword [edi + 0x90]
cmp eax, esi
jne 0x42ed34
lea eax, [edi + 0x94]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov word [ebp - 0x18], si
call fcn.00401fc0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, esi
jne 0x42ed55
lea eax, [ebp - 0x18]
push 0x3a
push eax
call fcn.00581f8f
mov ebx, eax
add esp, 8
cmp ebx, esi
je 0x42ee93
add ebx, 2
push 0x3a
push ebx
call fcn.00581f8f
add esp, 8
test eax, eax
je 0x42ee93
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], esi
mov word [ebp - 0x2c], si
call fcn.00401fc0
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 2
test esi, esi
je 0x42edbe
push esi
call fcn.00581b1a
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x42edbe
cmp word [esi], 0x3a
jne 0x42edb9
mov word [esi], 0x2d
add esi, 2
jmp 0x42edaa
mov word [ebx], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42edcd
lea eax, [ebp - 0x18]
xor esi, esi
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], esi
mov word [ebp - 0x38], si
call fcn.00401fc0
mov ebx, dword [ebp - 0x30]
mov byte [ebp - 4], 3
cmp ebx, esi
jne 0x42edf4
lea ebx, [ebp - 0x2c]
cmp ebx, esi
je 0x42ee6d
push ebx
call fcn.00581b1a
add esp, 4
test eax, eax
je 0x42ee6d
mov eax, dword [ebp - 0x3c]
cmp eax, esi
je 0x42ee15
push eax
call fcn.00581b1a
add esp, 4
mov esi, eax
jmp 0x42ee17
xor esi, esi
push ebx
call fcn.00581b1a
add eax, esi
lea eax, [eax + eax + 2]
push eax
call fcn.0059a2da
mov esi, eax
add esp, 8
test esi, esi
je 0x42ee6d
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42ee4c
push eax
push esi
call fcn.00581cba
push ebx
push esi
call fcn.00581c90
add esp, 0x10
jmp 0x42ee56
push ebx
push esi
call fcn.00581cba
add esp, 8
lea ecx, [ebp - 0x3c]
call fcn.00401070
push esi
mov dword [ebp - 0x3c], esi
call fcn.00581b1a
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00401fc0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00401070
xor esi, esi
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x42efc5
push eax
mov esi, eax
call fcn.00581b1a
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x42eec0
cmp word [esi], 0x2a
jne 0x42eebb
mov word [esi], 0x2d
add esi, 2
jmp 0x42eeac
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42efc5
push eax
mov esi, eax
call fcn.00581b1a
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x42eeed
cmp word [esi], 0x3f
jne 0x42eee8
mov word [esi], 0x2d
add esi, 2
jmp 0x42eed9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42efc5
push eax
mov esi, eax
call fcn.00581b1a
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x42ef1a
cmp word [esi], 0x7c
jne 0x42ef15
mov word [esi], 0x2d
add esi, 2
jmp 0x42ef06
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42efc5
push eax
mov esi, eax
call fcn.00581b1a
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x42ef47
cmp word [esi], 0x3c
jne 0x42ef42
mov word [esi], 0x2d
add esi, 2
jmp 0x42ef33
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42efc5
push eax
mov esi, eax
call fcn.00581b1a
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x42ef70
cmp word [esi], 0x3e
jne 0x42ef6b
mov word [esi], 0x2d
add esi, 2
jmp 0x42ef5c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42efc5
push eax
mov esi, eax
call fcn.00581b1a
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x42ef99
cmp word [esi], 0x22
jne 0x42ef94
mov word [esi], 0x27
add esi, 2
jmp 0x42ef85
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42efc5
push eax
mov esi, eax
call fcn.00581b1a
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x42efc2
cmp word [esi], 0x2f
jne 0x42efbd
mov word [esi], 0x5c
add esi, 2
jmp 0x42efae
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x67e578]
test ecx, ecx
jne 0x42f409
test eax, eax
jne 0x42efda
lea eax, [ebp - 0x18]
push 0x202a
push eax
call fcn.00581f8f
add esp, 8
test eax, eax
jne 0x42f00c
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42eff6
lea eax, [ebp - 0x18]
push 0x202d
push eax
call fcn.00581f8f
add esp, 8
test eax, eax
je 0x42f3ad
mov edx, 0x65641c
test edx, edx
je 0x42f1d2
mov eax, 0x67df5c
test eax, eax
je 0x42f1d2
push eax
push edx
call fcn.0058202f
add esp, 8
test eax, eax
je 0x42f1d2
mov ecx, dword [ebp - 0x1c]
push 0x65641c
push ecx
call int.00582347
add esp, 8
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x42f071
push 0x65641c
inc ebx
call fcn.00581b1a
lea eax, [esi + eax*2]
push 0x65641c
push eax
call int.00582347
add esp, 0xc
mov esi, eax
jmp 0x42f04d
test ebx, ebx
je 0x42f1d2
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push edx
call fcn.00403bb0
push 0x65641c
mov byte [ebp - 4], 4
call fcn.00581b1a
push 0x67df5c
mov esi, eax
call fcn.00581b1a
add esp, 8
cmp eax, esi
jbe 0x42f0f6
lea ecx, [ebp - 0x1c]
call fcn.00401070
lea ecx, [ebp - 0x30]
call fcn.00401fb0
push eax
call fcn.00581b1a
push 0x65641c
mov esi, eax
call fcn.00581b1a
push 0x67df5c
mov edi, eax
call fcn.00581b1a
sub eax, edi
imul eax, ebx
add esi, eax
lea eax, [esi + esi + 2]
push eax
call fcn.0059a2da
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x1c], ebx
jne 0x42f0f9
jmp 0x42f1c6
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
call fcn.00401fb0
push 0x65641c
push eax
mov dword [ebp - 0x20], eax
call int.00582347
add esp, 8
test eax, eax
mov dword [ebp - 0x24], eax
je 0x42f189
mov esi, dword [ebp - 0x20]
mov edi, ebx
sub eax, esi
push 0x67df5c
sar eax, 1
shl eax, 1
mov ecx, eax
add ebx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00581b1a
mov ecx, eax
mov esi, 0x67df5c
shl ecx, 1
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x67df5c
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00581b1a
push 0x65641c
lea ebx, [ebx + eax*2]
call fcn.00581b1a
mov ecx, dword [ebp - 0x24]
push 0x65641c
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x20], eax
call int.00582347
add esp, 0x14
jmp 0x42f112
mov esi, dword [ebp - 0x20]
push esi
call fcn.00581b1a
mov ecx, eax
mov edi, ebx
shl ecx, 1
mov edx, ecx
mov eax, dword [ebp - 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00581b1a
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00581b1a
add esp, 0xc
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00401070
mov edx, 0x656418
test edx, edx
je 0x42f398
mov eax, 0x67df5c
test eax, eax
je 0x42f398
push eax
push edx
call fcn.0058202f
add esp, 8
test eax, eax
je 0x42f398
mov ecx, dword [ebp - 0x1c]
push 0x656418
push ecx
call int.00582347
add esp, 8
mov esi, eax
xor edi, edi
test esi, esi
je 0x42f237
push 0x656418
inc edi
call fcn.00581b1a
lea eax, [esi + eax*2]
push 0x656418
push eax
call int.00582347
add esp, 0xc
mov esi, eax
jmp 0x42f213
test edi, edi
je 0x42f398
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push edx
call fcn.00403bb0
push 0x656418
mov byte [ebp - 4], 5
call fcn.00581b1a
push 0x67df5c
mov esi, eax
call fcn.00581b1a
add esp, 8
cmp eax, esi
jbe 0x42f2bc
lea ecx, [ebp - 0x1c]
call fcn.00401070
lea ecx, [ebp - 0x30]
call fcn.00401fb0
push eax
call fcn.00581b1a
push 0x656418
mov esi, eax
call fcn.00581b1a
push 0x67df5c
mov ebx, eax
call fcn.00581b1a
sub eax, ebx
imul eax, edi
add esi, eax
lea eax, [esi + esi + 2]
push eax
call fcn.0059a2da
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x1c], ebx
jne 0x42f2bf
jmp 0x42f38c
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
call fcn.00401fb0
push 0x656418
push eax
mov dword [ebp - 0x24], eax
call int.00582347
add esp, 8
test eax, eax
mov dword [ebp - 0x20], eax
je 0x42f34f
mov esi, dword [ebp - 0x24]
mov edi, ebx
sub eax, esi
push 0x67df5c
sar eax, 1
shl eax, 1
mov ecx, eax
add ebx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00581b1a
mov ecx, eax
mov esi, 0x67df5c
shl ecx, 1
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x67df5c
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00581b1a
push 0x656418
lea ebx, [ebx + eax*2]
call fcn.00581b1a
mov ecx, dword [ebp - 0x20]
push 0x656418
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x24], eax
call int.00582347
add esp, 0x14
jmp 0x42f2d8
mov esi, dword [ebp - 0x24]
push esi
call fcn.00581b1a
mov ecx, eax
mov edi, ebx
shl ecx, 1
mov edx, ecx
mov eax, dword [ebp - 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00581b1a
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00581b1a
add esp, 0xc
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00401070
push 0x67df5c
push 0x656414
lea ecx, [ebp - 0x1c]
call fcn.0042f6a0
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42f3b7
lea eax, [ebp - 0x18]
push 0x200e
push eax
call fcn.00581f8f
add esp, 8
test eax, eax
je 0x42f3db
push 0x67df5c
push 0x656410
lea ecx, [ebp - 0x1c]
call fcn.0042f6a0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42f3e5
lea eax, [ebp - 0x18]
push 0x200f
push eax
call fcn.00581f8f
add esp, 8
test eax, eax
je 0x42f409
push 0x67df5c
push 0x65640c
lea ecx, [ebp - 0x1c]
call fcn.0042f6a0
mov eax, dword [edi + 0x70]
mov ecx, dword [edi + 0x68]
lea edx, [ebp - 0x1c]
push 0
push edx
push eax
call fcn.00464050
cmp eax, 2
jne 0x42f444
mov byte [edi + 0x428], 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x1c]
call fcn.00401fb0
mov ecx, dword [edi + 0x70]
push eax
call fcn.00551a30
mov eax, dword [edi + 0x438]
push 0x7d0
test eax, eax
je 0x42f518
mov edx, dword [edi + 0x430]
lea ecx, [ebp - 0xfe0]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x42f50c
mov eax, dword [0x679a04]
mov dword [ebp - 0x20], eax
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0xfe0]
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
mov byte [ebp - 4], 6
call ebx
mov esi, eax
test esi, esi
jle 0x42f4ea
push esi
lea ecx, [ebp - 0x20]
call fcn.0059e30d
push 0
push 0
push esi
push eax
lea edx, [ebp - 0xfe0]
push 0xffffffffffffffff
push edx
push 0
push 0xfde9
call ebx
mov eax, dword [edi + 0x70]
mov byte [eax + 0x2ce], 1
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [edi + 0x70]
jmp 0x42f4f9
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx + 0x60]
test eax, eax
je 0x42f4fe
push 0x67df58
call fcn.0054c990
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0059df40
jmp 0x42f550
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx + 0x60]
test eax, eax
je 0x42f550
jmp 0x42f546
mov eax, dword [edi + 0x430]
lea edx, [ebp - 0x810]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42f53c
lea ecx, [ebp - 0x810]
push ecx
mov ecx, dword [edi + 0x70]
jmp 0x42f54b
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx + 0x60]
test eax, eax
je 0x42f550
push 0x67df58
call fcn.0054c990
mov edx, dword [edi + 0x70]
mov eax, dword [edx + 0x848]
test eax, eax
je 0x42f578
cmp eax, 3
je 0x42f578
mov eax, dword [edi + 0x6c]
push 0
push 0x2721
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 0x70]
mov ecx, dword [ecx + 0x3c4]
test ecx, ecx
je 0x42f5a3
mov al, byte [ecx + 8]
test al, al
je 0x42f5a3
test ecx, ecx
je 0x42f596
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [edi + 0x70]
mov dword [eax + 0x3c4], 0
mov ecx, dword [edi + 0x70]
mov edx, dword [ecx + 0x2c4]
push edx
call fcn.0054cb20
mov ecx, edi
call fcn.00430b90
mov eax, dword [edi + 0x70]
mov ecx, dword [eax + 0x400]
push ecx
lea ecx, [eax + 0x20]
call fcn.0055d8b0
mov ecx, dword [edi + 0x70]
push 0
call fcn.00554110
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x42f615
mov edx, dword [edi + 0x70]
push 1
push 1
push edx
call fcn.00488bf0
mov eax, dword [edi + 0x6c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f615
mov ecx, dword [edi + 0x70]
mov eax, dword [edi + 0x6c]
mov edx, dword [ecx + 0x400]
push edx
push 0x144d
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [0x67e6a8]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f647
mov edx, dword [edi + 0x70]
mov ecx, dword [0x67e6a8]
mov eax, dword [edx + 0x400]
push eax
push 0x1395
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
push 1
mov ecx, edi
call fcn.0042f8e0
mov eax, dword [edi + 0x60]
push 0
test eax, eax
je 0x42f66c
push 0xc8
push 1
mov ecx, edi
call fcn.0042f8c0
jmp 0x42f427
mov ecx, edi
call fcn.0059a033
jmp 0x42f427