Function at 0x403e50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442964
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x453080]
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 + 8]
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 0x40409c
test byte [0x456390], 1
jne 0x403ee6
or dword [0x456390], 1
mov ecx, 0x456394
mov dword [ebp - 4], edi
call sym.Install_rocket.exe_public:_void___thiscall_CNsImage::constructor_void_
push 0x442fc0
call fcn.00415e7c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
mov eax, dword [esi + 0xa4]
push 0x446968
push edx
push eax
mov ecx, 0x456394
call sym.Install_rocket.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 0x404056
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 0x403f77
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.00421aa0
fadd qword [0x448e58]
call fcn.0043ff80
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_rocket.exe_public:_void___thiscall_CNsDC::constructor_struct_HDC_____struct_tagRECT___bool__bool__struct_HWND____
mov eax, 1
mov dword [ebp - 4], eax
test byte [0x456390], al
jne 0x403fff
or dword [0x456390], eax
mov ecx, 0x456394
mov byte [ebp - 4], 2
call sym.Install_rocket.exe_public:_void___thiscall_CNsImage::constructor_void_
push 0x442fc0
call fcn.00415e7c
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, 0x456394
call sym.Install_rocket.exe_public:_void___thiscall_CNsImage::DrawRotate3D_struct_HDC_____struct_IStream___int__int__int__int__int__int_
lea ecx, [ebp - 0x38]
call sym.Install_rocket.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_rocket.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 0x403f74
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 0x404093
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 + 0x1c]
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.00415d4a
mov esp, ebp
pop ebp
ret