Function at 0x401a50
Capabilities:
Create process on windows
Get session user name

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 0x442bcb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x160
mov eax, dword [0x44e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], 0x101
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
mov dword [ebp - 0x15c], 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x158], 0
movups xmmword [ebp - 0x16c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401ad6
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x16c]
call fcn.004028b0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x158]
mov eax, edx
mov ecx, dword [ebp - 0x15c]
sub eax, ecx
cmp eax, 9
jb 0x401b95
cmp edx, 0xf
lea esi, [ebp - 0x16c]
lea eax, [ecx + 9]
cmova esi, dword [ebp - 0x16c]
mov dword [ebp - 0x15c], eax
cmp esi, 0x444575
jae 0x401b53
lea eax, [esi + ecx]
cmp eax, str.C:Users_
jb 0x401b53
cmp esi, str.C:Users_
ja 0x401b49
xor edi, edi
jmp 0x401b58
mov edi, esi
sub edi, str.C:Users_
jmp 0x401b58
mov edi, 9
lea eax, [ecx + 1]
push eax
lea ecx, [esi + 9]
push esi
push ecx
call sub.VCRUNTIME140.dll_memmove
push edi
push str.C:Users_
push esi
call sub.VCRUNTIME140.dll_memcpy
mov edx, 9
lea ecx, [edi + 0x444575]
sub edx, edi
lea eax, [esi + edi]
push edx
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x24
lea eax, [ebp - 0x16c]
jmp 0x401bad
push 9
sub esp, 8
lea ecx, [ebp - 0x16c]
push dword [ebp - 0x124]
push 9
call fcn.00402af0
mov dword [ebp - 0x144], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x140], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x154], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x144], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x140]
mov eax, edx
mov ecx, dword [ebp - 0x144]
sub eax, ecx
push 0x19
push str.DocumentsKTS_silent.exe
cmp eax, 0x19
jb 0x401c43
cmp edx, 0xf
lea esi, [ebp - 0x154]
lea eax, [ecx + 0x19]
cmova esi, dword [ebp - 0x154]
add esi, ecx
mov dword [ebp - 0x144], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x19], 0
lea eax, [ebp - 0x154]
jmp 0x401c56
push dword [ebp - 0x124]
lea ecx, [ebp - 0x154]
push 0x19
call fcn.00402990
mov dword [ebp - 0x12c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x13c], xmm0
mov dword [ebp - 0x128], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x13c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x12c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x140]
cmp ecx, 0xf
jbe 0x401cd2
mov edx, dword [ebp - 0x154]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401cc8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401d19
push ecx
push edx
call fcn.00441a13
add esp, 8
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0xf
mov byte [ebp - 0x154], 0
cmp ecx, 0xf
jbe 0x401d29
mov edx, dword [ebp - 0x16c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401d1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401d1f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00441a13
add esp, 8
cmp dword [ebp - 0x128], 0xf
lea eax, [ebp - 0x13c]
push 5
cmova eax, dword [ebp - 0x13c]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x128]
cmp ecx, 0xf
jbe 0x401d8d
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401d83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401d83
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00441a13
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.004419d0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret