Function at 0x401f10
Capabilities:
Create process on windows
Self delete
Write and execute a file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x432520
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44161c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [0x44569c]
add eax, 0xfffffff0
push eax
call fcn.00403e20
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
push 0x5c
push esi
mov dword [esp + 0x4c], 0
call fcn.0041ef57
add esp, 0xc
test eax, eax
jne 0x401f68
or eax, 0xffffffff
jmp 0x401f6c
sub eax, esi
sar eax, 1
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402d80
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 1
call fcn.00403e90
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401faf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.0041ef57
add esp, 8
test eax, eax
jne 0x401fc7
or eax, 0xffffffff
jmp 0x401fcb
sub eax, esi
sar eax, 1
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402d80
push 1
push 0x438758
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 2
call fcn.00403070
call fcn.00404219
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402009
push 0x80004005
call fcn.00404100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x40], 3
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push 0x43875c
push edx
call fcn.00403ce0
mov eax, dword [esp + 0x2c]
add esp, 0xc
push 0
push 0x8000080
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
je 0x4022a1
call fcn.00404219
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402079
push 0x80004005
call fcn.00404100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x40], 4
call fcn.00404219
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4020a8
push 0x80004005
call fcn.00404100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x24], ebp
mov byte [esp + 0x40], 5
call fcn.00404219
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4020d7
push 0x80004005
call fcn.00404100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov bl, 6
mov byte [esp + 0x40], bl
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x104
or eax, ecx
jge 0x402113
push 0x104
lea ecx, [esp + 0x28]
call fcn.00404080
mov ebp, dword [esp + 0x24]
push 0x104
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp - 8]
push eax
push ebp
call fcn.0041e9cc
add esp, 8
test eax, eax
jl 0x402349
cmp eax, dword [ebp - 8]
jg 0x402349
push str.8nQ
lea edx, [esp + 0x34]
xor ecx, ecx
push 0x44569c
mov dword [ebp - 0xc], eax
push edx
mov word [ebp + eax*2], cx
call fcn.00402ee0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 7
call fcn.00403e90
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402193
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push str.delete.bat
push ebp
push ecx
lea edx, [esp + 0x34]
push str._echo_off_r_n_ping__n_1_127.0.0.1__r_nping__n_1_127.0.0.1__r_n_del___s__r_ndel___s__r_n_del__s
push edx
call fcn.00403ce0
mov ebx, dword [esp + 0x3c]
mov eax, ebx
add esp, 0x14
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4021c0
push 0
push 0
push 0
push 0
sub eax, edx
sar eax, 1
push eax
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.00404203
mov edi, eax
mov eax, ebx
add esp, 4
lea ecx, [eax + 2]
jmp 0x402200
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x402200
push 0
push 0
push esi
push edi
sub eax, ecx
sar eax, 1
push eax
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [esp + 0x2c]
push 0
lea ecx, [esp + 0x38]
push ecx
push esi
push edi
push edx
mov byte [edi + esi], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [esp + 0x40], 5
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40225e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0xfffffff0
mov byte [esp + 0x40], 4
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402280
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add ebx, 0xfffffff0
mov byte [esp + 0x40], 3
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4022a1
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x1c]
push 0
push esi
push 0
push str.delete.bat
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4022ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x40], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40230d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402335
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push 0x80070057
call fcn.00404100
int3