Function at 0x475729
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4a9450]
push ebx
xor ebx, ebx
push esi
cmp dword [ebp + 0x10], ebx
push edi
mov esi, ecx
mov dword [ebp - 4], eax
je 0x47585b
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, 0x40000
or eax, edi
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x27
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xc], eax
add eax, 2
push eax
lea ecx, [ebp - 4]
call fcn.00406846
test eax, eax
je 0x4757b2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add eax, 2
mov dword [ecx - 8], eax
mov ecx, dword [ebp - 4]
mov word [ecx + eax*2], bx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
inc ecx
push ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.004068ae
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.004064a9
push eax
push 0x4a9db4
lea ecx, [ebp - 0x10]
call fcn.004064a9
push eax
lea eax, [ebp - 0xc]
push 0x4a95b4
push eax
call fcn.0040673f
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040665f
lea ecx, [ebp - 0xc]
call fcn.00401085
lea ecx, [ebp - 0x10]
call fcn.00401085
lea ecx, [ebp - 0x14]
call fcn.00401085
push ebx
push 0x4aa044
lea ecx, [ebp - 8]
call fcn.004069b6
cmp eax, ebx
jle 0x475845
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 8]
call fcn.0040694d
push eax
lea ecx, [ebp - 8]
call fcn.004065e8
lea ecx, [ebp - 0x14]
call fcn.00401085
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 8]
call fcn.00401085
jmp 0x475860
mov edi, 0x40000
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
mov dword [ebp + 0xc], eax
je 0x4758a2
test edi, eax
je 0x475874
xor eax, edi
mov dword [ebp + 0xc], eax
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 3
stosd dword es:[edi], eax
pop eax
mov dword [ebp - 0x28], 0x14
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_FlashWindowEx]
mov edi, 0x40000
call fcn.0040d516
push dword [ebp + 0xc]
push 0x4a95b4
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp + 0x10], ebx
mov dword [ebp + 8], eax
je 0x475902
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
xor eax, edi
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x27
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp - 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 4]
call fcn.00401085
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0xc