Function at 0x422b10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c8e1
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x465944]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
xor eax, eax
mov dword [ebp - 4], 0
xor ebx, ebx
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x238], eax
mov ecx, 0x466d80
mov byte [ebp - 4], 1
call fcn.0040d4d0
mov ecx, eax
call fcn.00410300
mov dword [ebp - 0x250], eax
mov ecx, edi
lea eax, [ebp - 0x234]
push eax
push esi
call fcn.00422910
mov ecx, dword [ebp - 0x230]
xor eax, eax
mov edi, dword [ebp - 0x234]
sub ecx, edi
sar ecx, 2
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x224], eax
test ecx, ecx
jle 0x422db3
mov edx, dword [ebp - 0x21c]
cmp dword [edx], 0
je 0x422d9c
mov esi, dword [edi + eax*4]
push 0
push dword [ebp - 0x248]
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
mov dword [ebp - 0x244], 0
test edi, edi
je 0x422c4d
nop
lea eax, [ebp - 0x244]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x244], esi
je 0x422c4f
push 0
push dword [ebp - 0x248]
push edi
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
test edi, edi
jne 0x422c20
xor edi, edi
push edi
mov dword [ebp - 0x24c], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x422d84
cmp dword [ebp - 0x250], 0
je 0x422d3f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0042c930
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x422d84
mov ecx, 0x466d80
call fcn.0040d4d0
mov ecx, eax
call fcn.004102e0
push eax
lea ecx, [ebp - 0x254]
call fcn.00406950
mov esi, dword [ebp - 0x254]
lea eax, [ebp - 0x218]
push eax
push esi
mov byte [ebp - 4], 2
call fcn.0042f6f8
add esp, 8
test eax, eax
jne 0x422d17
cmp dword [ebp - 0x228], ebx
je 0x422cf2
mov dword [ebx], edi
add ebx, 4
mov dword [ebp - 0x23c], ebx
jmp 0x422d17
lea eax, [ebp - 0x24c]
push eax
push ebx
lea ecx, [ebp - 0x240]
call fcn.004155b0
mov eax, dword [ebp - 0x238]
mov ebx, dword [ebp - 0x23c]
mov dword [ebp - 0x228], eax
lea eax, [esi - 0xc]
mov byte [ebp - 4], 1
cmp eax, dword [0x4644d8]
je 0x422d84
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x422d84
push esi
call fcn.00425cdd
add esp, 4
jmp 0x422d84
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x422d84
cmp dword [ebp - 0x228], ebx
je 0x422d5f
mov dword [ebx], edi
add ebx, 4
mov dword [ebp - 0x23c], ebx
jmp 0x422d84
lea eax, [ebp - 0x24c]
push eax
push ebx
lea ecx, [ebp - 0x240]
call fcn.004155b0
mov eax, dword [ebp - 0x238]
mov ebx, dword [ebp - 0x23c]
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
mov edi, dword [ebp - 0x234]
mov eax, dword [ebp - 0x224]
inc eax
mov dword [ebp - 0x224], eax
cmp eax, ecx
jl 0x422bf1
mov edx, dword [ebp - 0x240]
jmp 0x422db5
xor edx, edx
mov eax, dword [ebp - 0x21c]
sub ebx, edx
and ebx, 0xfffffffc
cmp ebx, 4
jne 0x422dcd
mov ecx, dword [eax]
mov eax, dword [edx]
mov dword [ecx], eax
jmp 0x422dd5
mov eax, dword [eax]
mov dword [eax], 0
xor eax, eax
cmp eax, dword [ebp - 0x220]
sbb esi, esi
neg esi
test edx, edx
je 0x422e14
mov ecx, dword [ebp - 0x228]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x422e0a
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422e67
push ecx
push edx
call fcn.0042a10a
add esp, 8
test edi, edi
je 0x422e47
mov ecx, dword [ebp - 0x22c]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x422e3d
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422e6c
push ecx
push edi
call fcn.0042a10a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042a853
mov esp, ebp
pop ebp
ret 0xc
call fcn.0042f439
call fcn.0042f439
int3