Function at 0x4598f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564795
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x458
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.00459f50
mov edi, eax
lea eax, [ebp - 0x260]
push 0x100
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
sub esp, 0x18
mov byte [ebp - 0xd], 0
mov ecx, esp
mov byte [ebp - 0xe], 0
push 0x1a
push str.Windows.UI.Core.CoreWindow
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp - 0x20]
call fcn.00437680
add esp, 0x18
mov dword [ebp - 4], 0
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459990
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.00424490
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov edx, dword [ebp - 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4599ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00424b70
lea ecx, [ebp - 0x14]
call fcn.00437900
add esp, 0x18
mov ecx, dword [eax]
lea eax, [ebp - 0x260]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x459a16
test dx, dx
je 0x459a12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x459a16
add eax, 4
add ecx, 4
test dx, dx
jne 0x4599f0
xor esi, esi
jmp 0x459a1b
sbb esi, esi
or esi, 1
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x459a33
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x459b0f
push 0x100
lea eax, [ebp - 0x460]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [0x5a36bc]
jne 0x459aab
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x38]
push eax
push edi
call esi
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call esi
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x48]
jne 0x459aa1
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x40]
jne 0x459aa1
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x44]
jne 0x459aa1
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x3c]
je 0x459aab
mov ecx, dword [ebp - 0x18]
mov bl, 1
mov dword [ecx + 4], edi
jmp 0x459ab1
mov ecx, dword [ebp - 0x18]
mov bl, byte [ebp - 0xd]
mov ecx, dword [ecx + 8]
lea edx, [ebp - 0x14]
push edx
push edi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x459b0f
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
push edx
push 0x2719
push ecx
mov eax, dword [ecx]
call dword [eax + 0x40]
test eax, eax
jne 0x459af8
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x459b0f
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
push ecx
push esi
call dword [eax + 0x2c]
cmp dword [ebp - 0x24], 0
mov eax, dword [esi]
push esi
setne byte [ebp - 0xe]
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp byte [ebp - 0xe], 0
je 0x459b0f
test bl, bl
je 0x459b0f
mov bl, 1
jmp 0x459b11
xor bl, bl
mov ecx, dword [ebp - 0x4c]
cmp ecx, 8
jb 0x459b47
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x459b3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459b5a
push ecx
push edx
call fcn.00532241
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.005370ef
int3