Function at 0x102fe71
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x106ed40]
xor eax, dword [ebp + 4]
push ebx
push esi
mov dword [ebp - 4], eax
mov esi, ecx
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, 6
cmp dword [ebp + 8], 0
push edi
je 0x103005e
mov edi, 0x104
push edi
push eax
push dword [esi + 0x260]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
push edi
mov ebx, 0x20e
add eax, ebx
push eax
push dword [esi + 0x264]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x424]
call fcn.0102d015
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
lea ecx, [ebp - 0xc]
push ecx
add eax, 6
push eax
push edi
push eax
lea ecx, [ebp - 0x424]
call fcn.0104eaeb
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
call fcn.01008080
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
call fcn.0100808c
push eax
push dword [ebp + 8]
call fcn.010594f8
test eax, eax
mov dword [ebp - 8], eax
jne 0x102ff37
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x424], 0x1004aa4
call fcn.0104eae4
mov eax, 0x8007000e
jmp 0x10300ff
push edi
lea ecx, [ebp - 0x62c]
push ecx
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, 6
push eax
call fcn.0104e91a
test eax, eax
je 0x102ff7c
push edi
lea eax, [ebp - 0x62c]
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, 6
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add esp, 0xc
and word [eax + 0x20c], 0
mov ecx, dword [esi + 0x50]
push edi
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ecx + 0x54]
push 0
add eax, 6
push eax
call fcn.0102fcb7
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, ebx
push eax
call fcn.0104e2f5
cmp eax, 1
mov dword [ebp + 8], eax
jne 0x102fff8
push 0
push 0x45a3
call fcn.01008074
mov ecx, eax
call fcn.010579fc
test eax, eax
je 0x102fffe
lea eax, [ebp - 0x214]
push eax
mov eax, 0x45a3
push eax
push eax
push 0x1000000
push 2
push 0
push 0x313
push 0x1004a18
call fcn.01056fa7
push eax
call fcn.01008074
push eax
call fcn.01058315
add esp, 0x1c
cmp dword [ebp + 8], 0
jl 0x103003b
push edi
lea eax, [ebp - 0x214]
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, ebx
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
and word [eax + 0x414], 0
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add esp, 0xc
add eax, ebx
push eax
push dword [esi + 0x264]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 8]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x424], 0x1004aa4
call fcn.0104eae4
jmp 0x10300fd
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
push dword [esi + 0x260]
call edi
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx + 0x54]
push 0
add eax, 6
push eax
call fcn.0102fcb7
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
mov ebx, 0x20e
add eax, ebx
push eax
call fcn.0104eab7
test eax, eax
jne 0x10300df
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx + 0x54]
push dword [ebp + 8]
add eax, ebx
push eax
call fcn.0102fd93
test eax, eax
jne 0x10300df
push 0x104
lea ecx, [ebp - 0x214]
push ecx
push dword [ebp + 8]
mov word [ebp - 0x214], ax
push eax
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, ebx
push eax
call fcn.0104e518
test eax, eax
je 0x10300f0
lea eax, [ebp - 0x214]
jmp 0x10300e7
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, ebx
push eax
push dword [esi + 0x264]
call edi
mov ecx, esi
call fcn.0102d81b
mov dword [esi + 0x268], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
pop esi
pop ebx
call fcn.0104ab5e
leave
ret 4