Function at 0x140001860
Capabilities:
Accept command line arguments
Print debug messages
Query or enumerate registry value
Terminate process

Disassembly:
push rbp
sub rsp, 0x8c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x890], rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.1400178b0
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x30], rax
lea r8, str.SteamPath
lea rax, [rsp + 0x50]
mov ebp, 1
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwareValveSteam
lea rax, [rsp + 0x44]
mov dword [rsp + 0x44], ebp
mov r9d, 2
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140001904
mov r9d, 0x10
lea r8, str.x64launcher
lea rdx, str.Failed_to_get_Steam_path_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x140001f5b
mov qword [rsp + 0x8d0], rbx
lea rcx, [rsp + 0x680]
mov qword [rsp + 0x8e0], rdi
xor edx, edx
mov r8d, 0x208
mov qword [rsp + 0x8a0], r15
call fcn.1400178b0
xor edx, edx
lea rcx, [rsp + 0x470]
mov r8d, 0x208
call fcn.1400178b0
xor edx, edx
lea rcx, [rsp + 0x260]
mov r8d, 0x208
call fcn.1400178b0
lea rax, [rsp + 0x50]
mov r15, 0xffffffffffffffff
mov r8, r15
mov qword [rsp + 0x20], rax
lea r9, str._sGameOverlayRenderer64.dll
mov edx, 0x104
lea rcx, [rsp + 0x680]
call fcn.140001010
mov edi, eax
lea r9, str._sDenuvoOfflineActivationBypass.dll
lea rax, [rsp + 0x50]
mov r8, r15
mov edx, 0x104
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x470]
call fcn.140001010
mov ebx, eax
lea r9, str._sGreenLuma_2024_x64.dll
lea rax, [rsp + 0x50]
mov r8, r15
mov edx, 0x104
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x260]
call fcn.140001010
cmp edi, r15d
je 0x140001f94
cmp ebx, r15d
je 0x140001f94
cmp eax, r15d
je 0x140001f94
lea rdx, [0x140019490]
mov ecx, 0x1020
call fcn.140002008
mov rbx, rax
test rax, rax
je 0x140001f74
mov qword [rsp + 0x8d8], rsi
lea rdi, [rax + 0x18]
mov qword [rsp + 0x8b8], r12
mov ecx, 0x800
mov qword [rsp + 0x8b0], r13
xor r13d, r13d
mov qword [rax], r13
mov qword [rax + 8], r13
mov dword [rax + 0x10], r13d
xor eax, eax
rep stosb byte [rdi], al
lea rdi, [rbx + 0x818]
mov qword [rsp + 0x8a8], r14
mov ecx, 0x800
rep stosb byte [rdi], al
mov byte [rbx + 0x1018], bpl
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
cmp byte [rbx + 0x1018], r13b
jne 0x140001a91
lea rcx, str.CommandlineLib_is_not_initialized___1__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
test rdi, rdi
jne 0x140001ab5
lea rcx, str.Commandline_is_nullptr__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
mov rax, r15
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], r13w
jne 0x140001ac0
add rax, 2
mov qword [rbx + 8], rax
test rax, 0xfffffffffffffffd
jne 0x140001af9
lea rcx, str.Commandline_length_is_invalid__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
mov rcx, qword [rbx + 8]
cmp rcx, 0x400
jbe 0x140001b13
mov qword [rbx + 8], 0x400
mov ecx, 0x400
mov eax, 2
mul rcx
lea rdx, [0x140019490]
mov r14, rax
cmovb r14, r15
mov rcx, r14
call fcn.140002000
mov r15, rax
test rax, rax
je 0x140001b4b
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.1400178b0
mov qword [rbx], r15
jmp 0x140001b6d
lea rcx, str.Failed_to_allocate_memory_for_commandline__n
mov qword [rbx], r13
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
mov rdx, qword [rbx + 8]
lea r9, [0x140021954]
mov rcx, qword [rbx]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rdi
call fcn.140001010
test eax, eax
jne 0x140001baf
lea rcx, str.Failed_to_build_commandline_string__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
mov rcx, rbx
call fcn.140001080
mov r12, qword [rsp + 0x8b8]
cmp byte [rbx + 0x1018], r13b
jne 0x140001be7
lea rcx, str.CommandlineLib_is_not_initialized___5__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
mov esi, ebp
cmp dword [rbx + 0x10], ebp
jle 0x140001c15
lea rdi, [rbx + 0x20]
mov rdx, qword [rdi]
test rdx, rdx
je 0x140001c0a
lea rcx, str._hproc
call fcn.140007b5c
test eax, eax
je 0x140001c18
inc esi
add rdi, 8
cmp esi, dword [rbx + 0x10]
jl 0x140001bf2
mov esi, r13d
cmp byte [rbx + 0x1018], r13b
jne 0x140001c40
lea rcx, str.CommandlineLib_is_not_initialized___5__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
mov edi, ebp
cmp dword [rbx + 0x10], ebp
jle 0x140001c73
lea r14, [rbx + 0x20]
nop dword [rax + rax]
mov rdx, qword [r14]
test rdx, rdx
je 0x140001c68
lea rcx, str._hthread
call fcn.140007b5c
test eax, eax
je 0x140001c76
inc edi
add r14, 8
cmp edi, dword [rbx + 0x10]
jl 0x140001c50
mov edi, r13d
test esi, esi
je 0x140001eca
test edi, edi
je 0x140001eca
cmp byte [rbx + 0x1018], r13b
jne 0x140001cd6
lea rcx, str.CommandlineLib_is_not_initialized___6__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
mov edi, ebp
mov r15d, 0xfffd
cmp dword [rbx + 0x10], ebp
jle 0x140001d0e
lea rsi, [rbx + 0x20]
mov rdx, qword [rsi]
test rdx, rdx
je 0x140001d03
lea rcx, str._hproc
call fcn.140007b5c
test eax, eax
je 0x140001e62
inc edi
add rsi, 8
cmp edi, dword [rbx + 0x10]
jl 0x140001ce7
mov rax, r13
xor edx, edx
mov r8d, 0x10
mov rcx, rax
call fcn.140008568
movsxd r14, eax
cmp byte [rbx + 0x1018], r13b
jne 0x140001d74
lea rcx, str.CommandlineLib_is_not_initialized___6__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
cmp dword [rbx + 0x10], ebp
jle 0x140001da7
lea rdi, [rbx + 0x20]
nop dword [rax]
mov rdx, qword [rdi]
test rdx, rdx
je 0x140001d9c
lea rcx, str._hthread
call fcn.140007b5c
test eax, eax
je 0x140001e96
inc ebp
add rdi, 8
cmp ebp, dword [rbx + 0x10]
jl 0x140001d80
mov rax, r13
xor edx, edx
mov r8d, 0x10
mov rcx, rax
call fcn.140008568
mov rcx, rbx
movsxd rsi, eax
call fcn.1400013c0
mov rdi, qword [rbx]
mov byte [rbx + 0x1018], r13b
test rdi, rdi
je 0x140001df3
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140001df3
add rcx, rcx
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rbx]
call fcn.140001ff0
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov edx, 0x1020
mov rcx, rbx
call fcn.140001ff0
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], r13d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x140001f29
cmp dword [rsp + 0x40], 1
je 0x140001f29
lea rax, [rsp + 0x260]
mov rdx, rsi
lea r9, [rsp + 0x470]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x680]
mov rcx, r14
call fcn.140001470
test al, al
jne 0x140001f29
lea rdx, str.Error_while_injecting_dlls_
jmp 0x140001f14
test edi, edi
je 0x140001d0e
mov eax, dword [rbx + 0x10]
dec eax
cmp edi, eax
je 0x140001d0e
movsxd rax, edi
mov rcx, qword [rbx + rax*8 + 0x20]
movzx eax, word [rcx]
sub ax, 0x2b
test r15w, ax
mov rax, r13
cmovne rax, rcx
jmp 0x140001d11
test ebp, ebp
je 0x140001da7
mov eax, dword [rbx + 0x10]
dec eax
cmp ebp, eax
je 0x140001da7
movsxd rax, ebp
mov rcx, qword [rbx + rax*8 + 0x20]
movzx eax, word [rcx]
sub ax, 0x2b
test r15w, ax
mov rax, r13
cmovne rax, rcx
jmp 0x140001daa
mov rcx, rbx
call fcn.1400013c0
mov rdi, qword [rbx]
mov byte [rbx + 0x1018], r13b
test rdi, rdi
je 0x140001f00
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140001f00
add rcx, rcx
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rbx]
call fcn.140001ff0
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov edx, 0x1020
mov rcx, rbx
call fcn.140001ff0
lea rdx, str.Found_no_valid_parameters_
mov r9d, 0x10
lea r8, str.x64launcher
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov r14, qword [rsp + 0x8a8]
xor eax, eax
mov r13, qword [rsp + 0x8b0]
mov rsi, qword [rsp + 0x8d8]
mov rdi, qword [rsp + 0x8e0]
mov rbx, qword [rsp + 0x8d0]
mov r15, qword [rsp + 0x8a0]
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.140001fd0
add rsp, 0x8c0
pop rbp
ret
mov r9d, 0x10
lea r8, str.x64launcher
lea rdx, str.Failed_to_allocate_memory_for_commandline_class_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x140001f43
mov r9d, 0x10
lea r8, str.x64launcher
lea rdx, str.Failed_to_build_file_paths_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x140001f43