Function at 0x140003560
Capabilities:
Execute command
Read file on windows
Resume thread

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 - 0x20]
sub rsp, 0x120
mov rax, qword [0x140046010]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r15, rdx
mov r12d, ecx
xor r13d, r13d
mov dword [rbp - 0x60], r13d
mov dword [0x140046d24], 5
mov rsi, qword [rdx]
mov rdi, 0xffffffffffffffff
mov rbx, rdi
inc rbx
cmp byte [rsi + rbx], r13b
jne 0x1400035b6
call fcn.14000bb4c
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rbx
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.1400022d0
nop
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x20]
call fcn.1400027c0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140003634
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000362f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000362f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000c184
movdqa xmm0, xmmword [0x1400409d0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r13w
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
call fcn.14000bde8
test eax, eax
jne 0x140003b88
lea rcx, [0x140046098]
call fcn.140009120
lea rcx, [0x1400460b8]
call fcn.140009120
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, byte [0x140046d70]
mov ebx, 1
cmp qword [0x140046d30], 0
cmove eax, ebx
mov byte [0x140046d70], al
mov qword [rbp - 0x60], r13
lea r8, [0x14000ec30]
lea rdx, str.cfg.ini
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rsi, qword [rbp - 0x60]
test rsi, rsi
je 0x140003755
xor edx, edx
lea r8d, [rbx + 1]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000374b
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
cmp eax, ebx
jl 0x14000374b
movsxd r14, eax
lea rcx, [r14 + 1]
lea rdx, [0x14000e7a0]
call fcn.14000c428
mov rbx, rax
test rax, rax
je 0x140003746
mov byte [r14 + rax], 0
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, rsi
mov r8, r14
mov edx, 1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, r14
jne 0x14000373e
mov r8, rax
mov rdx, rbx
call fcn.140006130
mov rcx, rbx
call fcn.14000c184
mov ebx, 1
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140003ba0
test al, al
jne 0x1400037e0
lea rdx, str.Failed_to_open_GenshinImpact_process.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004770
lea rdx, [0x140004940]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [0x14000ea30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400037d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov r8, rcx
cmp rdx, 0x1000
jb 0x1400037d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140003b45
call fcn.14000c184
mov eax, ebx
jmp 0x140003b53
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
call fcn.14000bde8
test eax, eax
jne 0x140003b94
call fcn.140004600
cmp r12d, 2
jne 0x14000380c
mov rdx, qword [r15 + 8]
jmp 0x140003813
lea rdx, str.YSSpeedHack.dll
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
inc rdi
cmp byte [rdx + rdi], 0
jne 0x140003827
mov r8, rdi
lea rcx, [rbp - 0x50]
call fcn.140003400
nop
mov rdi, qword [rbp - 0x40]
lea rbx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rbx, qword [rbp - 0x50]
call fcn.14000bb4c
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rdi
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.1400022d0
nop
mov qword [rsp + 0x20], r13
movdqa xmm0, xmmword [0x1400409d0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r13w
mov dword [rbp - 0x60], 0x1f
lea rcx, [rsp + 0x20]
call fcn.140003200
test eax, eax
jne 0x140003b80
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x78]
call fcn.140002900
nop
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140002500
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140002900
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14000390e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003908
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003908
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000c184
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140003953
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000394e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000394e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000c184
movdqa xmm0, xmmword [0x1400409d0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r13w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400039ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400039a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000c184
movdqa xmm0, xmmword [0x1400409d0]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r13w
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rax, qword [rbp - 0x10]
mov qword [rbp - 0x60], rax
mov rax, qword [rbp]
mov qword [rbp - 0x58], rax
call fcn.14000bb4c
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.140006db0
nop
lea rdx, [rsp + 0x78]
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1400093d0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140003a4b
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003a46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000c184
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140003aae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003aa9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003aa9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000c184
movdqa xmm0, xmmword [0x1400409d0]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], r13w
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140003afe
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003af9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003af9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000c184
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140003b51
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000c184
xor eax, eax
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14000bed0
lea r11, [rsp + 0x120]
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
mov edx, eax
call fcn.1400030a0
nop
lea r8, [rbp - 0x30]
mov edx, eax
call fcn.140003190
int3
lea r8, [rbp - 0x30]
mov edx, eax
call fcn.140003190
int3