Function at 0x100512d7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], 0xfffffff9
push edi
xor ebx, ebx
mov dword [ebp - 0x10], 0x93ee3274
inc esi
mov dword [ebp - 0x14], ebx
mov edi, ecx
mov dword [ebp - 0xc], 0xffffffff
push esi
lea ecx, [ebp - 0x28]
call fcn.1001a25e
mov dword [ebp - 0x14], 6
mov dword [ebp - 0xc], esi
mov dword [ebp - 0xc], ebx
jmp 0x10051327
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
mov dword [eax + ecx*4], 0x17be9fb1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x10051317
dec dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x28]
push 0xfffffffffffffffc
cmp dword [eax], esi
mov eax, dword [ebp - 0x14]
setl dl
xor ecx, ecx
cmp eax, edx
pop eax
setle cl
cmp eax, ecx
mov eax, dword [ebp - 8]
sbb ecx, ecx
xor edx, edx
neg ecx
cmp eax, ecx
setne dl
xor eax, eax
test edx, edx
sets al
add eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xc], 0xf
jmp 0x1005137e
mov dword [ebp - 0x14], 0x3700
cmp dword [ebp - 0x14], ebx
jne 0x10051384
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 9
jle 0x1005136f
lea ecx, [ebp - 0x28]
call fcn.1001ab22
push 0x2593
push 0x583c
push esi
push edi
push 0x7175
push 0x4615
call fcn.1004c246
mov dword [ebp - 8], 0x43d837bc
add esp, 0x18
mov dword [ebp - 0x14], 0xfffffffe
mov dword [ebp - 0x10], 0x9193c1de
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
jmp 0x100513d5
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x34], 0x624039b6
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jl 0x100513c7
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x100513fe
push 0xe93
push 0x871
push 0x2073
push 0x452
push ebx
call dword [sym.imp.USER32.dll_SetRect]
mov dword [ebp - 8], 2
cmp dword [ebp - 8], ebx
jl 0x10051461
mov dword [ebp - 0xc], 0xe1ca2961
mov dword [ebp - 0xc], 2
cmp dword [ebp - 0xc], ebx
jl 0x1005142b
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x34], ebx
jne 0x1005142b
dec dword [ebp - 0xc]
jns 0x1005141d
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x34], 0x2f38d927
jl 0x10051443
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x34], ebx
mov eax, esi
jne 0x10051445
mov eax, ebx
mov ecx, 0xe3cf9575
cmp ecx, eax
mov eax, dword [ebp - 0x14]
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setg cl
mov dword [ebp - 0x10], ecx
dec dword [ebp - 8]
jns 0x1005140a
push edi
call fcn.10025084
pop ecx
push 0xfffffffffffffffa
mov edi, eax
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 8], eax
jmp 0x10051505
mov dword [ebp - 0x10], 0x1d69f428
cmp dword [ebp - 8], ebx
jne 0x1005150f
mov dword [ebp - 0x10], 8
jmp 0x100514fc
mov dword [ebp - 0x14], 0xfffffffc
mov dword [ebp - 0xc], ebx
jmp 0x100514ab
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x1c], 0xb03629aa
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jl 0x1005149d
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x14], ebx
jl 0x100514f9
mov dword [ebp - 0xc], 8
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x100514db
push 0x248b
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 0xc], ebx
jmp 0x100514ee
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x1c], 0xffffffff
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jl 0x100514e0
dec dword [ebp - 0x14]
jns 0x100514b9
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xffffffe7
jle 0x10051491
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x16
je 0x10051478
mov eax, dword [ebp - 8]
dec eax
neg eax
sbb eax, eax
neg eax
cmp eax, dword [ebp - 8]
jg 0x10051523
cmp dword [ebp - 8], ebx
jne 0x10051525
mov esi, ebx
mov eax, edi
mov dword [ebp - 8], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret