Function at 0x140038610
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.14003b3dc
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.14003b3dc
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 0x1400386d0
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140038717
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038712
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038712
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b364
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], 0xe9e1cba2
mov dword [rsp + 0x64], 0xa8e8ea
mov byte [rsp + 0x68], 1
mov rcx, r14
nop dword [rax + rax]
lea eax, [rcx - 0x7e]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 7
jb 0x140038770
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.140039a60
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 0x1400387d1
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.140039e00
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.14003a190
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140038841
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003883c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003883c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b364
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 [0x140042410]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x140042400]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1400423b0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1400423a0]
movdqa xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x30], 0xebeaedb6
mov word [rbp - 0x2c], 0x100
mov rdx, r14
nop dword [rax]
lea eax, [rdx - 0x7e]
xor byte [rbp + rdx - 0x70], al
inc rdx
cmp rdx, 0x44
jb 0x1400388a0
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.140039a60
mov ecx, 0x18
call fcn.14003b3dc
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 0x140038909
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 [0x1400423c0]
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1400423f0]
movdqu xmmword [rbp - 0x60], xmm1
mov word [rbp - 0x50], 0xc7
mov byte [rbp - 0x4e], 1
mov rdx, r14
nop word [rax + rax]
lea ecx, [rdx - 0x7e]
xor byte [rbp + rdx - 0x70], cl
inc rdx
cmp rdx, 0x21
jb 0x140038940
mov byte [rbp - 0x4e], 0
lea rdx, [rbp - 0x70]
mov rcx, rax
call r8
mov rcx, qword [0x14006c9f0]
test rcx, rcx
jne 0x1400389d0
nop word [rax + rax]
mov dword [rsp + 0x60], 0xf1f6ecc4
mov dword [rsp + 0x64], 0xecfceee8
mov dword [rsp + 0x68], 0x100abaa
mov rax, r14
nop dword [rax + rax]
lea ecx, [rax - 0x7e]
xor byte [rsp + rax + 0x60], cl
inc rax
cmp rax, 0xa
jb 0x140038990
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 0x140038970
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 [0x1400423c0]
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1400423f0]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rbp - 0x80], 0xc7
mov byte [rbp - 0x7e], 1
mov rcx, r14
nop dword [rax]
lea eax, [rcx - 0x7e]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x21
jb 0x140038a40
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 0x140038a70
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.140039e00
nop
lea rdx, [rbp - 0x70]
mov rcx, rdi
call rsi
mov qword [0x14006c9e0], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140038ad7
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038ad2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038ad2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b364
lea rcx, [rbp - 0x70]
call fcn.14002db20
cmp qword [rax + 0x18], 0x10
jb 0x140038aea
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140038b31
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038b2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038b2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b364
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]
lea rdx, str.leaked_by_l1nky1337__discord.gg_shitcodecommunity
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140039a60
lea rcx, [0x1400419a8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
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], 0xe9e1d4a2
mov dword [rsp + 0x64], 0xece5e8e5
mov word [rsp + 0x68], 0xaa
mov byte [rsp + 0x6a], 1
mov rcx, r14
nop dword [rax]
lea eax, [rcx - 0x7e]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 9
jb 0x140038bd0
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.140039a60
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 0x140038c27
mov r8, rbx
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.140039e00
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.14003a190
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140038c9a
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038c95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038c95
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b364
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 [0x140042420]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0xb5e7fab2
mov dword [rsp + 0x74], 0xfdf9f8fa
mov dword [rsp + 0x78], 0xbcffff
mov byte [rsp + 0x7c], 1
mov rcx, r14
nop
lea eax, [rcx - 0x7e]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x1b
jb 0x140038ce0
mov byte [rsp + 0x7c], 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.140039a60
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 - 0x7e]
xor byte [rsp + r8 + 0x60], al
inc r8
cmp r8, 0xf
jb 0x140038d40
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.140039a60
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 [0x1400423e0]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0xdcdcc7b2
mov dword [rsp + 0x74], 0xdcd5b7c5
mov dword [rsp + 0x78], 0xbdb5ced4
mov dword [rsp + 0x7c], 0x1009594
mov rcx, r14
lea eax, [rcx - 0x7e]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x1e
jb 0x140038db0
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.140039a60
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, [0x140038fc0]
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, [0x140039400]
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rcx, qword [0x14006c9f0]
test rcx, rcx
je 0x140038fac
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.140037970
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x1400382e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1400390c0
xor eax, eax
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14003af40
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