Function at 0x409a60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50484d
mov eax, dword fs:[0]
push eax
sub esp, 0x5b4
mov eax, dword [0x55406c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xc8]
lea esi, [edi + 0x16c]
push 0x410
mov dword [ebp - 0x5bc], eax
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004da870
mov eax, dword [ebp - 0x5bc]
add esp, 0xc
push dword [eax + 0x74]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a5ff
push 0x208
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x5bc]
push dword [eax + 0x74]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409af2
sub ecx, edx
sar ecx, 1
je 0x40a5ff
xor eax, eax
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x420]
push ecx
mov dword [ebp - 0x424], 0
lea ecx, [ebp - 0x438]
push eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
call fcn.00406aa0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x438]
cmp esi, eax
je 0x409b9a
mov ecx, esi
call fcn.00406a30
movups xmm0, xmmword [ebp - 0x438]
mov eax, 7
xor ecx, ecx
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x428]
mov dword [ebp - 0x424], eax
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], cx
jmp 0x409ba0
mov eax, dword [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x409be1
mov ecx, dword [ebp - 0x438]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409bd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a61a
push edx
push ecx
call fcn.004c2c30
add esp, 8
xor eax, eax
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
lea esi, [edi + 0x184]
mov eax, dword [edi + 0xc8]
push 0x410
mov dword [ebp - 0x5bc], eax
lea eax, [ebp - 0x420]
push 0
push eax
mov dword [ebp - 0x424], 7
call fcn.004da870
mov eax, dword [ebp - 0x5bc]
add esp, 0xc
push dword [eax + 0x104]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a5ff
push 0x208
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x5bc]
push dword [eax + 0x104]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409c67
sub ecx, edx
sar ecx, 1
je 0x40a5ff
xor eax, eax
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x420]
push ecx
mov dword [ebp - 0x424], 0
lea ecx, [ebp - 0x438]
push eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
call fcn.00406aa0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x438]
cmp esi, eax
je 0x409d0f
mov ecx, esi
call fcn.00406a30
movups xmm0, xmmword [ebp - 0x438]
mov eax, 7
xor ecx, ecx
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x428]
mov dword [ebp - 0x424], eax
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], cx
jmp 0x409d15
mov eax, dword [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x409d56
mov ecx, dword [ebp - 0x438]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409d4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a61f
push edx
push ecx
call fcn.004c2c30
add esp, 8
mov ecx, dword [edi + 0xc8]
xor eax, eax
mov word [ebp - 0x438], ax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov eax, dword [ecx]
mov eax, dword [eax + 0x8c]
call eax
mov ecx, dword [edi + 0xc8]
lea edx, [ebp - 0x498]
mov dword [edi + 0x19c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x88]
mov dword [ebp - 4], 2
lea eax, [ebp - 0x498]
push eax
lea ecx, [edi + 0x16c]
call fcn.0041c290
test eax, eax
jne 0x409e05
mov esi, dword [edi + 0xc8]
push dword [esi + 0x74]
call dword [sym.imp.USER32.dll_SetFocus]
push 0x3ef
mov ecx, esi
call fcn.00427fe0
test eax, eax
je 0x409de3
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x18]
push 0x3ee
mov ecx, esi
call fcn.00427fe0
test eax, eax
je 0x40a59f
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x18]
jmp 0x40a59f
cmp dword [edi + 0x130], 0
je 0x409eab
lea eax, [edi + 0x120]
push eax
lea eax, [ebp - 0x450]
push 0x52f658
push eax
call fcn.0040c750
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x409e3b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [edi + 0x16c]
call fcn.0040c490
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x43c]
cmp edx, 8
jb 0x409e8e
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409e84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a624
push edx
push ecx
call fcn.004c2c30
add esp, 8
xor eax, eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
push 0x52f660
lea ecx, [ebp - 0x450]
call fcn.004067e0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x450]
push eax
mov ecx, esi
call fcn.0041c290
mov esi, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x43c]
cmp edx, 8
jb 0x409f13
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409f09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a629
push edx
push ecx
call fcn.004c2c30
add esp, 8
xor eax, eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
test esi, esi
jne 0x409f69
mov esi, dword [edi + 0xc8]
push dword [esi + 0x104]
call dword [sym.imp.USER32.dll_SetFocus]
push 0x3f4
mov ecx, esi
call fcn.00427fe0
test eax, eax
je 0x409f5f
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x18]
push 0x3f3
jmp 0x409de8
cmp byte [edi + 0x169], al
je 0x409ffa
mov ecx, dword [edi + 0xc8]
push 0
push 0x556478
push 0x556284
push 0
push 0x3fa
call fcn.00427fe0
push eax
call fcn.004db091
add esp, 0x14
test eax, eax
je 0x40a1a2
mov eax, dword [eax + 0x38]
test eax, eax
je 0x40a1a2
cmp dword [eax + 0x2c], 0xffffffff
je 0x40a1a2
push 0
push ecx
mov ecx, dword [edi + 0xc8]
call fcn.0040ff00
mov ecx, dword [edi + 0xc8]
push 0
push 0x556478
push 0x556284
push 0
push 0x3fa
call fcn.00427fe0
push eax
call fcn.004db091
mov ecx, eax
add esp, 0x14
test ecx, ecx
jne 0x40a188
xor al, al
lea esi, [edi + 0x108]
mov byte [edi + 0x168], al
mov edx, 0x52f694
mov ecx, esi
call fcn.0041baf0
push 0x52f694
push esi
call fcn.0041bb80
lea ecx, [edi + 0xf0]
mov edx, 0x52f694
call fcn.0041baf0
lea eax, [edi + 0xf0]
push 0x52f694
push eax
call fcn.0041bb80
add esp, 0x10
cmp byte [edi + 0x168], 0
je 0x40a057
push esi
call fcn.0041c730
add esp, 4
test al, al
jne 0x40a065
push 0
push 0x52a620
mov ecx, esi
call fcn.00406aa0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], 0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x468]
push eax
mov ecx, edi
call fcn.0040a6c0
push 0x52f698
lea ecx, [ebp - 0x4f8]
call fcn.004067e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4e0]
push str._api_advise_report
call fcn.004067e0
mov byte [ebp - 4], 7
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
mov byte [ebp - 4], 8
cmp dword [edi + 0x1a0], 0
jne 0x40a14b
push 0x24
call fcn.004c2885
add esp, 4
mov dword [ebp - 0x5bc], eax
mov byte [ebp - 4], 9
mov ecx, eax
call fcn.00430630
mov byte [ebp - 4], 8
mov esi, dword [edi + 0x1a0]
mov dword [edi + 0x1a0], eax
test esi, esi
je 0x40a14b
mov ecx, esi
call fcn.00430680
push 0x24
push esi
call fcn.004c2c30
add esp, 8
lea ecx, [ebp - 0x5b4]
call fcn.00415cc0
mov byte [ebp - 4], 0xa
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
mov eax, dword [ebp - 0x5a0]
test eax, eax
jne 0x40a1b5
call fcn.004c21b6
mov dword [ebp - 0x5a0], eax
test eax, eax
jne 0x40a1b5
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40a240
mov ecx, dword [ecx + 0x38]
or eax, 0xffffffff
test ecx, ecx
je 0x40a195
mov eax, dword [ecx + 0x2c]
cmp eax, 0x3fc
sete al
jmp 0x409ffa
push 1
push ecx
mov ecx, dword [edi + 0xc8]
call fcn.0040ff00
jmp 0x40a59f
push 0
push 0
push eax
call fcn.004c22b8
lea eax, [ebp - 0x5b4]
mov dword [ebp - 0x5ac], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x5a8], eax
mov dword [ebp - 0x5c0], 0x558dd4
mov byte [ebp - 0x5bc], 0
mov byte [ebp - 4], 0xb
push 0x558dd4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x558dec]
mov dword [ebp - 0x5a4], eax
lea eax, [ebp - 0x5ac]
mov byte [ebp - 0x5bc], 1
mov dword [0x558dec], eax
mov byte [ebp - 4], 0xa
push 0x558dd4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x40c500
push esi
push 0x64
push dword [0x557a88]
mov byte [ebp - 0x5bc], 0
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
mov dword [ebp - 0x440], 0
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x43c], 0
push 0x52f6e4
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
call fcn.0040be20
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x438]
push 0x20
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
push str.c6456bfa0e6312b0ccfe238a4c0dcabd
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
call fcn.0040be20
mov byte [ebp - 4], 0xd
lea edx, [edi + 0xf0]
lea ecx, [ebp - 0x4c8]
call fcn.0041e970
mov esi, eax
mov byte [ebp - 4], 0xe
lea edx, [edi + 0x108]
lea ecx, [ebp - 0x4b0]
call fcn.0041e970
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x480]
push ecx
mov ecx, dword [edi + 0x1a0]
push esi
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x4f8]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00430ab0
mov byte [ebp - 0x5b5], al
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x49c]
cmp edx, 0x10
jb 0x40a375
mov ecx, dword [ebp - 0x4b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a36b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a62e
push edx
push ecx
call fcn.004c2c30
add esp, 8
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 0xf
mov byte [ebp - 0x4b0], 0
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x4b4]
cmp edx, 0x10
jb 0x40a3ce
mov ecx, dword [ebp - 0x4c8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a3c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a633
push edx
push ecx
call fcn.004c2c30
add esp, 8
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b4], 0xf
mov byte [ebp - 0x4c8], 0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x40a427
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a41d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a638
push edx
push ecx
call fcn.004c2c30
add esp, 8
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x43c]
cmp edx, 0x10
jb 0x40a480
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a476
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a63d
push edx
push ecx
call fcn.004c2c30
add esp, 8
cmp byte [ebp - 0x5b5], 0
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
je 0x40a4b5
push 0
push 0
push 0x10
push dword [edi + 4]
call esi
push 0
push 0
push 0x10
push dword [edi + 4]
call esi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5b4]
call fcn.00415f40
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x46c]
cmp edx, 0x10
jb 0x40a50d
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a503
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a642
push edx
push ecx
call fcn.004c2c30
add esp, 8
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x4e0]
call fcn.00406a30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4f8]
call fcn.00406a30
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x454]
cmp edx, 0x10
jb 0x40a584
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a57a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a647
push edx
push ecx
call fcn.004c2c30
add esp, 8
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x484]
cmp edx, 8
jb 0x40a5e2
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a5d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a64c
push edx
push ecx
call fcn.004c2c30
add esp, 8
xor eax, eax
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 7
mov word [ebp - 0x498], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c23b5
mov esp, ebp
pop ebp
ret
call fcn.004e59ff
call fcn.004e59ff
call fcn.004e59ff
call fcn.004e59ff
call fcn.004e59ff
call fcn.004e59ff
call fcn.004e59ff
call fcn.004e59ff
call fcn.004e59ff
call fcn.004e59ff
call fcn.004e59ff
int3