Function at 0x1400046b0
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x140011010]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r13, rdx
movsxd rbx, ecx
xor edi, edi
mov eax, edi
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], eax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea ecx, [rdi + 0x60]
call fcn.14000a0d0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov eax, edi
mov qword [rbp + 0x80], rax
mov ecx, 0xf
mov qword [rbp + 0x88], rcx
mov byte [rbp + 0x70], al
mov r12, rbx
lea r8, [rdi - 1]
cmp rbx, 1
jle 0x140004a23
mov r15d, 1
nop word [rax + rax]
mov rdx, qword [r13 + r15*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rdi
mov qword [rbp + 8], rdi
inc r8
cmp byte [rdx + r8], 0
jne 0x140004774
lea rcx, [rbp - 0x10]
call fcn.140002e00
nop
lea rbx, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
setae r14b
mov rsi, qword [rbp - 0x10]
cmovae rbx, rsi
mov rdi, qword [rbp]
test rdi, rdi
je 0x14000497e
mov r8, rdi
mov edx, 0x3d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14000497e
sub rax, rbx
cmp rax, 0xffffffffffffffff
je 0x14000497e
lea rbx, [rbp - 0x10]
test r14b, r14b
cmovne rbx, rsi
mov r8, rdi
mov edx, 0x3d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rcx, rax
sub rcx, rbx
mov r8, 0xffffffffffffffff
test rax, rax
cmovne r8, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rbp - 0x10]
test r14b, r14b
cmovne rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.140002e00
or dword [rsp + 0x20], 0x800
lea rdi, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
setae r14b
mov rsi, qword [rbp - 0x10]
cmovae rdi, rsi
mov rbx, qword [rbp]
test rbx, rbx
je 0x140004872
mov r8, rbx
mov edx, 0x3d
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140004872
sub rax, rdi
mov rdx, 0xffffffffffffffff
jmp 0x14000487c
mov rdx, 0xffffffffffffffff
mov rax, rdx
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xor edi, edi
mov qword [rbp + 0x60], rdi
mov qword [rbp + 0x68], rdi
cmp rbx, rcx
jb 0x140005aef
sub rbx, rcx
mov r8, rdx
cmp rbx, 0xffffffffffffffff
cmovb r8, rbx
lea rdx, [rbp - 0x10]
test r14b, r14b
cmovne rdx, rsi
add rdx, rcx
lea rcx, [rbp + 0x50]
call fcn.140002e00
or dword [rsp + 0x20], 0x1000
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.140007d80
mov rcx, qword [rax]
add rcx, 0x40
lea rax, [rbp + 0x50]
cmp rcx, rax
je 0x140004901
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
call fcn.140007540
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x14000493d
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004937
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004a6b
call fcn.14000a364
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x1400049cb
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004977
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004a72
call fcn.14000a364
jmp 0x1400049cb
lea rax, [rbp - 0x10]
test r14b, r14b
cmovne rax, rsi
cmp byte [rax], 0x2d
jne 0x1400049b2
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.140007d80
mov rcx, qword [rax]
add rcx, 0x40
xor r8d, r8d
lea rdx, [0x14000c81b]
jmp 0x1400049c4
lea rdx, [rbp - 0x10]
test r14b, r14b
cmovne rdx, rsi
mov r8, rdi
lea rcx, [rbp + 0x70]
call fcn.140007540
xor edi, edi
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140004a02
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400049fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004a79
call fcn.14000a364
inc r15
mov r8, 0xffffffffffffffff
cmp r15, r12
jl 0x140004760
mov rax, qword [rbp + 0x80]
mov rcx, qword [rbp + 0x88]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
lea r12, str._path
test rax, rax
je 0x140004a80
lea rdx, [rbp + 0x70]
cmp rcx, 0x10
cmovae rdx, qword [rbp + 0x70]
inc r8
cmp byte [rdx + r8], 0
jne 0x140004a53
lea rcx, [rbp - 0x30]
call fcn.140007540
jmp 0x140004c55
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
mov r8d, 5
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.140002e00
mov r15, qword [rbp - 0x40]
mov rbx, qword [r15 + 8]
mov r13, qword [rbp - 0x68]
mov rsi, qword [rbp - 0x70]
mov r14, qword [rbp - 0x80]
cmp byte [rbx + 0x19], 0
jne 0x140004b1c
nop dword [rax + rax]
lea rcx, [rbx + 0x20]
lea rdx, [rbp - 0x80]
cmp r13, 0x10
cmovae rdx, r14
mov rdi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x140004ade
mov rcx, qword [rcx]
mov r8, rdi
cmp rsi, rdi
cmovb r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140004af7
jns 0x140004b02
mov al, 0xff
jmp 0x140004b04
cmp rdi, rsi
jae 0x140004b00
mov al, 0xff
jmp 0x140004b04
jbe 0x140004b0e
mov al, 1
test al, al
jns 0x140004b0e
mov rbx, qword [rbx + 0x10]
jmp 0x140004b14
mov r15, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x140004ac0
xor edi, edi
cmp byte [r15 + 0x19], 0
jne 0x140004b72
lea rdx, [r15 + 0x20]
mov rbx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140004b35
mov rdx, qword [rdx]
lea rcx, [rbp - 0x80]
cmp r13, 0x10
cmovae rcx, r14
mov r8, rsi
cmp rbx, rsi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140004b5a
jns 0x140004b65
mov al, 0xff
jmp 0x140004b67
cmp rsi, rbx
jae 0x140004b63
mov al, 0xff
jmp 0x140004b67
jbe 0x140004b6b
mov al, 1
test al, al
js 0x140004b72
mov ebx, 1
jmp 0x140004b75
mov rbx, rdi
cmp r13, 0x10
jb 0x140004baf
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140004ba7
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ba7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14000a364
test rbx, rbx
je 0x140004c55
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r8d, 5
mov rdx, r12
lea rcx, [rbp - 0x60]
call fcn.140002e00
nop
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.140007f70
mov rdx, qword [rax]
add rdx, 0x40
cmp qword [rdx + 0x18], 0x10
jb 0x140004bfc
mov rdx, qword [rdx]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140004c03
lea rcx, [rbp - 0x30]
call fcn.140007540
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140004c55
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a364
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14000ce48]
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov esi, dword [rsp + 0x20]
bts esi, 0xa
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x30], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0xb0]
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 + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xb8]
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 + 0xb8], rax
mov r9, rdi
mov qword [rbp + 0x120], rdi
mov edx, 4
mov dword [rbp + 0x128], edx
mov rbx, qword [rbp - 0x40]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x140004e4c
xor esi, esi
nop word [rax + rax]
lea rdx, [rbx + 0x20]
lea rdi, [rdx + 0x20]
mov r10, qword [rdx + 0x10]
mov r8, rdx
mov r9, qword [rdx + 0x18]
cmp r9, 0x10
jb 0x140004d4c
mov r8, qword [rdx]
cmp r10, 5
jne 0x140004d82
mov rcx, rsi
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
inc rcx
cmp al, byte [r12 + rcx - 1]
jne 0x140004d79
cmp rcx, 5
jne 0x140004d60
mov eax, esi
jmp 0x140004d7e
sbb eax, eax
or eax, 1
test eax, eax
je 0x140004ddf
cmp r9, 0x10
jb 0x140004d8b
mov rdx, qword [rdx]
mov r8, r10
lea rcx, [rbp + 0xb0]
call fcn.140009180
cmp qword [rdi + 0x10], rsi
je 0x140004dcc
lea rdx, [0x14000cb28]
lea rcx, [rbp + 0xb0]
call fcn.140007bb0
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140004dc1
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.140009180
lea rdx, [0x14000c950]
lea rcx, [rbp + 0xb0]
call fcn.140007bb0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], sil
je 0x140004e0b
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], sil
jne 0x140004e06
cmp rbx, qword [rax + 0x10]
jne 0x140004e06
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], sil
je 0x140004df3
mov rbx, rax
jmp 0x140004e2f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], sil
jne 0x140004e2f
nop word [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], sil
je 0x140004e20
cmp byte [rbx + 0x19], sil
je 0x140004d30
mov edx, dword [rbp + 0x128]
mov r9, qword [rbp + 0x120]
mov esi, dword [rsp + 0x20]
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov rcx, rdi
mov qword [rbp + 0x40], rcx
mov r10d, 0xf
mov qword [rbp + 0x48], r10
mov byte [rbp + 0x30], 0
or esi, 2
mov dword [rsp + 0x30], esi
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
mov eax, edx
and al, 0x22
cmp al, 2
je 0x140004ea6
mov rax, qword [rbp + 0xf8]
mov r8, qword [rax]
test r8, r8
je 0x140004ea6
mov rax, qword [rbp + 0xd8]
mov rdx, qword [rax]
cmp r8, r9
cmovb r8, r9
sub r8, rdx
jmp 0x140004ede
test dl, 4
jne 0x140004ed6
mov rax, qword [rbp + 0xf0]
mov r9, qword [rax]
test r9, r9
je 0x140004ed6
mov rax, qword [rbp + 0xd0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x108]
movsxd r8, dword [rax]
add r8, r9
sub r8, rdx
jmp 0x140004ede
mov r8, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
test rdx, rdx
je 0x140004ef4
lea rcx, [rbp + 0x30]
call fcn.140007540
mov rcx, qword [rbp + 0x40]
mov r10, qword [rbp + 0x48]
test rcx, rcx
je 0x140004f28
lea rax, [rbp + 0x30]
mov rdi, qword [rbp + 0x30]
cmp r10, 0x10
cmovae rax, rdi
dec rcx
cmp byte [rcx + rax], 0x20
jne 0x140004f26
lea rax, [rbp + 0x30]
cmp r10, 0x10
cmovae rax, rdi
mov qword [rbp + 0x40], rcx
mov byte [rax + rcx], 0
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
mov r8d, 9
lea rdx, str._noinject
lea rcx, [rbp - 0x80]
call fcn.140002e00
mov r15, qword [rbp - 0x40]
mov rbx, qword [r15 + 8]
mov r13, qword [rbp - 0x68]
mov rsi, qword [rbp - 0x70]
mov r14, qword [rbp - 0x80]
cmp byte [rbx + 0x19], 0
jne 0x140004fcc
nop word [rax + rax]
lea rcx, [rbx + 0x20]
lea rdx, [rbp - 0x80]
cmp r13, 0x10
cmovae rdx, r14
mov rdi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x140004f8e
mov rcx, qword [rcx]
mov r8, rdi
cmp rsi, rdi
cmovb r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140004fa7
jns 0x140004fb2
mov al, 0xff
jmp 0x140004fb4
cmp rdi, rsi
jae 0x140004fb0
mov al, 0xff
jmp 0x140004fb4
jbe 0x140004fbe
mov al, 1
test al, al
jns 0x140004fbe
mov rbx, qword [rbx + 0x10]
jmp 0x140004fc4
mov r15, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x140004f70
xor edi, edi
cmp byte [r15 + 0x19], 0
jne 0x140005024
lea rdx, [r15 + 0x20]
mov rbx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140004fe5
mov rdx, qword [rdx]
lea rcx, [rbp - 0x80]
cmp r13, 0x10
cmovae rcx, r14
mov r8, rsi
cmp rbx, rsi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000500a
jns 0x140005015
mov al, 0xff
jmp 0x140005017
cmp rsi, rbx
jae 0x140005013
mov al, 0xff
jmp 0x140005017
jbe 0x14000501b
mov al, 1
test al, al
js 0x140005024
mov esi, 1
mov ebx, esi
jmp 0x14000502c
mov rbx, rdi
mov esi, 1
cmp r13, 0x10
jb 0x140005063
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14000505b
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000592b
mov rcx, r14
call fcn.14000a364
mov eax, dword [0x140011048]
test rbx, rbx
cmovne eax, esi
mov dword [0x140011048], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rdi
mov r14d, 0xf
mov qword [rbp + 0x28], r14
mov byte [rbp + 0x10], 0
movabs r15, 0x7fffffffffffffff
lea r12d, [r14 + 7]
cmp qword [rbp - 0x20], 0
je 0x140005425
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
lea rcx, str.Game_executable_specified:__s_n
call fcn.1400012a0
mov rdi, qword [rbp - 0x20]
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rbx, qword [rbp - 0x30]
call fcn.140009708
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rbp + 0x90]
call fcn.140001ca0
nop
lea r11, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae r11, qword [rbp + 0x90]
mov rax, qword [rbp + 0xa0]
lea rdx, [r11 + rax*2]
mov rcx, r11
call fcn.140001de0
mov r10, rax
cmp rax, rdx
je 0x14000516e
nop dword [rax + rax]
lea r8, [rdx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x14000514e
cmp cx, 0x2f
je 0x14000514e
mov rdx, r8
cmp r10, r8
jne 0x140005130
jmp 0x14000516e
cmp r10, rdx
je 0x14000516e
lea rcx, [rdx - 2]
movzx eax, word [rcx]
cmp ax, 0x5c
je 0x140005166
cmp ax, 0x2f
jne 0x14000516e
mov rdx, rcx
cmp r10, rcx
jne 0x140005153
mov qword [rsp + 0x30], r11
sub rdx, r11
sar rdx, 1
mov qword [rsp + 0x38], rdx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140009030
nop
lea r11, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r11, qword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
lea rdx, [r11 + rax*2]
mov rcx, r11
call fcn.140001de0
mov r10, rax
cmp rax, rdx
je 0x1400051fe
nop dword [rax + rax]
lea r8, [rdx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x1400051de
cmp cx, 0x2f
je 0x1400051de
mov rdx, r8
cmp r10, r8
jne 0x1400051c0
jmp 0x1400051fe
cmp r10, rdx
je 0x1400051fe
lea rcx, [rdx - 2]
movzx eax, word [rcx]
cmp ax, 0x5c
je 0x1400051f6
cmp ax, 0x2f
jne 0x1400051fe
mov rdx, rcx
cmp r10, rcx
jne 0x1400051e3
mov qword [rsp + 0x30], r11
sub rdx, r11
sar rdx, 1
mov qword [rsp + 0x38], rdx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140009030
nop
lea r11, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r11, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
lea rdx, [r11 + rax*2]
mov rcx, r11
call fcn.140001de0
mov r10, rax
cmp rax, rdx
je 0x14000528e
nop dword [rax + rax]
lea r8, [rdx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x14000526e
cmp cx, 0x2f
je 0x14000526e
mov rdx, r8
cmp r10, r8
jne 0x140005250
jmp 0x14000528e
cmp r10, rdx
je 0x14000528e
lea rcx, [rdx - 2]
movzx eax, word [rcx]
cmp ax, 0x5c
je 0x140005286
cmp ax, 0x2f
jne 0x14000528e
mov rdx, rcx
cmp r10, rcx
jne 0x140005273
mov qword [rsp + 0x30], r11
sub rdx, r11
sar rdx, 1
mov qword [rsp + 0x38], rdx
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140009030
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.1400078d0
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [0x14000ceb0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14000531e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005319
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005319
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a364
movdqa xmm0, xmmword [0x14000cea0]
movdqu xmmword [rbp - 0x50], xmm0
xor ebx, ebx
mov word [rbp - 0x60], bx
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140005376
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005371
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005371
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a364
movdqa xmm0, xmmword [0x14000cea0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], bx
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400053cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400053c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400053c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a364
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x140005418
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005413
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005413
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a364
mov r14, qword [rbp + 0x28]
mov rbx, qword [rbp + 0x20]
jmp 0x1400057bf
lea rcx, str.Game_executable_not_specified__auto_detecting...._n
call fcn.1400012a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r8d, 0xf
lea rdx, str.Wuthering_Waves
lea rcx, [rbp - 0x60]
call fcn.140002e00
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.140002f00
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x1400054a0
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000549b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005759
call fcn.14000a364
mov rsi, qword [rbp - 0x70]
test rsi, rsi
jne 0x14000550e
lea rcx, str.Failed_to_find_game_executable._nLaunch_with_command__Launcher.exe__exepath__._n
call fcn.1400012a0
lea rcx, str.Press_enter_to_close._n
call fcn.1400012a0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x1400058c4
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005502
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400057a5
call fcn.14000a364
mov esi, edi
jmp 0x1400058f8
mov rax, r15
sub rax, rsi
cmp rax, 0x1c
jb 0x140005ae9
lea r13, [rbp - 0x80]
mov r12, qword [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae r13, r12
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
lea r14, [rsi + 0x1c]
mov ebx, 0xf
lea rdi, [rbp - 0x60]
cmp r14, rbx
jbe 0x1400055c2
mov rbx, r14
or rbx, 0xf
cmp rbx, r15
jbe 0x140005559
mov rbx, r15
jmp 0x140005566
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x1400055ad
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140005af5
mov rcx, rax
call fcn.14000a0d0
test rax, rax
je 0x140005759
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400055be
test rcx, rcx
je 0x1400055bc
call fcn.14000a0d0
mov rdi, rax
jmp 0x1400055be
xor edi, edi
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], rbx
mov r8, rsi
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.Wuthering_Waves_GameClient]
movups xmmword [rsi + rdi], xmm0
movsd xmm0, qword [0x14000cc10]
movsd qword [rsi + rdi + 0x10], xmm0
mov eax, dword [0x14000cc18]
mov dword [rsi + rdi + 0x18], eax
mov byte [rdi + r14], 0
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rbp + 0x20], xmm1
mov rax, r15
movq rbx, xmm1
sub rax, rbx
cmp rax, 0x29
jb 0x140005ae9
lea rax, [rbp + 0x10]
mov r14, qword [rbp + 0x28]
cmp r14, 0x10
cmovae rax, qword [rbp + 0x10]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
lea r13, [rbx + 0x29]
mov edi, 0xf
lea rsi, [rbp - 0x60]
cmp r13, rdi
jbe 0x1400056dc
mov rdi, r13
or rdi, 0xf
cmp rdi, r15
jbe 0x140005669
mov rdi, r15
jmp 0x140005676
cmp rdi, 0x16
mov ecx, 0x16
cmovb rdi, rcx
mov rcx, rdi
add rcx, 1
mov rdx, 0xffffffffffffffff
cmovb rcx, rdx
cmp rcx, 0x1000
jb 0x1400056c2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140005af5
mov rcx, rax
call fcn.14000a0d0
test rax, rax
je 0x140005759
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
mov rax, qword [rsp + 0x30]
jmp 0x1400056d8
test rcx, rcx
je 0x1400056d6
call fcn.14000a0d0
mov rsi, rax
mov rax, qword [rsp + 0x30]
jmp 0x1400056d8
xor esi, esi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], rdi
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.BinariesWin64Client_Win64_Shipping.exe]
movups xmmword [rbx + rsi], xmm0
movups xmm1, xmmword [0x14000cc30]
movups xmmword [rbx + rsi + 0x10], xmm1
movsd xmm0, qword [0x14000cc40]
movsd qword [rbx + rsi + 0x20], xmm0
movzx eax, byte [0x14000cc48]
mov byte [rbx + rsi + 0x28], al
mov byte [rsi + r13], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140005765
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005760
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005760
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a364
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rbp - 0x20], xmm1
mov rax, qword [rbp - 0x68]
cmp rax, 0x10
jb 0x1400057b4
lea rdx, [rax + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x1400057ac
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400057ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14000a364
mov r12d, 0x16
lea esi, [r12 - 0x15]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor edx, edx
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x68], rdx
lea rdi, [rbp + 0x10]
cmp r14, 0x10
cmovae rdi, qword [rbp + 0x10]
cmp rbx, r15
ja 0x140005afb
mov qword [rbp - 0x68], 0xf
cmp rbx, 0x10
jae 0x140005804
mov qword [rbp - 0x70], rbx
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x80], xmm0
jmp 0x140005892
mov rax, rbx
or rax, 0xf
cmp rax, r15
ja 0x14000581b
mov r15, rax
cmp rax, 0x16
cmovb r15, r12
mov rcx, r15
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x140005868
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140005ae3
mov rcx, rax
call fcn.14000a0d0
mov rcx, rax
test rax, rax
je 0x140005861
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140005877
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140005874
call fcn.14000a0d0
jmp 0x140005877
mov rax, rdx
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], r15
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp - 0x80]
call fcn.140003a20
mov edx, 0x6c
lea rcx, [0x140011bc0]
call fcn.140003800
test al, al
jne 0x1400058c8
lea rcx, str.Press_enter_to_close._n
call fcn.1400012a0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor edi, edi
mov esi, edi
jmp 0x1400058f8
lea rcx, str.Launcher
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rdx, qword [rbp + 0x30]
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
call fcn.1400033a0
xor edi, edi
mov rbx, qword [rbp + 0x30]
cmp r14, 0x10
jb 0x140005938
lea rdx, [r14 + 1]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005932
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005932
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a364
nop
mov rax, qword [rbp + 0x48]
cmp rax, 0x10
jb 0x140005977
lea rdx, [rax + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000596e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000596e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14000a364
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xb8]
call fcn.140006d60
lea rcx, [rbp + 0xc0]
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 + 0x138]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140005a0e
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005a09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005a09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a364
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x140005a60
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005a5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005a5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a364
nop
mov rcx, qword [rbp - 0x40]
mov rdi, qword [rcx + 8]
cmp byte [rdi + 0x19], 0
jne 0x140005aa7
nop
mov r8, qword [rdi + 0x10]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.140009340
mov rbx, rdi
mov rdi, qword [rdi]
lea rcx, [rbx + 0x20]
call fcn.1400094e0
mov edx, 0x60
mov rcx, rbx
call fcn.14000a364
cmp byte [rdi + 0x19], 0
je 0x140005a70
mov rcx, qword [rbp - 0x40]
mov edx, 0x60
call fcn.14000a364
mov eax, esi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14000a0b0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001400
nop
call fcn.1400014a0
nop
call fcn.140007750
nop
call fcn.140001400
nop
call fcn.1400014a0
int3