Function at 0x4039b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444374
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x454080]
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 + 0x4c]
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 0x403bfc
test byte [0x457390], 1
jne 0x403a46
or dword [0x457390], 1
mov ecx, 0x457394
mov dword [ebp - 4], edi
call sym.Install_classic.exe_public:_void___thiscall_CNsImage::constructor_void_
push 0x444bb0
call fcn.004169dc
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
mov eax, dword [esi + 0xa4]
push 0x447950
push edx
push eax
mov ecx, 0x457394
call sym.Install_classic.exe_public:_bool___thiscall_CNsImage::BmToStream_struct_HBITMAP_____struct_IStream___wchar_t_const__
mov ecx, dword [esi + 0x4c]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 0x4c]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0x4c]
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 0x403bb6
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 0x403ad7
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.00423ae0
fadd qword [0x44a700]
call fcn.00441870
mov edx, dword [esi + 0x4c]
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 + 0x94]
push eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
push eax
lea ecx, [ebp - 0x38]
call sym.Install_classic.exe_public:_void___thiscall_CNsDC::constructor_struct_HDC_____struct_tagRECT___bool__bool__struct_HWND____
mov eax, 1
mov dword [ebp - 4], eax
test byte [0x457390], al
jne 0x403b5f
or dword [0x457390], eax
mov ecx, 0x457394
mov byte [ebp - 4], 2
call sym.Install_classic.exe_public:_void___thiscall_CNsImage::constructor_void_
push 0x444bb0
call fcn.004169dc
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, 0x457394
call sym.Install_classic.exe_public:_void___thiscall_CNsImage::DrawRotate3D_struct_HDC_____struct_IStream___int__int__int__int__int__int_
lea ecx, [ebp - 0x38]
call sym.Install_classic.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_classic.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 0x403ad4
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 + 0x4c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esi + 0x54], 0
jne 0x403bf3
mov eax, dword [esi + 0x4c]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esi + 0x4c]
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.004168aa
mov esp, ebp
pop ebp
ret