Function at 0x14001f3b0
Capabilities:
Move file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x20248
call fcn.14011fd80
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x201b0], xmm6
mov qword [rbp + 0x201a8], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, str.GenshinImpactLoader.dat
lea rdx, [0x140174620]
call fcn.140135de0
mov qword [rbp + 0x20180], rax
test rax, rax
je 0x14001f772
lea r14, [rbp + 0xc4]
lea r13, [rbp - 0x40]
xorps xmm6, xmm6
lea r15, [rbp + 0x200c8]
jmp 0x14001f425
call fcn.14011fa98
mov qword [rsp + 0x28], r14
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
mov rcx, qword [rbp + 0x20180]
lea rdx, str._s__d__s__s_n
mov r8, r13
lea r9, [rbp + 0x40]
call fcn.14001f890
cmp eax, 4
jne 0x14001f74c
mov qword [rbp + 0x20188], 0
mov qword [rbp + 0x20198], 0
mov qword [rbp + 0x201a0], 0xf
mov byte [rbp + 0x20188], 0
mov rcx, r13
call fcn.14013cf20
mov rbx, rax
cmp rax, 0xf
jbe 0x14001f4d0
test rbx, rbx
js 0x14001f792
mov r12, rbx
or r12, 0xf
cmp r12, 0x17
mov eax, 0x16
cmovb r12, rax
cmp r12, 0xfff
jb 0x14001f500
lea rcx, [r12 + 0x28]
call fcn.14011fa54
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14001f50d
mov qword [rbp + 0x20198], rbx
lea rcx, [rbp + 0x20188]
mov rdx, r13
mov r8, rbx
call fcn.140124380
mov byte [rbp + rbx + 0x20188], 0
jmp 0x14001f534
lea rcx, [r12 + 1]
call fcn.14011fa54
mov rdi, rax
mov qword [rbp + 0x20198], rbx
mov qword [rbp + 0x201a0], r12
mov rcx, rdi
mov rdx, r13
mov r8, rbx
call fcn.140124380
mov byte [rdi + rbx], 0
mov qword [rbp + 0x20188], rdi
movaps xmmword [rbp + 0x20140], xmm6
mov qword [rbp + 0x20150], 0
mov edx, 0x80
lea rcx, [rbp + 0x44]
call fcn.14013d4d8
mov r12, rax
mov byte [rbp + 0x200c8], 0
mov rdx, rax
inc rdx
jne 0x14001f570
xor ecx, ecx
jmp 0x14001f586
lea rcx, [rbp + 0x20140]
mov r8, r15
call fcn.1400203d0
mov rcx, qword [rbp + 0x20140]
lea rdx, [rbp + 0x44]
mov r8, r12
call fcn.140124380
movaps xmmword [rbp + 0x20160], xmm6
mov qword [rbp + 0x20170], 0
mov edx, 0x20000
mov rcx, r14
call fcn.14013d4d8
mov r12, rax
mov byte [rbp + 0x200c8], 0
mov rdx, rax
inc rdx
jne 0x14001f5d0
xor ecx, ecx
jmp 0x14001f5e6
lea rcx, [rbp + 0x20160]
mov r8, r15
call fcn.1400203d0
mov rcx, qword [rbp + 0x20160]
mov rdx, r14
mov r8, r12
call fcn.140124380
mov edi, dword [rbp + 0x40]
mov edx, 8
mov rcx, r15
call fcn.140020970
mov rdx, qword [rbp + 0x200c8]
test edi, edi
setne r8b
lea rax, [rbp + 0x20160]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20140]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0
mov rcx, r15
lea r9, [rbp + 0x20188]
call fcn.140005e70
xor eax, eax
cmp dword [rbp + 0x40], 0
sete al
lea rax, [rax + rax*2]
lea rdi, [rsi + rax*8]
mov rdx, qword [rsi + rax*8 + 8]
cmp rdx, qword [rsi + rax*8 + 0x10]
je 0x14001f670
mov rcx, rdx
mov rdx, r15
call fcn.140019490
add qword [rdi + 8], 0x78
jmp 0x14001f67b
mov rcx, rdi
mov r8, r15
call fcn.140019040
mov rcx, r15
call fcn.140006310
mov rcx, qword [rbp + 0x20160]
test rcx, rcx
je 0x14001f6c3
mov rdx, qword [rbp + 0x20170]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14001f6be
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14001f78d
add rdx, 0x27
mov rcx, rax
call fcn.14011fa98
mov rcx, qword [rbp + 0x20140]
test rcx, rcx
je 0x14001f703
mov rdx, qword [rbp + 0x20150]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14001f6fe
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14001f78d
add rdx, 0x27
mov rcx, rax
call fcn.14011fa98
mov rax, qword [rbp + 0x201a0]
cmp rax, 0x10
jb 0x14001f425
mov rcx, qword [rbp + 0x20188]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14001f420
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14001f78d
add rax, 0x28
mov rdx, rax
mov rcx, r8
jmp 0x14001f420
mov rcx, qword [rbp + 0x20180]
call fcn.140137390
lea rcx, str.GenshinImpactLoader.dat
lea rdx, str.GenshinImpactLoader.dat.bak
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
movaps xmm6, xmmword [rbp + 0x201b0]
add rsp, 0x20248
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.140135390
call fcn.140007070
int3