Function at 0x6905b7d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
mov esi, ecx
push ebx
mov ebx, edx
sub esp, 0xcc
mov dword [ebp - 0x90], ecx
mov dword [esp + 4], 0x7f02
mov dword [esp], 0
call dword [sym.imp.user32.dll_LoadCursorW]
sub esp, 8
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SetCursor]
mov dword [ebp - 0xa4], eax
call eax
sub esp, 4
mov dword [ebp - 0xa0], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.__WINE_FONTDLGDATA
mov dword [esp], edi
call dword [sym.imp.user32.dll_SetPropW]
mov eax, dword [esi + 0xc]
sub esp, 0xc
mov dword [ebp - 0x9c], eax
test byte [0x6907608c], 8
jne 0x6905be80
mov eax, dword [ebp - 0x90]
cmp dword [eax], 0x3c
je 0x6905b880
test byte [0x6907608c], 2
jne 0x6905c0f0
mov dword [esp], edi
mov dword [esp + 4], 0
call dword [sym.imp.user32.dll_EndDialog]
xor eax, eax
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [0x6908d03c]
test ebx, ebx
je 0x6905c14f
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x14]
mov edx, eax
and edx, 0x140
cmp edx, 0x140
je 0x6905c119
test al, 4
jne 0x6905ba00
mov dword [esp + 4], 0x40e
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [ebp - 0x90]
sub esp, 8
mov eax, dword [eax + 0x14]
test ah, 2
je 0x6905ba2f
test eax, 0x800000
jne 0x6905ba6b
test ah, 1
je 0x6905baa5
mov eax, dword [sym.imp.user32.dll_SendDlgItemMessageW]
lea esi, [ebp - 0x74]
mov ebx, 0x410
mov dword [ebp - 0x8c], eax
jmp 0x6905b9ad
mov dword [esp + 0x10], esi
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x143
mov dword [esp + 4], 0x473
mov dword [esp], edi
call eax
mov ecx, dword [ebx*4 + 0x690799a0]
sub esp, 0x14
mov dword [ebp - 0x94], eax
mov dword [esp + 0x10], ecx
mov dword [ebp - 0x98], ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 0x151
mov dword [esp + 4], 0x473
mov dword [esp], edi
call eax
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x98]
sub esp, 0x14
mov edx, dword [ebp - 0x94]
cmp ecx, dword [eax + 0x18]
je 0x6905be30
add ebx, 1
cmp ebx, 0x420
je 0x6905bb51
mov eax, dword [0x6908d004]
mov dword [esp + 0xc], 0x1e
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
sub esp, 0x10
test eax, eax
jne 0x6905b920
mov edx, 0x5b
jmp 0x6905b9e7
movzx edx, word [eax + str._color_name_]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x6905b9e0
jmp 0x6905b920
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [sym.imp.user32.dll_IsWindow]
sub esp, 4
test eax, eax
je 0x6905b8b3
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x14]
test ah, 2
jne 0x6905b8ed
mov dword [esp + 4], 0x402
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [ebp - 0x90]
sub esp, 8
mov eax, dword [eax + 0x14]
test eax, 0x800000
je 0x6905b8f8
mov dword [esp + 4], 0x474
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_EnableWindow]
mov eax, dword [ebp - 0x90]
sub esp, 8
mov eax, dword [eax + 0x14]
test ah, 1
jne 0x6905b901
mov ebx, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x473
mov dword [esp], edi
call ebx
mov esi, dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
sub esp, 8
mov dword [esp + 4], 0x410
mov dword [esp], edi
call ebx
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
sub esp, 8
mov dword [esp + 4], 0x411
mov dword [esp], edi
call ebx
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
sub esp, 8
mov dword [esp + 4], 0x430
mov dword [esp], edi
call ebx
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
sub esp, 8
mov dword [esp + 4], 0x443
mov dword [esp], edi
call ebx
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
sub esp, 8
mov eax, dword [ebp - 0x90]
test byte [eax + 0x14], 2
je 0x6905beb0
mov eax, dword [eax + 8]
mov dword [ebp - 0x98], eax
test eax, eax
je 0x6905beb0
mov eax, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp], edi
lea ebx, [ebp - 0x84]
lea esi, [ebp - 0x74]
mov dword [esp + 4], 0x470
mov dword [ebp - 0x94], eax
call eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x90]
sub esp, 8
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x98]
xor ecx, ecx
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x5d], 1
mov byte [ebp - 0x59], 0
mov word [ebp - 0x58], cx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x6905a190
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_EnumFontFamiliesExW]
sub esp, 0x14
test eax, eax
je 0x6905c2c5
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x78]
mov eax, dword [eax + 0x14]
test edx, edx
jne 0x6905bc10
test ah, 0x40
jne 0x6905bf08
test eax, 0x40000
jne 0x6905c1d0
test al, 0x40
jne 0x6905bf30
mov eax, dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov dword [ebp - 0x8c], eax
mov dword [esp + 4], 0x470
mov eax, dword [ebp - 0x94]
mov dword [esp], edi
call eax
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
mov esi, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14e
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x10470
mov dword [esp + 4], 0x111
mov dword [esp], edi
call ebx
mov eax, dword [ebp - 0x94]
sub esp, 0x10
mov dword [esp + 4], 0x471
mov dword [esp], edi
call eax
sub esp, 8
mov esi, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14e
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x10471
mov dword [esp + 4], 0x111
mov dword [esp], edi
call ebx
mov eax, dword [ebp - 0x94]
sub esp, 0x10
mov dword [esp + 4], 0x472
mov dword [esp], edi
call eax
sub esp, 8
mov esi, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14e
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x10472
mov dword [esp + 4], 0x111
mov dword [esp], edi
call ebx
mov eax, dword [ebp - 0x94]
sub esp, 0x10
mov dword [esp + 4], 0x474
mov dword [esp], edi
call eax
sub esp, 8
mov esi, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14e
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x10474
mov dword [esp + 4], 0x111
mov dword [esp], edi
call ebx
sub esp, 0x10
mov dword [esp + 0x10], 0
mov esi, dword [ebp - 0x8c]
mov dword [esp + 0xc], 5
mov dword [esp + 8], 0x141
mov dword [esp + 4], 0x472
mov dword [esp], edi
call esi
mov ecx, dword [ebp - 0x90]
sub esp, 0x14
mov eax, dword [ecx + 0x14]
test al, 0x80
je 0x6905bdf8
mov edx, dword [ecx + 0x2c]
test edx, edx
je 0x6905bdf8
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x14c
mov dword [esp + 4], 0x471
mov dword [esp], edi
call esi
sub esp, 0x14
mov esi, eax
cmp eax, 0xffffffff
jne 0x6905c21b
mov ecx, dword [ebp - 0x90]
mov eax, dword [ecx + 0x14]
lea esi, [esi]
nop
test al, 2
je 0x6905be60
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 8]
test eax, eax
je 0x6905be60
mov eax, dword [ebp - 0xa0]
mov dword [esp], eax
mov eax, dword [ebp - 0xa4]
call eax
mov eax, 1
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x14e
mov dword [esp + 4], 0x473
mov dword [esp], edi
call eax
sub esp, 0x14
jmp 0x6905b99e
mov eax, dword [ebp - 0x98]
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_ReleaseDC]
sub esp, 8
jmp 0x6905be09
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.WM_INITDIALOG_lParam_08IX_n
mov dword [esp + 8], str.CFn_WMInitDialog
mov dword [esp + 4], 0x6907608c
mov dword [esp], 3
call fcn.69059e50
jmp 0x6905b847
mov dword [esp], 0
call dword [sym.imp.user32.dll_GetDC]
mov dword [ebp - 0x98], eax
sub esp, 4
test eax, eax
jne 0x6905bb72
test byte [0x6907608c], 2
je 0x6905b85f
mov dword [esp + 0xc], str.HDC_failure____n
mov dword [esp + 8], str.CFn_GetDC
mov dword [esp + 4], 0x6907608c
mov dword [esp], 1
call fcn.69059e50
jmp 0x6905b85f
test byte [0x6907608c], 1
jne 0x6905c19a
mov ecx, dword [ebp - 0x90]
and ah, 0xbf
mov dword [ecx + 0x14], eax
jmp 0x6905bba5
mov esi, dword [ebp - 0x9c]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x14c
lea eax, [esi + 0x1c]
mov dword [esp + 4], 0x470
mov dword [esp + 0x10], eax
mov eax, dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov dword [esp], edi
mov dword [ebp - 0x8c], eax
call eax
sub esp, 0x14
mov ebx, eax
cmp eax, 0xffffffff
je 0x6905bc23
mov eax, dword [esi]
mov edx, dword [esi]
mov dword [ebp - 0x9c], esi
sar eax, 0x1f
xor edx, eax
sub edx, eax
movzx eax, byte [esi + 0x17]
mov dword [esp], 0
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xa8], eax
call dword [sym.imp.user32.dll_GetDC]
sub esp, 4
mov dword [ebp - 0xac], eax
mov dword [esp + 4], 0x5a
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
mov ecx, dword [ebp - 0xac]
sub esp, 8
mov esi, eax
mov dword [esp + 4], ecx
mov dword [esp], 0
call dword [sym.imp.user32.dll_ReleaseDC]
mov edx, dword [ebp - 0xb0]
sub esp, 8
mov dword [esp + 8], esi
mov esi, 0x190
mov dword [esp + 4], 0x48
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_MulDiv]
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xac], eax
sub esp, 0xc
mov eax, 0x2bc
cmp dword [ecx + 0x10], 0x1f4
cmovg esi, eax
cmp byte [ecx + 0x14], 0
mov dword [ebp - 0x9c], esi
mov eax, esi
je 0x6905c031
or eax, 0x10000
mov dword [ebp - 0x9c], eax
mov dword [esp + 4], 0x470
mov eax, dword [ebp - 0x94]
mov dword [esp], edi
call eax
sub esp, 8
mov esi, eax
mov dword [esp + 8], ebx
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x14e
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 0xc], esi
xor esi, esi
mov dword [esp + 8], 0x10470
mov dword [esp + 4], 0x111
mov dword [esp], edi
call ebx
sub esp, 0x10
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x150
mov dword [esp + 4], 0x471
mov dword [esp], edi
call eax
sub esp, 0x14
cmp dword [ebp - 0x9c], eax
je 0x6905c2dc
add esi, 1
cmp esi, 4
jne 0x6905c089
mov edx, dword [ebp - 0xac]
mov eax, edi
call fcn.6905a8d0
mov edx, dword [ebp - 0xa8]
mov eax, edi
call fcn.6905a9f0
jmp 0x6905bd79
mov dword [esp + 0xc], 0x6907a778
mov dword [esp + 8], str.CFn_WMInitDialog
mov dword [esp + 4], 0x6907608c
mov dword [esp], 1
call fcn.69059e50
jmp 0x6905b85f
mov eax, dword [ebp - 0x9c]
cmp byte [eax + 0x15], 0
jne 0x6905c2a4
mov eax, dword [ebp - 0x9c]
cmp byte [eax + 0x16], 0
jne 0x6905c283
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x14]
test al, 4
jne 0x6905ba00
jmp 0x6905b8b3
mov eax, dword [0x6908d004]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0xff000000
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x14
mov dword [esp + 4], 0x26
mov dword [esp], eax
call dword [sym.imp.comctl32.dll_ImageList_LoadImageW]
mov dword [0x6908d03c], eax
sub esp, 0x1c
jmp 0x6905b88e
mov dword [esp + 0xc], str.No_font_found_with_fixed_pitch_only__dropping_flag._n
mov dword [esp + 8], str.CFn_WMInitDialog
mov dword [esp + 4], 0x6907608c
mov dword [esp], 0
call fcn.69059e50
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x14]
jmp 0x6905bf15
test byte [0x6907608c], 1
jne 0x6905c1ec
mov ecx, dword [ebp - 0x90]
and eax, 0xfffbffff
mov dword [ecx + 0x14], eax
jmp 0x6905bba5
mov dword [esp + 0xc], str.No_font_found_with_truetype_only__dropping_flag._n
mov dword [esp + 8], str.CFn_WMInitDialog
mov dword [esp + 4], 0x6907608c
mov dword [esp], 0
call fcn.69059e50
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x14]
jmp 0x6905c1d9
mov dword [esp + 4], 0x471
mov eax, dword [ebp - 0x94]
mov dword [esp], edi
call eax
sub esp, 8
mov dword [ebp - 0x8c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0x14e
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x8c]
sub esp, 0x10
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x10471
mov dword [esp + 4], 0x111
mov dword [esp], edi
call ebx
mov eax, dword [ebp - 0x90]
sub esp, 0x10
mov eax, dword [eax + 0x14]
jmp 0x6905bdf8
mov dword [esp + 8], 1
mov dword [esp + 4], 0x410
mov dword [esp], edi
call dword [sym.imp.user32.dll_CheckDlgButton]
sub esp, 0xc
jmp 0x6905c139
mov dword [esp + 8], 1
mov dword [esp + 4], 0x411
mov dword [esp], edi
call dword [sym.imp.user32.dll_CheckDlgButton]
sub esp, 0xc
jmp 0x6905c129
test byte [0x6907608c], 8
jne 0x6905c33b
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x14]
jmp 0x6905bc10
mov dword [esp + 4], 0x471
mov eax, dword [ebp - 0x94]
mov dword [esp], edi
call eax
sub esp, 8
mov dword [ebp - 0x9c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0x14e
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x9c]
sub esp, 0x10
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x10471
mov dword [esp + 4], 0x111
mov dword [esp], edi
call ebx
sub esp, 0x10
jmp 0x6905c0c7
mov dword [esp + 0xc], str.EnumFontFamiliesEx_returns_0_n
mov dword [esp + 8], str.CFn_WMInitDialog
mov dword [esp + 4], 0x6907608c
mov dword [esp], 3
call fcn.69059e50
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x14]
jmp 0x6905bc10