Function at 0x1000d9d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x380
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
je 0x1000da48
cmp eax, 0x111
jne 0x1000da35
movzx eax, word [ebp + 0x10]
cmp eax, 0x370
je 0x1000df00
ja 0x1000dd40
cmp eax, 1
je 0x1000e1f0
cmp eax, 2
jne 0x1000da35
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x370
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
mov esi, eax
mov eax, dword [ebp + 0x10]
sub esp, 8
shr eax, 0x10
je 0x1000e285
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], 8
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SetWindowLongW]
mov dword [ebp - 0x368], eax
call eax
mov eax, dword [ebp + 0x14]
sub esp, 0xc
and dword [eax], 0xfffffffc
mov eax, dword [eax + 4]
test eax, eax
je 0x1000ddf8
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowTextA]
mov eax, dword [ebp + 0x14]
mov edx, dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x360], edx
test al, 2
je 0x1000ddf8
test al, 1
je 0x1000de80
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x360]
mov dword [esp + 4], 0x374
mov dword [esp], eax
call edi
mov ebx, dword [sym.imp.user32.dll_EnableWindow]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
mov eax, dword [ebp + 8]
sub esp, 8
mov dword [esp + 4], 0x376
mov dword [esp], eax
call edi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
mov eax, dword [0x1000f024]
lea ebx, [ebp - 0x344]
sub esp, 8
mov dword [esp + 0xc], pe_nt_image_headers32
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x385
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
mov esi, dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov eax, dword [ebp + 8]
sub esp, 0x10
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x143
mov dword [esp + 4], 0x370
mov dword [esp], eax
mov dword [ebp - 0x364], esi
call esi
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
sub esp, 0x14
mov dword [esp], 0x23c
mov dword [ebp - 0x35c], eax
call eax
mov dword [eax + 8], 0x73646976
mov dword [eax + 0xc], 0x20424944
mov dword [eax], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x151
mov dword [esp + 4], 0x370
mov dword [esp], eax
call esi
mov eax, dword [ebp + 0x14]
sub esp, 0x14
mov eax, dword [eax]
mov dword [esp + 4], 0x370
and eax, 8
mov dword [ebp - 0x358], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call edi
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x350], eax
sub esp, 8
lea esi, [esi]
lea eax, [ebp - 0x244]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x34c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x14]
mov dword [esp], eax
call sym.msvfw32.dll_ICInfo
sub esp, 0xc
test eax, eax
je 0x1000e080
mov eax, dword [ebp - 0x23c]
mov dword [esp + 8], 1
inc dword [ebp - 0x34c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x240]
mov dword [esp], eax
call sym.msvfw32.dll_ICOpen
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x1000dbe8
mov eax, dword [ebp - 0x358]
mov esi, dword [ebp - 0x23c]
test eax, eax
jne 0x1000dc99
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x1000dc99
mov eax, dword [0x1000f028]
test eax, eax
jne 0x1000dc7b
jmp 0x1000e060
mov eax, dword [eax + 0x30]
test eax, eax
je 0x1000e060
cmp ebx, dword [eax + 0x28]
jne 0x1000dc70
mov dword [esp], 0
mov edx, 0x4006
call sym._MSVIDEO_SendMessage
test eax, eax
jne 0x1000e060
lea eax, [ebp - 0x244]
mov dword [esp + 8], 0x238
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.msvfw32.dll_ICGetInfo
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x23c], esi
lea esi, [ebp - 0x244]
sub esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x350]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x143
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov edx, dword [ebp - 0x35c]
sub esp, 0x10
mov dword [ebp - 0x354], eax
mov dword [esp], 0x23c
call edx
mov ecx, 0x8e
lea edi, [eax + 4]
rep movsd dword es:[edi], dword [esi]
mov dword [eax], ebx
mov edi, dword [ebp - 0x354]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x350]
mov dword [esp + 8], edi
mov dword [esp + 4], 0x151
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x1000dbe8
sub eax, 0x372
cmp eax, 1
ja 0x1000da35
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x370
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
mov ebx, eax
mov eax, dword [ebp + 0x10]
sub esp, 8
shr eax, 0x10
jne 0x1000da35
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x147
mov dword [esp], ebx
call esi
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x150
mov dword [esp], ebx
call esi
sub esp, 0x10
test eax, eax
je 0x1000da35
mov edx, dword [eax]
test edx, edx
je 0x1000da35
cmp word [ebp + 0x10], 0x372
mov eax, dword [0x1000f028]
jne 0x1000ddec
jmp 0x1000e309
cmp edx, dword [eax + 0x28]
je 0x1000e345
mov eax, dword [eax + 0x30]
test eax, eax
jne 0x1000dde0
jmp 0x1000da35
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x37e
mov dword [esp], eax
mov dword [ebp - 0x360], edi
call edi
mov ebx, dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
mov eax, dword [ebp + 8]
sub esp, 8
mov dword [esp + 4], 0x37f
mov dword [esp], eax
call edi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
mov eax, dword [ebp + 8]
sub esp, 8
mov dword [esp + 4], 0x380
mov dword [esp], eax
call edi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
mov eax, dword [ebp + 0x14]
sub esp, 8
mov eax, dword [eax]
test al, 1
jne 0x1000dab2
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x360]
mov dword [esp + 4], 0x377
mov dword [esp], eax
call edi
mov ebx, dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
mov eax, dword [ebp + 8]
sub esp, 8
mov dword [esp + 4], 0x378
mov dword [esp], eax
call edi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
mov eax, dword [ebp + 8]
sub esp, 8
mov dword [esp + 4], 0x379
mov dword [esp], eax
call edi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
sub esp, 8
jmp 0x1000dab2
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xfffffffd
cmp ax, 1
jne 0x1000da35
mov eax, dword [ebp + 8]
mov dword [esp + 4], 8
xor edi, edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongW]
mov eax, dword [ebp + 0x14]
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x147
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x150
mov dword [esp], eax
call ebx
sub esp, 0x10
mov ebx, eax
test eax, eax
je 0x1000e010
mov edx, dword [eax]
mov esi, eax
xor ebx, ebx
test edx, edx
je 0x1000e010
mov eax, dword [0x1000f028]
mov ebx, eax
test eax, eax
jne 0x1000dfab
jmp 0x1000e3a0
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x1000e35e
cmp edx, dword [ebx + 0x28]
jne 0x1000dfa0
mov dword [esp], 1
mov edx, 0x500a
mov eax, ebx
mov ecx, 0xffffffff
xor ebx, ebx
call sym._MSVIDEO_SendMessage
mov edx, dword [esi]
test eax, eax
mov eax, dword [0x1000f028]
sete bl
test eax, eax
jne 0x1000dfeb
jmp 0x1000e365
mov eax, dword [eax + 0x30]
test eax, eax
je 0x1000e365
cmp dword [eax + 0x28], edx
jne 0x1000dfe0
mov dword [esp], 1
mov ecx, 0xffffffff
mov edx, 0x500b
call sym._MSVIDEO_SendMessage
test eax, eax
sete al
movzx eax, al
mov edi, eax
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x372
mov dword [esp], eax
call esi
sub esp, 8
mov dword [esp + 4], ebx
mov ebx, dword [sym.imp.user32.dll_EnableWindow]
mov dword [esp], eax
call ebx
mov eax, dword [ebp + 8]
sub esp, 8
mov dword [esp + 4], 0x373
mov dword [esp], eax
call esi
sub esp, 8
mov dword [esp + 4], edi
mov dword [esp], eax
call ebx
sub esp, 8
jmp 0x1000da35
test byte [0x1000f05c], 8
jne 0x1000e108
mov dword [esp], ebx
call sym.msvfw32.dll_ICClose
sub esp, 4
jmp 0x1000dbe8
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x364]
mov dword [esp + 8], 0x14e
mov dword [esp + 4], 0x370
call eax
mov eax, dword [ebp + 8]
sub esp, 0x14
mov dword [esp], eax
mov eax, dword [ebp - 0x360]
mov dword [esp + 4], 0x370
call eax
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetFocus]
mov eax, dword [ebp + 0x14]
sub esp, 4
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], 8
mov dword [esp], eax
mov eax, dword [ebp - 0x368]
call eax
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov edi, dword [ebp - 0x23c]
mov eax, dword [ebp + 0x14]
mov edx, edi
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x348], edi
shr edx, 8
mov dword [ebp - 0x354], edx
mov esi, dword [eax + 0x10]
mov edx, edi
mov eax, edi
shr eax, 0x10
shr edx, 0x18
mov dword [ebp - 0x370], eax
mov eax, 0x10012dd3
mov dword [ebp - 0x374], edx
test edi, edi
je 0x1000e1b9
mov ecx, dword [sym.imp.ucrtbase.dll_isprint]
mov eax, edi
movsx eax, al
mov dword [esp], eax
mov dword [ebp - 0x36c], ecx
call ecx
test eax, eax
je 0x1000e1a9
mov edx, dword [ebp - 0x354]
mov ecx, dword [ebp - 0x36c]
movsx edx, dl
mov dword [esp], edx
call ecx
test eax, eax
je 0x1000e1a9
movsx eax, byte [ebp - 0x370]
mov ecx, dword [ebp - 0x36c]
mov dword [esp], eax
call ecx
test eax, eax
je 0x1000e1a9
movsx eax, byte [ebp - 0x374]
mov ecx, dword [ebp - 0x36c]
mov dword [esp], eax
call ecx
test eax, eax
jne 0x1000e385
mov dword [esp + 4], edi
mov dword [esp], str.0x_08x
call sym._wine_dbg_sprintf_1
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.fccHandler__s_doesnt_support_input_DIB_format__ld_n
mov dword [esp + 8], str.enum_compressors
mov dword [esp + 4], 0x1000f05c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x1000e06d
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x370
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [ebp - 0x360], eax
call eax
mov ebx, eax
mov eax, dword [ebp + 0x10]
sub esp, 8
shr eax, 0x10
jne 0x1000da35
mov dword [esp], ebx
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x147
call edi
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x150
call edi
sub esp, 0x10
mov ebx, eax
test eax, eax
jne 0x1000e312
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x370
mov dword [esp], eax
mov eax, dword [ebp - 0x360]
call eax
sub esp, 8
mov esi, eax
jmp 0x1000e28b
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x34c], esi
xor ebx, ebx
jmp 0x1000e2b3
mov eax, dword [esi]
test eax, eax
je 0x1000e2a9
mov dword [esp], eax
call sym.msvfw32.dll_ICClose
sub esp, 4
mov dword [esp], esi
inc ebx
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x34c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x150
mov dword [esp], eax
call edi
mov esi, eax
lea eax, [eax - 1]
sub esp, 0x10
cmp eax, 0xfffffffd
jbe 0x1000e298
xor eax, eax
cmp word [ebp + 0x10], 1
sete al
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_EndDialog]
sub esp, 8
jmp 0x1000da35
cmp edx, dword [eax + 0x28]
je 0x1000e36c
mov eax, dword [eax + 0x30]
test eax, eax
jne 0x1000e301
jmp 0x1000da35
mov eax, dword [ebp + 8]
mov dword [esp + 4], 8
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongW]
mov edx, dword [ebx]
sub esp, 8
mov dword [eax + 0x10], edx
mov edx, dword [ebx + 8]
mov dword [eax + 0x14], edx
mov edx, dword [ebx + 0xc]
mov dword [eax + 0x18], edx
mov dword [ebx], 0
jmp 0x1000e268
mov dword [esp], 0
mov ecx, dword [ebp + 8]
mov edx, 0x500b
call sym._MSVIDEO_SendMessage
jmp 0x1000da35
xor ebx, ebx
jmp 0x1000dfeb
xor edi, edi
jmp 0x1000e010
mov dword [esp], 0
mov ecx, dword [ebp + 8]
mov edx, 0x500a
call sym._MSVIDEO_SendMessage
jmp 0x1000da35
lea eax, [ebp - 0x348]
mov dword [esp], str._.4s
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
jmp 0x1000e1b9
xor ebx, ebx
jmp 0x1000e010