Function at 0x422d60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4635db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push esi
push edi
jmp 0x422d93
xor ecx, ecx
call fcn.004224b0
add eax, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 0x18]
mov dword [edx], ecx
call fcn.00403bb0
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
call fcn.00410ac0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x1c]
call fcn.00410ab0
mov dword [ebp - 0x34], eax
jmp 0x422dd6
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x34]
je 0x423085
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x8c], 0xfa
push 0x1f4
call fcn.0043ce2d
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
push 0xfa
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
jne 0x422e3a
jmp 0x422dcd
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0xcc]
call fcn.004046c0
mov dword [ebp - 4], 0
call fcn.00404a50
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0x40]
call fcn.00403f30
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x54], ecx
call fcn.00404a50
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x94]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.00403f40
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x58], ecx
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x98], esp
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0xcc]
push ecx
mov ecx, dword [ebp - 0x50]
call fcn.004048f0
nop
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x60]
call fcn.00423200
add esp, 0x20
call fcn.00404a50
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0xa0]
push edx
mov ecx, dword [ebp - 0x5c]
call fcn.00403f30
push eax
lea ecx, [ebp - 0x60]
call fcn.00403f10
movzx eax, al
test eax, eax
jne 0x422f24
lea ecx, [ebp - 0xcc]
call fcn.00422c80
push eax
push str.EnumWindowCB
push str._X___s_Detected_classname__ls_n
call fcn.00404c70
add esp, 0xc
mov ecx, 6
call fcn.00409180
nop
push 0x1f4
call fcn.0043ce2d
add esp, 4
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x28], ecx
push 0xfa
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x422f6b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.004039d0
nop
jmp 0x422dcd
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0xe4]
call fcn.004046c0
mov byte [ebp - 4], 1
call fcn.00404a60
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.00403f30
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], edx
call fcn.00404a60
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x70]
call fcn.00403f40
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x80], edx
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xac], esp
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x78], ecx
lea edx, [ebp - 0xe4]
push edx
mov ecx, dword [ebp - 0x78]
call fcn.004048f0
nop
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x80]
push edx
lea ecx, [ebp - 0x88]
call fcn.00423200
add esp, 0x20
call fcn.00404a60
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x84]
call fcn.00403f30
push eax
lea ecx, [ebp - 0x88]
call fcn.00403f10
movzx ecx, al
test ecx, ecx
jne 0x42305e
lea ecx, [ebp - 0xe4]
call fcn.00422c80
push eax
push str.EnumWindowCB
push str._X___s_Detected_title__ls_n
call fcn.00404c70
add esp, 0xc
mov ecx, 6
call fcn.00409180
nop
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe4]
call fcn.004039d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.004039d0
nop
jmp 0x422dcd
xor ecx, ecx
call fcn.004224b0
add eax, 0xc
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, 1
jmp 0x4230b8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret