Function at 0x459490
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
push ebp
xor eax, eax
mov ecx, 0xf
mov ebp, esp
push edi
push esi
lea edx, [ebp - 0x110]
push ebx
lea ebx, [ebp - 0x250]
mov edi, ebx
sub esp, 0x26c
rep stosd dword es:[edi], eax
mov eax, str.wine_ttfnames.ttf
call fcn.00445b90
test eax, eax
je 0x4599f8
lea edi, [ebp - 0x214]
lea edx, [ebp - 0x110]
mov ecx, edi
call fcn.00445c40
test eax, eax
je 0x4599f8
lea esi, [ebp - 0x25c]
mov eax, str.wine_ttfnames_bold.ttf
mov edx, esi
call fcn.00445b90
test eax, eax
je 0x4599c8
lea ecx, [ebp - 0x110]
mov edx, esi
call fcn.00445c40
test eax, eax
je 0x4599c8
mov ecx, dword [sym.imp.gdi32.dll_AddFontResourceExA]
mov dword [esp], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10
mov dword [ebp - 0x264], ecx
call ecx
sub esp, 0xc
mov dword [ebp - 0x260], eax
mov eax, 0x1ba4
call fcn.00446860
mov dword [esp + 4], str.AddFontResourceEx___failed_n
mov edx, dword [ebp - 0x260]
mov dword [esp], edx
call fcn.004471c0
lea eax, [ebp - 0x110]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x264]
call ecx
sub esp, 0xc
mov dword [ebp - 0x260], eax
mov eax, 0x1ba7
call fcn.00446860
mov dword [esp + 4], str.AddFontResourceEx___failed_n
mov edx, dword [ebp - 0x260]
mov dword [esp], edx
call fcn.004471c0
mov dword [esp], 0
call dword [sym.imp.user32.dll_GetDC]
mov ecx, dword [sym.imp.gdi32.dll_EnumFontFamiliesExA]
mov dword [ebp - 0x234], 0x656e6957
mov dword [ebp - 0x230], 0x4654545f
sub esp, 4
mov dword [ebp - 0x22c], 0x6d614e5f
mov dword [ebp - 0x228], 0x4c5f7365
mov dword [ebp - 0x224], 0x5f676e6f
mov dword [ebp - 0x220], 0x696d6146
mov dword [ebp - 0x21c], 0x5f31796c
mov dword [ebp - 0x218], 0x6e6f43
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x446420
mov dword [ebp - 0x260], eax
mov dword [esp], eax
mov dword [ebp - 0x264], ecx
call ecx
mov eax, 0x1bae
sub esp, 0x14
call fcn.00446860
mov dword [esp + 4], str.EnumFontFamiliesExA_must_not_find_font._n
xor eax, eax
mov edx, dword [ebp - 0x25c]
test edx, edx
sete al
mov dword [esp], eax
call fcn.004471c0
mov dword [ebp - 0x234], 0x656e6957
mov dword [ebp - 0x230], 0x46545420
mov dword [ebp - 0x22c], 0x6d614e20
mov dword [ebp - 0x228], 0x4c207365
mov dword [ebp - 0x224], 0x20676e6f
mov dword [ebp - 0x220], 0x696d6146
mov dword [ebp - 0x21c], 0x31796c
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x446420
mov eax, dword [ebp - 0x260]
mov dword [esp], eax
mov ecx, dword [ebp - 0x264]
call ecx
sub esp, 0x14
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x1bb4
xor eax, eax
mov dword [esp + 4], str.EnumFontFamiliesExA_must_not_find_font._n
mov ecx, dword [ebp - 0x25c]
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.004471c0
mov dword [ebp - 0x234], 0x656e6957
mov dword [ebp - 0x230], 0x46545420
mov dword [ebp - 0x22c], 0x6d614e20
mov dword [ebp - 0x228], 0x4c207365
mov dword [ebp - 0x224], 0x20676e6f
mov dword [ebp - 0x220], 0x696d6146
mov dword [ebp - 0x21c], 0x2031796c
mov dword [ebp - 0x218], 0x747845
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x446420
mov eax, dword [ebp - 0x260]
mov dword [esp], eax
mov ecx, dword [ebp - 0x264]
call ecx
mov eax, 0x1bb9
sub esp, 0x14
call fcn.00446860
mov eax, dword [ebp - 0x25c]
mov dword [esp + 4], str.EnumFontFamiliesExA_found__d_fonts__expected_2._n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov dword [ebp - 0x234], 0x656e6957
mov dword [ebp - 0x230], 0x46545420
mov dword [ebp - 0x22c], 0x6d614e20
mov dword [ebp - 0x228], 0x4c207365
mov dword [ebp - 0x224], 0x20676e6f
mov dword [ebp - 0x220], 0x696d6146
mov dword [ebp - 0x21c], 0x2031796c
mov dword [ebp - 0x218], 0x6e6f43
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [esp + 0xc], esi
lea esi, [ebp - 0x110]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x446420
mov eax, dword [ebp - 0x260]
mov dword [esp], eax
mov ecx, dword [ebp - 0x264]
call ecx
mov eax, 0x1bbe
sub esp, 0x14
call fcn.00446860
mov eax, dword [ebp - 0x25c]
mov dword [esp + 4], str.EnumFontFamiliesExA_found__d_fonts__expected_2._n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov dword [esp], ebx
call dword [sym.imp.gdi32.dll_CreateFontIndirectA]
sub esp, 4
mov ebx, eax
mov eax, 0x1bc1
call fcn.00446860
xor eax, eax
test ebx, ebx
mov dword [esp + 4], str.CreateFontIndirectA_failed_n
setne al
mov dword [esp], eax
call fcn.004471c0
mov dword [esp], ebx
call dword [sym.imp.gdi32.dll_DeleteObject]
mov edx, dword [sym.imp.gdi32.dll_RemoveFontResourceExA]
sub esp, 4
mov dword [esp], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10
mov dword [ebp - 0x264], edx
call edx
sub esp, 0xc
mov ebx, eax
mov eax, 0x1bc5
call fcn.00446860
mov dword [esp], ebx
mov dword [esp + 4], str.RemoveFontResourceEx___failed_n
call fcn.004471c0
mov dword [esp], esi
mov esi, dword [sym.imp.kernel32.dll_DeleteFileA]
call esi
sub esp, 4
mov dword [esp], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10
mov edx, dword [ebp - 0x264]
call edx
sub esp, 0xc
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x1bca
mov dword [esp], ebx
mov dword [esp + 4], str.RemoveFontResourceEx___failed_n
call fcn.004471c0
mov dword [esp], edi
call esi
mov eax, dword [ebp - 0x260]
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.user32.dll_ReleaseDC]
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x1b9e
call fcn.00446860
mov dword [esp], str.Failed_to_create_ttf_file_for_testing_n
call fcn.00446a30
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x1b98
call fcn.00446860
mov dword [esp], str.Failed_to_create_ttf_file_for_testing_n
call fcn.00446a30
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret