Function at 0x40e920
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 8
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov ebx, dword [esi + 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], edx
mov eax, dword [esi + 0xd4]
mov ecx, dword [esi + 0xd0]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x40e9a5
mov edx, dword [esi + 0x14]
mov eax, dword [ecx + edi*4]
mov ecx, dword [eax + 0x14]
add ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x100]
add eax, ecx
cmp edx, eax
cmovle edx, eax
mov dword [esi + 0x14], edx
mov eax, dword [esi + 0xd0]
mov eax, dword [eax + edi*4]
mov ecx, dword [eax + 0x18]
add ecx, dword [eax + 0x10]
mov eax, dword [esi + 0x104]
add eax, ecx
cmp ebx, eax
cmovle ebx, eax
inc edi
mov dword [esi + 0x18], ebx
mov eax, dword [esi + 0xd4]
mov ecx, dword [esi + 0xd0]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x40e954
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x54]
test eax, eax
je 0x40e9c0
push 1
push ebx
push dword [esi + 0x14]
push dword [ebp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x40eaec
mov eax, dword [esi + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x10]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x54]
test eax, eax
je 0x40ea00
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edi, dword [esi + 0x58]
mov dword [esi + 0x54], 0
call sym.Install_rocket.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
push dword [eax]
push edi
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
call sym.Install_rocket.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
mov ecx, esi
push dword [eax]
call fcn.0040ae10
mov edi, dword [esi + 0x58]
mov dword [esi + 0x2c], 0
call sym.Install_rocket.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
push 0
push dword [eax]
push 0
push dword [esi + 0x2c]
push dword [esi + 0x18]
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push SysReAllocString
call sym.Install_rocket.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
add eax, 0x212
push eax
push edi
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x54], eax
test eax, eax
je 0x40ea9b
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x80
push 0xffffffffffffffec
push eax
call edi
push esi
push 0xffffffffffffffeb
push dword [esi + 0x54]
call edi
cmp byte [esi + 0x65], 0
mov byte [esi + 0x5c], 0
jne 0x40ea94
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov byte [esi + 0x65], 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
push 0x43
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [esi + 0xc9], 0
jne 0x40eadc
push 4
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
call sym.Install_rocket.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
cmp dword [eax + 4], 0
jne 0x40eadc
call sym.Install_rocket.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
lea ecx, [eax + 4]
mov eax, dword [esi + 0x54]
mov dword [ecx], eax
push dword [esi + 0x54]
mov byte [esi + 0xfc], 1
call dword [sym.imp.USER32.dll_SetCapture]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc