Function at 0x41e970
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x60556e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x69c108]
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.005ef535
mov eax, dword [0x69c108]
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 0x41e9ea
push str.AddFontResourceExA
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x1c], eax
mov ecx, esi
call fcn.0041e760
mov ecx, esi
call fcn.0041ee30
mov eax, dword [esi + 8]
cmp eax, edi
je 0x41ec4d
push ebx
mov bl, 4
jmp 0x41ea0c
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 8]
mov ecx, dword [eax]
test edi, edi
mov dword [esp + 0x24], ecx
je 0x41ec40
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.005eb525
push eax
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.005eb574
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
push edi
lea ecx, [esp + 0x58]
mov ebp, eax
push 0x41e120
push ecx
push ebp
call dword [sym.imp.GDI32.dll_EnumFontFamiliesExA]
test eax, eax
je 0x41ec35
push esi
lea ecx, [esp + 0x1c]
call fcn.005eae6a
push str._:____
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], bl
call fcn.005eb61e
cmp eax, 0xffffffff
je 0x41eab3
push 0x5f
push eax
lea ecx, [esp + 0x20]
call fcn.005eb662
push str._:____
lea ecx, [esp + 0x1c]
call fcn.005eb61e
cmp eax, 0xffffffff
jne 0x41ea94
mov edx, dword [esp + 0x28]
push 0x6713a0
add edx, 0x20
lea eax, [esp + 0x34]
push edx
push eax
call fcn.005eb38a
lea ecx, [esp + 0x18]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
mov byte [esp + 0xa0], 5
call fcn.005eb324
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x98], 6
call fcn.005eb22e
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 5
call fcn.005eb0f5
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], bl
call fcn.005eb0f5
lea eax, [esp + 0x14]
push str..TFT
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.005eb38a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 7
call fcn.005eb22e
lea ecx, [esp + 0x34]
mov byte [esp + 0x94], bl
call fcn.005eb0f5
lea edx, [esp + 0x14]
push str..FON
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.005eb38a
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 8
call fcn.005eb22e
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], bl
call fcn.005eb0f5
mov ecx, dword [esp + 0x10]
push 0
push 0x1001
push ecx
lea ecx, [esp + 0x4c]
call fcn.005ef647
test eax, eax
je 0x41ec24
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.005ef79e
lea ecx, [esp + 0x40]
call fcn.005ef862
mov eax, dword [esp + 0x20]
push 0
test eax, eax
je 0x41ebde
mov edx, dword [esp + 0x14]
push 0x10
push edx
call eax
test eax, eax
jle 0x41ec19
lea eax, [esp + 0x14]
lea ecx, [edi + 0x24]
push eax
call fcn.005eb22e
jmp 0x41ec24
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 0x41ec19
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_AddFontResourceA]
test eax, eax
jle 0x41ec12
lea edx, [esp + 0x14]
lea ecx, [edi + 0x24]
push edx
call fcn.005eb22e
jmp 0x41ec24
mov eax, dword [esp + 0x10]
push eax
jmp 0x41ec1e
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.005eb0f5
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x41ea08
pop ebx
test ebp, ebp
je 0x41ec58
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x18]
mov byte [esp + 0x90], 2
call fcn.005eb0f5
lea ecx, [esp + 0xc]
mov byte [esp + 0x90], 1
call fcn.005eb0f5
lea ecx, [esp + 0x3c]
mov byte [esp + 0x90], 0
call fcn.005ef58a
lea ecx, [esp + 0x10]
mov dword [esp + 0x90], 0xffffffff
call fcn.005eb0f5
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x88
ret