Function at 0x140038260
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 [0x140049040]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor r14d, r14d
lea ecx, [r14 + 0x68]
call fcn.14003b0fc
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.14003b0fc
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.14002d7b0
cmp qword [rax + 0x18], 0xf
jbe 0x140038320
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140038367
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038362
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038362
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b084
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], 0xc1c9e38a
mov dword [rsp + 0x64], 0x90c0c2
mov byte [rsp + 0x68], 1
mov rcx, r14
nop dword [rax + rax]
lea eax, [rcx - 0x56]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 7
jb 0x1400383c0
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.140039680
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 0x140038421
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.140039a10
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
mov rcx, rdi
call fcn.140039db0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140038491
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003848c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003848c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b084
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 [0x1400423d0]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x140042380]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1400423a0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x140042390]
movdqa xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x30], 0xc3c2c59e
mov word [rbp - 0x2c], pe_nt_image_headers64
mov rdx, r14
nop dword [rax]
lea eax, [rdx - 0x56]
xor byte [rbp + rdx - 0x70], al
inc rdx
cmp rdx, 0x44
jb 0x1400384f0
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.140039680
mov ecx, 0x18
call fcn.14003b0fc
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 [0x14006cbb0]
mov qword [0x14006cbb0], rax
test rcx, rcx
je 0x140038559
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rax, qword [0x14006cbb0]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
movdqa xmm0, xmmword [0x140042410]
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1400423b0]
movdqu xmmword [rbp - 0x60], xmm1
mov word [rbp - 0x50], 0xaf
mov byte [rbp - 0x4e], 1
mov rdx, r14
nop word [rax + rax]
lea ecx, [rdx - 0x56]
xor byte [rbp + rdx - 0x70], cl
inc rdx
cmp rdx, 0x21
jb 0x140038590
mov byte [rbp - 0x4e], 0
lea rdx, [rbp - 0x70]
mov rcx, rax
call r8
mov rcx, qword [0x14006ca60]
test rcx, rcx
jne 0x140038620
nop word [rax + rax]
mov dword [rsp + 0x60], 0xd9dec4ec
mov dword [rsp + 0x64], 0xd4c4c6c0
mov dword [rsp + 0x68], 0x1009392
mov rax, r14
nop dword [rax + rax]
lea ecx, [rax - 0x56]
xor byte [rsp + rax + 0x60], cl
inc rax
cmp rax, 0xa
jb 0x1400385e0
mov byte [rsp + 0x6b], 0
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x14006ca60], rax
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x14006ca60]
test rcx, rcx
je 0x1400385c0
lea rdx, [0x14006ca00]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea rdx, [rbp - 0x20]
mov rcx, qword [0x14006ca60]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, 0xffffffec
mov r8d, 0x800a0
mov rcx, qword [0x14006cb40]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rdi, qword [0x14006cbb0]
mov rax, qword [rdi]
mov rsi, qword [rax + 0x18]
movdqa xmm0, xmmword [0x140042410]
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1400423b0]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rbp - 0x80], 0xaf
mov byte [rbp - 0x7e], 1
mov rcx, r14
nop dword [rax]
lea eax, [rcx - 0x56]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x21
jb 0x140038690
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 0x1400386c0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.140039a10
nop
lea rdx, [rbp - 0x70]
mov rcx, rdi
call rsi
mov qword [0x14006ca50], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140038727
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038722
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038722
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b084
lea rcx, [rbp - 0x70]
call fcn.14002d7b0
cmp qword [rax + 0x18], 0xf
jbe 0x14003873a
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140038781
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003877c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003877c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b084
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, [0x140041998]
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], 0xc1c9fc8a
mov dword [rsp + 0x64], 0xd4ddc0cd
mov word [rsp + 0x68], 0x92
mov byte [rsp + 0x6a], 1
mov rcx, r14
nop
lea eax, [rcx - 0x56]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 9
jb 0x1400387f0
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.140039680
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 0x140038847
mov r8, rbx
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.140039a10
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
mov rcx, rdi
call fcn.140039db0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400388ba
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400388b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400388b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b084
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], 0xeaf3f59a
mov dword [rsp + 0x74], 0x808ff39e
mov dword [rsp + 0x78], 0xe5808686
mov word [rsp + 0x7c], pe_nt_image_headers64
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x56]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x1c
jb 0x140038910
mov byte [rsp + 0x7d], 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.140039680
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 [0x140042270]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x70], 1
mov r8, r14
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 - 0x56]
xor byte [rsp + r8 + 0x60], al
inc r8
cmp r8, 0xf
jb 0x140038970
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.140039680
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 [0x140042400]
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x140042260]
movdqu xmmword [rbp - 0x60], xmm1
mov byte [rbp - 0x50], 1
mov rcx, r14
lea eax, [rcx - 0x56]
xor byte [rbp + rcx - 0x70], al
inc rcx
cmp rcx, 0x1f
jb 0x1400389d0
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.140039680
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x14002edc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdx, [0x14006ca00]
mov rcx, qword [0x14006ca60]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x140038be0]
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, [0x140039020]
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rcx, qword [0x14006ca60]
test rcx, rcx
je 0x140038bca
lea rdx, [0x14006ca78]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x60]
mov rcx, qword [0x14006ca60]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x60]
mov dword [0x14006ca78], eax
mov eax, dword [rsp + 0x64]
mov dword [0x14006ca7c], eax
mov ecx, dword [0x14006ca80]
inc ecx
mov dword [0x14006ca4c], ecx
mov eax, dword [0x14006ca84]
inc eax
mov dword [0x14006ca48], 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 [0x14006cb40], rax
lea rdx, [0x140041560]
mov rcx, rax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 0xffffffec
mov r8d, 0x800a0
mov rcx, qword [0x14006cb40]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, 5
mov rcx, qword [0x14006cb40]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14006cb40]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.1400375c0
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x140037f30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.140038ce0
xor eax, eax
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14003ac70
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