Function at 0x1000ce20
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 0x1000cf50
cmp eax, 0x111
jne 0x1000ce85
movzx eax, word [ebp + 0x10]
cmp eax, 0x370
je 0x1000d458
ja 0x1000ce98
cmp eax, 1
je 0x1000d348
cmp eax, 2
jne 0x1000ce85
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 0x1000d740
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
sub eax, 0x372
cmp eax, 1
ja 0x1000ce85
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 0x1000ce85
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 0x1000ce85
mov eax, dword [eax]
test eax, eax
je 0x1000ce85
mov ecx, dword [ebp + 8]
cmp word [ebp + 0x10], 0x372
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
je 0x1000d77e
mov dword [esp + 4], 0x500b
mov dword [esp], eax
call sym.msvfw32.dll_ICSendMessage
sub esp, 0x10
jmp 0x1000ce85
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 0x1000d240
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 ecx, dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x360], ecx
test al, 2
je 0x1000d240
test al, 1
je 0x1000d2c8
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 [0x100170c0]
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 - 0x350], 0
mov dword [ebp - 0x34c], eax
sub esp, 8
lea esi, [esi]
lea eax, [ebp - 0x244]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x350]
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 0x1000d588
mov eax, dword [ebp - 0x23c]
mov dword [esp + 8], 1
add dword [ebp - 0x350], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x240]
mov dword [esp], eax
call sym.msvfw32.dll_ICOpen
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x1000d0f0
mov eax, dword [ebp - 0x358]
mov ebx, dword [ebp - 0x23c]
test eax, eax
jne 0x1000d19a
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x1000d19a
mov dword [esp], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4006
mov dword [ebp - 0x354], edx
call sym.msvfw32.dll_ICSendMessage
mov edx, dword [ebp - 0x354]
sub esp, 0x10
test eax, eax
jne 0x1000d610
lea eax, [ebp - 0x244]
mov dword [esp], edx
lea esi, [ebp - 0x244]
mov dword [esp + 8], 0x238
mov dword [esp + 4], eax
mov dword [ebp - 0x354], edx
call sym.msvfw32.dll_ICGetInfo
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x23c], ebx
sub esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x34c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x143
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov ecx, dword [ebp - 0x35c]
sub esp, 0x10
mov ebx, eax
mov dword [esp], 0x23c
call ecx
mov edx, dword [ebp - 0x354]
mov ecx, 0x8e
lea edi, [eax + 4]
rep movsd dword es:[edi], dword [esi]
mov dword [eax], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x34c]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x151
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x1000d0f0
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 0x1000cfba
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x360]
mov dword [esp + 4], 0x377
mov dword [esp], eax
call esi
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 esi
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 esi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
sub esp, 8
jmp 0x1000cfba
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 0x1000ce85
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 0x1000d74b
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
xor ebx, ebx
jmp 0x1000d409
mov eax, dword [edx]
test eax, eax
je 0x1000d3fd
mov dword [esp], eax
mov dword [ebp - 0x34c], edx
call sym.msvfw32.dll_ICClose
mov edx, dword [ebp - 0x34c]
sub esp, 4
mov dword [esp], edx
add ebx, 1
call dword [sym.imp.ucrtbase.dll_free]
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x150
mov dword [esp], esi
call edi
mov edx, eax
lea eax, [eax - 1]
sub esp, 0x10
cmp eax, 0xfffffffd
jbe 0x1000d3e0
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 0x1000ce85
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xfffffffd
cmp ax, 1
jne 0x1000ce85
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 0x1000d535
mov esi, eax
mov eax, dword [eax]
xor ebx, ebx
test eax, eax
je 0x1000d535
mov dword [esp + 0xc], 1
xor ebx, ebx
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x500a
mov dword [esp], eax
call sym.msvfw32.dll_ICSendMessage
sub esp, 0x10
test eax, eax
mov dword [esp + 0xc], 1
sete bl
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x500b
mov eax, dword [esi]
mov dword [esp], eax
call sym.msvfw32.dll_ICSendMessage
sub esp, 0x10
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 0x1000ce85
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
test byte [0x10010048], 8
jne 0x1000d630
mov dword [esp], edx
call sym.msvfw32.dll_ICClose
sub esp, 4
jmp 0x1000d0f0
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x23c]
mov eax, dword [eax + 0x1c]
mov ecx, ebx
mov esi, ebx
mov dword [ebp - 0x348], ebx
shr ecx, 0x10
shr esi, 0x18
mov edi, dword [eax + 0x10]
mov eax, ebx
mov dword [ebp - 0x370], ecx
shr eax, 8
mov dword [ebp - 0x374], esi
mov dword [ebp - 0x354], eax
mov eax, 0x1001412b
test ebx, ebx
je 0x1000d6fc
movsx eax, bl
mov dword [ebp - 0x36c], edx
mov esi, dword [sym.imp.ucrtbase.dll_isprint]
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x36c]
test eax, eax
je 0x1000d6e0
movsx eax, byte [ebp - 0x354]
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x36c]
test eax, eax
je 0x1000d6e0
movsx eax, byte [ebp - 0x370]
mov dword [ebp - 0x354], edx
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x354]
test eax, eax
je 0x1000d6e0
movsx eax, byte [ebp - 0x374]
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x354]
test eax, eax
jne 0x1000d796
lea esi, [esi]
mov dword [esp + 4], ebx
mov dword [esp], str.0x_08x
mov dword [ebp - 0x354], edx
call sym._wine_dbg_sprintf_1
mov edx, dword [ebp - 0x354]
mov dword [esp + 0x14], edi
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], 0x10010048
mov dword [esp], 3
mov dword [ebp - 0x354], edx
call sym._wine_dbg_log.constprop.0_2
mov edx, dword [ebp - 0x354]
jmp 0x1000d619
mov edi, dword [sym.imp.user32.dll_SendMessageW]
jmp 0x1000d3db
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 0x1000d3c0
mov dword [esp + 4], 0x500a
mov dword [esp], eax
call sym.msvfw32.dll_ICSendMessage
sub esp, 0x10
jmp 0x1000ce85
lea eax, [ebp - 0x348]
mov dword [esp], str._.4s
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edx, dword [ebp - 0x354]
jmp 0x1000d6fc