Function at 0x465472
Capabilities:
Create process on windows

Disassembly:
push 0x4a8
mov eax, 0x50c790
call fcn.005060cc
mov esi, ecx
mov dword [ebp - 0x4ac], esi
push ecx
call fcn.0045da55
mov ebx, eax
test ebx, ebx
je 0x465788
mov ecx, dword [ebx + 4]
lea eax, [ecx - 3]
cmp eax, 7
ja 0x4654d1
lea eax, [ebp - 0x4a8]
mov ecx, ebx
push eax
call fcn.004d191e
and dword [ebp - 4], 0
mov edx, dword [eax]
mov ecx, dword [esi + 4]
call fcn.00425819
or esi, 0xffffffff
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0x4a8]
jmp 0x465773
cmp ecx, 0x10
jne 0x4654e0
call fcn.004c96e3
jmp 0x465788
cmp ecx, 0x1d
je 0x465619
cmp ecx, 0x1e
je 0x465619
mov esi, 0x400
lea eax, [ebp - 0x410]
push esi
xor edi, edi
push edi
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x4a8]
mov ecx, ebx
push eax
call fcn.004d00ab
push esi
push dword [eax]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov edx, dword [ebp - 0x4a8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x465546
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
inc esi
cmp dword [ebx + 4], esi
je 0x465554
cmp dword [ebx + 4], 2
jne 0x465564
push dword [ebx + 0x20]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [0xd5b26c], edi
jne 0x4655dd
mov dword [0xd5b26c], esi
cmp dword [0xd5b274], edi
jne 0x4655c0
push 0x90
lea eax, [ebp - 0x4a0]
mov dword [0xd5b274], esi
push edi
push eax
mov dword [ebp - 0x4a4], 0x94
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x4a4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
imul eax, dword [ebp - 0x4a0], 0xa
add eax, dword [ebp - 0x49c]
mov dword [0xd5b270], eax
jmp 0x4655c5
mov eax, dword [0xd5b270]
cmp eax, 0x3c
jl 0x4655d3
call fcn.00426031
test eax, eax
je 0x4655d5
mov esi, edi
mov dword [0xd5b268], esi
jmp 0x4655e3
mov esi, dword [0xd5b268]
test esi, esi
je 0x465609
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ecx
mov ecx, esp
push 0x51e784
call fcn.004094e6
xor ecx, ecx
call fcn.00437612
pop ecx
jmp 0x465788
lea ecx, [ebp - 0x410]
call fcn.004c949f
jmp 0x465788
xor esi, esi
xor edi, edi
inc esi
cmp dword [0xd5b274], edi
jne 0x46566c
push 0x90
lea eax, [ebp - 0x4a0]
mov dword [0xd5b274], esi
push edi
push eax
mov dword [ebp - 0x4a4], 0x94
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x4a4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
imul eax, dword [ebp - 0x4a0], 0xa
add eax, dword [ebp - 0x49c]
mov dword [0xd5b270], eax
jmp 0x465671
mov eax, dword [0xd5b270]
cmp eax, 0x3c
jl 0x4656d6
lea ecx, [ebp - 0x4ac]
call fcn.00423842
push str.taskschd.msc
mov edx, eax
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x4a8]
call fcn.00405cb9
pop ecx
push esi
push edi
push edi
push dword [eax]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [ebp - 0x4a8]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4656c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0x4ac]
jmp 0x465773
lea ecx, [ebp - 0x4b0]
call fcn.004238af
push str.Tasks_
mov edx, eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x4b4]
call fcn.00405cb9
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x4a8]
call fcn.0040a740
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x4ac]
mov edx, dword [eax]
mov ecx, dword [ecx + 4]
call fcn.00425819
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov edx, dword [ebp - 0x4a8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x465749
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x4b4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46576a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0x4b0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x465788
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
call fcn.00506076
ret 0x10