Function at 0x52c5b0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x64f207
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x324], eax
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x338]
mov dword fs:[0], eax
mov eax, ecx
mov ebp, dword [esp + 0x348]
mov edx, dword [eax + 0x254]
xor edi, edi
push 0x104
cmp dword [eax + 0x25c], edi
je 0x52c61e
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x52c97c
jmp 0x52c695
lea ecx, [esp + 0x234]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x52c97c
push edi
lea ecx, [esp + 0x234]
xor eax, eax
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
mov word [esp + 0x1c], ax
call fcn.00401980
mov dword [esp + 0x340], edi
mov ecx, dword [esp + 0x10]
cmp ecx, edi
jne 0x52c669
lea ecx, [esp + 0x14]
lea edx, [esp + 0x28]
lea ecx, [ecx]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, di
jne 0x52c670
mov dword [esp + 0x340], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004011f0
cmp dword [0x74ea10], edi
je 0x52c7a6
mov eax, dword [0x74eb94]
cmp eax, edi
jne 0x52c6af
mov eax, 0x74eb98
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.0061554b
lea ecx, [esp + 0x30]
add esp, 8
cmp eax, ecx
jne 0x52c7a6
mov eax, dword [0x74eb94]
cmp eax, edi
jne 0x52c6d7
mov eax, 0x74eb98
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x52c6e0
sub eax, edx
sar eax, 1
lea eax, [esp + eax*2 + 0x28]
xor edx, edx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
mov word [esp + 0x24], dx
call fcn.004017f0
mov dword [esp + 0x340], 1
xor ecx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
mov word [esp + 0x14], cx
mov byte [esp + 0x340], 2
mov eax, dword [esp + 0x1c]
cmp eax, edi
jne 0x52c73a
lea eax, [esp + 0x20]
mov ecx, dword [0x74eafc]
cmp ecx, edi
jne 0x52c749
mov ecx, 0x74eb00
push edi
push eax
push ecx
push 0x66add0
lea ecx, [esp + 0x20]
call fcn.00402320
mov ecx, dword [esp + 0x10]
cmp ecx, edi
jne 0x52c766
lea ecx, [esp + 0x14]
lea edx, [esp + 0x28]
lea ebx, [ebx]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, di
jne 0x52c770
mov byte [esp + 0x340], 1
lea ecx, [esp + 0x10]
call fcn.004011f0
mov dword [esp + 0x340], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004011f0
cmp dword [0x74ea14], edi
je 0x52c875
mov eax, dword [0x74ebac]
cmp eax, edi
jne 0x52c7c0
mov eax, 0x74ebb0
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.0061554b
lea ecx, [esp + 0x30]
add esp, 8
cmp eax, ecx
jne 0x52c875
mov eax, dword [0x74ebac]
cmp eax, edi
jne 0x52c7e8
mov eax, 0x74ebb0
lea edx, [eax + 2]
jmp 0x52c7f0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x52c7f0
sub eax, edx
sar eax, 1
xor edx, edx
lea eax, [esp + eax*2 + 0x28]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edi
mov word [esp + 0x20], dx
mov dword [esp + 0x340], 3
mov ecx, dword [0x74eba0]
cmp ecx, edi
jne 0x52c82c
mov ecx, 0x74eba4
push edi
push eax
push ecx
push 0x66add0
lea ecx, [esp + 0x2c]
call fcn.00402320
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
jne 0x52c849
lea ecx, [esp + 0x20]
lea edx, [esp + 0x28]
lea ecx, [ecx]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, di
jne 0x52c850
mov dword [esp + 0x340], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004011f0
lea eax, [esp + 0x28]
push 0x66e1b0
push eax
call fcn.0061554b
add esp, 8
test eax, eax
jne 0x52c970
xor ecx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
mov word [esp + 0x14], cx
mov dword [esp + 0x340], 4
lea edx, [esp + 0x10]
push edx
call fcn.0044b4f0
mov edx, dword [esp + 0x14]
add esp, 4
mov eax, edx
cmp edx, edi
jne 0x52c8c4
lea eax, [esp + 0x14]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x52c8c7
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, edi
jne 0x52c8e0
lea ecx, [esp + 0x14]
cmp word [ecx + eax*2 - 2], 0x5c
mov ecx, 0x66b970
jne 0x52c8f2
mov ecx, 0x66bc68
mov eax, edx
cmp edx, edi
jne 0x52c8fc
lea eax, [esp + 0x14]
push edi
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
push 0x66ee64
mov ecx, ebp
call fcn.004118f0
mov ecx, ebp
call fcn.004011e0
push 0x6737c0
push eax
call fcn.0061554b
add esp, 8
test eax, eax
je 0x52c95a
lea esp, [esp]
push 0x66b970
push 0x6737c0
mov ecx, ebp
call fcn.0043b690
mov ecx, ebp
call fcn.004011e0
push 0x6737c0
push eax
call fcn.0061554b
add esp, 8
test eax, eax
jne 0x52c930
mov dword [esp + 0x340], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004011f0
jmp 0x52c97c
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call fcn.004017f0
mov ecx, dword [esp + 0x338]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x324]
xor ecx, esp
call fcn.00613241
add esp, 0x334
ret 4