Function at 0x140004f50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov r14, rdx
mov r15, rcx
xor r12d, r12d
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], r12
mov byte [rbp - 1], r12b
mov qword [rbp + 7], r12
mov qword [rbp + 0xf], r12
lea ecx, [r12 + 0x48]
call fcn.14000edb4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 7], rax
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], r12
lea ecx, [r12 + 0x28]
call fcn.14000edb4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 0x17], rax
xor al, al
mov dword [rbp + 0x28], 0x10000
mov byte [rbp + 0x2c], al
mov dword [rbp + 0x2f], r12d
movzx eax, al
mov r13d, 1
cmp qword [rbp - 0x19], r12
cmove eax, r13d
mov byte [rbp + 0x27], al
mov qword [rbp + 0x77], r12
lea r8, [0x140012278]
mov rdx, r14
lea rcx, [rbp + 0x77]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rbx, qword [rbp + 0x77]
test rbx, rbx
je 0x1400050a6
xor edx, edx
lea r8d, [r12 + 2]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000509c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
test eax, eax
js 0x14000509c
jne 0x14000504c
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14000520c
movsxd rsi, eax
lea rcx, [rsi + 1]
lea rdx, [0x1400115fc]
call fcn.14000f110
mov rdi, rax
test rax, rax
je 0x14000509c
mov byte [rsi + rax], 0
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, rbx
mov r8, rsi
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rsi
je 0x1400051e1
mov rcx, rdi
call fcn.14000ecc8
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rdx, str.Failed_to_load_config_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001030
mov rcx, rax
mov rdx, r14
call fcn.140001030
mov rcx, rax
lea rdx, str._creating_new_one.
call fcn.140001030
lea rdx, [0x140001200]
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]
mov rdx, r14
mov rcx, r15
call fcn.1400058f0
movzx r14d, al
mov rcx, qword [rbp - 0x19]
call fcn.14000ecc8
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], r12
cmp qword [rbp + 0xf], 0
je 0x140005121
mov rdx, qword [rbp + 7]
mov r8, rdx
mov rdx, qword [rdx]
lea rcx, [rbp + 7]
call fcn.14000ac00
mov rdi, qword [rbp + 0x17]
cmp qword [rbp + 0x1f], 0
je 0x140005180
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140005149
mov rcx, qword [rbx + 0x10]
call fcn.14000ecc8
mov rbx, qword [rbx]
mov rdi, qword [rbp + 0x17]
cmp rbx, rdi
jne 0x140005134
mov rcx, qword [rdi]
cmp rcx, rdi
je 0x140005180
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov qword [rdi + 8], rax
mov rsi, r12
nop
mov rbx, qword [rcx]
mov edx, 0x28
call fcn.14000ecc8
mov rcx, rbx
inc rsi
cmp rbx, rdi
jne 0x140005160
sub qword [rbp + 0x1f], rsi
mov rdi, qword [rbp + 0x17]
mov rax, qword [rdi + 8]
mov qword [rax], r12
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400051a5
nop
mov rbx, qword [rcx]
mov edx, 0x28
call fcn.14000ecc8
mov rcx, rbx
test rbx, rbx
jne 0x140005190
mov edx, 0x28
mov rcx, qword [rbp + 0x17]
call fcn.14000ecc8
lea rcx, [rbp + 7]
call fcn.14000a630
movzx eax, r14b
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r8, rax
mov rdx, rdi
lea rcx, [rbp - 0x19]
call fcn.14000b270
mov ebx, eax
mov rcx, rdi
call fcn.14000ecc8
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
js 0x1400050a6
lea r14, str.Config
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 7]
call fcn.14000bf80
lea r8, [rbp - 0x49]
mov rdx, qword [rbp - 0x21]
call fcn.14000c050
mov rdx, qword [rbp + 7]
test al, al
cmovne rdx, qword [rbp - 0x21]
lea rdi, [0x1400116df]
cmp rdx, qword [rbp + 7]
jne 0x14000525a
mov rdx, rdi
jmp 0x140005291
lea rbx, [rdx + 0x38]
lea rax, [0x140011800]
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0x77]
mov rcx, rbx
call fcn.14000a4b0
mov rax, qword [rbp + 0x77]
cmp rax, qword [rbx]
mov rdx, rdi
je 0x140005291
mov rdx, qword [rax + 0x38]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400052a0
lea rcx, [r15 + 0xc0]
call fcn.140008940
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 7]
call fcn.14000bf80
lea r8, [rbp - 0x49]
mov rdx, qword [rbp - 0x21]
call fcn.14000c050
mov rdx, qword [rbp + 7]
test al, al
cmovne rdx, qword [rbp - 0x21]
cmp rdx, qword [rbp + 7]
jne 0x1400052f6
mov rdx, rdi
jmp 0x14000532d
lea rbx, [rdx + 0x38]
lea rax, str.AutoPick
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0x77]
mov rcx, rbx
call fcn.14000a4b0
mov rax, qword [rbp + 0x77]
cmp rax, qword [rbx]
mov rdx, rdi
je 0x14000532d
mov rdx, qword [rax + 0x38]
mov r8, rsi
inc r8
cmp byte [rdx + r8], 0
jne 0x140005330
lea rcx, [r15 + 0xe0]
call fcn.140008940
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 7]
call fcn.14000bf80
lea r8, [rbp - 0x49]
mov rdx, qword [rbp - 0x21]
call fcn.14000c050
mov rdx, qword [rbp + 7]
test al, al
cmovne rdx, qword [rbp - 0x21]
cmp rdx, qword [rbp + 7]
jne 0x140005386
mov rdx, rdi
jmp 0x1400053bd
lea rbx, [rdx + 0x38]
lea rax, str.GodMode
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0x77]
mov rcx, rbx
call fcn.14000a4b0
mov rax, qword [rbp + 0x77]
cmp rax, qword [rbx]
mov rdx, rdi
je 0x1400053bd
mov rdx, qword [rax + 0x38]
mov r8, rsi
inc r8
cmp byte [rdx + r8], 0
jne 0x1400053c0
lea rcx, [r15 + 0x100]
call fcn.140008940
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 7]
call fcn.14000bf80
lea r8, [rbp - 0x49]
mov rdx, qword [rbp - 0x21]
call fcn.14000c050
mov rdx, qword [rbp + 7]
test al, al
cmovne rdx, qword [rbp - 0x21]
cmp rdx, qword [rbp + 7]
jne 0x140005416
mov rdx, rdi
jmp 0x14000544d
lea rbx, [rdx + 0x38]
lea rax, str.NoCoolDown
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0x77]
mov rcx, rbx
call fcn.14000a4b0
mov rax, qword [rbp + 0x77]
cmp rax, qword [rbx]
mov rdx, rdi
je 0x14000544d
mov rdx, qword [rax + 0x38]
mov r8, rsi
inc r8
cmp byte [rdx + r8], 0
jne 0x140005450
lea rcx, [r15 + 0x120]
call fcn.140008940
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 7]
call fcn.14000bf80
lea r8, [rbp - 0x49]
mov rdx, qword [rbp - 0x21]
call fcn.14000c050
mov rdx, qword [rbp + 7]
test al, al
cmovne rdx, qword [rbp - 0x21]
cmp rdx, qword [rbp + 7]
jne 0x1400054a6
mov rdx, rdi
jmp 0x1400054dd
lea rbx, [rdx + 0x38]
lea rax, str.DamageHack
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0x77]
mov rcx, rbx
call fcn.14000a4b0
mov rax, qword [rbp + 0x77]
cmp rax, qword [rbx]
mov rdx, rdi
je 0x1400054dd
mov rdx, qword [rax + 0x38]
mov r8, rsi
inc r8
cmp byte [rdx + r8], 0
jne 0x1400054e0
lea rcx, [r15 + 0x140]
call fcn.140008940
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 7]
call fcn.14000bf80
lea r8, [rbp - 0x49]
mov rdx, qword [rbp - 0x21]
call fcn.14000c050
mov rdx, qword [rbp + 7]
test al, al
cmovne rdx, qword [rbp - 0x21]
cmp rdx, qword [rbp + 7]
jne 0x140005536
mov rdx, rdi
jmp 0x14000556d
lea rbx, [rdx + 0x38]
lea rax, str.KillAura_all
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0x77]
mov rcx, rbx
call fcn.14000a4b0
mov rax, qword [rbp + 0x77]
cmp rax, qword [rbx]
mov rdx, rdi
je 0x14000556d
mov rdx, qword [rax + 0x38]
mov r8, rsi
inc r8
cmp byte [rdx + r8], 0
jne 0x140005570
lea rcx, [r15 + 0x160]
call fcn.140008940
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 7]
call fcn.14000bf80
lea r8, [rbp - 0x49]
mov rdx, qword [rbp - 0x21]
call fcn.14000c050
mov rdx, qword [rbp + 7]
test al, al
cmovne rdx, qword [rbp - 0x21]
cmp rdx, qword [rbp + 7]
jne 0x1400055c6
mov rdx, rdi
jmp 0x1400055fd
lea rbx, [rdx + 0x38]
lea rax, str.KillAura_target
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0x77]
mov rcx, rbx
call fcn.14000a4b0
mov rax, qword [rbp + 0x77]
cmp rax, qword [rbx]
mov rdx, rdi
je 0x1400055fd
mov rdx, qword [rax + 0x38]
mov r8, rsi
inc r8
cmp byte [rdx + r8], 0
jne 0x140005600
lea rcx, [r15 + 0x180]
call fcn.140008940
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 7]
call fcn.14000bf80
lea r8, [rbp - 0x49]
mov rdx, qword [rbp - 0x21]
call fcn.14000c050
mov rdx, qword [rbp + 7]
test al, al
cmovne rdx, qword [rbp - 0x21]
cmp rdx, qword [rbp + 7]
jne 0x140005656
mov rdx, rdi
jmp 0x14000568d
lea rbx, [rdx + 0x38]
lea rax, str.AutoAbsorb
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0x77]
mov rcx, rbx
call fcn.14000a4b0
mov rax, qword [rbp + 0x77]
cmp rax, qword [rbx]
mov rdx, rdi
je 0x14000568d
mov rdx, qword [rax + 0x38]
mov r8, rsi
inc r8
cmp byte [rdx + r8], 0
jne 0x140005690
lea rcx, [r15 + 0x1a0]
call fcn.140008940
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 7]
call fcn.14000bf80
lea r8, [rbp - 0x49]
mov rdx, qword [rbp - 0x21]
call fcn.14000c050
mov rdx, qword [rbp + 7]
test al, al
cmovne rdx, qword [rbp - 0x21]
cmp rdx, qword [rbp + 7]
jne 0x1400056e6
mov rdx, rdi
jmp 0x14000571d
lea rbx, [rdx + 0x38]
lea rax, str.GameSpeed
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0x77]
mov rcx, rbx
call fcn.14000a4b0
mov rax, qword [rbp + 0x77]
cmp rax, qword [rbx]
mov rdx, rdi
je 0x14000571d
mov rdx, qword [rax + 0x38]
mov r8, rsi
inc r8
cmp byte [rdx + r8], 0
jne 0x140005720
lea rcx, [r15 + 0x1c0]
call fcn.140008940
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 7]
call fcn.14000bf80
lea r8, [rbp - 0x49]
mov rdx, qword [rbp - 0x21]
call fcn.14000c050
mov rdx, qword [rbp + 7]
test al, al
cmovne rdx, qword [rbp - 0x21]
cmp rdx, qword [rbp + 7]
jne 0x140005776
mov rdx, rdi
jmp 0x1400057ad
lea rbx, [rdx + 0x38]
lea rax, str.hellokittyfan48
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0x77]
mov rcx, rbx
call fcn.14000a4b0
mov rax, qword [rbp + 0x77]
cmp rax, qword [rbx]
mov rdx, rdi
je 0x1400057ad
mov rdx, qword [rax + 0x38]
mov r8, rsi
inc r8
cmp byte [rdx + r8], 0
jne 0x1400057b0
lea rcx, [r15 + 0x1e0]
call fcn.140008940
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 7]
call fcn.14000bf80
lea r8, [rbp - 0x49]
mov rdx, qword [rbp - 0x21]
call fcn.14000c050
mov rdx, qword [rbp + 7]
test al, al
cmovne rdx, qword [rbp - 0x21]
cmp rdx, qword [rbp + 7]
jne 0x140005806
mov rdx, rdi
jmp 0x14000583d
lea rbx, [rdx + 0x38]
lea rax, str.SkipStory
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0x77]
mov rcx, rbx
call fcn.14000a4b0
mov rax, qword [rbp + 0x77]
cmp rax, qword [rbx]
mov rdx, rdi
je 0x14000583d
mov rdx, qword [rax + 0x38]
mov r8, rsi
inc r8
cmp byte [rdx + r8], 0
jne 0x140005840
lea rcx, [r15 + 0x200]
call fcn.140008940
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 7]
call fcn.14000bf80
lea r8, [rbp - 0x49]
mov rdx, qword [rbp - 0x21]
call fcn.14000c050
mov rdx, qword [rbp + 7]
test al, al
cmovne rdx, qword [rbp - 0x21]
cmp rdx, qword [rbp + 7]
je 0x1400058c5
lea rbx, [rdx + 0x38]
lea rax, str.AutoLoot
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0x77]
mov rcx, rbx
call fcn.14000a4b0
mov rax, qword [rbp + 0x77]
cmp rax, qword [rbx]
je 0x1400058c5
mov rdi, qword [rax + 0x38]
inc rsi
cmp byte [rdi + rsi], 0
jne 0x1400058c5
lea rcx, [r15 + 0x220]
mov r8, rsi
mov rdx, rdi
call fcn.140008940
movzx r14d, r13b
jmp 0x1400050f2