Function at 0x45bdc0
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x55e451
call fcn.00514868
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x14], ebx
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea esi, [ebx + 4]
push 8
lea eax, [ebp - 0x34]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x45be5e
push 0x5d51a4
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x45be5e
xor edi, edi
push edi
push 0x100
push edi
mov ecx, esi
call fcn.004030ee
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
movzx eax, al
cmp eax, 3
je 0x45be58
cmp eax, 4
je 0x45be58
cmp eax, 5
je 0x45be58
cmp eax, 6
je 0x45be58
cmp eax, 7
je 0x45be58
cmp eax, 8
je 0x45be58
cmp eax, 9
je 0x45be58
cmp eax, 0xd
je 0x45be58
cmp eax, 0xe
je 0x45be58
cmp eax, 0xf
jne 0x45be60
and byte [ebx + 0x58], 0xfe
jmp 0x45be60
xor edi, edi
push 0x7f89
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebx + 0x2c], eax
test byte [ebx + 0x58], 1
je 0x45be92
cmp dword [ebx + 0x34], edi
jne 0x45be86
call fcn.0045b645
mov dword [ebx + 0x34], eax
or byte [ebx + 0x58], 0x10
cmp dword [ebx + 0x30], edi
jne 0x45be92
mov ecx, ebx
call fcn.0045b9d7
push edi
push ecx
mov eax, esp
mov dword [eax], edi
push edi
push edi
push edi
push ecx
mov eax, esp
mov dword [eax], edi
push dword [esi]
lea ecx, [ebx + 0x48]
call fcn.0045b9a1
cmp dword [ebx + 0x24], edi
jne 0x45bf0c
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
jle 0x45bf0c
mov dword [ebp - 4], edi
lea eax, [esi + 1]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00514945
pop ecx
mov dword [ebx + 0x24], eax
or dword [ebp - 4], 0xffffffff
jmp 0x45bef6
cmp dword [ebx + 0x24], 0
je 0x45bf0c
lea eax, [esi + 1]
push eax
push dword [ebx + 0x24]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, ebx
call fcn.0045b780
cmp dword [ebx + 0x28], edi
jne 0x45bf34
mov eax, dword [ebx + 0x54]
shr eax, 2
test al, 1
jne 0x45bf34
cmp dword [ebx + 0x24], 0
je 0x45bf5e
push dword [ebx + 0x24]
mov ecx, ebx
call fcn.0045d3ff
jmp 0x45bf5e
push edi
push 1
push 0x401
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
lea eax, [ebx + 0x38]
push eax
mov edx, dword [ebx + 0x28]
push ecx
mov eax, esp
mov dword [eax], edx
push dword [ebx + 4]
lea ecx, [ebx + 0x48]
call fcn.0045b60a
test byte [ebx + 0x58], 1
je 0x45c006
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 2
push 0x2001f
push 0x5d51b8
push 0x80000001
lea ecx, [ebp - 0x24]
call fcn.0042ca27
test eax, eax
jne 0x45bffa
push 6
pop ecx
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
push 0xc
pop esi
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x5d5214
lea ecx, [ebp - 0x24]
call fcn.0045d38c
test eax, eax
jne 0x45bfcc
lea eax, [ebp - 0x4c]
push eax
call fcn.0045d560
pop ecx
cmp eax, 0xffffffff
je 0x45bfcc
mov dword [ebx + 0x4c], eax
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x5d5230
lea ecx, [ebp - 0x24]
call fcn.0045d38c
test eax, eax
jne 0x45bffa
lea eax, [ebp - 0x4c]
push eax
call fcn.0045d560
pop ecx
cmp eax, 0xffffffff
je 0x45bffa
mov dword [ebx + 0x50], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0042ba92
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret