Function at 0x47f7e0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bf8b8
push eax
mov eax, 0x2260
mov dword fs:[0], esp
call fcn.004b0790
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp esi, ebx
je 0x47fb5b
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x47f828
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x47f828
mov dword [esi + 0x18], ebx
mov dword [esi + 4], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x47f838
cmp eax, dword [ebp + 0xc]
jne 0x47fb5b
mov eax, dword [esi + 0x47c]
push edi
push eax
lea ecx, [ebp - 0x24]
call fcn.004a4840
mov edi, dword [ebp + 0x1c]
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp dword [esi + 4], ebx
jne 0x47f872
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp + 0x2c]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
mov edx, dword [ebp + 0xc]
mov ecx, esi
mov dword [esi + 4], edx
call fcn.0047be30
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
push ecx
mov dword [esi + 0x20], eax
call fcn.004ad2c0
lea ecx, [esi + 0x4c]
add esp, 4
mov dword [esi + 0x48], edi
cmp eax, ecx
je 0x47f8b1
cmp eax, ebx
jne 0x47f8a4
mov eax, 0x4c1318
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [esi + 0x47c]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
add ecx, 8
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], ebx
mov dword [esi + 0x24], 0
call fcn.0049ca00
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x47c]
test eax, eax
je 0x47f8ff
push 0
push eax
call fcn.0049fc10
add esp, 8
test al, al
je 0x47f8ff
mov ecx, dword [esi + 0x3bf8]
call fcn.00470bb0
push 0x48c
lea edx, [ebp - 0x226c]
push 0x2e
push edx
call fcn.00424880
mov ecx, dword [0x50b384]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2230], ecx
mov ecx, dword [esi + 0x47c]
add esp, 0xc
add ecx, 8
mov dword [ebp - 0x223c], eax
call fcn.0049ca00
mov ecx, dword [esi + 0x47c]
add ecx, 8
mov dword [ebp - 0x222c], eax
call fcn.0049ca10
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x2228], eax
xor eax, eax
mov dword [ebp - 0x2200], eax
mov dword [ebp - 0x21fc], eax
mov dword [ebp - 0x21f8], eax
mov dword [ebp - 0x21f4], eax
lea eax, [ebp - 0x2200]
mov dword [ebp - 0x2224], edx
mov edx, ebx
push eax
mov ecx, edi
push edx
push ecx
mov dword [ebp - 0x2208], ecx
mov dword [ebp - 0x2204], edx
call fcn.00478d60
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ebp - 0x2238], ecx
test eax, eax
je 0x47f9b6
push eax
lea edx, [ebp - 0x21f0]
push edx
call fcn.0040f030
add esp, 8
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
call ebx
cmp dword [esi + 0x6b4], 0
mov edi, eax
je 0x47f9dd
cmp dword [esi + 0x480], 0
jne 0x47f9dd
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x498]
test eax, eax
jne 0x47f9ed
mov eax, dword [esi + 0x480]
mov ecx, dword [0x50b384]
push 0
push 0
push ecx
lea edx, [ebp - 0x226c]
push edx
push eax
call fcn.00425110
add esp, 0x14
push eax
push str.ExecuteSrvCmd
mov dword [ebp - 0x20], eax
call ebx
mov ecx, dword [0x50b3a4]
sub eax, edi
push eax
push edi
push 0
lea eax, [ebp - 0x226c]
push eax
call fcn.0044f9e0
cmp dword [ebp - 0x20], 0
je 0x47fa3d
lea ecx, [ebp - 0x20]
push ecx
call fcn.004247c0
add esp, 4
cmp dword [esi + 4], 0
je 0x47fb4b
mov ecx, dword [esi + 0x47c]
add ecx, 8
mov dword [esi + 0x38], 1
call fcn.0049ca00
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [ebp - 0x34]
mov edi, eax
push edx
push edi
call ebx
push 2
lea eax, [ebp - 0x34]
push eax
push edi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea ecx, [ebp - 0x34]
push ecx
push edi
call dword [sym.imp.USER32.dll_ValidateRect]
mov eax, dword [esi + 4]
lea edx, [ebp + 0xc]
push edx
push eax
mov dword [ebp + 0xc], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov edx, dword [esi + 4]
push edx
call fcn.004acc10
mov ecx, dword [esi + 0x47c]
add esp, 4
add ecx, 8
call fcn.0049ca10
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
call ebx
mov eax, dword [ebp - 0x21fc]
mov edx, dword [ebp - 0x2200]
mov ecx, dword [ebp - 0x21f8]
add dword [ebp - 0x18], eax
add dword [ebp - 0x1c], edx
add dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x21f4]
add dword [ebp - 0x10], edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.00478ce0
mov ecx, dword [esi + 4]
push 0x3ff
lea edi, [esi + 0xcd4]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esi + 0x1cd8]
push edi
push edx
call fcn.0047c6f0
xor eax, eax
add esp, 8
mov ecx, esi
mov word [esi + 0x2598], ax
mov dword [esi + 0x2f18], eax
call fcn.0047f5b0
mov ecx, dword [esi + 0x47c]
push 1
call fcn.004a5a10
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.004a4770
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x28