Function at 0x41ea60
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x605dfe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x69cfe8]
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], eax
xor edi, edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x90], edi
call fcn.005efe1e
mov eax, dword [0x69cfe8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
push str.gdi32.dll
mov byte [esp + 0x94], 3
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
mov dword [esp + 0x1c], edi
cmp ebp, edi
mov dword [esp + 0x38], ebp
je 0x41eada
push str.AddFontResourceExA
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x1c], eax
mov ecx, esi
call fcn.0041e850
mov ecx, esi
call fcn.0041ef20
mov eax, dword [esi + 8]
cmp eax, edi
je 0x41ed3d
push ebx
mov bl, 4
jmp 0x41eafc
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 8]
mov ecx, dword [eax]
test edi, edi
mov dword [esp + 0x24], ecx
je 0x41ed30
mov dl, byte [edi + 9]
lea esi, [edi + 0xc]
push 0xa
mov ecx, esi
mov byte [esp + 0x6b], dl
mov byte [esp + 0x6f], 0
call fcn.005ebe11
push eax
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.005ebe60
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
push edi
lea ecx, [esp + 0x58]
mov ebp, eax
push 0x41e1e0
push ecx
push ebp
call dword [sym.imp.GDI32.dll_EnumFontFamiliesExA]
test eax, eax
je 0x41ed25
push esi
lea ecx, [esp + 0x1c]
call fcn.005eb756
push str._:____
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], bl
call fcn.005ebf0a
cmp eax, 0xffffffff
je 0x41eba3
push 0x5f
push eax
lea ecx, [esp + 0x20]
call fcn.005ebf4e
push str._:____
lea ecx, [esp + 0x1c]
call fcn.005ebf0a
cmp eax, 0xffffffff
jne 0x41eb84
mov edx, dword [esp + 0x28]
push 0x6723a0
add edx, 0x20
lea eax, [esp + 0x34]
push edx
push eax
call fcn.005ebc76
lea ecx, [esp + 0x18]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
mov byte [esp + 0xa0], 5
call fcn.005ebc10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x98], 6
call fcn.005ebb1a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 5
call fcn.005eb9e1
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], bl
call fcn.005eb9e1
lea eax, [esp + 0x14]
push str..TFT
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.005ebc76
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 7
call fcn.005ebb1a
lea ecx, [esp + 0x34]
mov byte [esp + 0x94], bl
call fcn.005eb9e1
lea edx, [esp + 0x14]
push str..FON
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.005ebc76
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 8
call fcn.005ebb1a
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], bl
call fcn.005eb9e1
mov ecx, dword [esp + 0x10]
push 0
push 0x1001
push ecx
lea ecx, [esp + 0x4c]
call fcn.005eff30
test eax, eax
je 0x41ed14
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.005f0087
lea ecx, [esp + 0x40]
call fcn.005f014b
mov eax, dword [esp + 0x20]
push 0
test eax, eax
je 0x41ecce
mov edx, dword [esp + 0x14]
push 0x10
push edx
call eax
test eax, eax
jle 0x41ed09
lea eax, [esp + 0x14]
lea ecx, [edi + 0x24]
push eax
call fcn.005ebb1a
jmp 0x41ed14
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push edx
push eax
push 1
call dword [sym.imp.GDI32.dll_CreateScalableFontResourceA]
test eax, eax
je 0x41ed09
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_AddFontResourceA]
test eax, eax
jle 0x41ed02
lea edx, [esp + 0x14]
lea ecx, [edi + 0x24]
push edx
call fcn.005ebb1a
jmp 0x41ed14
mov eax, dword [esp + 0x10]
push eax
jmp 0x41ed0e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 3
call fcn.005eb9e1
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x41eaf8
pop ebx
test ebp, ebp
je 0x41ed48
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x18]
mov byte [esp + 0x90], 2
call fcn.005eb9e1
lea ecx, [esp + 0xc]
mov byte [esp + 0x90], 1
call fcn.005eb9e1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x90], 0
call fcn.005efe73
lea ecx, [esp + 0x10]
mov dword [esp + 0x90], 0xffffffff
call fcn.005eb9e1
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x88
ret