Function at 0x4167d0
Capabilities:
Delete file

Disassembly:
mov eax, 0x4daca4
call fcn.004b0604
sub esp, 0x78
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x24], esi
mov eax, dword [str.pRdR]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.004c6cb5
mov eax, dword [str.pRdR]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0041662d
mov eax, dword [ebp + 8]
cmp dword [eax - 8], ebx
jne 0x416825
mov ecx, esi
call fcn.00416b3d
jmp 0x41683f
lea edi, [esi + 0x3c]
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.004c76a3
push 0x511870
mov ecx, edi
call fcn.004c430d
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x416a05
jmp 0x41684f
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 8]
mov ecx, dword [eax]
cmp esi, ebx
mov dword [ebp - 0x20], ecx
je 0x4169fc
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.004c799a
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004c79e9
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
push esi
lea ecx, [ebp - 0x84]
push 0x41638f
push ecx
push eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_EnumFontFamiliesExA]
test eax, eax
je 0x4169f3
push edi
lea ecx, [ebp - 0x10]
call fcn.004c72df
mov byte [ebp - 4], 5
mov edi, str._:____
push edi
lea ecx, [ebp - 0x10]
call fcn.004c7a6c
cmp eax, 0xffffffff
je 0x4168dc
push 0x5f
push eax
lea ecx, [ebp - 0x10]
call fcn.004c7ab0
jmp 0x4168c1
mov eax, dword [ebp - 0x24]
push 0x511870
add eax, 0x3c
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004c77ff
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004c7799
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.004c76a3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.004c756a
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004c756a
lea eax, [ebp - 0x18]
push str..TFT
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004c77ff
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.004c76a3
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.004c756a
lea eax, [ebp - 0x18]
push str..FON
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004c77ff
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.004c76a3
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.004c756a
push ebx
push 0x1001
push dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
call fcn.004c6dc7
test eax, eax
je 0x4169e7
mov eax, dword [esi + 0x18]
cmp eax, ebx
jl 0x4169b4
cmp eax, 0xffffffff
ja 0x4169b4
mov ecx, dword [esi + 0x14]
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.004c6f1e
lea ecx, [ebp - 0x48]
call fcn.004c6fe2
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push 1
call dword [sym.imp.GDI32.dll_CreateScalableFontResourceA]
test eax, eax
je 0x4169de
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_AddFontResourceA]
lea eax, [ebp - 0x18]
lea ecx, [esi + 0x24]
push eax
call fcn.004c76a3
jmp 0x4169e7
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004c756a
push dword [ebp - 0x38]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x20], ebx
jne 0x41684c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.004c756a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004c756a
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.004c6d0a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.004c756a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004c756a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4