Function at 0x1400042a0
Capabilities:
Set console window title

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x240
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140010040]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov r14, rdx
movsxd r15, ecx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
mov edi, 0xf
mov qword [rbp - 0x58], rdi
mov byte [rbp - 0x70], r13b
mov rdx, qword [rdx + 8]
test rdx, rdx
je 0x140004324
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140004311
lea rcx, [rbp - 0x70]
call fcn.140006830
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
xor r8d, r8d
lea rdx, [0x14000b829]
lea rcx, [rbp - 0x10]
call fcn.140002e60
nop
cmp r15d, 2
jle 0x140004566
mov dword [0x1400100b8], r13d
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14000bcb0]
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 0x100
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x30], rbx
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x38], rax
mov r9, r13
mov qword [rbp + 0xa0], r13
mov ecx, 4
mov dword [rbp + 0xa8], ecx
mov esi, 2
mov r12, r15
cmp r15, rsi
jbe 0x140004441
mov ebx, esi
dec r15d
mov rdx, qword [r14 + rbx*8]
lea rcx, [rbp + 0x30]
call fcn.140006ed0
cmp esi, r15d
jge 0x140004423
lea rdx, [0x14000b930]
lea rcx, [rbp + 0x30]
call fcn.140006ed0
inc esi
inc rbx
cmp rbx, r12
jl 0x140004401
mov ecx, dword [rbp + 0xa8]
mov r9, qword [rbp + 0xa0]
lea rbx, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movdqa xmm6, xmmword [0x14000bd20]
movdqu xmmword [rsp + 0x40], xmm6
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x20], 0x102
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140004495
mov rax, qword [rbp + 0x78]
mov r8, qword [rax]
test r8, r8
je 0x140004495
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax]
cmp r8, r9
cmovb r8, r9
sub r8, rdx
jmp 0x1400044c7
test cl, 4
jne 0x1400044bf
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400044bf
mov rax, qword [rbp + 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x88]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1400044c7
mov r8, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x1400044dc
lea rcx, [rsp + 0x30]
call fcn.140006830
movdqu xmm6, xmmword [rsp + 0x40]
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14000451a
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004515
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004515
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008d34
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm6
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x30], rbx
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x38]
call fcn.140005f90
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 + 0xb8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], rdi
mov byte [rbp - 0x50], 0
cmp qword [rbp - 0x60], 0
je 0x140004819
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
lea rcx, str.Game_executable_specified:__s_n
call fcn.140001290
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rax, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x28], rax
call fcn.1400080e4
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp + 0x10]
call fcn.140001c00
nop
lea rbx, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova rbx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x20]
lea rdx, [rbx + rax*2]
mov rcx, rbx
call fcn.140001d70
cmp rax, rdx
je 0x14000466e
nop
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14000460f
cmp cx, 0x2f
jne 0x140004618
add rax, 2
cmp rax, rdx
jne 0x140004600
cmp rax, rdx
je 0x14000466e
nop dword [rax]
lea rcx, [rdx - 2]
movzx r8d, word [rcx]
cmp r8w, 0x5c
je 0x140004640
cmp r8w, 0x2f
je 0x140004640
mov rdx, rcx
cmp rax, rcx
jne 0x140004620
jmp 0x14000466e
cmp rax, rdx
je 0x14000466e
nop word [rax + rax]
lea rcx, [rdx - 2]
movzx r8d, word [rcx]
cmp r8w, 0x5c
je 0x140004666
cmp r8w, 0x2f
jne 0x14000466e
mov rdx, rcx
cmp rax, rcx
jne 0x140004650
mov qword [rsp + 0x20], rbx
sub rdx, rbx
sar rdx, 1
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140007cc0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140001e80
nop
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.140001e80
nop
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140006af0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x14000bd20]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x140004720
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000471b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000471b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008d34
movdqa xmm0, xmmword [0x14000bd10]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r13w
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14000477e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004771
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004771
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008d34
movdqa xmm0, xmmword [0x14000bd10]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r13w
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x1400047cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400047c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008d34
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x140004bad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ba8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ba8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, rdi
lea rdx, str.Wuthering_Waves
lea rcx, [rsp + 0x30]
call fcn.140002e60
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.140002f60
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140004888
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004883
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004b51
call fcn.140008d34
mov r15, qword [rbp - 0x20]
test r15, r15
jne 0x1400048e2
lea rcx, str.Failed_to_find_game_executable._nLaunch_with_command__Launcher.exe__exepath__._n
call fcn.140001290
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140004c24
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400048d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004b9e
call fcn.140008d34
jmp 0x140004c24
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 0x1c
jb 0x140004d15
lea rax, [rbp - 0x30]
mov r14, qword [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rax, r14
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
lea r12, [r15 + 0x1c]
mov rbx, rdi
lea rsi, [rsp + 0x30]
movabs rdx, 0x8000000000000000
mov r8d, 0x16
cmp r12, rbx
jbe 0x1400049ac
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x140004950
mov rbx, rcx
lea rax, [rdx + 0x27]
jmp 0x14000497b
cmp rbx, r8
cmovb rbx, r8
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140004965
mov rsi, r13
jmp 0x1400049a7
cmp rcx, 0x1000
jb 0x14000499a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004d1b
mov rcx, rax
call fcn.140008ab0
test rax, rax
je 0x140004b51
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400049a2
call fcn.140008ab0
mov rsi, rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rbx
mov r8, r15
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.Wuthering_Waves_GameClient]
movups xmmword [rsi + r15], xmm0
movsd xmm0, qword [0x14000ba90]
movsd qword [rsi + r15 + 0x10], xmm0
mov eax, dword [0x14000ba98]
mov dword [rsi + r15 + 0x18], eax
mov byte [rsi + r12], 0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x40], xmm0
movabs rdx, 0x7fffffffffffffff
mov rax, rdx
movq r12, xmm0
sub rax, r12
cmp rax, 0x29
jb 0x140004d15
lea r15, [rbp - 0x50]
movq rcx, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova r15, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
lea rsi, [r12 + 0x29]
lea rbx, [rsp + 0x30]
cmp rsi, 0xf
jbe 0x140004acf
mov rdi, rsi
or rdi, 0xf
cmp rdi, rdx
jbe 0x140004a8f
mov rdi, rdx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140008ab0
test rax, rax
je 0x140004b51
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140004aca
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140004aaa
mov rbx, r13
jmp 0x140004aca
cmp rcx, 0x1000
jb 0x140004ac2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004d1b
jmp 0x140004a70
call fcn.140008ab0
mov rbx, rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov r8, r12
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.BinariesWin64Client_Win64_Shipping.exe]
movups xmmword [r12 + rbx], xmm0
movups xmm1, xmmword [0x14000bab0]
movups xmmword [r12 + rbx + 0x10], xmm1
movsd xmm0, qword [0x14000bac0]
movsd qword [r12 + rbx + 0x20], xmm0
movzx eax, byte [0x14000bac8]
mov byte [r12 + rbx + 0x28], al
mov byte [rbx + rsi], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140004b5d
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004b58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008d34
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x60], xmm1
mov rax, qword [rbp - 0x18]
cmp rax, 0xf
jbe 0x140004bad
lea rdx, [rax + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140004ba5
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ba5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.140008d34
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.1400060b0
mov rcx, rax
call fcn.140003ac0
mov edx, 0x6c
lea rcx, [0x140010c18]
call fcn.1400038a0
test al, al
jne 0x140004bec
lea rcx, str.Press_enter_to_close._n
call fcn.140001290
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
jmp 0x140004c20
lea rcx, str.Launcher
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rcx, qword [rbp - 0x70]
call fcn.140003410
mov r13d, 1
mov rdi, qword [rbp - 0x38]
cmp rdi, 0xf
jbe 0x140004c60
lea rdx, [rdi + 1]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008d34
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140004c9f
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008d34
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140004cdd
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004cd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004cd8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008d34
mov eax, r13d
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140008a90
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001490
nop
call fcn.1400013f0
int3