Function at 0x140001f10
Capabilities:
Create process on windows
Create thread
Encode data using xor
Execute command
Inject dll
Inject thread
Query or enumerate registry value
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rbp + 0x90], rax
xor esi, esi
lea rdx, str.cfemen_EAC_Pak_patcher___in_case_you_get_any_error_make_sure_to_execute_this_launcher_as_admin_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003a60
mov rcx, rax
lea rdx, [0x140003c40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x14000a0b8]
lea rcx, [rsp + 0x70]
call fcn.1400031a0
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.140001c20
nop
lea rdx, str.SOFTWAREValveSteamActiveProcess
lea rcx, [rbp - 0x28]
call fcn.140002ee0
nop
lea rdx, str.ActiveUser
lea rcx, [rbp - 0x48]
call fcn.140002ee0
nop
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rdx, qword [rbp - 0x28]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x14000200b
lea rdx, str.Failed_to_open_registry_key._Error_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140003840
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140003a20]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
jmp 0x1400025d8
mov dword [rbp - 0x4c], 4
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rdx, qword [rbp - 0x48]
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1400025a0
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [rbp - 0x50]
call fcn.140001200
xorps xmm0, xmm0
test eax, eax
jne 0x1400021f3
movups xmmword [rsp + 0x70], xmm0
mov ecx, 0x40
call fcn.140004058
mov rcx, rax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], 0x37
mov qword [rbp - 0x78], 0x3f
movups xmm0, xmmword [str._wwjw__Kj_Dpqm_Jw_Qm__Idpkfm_w_Lv_Lk_Qm__Rwjkb_Cjia_w_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140006878]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x140006888]
movups xmmword [rax + 0x20], xmm0
mov eax, dword [0x140006898]
mov dword [rcx + 0x30], eax
movzx eax, word [0x14000689c]
mov word [rcx + 0x34], ax
movzx eax, byte [0x14000689e]
mov byte [rcx + 0x36], al
mov byte [rcx + 0x37], bl
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400031a0
mov rdx, rsi
mov rdi, qword [rbp - 0x78]
mov rbx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
test r8, r8
je 0x14000212f
nop word [rax + rax]
lea rax, [rsp + 0x70]
cmp rdi, 0xf
cmova rax, rbx
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rcx, qword [rsp + 0x50]
movzx eax, byte [rax + rdx]
xor al, 5
mov byte [rcx + rdx], al
inc rdx
cmp rdx, r8
jb 0x140002100
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003e10
lea rdx, [0x140003c40]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400021a2
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000219d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000219d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004050
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
cmp rdi, 0xf
jbe 0x14000270f
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140002707
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002707
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea eax, [rax*4]
xor ecx, ecx
movups xmmword [rbp + 0x24], xmm0
movups xmmword [rbp + 0x34], xmm0
movups xmmword [rbp + 0x44], xmm0
movups xmmword [rbp + 0x54], xmm0
movups xmmword [rbp + 0x64], xmm0
movups xmmword [rbp + 0x74], xmm0
mov dword [rbp + 0x84], ecx
mov dword [rbp + 0x20], 0x68
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rcx
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Warhammer_40000_Space_Marine_2___Retail.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400023e3
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov ecx, 0x40
call fcn.140004058
mov rcx, rax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], 0x36
mov qword [rbp - 0x78], 0x3f
movups xmm0, xmmword [str._wwjw__Kj_Dpqm_Jw_Qm__Idpkfm_w_Lv_Lk_Qm__Rwjkb_Cjia_w]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140006908]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x140006918]
movups xmmword [rax + 0x20], xmm0
mov eax, dword [0x140006928]
mov dword [rcx + 0x30], eax
movzx eax, word [0x14000692c]
mov word [rcx + 0x34], ax
mov byte [rcx + 0x36], 0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400031a0
mov rdx, rsi
mov rdi, qword [rbp - 0x78]
mov rbx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
test r8, r8
je 0x14000231f
lea rax, [rsp + 0x70]
cmp rdi, 0xf
cmova rax, rbx
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rcx, qword [rsp + 0x50]
movzx eax, byte [rax + rdx]
xor al, 5
mov byte [rcx + rdx], al
inc rdx
cmp rdx, r8
jb 0x1400022f0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003e10
lea rdx, [0x140003c40]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140002392
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000238d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000238d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004050
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
cmp rdi, 0xf
jbe 0x14000270f
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140002707
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002707
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8, qword [rbp + 8]
inc r8
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
lea r8, [rbp - 8]
cmp qword [rbp + 0x10], 0xf
cmova r8, qword [rbp - 8]
mov r9, qword [rbp + 8]
inc r9
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, [0x140006940]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.LoadLibraryA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
mov r9, rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x1400024d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002754
call fcn.140004050
movdqa xmm0, xmmword [0x140006a10]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], si
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x140002532
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002525
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027a8
call fcn.140004050
movdqa xmm0, xmmword [0x140006a10]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], si
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x140002576
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002571
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002803
call fcn.140004050
xor eax, eax
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140004030
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rdx, str.Failed_to_read_registry_value._Error_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140003840
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140003a20]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], 8
mov qword [rbp - 0x78], 0xf
movabs rax, 0x37253f776a777740
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x78], 0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400031a0
mov rdx, rsi
mov rdi, qword [rbp - 0x78]
mov rbx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
test r8, r8
je 0x14000265f
nop dword [rax + rax]
lea rax, [rsp + 0x70]
cmp rdi, 0xf
cmova rax, rbx
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rcx, qword [rsp + 0x50]
movzx eax, byte [rax + rdx]
xor al, 5
mov byte [rcx + rdx], al
inc rdx
cmp rdx, r8
jb 0x140002630
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003e10
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400026c2
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400026bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004050
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
cmp rdi, 0xf
jbe 0x14000270f
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140002707
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002707
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140004050
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x140002760
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000275b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000275b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004050
movdqa xmm0, xmmword [0x140006a10]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], si
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x1400027bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400027af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004050
movdqa xmm0, xmmword [0x140006a10]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], si
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x140002576
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002571
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002571
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3