Function at 0x40c380
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x60
mov eax, dword [ebp + 0xc]
cmp eax, 7
je 0x40c5a0
ja 0x40c528
cmp eax, 2
je 0x40c5f0
cmp eax, 5
jne 0x40c3c8
xor ebx, ebx
cmp dword [ebp + 0x10], 1
jne 0x40c558
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp eax, 1
jne 0x40c5c0
mov eax, dword [0x41b4dc]
mov dword [esp + 4], 0x41b720
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._CreatePanedWindow
test eax, eax
je 0x40c858
mov eax, dword [0x41b4dc]
mov ebx, dword [sym.imp.user32.dll_CreateWindowExW]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0x7d3
mov dword [esp + 0x28], eax
mov eax, dword [0x41b720]
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], 0x40f6ac
mov dword [esp], 0x200
call ebx
mov dword [0x41b724], eax
mov eax, dword [0x41b4dc]
sub esp, 0x30
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov eax, dword [0x41b720]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
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 ebx
mov dword [0x41b728], eax
mov eax, dword [0x41b724]
sub esp, 0x30
mov dword [esp + 4], eax
mov eax, dword [0x41b720]
mov dword [esp], eax
call sym._SetLeft
mov eax, dword [0x41b728]
mov dword [esp + 4], eax
mov eax, dword [0x41b720]
mov dword [esp], eax
call sym._SetRight
call sym._PopulateTree
mov ebx, eax
test eax, eax
jne 0x40c7d0
mov eax, dword [0x41b724]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetFocus]
sub esp, 4
jmp 0x40c3b5
cmp eax, 0x111
je 0x40c568
cmp eax, 0x11f
jne 0x40c5c0
movzx eax, word [ebp + 0x10]
xor ebx, ebx
call sym._UpdateTypeLibStatusBar
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
call sym._TypeLibResizeChild
jmp 0x40c3b5
cmp word [ebp + 0x10], 0xbb9
movzx eax, word [ebp + 0x10]
je 0x40c870
cmp eax, 0xbba
je 0x40c7d0
cmp eax, 0x7b
je 0x40c7f0
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [0x41b724]
xor ebx, ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetFocus]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call dword [sym.imp.user32.dll_DefWindowProcW]
mov ebx, eax
sub esp, 0x10
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [0x41b724]
mov dword [ebp - 0x34], 4
mov dword [esp + 0xc], 0xffff0000
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 8], 4
mov dword [esp + 4], 0x110a
mov dword [esp], eax
call edi
sub esp, 0x10
mov ebx, eax
lea esi, [esi]
mov eax, dword [0x41b724]
mov dword [ebp - 0x38], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 4
mov dword [esp + 4], 0x110a
mov dword [esp], eax
call edi
sub esp, 0x10
mov esi, eax
test eax, eax
je 0x40c6b0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x34]
mov dword [esp + 0xc], eax
mov eax, dword [0x41b724]
mov dword [ebp - 0x30], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x113e
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x10]
sub esp, 0x10
test eax, eax
jne 0x40c770
mov eax, dword [0x41b724]
mov dword [esp + 0xc], ebx
mov ebx, esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1101
mov dword [esp], eax
call edi
sub esp, 0x10
jmp 0x40c628
mov eax, dword [0x41b724]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x110a
mov dword [esp], eax
call edi
sub esp, 0x10
mov esi, eax
test eax, eax
jne 0x40c790
mov eax, dword [0x41b724]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 3
mov dword [esp + 4], 0x110a
mov dword [esp], eax
call edi
mov dword [ebp - 0x30], ebx
sub esp, 0x10
mov dword [ebp - 0x3c], eax
mov esi, eax
lea eax, [ebp - 0x34]
mov dword [esp + 0xc], eax
mov eax, dword [0x41b724]
mov ebx, esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x113e
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x10]
sub esp, 0x10
test eax, eax
jne 0x40c770
mov eax, dword [ebp - 0x38]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1101
mov dword [esp + 0xc], eax
mov eax, dword [0x41b724]
mov dword [esp], eax
call edi
sub esp, 0x10
test ebx, ebx
jne 0x40c628
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov ebx, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x40c731
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], ebx
mov dword [esp + 0xc], eax
mov eax, dword [0x41b724]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x113e
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x10]
sub esp, 0x10
test eax, eax
je 0x40c687
mov ebx, esi
jmp 0x40c773
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [0x41b72c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_IsWindowVisible]
sub esp, 4
test eax, eax
je 0x40c880
mov eax, dword [0x41b72c]
mov dword [esp + 4], 0
xor ebx, ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenu]
sub esp, 4
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], 0x7b
mov dword [esp], eax
call dword [sym.imp.user32.dll_CheckMenuItem]
sub esp, 0xc
call sym._TypeLibResizeChild
jmp 0x40c3b5
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
jmp 0x40c3f5
call sym._GetSaveIdlAsPath
xor ebx, ebx
jmp 0x40c58e
mov eax, dword [0x41b72c]
mov dword [esp + 4], 5
mov ebx, 8
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
jmp 0x40c820