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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x10bf0]
mov eax, 0x10cf0
call fcn.14024c240
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0x10be0], rax
mov rdi, r8
mov r12d, edx
mov rsi, rcx
xor r8d, r8d
lea rdx, str.CBaseInfoAddIn::WriteAddInTransInfo
lea rcx, [rsp + 0x48]
call fcn.1400075a0
nop
mov qword [rsp + 0x20], rdi
mov r9d, r12d
lea r8, str.test___d__test___s
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.140007780
xor ebx, ebx
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x38], ebx
test rdi, rdi
jne 0x1400a5595
mov ebx, 0x80010001
mov dword [0x1403b95bc], 1
jmp 0x1400a5ab4
mov rax, qword [rsi]
lea r9, [rbp + 0x3c0]
mov r8d, 0x104
mov edx, r12d
mov rcx, rsi
call qword [rax + 0xd0]
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x3c0]
mov qword [rsp + 0x20], rax
lea r9, [0x1402e3978]
or r8, 0xffffffffffffffff
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call fcn.14024679c
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400a5610
mov ebx, 0x80010026
mov dword [0x1403b95bc], 0x26
jmp 0x1400a5ab4
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x9e0]
call fcn.14024b970
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x5d0]
call fcn.14024b970
xor edx, edx
mov r8d, 0x10000
lea rcx, [rbp + 0xbe0]
call fcn.14024b970
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x7d0]
call fcn.14024b970
mov rdx, rdi
lea rcx, [rbp + 0x7d0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea r11, [rbp + 0x1b0]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], pe_nt_image_headers64
lea r9, [rbp + 0x9e0]
lea r8, [0x1402dc4e0]
lea rdx, [0x1402fe828]
lea rcx, str.Add_Ins
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r11, [rbp + 0x1b0]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], pe_nt_image_headers64
lea r9, [rbp + 0x5d0]
lea r8, [0x1402dc4e0]
lea rdx, str.Version
lea rcx, str.Add_Ins
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r11, [rbp + 0x1b0]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], 0x8000
lea r9, [rbp + 0xbe0]
lea r8, str.notsupport
lea rdx, str.DependentFiles
lea rcx, str.Add_Ins
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, str.notsupport
lea rcx, [rbp + 0xbe0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov dword [rsp + 0x34], 1
test eax, eax
je 0x1400a5743
lea rcx, [rbp + 0xbe0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ebx
lea rdi, [rsi + 0x230]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea rsi, vtable.std::ios_base.0
test eax, eax
jne 0x1400a5821
lea r8d, [rax + 0x22]
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.1400aa1c0
nop
cmp qword [rbp + 0x140], 0
je 0x1400a57c1
lea rcx, [rbp + 0xa8]
call fcn.1400ab900
test rax, rax
jne 0x1400a57c1
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rcx, [rbp + rcx + 0xa0]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x1400a57b8
or edx, 4
xor r8d, r8d
call fcn.1400015e0
nop
lea rax, [rbp + 0x148]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xa0], rax
lea rcx, [rbp + 0xa8]
call fcn.1400aa320
nop
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xa0], rax
mov qword [rbp + 0x148], rsi
lea rcx, [rbp + 0x148]
call fcn.140266564
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.1400aaee0
nop
cmp qword [rbp + 0x30], 0
je 0x1400a5a9e
xor edx, edx
lea r8d, [rdx + 2]
lea rcx, [rbp - 0x70]
call fcn.1400a9e80
mov r11, qword [rbp - 0x70]
movsxd rcx, dword [r11 + 4]
test byte [rbp + rcx - 0x60], 6
jne 0x1400a5884
mov rcx, qword [rbp + rcx - 0x28]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 2
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x58]
call qword [rax + 0x50]
mov r11, qword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
jmp 0x1400a588e
mov rax, qword [0x1402dbdb8]
mov r11, rbx
add eax, r11d
je 0x1400a593c
mov rcx, qword [rbp - 0x80]
movsxd rax, dword [rcx + 4]
test byte [rbp + rax - 0x70], 6
jne 0x1400a5900
movsxd rax, dword [rcx + 4]
mov rcx, qword [rbp + rax - 0x38]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x58]
call qword [rax + 0x50]
movsxd r11, dword [rsp + 0x60]
add r11, qword [rsp + 0x58]
cmp r11, qword [0x1402dbdb8]
jne 0x1400a5900
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rcx, [rbp + rcx - 0x80]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x1400a58f8
or edx, 4
xor r8d, r8d
call fcn.1400015e0
mov r8d, 4
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1400019b0
mov r8d, 4
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1400019b0
mov r8d, 4
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.1400019b0
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.1400a9e80
mov r8d, 4
lea rdx, [0x1403a3308]
lea rcx, [rbp - 0x70]
call fcn.140001820
mov r8d, 4
lea rdx, [0x1403a3310]
lea rcx, [rbp - 0x70]
call fcn.140001820
inc dword [rsp + 0x30]
mov r8d, 4
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.140001820
cmp dword [rsp + 0x30], 1
jbe 0x1400a59a9
mov rdx, 0xfffffffffffffffc
lea r8d, [rdx + 6]
lea rcx, [rbp - 0x70]
call fcn.1400a9e80
mov r8d, 4
lea rdx, [0x1403a3328]
lea rcx, [rbp - 0x70]
call fcn.140001820
mov r8d, 0x208
lea rdx, [rbp + 0x7d0]
lea rcx, [rbp - 0x70]
call fcn.140001820
mov r8d, 0x200
lea rdx, [rbp + 0x9e0]
lea rcx, [rbp - 0x70]
call fcn.140001820
mov r8d, 0x200
lea rdx, [rbp + 0x5d0]
lea rcx, [rbp - 0x70]
call fcn.140001820
mov r8d, 4
lea rdx, [rsp + 0x34]
lea rcx, [rbp - 0x70]
call fcn.140001820
mov r8d, 4
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x70]
call fcn.140001820
mov r8d, dword [rsp + 0x38]
lea rdx, [rbp + 0xbe0]
lea rcx, [rbp - 0x70]
call fcn.140001820
mov r8d, 4
lea rdx, [0x1403a332c]
lea rcx, [rbp - 0x70]
call fcn.140001820
mov r8d, 4
lea rdx, [0x1403a330c]
lea rcx, [rbp - 0x70]
call fcn.140001820
lea rcx, [rbp - 0x68]
call fcn.1400ab900
test rax, rax
jne 0x1400a5a9e
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rcx, [rbp + rcx - 0x80]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x1400a5a95
or edx, 4
xor r8d, r8d
call fcn.1400015e0
nop
lea rcx, [rbp + 0x38]
call fcn.1400ab050
mov qword [rbp + 0x38], rsi
lea rcx, [rbp + 0x38]
call fcn.140266564
mov r9d, ebx
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140007780
nop
lea rcx, [rsp + 0x48]
call fcn.140007730
mov eax, ebx
mov rcx, qword [rbp + 0x10be0]
xor rcx, rsp
call fcn.140245660
add rsp, 0x10cf0
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret