Function at 0x529200
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c531e
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x6510e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x40], edi
mov esi, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x44], esi
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov eax, dword [0x67d6b8]
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x34], eax
test eax, eax
je 0x52969e
push 0
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x38], eax
cmp eax, dword [ebp - 0x30]
je 0x52929e
mov ecx, dword [ebp - 0x34]
call fcn.004d4710
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x2c], eax
test eax, eax
jle 0x529642
mov edi, dword [esi + 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], SysReAllocStringLen
cmp edx, edi
ja 0x5292df
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x5292d1
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], edx
mov word [eax + edx*2], cx
jmp 0x529489
mov eax, dword [esi + 0x14]
mov ecx, edx
sub ecx, edi
mov dword [ebp - 0x10], eax
sub eax, edi
mov dword [ebp - 0x20], ecx
cmp ecx, eax
ja 0x529325
cmp dword [ebp - 0x10], 8
mov eax, esi
mov dword [esi + 0x10], edx
mov dword [ebp - 0x18], esi
jb 0x529305
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
lea edi, [eax + edi*2]
test ecx, ecx
je 0x52931a
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov word [eax + edx*2], cx
jmp 0x529489
mov eax, dword [ebp - 0x28]
sub eax, edi
cmp eax, ecx
jb 0x529699
mov edi, edx
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x529346
mov edi, SysReAllocString
jmp 0x529366
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
shr ecx, 1
sub eax, ecx
cmp dword [ebp - 0x10], eax
jbe 0x52935c
mov edi, SysReAllocString
jmp 0x529366
mov eax, dword [ebp - 0x10]
add eax, ecx
cmp edi, eax
cmovb edi, eax
xor ecx, ecx
mov dword [ebp - 0x14], edi
add edi, 1
setb cl
neg ecx
or ecx, edi
cmp ecx, 0x7fffffff
ja 0x5296be
add ecx, ecx
cmp ecx, 0x1000
jb 0x5293b5
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x5296be
push eax
call fcn.00581343
add esp, 4
test eax, eax
je 0x5296b9
mov edx, dword [ebp - 0x1c]
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x5293ce
test ecx, ecx
je 0x5293cc
push ecx
call fcn.00581343
mov edx, dword [ebp - 0x1c]
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], eax
jmp 0x5293d1
xor edi, edi
mov dword [ebp - 0x24], edi
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], edx
lea ecx, [eax + eax]
push ecx
jb 0x529455
mov eax, dword [esi]
push eax
push edi
mov dword [ebp - 0x14], eax
call fcn.00582dc0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x20]
add edx, edi
test ecx, ecx
je 0x529415
xor eax, eax
mov edi, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov word [edi + eax*2], cx
mov eax, dword [ebp - 0x10]
lea ecx, [eax*2 + 2]
mov eax, dword [ebp - 0x14]
cmp ecx, 0x1000
jb 0x529449
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5296b9
mov eax, edx
push ecx
push eax
call fcn.005815c4
add esp, 8
jmp 0x529487
push esi
push edi
call fcn.00582dc0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x20]
add edx, edi
test ecx, ecx
je 0x52947e
xor eax, eax
mov edi, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov word [edi + eax*2], cx
mov dword [esi], edi
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x529493
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
cmp edx, eax
ja 0x5294c5
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x5294b7
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], edx
mov word [eax + edx*2], cx
jmp 0x529642
mov edi, dword [esi + 0x14]
mov ecx, edx
sub ecx, eax
mov dword [ebp - 0x14], edi
mov eax, edi
mov dword [ebp - 0x24], ecx
sub eax, dword [ebp - 0x10]
cmp ecx, eax
ja 0x529510
mov dword [esi + 0x10], edx
mov eax, esi
mov dword [ebp - 0x20], esi
cmp edi, 8
jb 0x5294ed
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
mov edi, dword [ebp - 0x10]
lea edi, [eax + edi*2]
test ecx, ecx
je 0x529505
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov word [eax + edx*2], cx
jmp 0x529642
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x10]
cmp eax, ecx
jb 0x529699
mov edi, edx
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x529532
mov edi, SysReAllocString
jmp 0x52954f
mov eax, dword [ebp - 0x14]
mov ecx, eax
shr ecx, 1
sub dword [ebp - 0x28], ecx
cmp eax, dword [ebp - 0x28]
jbe 0x529548
mov edi, SysReAllocString
jmp 0x52954f
add eax, ecx
cmp edi, eax
cmovb edi, eax
xor ecx, ecx
mov dword [ebp - 0x18], edi
add edi, 1
setb cl
neg ecx
or ecx, edi
cmp ecx, 0x7fffffff
ja 0x5296be
add ecx, ecx
cmp ecx, 0x1000
jb 0x52959e
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x5296be
push eax
call fcn.00581343
add esp, 4
test eax, eax
je 0x5296b9
mov edx, dword [ebp - 0x2c]
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x5295b7
test ecx, ecx
je 0x5295b5
push ecx
call fcn.00581343
mov edx, dword [ebp - 0x2c]
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], eax
jmp 0x5295ba
xor edi, edi
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x10], edx
lea ecx, [eax + eax]
push ecx
jb 0x529665
mov eax, dword [esi]
push eax
push edi
mov dword [ebp - 0x20], eax
call fcn.00582dc0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x24]
add edx, edi
test ecx, ecx
je 0x529602
xor eax, eax
mov edi, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [edi + eax*2], cx
mov eax, dword [ebp - 0x14]
lea ecx, [eax*2 + 2]
mov eax, dword [ebp - 0x20]
cmp ecx, 0x1000
jb 0x529636
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5296b9
mov eax, edx
push ecx
push eax
call fcn.005815c4
add esp, 8
mov dword [esi], edi
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x30]
je 0x529652
mov ecx, dword [ebp - 0x34]
call fcn.004d4850
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
push edi
call fcn.00582dc0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x24]
add edx, edi
test ecx, ecx
je 0x52968e
xor eax, eax
mov edi, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x529640
call fcn.004015ed
push str.invalid_internal_mutex
lea ecx, [ebp - 0x50]
call fcn.00478c10
push 0x64f074
lea eax, [ebp - 0x50]
push eax
call fcn.00582d4b
call fcn.00586698
call fcn.00401549
int3