Function at 0x4714e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cb77
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x559024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
push 0x7571
lea ecx, [ebp - 0x280]
push ecx
mov ecx, 0x55a400
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x21d], 0
call fcn.00467b90
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, 0x20a
lea eax, [ebp - 0x21c]
lea esp, [esp]
mov byte [eax], bl
inc eax
dec ecx
jne 0x471550
mov eax, dword [esi + 0x38]
xor edx, edx
mov word [ebp - 0x21c], dx
cmp eax, ebx
je 0x47158d
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, ebx
jg 0x47158d
mov edx, dword [esi + 0x34]
mov edi, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi + 0x34], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
call edi
mov esi, eax
cmp esi, ebx
jle 0x471611
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x26c], ebx
mov ecx, esi
lea ebx, [ebp - 0x274]
call fcn.004fca40
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
xor ebx, ebx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x228], eax
cmp ecx, ebx
je 0x471611
mov eax, dword [ebp - 0x230]
lea ecx, [esi + 1]
push ecx
lea edx, [ebp - 0x21c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 0x22c], esi
mov byte [ebp - 4], 1
push 0x538640
mov dword [ebp - 0x240], 0x11
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x234], ebx
call edi
mov esi, eax
cmp esi, ebx
jle 0x471693
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x260], ebx
mov ecx, esi
lea ebx, [ebp - 0x268]
call fcn.004fca40
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
xor ebx, ebx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x234], eax
cmp ecx, ebx
je 0x471693
lea edx, [esi + 1]
push edx
push 0x538640
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 0x238], esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x230]
cmp eax, ebx
jne 0x4716a6
mov eax, 0x538640
mov edi, dword [ebp - 0x224]
lea ecx, [ebp - 0x240]
push ecx
add edi, 0xd0
push eax
lea esi, [ebp - 0x23c]
call fcn.004408f0
mov edx, dword [ebp - 0x280]
cmp edx, ebx
jne 0x4716d4
mov edx, 0x538640
mov esi, dword [ebp - 0x23c]
mov eax, esi
cmp esi, ebx
jne 0x4716e5
mov eax, 0x538640
mov ecx, dword [ebp - 0x25c]
push eax
mov eax, dword [ebp - 0x240]
push eax
push ecx
lea eax, [ebp - 0x24c]
push eax
push edi
call fcn.004407d0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x248], ebx
jle 0x4717d3
mov eax, dword [ebp - 0x24c]
cmp eax, ebx
jne 0x471720
mov eax, 0x538640
mov ebx, dword [ebp - 0x224]
lea esi, [ebx + 0xec]
add ebx, 0xf8
push ebx
push eax
call fcn.004408f0
test al, al
je 0x4717ae
xor eax, eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], eax
mov edi, dword [ebp - 0x224]
mov byte [ebp - 4], 4
mov ecx, dword [edi + 0xe8]
push ecx
lea eax, [ebp - 0x258]
call fcn.004fcf00
mov edx, dword [edi + 0xe8]
mov eax, dword [ebx]
cmp eax, dword [edx + 0x208]
jne 0x47178e
lea eax, [ebp - 0x258]
mov ecx, esi
call fcn.0043cf70
test al, al
je 0x471795
mov byte [ebp - 0x21d], 1
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x4717b4
push eax
call fcn.005134a7
add esp, 4
jmp 0x4717b4
mov edi, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x24c]
test ecx, ecx
jne 0x4717c3
mov ecx, 0x538640
lea eax, [edi + 0x24]
call fcn.00402f90
mov esi, dword [ebp - 0x23c]
xor ebx, ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24c]
cmp eax, ebx
je 0x4717fc
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ebx
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x47180d
push esi
call fcn.005134a7
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x230]
cmp eax, ebx
je 0x471824
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x280]
cmp eax, ebx
je 0x47183e
push eax
call fcn.005134a7
add esp, 4
mov al, byte [ebp - 0x21d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00513498
mov esp, ebp
pop ebp
ret 4