Function at 0x18019d9e0
Capabilities:
Read .ini file

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x18019da21
xor eax, eax
jmp 0x18019dbf8
lea rdx, [rbp - 0x28]
call fcn.1801a4fa0
nop
lea r9, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae r9, qword [rbp - 0x28]
mov r8d, 0xffffffff
lea rdx, str.Status
lea rcx, str.Plugin
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x18019da98
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18019da93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18019da93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rbp - 0x18], xmm0
xor esi, esi
mov word [rbp - 0x28], si
test edi, edi
je 0x18019da1a
cmp edi, 1
jne 0x18019dbf3
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x180291a20]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], si
mov eax, dword [rbx + 0x18]
test eax, eax
jne 0x18019dae9
lea r8d, [rsi + 0x40]
lea rdx, str.RCPdf_Loader_plugin_pdf2x_B290ED24_1295_4B55_A6A7_5EBD321F473B
jmp 0x18019db0f
cmp eax, 1
jne 0x18019dafb
lea r8d, [rax + 0x3f]
lea rdx, str.RCPdf_Loader_plugin_x2pdf_B290ED24_1295_4B55_A6A7_5EBD321F473B
jmp 0x18019db0f
cmp eax, 2
jne 0x18019dbe2
lea r8d, [rax + 0x3c]
lea rdx, str.RCPdf_Loader_plugin_ocr_B290ED24_1295_4B55_A6A7_5EBD321F473B
lea rcx, [rbp - 0x28]
call fcn.180007110
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae r8, qword [rbp - 0x28]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
je 0x18019db9d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x18019db85
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18019db80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18019db80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], si
mov eax, 1
jmp 0x18019dbf8
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x18019dbe2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18019dbdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18019dbdb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
jmp 0x18019dbe2
movdqa xmm0, xmmword [0x180291a20]
mov word [rbp - 0x28], si
movdqu xmmword [rbp - 0x18], xmm0
mov eax, 2
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18022a7d0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret