Function at 0x140011d20
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x140092040]
xor rax, rsp
mov qword [rsp + 0x268], rax
mov r12, r8
mov rsi, rdx
mov rdi, qword [rsp + 0x2c0]
mov qword [rsp + 0xd0], rdi
test r9b, r9b
je 0x140011e40
mov edx, dword [r8]
lea rcx, [rsp + 0x118]
call fcn.140010810
mov r9, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140011d88
mov r9, qword [rdi]
lea r8, [rsp + 0x118]
cmp qword [rsp + 0x130], 0xf
cmova r8, qword [rsp + 0x118]
cmp qword [rsi + 0x18], 0xf
jbe 0x140011dac
mov rsi, qword [rsi]
movabs rcx, 0x8fcf5769994b2b80
mov qword [rsp + 0x180], rcx
movabs rbx, 0x704efe2f6964693c
mov qword [rsp + 0x188], rbx
movabs r14, 0x8fbc3906f03f5bef
mov qword [rsp + 0x160], r14
mov qword [rsp + 0x168], rbx
vmovdqu xmm0, xmmword [rsp + 0x180]
vpxor xmm1, xmm0, xmmword [rsp + 0x160]
vmovdqu xmmword [rsp + 0x180], xmm1
mov rdx, rsi
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea rcx, [rsp + 0x118]
test eax, eax
jne 0x140011e36
call fcn.140008140
mov rcx, rdi
call fcn.140008140
xor al, al
jmp 0x140012252
call fcn.140008140
jmp 0x140012215
mov r14, qword [rdi + 0x10]
mov rbx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140011e51
mov rbx, qword [rdi]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], r14
call fcn.140077df4
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r14
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rsp + 0x160]
call fcn.140002860
lea rcx, [rsp + 0x160]
call fcn.140003370
movzx ebx, al
lea rcx, [rsp + 0x160]
call fcn.140002ad0
test bl, bl
jne 0x140011eae
mov rcx, rdi
call fcn.140008140
xor al, al
jmp 0x140012252
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140011ebb
mov rax, qword [rdi]
movabs r15, 0x8fbc3906bc730ea1
mov qword [rsp + 0x1a0], r15
movabs rbx, 0x704efe2f6964693c
mov qword [rsp + 0x1a8], rbx
movabs r14, 0x8fbc3906f03f5bef
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], rbx
vmovdqu xmm0, xmmword [rsp + 0x1a0]
vpxor xmm1, xmm0, xmmword [rsp + 0x70]
vmovdqu xmmword [rsp + 0x1a0], xmm1
cmp qword [rsi + 0x18], 0xf
jbe 0x140011f15
mov rsi, qword [rsi]
movabs rcx, 0x8fcf5769994b2b80
mov qword [rsp + 0x1c0], rcx
mov qword [rsp + 0x1c8], rbx
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x98], rbx
vmovdqu xmm0, xmmword [rsp + 0x1c0]
vpxor xmm1, xmm0, xmmword [rsp + 0x90]
vmovdqu xmmword [rsp + 0x1c0], xmm1
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x1e0]
lea r8, [rsp + 0x1a0]
mov rdx, rsi
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x140011f9b
mov rcx, rdi
call fcn.140008140
xor al, al
jmp 0x140012252
mov qword [rsp + 0x140], r15
mov qword [rsp + 0x148], rbx
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xb8], rbx
vmovdqu xmm0, xmmword [rsp + 0x140]
vpxor xmm1, xmm0, xmmword [rsp + 0xb0]
vmovdqu xmmword [rsp + 0x140], xmm1
vpxor xmm2, xmm2, xmm2
vmovups xmmword [rsp + 0xf8], xmm2
xor r13d, r13d
mov qword [rsp + 0x108], r13
mov qword [rsp + 0x110], r13
lea rax, [rsp + 0x1e0]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r13b
jne 0x140012010
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0xf8]
call fcn.1400093b0
lea rcx, [rsp + 0x140]
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], r13b
jne 0x140012040
lea rcx, [rsp + 0xf8]
mov rsi, qword [rsp + 0xf8]
mov r15, qword [rsp + 0x110]
cmp r15, 0xf
cmova rcx, rsi
mov r8, qword [rsp + 0x108]
cmp r8, rax
jne 0x14001208c
lea rdx, [rsp + 0x140]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001208c
mov r14b, 1
jmp 0x14001208f
xor r14b, r14b
cmp r15, 0xf
jbe 0x1400120d2
lea rdx, [r15 + 1]
mov qword [rsp + 0x38], rdx
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400120ca
add rdx, 0x27
mov qword [rsp + 0x38], rdx
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400120ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov rcx, rsi
call fcn.1400783d0
mov qword [rsp + 0x108], r13
mov qword [rsp + 0x110], 0xf
mov byte [rsp + 0xf8], r13b
test r14b, r14b
je 0x140012102
mov rcx, rdi
call fcn.140008140
xor al, al
jmp 0x140012252
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0xd8], xmm0
mov qword [rsp + 0xe8], r13
mov qword [rsp + 0xf0], r13
lea rax, [rsp + 0x1e0]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140012127
mov r8, rbx
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0xd8]
call fcn.1400093b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rsi, rax
lea rbx, [rsp + 0xd8]
cmp qword [rsp + 0xf0], 0xf
cmova rbx, qword [rsp + 0xd8]
mov dword [rax], r13d
mov r8d, 0xa
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rsp + 0x40]
jne 0x140012196
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [rsi], 0x22
jne 0x1400121a8
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
mov dword [r12], eax
mov rdx, qword [rsp + 0xf0]
cmp rdx, 0xf
jbe 0x1400121f9
inc rdx
mov qword [rsp + 0x48], rdx
mov rcx, qword [rsp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400121f4
add rdx, 0x27
mov qword [rsp + 0x48], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001227f
call fcn.1400783d0
mov qword [rsp + 0xe8], r13
mov qword [rsp + 0xf0], 0xf
mov byte [rsp + 0xd8], 0
mov rcx, rdi
call fcn.140008140
mov al, 1
jmp 0x140012252
mov rcx, qword [rsp + 0x268]
xor rcx, rsp
call fcn.1400783b0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3