Function at 0x10004030
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x7c
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp eax, 0xfffffffb
je 0x10004070
cmp eax, 0xfffffffd
je 0x100042a0
mov ebx, 0x80004001
test byte [0x1000e070], 1
jne 0x10004350
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 0x1c
test byte [0x1000e070], 8
jne 0x100043c8
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 0x14
test eax, eax
jne 0x100044a9
mov eax, dword [esi + 0x30]
lea ecx, [ebp - 0x54]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x100155d4
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x100042d0
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x48]
mov ebx, eax
mov eax, dword [ebp - 0x54]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test ebx, ebx
jne 0x100043f8
test byte [0x1000e070], 1
jne 0x10004480
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x10004458
mov dword [ebp - 0x40], 0
mov edx, dword [eax]
lea ecx, [ebp - 0x40]
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x3c]
mov eax, dword [ebp - 0x50]
sub esp, 0xc
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x1c]
mov edx, dword [eax]
mov dword [esp], eax
mov dword [esp + 0x14], ecx
lea ecx, [ebp - 0x2c]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x3c]
mov dword [esp + 0xc], ecx
lea ecx, [ebp - 0x48]
mov dword [esp + 8], ecx
lea ecx, [ebp - 0x44]
mov dword [esp + 4], ecx
call dword [edx + 0x20]
mov ebx, eax
mov eax, dword [ebp - 0x4c]
sub esp, 0x18
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test ebx, ebx
js 0x10004388
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], sym._register_wmp_class_12
mov dword [esp], section..bss
call dword [sym.imp.kernel32.dll_InitOnceExecuteOnce]
sub esp, 0x10
cmp word [0x1001b004], 0
je 0x10004440
lea eax, [esi + 0x30]
mov ebx, dword [0x1001b0c4]
call sym._get_container_hwnd.isra.0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x28], ebx
sub eax, ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x14], ecx
sub eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
movzx eax, word [0x1001b004]
mov dword [esp + 0xc], 0x56000000
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.user32.dll_CreateWindowExW]
mov dword [esi + 0x34], eax
sub esp, 0x30
test eax, eax
je 0x1000451f
mov eax, dword [esi + 0x30]
xor ebx, ebx
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x18]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 0x1c
mov eax, dword [esi + 0x34]
test eax, eax
je 0x100044e4
mov dword [esp + 4], 0
xor ebx, ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, ebx
sub esp, 8
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 0x1c
mov eax, dword [esi + 0x30]
lea ecx, [ebp - 0x50]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x100155e4
mov dword [esp], eax
call dword [edx]
mov eax, dword [ebp - 0x50]
sub esp, 0xc
test eax, eax
jne 0x1000415f
mov eax, dword [esi + 0x30]
lea ecx, [ebp - 0x4c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x10015d14
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test byte [0x1000e070], 1
je 0x1000405e
mov dword [esp + 0xc], str.No_IOleInPlaceSite_instance_n
mov dword [esp + 8], str.activate_inplace
mov dword [esp + 4], 0x1000e070
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000405e
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unsupported_iVerb__ld_n
mov dword [esp + 8], str.OleObject_DoVerb
mov dword [esp + 4], 0x1000e070
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 0x1c
test byte [0x1000e070], 1
je 0x1000405e
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.GetWindowContext_failed:__08lx_n
mov dword [esp + 8], str.activate_inplace
mov dword [esp + 4], 0x1000e070
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000405e
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p____OLEIVERB_INPLACEACTIVATE__n
mov dword [esp + 8], str.OleObject_DoVerb
mov dword [esp + 4], 0x1000e070
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000407d
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x1000415f
mov eax, dword [esi + 0x30]
lea ecx, [ebp - 0x4c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x10015d14
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test ebx, ebx
js 0x10004313
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x18]
mov eax, dword [ebp - 0x4c]
sub esp, 4
jmp 0x10004186
mov dword [esi + 0x34], 0
mov ebx, 0x80004005
jmp 0x1000405e
mov eax, dword [esi + 0x30]
lea ecx, [ebp - 0x4c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x10015d14
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
jmp 0x1000442a
mov dword [esp + 0xc], str.Windowless_activation_not_supported_n
mov dword [esp + 8], str.activate_inplace
mov dword [esp + 4], 0x1000e070
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x10004151
mov ebx, 0x8000ffff
test byte [0x1000e070], 1
je 0x1000405e
mov dword [esp + 0xc], str.Already_activated_n
mov dword [esp + 8], str.activate_inplace
mov dword [esp + 4], 0x1000e070
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000405e
mov ebx, 0x8000ffff
test byte [0x1000e070], 1
je 0x1000405e
mov dword [esp + 0xc], str.No_window_to_hide_n
mov dword [esp + 8], str.OleObject_DoVerb
mov dword [esp + 4], 0x1000e070
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000405e
mov ebx, 0x80004005
jmp 0x1000405e