Function at 0x40ae90
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x168
push ebx
push ebp
xor eax, eax
push esi
push edi
push 7
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov word [esp + 0x29], ax
mov byte [esp + 0x2b], al
lea eax, [esp + 0x18]
push str._VC_d_
push eax
mov byte [esp + 0x20], 0
xor edi, edi
call fcn.00563254
add esp, 0xc
push 0x71
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov dword [0x2640da4], eax
mov eax, dword [0x264d3c4]
push 0x6c
push eax
mov dword [esp + 0x64], str.PCSX2_Main
mov dword [esp + 0x44], 0x40a4e0
mov dword [esp + 0x40], edi
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push edi
mov dword [esp + 0x54], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x5c], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call dword [sym.imp.USER32.dll_RegisterClassA]
mov eax, dword [0x2640da4]
lea edx, [esp + 0x60]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0x14]
push ecx
push str.Nov_10_2007
push str.non_VM
push str.0.9.4
push str.PCSX2__s_Watermoose____s_Compile_Date____s__s
push str.pcsx2
call dword [sym.imp.gnu_gettext.dll_Ordinal_3]
add esp, 8
push eax
lea edx, [esp + 0x8c]
push edx
call fcn.00563254
mov eax, dword [0x264d3c4]
add esp, 0x18
push edi
push eax
push edi
push edi
push pe_nt_image_headers32
push 0x140
push 0x14
push 0x14
push 0x80000
lea ecx, [esp + 0x9c]
push ecx
push str.PCSX2_Main
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [0x264d3c0], esi
call fcn.00408490
call fcn.004089f0
mov edx, dword [0x264d3c8]
mov eax, dword [0x264d3c0]
push edx
push eax
call dword [sym.imp.USER32.dll_SetMenu]
cmp dword [0x263de38], edi
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
jne 0x40affc
mov ecx, dword [0x264d3c8]
push 8
push 0x9c76
push ecx
call ebx
cmp dword [0x263de38], 2
jne 0x40b015
mov edx, dword [0x264d3c8]
push 8
push 0x9c77
push edx
call ebx
cmp dword [0x263de38], 0xfffffffe
jne 0x40b02d
mov eax, dword [0x264d3c8]
push 8
push 0x9c75
push eax
call ebx
cmp dword [0x263de24], edi
je 0x40b045
mov ecx, dword [0x264d3c8]
push 8
push 0x9c78
push ecx
call ebx
cmp dword [0x263de34], edi
je 0x40b05d
mov edx, dword [0x264d3c8]
push 8
push 0x9c79
push edx
call ebx
mov ebp, dword [sym.imp.COMCTL32.dll_CreateStatusWindowA]
push 0x64
push esi
push 0x5823d3
push 0x50000000
call ebp
push str.0.9.4
mov dword [0x264d3b8], eax
lea eax, [esp + 0x7c]
push str.PCSX2__s
push eax
call fcn.00563254
mov edx, dword [0x264d3b8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0xc
lea ecx, [esp + 0x78]
push ecx
push edi
push 0x401
push edx
call ebx
mov edx, dword [0x264d3b8]
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
lea ecx, [esp + 0x28]
push ecx
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x34]
mov edx, dword [0x264d3c8]
sub eax, dword [esp + 0x2c]
lea ecx, [esp + 0x28]
push ecx
push 0
push edx
push esi
add edi, eax
call dword [sym.imp.USER32.dll_GetMenuItemRect]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push 1
add eax, edi
push eax
push ecx
push 0x14
push 0x14
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [0x264d3b8]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0x64
push esi
push 0x5823d3
push 0x50000000
call ebp
push str.0.9.4
mov dword [0x264d3b8], eax
lea eax, [esp + 0x7c]
push str.F1___save__F2___next_state__ShiftF2___prev_state__F3___load__F8___snapshot
push eax
call fcn.00563254
mov edx, dword [0x264d3b8]
add esp, 0xc
lea ecx, [esp + 0x78]
push ecx
push 0
push 0x401
push edx
call ebx
mov eax, dword [esp + 0x17c]
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret