Function at 0x10051060
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x6834]
mov eax, 0x6834
call fcn.100c8100
push 0xffffffffffffffff
push 0x100ea48b
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10144930]
xor eax, ebp
mov dword [ebp + 0x6830], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x20], edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
lea esi, [ebp + 0x3208]
call fcn.1003fc60
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
lea esi, [ebp]
call fcn.1000cc50
mov byte [ebp - 4], 1
add edi, 0x78
lea edx, [ebx + 3]
xor eax, eax
mov ecx, edi
call fcn.10046cb0
mov esi, eax
mov dword [ebp - 0x34], esi
push 0x200
push ebx
lea eax, [ebp + 0x6630]
push eax
call fcn.100c7d20
push 0x2000
push ebx
lea ecx, [ebp + 0x3e30]
push ecx
call fcn.100c7d20
push 0x800
push ebx
lea edx, [ebp + 0x5e30]
push edx
call fcn.100c7d20
add esp, 0x24
lea ebx, [ebp + 0x6630]
call fcn.1004ee80
test eax, eax
jne 0x1005126e
push str._NAVI_INFO
push 0x100
mov eax, ebx
push eax
call fcn.100c6a59
add esp, 0xc
lea ebx, [ebp - 0x14]
lea edx, [ebp + 0x6630]
mov ecx, esi
call fcn.100466e0
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x1005126e
push edi
mov edx, dword [ebp - 0x14]
lea ecx, [ebp + 0x3208]
call fcn.1003ffb0
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x1005126e
push 0x1000
lea ecx, [ebp + 0x3e30]
push ecx
lea edx, [ebp + 0x3208]
push edx
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.10043a50
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x1005126e
lea edi, [ebp + 0x3e30]
xor esi, esi
mov dword [ebp - 0x38], esi
mov ebx, dword [ebp - 0x1c]
jmp 0x100511b0
cmp esi, ebx
jge 0x1005126e
test edi, edi
je 0x1005126e
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100511c5
sub eax, edx
sar eax, 1
je 0x1005126e
push edi
lea eax, [ebp + 0x3208]
push eax
lea ecx, [ebp + 0x5e30]
mov edx, dword [ebp - 0x14]
call fcn.10041730
test eax, eax
jne 0x1005124b
push 0x3208
push eax
lea ecx, [ebp]
push ecx
call fcn.100c7d20
lea edx, [ebp + 0x5e30]
push edx
push 0x100
lea eax, [ebp]
push eax
call fcn.100c6466
push edi
push 0x400
lea ecx, [ebp + 0x200]
push ecx
call fcn.100c6466
add esp, 0x24
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xe6b4]
lea ecx, [ebp]
push ecx
push 0xd
push 0x1413
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10051250
sub eax, edx
sar eax, 1
lea edi, [edi + eax*2 + 2]
add esi, 1
mov dword [ebp - 0x38], esi
jmp 0x100511b0
push 0x200
push 0
lea eax, [ebp + 0x6630]
push eax
call fcn.100c7d20
push 0x2000
push 0
lea ecx, [ebp + 0x3e30]
push ecx
call fcn.100c7d20
push 0x800
push 0
lea edx, [ebp + 0x5e30]
push edx
call fcn.100c7d20
add esp, 0x24
mov esi, dword [ebp - 0x20]
lea edi, [esi + 0x78]
lea ebx, [ebp + 0x6630]
call fcn.1004edc0
test eax, eax
jne 0x1005142b
push str._NAVI_INFO
push 0x100
mov eax, ebx
push eax
call fcn.100c6a59
add esp, 0xc
lea ebx, [ebp - 0x14]
lea edx, [ebp + 0x6630]
mov ecx, dword [ebp - 0x34]
call fcn.100466e0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10051301
mov dword [ebp - 0x28], eax
push 0x1012ac78
lea ecx, [ebp - 0x28]
push ecx
call fcn.100c80ad
push edi
mov edx, dword [ebp - 0x14]
lea ecx, [ebp + 0x3208]
call fcn.1003ffb0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10051328
mov dword [ebp - 0x30], eax
push 0x1012ac78
lea edx, [ebp - 0x30]
push edx
call fcn.100c80ad
push 0x1000
lea eax, [ebp + 0x3e30]
push eax
lea ecx, [ebp + 0x3208]
push ecx
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.10043a50
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1005135e
mov dword [ebp - 0x24], eax
push 0x1012ac78
lea edx, [ebp - 0x24]
push edx
call fcn.100c80ad
lea edi, [ebp + 0x3e30]
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
cmp ebx, dword [ebp - 0x1c]
jge 0x1005142b
test edi, edi
je 0x1005142b
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10051380
sub eax, edx
sar eax, 1
je 0x1005142b
push edi
lea eax, [ebp + 0x3208]
push eax
lea ecx, [ebp + 0x5e30]
mov edx, dword [ebp - 0x14]
call fcn.10041730
test eax, eax
jne 0x10051403
push 0x3208
push eax
lea ecx, [ebp]
push ecx
call fcn.100c7d20
lea edx, [ebp + 0x5e30]
push edx
push 0x100
lea eax, [ebp]
push eax
call fcn.100c6466
push edi
push 0x400
lea ecx, [ebp + 0x200]
push ecx
call fcn.100c6466
add esp, 0x24
mov eax, dword [esi + 0xe6b4]
lea edx, [ebp]
push edx
push 0xd
push 0x1413
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, edi
lea edx, [eax + 2]
jmp 0x10051410
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10051410
sub eax, edx
sar eax, 1
lea edi, [edi + eax*2 + 2]
add ebx, 1
jmp 0x10051366
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10051441
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x3208]
call fcn.1003fcf0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6830]
xor ecx, ebp
call fcn.100c59be
add ebp, 0x6834
mov esp, ebp
pop ebp
ret