Function at 0x4476f5
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x47e5d0]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a8]
push ebx
mov ebx, dword [ebp + 0x1a4]
push esi
push edi
mov dword [ebp - 0x7c], eax
xor eax, eax
xor esi, esi
mov dword [ebp - 0x78], esi
lea edi, [ebp - 0x74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0xff
push edi
lea eax, [ebp + 0x99]
push esi
push eax
mov byte [ebp + 0x98], 0
call fcn.00452e00
add esp, 0xc
cmp ebx, esi
je 0x4478e0
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4478e0
lea eax, [ebp - 0x78]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x78]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004474d2
push edi
lea eax, [ebp + 0x98]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
push 0xd5
push ebx
call edi
mov esi, eax
test esi, esi
jns 0x4477a6
xor eax, eax
lea ecx, [eax + 0x100]
mov eax, 0x1000
cmp ecx, eax
jle 0x4477c4
test esi, esi
jns 0x4477bd
xor eax, eax
jmp 0x4477bf
mov eax, esi
add eax, 0x100
push 1
push eax
call fcn.00452b24
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
test eax, eax
je 0x4478e0
push eax
push esi
push 0xd
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0
push 0xfffffffffffffffa
push ebx
call esi
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x78]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push 0xfffffffffffffff0
push ebx
call esi
or eax, dword [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
lea eax, [ebp + 0x98]
push eax
push 0xffffffffffffffec
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x44785c
push eax
push 0xff
lea eax, [ebp - 0x68]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1200
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, ebx
jmp 0x4478e2
push 0xfffffffffffffff4
push ebx
call esi
push eax
push 0xfffffffffffffff4
push dword [ebp - 0x7c]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xffffffffffffffeb
push ebx
call esi
push eax
push 0xffffffffffffffeb
push dword [ebp - 0x7c]
call dword [sym.imp.USER32.dll_SetWindowLongA]
xor esi, esi
push esi
push esi
push 0x31
push ebx
call edi
test eax, eax
je 0x44789b
push esi
push esi
push esi
push 0x31
push ebx
call edi
push eax
push 0x30
push dword [ebp - 0x7c]
call edi
push esi
push esi
push esi
push 0xc5
push ebx
call edi
mov esi, dword [ebp - 0x7c]
push eax
push 0xd5
push esi
call edi
push dword [ebp - 0x80]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [ebp - 0x80]
call fcn.00452756
pop ecx
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, esi
jmp 0x4478e2
xor eax, eax
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00452dee
add ebp, 0x19c
leave
ret 8