Function at 0x412610
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x466e78
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485300]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [0x4883b0]
xor ebx, ebx
mov dword [esp + 0x14], vtable.CSingleModule.0
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x50], ebx
call fcn.0041e900
test eax, eax
je 0x4126b6
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp eax, ebx
jne 0x41266c
xor edi, edi
jmp 0x412673
call fcn.0041e970
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x412691
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4126a0
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
movzx ecx, word [esi + 8]
push esi
push ebx
push ecx
push edi
call fcn.004083d0
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.0040b320
test eax, eax
jne 0x4126f8
push 0x4e
xor ebp, ebp
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4f
mov edi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
jmp 0x412708
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esi + 4]
push 0
sub eax, ebx
push eax
sub edi, ebp
push edi
push ebx
push ebp
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edx, dword [esi + 4]
push 4
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 0x4125a0
push 0xbb8
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x64c], eax
mov eax, dword [esi + 4]
push eax
push str.Tencent_Snapshot_WND_CD24F4FE_67E8_4d6e_95BA_2366F731DBB1
push eax
call dword [sym.imp.USER32.dll_SetPropW]
mov ebp, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea ecx, [esp + 0x38]
push ecx
call ebp
test eax, eax
je 0x412833
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, 0xffffffff
je 0x412833
cmp dword [esp + 0x30], 0x100
jne 0x4127fa
mov eax, dword [esi + 0x308]
push 0x3e9
push eax
call ebx
cmp eax, dword [esp + 0x2c]
je 0x4127d7
lea edi, [esi + 0x55c]
test edi, edi
je 0x4127cf
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4127cf
mov edi, dword [edi + 4]
jmp 0x4127d1
xor edi, edi
cmp edi, dword [esp + 0x2c]
jne 0x4127fa
mov eax, dword [esp + 0x34]
cmp eax, 0xd
je 0x4127e5
cmp eax, 0x1b
jne 0x4127fa
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
push ecx
push eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x412833
push 0
push 0
push 0
lea ecx, [esp + 0x38]
push ecx
call ebp
test eax, eax
jne 0x41278b
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41284b
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 0x18]
test eax, eax
mov esi, dword [esp + 0x34]
je 0x41285e
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret