Function at 0x406090
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x60
mov esi, dword [ebp + 0xc]
mov dword [esp + 4], 0x7f05
mov dword [esp], 0
call dword [sym.imp.user32.dll_LoadIconW]
sub esp, 8
mov dword [0x412558], eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call dword [sym.imp.user32.dll_LoadCursorW]
mov edx, dword [0x412558]
mov ebx, dword [sym.imp.user32.dll_GetSystemMetrics]
sub esp, 8
mov dword [0x41255c], eax
mov dword [0x412698], edx
mov dword [0x41269c], eax
mov dword [esp], 0x31
call ebx
sub esp, 4
add eax, 4
mov dword [0x4123cc], eax
mov dword [esp], 0x32
call ebx
mov ecx, dword [ebp + 8]
mov dword [0x4123b0], esi
sub esp, 4
add eax, 4
test ecx, ecx
mov dword [0x4123d4], eax
sete al
test esi, esi
mov dword [esp], 0x412540
mov esi, dword [sym.imp.user32.dll_RegisterClassExW]
setne dl
or eax, edx
movzx eax, al
mov dword [0x4123b4], eax
call esi
sub esp, 4
test ax, ax
jne 0x406160
test byte [0x412114], 2
jne 0x406280
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x412680
call esi
sub esp, 4
test ax, ax
je 0x406398
mov edx, dword [0x4123b4]
test edx, edx
jne 0x4062b0
call sym._get_window_size
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], eax
mov eax, dword [str.Shell_TrayWnd]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0xc80000
mov dword [esp + 8], 0x414964
mov dword [esp + 4], eax
mov dword [esp], 0x8000000
call dword [sym.imp.user32.dll_CreateWindowExW]
sub esp, 0x30
mov dword [0x4126c4], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x306
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [sym.imp.win32u.dll_NtUserMessageCall]
mov eax, dword [0x4126c4]
sub esp, 0x1c
test eax, eax
je 0x4063f8
mov dword [esp + 0xc], 0x32
mov dword [esp + 8], 0x4125e0
mov dword [esp + 4], 3
mov dword [esp], 0
call dword [sym.imp.user32.dll_LoadStringW]
xor eax, eax
sub esp, 0x10
call sym._add_taskbar_button
mov eax, dword [0x4123b4]
test eax, eax
je 0x4063d0
call sym._do_show_systray
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], str.Could_not_register_SysTray_window_class_n
mov dword [esp + 8], str.initialize_systray
mov dword [esp + 4], 0x412114
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x3c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0x30
call dword [sym.imp.user32.dll_SystemParametersInfoW]
sub esp, 0x10
mov dword [esp], 1
call ebx
sub esp, 4
mov esi, eax
mov dword [esp], 0
call ebx
mov dword [ebp - 0x2c], 0
sub esp, 4
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], esi
mov dword [esp + 8], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_SubtractRect]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
sub esp, 0xc
mov edx, dword [ebp - 0x1c]
sub eax, ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x28], 0
sub eax, edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], eax
mov eax, dword [str.Shell_TrayWnd]
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x80000000
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0x8000000
call dword [sym.imp.user32.dll_CreateWindowExW]
mov dword [0x4126c4], eax
sub esp, 0x30
jmp 0x40622f
test byte [0x412114], 2
je 0x406156
mov dword [esp + 0xc], str.Could_not_register_Wine_SysTray_window_classes_n
mov dword [esp + 8], str.initialize_systray
mov dword [esp + 4], 0x412114
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_4
jmp 0x406156
mov eax, dword [0x4126c4]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x412114], 2
je 0x406156
mov dword [esp + 0xc], str.Could_not_create_tray_window_n
mov dword [esp + 8], str.initialize_systray
mov dword [esp + 4], 0x412114
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_4
jmp 0x406156