Function at 0x1400077a0
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 [0x14003a008]
xor rax, rsp
mov qword [rbp + 0xf0], rax
lea rcx, [rbp - 0x80]
call fcn.14000f210
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x1400077f5
mov rdi, qword [rax]
mov ecx, 0x1fe
call fcn.140025364
mov rbx, rax
xor edx, edx
mov r8d, 0x1fe
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r15, [0x14002af08]
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 0x14000785c
mov r8d, esi
jmp 0x14000786a
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], si
jne 0x140007860
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14000c920
nop
movabs rdx, 0x7fffffffffffffff
mov rax, qword [rbp - 0x68]
cmp rax, 8
jb 0x1400078eb
inc rax
mov rcx, qword [rbp - 0x80]
cmp rax, rdx
jbe 0x14000789e
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 0x1400078e6
test byte [rbp - 0x80], 0x1f
je 0x1400078b6
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 0x1400078c6
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 0x1400078d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1400078e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140025050
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.14000f360
mov byte [0x14003a044], al
xor r8d, r8d
lea rdx, str.ShowHWCaptureBar
call fcn.14000f360
mov byte [0x14003bc58], al
xor r8d, r8d
lea rdx, str.ShowTearingBar
call fcn.14000f360
mov byte [0x14003bc59], al
xor r8d, r8d
lea rdx, str.ShowFrontBufferRenderingBar
call fcn.14000f360
mov byte [0x14003bc5a], al
mov r9, r15
xor r8d, r8d
lea rdx, str.CaptureOnLaunchDurationInSeconds
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x14003bc60], eax
xor r8d, r8d
lea rdx, str.EnableBeep
call fcn.14000f360
mov byte [0x14003bc5b], al
mov r8b, 1
lea rdx, str.EnableOverlay
call fcn.14000f360
mov byte [0x14003bc5c], al
mov r8b, 1
lea rdx, str.SingletonPresentMon
call fcn.14000f360
mov byte [0x14003bc5d], al
xor r8d, r8d
lea rdx, str.StopBenchmarkingChecked
call fcn.14000f360
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.140025364
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 0x140007da5
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 0x140007ab0
mov rdx, r12
lea rcx, [rbp - 0x50]
call fcn.14000c920
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 0x140007b2c
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 0x140007b12
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x10]
call fcn.14000c020
nop
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
mov r8d, 2
lea rdx, [0x14002abd8]
lea rcx, [rsp + 0x40]
call fcn.14000c920
nop
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.14000be60
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 0x140007bae
mov rax, qword [rax]
mov r9, qword [rsp + 0x50]
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000d8d0
mov r14d, eax
mov rax, qword [rsp + 0x78]
movabs r15, 0x7fffffffffffffff
cmp rax, 8
jb 0x140007c42
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, r15
jbe 0x140007bea
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 0x140007c33
test byte [rsp + 0x60], 0x1f
je 0x140007c03
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 0x140007c13
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 0x140007c23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140007c30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140025050
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 0x140007cbc
lea rax, [rdi + 1]
cmp rax, r15
jbe 0x140007c6b
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 0x140007cb4
test byte [rsp + 0x40], 0x1f
je 0x140007c84
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 0x140007c94
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 0x140007ca4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rbx, 0x27
jbe 0x140007cb1
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.140025050
test r14d, r14d
jne 0x140007cfe
or r9, 0xffffffffffffffff
lea r8d, [r14 + 2]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.14000be60
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14000bea0
lea rcx, [rsp + 0x60]
call fcn.140005a90
lea rdx, [0x140006e90]
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.14000d320
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.14000bfa0
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 0x140007d9e
inc rax
mov rcx, qword [rbp - 0x50]
cmp rax, r15
jbe 0x140007d51
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 0x140007d99
test byte [rbp - 0x50], 0x1f
je 0x140007d69
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 0x140007d79
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 0x140007d89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140007d96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140025050
lea r15, [0x14002af08]
mov rcx, r12
call fcn.140024d38
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.14000f360
movzx r9d, al
mov r8d, 0x10
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x54]
call fcn.14000bd80
nop
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
cmp rdx, 0x13
jb 0x140007e6e
call fcn.14000cec0
int3
mov rax, rdx
shr rax, 5
and edx, 0x1f
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
test r9b, r9b
je 0x140007e88
bts eax, edx
jmp 0x140007e8b
btr eax, edx
mov dword [rcx], eax
mov r8b, 1
lea rdx, str.95PercentilesEnabled
call fcn.14000f360
movzx r9d, al
mov r8d, 0x11
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x54]
call fcn.14000bd80
nop
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
cmp rdx, 0x13
jb 0x140007ec7
call fcn.14000cec0
int3
mov rax, rdx
shr rax, 5
and edx, 0x1f
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
test r9b, r9b
je 0x140007ee1
bts eax, edx
jmp 0x140007ee4
btr eax, edx
mov dword [rcx], eax
mov r8b, 1
lea rdx, str.99PercentilesEnabled
call fcn.14000f360
movzx r9d, al
mov r8d, 0x12
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x54]
call fcn.14000bd80
nop
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
cmp rdx, 0x13
jb 0x140007f20
call fcn.14000cec0
int3
mov rax, rdx
shr rax, 5
and edx, 0x1f
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
test r9b, r9b
je 0x140007f3a
bts eax, edx
jmp 0x140007f3d
btr eax, edx
mov dword [rcx], eax
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea rcx, [0x14003bc98]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [rsp + 0x30]
mov dword [0x14003c498], eax
mov eax, dword [rsp + 0x34]
mov dword [0x14003bc38], eax
mov eax, dword [rsp + 0x38]
mov dword [0x14003bc3c], eax
mov eax, dword [rbp - 0x58]
mov dword [0x14003bc40], eax
mov dword [0x14003bc44], ebx
mov dword [0x14003bc48], edi
mov dword [0x14003bc4c], r14d
mov dword [0x14003bc50], r15d
mov ecx, dword [rbp - 0x54]
mov dword [0x14003bc54], ecx
test r13b, r13b
cmovne esi, dword [rsp + 0x3c]
mov dword [0x14003bc34], esi
call fcn.140007390
nop
mov rax, qword [rbp - 0x18]
cmp rax, 8
jb 0x14000802c
inc rax
mov rcx, qword [rbp - 0x30]
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
jbe 0x140007fdf
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 0x140008027
test byte [rbp - 0x30], 0x1f
je 0x140007ff7
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 0x140008007
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 0x140008017
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140008024
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140025050
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140024b90
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