Function at 0x1800032c0
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r14
push r15
sub rsp, 0xb0
mov rax, qword [0x18005a030]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor r14d, r14d
cmp byte [0x18005b058], r14b
jne 0x1800038c7
movzx eax, byte [0x18005b020]
mov r15d, 1
cmp qword [0x18005afe0], r14
cmove eax, r15d
mov byte [0x18005b020], al
mov qword [r11 - 0x28], r14
lea r8, [0x18002ed04]
lea rdx, str.addons_arcdps_arcdps_fastload.ini
lea rcx, [r11 - 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rbx, qword [rsp + 0x90]
test rbx, rbx
jne 0x18000334e
lea ebx, [r14 - 3]
jmp 0x180003401
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
je 0x18000336b
mov ebx, 0xfffffffd
jmp 0x1800033f3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
test eax, eax
jns 0x18000337f
mov ebx, 0xfffffffd
jmp 0x1800033f3
jne 0x180003386
mov ebx, r14d
jmp 0x1800033f3
movsxd rsi, eax
lea rcx, [rsi + 1]
lea rdx, [0x18002e5a1]
call fcn.18002c280
mov rdi, rax
test rax, rax
jne 0x1800033a6
lea ebx, [rax - 2]
jmp 0x1800033f3
mov byte [rsi + rax], r14b
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, r15
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rsi
je 0x1800033de
mov rcx, rdi
call fcn.18002baa0
mov ebx, 0xfffffffd
jmp 0x1800033f3
mov r8, rax
mov rdx, rdi
call fcn.180008510
mov ebx, eax
mov rcx, rdi
call fcn.18002baa0
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, ebx
shr ecx, 0x1f
xor cl, r15b
mov byte [0x18005af41], cl
jne 0x1800034f8
cmp ebx, 0xfffffffd
jne 0x180003429
call fcn.180003c60
jmp 0x1800038c7
mov dword [rsp + 0x38], ebx
movabs rax, 0x1000000000000000
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x90], xmm0
lea rax, str._Fastload__parseIni:_ini_file_failed_to_parse_error_code_0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x3c
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.180007980
nop
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
cmovae rax, rcx
mov r8, qword [0x18005af60]
test r8, r8
je 0x1800034b9
mov rcx, rax
call r8
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1800038c7
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800034ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800034ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18002baa0
jmp 0x1800038c7
lea r9, [0x18002e890]
lea r8, str.enabled
call fcn.180005de0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180004320
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rsi, rax
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rbx, qword [rsp + 0x30]
mov dword [rax], r14d
mov r8d, 0xa
lea rdx, [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov edi, eax
cmp rbx, qword [rsp + 0x90]
jne 0x180003566
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [rsi], 0x22
jne 0x180003579
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1800035b9
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800035b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800035b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18002baa0
movdqa xmm0, xmmword [0x180053990]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
cmp edi, 1
jbe 0x1800035ea
mov rax, qword [0x18005af60]
test rax, rax
je 0x1800035e6
lea rcx, str._Fastload__parseIni_____general_____enabled:_only_values_of_0_or_1_are_supported_for_this_value__setting_to_default_1
call rax
mov al, 1
jmp 0x1800035ef
test edi, edi
setne al
mov byte [0x18005a058], al
lea r9, str.2500
lea r8, str.timeout
call fcn.180005de0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180004320
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rsi, rax
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rbx, qword [rsp + 0x30]
mov dword [rax], r14d
mov r8d, 0xa
lea rdx, [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov edi, eax
cmp rbx, qword [rsp + 0x90]
jne 0x180003663
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [rsi], 0x22
jne 0x180003676
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1800036b6
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800036b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800036b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18002baa0
movdqa xmm0, xmmword [0x180053990]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea eax, [rdi - 0x64]
cmp eax, 0xe9fc
jbe 0x1800036ed
mov rax, qword [0x18005af60]
test rax, rax
je 0x1800036e8
lea rcx, str._Fastload__parseIni_____general_____timeout:_only_values_between_100_and_60000_are_supported_for_this_value__setting_to_default_2500
call rax
mov edi, 0x9c4
mov dword [0x18005a054], edi
lea r9, [0x18002e9c8]
lea r8, str.togglekey
call fcn.180005de0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180004320
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rsi, rax
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rbx, qword [rsp + 0x30]
mov dword [rax], r14d
mov r8d, 0xa
lea rdx, [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov edi, eax
cmp rbx, qword [rsp + 0x90]
jne 0x180003761
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [rsi], 0x22
jne 0x180003774
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1800037b4
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800037af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800037af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18002baa0
movdqa xmm0, xmmword [0x180053990]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea eax, [rdi - 1]
cmp eax, 0xfd
jbe 0x1800037eb
mov rax, qword [0x18005af60]
test rax, rax
je 0x1800037e6
lea rcx, str._Fastload__parseIni_____general_____togglekey:_only_values_between_1_and_254_are_supported_for_this_value__setting_to_default_70
call rax
mov edi, 0x46
mov dword [0x18005a050], edi
lea r9, [0x18002ea64]
lea r8, str.play_sound
call fcn.180005de0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.180004320
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rsi, rax
lea rbx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rbx, qword [rsp + 0x60]
mov dword [rax], r14d
mov r8d, 0xa
lea rdx, [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov edi, eax
cmp rbx, qword [rsp + 0x90]
jne 0x18000385f
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [rsi], 0x22
jne 0x180003872
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1800038b2
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800038ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800038ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18002baa0
cmp edi, 1
ja 0x1800038c0
test edi, edi
setne byte [0x18005af42]
mov byte [0x18005b058], 1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.18002ba80
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret