Function at 0x140007740
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.14000f1b0
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x140007795
mov rdi, qword [rax]
mov ecx, 0x1fe
call fcn.140025334
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 0x1400077fc
mov r8d, esi
jmp 0x14000780a
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], si
jne 0x140007800
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14000c8c0
nop
movabs rdx, 0x7fffffffffffffff
mov rax, qword [rbp - 0x68]
cmp rax, 8
jb 0x14000788b
inc rax
mov rcx, qword [rbp - 0x80]
cmp rax, rdx
jbe 0x14000783e
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 0x140007886
test byte [rbp - 0x80], 0x1f
je 0x140007856
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 0x140007866
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 0x140007876
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140007883
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140025020
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.14000f300
mov byte [0x14003a074], al
xor r8d, r8d
lea rdx, str.ShowHWCaptureBar
call fcn.14000f300
mov byte [0x14003c068], al
xor r8d, r8d
lea rdx, str.ShowTearingBar
call fcn.14000f300
mov byte [0x14003c069], al
xor r8d, r8d
lea rdx, str.ShowFrontBufferRenderingBar
call fcn.14000f300
mov byte [0x14003c06a], al
mov r9, r15
xor r8d, r8d
lea rdx, str.CaptureOnLaunchDurationInSeconds
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x14003c070], eax
xor r8d, r8d
lea rdx, str.EnableBeep
call fcn.14000f300
mov byte [0x14003c06b], al
mov r8b, 1
lea rdx, str.EnableOverlay
call fcn.14000f300
mov byte [0x14003c06c], al
mov r8b, 1
lea rdx, str.SingletonPresentMon
call fcn.14000f300
mov byte [0x14003c06d], al
xor r8d, r8d
lea rdx, str.StopBenchmarkingChecked
call fcn.14000f300
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.140025334
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 0x140007d45
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 0x140007a50
mov rdx, r12
lea rcx, [rbp - 0x50]
call fcn.14000c8c0
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 0x140007acc
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 0x140007ab2
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x10]
call fcn.14000bfc0
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.14000c8c0
nop
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.14000be00
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 0x140007b4e
mov rax, qword [rax]
mov r9, qword [rsp + 0x50]
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000d870
mov r14d, eax
mov rax, qword [rsp + 0x78]
movabs r15, 0x7fffffffffffffff
cmp rax, 8
jb 0x140007be2
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, r15
jbe 0x140007b8a
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 0x140007bd3
test byte [rsp + 0x60], 0x1f
je 0x140007ba3
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 0x140007bb3
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 0x140007bc3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140007bd0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140025020
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 0x140007c5c
lea rax, [rdi + 1]
cmp rax, r15
jbe 0x140007c0b
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 0x140007c54
test byte [rsp + 0x40], 0x1f
je 0x140007c24
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 0x140007c34
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 0x140007c44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rbx, 0x27
jbe 0x140007c51
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.140025020
test r14d, r14d
jne 0x140007c9e
or r9, 0xffffffffffffffff
lea r8d, [r14 + 2]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.14000be00
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14000be40
lea rcx, [rsp + 0x60]
call fcn.140005a30
lea rdx, [0x140006e30]
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.14000d2c0
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.14000bf40
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 0x140007d3e
inc rax
mov rcx, qword [rbp - 0x50]
cmp rax, r15
jbe 0x140007cf1
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 0x140007d39
test byte [rbp - 0x50], 0x1f
je 0x140007d09
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 0x140007d19
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 0x140007d29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140007d36
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140025020
lea r15, [0x14002af08]
mov rcx, r12
call fcn.140024d08
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.14000f300
movzx r9d, al
mov r8d, 0x10
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x54]
call fcn.14000bd20
nop
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
cmp rdx, 0x13
jb 0x140007e0e
call fcn.14000ce60
int3
mov rax, rdx
shr rax, 5
and edx, 0x1f
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
test r9b, r9b
je 0x140007e28
bts eax, edx
jmp 0x140007e2b
btr eax, edx
mov dword [rcx], eax
mov r8b, 1
lea rdx, str.95PercentilesEnabled
call fcn.14000f300
movzx r9d, al
mov r8d, 0x11
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x54]
call fcn.14000bd20
nop
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
cmp rdx, 0x13
jb 0x140007e67
call fcn.14000ce60
int3
mov rax, rdx
shr rax, 5
and edx, 0x1f
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
test r9b, r9b
je 0x140007e81
bts eax, edx
jmp 0x140007e84
btr eax, edx
mov dword [rcx], eax
mov r8b, 1
lea rdx, str.99PercentilesEnabled
call fcn.14000f300
movzx r9d, al
mov r8d, 0x12
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x54]
call fcn.14000bd20
nop
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
cmp rdx, 0x13
jb 0x140007ec0
call fcn.14000ce60
int3
mov rax, rdx
shr rax, 5
and edx, 0x1f
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
test r9b, r9b
je 0x140007eda
bts eax, edx
jmp 0x140007edd
btr eax, edx
mov dword [rcx], eax
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea rcx, [0x14003c0a8]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [rsp + 0x30]
mov dword [0x14003c8a8], eax
mov eax, dword [rsp + 0x34]
mov dword [0x14003c048], eax
mov eax, dword [rsp + 0x38]
mov dword [0x14003c04c], eax
mov eax, dword [rbp - 0x58]
mov dword [0x14003c050], eax
mov dword [0x14003c054], ebx
mov dword [0x14003c058], edi
mov dword [0x14003c05c], r14d
mov dword [0x14003c060], r15d
mov ecx, dword [rbp - 0x54]
mov dword [0x14003c064], ecx
test r13b, r13b
cmovne esi, dword [rsp + 0x3c]
mov dword [0x14003c044], esi
call fcn.140007330
nop
mov rax, qword [rbp - 0x18]
cmp rax, 8
jb 0x140007fcc
inc rax
mov rcx, qword [rbp - 0x30]
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
jbe 0x140007f7f
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 0x140007fc7
test byte [rbp - 0x30], 0x1f
je 0x140007f97
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 0x140007fa7
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 0x140007fb7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140007fc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140025020
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140024b60
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