Function at 0x4167ae
Capabilities:
Delete file

Disassembly:
mov eax, 0x4d95e4
call fcn.004aef44
sub esp, 0x78
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x24], esi
mov eax, dword [0x51f03c]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.004c55f5
mov eax, dword [0x51f03c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0041660b
mov eax, dword [ebp + 8]
cmp dword [eax - 8], ebx
jne 0x416803
mov ecx, esi
call fcn.00416b1b
jmp 0x41681d
lea edi, [esi + 0x3c]
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.004c5fe3
push 0x510870
mov ecx, edi
call fcn.004c2c4d
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x4169e3
jmp 0x41682d
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 8]
mov ecx, dword [eax]
cmp esi, ebx
mov dword [ebp - 0x20], ecx
je 0x4169da
mov al, byte [esi + 9]
lea edi, [esi + 0xc]
push 0xa
mov ecx, edi
mov byte [ebp - 0x6d], al
mov byte [ebp - 0x69], bl
call fcn.004c62da
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004c6329
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
push esi
lea ecx, [ebp - 0x84]
push 0x41636d
push ecx
push eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_EnumFontFamiliesExA]
test eax, eax
je 0x4169d1
push edi
lea ecx, [ebp - 0x10]
call fcn.004c5c1f
mov byte [ebp - 4], 5
mov edi, str._:____
push edi
lea ecx, [ebp - 0x10]
call fcn.004c63ac
cmp eax, 0xffffffff
je 0x4168ba
push 0x5f
push eax
lea ecx, [ebp - 0x10]
call fcn.004c63f0
jmp 0x41689f
mov eax, dword [ebp - 0x24]
push 0x510870
add eax, 0x3c
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004c613f
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004c60d9
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.004c5fe3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.004c5eaa
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004c5eaa
lea eax, [ebp - 0x18]
push str..TFT
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004c613f
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.004c5fe3
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.004c5eaa
lea eax, [ebp - 0x18]
push str..FON
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004c613f
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.004c5fe3
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.004c5eaa
push ebx
push 0x1001
push dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
call fcn.004c5707
test eax, eax
je 0x4169c5
mov eax, dword [esi + 0x18]
cmp eax, ebx
jl 0x416992
cmp eax, 0xffffffff
ja 0x416992
mov ecx, dword [esi + 0x14]
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.004c585e
lea ecx, [ebp - 0x48]
call fcn.004c5922
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push 1
call dword [sym.imp.GDI32.dll_CreateScalableFontResourceA]
test eax, eax
je 0x4169bc
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_AddFontResourceA]
lea eax, [ebp - 0x18]
lea ecx, [esi + 0x24]
push eax
call fcn.004c5fe3
jmp 0x4169c5
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004c5eaa
push dword [ebp - 0x38]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x20], ebx
jne 0x41682a
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.004c5eaa
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004c5eaa
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.004c564a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.004c5eaa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4