Function at 0x140008f50
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x210
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400d3008]
xor rax, rsp
mov qword [rbp + 0x100], rax
lea rcx, [rbp - 0x78]
call fcn.140017e00
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x140008fa5
mov rdi, qword [rax]
mov ecx, 0x1fe
call fcn.14002e2e4
mov rbx, rax
xor edx, edx
mov r8d, 0x1fe
mov rcx, rax
call fcn.140051840
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 - 0x10], 7
xor edi, edi
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
cmp word [rbx], di
jne 0x14000900c
mov r8d, edi
jmp 0x14000901a
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], di
jne 0x140009010
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.1400108b0
nop
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x140009041
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.1400062d0
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rdi
mov word [rbp - 0x78], di
mov r9, r15
mov r8d, 0x79
lea rdx, str.BenchmarkingHotkey
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x34], eax
mov r8b, 1
lea rdx, str.IsHotkeyEnabled
call fcn.140017ee0
mov byte [0x1400d3cc4], al
xor r8d, r8d
lea rdx, str.ShowHWCaptureBar
call fcn.140017ee0
mov byte [0x1400d9548], al
xor r8d, r8d
lea rdx, str.ShowTearingBar
call fcn.140017ee0
mov byte [0x1400d9549], al
xor r8d, r8d
lea rdx, str.ShowFrontBufferRenderingBar
call fcn.140017ee0
mov byte [0x1400d954a], al
mov r9, r15
xor r8d, r8d
lea rdx, str.CaptureOnLaunchDurationInSeconds
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x1400d9550], eax
mov r8b, 1
lea rdx, str.EnableBeep
call fcn.140017ee0
mov byte [0x1400d954b], al
mov r8b, 1
lea rdx, str.EnableOverlay
call fcn.140017ee0
mov byte [0x1400d954c], al
mov r8b, 1
lea rdx, str.SingletonPresentMon
call fcn.140017ee0
mov byte [0x1400d954d], al
xor r8d, r8d
lea rdx, str.StopBenchmarkingChecked
call fcn.140017ee0
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 + 0x40], 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 + 0x38], 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 + 0x3c], eax
mov ebx, 0x481
mov dword [rsp + 0x30], ebx
mov ecx, 0x1fe
call fcn.14002e2e4
mov r12, rax
xor edx, edx
mov r8d, 0x1fe
mov rcx, rax
call fcn.140051840
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 0x140009460
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rdi
mov word [rbp - 0x48], di
or r8, 0xffffffffffffffff
inc r8
cmp word [r12 + r8*2], 0
jne 0x140009202
mov rdx, r12
lea rcx, [rbp - 0x48]
call fcn.1400108b0
nop
lea rbx, [rbp - 0x48]
mov r8, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
cmovae rbx, r8
lea rcx, [rbp - 0x48]
cmovae rcx, r8
mov rax, qword [rbp - 0x38]
lea rax, [rcx + rax*2]
lea r15, [rbp - 0x48]
cmovae r15, r8
mov rsi, rdi
mov r14, rax
sub r14, r15
inc r14
shr r14, 1
cmp r15, rax
cmova r14, rdi
test r14, r14
je 0x14000927d
sub r15, rbx
movzx ecx, word [r15 + rbx]
call fcn.14005b428
mov word [rbx], ax
lea rbx, [rbx + 2]
inc rsi
cmp rsi, r14
jne 0x140009264
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp]
call fcn.140051840
lea rcx, [rbp]
call fcn.14000d6c0
nop
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
mov r8d, 2
lea rdx, [0x1400b51c8]
lea rcx, [rsp + 0x48]
call fcn.1400108b0
nop
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x48]
call fcn.14000d500
lea r8, [rsp + 0x48]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x60]
cmp rbx, 8
cmovae r8, rsi
lea rdx, [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400092ff
mov rax, qword [rax]
mov r9, qword [rsp + 0x58]
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140016030
mov r14d, eax
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x140009338
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.1400062d0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x48]
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x68], di
cmp rbx, 8
jb 0x140009361
lea r8, [rbx + 1]
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400062d0
test r14d, r14d
jne 0x1400093f7
or r9, 0xffffffffffffffff
lea r8d, [r14 + 2]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x48]
call fcn.14000d500
mov rbx, rax
lea rax, [rbp - 0x48]
cmp rax, rbx
je 0x1400093c3
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x1400093a6
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400062d0
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rdi
mov word [rbp - 0x48], di
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.140010b30
nop
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x1400093df
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.1400062d0
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
and dword [rbp + rcx + 0x28], 0xfffff9ff
or dword [rbp + rcx + 0x28], 0x800
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x10]
call fcn.140014ea0
lea rdx, [rsp + 0x30]
lea rcx, [rbp]
call fcn.14000e090
nop
lea rcx, [rbp + 0x98]
call fcn.14000d5c0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x98], rax
lea rcx, [rbp + 0x98]
call fcn.14003053c
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x140009455
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400062d0
lea r15, str..Settings.ini
mov ebx, dword [rsp + 0x30]
mov rcx, r12
call fcn.14002dfd8
and ebx, 0xfffffcf7
mov r9, r15
mov r8d, 0x64
lea rdx, str.AvgFPSRollingWindowMS
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov r9, r15
mov r8d, 0x3e8
lea rdx, str.PercentileRollingWindowMS
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r14d, eax
mov r9, r15
mov r8d, 0x64
lea rdx, str.FPSOverlayUpdateRateMS
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r15d, eax
lea r9, str..Settings.ini
xor r8d, r8d
lea rdx, str.OverlayPos
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r12d, eax
xor eax, eax
mov dword [rbp - 0x50], eax
mov r8b, 1
lea rdx, str.90PercentilesEnabled
call fcn.140017ee0
movzx r9d, al
mov r8d, 0x10
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x50]
call fcn.14000d400
nop
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
cmp rdx, 0x13
jb 0x14000952d
call fcn.140011440
int3
mov rax, rdx
shr rax, 5
and edx, 0x1f
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
test r9b, r9b
je 0x140009547
bts eax, edx
jmp 0x14000954a
btr eax, edx
mov dword [rcx], eax
mov r8b, 1
lea rdx, str.95PercentilesEnabled
call fcn.140017ee0
movzx r9d, al
mov r8d, 0x11
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x50]
call fcn.14000d400
nop
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
cmp rdx, 0x13
jb 0x140009586
call fcn.140011440
int3
mov rax, rdx
shr rax, 5
and edx, 0x1f
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
test r9b, r9b
je 0x1400095a0
bts eax, edx
jmp 0x1400095a3
btr eax, edx
mov dword [rcx], eax
mov r8b, 1
lea rdx, str.99PercentilesEnabled
call fcn.140017ee0
movzx r9d, al
mov r8d, 0x12
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x50]
call fcn.14000d400
nop
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
cmp rdx, 0x13
jb 0x1400095df
call fcn.140011440
int3
mov rax, rdx
shr rax, 5
and edx, 0x1f
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
test r9b, r9b
je 0x1400095f9
bts eax, edx
jmp 0x1400095fc
btr eax, edx
mov dword [rcx], eax
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
lea rcx, [0x1400d9588]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [rsp + 0x34]
mov dword [0x1400d9d88], eax
mov eax, dword [rsp + 0x38]
mov dword [0x1400d9528], eax
mov eax, dword [rsp + 0x3c]
mov dword [0x1400d952c], eax
mov dword [0x1400d9530], ebx
mov dword [0x1400d9534], esi
mov dword [0x1400d9538], r14d
mov dword [0x1400d953c], r15d
mov dword [0x1400d9540], r12d
mov ecx, dword [rbp - 0x50]
mov dword [0x1400d9544], ecx
test r13b, r13b
cmovne edi, dword [rsp + 0x40]
mov dword [0x1400d9524], edi
call fcn.140008be0
nop
mov r8, qword [rbp - 0x10]
cmp r8, 8
jb 0x14000968f
inc r8
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.1400062d0
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14002d9f0
lea r11, [rsp + 0x210]
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