Function at 0x1400dbec0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x1403486d0]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rsi, rcx
xor r15d, r15d
cmp qword [rcx + 0x10], r15
jne 0x1400dbf07
xor al, al
jmp 0x1400dc27d
lea rdx, [0x14028cb98]
lea rcx, [rsp + 0x48]
call fcn.1400797a0
nop
cmp qword [rsp + 0x58], 0
jne 0x1400dbf28
mov bl, 1
jmp 0x1400dc235
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r15w
mov r8d, VariantTimeToDosDateTime
lea rdx, str.mapisvc.inf
lea rcx, [rsp + 0x68]
call fcn.1400523d0
nop
mov rbx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x78]
add rax, 2
add rbx, rax
mov eax, 2
mul rbx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.1400e6a30
mov r14, rax
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x1400dbfc5
mov word [r14], r15w
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [r14 + r8*2], 0
jne 0x1400dbfe0
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.1400523d0
mov rcx, r14
call fcn.1400e6a28
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400dc044
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dc03f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400dc03f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400dc089
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dc084
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400dc084
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rsp + 0x58], xmm1
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x48]
movups xmm0, xmmword [rbp - 0x68]
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 8
cmovae rdx, qword [rbp - 0x78]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x208
lea r9, [rbp - 0x50]
lea r8, [0x140270b0c]
lea rdx, str.PR_SERVICE_DLL_NAME
lea rcx, str.APLZODSERVICE
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rbp - 0x50]
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400dc100
test rdi, rdi
jne 0x1400dc16b
call fcn.1400c1f80
cmp dword [rax + 0x78], 7
jl 0x1400dc233
call fcn.1400c1f80
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, str.Addin_path_in__s_is_empty
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x5c4
lea r9, str.D:BWA6FBB69CA_F410_0iCloudCommon_131_srcrootiCCUtilsUWPMigrate.cpp
lea r8, str.IsAddinInstalledCorrectly
lea edx, [rdi + 7]
mov rcx, rax
call fcn.1400c2500
jmp 0x1400dc233
lea rcx, [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400dc182
mov rcx, qword [rsi]
lea rdx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400dc1dc
call fcn.1400c1f80
cmp dword [rax + 0x78], 7
jl 0x1400dc1d8
call fcn.1400c1f80
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x30], rcx
lea rcx, str.Addin_path_in_mapisvc.inf___s__matches_expected_path
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x5ca
lea r9, str.D:BWA6FBB69CA_F410_0iCloudCommon_131_srcrootiCCUtilsUWPMigrate.cpp
lea r8, str.IsAddinInstalledCorrectly
mov edx, 7
mov rcx, rax
call fcn.1400c2500
mov bl, 1
jmp 0x1400dc235
call fcn.1400c1f80
cmp dword [rax + 0x78], 3
jl 0x1400dc233
call fcn.1400c1f80
cmp qword [rsi + 0x18], 8
jb 0x1400dc1f6
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rsi
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x30], rcx
lea rcx, str.Addin_path_in_mapisvc.inf___s__does_not_match_expected_path___s_
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x5cd
lea r9, str.D:BWA6FBB69CA_F410_0iCloudCommon_131_srcrootiCCUtilsUWPMigrate.cpp
lea r8, str.IsAddinInstalledCorrectly
mov edx, 3
mov rcx, rax
call fcn.1400c2500
xor bl, bl
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400dc27a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dc275
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400dc275
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
movzx eax, bl
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400e6b50
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret