Function at 0x494960
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569fa2
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5a7074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x144]
mov eax, dword [edi + 0x16c]
test eax, eax
je 0x4949af
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0x16c], 0
mov eax, dword [edi + 0x168]
test eax, eax
je 0x4949ca
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [edi + 0x168], 0
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0x58], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [edi + 0x168], eax
xorps xmm0, xmm0
mov eax, dword [edi + 0x64]
sub eax, dword [edi + 0x5c]
mov esi, dword [edi + 0x60]
sub esi, dword [edi + 0x58]
push 0
movups xmmword [ebp - 0x48], xmm0
push 0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x50]
push eax
push 0
lea eax, [ebp - 0x4c]
movq qword [ebp - 0x28], xmm0
push eax
push dword [ebp - 0x58]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x4c], 0x28
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], 0x200001
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x50], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
test ecx, ecx
je 0x494a5a
imul esi, dword [ebp - 0x60]
shl esi, 2
push esi
push 0
push ecx
call fcn.005111c0
mov eax, dword [ebp - 0x54]
add esp, 0xc
push eax
push dword [edi + 0x168]
mov dword [edi + 0x16c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [edi + 0x58]
sub esp, 0x10
mov esi, dword [edi + 0x64]
neg eax
mov edx, dword [edi + 0x60]
mov ecx, dword [edi + 0x5c]
sub edx, dword [edi + 0x58]
neg ecx
sub esi, dword [edi + 0x5c]
mov dword [ebp - 0x74], eax
mov eax, esp
mov dword [ebp - 0x70], ecx
sub esp, 0x10
mov dword [ebp - 0x6c], edx
mov ecx, edi
mov edx, dword [edi + 0x168]
mov dword [ebp - 0x68], esi
movups xmm0, xmmword [ebp - 0x74]
movups xmmword [eax], xmm0
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00488ec0
add esp, 0x20
push dword [ebp - 0x58]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.004816d0
cmp dword [edi + 0x1bc], 0
jne 0x494bbd
push 0x128
call fcn.0050a09e
mov esi, eax
add esp, 4
mov dword [ebp - 0x54], esi
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00458bf0
mov dword [esi], vtable.CLayerdWindow.1.0
mov ecx, edi
mov dword [esi + 0x34], vtable.CLayerdWindow.0
mov dword [esi + 0x124], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0xde], 0xff
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 1
mov eax, dword [edi]
mov dword [edi + 0x1bc], esi
mov eax, dword [eax + 0xd8]
call eax
sub esp, 8
mov edx, eax
mov ecx, esp
push 0x80088
push SysReAllocString
sub esp, 8
mov dword [ecx], 0
mov eax, esp
lea ecx, [ebp - 0x20]
push edx
mov dword [eax], ecx
mov ecx, dword [edi + 0x1bc]
call fcn.00459120
mov esi, dword [edi + 0x1bc]
mov eax, dword [esi + 0x58]
test eax, eax
je 0x494b99
mov dword [esi + 0x58], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x494bbd
mov eax, dword [ecx]
push esi
call dword [eax + 0xa0]
mov ecx, dword [esi + 0x58]
push 1
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, esi
call fcn.004596d0
mov eax, dword [edi + 0x1bc]
test eax, eax
je 0x494c6e
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0x28
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_class__lambda_2d1644f7550fcb737f8b219567fc0802___class_std::allocator_int___void__void__.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
mov ecx, dword [edi + 0x1bc]
call fcn.004940d0
mov al, byte [edi + 0x1b8]
push 0
mov word [ebp - 0x50], 0
mov byte [ebp - 0x4e], al
mov byte [ebp - 0x4d], 1
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebp - 0x18]
mov esi, eax
sub ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x58], ecx
mov ecx, dword [edi + 0x170]
neg ecx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
sbb ecx, ecx
add ecx, 2
push ecx
push eax
push 0
lea eax, [ebp - 0x64]
push eax
push dword [edi + 0x168]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [edi + 0x1bc]
push esi
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x148]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050a055
mov esp, ebp
pop ebp
ret