Function at 0x410130
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9c
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41014e
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x410220
mov ebx, dword [sym.imp.user32.dll_GetSystemMetrics]
mov dword [esp], 0x31
call ebx
sub esp, 4
add eax, 4
mov dword [0x41c418], eax
mov dword [esp], 0x32
call ebx
lea edx, [ebp - 0x3c]
mov ecx, 9
mov dword [0x41c420], esi
add eax, 4
mov edi, edx
sub esp, 4
mov dword [ebp - 0x48], 0x30
mov dword [0x41c414], eax
mov eax, dword [ebp + 0x10]
lea esi, [ebp - 0x48]
mov dword [ebp - 0x44], 0xa
mov dword [0x41c41c], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp - 0x40], sym._tray_wndproc_16
mov dword [esp + 4], 0x7f05
mov dword [esp], 0
call dword [sym.imp.user32.dll_LoadIconW]
sub esp, 8
mov dword [ebp - 0x30], eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call dword [sym.imp.user32.dll_LoadCursorW]
mov dword [ebp - 0x28], 5
sub esp, 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], str.Shell_TrayWnd
mov dword [esp], esi
call dword [sym.imp.user32.dll_RegisterClassExW]
sub esp, 4
test ax, ax
jne 0x410248
test byte [0x412088], 2
jne 0x410390
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [esp + 4], str.wine_notify_icon
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x41c434], eax
sub esp, 8
jmp 0x41014e
lea edi, [ebp - 0x78]
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 - 0x68], 0
sub esp, 4
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x68]
mov dword [esp + 4], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], esi
mov dword [esp + 8], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_SubtractRect]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x4c]
sub esp, 0xc
mov edx, dword [ebp - 0x58]
sub eax, ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 0x28], 0
sub eax, edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x80000000
mov dword [esp + 8], 0
mov dword [esp + 4], str.Shell_TrayWnd
mov dword [esp], 0x8000000
call dword [sym.imp.user32.dll_CreateWindowExW]
mov dword [0x41c430], eax
sub esp, 0x30
test eax, eax
je 0x4103c0
mov dword [esp + 0xc], 0x32
mov dword [esp + 8], 0x41c3a0
mov dword [esp + 4], 3
mov dword [esp], 0
call dword [sym.imp.user32.dll_LoadStringW]
mov ecx, dword [0x41c420]
sub esp, 0x10
test ecx, ecx
jne 0x410400
xor eax, eax
call sym._add_taskbar_button.part.0
mov edx, dword [0x41c420]
test edx, edx
jne 0x410400
mov eax, dword [0x41c41c]
test eax, eax
je 0x410212
call sym._do_show_systray
jmp 0x410212
mov dword [esp + 0xc], str.Could_not_register_SysTray_window_class_n
mov dword [esp + 8], str.initialize_systray
mov dword [esp + 4], 0x412088
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
test byte [0x412088], 2
je 0x410212
mov dword [esp + 0xc], str.Could_not_create_tray_window_n
mov dword [esp + 8], str.initialize_systray
mov dword [esp + 4], 0x412088
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_4
jmp 0x410212
mov eax, dword [0x41c430]
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