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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
mov ebx, ecx
push 0x23c
mov edi, dword [ebx + 4]
push edi
call esi
push 0x23d
push dword [ebx + 4]
mov dword [ebx + 0x26c], eax
call esi
mov dword [ebx + 0x2e4], eax
mov ecx, dword [0x467018]
push 0x772b
lea esi, [ebx + 0x35c]
call fcn.00409c24
push eax
mov ecx, esi
call fcn.0040983e
push dword [0x468654]
mov ecx, esi
push 0x44df48
call fcn.00409a22
lea esi, [ebx + 0x360]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x427725
mov ecx, dword [0x467018]
push 0x4394
call fcn.00409c24
push eax
mov ecx, esi
call fcn.0040983e
push dword [0x468654]
mov ecx, esi
push 0x44df48
call fcn.00409a22
lea esi, [ebx + 0x364]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x42776d
cmp dword [ebx + 0x394], 0
mov ecx, dword [0x467018]
je 0x427749
push 0x773a
jmp 0x42774e
push 0x7730
call fcn.00409c24
push eax
mov ecx, esi
call fcn.0040983e
push dword [0x468654]
mov ecx, esi
push 0x44df48
call fcn.00409a22
lea esi, [ebx + 0x368]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x4277b5
cmp dword [ebx + 0x394], 0
mov ecx, dword [0x467018]
je 0x427791
push 0x439b
jmp 0x427796
push 0x4396
call fcn.00409c24
push eax
mov ecx, esi
call fcn.0040983e
push dword [0x468654]
mov ecx, esi
push 0x44df48
call fcn.00409a22
lea esi, [ebx + 0x36c]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x42781a
cmp dword [ebx + 0x394], 0
mov ecx, dword [0x467018]
je 0x4277d9
push 0x773a
jmp 0x4277de
push 0x7730
call fcn.00409c24
push eax
mov ecx, esi
call fcn.0040983e
push dword [0x468654]
mov ecx, esi
push 0x44df48
call fcn.00409a22
mov ecx, esi
call fcn.004260f1
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x42781a
lea eax, [ebx + 0x364]
push eax
mov ecx, esi
call fcn.004065c3
lea esi, [ebx + 0x370]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x42787f
cmp dword [ebx + 0x394], 0
mov ecx, dword [0x467018]
je 0x42783e
push 0x439b
jmp 0x427843
push 0x4396
call fcn.00409c24
push eax
mov ecx, esi
call fcn.0040983e
push dword [0x468654]
mov ecx, esi
push 0x44df48
call fcn.00409a22
mov ecx, esi
call fcn.004260f1
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x42787f
lea eax, [ebx + 0x368]
push eax
mov ecx, esi
call fcn.004065c3
push 0
mov esi, 0x4333
push esi
call fcn.00406857
pop ecx
pop ecx
test eax, eax
je 0x42789f
push esi
push eax
lea ecx, [ebx + 0x374]
call fcn.00409864
push 0
mov esi, 0x4334
push esi
call fcn.00406857
pop ecx
pop ecx
test eax, eax
je 0x4278bf
push esi
push eax
lea ecx, [ebx + 0x378]
call fcn.00409864
mov ecx, ebx
call fcn.004270ff
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42791b
push 1
push esi
push 0x28
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
inc eax
mov dword [ebp - 4], eax
je 0x42791b
push eax
lea ecx, [ebx + 0x37c]
call fcn.00409996
push dword [ebp - 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebx + 0x37c]
call fcn.0041dfec
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4279e5
test dword [ebp - 8], 0x10000000
je 0x4279e5
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xc
push dword [ebx + 4]
call esi
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x1c
and eax, 1
cmp dword [ebx + 0x398], 0
mov dword [ebp - 4], eax
je 0x4279c4
push 1
push dword [ebx + 4]
call esi
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 4], 0
jne 0x427999
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 2
push 0x401
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push esi
push 0x28
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4279e5
push 2
push dword [ebx + 4]
call esi
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 4], 0
jne 0x4279e5
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov esi, eax
test esi, esi
je 0x427a0f
push esi
call dword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x427a0f
push 3
push 0xf060
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
xor eax, eax
xor ecx, ecx
inc eax
cmp dword [ebx + 0x394], ecx
push 0x213
push dword [ebx + 4]
cmove eax, ecx
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x427a80
push dword [ebp - 4]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
push eax
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebx + 0x358], 0
jne 0x427a6e
push 0
push 1
push 0xf1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 4], 1
jne 0x427a80
push 1
push esi
push 0x28
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x214
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x427ace
push dword [ebp - 4]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
push eax
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebx + 0x358], 1
jne 0x427ace
push 0
push 1
push 0xf1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x427b30
push dword [ebp - 4]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
push eax
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 4], 1
jne 0x427b30
push 0
push 1
push 0xf1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [ebx + 0x358], 0
push 1
push esi
push 0x28
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, ebx
call fcn.00427535
test byte [0x46868c], 0x30
push 0xffffffffffffffec
push dword [ebx + 4]
je 0x427b57
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x40000
push eax
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x427bb1
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffbffff
or eax, 0x8000080
push eax
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x80
xor edi, edi
push edi
push edi
push edi
push edi
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
mov esi, eax
push 0x201
push esi
call edi
push 0
push 0
push 0x202
push esi
call edi
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret