Function at 0x140007580
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.14000eff0
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x1400075d5
mov rdi, qword [rax]
mov ecx, 0x1fe
call fcn.140025144
mov rbx, rax
xor edx, edx
mov r8d, 0x1fe
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r15, [0x14002ac68]
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 0x14000763c
mov r8d, esi
jmp 0x14000764a
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], si
jne 0x140007640
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14000c700
nop
movabs rdx, 0x7fffffffffffffff
mov rax, qword [rbp - 0x68]
cmp rax, 8
jb 0x1400076cb
inc rax
mov rcx, qword [rbp - 0x80]
cmp rax, rdx
jbe 0x14000767e
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 0x1400076c6
test byte [rbp - 0x80], 0x1f
je 0x140007696
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 0x1400076a6
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 0x1400076b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1400076c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140024e30
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.14000f140
mov byte [0x14003a044], al
xor r8d, r8d
lea rdx, str.ShowHWCaptureBar
call fcn.14000f140
mov byte [0x14003bc78], al
xor r8d, r8d
lea rdx, str.ShowTearingBar
call fcn.14000f140
mov byte [0x14003bc79], al
xor r8d, r8d
lea rdx, str.ShowFrontBufferRenderingBar
call fcn.14000f140
mov byte [0x14003bc7a], al
mov r9, r15
xor r8d, r8d
lea rdx, str.CaptureOnLaunchDurationInSeconds
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x14003bc80], eax
xor r8d, r8d
lea rdx, str.EnableBeep
call fcn.14000f140
mov byte [0x14003bc7b], al
mov r8b, 1
lea rdx, str.EnableOverlay
call fcn.14000f140
mov byte [0x14003bc7c], al
mov r8b, 1
lea rdx, str.SingletonPresentMon
call fcn.14000f140
mov byte [0x14003bc7d], al
xor r8d, r8d
lea rdx, str.StopBenchmarkingChecked
call fcn.14000f140
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.140025144
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 0x140007b85
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 0x140007890
mov rdx, r12
lea rcx, [rbp - 0x50]
call fcn.14000c700
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 0x14000790c
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 0x1400078f2
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x10]
call fcn.14000be00
nop
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
mov r8d, 2
lea rdx, [0x14002a938]
lea rcx, [rsp + 0x40]
call fcn.14000c700
nop
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.14000bc40
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 0x14000798e
mov rax, qword [rax]
mov r9, qword [rsp + 0x50]
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000d6b0
mov r14d, eax
mov rax, qword [rsp + 0x78]
movabs r15, 0x7fffffffffffffff
cmp rax, 8
jb 0x140007a22
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, r15
jbe 0x1400079ca
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 0x140007a13
test byte [rsp + 0x60], 0x1f
je 0x1400079e3
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 0x1400079f3
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 0x140007a03
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140007a10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140024e30
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 0x140007a9c
lea rax, [rdi + 1]
cmp rax, r15
jbe 0x140007a4b
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 0x140007a94
test byte [rsp + 0x40], 0x1f
je 0x140007a64
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 0x140007a74
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 0x140007a84
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rbx, 0x27
jbe 0x140007a91
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.140024e30
test r14d, r14d
jne 0x140007ade
or r9, 0xffffffffffffffff
lea r8d, [r14 + 2]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.14000bc40
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14000bc80
lea rcx, [rsp + 0x60]
call fcn.140005870
lea rdx, [0x140006c70]
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.14000d100
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.14000bd80
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 0x140007b7e
inc rax
mov rcx, qword [rbp - 0x50]
cmp rax, r15
jbe 0x140007b31
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 0x140007b79
test byte [rbp - 0x50], 0x1f
je 0x140007b49
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 0x140007b59
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 0x140007b69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140007b76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140024e30
lea r15, [0x14002ac68]
mov rcx, r12
call fcn.140024e38
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.14000f140
movzx r9d, al
mov r8d, 0x10
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x54]
call fcn.14000bb60
nop
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
cmp rdx, 0x13
jb 0x140007c4e
call fcn.14000cca0
int3
mov rax, rdx
shr rax, 5
and edx, 0x1f
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
test r9b, r9b
je 0x140007c68
bts eax, edx
jmp 0x140007c6b
btr eax, edx
mov dword [rcx], eax
mov r8b, 1
lea rdx, str.95PercentilesEnabled
call fcn.14000f140
movzx r9d, al
mov r8d, 0x11
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x54]
call fcn.14000bb60
nop
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
cmp rdx, 0x13
jb 0x140007ca7
call fcn.14000cca0
int3
mov rax, rdx
shr rax, 5
and edx, 0x1f
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
test r9b, r9b
je 0x140007cc1
bts eax, edx
jmp 0x140007cc4
btr eax, edx
mov dword [rcx], eax
mov r8b, 1
lea rdx, str.99PercentilesEnabled
call fcn.14000f140
movzx r9d, al
mov r8d, 0x12
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x54]
call fcn.14000bb60
nop
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
cmp rdx, 0x13
jb 0x140007d00
call fcn.14000cca0
int3
mov rax, rdx
shr rax, 5
and edx, 0x1f
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
test r9b, r9b
je 0x140007d1a
bts eax, edx
jmp 0x140007d1d
btr eax, edx
mov dword [rcx], eax
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea rcx, [0x14003bcb8]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [rsp + 0x30]
mov dword [0x14003c4b8], eax
mov eax, dword [rsp + 0x34]
mov dword [0x14003bc58], eax
mov eax, dword [rsp + 0x38]
mov dword [0x14003bc5c], eax
mov eax, dword [rbp - 0x58]
mov dword [0x14003bc60], eax
mov dword [0x14003bc64], ebx
mov dword [0x14003bc68], edi
mov dword [0x14003bc6c], r14d
mov dword [0x14003bc70], r15d
mov ecx, dword [rbp - 0x54]
mov dword [0x14003bc74], ecx
test r13b, r13b
cmovne esi, dword [rsp + 0x3c]
mov dword [0x14003bc54], esi
call fcn.140007170
nop
mov rax, qword [rbp - 0x18]
cmp rax, 8
jb 0x140007e0c
inc rax
mov rcx, qword [rbp - 0x30]
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
jbe 0x140007dbf
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 0x140007e07
test byte [rbp - 0x30], 0x1f
je 0x140007dd7
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 0x140007de7
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 0x140007df7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140007e04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140024e30
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140024970
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