Function at 0x4d9150
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x5a2eeb
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x60f520]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x60f520]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov eax, dword [edi + 0x13c]
test eax, eax
je 0x4d91aa
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0x13c], 0
mov eax, dword [edi + 0x138]
test eax, eax
je 0x4d91c5
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [edi + 0x138], 0
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
mov dword [esp + 0x18], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x10]
xorps xmm0, xmm0
mov dword [edi + 0x138], eax
mov eax, dword [edi + 0x60]
sub eax, dword [edi + 0x58]
mov edi, dword [edi + 0x5c]
sub edi, dword [ecx + 0x54]
push 0
movdqu xmmword [esp + 0x5c], xmm0
push 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x24]
push eax
push 0
lea eax, [esp + 0x64]
movq qword [esp + 0x88], xmm0
push eax
push esi
movdqu xmmword [esp + 0x80], xmm0
mov dword [esp + 0x6c], 0x28
mov dword [esp + 0x70], edi
mov dword [esp + 0x78], 0x200001
mov dword [esp + 0x7c], 0
mov dword [esp + 0x34], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
imul edi, dword [esp + 0x20]
mov esi, eax
shl edi, 2
push edi
push 0
push dword [esp + 0x24]
call fcn.00559380
mov edi, dword [esp + 0x1c]
add esp, 0xc
push esi
push dword [edi + 0x138]
mov dword [edi + 0x13c], esi
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [edi + 0x54]
sub esp, 0x10
mov esi, dword [edi + 0x60]
neg eax
mov edx, dword [edi + 0x5c]
mov ecx, dword [edi + 0x58]
sub edx, dword [edi + 0x54]
neg ecx
sub esi, dword [edi + 0x58]
mov dword [esp + 0x44], eax
mov eax, esp
mov dword [esp + 0x48], ecx
sub esp, 0x10
mov dword [esp + 0x5c], edx
mov ecx, edi
mov edx, dword [edi + 0x138]
mov dword [esp + 0x60], esi
movdqa xmm0, xmmword [esp + 0x54]
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmmword [eax], xmm0
call fcn.004bd820
add esp, 0x20
push dword [esp + 0x14]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [edi + 0x54]
mov ecx, edi
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x58]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0xb0]
call eax
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov esi, dword [edi + 0x60]
mov ecx, dword [edi + 0x5c]
sub esi, dword [edi + 0x58]
sub ecx, dword [edi + 0x54]
mov edx, dword [esp + 0x18]
add esi, edx
mov eax, dword [esp + 0x14]
add ecx, eax
cmp dword [edi + 0x140], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], esi
jne 0x4d93ec
push 0xf4
call fcn.00551c81
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x90], 0
test eax, eax
je 0x4d9363
mov ecx, eax
call fcn.004d0070
jmp 0x4d9365
xor eax, eax
sub esp, 8
mov dword [esp + 0x98], 0xffffffff
mov dword [edi + 0x140], eax
mov eax, esp
push 0x80088
push SysReAllocString
mov dword [eax], 0
push 0
push ecx
mov eax, esp
lea ecx, [esp + 0x5c]
mov dword [eax], ecx
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0xb0]
call eax
mov ecx, dword [edi + 0x140]
push eax
call fcn.004c19b0
mov esi, dword [edi + 0x140]
mov eax, dword [esi + 0x54]
test eax, eax
je 0x4d93c8
mov dword [esi + 0x54], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x4d93ec
mov eax, dword [ecx]
push esi
call dword [eax + 0x88]
mov ecx, dword [esi + 0x54]
push 1
mov eax, dword [ecx]
call dword [eax + 0xbc]
mov ecx, esi
call fcn.004c1ec0
mov eax, dword [edi + 0x140]
test eax, eax
je 0x4d9472
push 5
push dword [eax + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov dword [esp + 0x14], 0x1d50000
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esp + 0x4c]
mov esi, eax
sub ecx, dword [esp + 0x44]
lea eax, [esp + 0x10]
push 2
push eax
push 0
lea eax, [esp + 0x30]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
push eax
push dword [edi + 0x138]
lea eax, [esp + 0x40]
mov dword [esp + 0x38], 0
push eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x40], 0
push eax
mov eax, dword [edi + 0x140]
push esi
mov dword [esp + 0x50], ecx
push dword [eax + 0x34]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0055199a
mov esp, ebp
pop ebp
ret