Function at 0x1400073c0
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x200
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14001e008]
xor rax, rsp
mov qword [rbp + 0xf0], rax
lea rcx, [rbp - 0x80]
call fcn.14000f220
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x140007415
mov rdi, qword [rax]
mov ecx, 0x1fe
call fcn.140011d84
mov rbx, rax
xor edx, edx
mov r8d, 0x1fe
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r15, str..Settings.ini
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0xff
mov r9, rbx
mov r8, rdi
lea rdx, str.BenchmarkDirectory
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov qword [rbp - 0x18], 7
xor esi, esi
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
cmp word [rbx], si
jne 0x14000747c
mov r8d, esi
jmp 0x14000748a
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], si
jne 0x140007480
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14000cae0
nop
movabs rdx, 0x7fffffffffffffff
mov rax, qword [rbp - 0x68]
cmp rax, 8
jb 0x14000750b
inc rax
mov rcx, qword [rbp - 0x80]
cmp rax, rdx
jbe 0x1400074be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
add rax, rax
cmp rax, 0x1000
jb 0x140007506
test byte [rbp - 0x80], 0x1f
je 0x1400074d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400074e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400074f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140007503
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140011a78
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rsi
mov word [rbp - 0x80], si
mov r9, r15
mov r8d, 0x79
lea rdx, str.BenchmarkingHotkey
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x30], eax
mov r8b, 1
lea rdx, str.IsHotkeyEnabled
call fcn.14000f3b0
mov byte [0x14001e06c], al
xor r8d, r8d
lea rdx, str.ShowHWCaptureBar
call fcn.14000f3b0
mov byte [0x14001f6e8], al
xor r8d, r8d
lea rdx, str.ShowTearingBar
call fcn.14000f3b0
mov byte [0x14001f6e9], al
xor r8d, r8d
lea rdx, str.ShowFrontBufferRenderingBar
call fcn.14000f3b0
mov byte [0x14001f6ea], al
mov r9, r15
xor r8d, r8d
lea rdx, str.CaptureOnLaunchDurationInSeconds
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x14001f6f0], eax
xor r8d, r8d
lea rdx, str.EnableBeep
call fcn.14000f3b0
mov byte [0x14001f6eb], al
mov r8b, 1
lea rdx, str.EnableOverlay
call fcn.14000f3b0
mov byte [0x14001f6ec], al
mov r8b, 1
lea rdx, str.SingletonPresentMon
call fcn.14000f3b0
mov byte [0x14001f6ed], al
xor r8d, r8d
lea rdx, str.StopBenchmarkingChecked
call fcn.14000f3b0
movzx r13d, al
mov r9, r15
mov r8d, 0x3c
lea rdx, str.BenchmarkingTime
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x3c], eax
mov r9, r15
xor r8d, r8d
lea rdx, str.CaptureDelay
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x34], eax
mov r9, r15
xor r8d, r8d
lea rdx, str.CaptureDuration
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x38], eax
mov dword [rbp - 0x58], 0x3483
mov ecx, 0x1fe
call fcn.140011d84
mov r12, rax
xor edx, edx
mov r8d, 0x1fe
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0xff
mov r9, r12
xor r8d, r8d
lea rdx, str.FPSOverlayDispMode
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [r12], 0
je 0x1400079c5
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rsi
mov word [rbp - 0x50], si
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [r12 + r8*2], 0
jne 0x1400076d0
mov rdx, r12
lea rcx, [rbp - 0x50]
call fcn.14000cae0
nop
lea rbx, [rbp - 0x50]
mov r8, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
cmovae rbx, r8
lea rcx, [rbp - 0x50]
cmovae rcx, r8
mov rax, qword [rbp - 0x40]
lea rax, [rcx + rax*2]
lea r15, [rbp - 0x50]
cmovae r15, r8
mov rdi, rsi
mov r14, rax
sub r14, r15
inc r14
shr r14, 1
cmp r15, rax
cmova r14, rsi
test r14, r14
je 0x14000774c
sub r15, rbx
movzx ecx, word [rbx + r15]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov word [rbx], ax
lea rbx, [rbx + 2]
inc rdi
cmp rdi, r14
jne 0x140007732
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x10]
call fcn.14000c2a0
nop
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
mov r8d, 2
lea rdx, [0x1400168a8]
lea rcx, [rsp + 0x40]
call fcn.14000cae0
nop
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.14000c0e0
lea r8, [rsp + 0x40]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
cmp rdi, 8
cmovae r8, rbx
lea rdx, [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400077ce
mov rax, qword [rax]
mov r9, qword [rsp + 0x50]
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000db60
mov r14d, eax
mov rax, qword [rsp + 0x78]
movabs r15, 0x7fffffffffffffff
cmp rax, 8
jb 0x140007862
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, r15
jbe 0x14000780a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
add rax, rax
cmp rax, 0x1000
jb 0x140007853
test byte [rsp + 0x60], 0x1f
je 0x140007823
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140007833
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x140007843
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140007850
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140011a78
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
cmp rdi, 8
jb 0x1400078dc
lea rax, [rdi + 1]
cmp rax, r15
jbe 0x14000788b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
add rax, rax
cmp rax, 0x1000
jb 0x1400078d4
test byte [rsp + 0x40], 0x1f
je 0x1400078a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rbx - 8]
cmp rax, rbx
jb 0x1400078b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rbx, rax
cmp rbx, 8
jae 0x1400078c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rbx, 0x27
jbe 0x1400078d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rbx, rax
mov rcx, rbx
call fcn.140011a78
test r14d, r14d
jne 0x14000791e
or r9, 0xffffffffffffffff
lea r8d, [r14 + 2]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.14000c0e0
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14000c120
lea rcx, [rsp + 0x60]
call fcn.140005800
lea rdx, [0x140006ad0]
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
lea rdx, [rbp - 0x50]
lea rcx, [rbp]
call fcn.14000d5c0
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64____ptr64]
nop
lea rcx, [rbp + 0x88]
call fcn.14000c220
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
mov rax, qword [rbp - 0x38]
cmp rax, 8
jb 0x1400079be
inc rax
mov rcx, qword [rbp - 0x50]
cmp rax, r15
jbe 0x140007971
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
add rax, rax
cmp rax, 0x1000
jb 0x1400079b9
test byte [rbp - 0x50], 0x1f
je 0x140007989
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140007999
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400079a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1400079b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140011a78
lea r15, str..Settings.ini
mov rcx, r12
call fcn.140011760
and dword [rbp - 0x58], 0xfffffcf7
mov r9, r15
mov r8d, 0x64
lea rdx, str.AvgFPSRollingWindowMS
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov r9, r15
mov r8d, 0x3e8
lea rdx, str.PercentileRollingWindowMS
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov r9, r15
mov r8d, 0x64
lea rdx, str.FPSOverlayUpdateRateMS
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r14d, eax
mov r9, r15
xor r8d, r8d
lea rdx, str.OverlayPos
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r15d, eax
xor eax, eax
mov dword [rbp - 0x54], eax
mov r8b, 1
lea rdx, str.90PercentilesEnabled
call fcn.14000f3b0
movzx r9d, al
mov r8d, 0x10
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x54]
call fcn.14000bed0
nop
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
cmp rdx, 0x13
jb 0x140007a96
lea rcx, str.invalid_bitset_N__position
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov rax, rdx
shr rax, 5
and edx, 0x1f
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
test r9b, r9b
je 0x140007ab0
bts eax, edx
jmp 0x140007ab3
btr eax, edx
mov dword [rcx], eax
mov r8b, 1
lea rdx, str.95PercentilesEnabled
call fcn.14000f3b0
movzx r9d, al
mov r8d, 0x11
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x54]
call fcn.14000bed0
nop
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
cmp rdx, 0x13
jb 0x140007af7
lea rcx, str.invalid_bitset_N__position
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov rax, rdx
shr rax, 5
and edx, 0x1f
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
test r9b, r9b
je 0x140007b11
bts eax, edx
jmp 0x140007b14
btr eax, edx
mov dword [rcx], eax
mov r8b, 1
lea rdx, str.99PercentilesEnabled
call fcn.14000f3b0
movzx r9d, al
mov r8d, 0x12
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x54]
call fcn.14000bed0
nop
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
cmp rdx, 0x13
jb 0x140007b58
lea rcx, str.invalid_bitset_N__position
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov rax, rdx
shr rax, 5
and edx, 0x1f
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
test r9b, r9b
je 0x140007b72
bts eax, edx
jmp 0x140007b75
btr eax, edx
mov dword [rcx], eax
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea rcx, [0x14001f728]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [rsp + 0x30]
mov dword [0x14001ff28], eax
mov eax, dword [rsp + 0x34]
mov dword [0x14001f6c8], eax
mov eax, dword [rsp + 0x38]
mov dword [0x14001f6cc], eax
mov eax, dword [rbp - 0x58]
mov dword [0x14001f6d0], eax
mov dword [0x14001f6d4], ebx
mov dword [0x14001f6d8], edi
mov dword [0x14001f6dc], r14d
mov dword [0x14001f6e0], r15d
mov ecx, dword [rbp - 0x54]
mov dword [0x14001f6e4], ecx
test r13b, r13b
cmovne esi, dword [rsp + 0x3c]
mov dword [0x14001f6c4], esi
call fcn.140006fb0
nop
mov rax, qword [rbp - 0x18]
cmp rax, 8
jb 0x140007c64
inc rax
mov rcx, qword [rbp - 0x30]
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
jbe 0x140007c17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
add rax, rax
cmp rax, 0x1000
jb 0x140007c5f
test byte [rbp - 0x30], 0x1f
je 0x140007c2f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140007c3f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x140007c4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140007c5c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140011a78
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1400115c0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret