Function at 0x404450
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447ba4
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x459080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [esi + 0x54]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi]
mov dword [ebp - 0x4c], eax
push eax
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
xor edi, edi
push edi
push 2
mov dword [ebp - 0x40], edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x40]
push ecx
push 1
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp dword [ebp - 0x40], edi
je 0x40469c
test byte [0x45c39c], 1
jne 0x4044e6
or dword [0x45c39c], 1
mov ecx, 0x45c3a0
mov dword [ebp - 4], edi
call sym.Install_ring.exe_public:_void___thiscall_CNsImage::constructor_void_
push 0x448410
call fcn.00417acc
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
mov eax, dword [esi + 0xac]
push 0x44b9b4
push edx
push eax
mov ecx, 0x45c3a0
call sym.Install_ring.exe_public:_bool___thiscall_CNsImage::BmToStream_struct_HBITMAP_____struct_IStream___wchar_t_const__
mov ecx, dword [esi + 0x54]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 0x54]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0x54]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [esi + 0x14]
mov eax, ebx
cdq
sub eax, edx
mov ecx, eax
mov eax, 0x66666667
imul ebx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
sar ecx, 1
add ebx, edx
cmp dword [esi + 0x14], 0
jl 0x404656
mov edx, ecx
imul edx, ecx
mov dword [ebp - 0x3c], edx
mov eax, ecx
mov edx, ebx
fild dword [ebp - 0x3c]
neg eax
neg edx
add ecx, ecx
fstp qword [ebp - 0x60]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x3c], ecx
jmp 0x404577
mov eax, dword [ebp - 0x48]
fldz
imul eax, eax
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
fdiv qword [ebp - 0x60]
fld1
fsubrp st(1)
fmul st(1)
fmulp st(1)
call fcn.004258e0
fadd qword [0x44eac8]
call fcn.00444f60
mov edx, dword [esi + 0x54]
mov ecx, eax
neg ecx
push edx
mov dword [ebp - 0x54], ecx
mov ecx, dword [esi + 0x18]
add ecx, eax
push 1
mov dword [ebp - 0x50], eax
push 0
lea eax, [esi + 0x9c]
push eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
push eax
lea ecx, [ebp - 0x38]
call sym.Install_ring.exe_public:_void___thiscall_CNsDC::constructor_struct_HDC_____struct_tagRECT___bool__bool__struct_HWND____
mov eax, 1
mov dword [ebp - 4], eax
test byte [0x45c39c], al
jne 0x4045ff
or dword [0x45c39c], eax
mov ecx, 0x45c3a0
mov byte [ebp - 4], 2
call sym.Install_ring.exe_public:_void___thiscall_CNsImage::constructor_void_
push 0x448410
call fcn.00417acc
add esp, 4
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x50]
push edi
push edx
mov edx, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x38]
push ecx
push edi
push edx
push eax
mov ecx, 0x45c3a0
call sym.Install_ring.exe_public:_void___thiscall_CNsImage::DrawRotate3D_struct_HDC_____struct_IStream___int__int__int__int__int__int_
lea ecx, [ebp - 0x38]
call sym.Install_ring.exe_public:_void___thiscall_CNsDC::Draw_void_
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call sym.Install_ring.exe_public:_void___thiscall_CNsDC::destructor_void_
mov ecx, dword [ebp - 0x58]
add dword [ebp - 0x48], ebx
add dword [ebp - 0x3c], ecx
add edi, ebx
cmp edi, dword [esi + 0x14]
jle 0x404574
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [esi + 0x54]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esi + 0x5c], 0
jne 0x404693
mov eax, dword [esi + 0x54]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esi + 0x54]
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041799a
mov esp, ebp
pop ebp
ret