Function at 0x14008a9e0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x240
mov rax, qword [0x140263a80]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x228], rax
mov dword [rcx + 0x230], eax
mov qword [rcx + 0x290], rax
mov qword [rcx + 0x298], rax
mov qword [rcx + 0x2a0], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rcx, [rdi + 0x268]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor edx, edx
mov r8d, 0x20c
lea rcx, [rdi + 0x18]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x20c
lea rdx, [rdi + 0x18]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
lea r8d, [rdx + 0x5c]
lea rcx, [rdi + 0x18]
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
mov rcx, rax
movups xmm0, xmmword [str.camera_presets.ini]
movups xmmword [rax + 2], xmm0
movups xmm1, xmmword [0x140247510]
movups xmmword [rax + 0x12], xmm1
mov eax, dword [0x140247520]
mov dword [rcx + 0x22], eax
movzx eax, word [0x140247524]
mov word [rcx + 0x26], ax
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea rdx, str.preset__d
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rdi + 0x18]
xor r8d, r8d
lea rdx, [0x140247540]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rdi + 0x234], eax
lea r9, [rdi + 0x18]
xor r8d, r8d
lea rdx, str.tilt
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rdi + 0x238], eax
lea r9, [rdi + 0x18]
xor r8d, r8d
lea rdx, str.zoom
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rdi + 0x23c], eax
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 1
lea rdx, str.preset__d
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rdi + 0x18]
xor r8d, r8d
lea rdx, [0x140247540]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rdi + 0x240], eax
lea r9, [rdi + 0x18]
xor r8d, r8d
lea rdx, str.tilt
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rdi + 0x244], eax
lea r9, [rdi + 0x18]
xor r8d, r8d
lea rdx, str.zoom
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rdi + 0x248], eax
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 2
lea rdx, str.preset__d
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rdi + 0x18]
xor r8d, r8d
lea rdx, [0x140247540]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rdi + 0x24c], eax
lea r9, [rdi + 0x18]
xor r8d, r8d
lea rdx, str.tilt
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rdi + 0x250], eax
lea r9, [rdi + 0x18]
xor r8d, r8d
lea rdx, str.zoom
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rdi + 0x254], eax
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 3
lea rdx, str.preset__d
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rdi + 0x18]
xor r8d, r8d
lea rdx, [0x140247540]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rdi + 0x258], eax
lea r9, [rdi + 0x18]
xor r8d, r8d
lea rdx, str.tilt
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rdi + 0x25c], eax
lea r9, [rdi + 0x18]
xor r8d, r8d
lea rdx, str.zoom
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rdi + 0x260], eax
mov rcx, rdi
call fcn.14008ad50
mov rcx, rdi
call fcn.14008ae90
mov rcx, rdi
call fcn.14008b1d0
mov rcx, qword [rdi]
test rcx, rcx
je 0x14008ad17
mov r9, qword [rcx]
lea r8, [rdi + 8]
lea rdx, [0x1401d5190]
call qword [r9]
mov rcx, qword [rdi]
mov r9, qword [rcx]
lea r8, [rdi + 0x10]
lea rdx, [0x1401d51a0]
call qword [r9]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1401d0310
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret