Function at 0x42ba90
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x464eb0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x47a770]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a770]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
push 5
mov dword [esp + 0x6c], 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push 0x50
mov esi, eax
call fcn.0042e10b
push 0x50
mov ebx, eax
push 0
push ebx
mov dword [esp + 0x30], ebx
call fcn.0044eac0
add esp, 0x10
call fcn.0042eec8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42bb0f
push 0x80004005
call fcn.004020f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
push str.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 2
call fcn.0042a2b0
mov byte [esp + 0x68], 3
test esi, esi
je 0x42bc4d
mov ebp, dword [sym.imp.USER32.dll_GetClassNameA]
mov dword [esp + 0x14], ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextA]
nop
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0xff
or eax, ecx
jge 0x42bb76
push 0xff
lea ecx, [esp + 0x20]
call fcn.00401ef0
mov edi, dword [esp + 0x1c]
push 0x104
push edi
push esi
call ebp
push 0x32
lea ecx, [esp + 0x2c]
push ecx
push esi
call ebx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push 0x46e730
push eax
call fcn.00401b30
mov ecx, dword [esp + 0x80]
push 0x46eae8
push ecx
call fcn.0044d749
add esp, 0x14
test eax, eax
setne al
xor ecx, ecx
test al, al
mov eax, dword [esp + 0x70]
je 0x42bc09
test eax, eax
setne cl
test ecx, ecx
je 0x42bb05
push eax
push edi
call fcn.0044d749
add esp, 8
test eax, eax
sete al
test al, al
je 0x42bc36
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x42bc36
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jl 0x42bc36
push ecx
push eax
call fcn.0044d4ee
add esp, 8
test eax, eax
je 0x42bc36
sub eax, dword [esp + 0x18]
js 0x42bc36
jmp 0x42bc29
test eax, eax
setne cl
test ecx, ecx
je 0x42bb05
push eax
push edi
call fcn.0044d749
add esp, 8
test eax, eax
sete al
test al, al
je 0x42bc36
mov eax, dword [esp + 0x14]
mov dword [eax], esi
add eax, 4
mov dword [esp + 0x14], eax
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x42bb50
mov ebx, dword [esp + 0x20]
mov byte [esp + 0x68], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42bc72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x68], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bc93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bcb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bce0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0044b460
add esp, 0x58
ret 8