Function at 0x431070
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b43e7
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4e4018]
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 + 0x158]
test eax, eax
je 0x4310b7
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0x158], 0
mov eax, dword [edi + 0x154]
test eax, eax
je 0x4310d2
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [edi + 0x154], 0
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0x64], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [edi + 0x154], 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 - 0x6c], 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 - 0x64]
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 0x431162
imul esi, dword [ebp - 0x6c]
shl esi, 2
push esi
push 0
push ecx
call fcn.00489ec0
mov eax, dword [ebp - 0x54]
add esp, 0xc
push eax
push dword [edi + 0x154]
mov dword [edi + 0x158], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [edi + 0x5c]
sub esp, 0x10
mov esi, dword [edi + 0x64]
neg eax
mov ecx, dword [edi + 0x58]
mov edx, dword [edi + 0x60]
sub esi, dword [edi + 0x5c]
sub edx, ecx
mov dword [ebp - 0x7c], eax
neg ecx
mov dword [ebp - 0x58], edx
mov eax, esp
mov dword [ebp - 0x60], 0
sub esp, 0x10
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x54], esi
movups xmm0, xmmword [ebp - 0x60]
mov dword [ebp - 0x80], ecx
mov ecx, edi
mov dword [ebp - 0x78], edx
mov edx, dword [edi + 0x154]
movups xmmword [eax], xmm0
mov eax, esp
mov dword [ebp - 0x74], esi
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [eax], xmm0
call fcn.0042c1a0
add esp, 0x20
push dword [ebp - 0x64]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [edi]
mov dword [ebp - 0x54], ecx
mov ecx, edi
mov eax, dword [eax + 0xc8]
call eax
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov esi, dword [edi + 0x64]
mov ecx, dword [edi + 0x60]
sub esi, dword [edi + 0x5c]
sub ecx, dword [edi + 0x58]
mov edx, dword [ebp - 0x54]
add esi, edx
mov eax, dword [ebp - 0x58]
add ecx, eax
cmp dword [edi + 0x168], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], esi
jne 0x431314
push 0x108
call fcn.0048784a
mov esi, eax
add esp, 4
mov dword [ebp - 0x54], esi
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0040d9e0
sub esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esp
mov dword [esi], vtable.CLayerdWindow.2.0
mov dword [esi + 0x34], vtable.CLayerdWindow.1.0
mov dword [esi + 0x58], vtable.CLayerdWindow.0
push 0x80088
push SysReAllocString
mov byte [esi + 0xe9], 0xff
mov dword [esi + 0xfc], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 1
push 0
push ecx
mov dword [edi + 0x168], esi
lea ecx, [ebp - 0x20]
mov dword [eax], 0
mov eax, esp
mov dword [eax], ecx
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0xc8]
call eax
mov ecx, dword [edi + 0x168]
push eax
call fcn.0040df20
mov esi, dword [edi + 0x168]
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x431314
mov dword [esi + 0x64], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x431314
mov edx, dword [ecx]
lea eax, [esi + 0x58]
push eax
call dword [edx + 0x94]
mov ecx, dword [esi + 0x64]
push 1
mov eax, dword [ecx]
call dword [eax + 0xd4]
mov ecx, esi
call fcn.0040e3c0
mov eax, dword [edi + 0x168]
test eax, eax
je 0x431399
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov dword [ebp - 0x50], 0x1d70000
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 - 0x68], ecx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x64], ecx
mov ecx, dword [edi + 0x15c]
neg ecx
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
sbb ecx, ecx
add ecx, 2
push ecx
push eax
push 0
lea eax, [ebp - 0x70]
push eax
push dword [edi + 0x154]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [edi + 0x168]
push esi
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
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.0048782e
mov esp, ebp
pop ebp
ret