Function at 0x1400385e0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Create process suspended
Create thread
Encode data using xor
Execute command
Get session user name
Set console window title
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x140049010]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor r14d, r14d
lea ecx, [r14 + 0x68]
call fcn.14003b37c
mov rbx, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
mov qword [rbx + 0x60], rax
lea ecx, [rax + 0x18]
call fcn.14003b37c
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.C:Windowsexplorer.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
lea rcx, [rbp - 0x70]
call fcn.14002db20
cmp qword [rax + 0x18], 0x10
jb 0x1400386a0
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1400386e7
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400386e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400386e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b304
mov ecx, 0xfffffff5
mov r15d, 9
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, r15w
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea esi, [r15 + 3]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, si
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov dword [rsp + 0x60], 0x3e34186f
mov dword [rsp + 0x64], 0x753b3f
mov byte [rsp + 0x68], 1
mov rcx, r14
nop dword [rax + rax]
lea eax, [rcx + 0x4f]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 7
jb 0x140038740
mov byte [rsp + 0x68], r14b
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140039a00
mov rdi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [rsp + 0x60], 0x101
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
lea rax, [rbp - 0x10]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], r14b
jne 0x1400387a1
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.140039da0
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
mov rcx, rdi
call fcn.14003a130
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140038811
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003880c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003880c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b304
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, si
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movdqa xmm0, xmmword [0x1400422f0]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x140042300]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1400422d0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x140042420]
movdqa xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x30], 0xbcbfbefb
mov word [rbp - 0x2c], pe_nt_image_headers64
mov rdx, r14
nop dword [rax]
lea eax, [rdx + 0x4f]
xor byte [rbp + rdx - 0x70], al
inc rdx
cmp rdx, 0x44
jb 0x140038870
mov byte [rbp - 0x2b], 0
lea rdx, [rbp - 0x70]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140039a00
mov ecx, 0x18
call fcn.14003b37c
mov qword [rsp + 0x60], rax
lea rcx, vtable.kernelmode_proc_handler.0
mov qword [rax], rcx
mov qword [rax + 8], rbx
mov dword [rax + 0x10], r14d
mov rcx, qword [0x14006cb40]
mov qword [0x14006cb40], rax
test rcx, rcx
je 0x1400388d9
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rax, qword [0x14006cb40]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
movdqa xmm0, xmmword [str._t__3]
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1400422e0]
movdqu xmmword [rbp - 0x60], xmm1
mov word [rbp - 0x50], 0xa
mov byte [rbp - 0x4e], 1
mov rdx, r14
nop word [rax + rax]
lea ecx, [rdx + 0x4f]
xor byte [rbp + rdx - 0x70], cl
inc rdx
cmp rdx, 0x21
jb 0x140038910
mov byte [rbp - 0x4e], 0
lea rdx, [rbp - 0x70]
mov rcx, rax
call r8
mov rcx, qword [0x14006c9f0]
test rcx, rcx
jne 0x1400389a0
nop word [rax + rax]
mov dword [rsp + 0x60], 0x26233f09
mov dword [rsp + 0x64], 0x33213d3d
mov dword [rsp + 0x68], 0x1007877
mov rax, r14
nop dword [rax + rax]
lea ecx, [rax + 0x4f]
xor byte [rsp + rax + 0x60], cl
inc rax
cmp rax, 0xa
jb 0x140038960
mov byte [rsp + 0x6b], 0
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x14006c9f0], rax
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x14006c9f0]
test rcx, rcx
je 0x140038940
lea rdx, [0x14006c990]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea rdx, [rbp - 0x20]
mov rcx, qword [0x14006c9f0]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, 0xffffffec
mov r8d, 0x800a0
mov rcx, qword [0x14006cad0]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rdi, qword [0x14006cb40]
mov rax, qword [rdi]
mov rsi, qword [rax + 0x18]
movdqa xmm0, xmmword [str._t__3]
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1400422e0]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rbp - 0x80], 0xa
mov byte [rbp - 0x7e], 1
mov rcx, r14
nop dword [rax]
lea eax, [rcx + 0x4f]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x21
jb 0x140038a10
mov byte [rbp - 0x7e], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
lea rax, [rsp + 0x60]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140038a40
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.140039da0
nop
lea rdx, [rbp - 0x70]
mov rcx, rdi
call rsi
mov qword [0x14006c9e0], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140038aa7
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038aa2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038aa2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b304
lea rcx, [rbp - 0x70]
call fcn.14002db20
cmp qword [rax + 0x18], 0x10
jb 0x140038aba
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140038b01
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038afc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038afc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b304
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, r15w
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [0x1400419a8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.color_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov esi, 0xa
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, si
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov dword [rsp + 0x60], 0x3e34076f
mov dword [rsp + 0x64], 0x33383b30
mov word [rsp + 0x68], 0x77
mov byte [rsp + 0x6a], 1
mov rcx, r14
nop
lea eax, [rcx + 0x4f]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 9
jb 0x140038b70
mov byte [rsp + 0x6a], 0
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140039a00
mov rdi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [rsp + 0x60], 0x101
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
lea rax, [rbp - 0x10]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140038bc7
mov r8, rbx
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.140039da0
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
mov rcx, rdi
call fcn.14003a130
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140038c3a
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038c35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038c35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b304
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, si
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movdqa xmm0, xmmword [0x1400423f0]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0x2c413316
mov dword [rsp + 0x74], 0x2a45332c
mov dword [rsp + 0x78], 0x2f2d2928
mov dword [rsp + 0x7c], 0x1004c2f
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x4f]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x1e
jb 0x140038c90
mov byte [rsp + 0x7f], 0
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140039a00
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, si
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movdqa xmm0, xmmword [0x140042280]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x70], 1
mov r8, r14
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 + 0x4f]
xor byte [rsp + r8 + 0x60], al
inc r8
cmp r8, 0xf
jb 0x140038cf0
mov byte [rsp + 0x70], 0
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140039a00
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, si
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movdqa xmm0, xmmword [0x1400422c0]
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x140042290]
movdqu xmmword [rbp - 0x60], xmm1
mov byte [rbp - 0x50], 1
mov rcx, r14
lea eax, [rcx + 0x4f]
xor byte [rbp + rcx - 0x70], al
inc rcx
cmp rcx, 0x1f
jb 0x140038d50
mov byte [rbp - 0x50], 0
lea rdx, [rbp - 0x70]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140039a00
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x14002f130]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdx, [0x14006c990]
mov rcx, qword [0x14006c9f0]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x140038f60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp - 0x70], 0x50
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x28], r14
lea rbx, str.Gideion
mov qword [rbp - 0x30], rbx
lea rax, [0x1400393a0]
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rcx, qword [0x14006c9f0]
test rcx, rcx
je 0x140038f4a
lea rdx, [0x14006ca08]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x60]
mov rcx, qword [0x14006c9f0]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x60]
mov dword [0x14006ca08], eax
mov eax, dword [rsp + 0x64]
mov dword [0x14006ca0c], eax
mov ecx, dword [0x14006ca10]
inc ecx
mov dword [0x14006c9dc], ecx
mov eax, dword [0x14006ca14]
inc eax
mov dword [0x14006c9d8], eax
inc eax
inc ecx
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov r9d, 0x90000000
lea r8, str.Gideion1
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14006cad0], rax
lea rdx, [0x140041570]
mov rcx, rax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 0xffffffec
mov r8d, 0x800a0
mov rcx, qword [0x14006cad0]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, 5
mov rcx, qword [0x14006cad0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14006cad0]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.140037940
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x1400382b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.140039060
xor eax, eax
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14003aee0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3