Function at 0x42f8f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba170
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.005a4f51
mov eax, dword [edi + 0x90]
cmp eax, esi
jne 0x42f934
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.00401ee0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, esi
jne 0x42f955
lea eax, [ebp - 0x18]
push 0x3a
push eax
call fcn.0058989f
mov ebx, eax
add esp, 8
cmp ebx, esi
je 0x42fa93
add ebx, 2
push 0x3a
push ebx
call fcn.0058989f
add esp, 8
test eax, eax
je 0x42fa93
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], esi
mov word [ebp - 0x2c], si
call fcn.00401ee0
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 2
test esi, esi
je 0x42f9be
push esi
call fcn.00589432
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x42f9be
cmp word [esi], 0x3a
jne 0x42f9b9
mov word [esi], 0x2d
add esi, 2
jmp 0x42f9aa
mov word [ebx], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42f9cd
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.00401ee0
mov ebx, dword [ebp - 0x30]
mov byte [ebp - 4], 3
cmp ebx, esi
jne 0x42f9f4
lea ebx, [ebp - 0x2c]
cmp ebx, esi
je 0x42fa6d
push ebx
call fcn.00589432
add esp, 4
test eax, eax
je 0x42fa6d
mov eax, dword [ebp - 0x3c]
cmp eax, esi
je 0x42fa15
push eax
call fcn.00589432
add esp, 4
mov esi, eax
jmp 0x42fa17
xor esi, esi
push ebx
call fcn.00589432
add eax, esi
lea eax, [eax + eax + 2]
push eax
call fcn.005a1be9
mov esi, eax
add esp, 8
test esi, esi
je 0x42fa6d
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42fa4c
push eax
push esi
call fcn.005895ca
push ebx
push esi
call fcn.005895a0
add esp, 0x10
jmp 0x42fa56
push ebx
push esi
call fcn.005895ca
add esp, 8
lea ecx, [ebp - 0x3c]
call fcn.00401070
push esi
mov dword [ebp - 0x3c], esi
call fcn.00589432
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00401ee0
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 0x42fbc5
push eax
mov esi, eax
call fcn.00589432
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x42fac0
cmp word [esi], 0x2a
jne 0x42fabb
mov word [esi], 0x2d
add esi, 2
jmp 0x42faac
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42fbc5
push eax
mov esi, eax
call fcn.00589432
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x42faed
cmp word [esi], 0x3f
jne 0x42fae8
mov word [esi], 0x2d
add esi, 2
jmp 0x42fad9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42fbc5
push eax
mov esi, eax
call fcn.00589432
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x42fb1a
cmp word [esi], 0x7c
jne 0x42fb15
mov word [esi], 0x2d
add esi, 2
jmp 0x42fb06
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42fbc5
push eax
mov esi, eax
call fcn.00589432
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x42fb47
cmp word [esi], 0x3c
jne 0x42fb42
mov word [esi], 0x2d
add esi, 2
jmp 0x42fb33
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42fbc5
push eax
mov esi, eax
call fcn.00589432
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x42fb70
cmp word [esi], 0x3e
jne 0x42fb6b
mov word [esi], 0x2d
add esi, 2
jmp 0x42fb5c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42fbc5
push eax
mov esi, eax
call fcn.00589432
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x42fb99
cmp word [esi], 0x22
jne 0x42fb94
mov word [esi], 0x27
add esi, 2
jmp 0x42fb85
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42fbc5
push eax
mov esi, eax
call fcn.00589432
add esp, 4
lea eax, [esi + eax*2]
cmp esi, eax
jae 0x42fbc2
cmp word [esi], 0x2f
jne 0x42fbbd
mov word [esi], 0x5c
add esi, 2
jmp 0x42fbae
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x687b40]
test ecx, ecx
jne 0x430009
test eax, eax
jne 0x42fbda
lea eax, [ebp - 0x18]
push 0x202a
push eax
call fcn.0058989f
add esp, 8
test eax, eax
jne 0x42fc0c
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42fbf6
lea eax, [ebp - 0x18]
push 0x202d
push eax
call fcn.0058989f
add esp, 8
test eax, eax
je 0x42ffad
mov edx, 0x65f4a0
test edx, edx
je 0x42fdd2
mov eax, 0x6874ec
test eax, eax
je 0x42fdd2
push eax
push edx
call fcn.0058993f
add esp, 8
test eax, eax
je 0x42fdd2
mov ecx, dword [ebp - 0x1c]
push 0x65f4a0
push ecx
call fcn.00589c57
add esp, 8
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x42fc71
push 0x65f4a0
inc ebx
call fcn.00589432
lea eax, [esi + eax*2]
push 0x65f4a0
push eax
call fcn.00589c57
add esp, 0xc
mov esi, eax
jmp 0x42fc4d
test ebx, ebx
je 0x42fdd2
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push edx
call fcn.00403af0
push 0x65f4a0
mov byte [ebp - 4], 4
call fcn.00589432
push 0x6874ec
mov esi, eax
call fcn.00589432
add esp, 8
cmp eax, esi
jbe 0x42fcf6
lea ecx, [ebp - 0x1c]
call fcn.00401070
lea ecx, [ebp - 0x30]
call fcn.00401ed0
push eax
call fcn.00589432
push 0x65f4a0
mov esi, eax
call fcn.00589432
push 0x6874ec
mov edi, eax
call fcn.00589432
sub eax, edi
imul eax, ebx
add esi, eax
lea eax, [esi + esi + 2]
push eax
call fcn.005a1be9
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x1c], ebx
jne 0x42fcf9
jmp 0x42fdc6
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
call fcn.00401ed0
push 0x65f4a0
push eax
mov dword [ebp - 0x20], eax
call fcn.00589c57
add esp, 8
test eax, eax
mov dword [ebp - 0x24], eax
je 0x42fd89
mov esi, dword [ebp - 0x20]
mov edi, ebx
sub eax, esi
push 0x6874ec
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.00589432
mov ecx, eax
mov esi, 0x6874ec
shl ecx, 1
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x6874ec
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00589432
push 0x65f4a0
lea ebx, [ebx + eax*2]
call fcn.00589432
mov ecx, dword [ebp - 0x24]
push 0x65f4a0
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x20], eax
call fcn.00589c57
add esp, 0x14
jmp 0x42fd12
mov esi, dword [ebp - 0x20]
push esi
call fcn.00589432
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.00589432
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00589432
add esp, 0xc
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00401070
mov edx, 0x65f49c
test edx, edx
je 0x42ff98
mov eax, 0x6874ec
test eax, eax
je 0x42ff98
push eax
push edx
call fcn.0058993f
add esp, 8
test eax, eax
je 0x42ff98
mov ecx, dword [ebp - 0x1c]
push 0x65f49c
push ecx
call fcn.00589c57
add esp, 8
mov esi, eax
xor edi, edi
test esi, esi
je 0x42fe37
push 0x65f49c
inc edi
call fcn.00589432
lea eax, [esi + eax*2]
push 0x65f49c
push eax
call fcn.00589c57
add esp, 0xc
mov esi, eax
jmp 0x42fe13
test edi, edi
je 0x42ff98
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push edx
call fcn.00403af0
push 0x65f49c
mov byte [ebp - 4], 5
call fcn.00589432
push 0x6874ec
mov esi, eax
call fcn.00589432
add esp, 8
cmp eax, esi
jbe 0x42febc
lea ecx, [ebp - 0x1c]
call fcn.00401070
lea ecx, [ebp - 0x30]
call fcn.00401ed0
push eax
call fcn.00589432
push 0x65f49c
mov esi, eax
call fcn.00589432
push 0x6874ec
mov ebx, eax
call fcn.00589432
sub eax, ebx
imul eax, edi
add esi, eax
lea eax, [esi + esi + 2]
push eax
call fcn.005a1be9
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x1c], ebx
jne 0x42febf
jmp 0x42ff8c
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
call fcn.00401ed0
push 0x65f49c
push eax
mov dword [ebp - 0x24], eax
call fcn.00589c57
add esp, 8
test eax, eax
mov dword [ebp - 0x20], eax
je 0x42ff4f
mov esi, dword [ebp - 0x24]
mov edi, ebx
sub eax, esi
push 0x6874ec
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.00589432
mov ecx, eax
mov esi, 0x6874ec
shl ecx, 1
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x6874ec
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00589432
push 0x65f49c
lea ebx, [ebx + eax*2]
call fcn.00589432
mov ecx, dword [ebp - 0x20]
push 0x65f49c
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x24], eax
call fcn.00589c57
add esp, 0x14
jmp 0x42fed8
mov esi, dword [ebp - 0x24]
push esi
call fcn.00589432
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.00589432
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00589432
add esp, 0xc
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00401070
push 0x6874ec
push 0x65f498
lea ecx, [ebp - 0x1c]
call fcn.004302a0
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42ffb7
lea eax, [ebp - 0x18]
push 0x200e
push eax
call fcn.0058989f
add esp, 8
test eax, eax
je 0x42ffdb
push 0x6874ec
push 0x65f494
lea ecx, [ebp - 0x1c]
call fcn.004302a0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42ffe5
lea eax, [ebp - 0x18]
push 0x200f
push eax
call fcn.0058989f
add esp, 8
test eax, eax
je 0x430009
push 0x6874ec
push 0x65f490
lea ecx, [ebp - 0x1c]
call fcn.004302a0
mov eax, dword [edi + 0x70]
mov ecx, dword [edi + 0x68]
lea edx, [ebp - 0x1c]
push 0
push edx
push eax
call fcn.004669a0
cmp eax, 2
jne 0x430044
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.00401ed0
mov ecx, dword [edi + 0x70]
push eax
call fcn.005593e0
mov eax, dword [edi + 0x43c]
push 0x7d0
test eax, eax
je 0x430118
mov edx, dword [edi + 0x430]
lea ecx, [ebp - 0xfe0]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x43010c
mov eax, dword [0x682f9c]
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 0x4300ea
push esi
lea ecx, [ebp - 0x20]
call fcn.005a5c1a
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 + 0x2ee], 1
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [edi + 0x70]
jmp 0x4300f9
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx + 0x60]
test eax, eax
je 0x4300fe
push 0x6874e8
call fcn.00554380
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.005a584d
jmp 0x430150
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx + 0x60]
test eax, eax
je 0x430150
jmp 0x430146
mov eax, dword [edi + 0x430]
lea edx, [ebp - 0x810]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x43013c
lea ecx, [ebp - 0x810]
push ecx
mov ecx, dword [edi + 0x70]
jmp 0x43014b
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx + 0x60]
test eax, eax
je 0x430150
push 0x6874e8
call fcn.00554380
mov edx, dword [edi + 0x70]
mov eax, dword [edx + 0x868]
test eax, eax
je 0x430178
cmp eax, 3
je 0x430178
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 + 0x3e4]
test ecx, ecx
je 0x4301a3
mov al, byte [ecx + 8]
test al, al
je 0x4301a3
test ecx, ecx
je 0x430196
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [edi + 0x70]
mov dword [eax + 0x3e4], 0
mov ecx, dword [edi + 0x70]
mov edx, dword [ecx + 0x2e4]
push edx
call fcn.00554510
mov ecx, edi
call fcn.00432010
mov eax, dword [edi + 0x70]
mov ecx, dword [eax + 0x420]
push ecx
lea ecx, [eax + 0x20]
call fcn.005653c0
mov ecx, dword [edi + 0x70]
push 0
call fcn.0055bae0
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x430215
mov edx, dword [edi + 0x70]
push 1
push 1
push edx
call fcn.0048b7c0
mov eax, dword [edi + 0x6c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x430215
mov ecx, dword [edi + 0x70]
mov eax, dword [edi + 0x6c]
mov edx, dword [ecx + 0x420]
push edx
push 0x144d
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [0x687c70]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x430247
mov edx, dword [edi + 0x70]
mov ecx, dword [0x687c70]
mov eax, dword [edx + 0x420]
push eax
push 0x1395
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
push 1
mov ecx, edi
call fcn.004304e0
mov eax, dword [edi + 0x60]
push 0
test eax, eax
je 0x43026c
push 0xc8
push 1
mov ecx, edi
call fcn.004304c0
jmp 0x430027
mov ecx, edi
call fcn.005a1943
jmp 0x430027