Function at 0x4784b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538927
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x575494]
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, 0x5776a0
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x21d], 0
call fcn.00471480
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 0x478520
mov eax, dword [esi + 0xa4]
xor edx, edx
mov word [ebp - 0x21c], dx
cmp eax, ebx
je 0x478566
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, ebx
jg 0x478566
mov edx, dword [esi + 0xa0]
mov edi, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi + 0xa0], 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 0x4785ea
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x26c], ebx
mov ecx, esi
lea ebx, [ebp - 0x274]
call fcn.00507c00
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 0x4785ea
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 0x54ee24
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 0x47866c
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x260], ebx
mov ecx, esi
lea ebx, [ebp - 0x268]
call fcn.00507c00
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 0x47866c
lea edx, [esi + 1]
push edx
push 0x54ee24
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 0x47867f
mov eax, 0x54ee24
mov edi, dword [ebp - 0x224]
lea ecx, [ebp - 0x240]
push ecx
add edi, 0x1d0
push eax
lea esi, [ebp - 0x23c]
call fcn.00449150
mov edx, dword [ebp - 0x280]
cmp edx, ebx
jne 0x4786ad
mov edx, 0x54ee24
mov esi, dword [ebp - 0x23c]
mov eax, esi
cmp esi, ebx
jne 0x4786be
mov eax, 0x54ee24
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.00449030
mov byte [ebp - 4], 3
cmp dword [ebp - 0x248], ebx
jle 0x4787b5
mov eax, dword [ebp - 0x24c]
cmp eax, ebx
jne 0x4786f9
mov eax, 0x54ee24
mov ebx, dword [ebp - 0x224]
lea esi, [ebx + 0x428]
add ebx, 0x434
push ebx
push eax
call fcn.00449150
test al, al
je 0x47878d
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 + 0x21c]
add ecx, 0x208
push ecx
lea eax, [ebp - 0x258]
call fcn.005080c0
mov edx, dword [edi + 0x21c]
mov eax, dword [ebx]
cmp eax, dword [edx + 0x410]
jne 0x47876d
lea eax, [ebp - 0x258]
mov ecx, esi
call fcn.00445420
test al, al
je 0x478774
mov byte [ebp - 0x21d], 1
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x478793
push eax
call fcn.0051ebab
add esp, 4
jmp 0x478793
mov edi, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x24c]
test ecx, ecx
jne 0x4787a2
mov ecx, 0x54ee24
lea eax, [edi + 0x90]
call fcn.00405d30
mov esi, dword [ebp - 0x23c]
xor ebx, ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24c]
cmp eax, ebx
je 0x4787de
push eax
call fcn.0051ebab
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 0x4787ef
push esi
call fcn.0051ebab
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x230]
cmp eax, ebx
je 0x478806
push eax
call fcn.0051ebab
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x280]
cmp eax, ebx
je 0x478820
push eax
call fcn.0051ebab
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.0051eb9c
mov esp, ebp
pop ebp
ret 4