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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510c40
mov eax, dword fs:[0]
push eax
mov eax, 0x2ca8
call fcn.004f4290
mov eax, dword [0x5836e0]
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 ebx, ecx
mov dword [ebp - 0x2ca0], ebx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2ca4], esi
mov dword [ebp - 0x2c98], eax
test ebx, ebx
je 0x49274b
cmp dword [ebx + 0x18], 0
je 0x492297
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x49226e
and dword [ebx + 0x2c], eax
and dword [ebx + 0x18], eax
cmp dword [ebx + 0x18], 0
je 0x492297
cmp dword [ebx + 0x18], esi
je 0x492297
push 0
push 0x38f5
push 0x555710
push str.m_ChildGui.hGuiWndNULL
call fcn.0041f6df
add esp, 0x10
jmp 0x49274b
push dword [ebx]
lea ecx, [ebp - 0x2cb4]
call fcn.004d83c4
mov ecx, dword [0x5a23ec]
and dword [ebp - 4], 0
push 1
call fcn.004673c5
test eax, eax
je 0x492461
mov ecx, dword [ebp - 0x2cb0]
lea ecx, [ecx + 0xc]
call fcn.004cfc34
push dword [ebp + 0x1c]
mov dword [ebp - 0x2c94], eax
push dword [ebp + 8]
push eax
lea eax, [ebp - 0xa38]
push str.SetGuiMode:_BackWndx_08X__Flagsx_04X__PID_u
push eax
call fcn.0040111a
add esp, 0x14
xor ebx, ebx
push 0x206
xor edi, edi
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.004f5a90
mov eax, ebx
add esp, 0xc
sub eax, edi
je 0x492384
sub eax, 1
je 0x492365
sub eax, 1
je 0x492343
sub eax, 1
jne 0x4923e4
test esi, esi
je 0x49243e
push 0x102
lea eax, [ebp - 0x218]
mov edi, str.Title
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4923e4
test esi, esi
je 0x49243e
push 0x102
lea eax, [ebp - 0x218]
mov edi, str.Class
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
jmp 0x4923e4
push 0x103
push dword [ebp - 0x2c98]
lea eax, [ebp - 0x218]
mov edi, str.File
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x4923e4
test esi, esi
je 0x49243e
lea eax, [ebp - 0xa48]
push eax
push dword [ebp - 0x2c94]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0xa3c]
lea eax, [ebp - 0x218]
push dword [ebp - 0xa40]
push dword [ebp - 0xa44]
push dword [ebp - 0xa48]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x2c94]
push esi
push str.hGuiWndx_08X__Stylex_08X__StyleExx_08X__Prev_i__i__i__i__Back_i__i__i__i
push eax
call fcn.0048210b
add esp, 0x38
push 0x524e60
push 0x410
lea eax, [ebp - 0xa38]
push eax
call fcn.004019cd
test edi, edi
je 0x492425
push edi
mov edi, 0x410
lea eax, [ebp - 0xa38]
push edi
push eax
call fcn.004019cd
push 0x5594a8
push edi
lea eax, [ebp - 0xa38]
push eax
call fcn.004019cd
jmp 0x49242a
mov edi, 0x410
lea eax, [ebp - 0x218]
push eax
push edi
lea eax, [ebp - 0xa38]
push eax
call fcn.004019cd
inc ebx
cmp ebx, 3
jle 0x4922ee
mov ebx, dword [ebp - 0x2ca0]
lea eax, [ebp - 0xa38]
push 1
push 1
push eax
mov ecx, dword [ebx + 4]
call fcn.00410feb
push dword [ebp + 0x1c]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp dword [ebx + 0x18], 0
jne 0x492480
lea edi, [ebx + 0x38]
lea esi, [ebp + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x2ca4]
mov eax, dword [ebp + 8]
push dword [ebp - 0x2c98]
mov dword [ebx + 0x34], eax
call fcn.004e5a5b
pop ecx
push eax
push dword [ebp + 0x20]
mov ecx, ebx
push dword [ebp + 0x1c]
push esi
call fcn.00498200
mov edi, dword [ebp + 0x10]
mov eax, edi
shr eax, 0x1c
not al
mov dword [ebx + 0x50], edi
and al, 1
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4d], al
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x54], eax
test esi, esi
je 0x4924cb
mov ecx, dword [ebx]
add ecx, 0xc
call fcn.004d0fac
mov ecx, ebx
call fcn.00488dad
mov ecx, dword [ebx]
add ecx, 0xc
call fcn.004cfc3f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx]
test ecx, ecx
je 0x4924f4
push 0
call fcn.004e1974
jmp 0x4924f6
xor al, al
test al, al
je 0x492505
mov ecx, dword [ebx + 0x4294]
call fcn.0047d5f7
push 0x698
lea eax, [ebp - 0x2c90]
push 0x2e
push eax
call fcn.004e5fd1
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [ebx]
mov dword [ebp - 0x2c60], eax
add ecx, 0xc
mov eax, dword [0x5a22a4]
mov dword [ebp - 0x2c50], eax
call fcn.004cfc3f
mov ecx, dword [ebx]
add ecx, 0xc
mov dword [ebp - 0x2c4c], eax
call fcn.004cfc34
mov dword [ebp - 0x2c48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c24], eax
xor eax, eax
mov dword [ebp - 0x2c28], edi
lea edi, [ebp - 0x2c20]
mov dword [ebp - 0x2c44], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebx + 0x70]
push eax
lea eax, [ebp - 0x2c20]
push eax
push dword [ebp - 0x2c24]
push dword [ebp - 0x2c28]
call fcn.00484b6b
mov eax, dword [ebp + 0x1c]
add esp, 0x10
mov dword [ebp - 0x2c5c], eax
mov eax, dword [ebp - 0x2c98]
test eax, eax
je 0x4925b4
push eax
push 0x208
lea eax, [ebp - 0x2a08]
push eax
call fcn.00401a0b
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
mov ecx, dword [ebx + 0x60c]
mov edi, eax
test ecx, ecx
jne 0x4925ce
mov ecx, dword [ebx + 0x5d8]
xor eax, eax
push eax
push eax
push eax
push dword [0x5a22a4]
lea eax, [ebp - 0x2c90]
push eax
push ecx
call fcn.004e6070
add esp, 0x18
mov dword [ebp - 0x2c9c], eax
push eax
push 0x556fb8
call esi
sub eax, edi
push eax
push edi
lea eax, [ebp - 0x2c90]
push 0
push eax
call fcn.004af4e3
add esp, 0x18
cmp dword [ebp - 0x2c9c], 0
je 0x492622
lea eax, [ebp - 0x2c9c]
push eax
call fcn.004e5ccc
pop ecx
cmp dword [ebx + 0x18], 0
je 0x492740
mov ecx, dword [ebx]
add ecx, 0xc
mov byte [ebx + 0x4b], 1
call fcn.004cfc3f
mov esi, eax
lea eax, [ebp - 0xa58]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0xa58]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0xa58]
push eax
push esi
call dword [sym.imp.USER32.dll_ValidateRect]
and dword [ebp - 0x2c94], 0
lea eax, [ebp - 0x2c94]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x2c94]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push dword [ebx + 0x18]
call fcn.004ea440
pop ecx
mov ecx, dword [ebx]
add ecx, 0xc
call fcn.004cfc34
mov ecx, eax
lea edi, [ebp - 0xa48]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xa48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x2c20]
mov ecx, ebx
add dword [ebp - 0xa48], eax
mov eax, dword [ebp - 0x2c1c]
add dword [ebp - 0xa44], eax
mov eax, dword [ebp - 0x2c18]
add dword [ebp - 0xa40], eax
mov eax, dword [ebp - 0x2c14]
add dword [ebp - 0xa3c], eax
lea eax, [ebp - 0xa48]
push eax
call fcn.00495b32
push 0x3ff
lea esi, [ebx + 0xe46]
push esi
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
push 0x460
lea eax, [ebx + 0x1e4a]
push eax
call fcn.00401a0b
xor eax, eax
mov ecx, ebx
mov word [ebx + 0x270a], ax
mov byte [ebx + 0x318a], al
call fcn.0048c3c4
mov ecx, dword [ebx]
push 1
call fcn.004e1576
lea ecx, [ebp - 0x2cb4]
call fcn.004d84a5
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.004f4166
leave
ret 0x2c