Function at 0x404970
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.USER32.dll_GetMenu]
mov ebx, eax
mov eax, dword [0x416008]
test eax, eax
je 0x404a29
mov eax, dword [0x4165fc]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0x515
push 0x404
push eax
call esi
mov ecx, dword [0x4165fc]
push 1
push 0x516
push 0x404
push ecx
call esi
mov edx, dword [0x4165fc]
push 1
push 0x517
push 0x404
push edx
call esi
mov eax, dword [0x416618]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebp, dword [sym.imp.USER32.dll_EnableMenuItem]
push 3
push 0x515
push ebx
call ebp
push 3
push 0x51b
push ebx
call ebp
push 3
push 0x52b
push ebx
call ebp
push 3
push 0x516
push ebx
call ebp
push 3
push 0x517
push ebx
call ebp
push 0x416ac0
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x404b94
mov ecx, dword [0x415e84]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x404a94
mov edx, dword [0x416618]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4165fc]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x516
push 0x404
push eax
call esi
mov ebp, dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0x516
push ebx
call ebp
push 3
push 0x52b
push ebx
call ebp
mov ecx, dword [0x416720]
push 0
push 0
push 0x102a
push ecx
call esi
jmp 0x404b3b
mov edx, dword [0x416618]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4165fc]
push 1
push 0x516
push 0x404
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, dword [sym.imp.USER32.dll_EnableMenuItem]
push 3
push 0x516
push ebx
call ebp
push 0
push 0x52b
push ebx
call ebp
mov eax, dword [0x415eb0]
test eax, eax
jne 0x404b3b
mov edi, 0x416980
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov edx, ecx
mov esi, edi
mov edi, 0x416860
mov eax, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x517
and ecx, 3
push 0x111
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [0x415e84]
test eax, eax
je 0x404b37
mov ecx, dword [0x4161ec]
push ecx
push 9
push 0x110b
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x14]
mov edx, dword [0x4165fc]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x515
push 0x404
push edx
call esi
mov eax, dword [0x4165fc]
push 0
push 0x517
push 0x404
push eax
call esi
push 0
push 0x515
push ebx
call ebp
push 0
push 0x51b
push ebx
call ebp
push 0
push 0x517
push ebx
call ebp
push 0x416860
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x412fc8]
test eax, eax
je 0x404be9
push 0
push 0x7d5
push ebx
call ebp
push 0
push 0x7d4
push ebx
call ebp
mov ecx, dword [0x4165fc]
push 1
push 0x7d5
push 0x401
push ecx
call esi
mov edx, dword [0x4165fc]
push 1
push 0x7d4
push 0x401
push edx
call esi
push edi
call fcn.004048d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
push 3
push 0x7d5
push ebx
call ebp
push 3
push 0x7d4
push ebx
call ebp
mov eax, dword [0x4165fc]
push 0
push 0x7d5
push 0x401
push eax
call esi
mov ecx, dword [0x4165fc]
push 0
push 0x7d4
push 0x401
push ecx
call esi
push edi
call fcn.004048d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret