Function at 0x1800ca7f0
Capabilities:
Read .ini file

Disassembly:
push rdi
push r12
push r13
mov eax, 0x81c0
call fcn.180124410
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x81e0], rbx
mov qword [rsp + 0x81e8], rbp
mov qword [rsp + 0x81f0], rsi
mov rax, qword [0x1801dc960]
xor rax, rsp
mov qword [rsp + 0x81b0], rax
mov byte [rsp + 0xa0], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0xa1]
call fcn.1800f4fb0
mov r8d, 1
lea rdx, str.prtflg.ini
lea rcx, [rsp + 0x50]
call fcn.18001f690
nop
cmp qword [rax + 0x20], 0x10
jb 0x1800ca878
mov rcx, qword [rax + 8]
jmp 0x1800ca87c
lea rcx, [rax + 8]
lea rdx, [rsp + 0xa0]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x1800ca890
cmp qword [rsp + 0x70], 0x10
jb 0x1800ca8b1
mov rcx, qword [rsp + 0x58]
call fcn.1800f4b9c
mov qword [rsp + 0x70], 0xf
xor r13d, r13d
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], r13b
mov rdx, qword [0x18028e6e0]
mov rdx, qword [rdx + 8]
lea rcx, [0x18028e6b0]
call fcn.18008bb70
mov rdx, qword [0x18028e6e0]
mov qword [rdx + 8], rdx
mov qword [0x18028e6e8], r13
mov rax, qword [0x18028e6e0]
mov qword [rax], rax
mov rax, qword [0x18028e6e0]
mov qword [rax + 0x10], rax
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.Enable
lea rcx, str.Ignore
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x1800cab78
mov byte [rsp + 0x1b0], r13b
xor edx, edx
mov r8d, 0x7ffe
lea rcx, [rsp + 0x1b1]
call fcn.1800f4fb0
lea r9, [rsp + 0xa0]
mov r8d, 0x7fff
lea rdx, [rsp + 0x1b0]
lea rcx, str.DllName
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea rbp, [rsp + 0x1b0]
cmp byte [rsp + 0x1b0], r13b
je 0x1800cab74
nop word [rax + rax]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasb al, byte [rdi]
not rcx
lea r12, [rcx - 1]
mov rcx, rbp
call fcn.1800fbe7c
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], r13
mov byte [rsp + 0x30], 0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbp
lea rcx, [rsp + 0x28]
call fcn.180003700
nop
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x1800cab36
cmp rsi, 1
jb 0x1800cab36
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rbx, qword [rsp + 0x30]
mov r8, rsi
mov edx, 0x3d
mov rcx, rbx
call fcn.1800f9d84
mov rdi, rax
test rax, rax
je 0x1800cab36
mov cl, byte [rdi]
cmp cl, byte [0x180156e54]
je 0x1800caa55
sub rbx, rdi
lea rsi, [rsi + rbx - 1]
lea rbx, [rdi + 1]
mov r8, rsi
mov edx, 0x3d
mov rcx, rbx
call fcn.1800f9d84
mov rdi, rax
test rax, rax
jne 0x1800caa22
jmp 0x1800cab36
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rax, qword [rsp + 0x30]
sub rdi, rax
cmp edi, 0xffffffff
je 0x1800cab36
movsxd r9, edi
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.180004410
nop
lea eax, [rdi + 1]
movsxd r8, eax
or r9, 0xffffffffffffffff
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x28]
call fcn.180004410
nop
lea rcx, [rsp + 0x80]
cmp qword [rsp + 0x98], 0x10
cmovae rcx, qword [rsp + 0x80]
call fcn.1800f6d1c
cmp eax, 1
jne 0x1800caadd
lea rdx, [rsp + 0x50]
lea rcx, [0x18028e6b0]
call fcn.1800ca0b0
mov dword [rax], 1
cmp qword [rsp + 0x98], 0x10
jb 0x1800caaf5
mov rcx, qword [rsp + 0x80]
call fcn.1800f4b9c
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0x90], r13
mov byte [rsp + 0x80], 0
cmp qword [rsp + 0x70], 0x10
jb 0x1800cab23
mov rcx, qword [rsp + 0x58]
call fcn.1800f4b9c
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
lea eax, [r12 + 1]
movsxd rcx, eax
add rbp, rcx
cmp qword [rsp + 0x48], 0x10
jb 0x1800cab53
mov rcx, qword [rsp + 0x30]
call fcn.1800f4b9c
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], r13
mov byte [rsp + 0x30], 0
cmp byte [rbp], 0
jne 0x1800ca990
xor eax, eax
jmp 0x1800cab7a
xor eax, eax
jmp 0x1800cab7a
xor eax, eax
mov rcx, qword [rsp + 0x81b0]
xor rcx, rsp
call fcn.1800f4f80
lea r11, [rsp + 0x81c0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret