Function at 0x40fe40
Capabilities:
Create directory
Delete file
Encode data using xor

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x471467
push eax
mov eax, 0x1f5b0
mov dword fs:[0], esp
call fcn.00420c90
push ebp
xor ebp, ebp
push esi
xor eax, eax
mov cl, byte [eax + 0x47aea0]
xor cl, 0x7d
mov byte [esp + eax + 0x154], cl
inc eax
cmp eax, 0x1f461
jb 0x40fe65
push ebp
lea edx, [esp + 0x158]
push 0x1f462
push edx
mov byte [esp + 0x1f5c1], 0
call fcn.0045dde0
mov esi, eax
add esp, 0xc
cmp esi, ebp
je 0x41008c
push edi
push 0x4d24b8
lea eax, [esp + 0x10]
push 0x4d6620
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
push 0x4d24b8
lea ecx, [esp + 0x10]
push 0x4d6620
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov dword [esp + 0x1f5c4], ebp
push eax
push esi
call fcn.0045df40
add esp, 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x1f5c4], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x2c]
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x30]
push edx
mov dword [esp + 0x30], ebp
push 0xffffffffffffffff
push esi
rep stosd dword es:[edi], eax
call fcn.0045de00
mov edi, dword [esp + 0x38]
add esp, 0xc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CFile::CFile_1
cmp edi, ebp
mov dword [esp + 0x1f5c4], 1
jle 0x410034
push ebx
mov bl, 3
lea eax, [esp + 0x30]
push eax
push ebp
push esi
call fcn.0045de00
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_4
push str.plugin_
lea edx, [esp + 0x18]
push 0x4d6620
push edx
mov byte [esp + 0x1f5d4], 2
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x1f5d4], bl
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push 0x8000
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f5d4], 4
call sub.MFC42.DLL_CFile::Open
lea ecx, [esp + 0x1c]
mov edi, eax
mov byte [esp + 0x1f5c8], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f5c8], 2
call sub.MFC42.DLL_CString::CString
test edi, edi
je 0x410006
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFile::GetLength
mov ecx, dword [esp + 0x158]
cmp eax, ecx
lea ecx, [esp + 0x20]
jne 0x410001
call sub.MFC42.DLL_CFile::Close
jmp 0x410015
call sub.MFC42.DLL_CFile::Close
lea eax, [esp + 0x34]
push eax
push ebp
push esi
call fcn.0045df00
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x1f5c8], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jl 0x40ff50
pop ebx
push esi
call fcn.0045e000
add esp, 4
test al, al
pop edi
push esi
je 0x41004a
call fcn.0045df80
jmp 0x41004f
call fcn.004594f0
add esp, 4
lea ecx, [esp + 0xc]
push str._stdplugin.dat
push 0x4d6620
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x1f5c0], 0xffffffff
call sub.MFC42.DLL_CFile::CFile
mov ecx, dword [esp + 0x1f5b8]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1f5bc
ret