Function at 0x42bae0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b4a0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x478584]
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 esi, ecx
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
lea eax, [edi + edi + 2]
call fcn.0043eb80
mov ecx, dword [esi + 4]
mov eax, esp
inc edi
push edi
push eax
push ecx
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [esi + 4]
push 0x45e71c
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], ebx
cmp eax, ebx
je 0x42bb5f
mov eax, dword [eax]
cmp eax, ebx
je 0x42bb5f
movzx ebx, word [eax]
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
test edi, edi
je 0x42bbae
test ebx, ebx
je 0x42bbae
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
add ecx, 2
push ebx
push ecx
push eax
call fcn.0043e4c0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea edx, [ebp - 0x14]
push edx
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
mov edx, dword [esi + 4]
push 0
push 0x4640bc
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0042b980
test eax, eax
jns 0x42bc0e
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42bbf0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42bc06
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
or eax, 0xffffffff
jmp 0x42bcc5
mov edi, dword [ebp - 0x18]
mov eax, dword [edi]
mov edx, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push 0x45f358
push edi
call edx
test eax, eax
jns 0x42bc4c
mov byte [ebp - 4], 1
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42bc47
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
or eax, 0xffffffff
jmp 0x42bcc5
mov ecx, dword [ebp - 0x1c]
mov eax, dword [esi + 4]
push ecx
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x42bc98
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push eax
call ebx
test eax, 0x10000
je 0x42bc98
mov eax, dword [esi + 4]
push 0xffffffffffffffec
push eax
call ebx
mov ecx, dword [esi + 4]
or eax, 0x10000
push eax
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
mov byte [ebp - 4], 1
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42bcc3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
lea esp, [ebp - 0x30]
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.0043dfbe
mov esp, ebp
pop ebp
ret 0x10