Function at 0x140110ec0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10a30]
mov eax, 0x10b30
call fcn.1401e33b0
sub rsp, rax
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x10a20], rax
mov rsi, r8
mov r15, rdx
mov r14, rcx
lea rdx, str.CBaseInfoAddIn::MakeAddinInfoFile
lea rcx, [rbp - 0x60]
call fcn.14001abe0
nop
lea rdi, [0x1402a8360]
lea r12, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, rdi
je 0x140110f58
test byte [rcx + 0x1c], 1
je 0x140110f58
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x1f
lea r8, [0x1402608d8]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
xor edx, edx
lea r13d, [rdx + 1]
mov r8d, 0x200
lea rcx, [rbp + 0x410]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x610]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x200]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x10]
call fcn.1401e7e40
xor ebx, ebx
mov dword [rsp + 0x34], ebx
xor edx, edx
mov r8d, 0x10000
lea rcx, [rbp + 0xa20]
call fcn.1401e7e40
mov dword [rsp + 0x38], ebx
lea rcx, [rsp + 0x78]
call fcn.140091e00
nop
call fcn.14018d2c0
mov rcx, rax
call fcn.14018c0c0
mov edx, eax
lea r8, [rbp + 0x200]
lea rcx, [rsp + 0x78]
call fcn.140092cd0
lea rcx, [rbp + 0x200]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov rbx, qword [rsi]
cmp rbx, qword [rsi + 8]
je 0x140111137
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor ecx, ecx
mov qword [rbp - 0x70], rcx
mov eax, 7
mov qword [rbp - 0x68], rax
mov word [rbp - 0x80], cx
lea rcx, [rbp - 0x80]
cmp rcx, rbx
je 0x14011104d
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14011103c
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x80]
call fcn.140004b70
mov rax, qword [rbp - 0x68]
lea r9, [rbp - 0x80]
cmp rax, 8
cmovae r9, qword [rbp - 0x80]
lea r8, [rbp + 0x200]
lea rdx, [0x1402528f8]
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp - 0x10]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1401110ea
mov rcx, qword [0x1402a8360]
cmp rcx, rdi
je 0x1401110c1
test byte [rcx + 0x1c], 4
je 0x1401110c1
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rax + 0x20]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r8, [0x1402608d8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov r8, rbx
mov rdx, qword [rsi + 8]
lea rcx, [rbx + 0x20]
call fcn.14011ae90
mov rcx, qword [rsi + 8]
sub rcx, 0x20
call fcn.1400048a0
add qword [rsi + 8], 0xffffffffffffffe0
lea rdi, [0x1402a8360]
add rbx, 0x20
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140111002
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011112d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401117d1
call fcn.1400079c0
jmp 0x140111002
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x810]
call fcn.1401e7e40
mov rax, qword [r14]
mov r9d, 0x104
lea r8, [rbp + 0x810]
mov rdx, r15
mov rcx, r14
mov rax, qword [rax + 0xd0]
call qword [case.0x1400136d6.0]
movsxd rdi, eax
lea rcx, [rsp + 0x40]
call fcn.1401d3210
nop
add r14, 0x20
xor r9d, r9d
mov r8d, 0xb002
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.1401d36f0
test eax, eax
jne 0x1401111ef
mov rcx, qword [0x1402a8360]
lea rbx, [0x1402a8360]
cmp rcx, rbx
je 0x1401111e5
test byte [rcx + 0x1c], 4
je 0x1401111e5
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rax + 0x21]
mov qword [rsp + 0x20], r14
lea r8, [0x1402608d8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rcx, qword [0x1402a8360]
xor eax, eax
mov r13d, eax
jmp 0x1401116db
xor eax, eax
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x30], r13d
lea rcx, [rsp + 0x40]
call fcn.1401d3590
test rax, rax
je 0x140111265
mov rax, qword [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
mov rax, qword [rax + 0x58]
call qword [case.0x1400136d6.0]
mov r8d, 4
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.1401d3830
mov r8d, 4
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.1401d3830
mov r8d, 4
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1401d3830
inc dword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
mov rax, qword [rax + 0x58]
call qword [case.0x1400136d6.0]
mov r8d, 4
lea rdx, [0x1402a9a9c]
lea rcx, [rsp + 0x40]
call fcn.1401d3bd0
mov r8d, 4
lea rdx, [0x1402a83b4]
lea rcx, [rsp + 0x40]
call fcn.1401d3bd0
mov r8d, 4
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1401d3bd0
cmp dword [rsp + 0x30], 1
jbe 0x1401112dd
mov rdx, 0xfffffffffffffffc
lea r8d, [rdx + 6]
lea rcx, [rsp + 0x40]
call fcn.1401d3b10
mov r8d, 4
lea rdx, [0x1402acc20]
lea rcx, [rsp + 0x40]
call fcn.1401d3bd0
mov r8d, 0x410
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.1401d3bd0
mov rax, qword [rsi + 8]
sub rax, qword [rsi]
sar rax, 5
mov dword [rsp + 0x70], eax
mov r8d, 4
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1401d3bd0
mov rbx, qword [rsi]
mov r8d, 4
lea rcx, [rsp + 0x40]
cmp rbx, qword [rsi + 8]
je 0x1401116a0
lea rdx, [0x1402acc38]
call fcn.1401d3bd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor ecx, ecx
mov qword [rbp - 0x70], rcx
mov eax, 7
mov qword [rbp - 0x68], rax
mov word [rbp - 0x80], cx
lea rcx, [rbp - 0x80]
cmp rcx, rbx
je 0x140111390
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14011137f
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x80]
call fcn.140004b70
mov rax, qword [rbp - 0x68]
lea r9, [rbp - 0x80]
cmp rax, 8
cmovae r9, qword [rbp - 0x80]
lea r8, [rbp + 0x200]
lea rdx, [0x1402528f8]
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x410]
call fcn.1401e7e40
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
lea r9, [rbp + 0x410]
lea r8, [0x140251dfc]
lea rdx, [0x1402603f8]
lea rcx, str.Add_Ins
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x140111446
mov rcx, qword [0x1402a8360]
lea r15, [0x1402a8360]
cmp rcx, r15
je 0x14011144d
test byte [rcx + 0x1c], 4
je 0x14011144d
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rax + 0x22]
mov qword [rsp + 0x20], r14
lea r8, [0x1402608d8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
jmp 0x14011144d
lea r15, [0x1402a8360]
mov r8d, 0x200
lea rdx, [rbp + 0x410]
lea rcx, [rsp + 0x40]
call fcn.1401d3bd0
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x610]
call fcn.1401e7e40
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
lea r9, [rbp + 0x610]
lea r8, [0x140251dfc]
lea rdx, str.Version
lea rcx, str.Add_Ins
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x1401114ec
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x1401114ec
test byte [rcx + 0x1c], 4
je 0x1401114ec
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rax + 0x23]
mov qword [rsp + 0x20], r14
lea r8, [0x1402608d8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov r8d, 0x200
lea rdx, [rbp + 0x610]
lea rcx, [rsp + 0x40]
call fcn.1401d3bd0
xor edx, edx
mov r8d, 0x10000
lea rcx, [rbp + 0xa20]
call fcn.1401e7e40
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x8000
lea r9, [rbp + 0xa20]
lea r8, str.notsupport
lea rdx, str.DependentFiles
lea rcx, str.Add_Ins
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x14011158b
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x14011158b
test byte [rcx + 0x1c], 4
je 0x14011158b
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rax + 0x24]
mov qword [rsp + 0x20], r14
lea r8, [0x1402608d8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rdx, str.notsupport
lea rcx, [rbp + 0xa20]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1401115ac
mov dword [rsp + 0x34], r13d
xor eax, eax
jmp 0x1401115f3
test rdi, rdi
je 0x1401115e1
lea r8, [0x1402572d4]
mov edx, 0x8000
lea rcx, [rbp + 0xa20]
call fcn.1401ec614
lea r8, [rbp + 0x810]
mov edx, 0x8000
lea rcx, [rbp + 0xa20]
call fcn.1401ec614
mov dword [rsp + 0x34], r13d
lea rcx, [rbp + 0xa20]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rsp + 0x38], eax
mov r8d, 4
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x40]
call fcn.1401d3bd0
mov r8d, 4
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.1401d3bd0
mov r8d, dword [rsp + 0x38]
test r8d, r8d
je 0x14011163f
add r8d, r8d
lea rdx, [rbp + 0xa20]
lea rcx, [rsp + 0x40]
call fcn.1401d3bd0
mov r8d, 4
lea rdx, [0x1402acc28]
lea rcx, [rsp + 0x40]
call fcn.1401d3bd0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140111697
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140111692
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401117cb
call fcn.1400079c0
add rbx, 0x20
jmp 0x14011132e
lea rdx, [0x1402acc48]
call fcn.1401d3bd0
mov r8d, 4
lea rdx, [0x1402acc30]
lea rcx, [rsp + 0x40]
call fcn.1401d3bd0
lea rcx, [rsp + 0x40]
call fcn.1401d3410
mov rcx, qword [0x1402a8360]
lea rbx, [0x1402a8360]
mov byte [rbp - 0x58], 1
cmp rcx, rbx
je 0x140111718
test byte [rcx + 0x1c], 1
je 0x140111718
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x25
mov dword [rsp + 0x20], r13d
lea r8, [0x1402608d8]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
nop
lea rcx, [rsp + 0x40]
call fcn.1401d3278
nop
lea rcx, [rsp + 0x78]
call fcn.140091f70
nop
lea rax, vtable.WppTrace.0
mov qword [rbp - 0x60], rax
cmp byte [rbp - 0x58], 0
jne 0x14011178c
mov rcx, qword [0x1402a8360]
cmp rcx, rbx
je 0x14011178c
test byte [rcx + 0x1c], 1
je 0x14011178c
lea r8, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r8, qword [rbp - 0x50]
cmp qword [0x1402bbdc8], 8
cmovae r12, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], r8
mov r9, r12
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rbp - 0x30]
call fcn.1400048a0
lea rcx, [rbp - 0x50]
call fcn.1400048a0
mov eax, r13d
mov rcx, qword [rbp + 0x10a20]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0x10b88]
add rsp, 0x10b30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401ec41c
nop
call fcn.1401ec41c
int3