Function at 0x140011840
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x220
mov rax, qword [0x140092040]
xor rax, rsp
mov qword [rsp + 0x218], rax
mov r15, r8
mov rsi, rdx
mov rdi, qword [rsp + 0x260]
mov qword [rsp + 0xc0], rdi
test r9b, r9b
je 0x14001195e
vmovss xmm1, dword [r8]
lea rcx, [rsp + 0xe8]
call fcn.140010f90
mov r9, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400118a6
mov r9, qword [rdi]
lea r8, [rsp + 0xe8]
cmp qword [rsp + 0x100], 0xf
cmova r8, qword [rsp + 0xe8]
cmp qword [rsi + 0x18], 0xf
jbe 0x1400118ca
mov rsi, qword [rsi]
movabs r10, 0x8fcf5769994b2b80
mov qword [rsp + 0x130], r10
movabs rax, 0x704efe2f6964693c
mov qword [rsp + 0x138], rax
movabs rdx, 0x8fbc3906f03f5bef
mov qword [rsp + 0x110], rdx
mov qword [rsp + 0x118], rax
vmovdqu xmm0, xmmword [rsp + 0x130]
vpxor xmm1, xmm0, xmmword [rsp + 0x110]
vmovdqu xmmword [rsp + 0x130], xmm1
mov rdx, rsi
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea rcx, [rsp + 0xe8]
test eax, eax
jne 0x140011954
call fcn.140008140
mov rcx, rdi
call fcn.140008140
xor al, al
jmp 0x140011cf4
call fcn.140008140
jmp 0x140011bd9
mov r14, qword [rdi + 0x10]
mov rbx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14001196f
mov rbx, qword [rdi]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], r14
call fcn.140077df4
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], r14
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x110]
call fcn.140002860
lea rcx, [rsp + 0x110]
call fcn.140003370
movzx ebx, al
lea rcx, [rsp + 0x110]
call fcn.140002ad0
mov rcx, rdi
test bl, bl
jne 0x1400119cc
call fcn.140008140
xor al, al
jmp 0x140011cf4
cmp qword [rdi + 0x18], 0xf
jbe 0x1400119d6
mov rcx, qword [rdi]
movabs rax, 0x8fbc3906bc730ea1
mov qword [rsp + 0x150], rax
movabs rax, 0x704efe2f6964693c
mov qword [rsp + 0x158], rax
movabs rdx, 0x8fbc3906f03f5bef
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x88], rax
vmovdqu xmm0, xmmword [rsp + 0x150]
vpxor xmm1, xmm0, xmmword [rsp + 0x80]
vmovdqu xmmword [rsp + 0x150], xmm1
cmp qword [rsi + 0x18], 0xf
jbe 0x140011a39
mov rsi, qword [rsi]
movabs r10, 0x8fcf5769994b2b80
mov qword [rsp + 0x170], r10
mov qword [rsp + 0x178], rax
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], rax
vmovdqu xmm0, xmmword [rsp + 0x170]
vpxor xmm1, xmm0, xmmword [rsp + 0xa0]
vmovdqu xmmword [rsp + 0x170], xmm1
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x190]
lea r8, [rsp + 0x150]
mov rdx, rsi
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x140011abf
mov rcx, rdi
call fcn.140008140
xor al, al
jmp 0x140011cf4
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0xc8], xmm0
xor ebx, ebx
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xe0], rbx
lea rax, [rsp + 0x190]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x140011af0
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0xc8]
call fcn.1400093b0
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rsi, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 0xf
cmova rsi, qword [rsp + 0xc8]
mov dword [rax], ebx
lea rdx, [rsp + 0x38]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtof]
cmp rsi, qword [rsp + 0x38]
jne 0x140011b56
lea rcx, str.invalid_stof_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [r14], 0x22
jne 0x140011b69
lea rcx, str.stof_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
vmovss dword [r15], xmm0
mov rdx, qword [rsp + 0xe0]
cmp rdx, 0xf
jbe 0x140011bbd
inc rdx
mov qword [rsp + 0x40], rdx
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011bb8
add rdx, 0x27
mov qword [rsp + 0x40], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011bb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.1400783d0
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xe0], 0xf
mov byte [rsp + 0xc8], 0
mov rcx, rdi
call fcn.140008140
mov al, 1
jmp 0x140011cf4
mov rcx, qword [rsp + 0x218]
xor rcx, rsp
call fcn.1400783b0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret