Function at 0x40d8e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x447dd8]
push ebx
test eax, eax
je 0x40d8fa
mov eax, dword [0x447e38]
push 1
mov ecx, dword [eax + 0x72c4]
push ecx
jmp 0x40d909
mov edx, dword [0x447e38]
push 0
mov eax, dword [edx + 0x72c4]
push eax
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
call ebx
mov eax, dword [0x447ddc]
test eax, eax
je 0x40d92b
mov ecx, dword [0x447e38]
push 1
mov edx, dword [ecx + 0x72c8]
push edx
jmp 0x40d939
mov eax, dword [0x447e38]
push 0
mov ecx, dword [eax + 0x72c8]
push ecx
call ebx
mov eax, dword [0x447de4]
test eax, eax
je 0x40d955
mov edx, dword [0x447e38]
push 1
mov eax, dword [edx + 0x72c0]
push eax
jmp 0x40d964
mov ecx, dword [0x447e38]
push 0
mov edx, dword [ecx + 0x72c0]
push edx
call ebx
mov eax, dword [0x447de0]
test eax, eax
je 0x40d97f
mov eax, dword [0x447e38]
push 1
mov ecx, dword [eax + 0x72b0]
push ecx
jmp 0x40d98e
mov edx, dword [0x447e38]
push 0
mov eax, dword [edx + 0x72b0]
push eax
call ebx
mov eax, dword [0x447de8]
test eax, eax
je 0x40d9aa
mov ecx, dword [0x447e38]
push 1
mov edx, dword [ecx + 0x72b4]
push edx
jmp 0x40d9b8
mov eax, dword [0x447e38]
push 0
mov ecx, dword [eax + 0x72b4]
push ecx
call ebx
mov edx, dword [0x447e38]
push 0
mov eax, dword [edx + 0x72b8]
push eax
call ebx
mov eax, dword [0x447df0]
test eax, eax
je 0x40d9f2
push 0x4417f8
call fcn.004138e0
mov ecx, dword [0x447e38]
add esp, 4
mov edx, dword [ecx + 0x72bc]
push 1
push edx
jmp 0x40da00
mov eax, dword [0x447e38]
push 0
mov ecx, dword [eax + 0x72bc]
push ecx
call ebx
mov eax, dword [0x447cb0]
test eax, eax
je 0x40da12
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov edx, dword [0x447c3c]
push esi
push 0x66
push edx
call dword [sym.imp.USER32.dll_LoadMenuA]
mov dword [0x447cb0], eax
push eax
mov eax, dword [0x447e38]
mov ecx, dword [eax + 0x72a8]
push ecx
call dword [sym.imp.USER32.dll_SetMenu]
mov edx, dword [0x447c50]
mov esi, dword [sym.imp.USER32.dll_DeleteMenu]
mov al, byte [edx + 0x204]
test al, al
jne 0x40da5f
mov eax, dword [0x447cb0]
push 0
push 0x9c5e
push eax
call esi
mov ecx, dword [0x447c50]
mov al, byte [ecx + 0x304]
test al, al
jne 0x40da7f
mov edx, dword [0x447cb0]
push 0
push 0x9c5f
push edx
call esi
mov eax, dword [0x447c50]
mov cl, byte [eax + 0x404]
test cl, cl
jne 0x40da9e
mov ecx, dword [0x447cb0]
push 0
push 0x9c60
push ecx
call esi
mov edx, dword [0x447c50]
mov al, byte [edx + 0x504]
test al, al
jne 0x40dabd
mov eax, dword [0x447cb0]
push 0
push 0x9c61
push eax
call esi
mov eax, dword [0x447e38]
push edi
mov edi, dword [sym.imp.USER32.dll_RemoveMenu]
mov cl, byte [eax + 0x5db8]
test cl, cl
jne 0x40dae8
mov ecx, dword [0x447cb0]
push 0x400
push 5
push ecx
call edi
mov eax, dword [0x447e38]
mov cl, byte [eax + 0x2384]
test cl, cl
jne 0x40db07
mov edx, dword [0x447cb0]
push 0
push 0x9c6b
push edx
call esi
mov eax, dword [0x447e38]
mov ecx, dword [eax + 0x4770]
test ecx, ecx
jne 0x40dbed
mov eax, dword [eax + 0x72a8]
push 0x400
push 3
push eax
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call edi
mov ecx, dword [0x447cb0]
push 0
push 0x9c59
push ecx
call esi
mov edx, dword [0x447cb0]
push 0
push 0x9ca3
push edx
call esi
mov eax, dword [0x447cb0]
push 0
push 0x9ccc
push eax
call esi
mov ecx, dword [0x447cb0]
push 0
push 0x9c53
push ecx
call esi
mov edx, dword [0x447cb0]
push 0
push 0x9c4e
push edx
call esi
mov eax, dword [0x447cb0]
push 0
push 0x9c4f
push eax
call esi
mov ecx, dword [0x447cb0]
push 0
push 0x9c64
push ecx
call esi
mov edx, dword [0x447cb0]
push 0
push 0x9cad
push edx
call esi
mov eax, dword [0x447cb0]
push 0
push 0x9c95
push eax
call esi
mov ecx, dword [0x447cb0]
push 0
push 0x9c68
push ecx
call esi
mov edx, dword [0x447cb0]
push 0
push 0x9ca1
push edx
call esi
mov eax, dword [0x447cb0]
push 0
push 0x9ce6
push eax
call esi
mov eax, dword [0x447e38]
mov ecx, dword [eax + 0x4778]
pop edi
test ecx, ecx
jne 0x40dc0d
mov ecx, dword [0x447cb0]
push 0
push 0x9c78
push ecx
call esi
mov eax, dword [0x447e38]
mov ecx, dword [eax + 0x5ebc]
test ecx, ecx
jne 0x40dc50
mov ecx, dword [eax + 0x4770]
test ecx, ecx
jne 0x40dc50
mov edx, dword [0x447cb0]
push 0
push 0x9c65
push edx
call esi
mov eax, dword [0x447cb0]
push 0
push 0x9c79
push eax
call esi
mov ecx, dword [0x447cb0]
push 0
push 0x9c92
push ecx
call esi
mov edx, dword [0x447cb0]
push 0
push 0x9c93
push edx
call esi
mov eax, dword [0x447cb0]
push 0
push 0x9ccb
push eax
call esi
mov eax, dword [0x447e38]
pop esi
mov ecx, dword [eax + 0x118]
test ecx, ecx
mov ecx, dword [0x447e4c]
je 0x40dc89
test ecx, ecx
je 0x40dc93
mov edx, dword [0x447e50]
test edx, edx
je 0x40dca0
mov ecx, dword [eax + 0x72a8]
push 0
push ecx
call ebx
jmp 0x40dccb
mov edx, dword [eax + 0x11c]
test edx, edx
je 0x40dcbb
test ecx, ecx
jne 0x40dcbb
mov edx, dword [eax + 0x72a8]
push 2
push edx
call ebx
jmp 0x40dccb
mov eax, dword [eax + 0x72a8]
push 1
push eax
call ebx
call fcn.0040dd00
call fcn.0040ce30
mov ecx, dword [0x4465e4]
push 0
push 0
push 0x421
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x447e38]
mov eax, dword [edx + 0x72a8]
push eax
call dword [sym.imp.USER32.dll_DrawMenuBar]
pop ebx
ret