Function at 0x40c2d0
Capabilities:
Hide graphical window

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x68
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
cmp edx, 7
je 0x40c490
ja 0x40c470
cmp edx, 2
je 0x40c568
cmp edx, 5
je 0x40c550
cmp edx, 1
jne 0x40c4a8
mov eax, dword [0x41603c]
mov dword [esp + 4], 0x416680
mov dword [esp], ebx
mov dword [esp + 8], eax
call dbg.CreatePanedWindow
test eax, eax
je 0x40c6e0
mov dword [esp + 0x2c], 0
mov eax, dword [0x41603c]
mov dword [esp + 0x24], 0x7d3
mov dword [esp + 0x28], eax
mov eax, dword [0x416680]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000007
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40f5ec
mov dword [esp], 0x200
call sym._CreateWindowExW_48
sub esp, 0x30
mov dword [0x416684], eax
mov dword [esp + 0x2c], 0
mov eax, dword [0x41603c]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov eax, dword [0x416680]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50300804
mov dword [esp + 8], 0
mov dword [esp + 4], str.Edit
mov dword [esp], 0x200
call sym._CreateWindowExW_48
mov dword [0x416688], eax
mov eax, dword [0x416684]
sub esp, 0x30
mov dword [esp + 4], eax
mov eax, dword [0x416680]
mov dword [esp], eax
call dbg.SetLeft
mov eax, dword [0x416688]
mov dword [esp + 4], eax
mov eax, dword [0x416680]
mov dword [esp], eax
call dbg.SetRight
call dbg.PopulateTree
test eax, eax
je 0x40c490
mov dword [esp], ebx
call sym._DestroyWindow_4
sub esp, 4
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp edx, 0x111
je 0x40c4d0
cmp edx, 0x11f
jne 0x40c4a8
movzx eax, ax
call dbg.UpdateTypeLibStatusBar
jmp 0x40c456
mov eax, dword [0x416684]
mov dword [esp], eax
call sym._SetFocus_4
sub esp, 4
jmp 0x40c456
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
call sym._DefWindowProcW_16
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
movzx edx, ax
cmp ax, 0xbb9
je 0x40c6f0
cmp edx, 0xbba
je 0x40c44b
cmp edx, 0x7b
jne 0x40c456
mov eax, dword [0x41668c]
mov dword [esp], eax
call sym._IsWindowVisible_4
sub esp, 4
test eax, eax
je 0x40c700
mov dword [esp + 4], 0
mov eax, dword [0x41668c]
xor esi, esi
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
mov dword [esp], ebx
call sym._GetMenu_4
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0x7b
mov dword [esp], eax
call sym._CheckMenuItem_12
sub esp, 0xc
call dbg.TypeLibResizeChild
jmp 0x40c456
cmp eax, 1
je 0x40c456
call dbg.TypeLibResizeChild
jmp 0x40c456
mov dword [ebp - 0x40], 4
mov dword [esp + 0xc], 0xffff0000
mov dword [esp + 8], 4
mov dword [esp + 4], 0x110a
mov eax, dword [0x416684]
mov edi, dword fs:[0x18]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov esi, eax
jmp 0x40c60b
lea eax, [ebp - 0x40]
mov dword [ebp - 0x3c], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x113e
mov eax, dword [0x416684]
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [ebp - 0x1c]
sub esp, 0x10
test eax, eax
jne 0x40c698
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1101
mov eax, dword [0x416684]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
test ebx, ebx
je 0x40c456
mov esi, ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 4
mov dword [esp + 4], 0x110a
mov eax, dword [0x416684]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov ebx, eax
test eax, eax
jne 0x40c5a8
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
mov dword [esp + 4], 0x110a
mov eax, dword [0x416684]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov ebx, eax
test eax, eax
jne 0x40c5a8
mov dword [esp + 0xc], esi
mov dword [esp + 8], 3
mov dword [esp + 4], 0x110a
mov eax, dword [0x416684]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov ebx, eax
jmp 0x40c5a8
mov eax, dword [eax]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x40c5dd
mov dword [esp], ebx
call sym._DestroyWindow_4
sub esp, 4
jmp 0x40c33a
call dbg.GetSaveIdlAsPath
jmp 0x40c456
mov dword [esp + 4], 5
mov eax, dword [0x41668c]
mov esi, 8
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
jmp 0x40c524