Function at 0x140003810
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Terminate process

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push r13
lea rbp, [rsp - 0x270]
sub rsp, 0x370
movups xmm1, xmmword [str.riftbreaker_dll_win_Release.dll]
mov r13, r8
movups xmm0, xmmword [0x140015550]
movd r10d, xmm1
movups xmmword [rbp + 0x110], xmm1
movups xmmword [rbp + 0x120], xmm0
test r10b, r10b
je 0x14000387c
lea rbx, [rbp + 0x110]
movsx ecx, r10b
call fcn.14000a6a4
mov byte [rbx], al
lea rbx, [rbx + 1]
movzx eax, byte [rbx]
movzx r10d, al
test al, al
jne 0x140003862
xor ecx, ecx
mov qword [rsp + 0x3a0], rsi
mov eax, 1
cpuid
mov dword [rbp - 0x20], eax
mov dword [rbp - 0x1c], ebx
mov dword [rbp - 0x14], edx
bt ecx, 0x13
jb 0x1400038c4
mov r9d, 0x10
lea r8, str.CPU_not_supported
lea rdx, str.Your_CPU_must_support_SSE_4.1_instruction_set.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rax, 0xffffffffffffffff
jmp 0x14000468f
mov qword [rsp + 0x358], r14
lea rcx, [rbp + 0x144]
xor r14d, r14d
mov dword [rbp + 0x130], 0x11c
xor edx, edx
mov qword [rbp + 0x13c], r14
mov r8d, 0x100
call fcn.140013bc0
xor eax, eax
mov word [rbp + 0x246], r14w
mov r8b, 3
mov dword [rbp + 0x248], eax
xor ecx, ecx
lea edx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
lea edx, [r14 + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
lea edx, [r14 + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea edx, [r14 + 0x23]
mov dword [rbp + 0x134], 6
mov r8, rax
mov dword [rbp + 0x138], 2
lea rcx, [rbp + 0x130]
mov word [rbp + 0x244], r14w
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x140003979
lea r8, str.Unsupported_Windows_version_
lea rdx, str.Windows_8.1_or_greater_is_required_to_play_The_Riftbreaker.
jmp 0x1400046b1
lea rcx, str.vcruntime140.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x1400046a3
lea rcx, str.vcruntime140_1.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x1400046a3
mov qword [rsp + 0x368], rdi
xorps xmm0, xmm0
mov rsi, 0xffffffffffffffff
mov qword [rsp + 0x360], r12
mov qword [rsp + 0x350], r15
mov r8, rsi
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
inc r8
cmp byte [r8 + r13], r14b
jne 0x1400039d6
mov rdx, r13
lea rcx, [rbp]
call fcn.140001180
cmp qword [rbp + 0x18], 0xf
lea rdi, [rbp]
mov r12, qword [rbp + 0x10]
cmova rdi, qword [rbp]
cmp r12, 0x1f
jb 0x140003a6c
lea r15, [r12 + rdi]
mov edx, 0x64
lea r8, [r15 - 0x1e]
mov rcx, rdi
sub r8, rdi
call fcn.140013380
mov rbx, rax
test rax, rax
je 0x140003a6c
nop dword [rax]
nop word [rax + rax]
mov r8d, 0x1f
lea rdx, str.disable_single_instance_check1
mov rcx, rbx
call fcn.140013420
test eax, eax
je 0x140003ad6
inc rbx
lea r8, [r15 - 0x1e]
sub r8, rbx
mov rcx, rbx
mov edx, 0x64
call fcn.140013380
mov rbx, rax
test rax, rax
jne 0x140003a30
mov rbx, rsi
cmp rbx, r12
lea rcx, [rbp - 0x48]
setb r15b
call fcn.140002a50
cmp qword [rbp - 0x30], 7
lea rcx, [rbp - 0x48]
mov r9d, 0xffffffff
lea rdx, [rbp + 0x20]
cmova rcx, qword [rbp - 0x48]
mov r8d, 3
call fcn.140004b90
test eax, eax
jne 0x140003af4
mov ebx, dword [rbp + 0x30]
mov eax, 0x1ff
test bl, 1
mov ecx, 0x16d
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
mov eax, ebx
shr eax, 0xa
test al, 1
je 0x140003ae9
mov eax, dword [rbp + 0x34]
cmp eax, 0xa000000c
jne 0x140003adb
mov ebx, 4
jmp 0x140003b17
sub rbx, rdi
jmp 0x140003a6f
cmp eax, 0xa0000003
jne 0x140003ae9
mov ebx, 0xa
jmp 0x140003b17
shr ebx, 4
and ebx, 1
or ebx, 2
jmp 0x140003b17
mov dword [rbp - 0x1c], 0xffff
sub eax, 2
je 0x140003b12
sub eax, 1
je 0x140003b12
sub eax, 0x32
je 0x140003b12
mov ebx, r14d
cmp eax, 0x46
jne 0x140003b17
mov ebx, 1
lea rcx, [rbp - 0x48]
call fcn.1400031c0
test ebx, ebx
je 0x140004114
cmp ebx, 1
je 0x140004114
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140004114
lea rcx, [rbp + 0x78]
call fcn.140002a50
cmp qword [rax + 0x18], 7
jbe 0x140003b52
mov rax, qword [rax]
mov rcx, rax
call fcn.140004f18
lea rcx, [rbp + 0x78]
call fcn.1400031c0
xorps xmm0, xmm0
mov qword [rbp - 0x78], r14
mov r9d, 0x104
mov qword [rbp - 0x70], 7
movups xmmword [rsp + 0x78], xmm0
mov edx, r9d
mov word [rsp + 0x78], r14w
xor r8d, r8d
mov word [rsp + 0x20], r14w
lea rcx, [rsp + 0x78]
call fcn.140001be0
cmp qword [rbp - 0x70], 7
lea rdx, [rsp + 0x78]
mov r8d, dword [rbp - 0x78]
cmova rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
mov dword [rbp + 0xa0], 0x68
xor eax, eax
mov qword [rbp - 0x18], 0xc
mov qword [rbp + 0x50], rax
lea rdx, [rbp - 0x20]
lea rax, str.Launcher.exe
xor r8d, r8d
lea rcx, [rbp + 0x20]
mov qword [rbp - 0x20], rax
movups xmmword [rbp + 0xa8], xmm0
movups xmmword [rbp + 0xb8], xmm0
movups xmmword [rbp + 0xc8], xmm0
movups xmmword [rbp + 0xd8], xmm0
movups xmmword [rbp + 0xe8], xmm0
movups xmmword [rbp + 0xf8], xmm0
movups xmmword [rbp + 0x40], xmm0
call fcn.140001520
cmp qword [rbp - 0x70], 7
lea rdx, [rsp + 0x78]
mov r8, rsi
cmova rdx, qword [rsp + 0x78]
nop dword [rax]
inc r8
cmp word [rdx + r8*2], r14w
jne 0x140003c30
xorps xmm0, xmm0
lea rcx, [rbp + 0x58]
xorps xmm1, xmm1
movups xmmword [rbp + 0x58], xmm0
movdqu xmmword [rbp + 0x68], xmm1
call fcn.140001290
mov rax, qword [rbp + 0x68]
lea rdi, [rbp + 0x58]
cmp qword [rbp + 0x70], 7
cmova rdi, qword [rbp + 0x58]
mov rcx, rdi
lea rbx, [rdi + rax*2]
mov rdx, rbx
call fcn.140002fa0
cmp rax, rbx
je 0x140003cec
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140003c8f
cmp cx, 0x2f
jne 0x140003c98
add rax, 2
cmp rax, rbx
jne 0x140003c80
cmp rax, rbx
je 0x140003cec
nop dword [rax]
movzx ecx, word [rbx - 2]
lea rdx, [rbx - 2]
cmp cx, 0x5c
je 0x140003cbe
cmp cx, 0x2f
je 0x140003cbe
mov rbx, rdx
cmp rax, rdx
jne 0x140003ca0
jmp 0x140003cec
cmp rax, rbx
je 0x140003cec
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rbx - 2]
lea rdx, [rbx - 2]
cmp cx, 0x5c
je 0x140003ce4
cmp cx, 0x2f
jne 0x140003cec
mov rbx, rdx
cmp rax, rdx
jne 0x140003cd0
xorps xmm0, xmm0
lea rcx, [rbp - 0x68]
xorps xmm1, xmm1
sub rbx, rdi
sar rbx, 1
mov rdx, rdi
mov r8, rbx
movups xmmword [rbp - 0x68], xmm0
movdqu xmmword [rbp - 0x58], xmm1
call fcn.140001290
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.140002100
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x48]
call fcn.1400027b0
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x140003d6a
mov rcx, qword [rbp - 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d65
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046ce
call fcn.14000517c
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x140003daa
mov rcx, qword [rbp + 0x58]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003da5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046ce
call fcn.14000517c
movdqa xmm0, xmmword [0x140015aa0]
lea rcx, [rbp + 0x20]
movdqu xmmword [rbp + 0x68], xmm0
mov word [rbp + 0x58], r14w
call fcn.1400031c0
cmp qword [rbp - 0x30], 7
lea rdx, [rbp - 0x48]
xorps xmm0, xmm0
xorps xmm1, xmm1
cmova rdx, qword [rbp - 0x48]
mov r8, rsi
movups xmmword [rsp + 0x58], xmm0
movdqu xmmword [rsp + 0x68], xmm1
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r14w
jne 0x140003df0
lea rcx, [rsp + 0x58]
call fcn.140001290
cmp qword [rbp + 0x18], 0xf
lea r8, [rbp]
lea rdx, [rbp]
xorps xmm0, xmm0
cmova r8, qword [rbp]
xorps xmm1, xmm1
add r8, qword [rbp + 0x10]
cmp qword [rbp + 0x18], 0xf
movups xmmword [rbp - 0x68], xmm0
cmova rdx, qword [rbp]
movdqu xmmword [rbp - 0x58], xmm1
cmp rdx, r8
jne 0x140003e47
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r14w
jmp 0x140003e56
mov r9, r8
lea rcx, [rbp - 0x68]
sub r9, rdx
call fcn.1400013c0
lea r8, str.__safe
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x20]
call section..text
movzx edx, byte [rsp + 0x50]
lea r9, [rbp - 0x68]
mov r8, rax
lea rcx, [rbp + 0x20]
call fcn.140002230
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140003ec2
mov rcx, qword [rsp + 0x58]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ebd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046d4
call fcn.14000517c
movups xmm0, xmmword [rbp + 0x20]
mov rdx, qword [rbp - 8]
movups xmm1, xmmword [rbp + 0x30]
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm1
cmp rdx, 7
jbe 0x140003f14
mov rcx, qword [rbp - 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f0f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046d4
call fcn.14000517c
mov rdx, qword [rbp - 0x50]
movdqa xmm0, xmmword [0x140015aa0]
mov word [rbp - 0x20], r14w
movdqu xmmword [rbp - 0x10], xmm0
cmp rdx, 7
jbe 0x140003f66
mov rcx, qword [rbp - 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f61
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046d4
call fcn.14000517c
cmp qword [rsp + 0x70], 7
lea rax, [rbp + 0x40]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x58]
cmova rdx, qword [rsp + 0x58]
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], r14
xor r8d, r8d
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x140004074
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14000400d
mov rcx, qword [rsp + 0x58]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004008
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046da
call fcn.14000517c
movdqa xmm0, xmmword [0x140015aa0]
lea rcx, [rbp - 0x48]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r14w
call fcn.1400031c0
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x14000462f
mov rcx, qword [rsp + 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000406a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046da
call fcn.14000517c
jmp 0x14000462f
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x1400040b6
mov rcx, qword [rsp + 0x58]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400040b1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046da
call fcn.14000517c
movdqa xmm0, xmmword [0x140015aa0]
lea rcx, [rbp - 0x48]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r14w
call fcn.1400031c0
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x140004114
mov rcx, qword [rsp + 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000410f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046da
call fcn.14000517c
test r15b, r15b
je 0x14000411e
mov rbx, r14
jmp 0x14000414f
lea r8, str.E8311E10_BBC9_4D83_98F2_BBEAAF1B195A
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
test rax, rax
je 0x140004610
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140004610
lea rcx, [rbp + 0x110]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp - 0x20], rax
test rax, rax
jne 0x140004184
lea r9d, [rax + 0x10]
xor ecx, ecx
lea r8, str.Failed_to_load_game_library
lea rdx, str.ERROR:_failed_to_load_game_library
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140004632
lea rdx, str.ExorMain
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400041b8
lea r9d, [rax + 0x10]
xor ecx, ecx
lea r8, str.Entry_procedure_not_found
lea rdx, str.ERROR:_entry_procedure_not_found
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140004632
mov r9d, dword [rbp + 0x2a8]
mov r8, r13
mov rdx, qword [rbp + 0x298]
mov rcx, qword [rbp + 0x290]
call rax
mov r12d, eax
test rbx, rbx
je 0x1400041ec
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp r12d, 0x29a
jne 0x1400045f2
xorps xmm0, xmm0
mov qword [rsp + 0x68], r14
mov r9d, 0x104
mov qword [rsp + 0x70], 7
movups xmmword [rsp + 0x58], xmm0
mov edx, r9d
mov word [rsp + 0x58], r14w
xor r8d, r8d
mov word [rsp + 0x20], r14w
lea rcx, [rsp + 0x58]
call fcn.140001be0
cmp qword [rsp + 0x70], 7
lea rdx, [rsp + 0x58]
mov r8d, dword [rsp + 0x68]
cmova rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp qword [rsp + 0x70], 7
lea rdx, [rsp + 0x58]
xorps xmm0, xmm0
xorps xmm1, xmm1
cmova rdx, qword [rsp + 0x58]
mov r8, rsi
movups xmmword [rsp + 0x78], xmm0
movdqu xmmword [rbp - 0x78], xmm1
inc r8
cmp word [rdx + r8*2], r14w
jne 0x140004273
lea rcx, [rsp + 0x78]
call fcn.140001290
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x68], xmm0
mov r8, rsi
movdqu xmmword [rbp - 0x58], xmm1
nop dword [rax]
inc r8
cmp byte [r8 + r13], r14b
jne 0x1400042a0
mov rdx, r13
lea rcx, [rbp - 0x68]
call fcn.140001180
mov edi, dword [rbp - 0x58]
lea r8, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
mov dword [rsp + 0x28], r14d
cmova r8, qword [rbp - 0x68]
xor edx, edx
lea r9d, [rdi + 1]
mov qword [rsp + 0x20], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rsi
mov rcx, rax
call fcn.140005184
cmp qword [rbp - 0x50], 0xf
lea r8, [rbp - 0x68]
mov dword [rsp + 0x28], ebx
lea r9d, [rdi + 1]
cmova r8, qword [rbp - 0x68]
mov r15, rax
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x48], xmm0
movdqu xmmword [rbp - 0x38], xmm1
nop dword [rax]
inc rsi
cmp word [r15 + rsi*2], r14w
jne 0x140004330
mov r8, rsi
lea rcx, [rbp - 0x48]
mov rdx, r15
call fcn.140001290
mov rcx, r15
call fcn.14000517c
lea r8, [0x1400159e4]
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x20]
call section..text
movzx edx, byte [rsp + 0x50]
lea r9, [rbp - 0x48]
mov r8, rax
lea rcx, [rbp + 0x78]
call fcn.140002230
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x1400043bc
mov rcx, qword [rsp + 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400043b7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046e0
call fcn.14000517c
movups xmm0, xmmword [rbp + 0x78]
mov rdx, qword [rbp + 0x38]
movups xmm1, xmmword [rbp + 0x88]
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm1
cmp rdx, 7
jbe 0x140004410
mov rcx, qword [rbp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000440b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046e0
call fcn.14000517c
mov rdx, qword [rbp - 0x30]
movdqa xmm0, xmmword [0x140015aa0]
mov word [rbp + 0x20], r14w
movdqu xmmword [rbp + 0x30], xmm0
cmp rdx, 7
jbe 0x140004462
mov rcx, qword [rbp - 0x48]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000445d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046e0
call fcn.14000517c
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14000449d
mov rcx, qword [rbp - 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004498
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046e0
call fcn.14000517c
xorps xmm0, xmm0
mov dword [rbp + 0xa0], 0x68
xor eax, eax
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0x40]
cmova rdx, qword [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp + 0xa0]
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
movups xmmword [rbp + 0xa8], xmm0
movups xmmword [rbp + 0xb8], xmm0
movups xmmword [rbp + 0xc8], xmm0
movups xmmword [rbp + 0xd8], xmm0
movups xmmword [rbp + 0xe8], xmm0
movups xmmword [rbp + 0xf8], xmm0
movups xmmword [rbp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x140004540
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000455c
mov r9d, 0x10
lea r8, [0x1400159e8]
lea rdx, str.ERROR:_failed_to_restart_game_library
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x14000459d
mov rcx, qword [rsp + 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004598
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046e6
call fcn.14000517c
mov rdx, qword [rsp + 0x70]
movdqa xmm0, xmmword [0x140015aa0]
mov word [rsp + 0x78], r14w
movdqu xmmword [rbp - 0x78], xmm0
cmp rdx, 7
jbe 0x1400045f2
mov rcx, qword [rsp + 0x58]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045ed
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046e6
call fcn.14000517c
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140004635
mov r9d, 0x10
lea r8, str.Failed_to_start_game
lea rdx, str.The_Riftbreaker_is_already_running_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov r14d, esi
mov esi, r14d
mov r12d, esi
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x14000466c
mov rcx, qword [rbp]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004667
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046c8
call fcn.14000517c
mov rdi, qword [rsp + 0x368]
mov eax, r12d
mov r12, qword [rsp + 0x360]
mov r15, qword [rsp + 0x350]
mov r14, qword [rsp + 0x358]
mov rsi, qword [rsp + 0x3a0]
add rsp, 0x370
pop r13
pop rbx
pop rbp
ret
lea r8, str.Missing_Visual_C_Redistributable_Package_
lea rdx, str.Install_Visual_C_Redistributable_Package_from_https:__aka.ms_vs_16_release_vc_redist.x64.exe
mov r9d, 0x10
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rax, 0xffffffffffffffff
jmp 0x140004687
call fcn.14000a454
int3
call fcn.14000a454
int3
call fcn.14000a454
int3
call fcn.14000a454
int3
call fcn.14000a454
int3
call fcn.14000a454
int3