Function at 0x40c570
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
mov eax, dword [0x47c554]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 1
jne 0x40c81d
push ebx
push esi
push edi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push str.Isi_PLC___1.10.4
push 0x3f0
push dword [0x47cea4]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edi, 1
mov dword [ebp - 0x308], 4
mov ebx, section..data
mov esi, 0x4af520
nop word [eax + eax]
cmp byte [esi + 0x105], 0
lea eax, [esi + 0x105]
je 0x40c60e
cmp byte [esi], 0
je 0x40c60e
push eax
push esi
push edi
push str._u__s_s
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.004038d0
mov eax, dword [ebx]
lea ecx, [ebp - 0x10c]
add esp, 0x18
push ecx
push eax
push 0
jmp 0x40c634
push edi
push str._u_None
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.004038d0
mov eax, dword [ebx]
lea ecx, [ebp - 0x10c]
add esp, 0x10
push ecx
push eax
push 3
push eax
push dword [0x47cea4]
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call dword [sym.imp.USER32.dll_ModifyMenuA]
add esi, 0x20a
inc edi
add ebx, 4
sub dword [ebp - 0x308], 1
jne 0x40c5d0
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push str.WM_VISU_DYN
call esi
push str.commdlg_FindReplace
mov dword [0x4af4ec], eax
call esi
push 1
push dword [0x47cea0]
mov dword [0x4af4f0], eax
mov eax, dword [0x47cea4]
mov dword [ebp - 0x304], 0x1f8
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2f4], 0x401
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x2f0], eax
lea eax, [ebp - 0x304]
push eax
push 0
mov dword [ebp - 0x2f8], 3
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
cmp byte [0x4b0779], 0
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x40c725
xor esi, esi
nop word [eax + eax]
push 0
push dword [esi + 0x46f3d8]
push dword [0x47cea4]
call ebx
push eax
call edi
add esi, 4
cmp esi, 0x20
jb 0x40c6f0
push 0
push 0x9c5f
push dword [0x47cea4]
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call dword [sym.imp.USER32.dll_DeleteMenu]
cmp byte [0x4b0778], 0
jne 0x40c769
xor esi, esi
push 0
push dword [esi + 0x46f3f8]
push dword [0x47cea4]
call ebx
push eax
call edi
add esi, 4
cmp esi, 0x24
jb 0x40c730
push 0x92
push dword [0x47cea0]
call dword [sym.imp.USER32.dll_LoadMenuA]
push eax
push dword [0x47cea4]
call dword [sym.imp.USER32.dll_SetMenu]
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push 1
push dword [0x47cea0]
call edi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x80
push dword [0x47cea4]
call esi
push 1
push dword [0x47cea0]
call edi
push eax
push 0
push 0x80
push dword [0x47cea4]
call esi
push 0
push 7
push 0xff
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ebx, dword [sym.imp.USER32.dll_LoadImageA]
mov edi, 0x46f3bc
mov dword [0x4ae248], eax
nop dword [eax]
movzx eax, word [edi]
push 0x60
push 0
push 0
push 0
push eax
push dword [0x47cea0]
call ebx
push 0xff00ff
mov esi, eax
push esi
push dword [0x4ae248]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
add edi, 4
cmp edi, 0x46f3d8
jl 0x40c7d0
pop edi
pop esi
pop ebx
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b572
mov esp, ebp
pop ebp
ret
push dword [0x4ae248]
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
push 0
call fcn.00439750
mov eax, dword [0x47cea4]
add esp, 4
mov dword [ebp - 0x300], eax
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 0x1f8
mov dword [ebp - 0x2fc], 0
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.0043b572
mov esp, ebp
pop ebp
ret