Function at 0x140006fe0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4b8]
sub rsp, 0x590
mov rax, qword [0x140036150]
xor rax, rsp
mov qword [rbp + 0x480], rax
xor r15d, r15d
mov dword [rsp + 0x54], 3
mov rbx, rcx
mov qword [rbp - 0x40], r15
mov r13d, r15d
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x38], r15
lea r12d, [r15 + 1]
mov qword [rbp - 0x30], r15
mov eax, r12d
mov dword [rsp + 0x50], r15d
mov qword [rbp - 0x28], r15
lock xadd dword [0x1400367e8], eax
add eax, r12d
cmp eax, r12d
jle 0x140007082
mov r14d, 0x800704df
lea r9, str.Wds_logger_is_already_initialized
mov edx, r14d
mov r8d, r12d
mov ecx, 0x4000000
call fcn.1400066ac
mov rdi, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x30]
jmp 0x140007d2c
lea rcx, [rbp - 0x30]
call fcn.140008e70
mov r14d, eax
test eax, eax
jns 0x1400070a5
lea r8, str.Failed_to_get_windows_directory_for_WDSCORE_DLL_path.
mov edx, r12d
mov ecx, eax
call fcn.140006520
jmp 0x140007075
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.140008700
mov r14d, eax
test eax, eax
jns 0x1400070c1
lea r8, str.Failed_to_allocate_relative_path_to_WDSCORE_DLL.
jmp 0x140007099
lea rcx, [rbp - 0x38]
call fcn.1400089d4
mov r14d, eax
test eax, eax
jns 0x1400070eb
mov rdi, qword [rbp - 0x38]
lea r8, str.Failed_to_ensure_Wds_path_ended_with_a_backslash:__ws
mov r9, rdi
mov edx, r12d
mov ecx, eax
call fcn.140006520
jmp 0x140007079
lea rdx, str.wdscore.dll
lea rcx, [rbp - 0x38]
call fcn.1400082c8
mov r14d, eax
test eax, eax
jns 0x14000710b
lea r8, str.Failed_to_concat_full_path_to_WDSCORE_DLL
jmp 0x140007099
mov rdi, qword [rbp - 0x38]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_LoadLibraryW]
nop dword [rax + rax]
cmp qword [0x1400367a0], r15
je 0x140007128
int3
mov rsi, qword [rbp - 0x30]
mov qword [0x1400367a0], rax
test rax, rax
jne 0x140007254
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.140008700
mov r14d, eax
test eax, eax
jns 0x14000716c
mov r9, rsi
lea r8, str.Failed_to_allocate_Wds_path_from_windows_directory:__ws
mov edx, r12d
mov ecx, eax
call fcn.140006520
mov rdi, qword [rbp - 0x38]
jmp 0x140007d2c
lea rcx, [rbp - 0x38]
call fcn.1400089d4
mov r14d, eax
test eax, eax
jns 0x140007199
mov rdi, qword [rbp - 0x38]
lea r8, str.Failed_to_ensure_Wds_path_ended_with_a_backslash:__ws
mov r9, rdi
mov edx, r12d
mov ecx, eax
call fcn.140006520
jmp 0x140007d2c
lea r8, str.wdscore.dll
lea rdx, str.system32_
lea rcx, [rbp - 0x38]
call fcn.1400080ec
mov r14d, eax
test eax, eax
jns 0x1400071ca
lea r8, str.Failed_to_allocate_full_path_to_WDSCORE_DLL.
mov edx, r12d
mov ecx, eax
call fcn.140006520
jmp 0x140007163
mov rdi, qword [rbp - 0x38]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_LoadLibraryW]
nop dword [rax + rax]
cmp qword [0x1400367a0], r15
je 0x1400071e7
int3
mov qword [0x1400367a0], rax
test rax, rax
jne 0x140007254
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
cmp eax, 0x7e
jne 0x140007224
mov r9, rdi
lea r8, str.Could_not_load_WDSCORE_DLL_from_path:__ws.__Continuing_without_text_file_logging.
mov edx, r12d
mov ecx, r12d
call fcn.140006520
mov r14d, r12d
jmp 0x140007d93
test eax, eax
jle 0x140007233
movzx r14d, ax
or r14d, 0x80070000
mov ecx, 0x80004005
lea r8, str.Failed_to_load_WDSCORE_DLL:__ws
test r14d, r14d
mov r9, rdi
mov edx, r12d
cmovns r14d, ecx
mov ecx, r14d
jmp 0x14000718f
lea rdx, str.WdsSetupLogInit
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x1400367f8], rax
test rax, rax
jne 0x1400072af
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
test eax, eax
jle 0x140007294
movzx r14d, ax
or r14d, 0x80070000
lea r8, str.Failed_to_get_proc_address_for_WdsSetupLogInit.
test r14d, r14d
mov ecx, 0x80004005
mov edx, r12d
cmovns r14d, ecx
jmp 0x14000794f
mov rcx, qword [0x1400367a0]
lea rdx, str.WdsGenericSetupLogInit
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x1400367d0], rax
test rax, rax
jne 0x1400072fc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
test eax, eax
jle 0x1400072f3
movzx r14d, ax
or r14d, 0x80070000
lea r8, str.Failed_to_get_proc_address_for_WdsGenericSetupLogInit.
jmp 0x14000729b
mov rcx, qword [0x1400367a0]
lea rdx, str.WdsGetSetupLog
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x1400367c8], rax
test rax, rax
jne 0x14000734c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
test eax, eax
jle 0x140007340
movzx r14d, ax
or r14d, 0x80070000
lea r8, str.Failed_to_get_proc_address_for_WdsGetSetupLog.
jmp 0x14000729b
mov rcx, qword [0x1400367a0]
lea rdx, str.WdsSetupLogDestroy
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x1400367b0], rax
test rax, rax
jne 0x14000739c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
test eax, eax
jle 0x140007390
movzx r14d, ax
or r14d, 0x80070000
lea r8, str.Failed_to_get_proc_address_for_WdsSetupLogDestroy.
jmp 0x14000729b
mov rcx, qword [0x1400367a0]
lea rdx, str.WdsSetupLogMessageA
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x1400367d8], rax
test rax, rax
jne 0x1400073ec
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
test eax, eax
jle 0x1400073e0
movzx r14d, ax
or r14d, 0x80070000
lea r8, str.Failed_to_get_proc_address_for_WdsSetupLogMessageA.
jmp 0x14000729b
mov rcx, qword [0x1400367a0]
lea rdx, str.ConstructPartialMsgVA
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x1400367e0], rax
test rax, rax
jne 0x14000743c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
test eax, eax
jle 0x140007430
movzx r14d, ax
or r14d, 0x80070000
lea r8, str.Failed_to_get_proc_address_for_ConstructPartialMsgVA.
jmp 0x14000729b
mov rcx, qword [0x1400367a0]
lea rdx, str.CurrentIP
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x1400367f0], rax
test rax, rax
jne 0x14000748c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
test eax, eax
jle 0x140007480
movzx r14d, ax
or r14d, 0x80070000
lea r8, str.Failed_to_get_proc_address_for_CurrentIP.
jmp 0x14000729b
lea rcx, [rbp - 0x40]
call fcn.140006f40
cmp qword [rbp - 0x40], r15
je 0x1400074f8
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], r15d
lea r9, str.SystemSetupInProgress
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMSetup
call fcn.140009078
mov r13d, dword [rsp + 0x50]
test r13d, r13d
jne 0x1400074ee
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], r15d
lea r9, str.OOBEInProgress
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMSetup
call fcn.140009078
mov r13d, dword [rsp + 0x50]
mov r12d, r13d
mov dword [rsp + 0x50], r13d
jmp 0x1400074fd
mov r12d, dword [rsp + 0x50]
mov eax, 0x400
test r12d, r12d
jne 0x14000790c
mov r8d, eax
lea rcx, [rbp + 0x80]
xor edx, edx
call fcn.1400021a2
mov r8d, 0x200
lea rdx, [rbp + 0x80]
lea rcx, str.COMPONENT_BASED_SERVICING_LOGFILE
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetEnvironmentVariableW]
nop dword [rax + rax]
dec eax
cmp eax, 0x1fe
ja 0x140007578
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x40]
call fcn.140008700
mov r14d, eax
test eax, eax
jns 0x14000791a
lea r9, [rbp + 0x80]
lea r8, str.Failed_to_allocate_log_file_name:__ws
mov edx, 1
jmp 0x14000718d
lea rax, [rsp + 0x50]
lea r9, str.EnableLog
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionComponent_Based_Servicing
call fcn.140009078
test eax, eax
js 0x14000793d
mov r12d, dword [rsp + 0x50]
test r12d, r12d
je 0x14000793d
lea rax, [rbp - 0x40]
lea r9, str.LogPath
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSideBySideConfiguration
call fcn.140009234
test eax, eax
js 0x140007644
mov rbx, qword [rbp - 0x40]
cmp word [rbx], r15w
je 0x140007644
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140009824
mov r14d, eax
test eax, eax
jns 0x1400075f7
mov r9, rbx
lea r8, str.Failed_to_get_log_path_from:__ws
jmp 0x14000756e
mov rcx, qword [rbp - 0x28]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r15w
jne 0x1400075ff
test rax, rax
je 0x140007620
mov rcx, qword [rbp - 0x28]
cmp word [rcx + rax*2 - 2], 0x5c
jne 0x140007620
mov word [rcx + rax*2 - 2], r15w
mov rcx, qword [rbp - 0x28]
call fcn.140009ab0
mov r14d, eax
test eax, eax
jns 0x1400076fe
mov r9, qword [rbp - 0x40]
lea r8, str.Failed_to_ensure_that_logging_directory_exists:__ws
jmp 0x14000756e
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.140008700
mov r14d, eax
test eax, eax
jns 0x140007666
mov r9, rsi
lea r8, str.Failed_to_allocate_log_directory_from_windows_directory:__ws
jmp 0x14000756e
lea rcx, [rbp - 0x40]
call fcn.1400089d4
mov r14d, eax
test eax, eax
jns 0x140007686
mov r9, qword [rbp - 0x40]
lea r8, str.Failed_to_ensure_log_directory_ended_with_a_backslash:__ws
jmp 0x14000756e
lea rdx, str.LogsCBS
lea rcx, [rbp - 0x40]
call fcn.1400082c8
mov r14d, eax
test eax, eax
jns 0x1400076ad
mov r9, qword [rbp - 0x40]
lea r8, str.Failed_to_concat_CBS_name_on_to_log_directory:__ws
jmp 0x14000756e
mov rbx, qword [rbp - 0x40]
lea rcx, [rbp - 0x28]
mov rdx, rbx
call fcn.140008700
mov r14d, eax
test eax, eax
jns 0x1400076d3
mov r9, rbx
lea r8, str.Failed_to_store_log_path_argument:__ws
jmp 0x14000756e
lea rdx, str.CBS.log
lea rcx, [rbp - 0x40]
call fcn.1400082c8
mov r14d, eax
test eax, eax
jns 0x140007620
mov r9, qword [rbp - 0x40]
lea r8, str.Failed_to_add_log_name_log_directory:__ws
jmp 0x14000756e
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], r15d
lea r9, str.CBSLogMaxInMB
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSideBySideConfiguration
call fcn.140009078
test eax, eax
js 0x14000772d
mov ebx, dword [rsp + 0x50]
cmp ebx, 0x28
jbe 0x140007732
mov ebx, 0xf
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], r15d
lea r9, str.CBSLogHardMaxInMB
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSideBySideConfiguration
call fcn.140009078
test eax, eax
js 0x140007762
mov r15d, dword [rsp + 0x50]
cmp r15d, ebx
jae 0x140007768
mov r15d, 0x64
mov rcx, qword [rbp - 0x40]
lea rdx, [rbp - 0x30]
and qword [rbp - 0x30], 0
call fcn.1400099f4
test eax, eax
js 0x140007909
shl ebx, 0x14
mov eax, ebx
cmp qword [rbp - 0x30], rax
jbe 0x140007909
lea rax, [rsp + 0x54]
lea r9, str.Start
mov qword [rsp + 0x20], rax
lea rdx, str.SystemCurrentControlSetServicesTrustedInstaller
call fcn.140009078
test eax, eax
js 0x1400077ca
cmp dword [rsp + 0x54], 2
jne 0x1400077ca
shl r15d, 0x14
mov eax, r15d
cmp qword [rbp - 0x30], rax
jbe 0x140007909
lea rcx, [rbp - 0x18]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTime]
nop dword [rax + rax]
movzx ecx, word [rbp - 0xe]
movzx edx, word [rbp - 0x10]
movzx r8d, word [rbp - 0x12]
movzx eax, word [rbp - 0xc]
movzx r10d, word [rbp - 0x16]
movzx r9d, word [rbp - 0x18]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
lea rcx, [rbp - 0x20]
mov dword [rsp + 0x30], edx
lea rdx, str._wsCbsPersist__02d_02d_02d_02d_02d_02d.log
mov dword [rsp + 0x28], r8d
mov r8, qword [rbp - 0x28]
mov dword [rsp + 0x20], r10d
call fcn.140008450
xor r15d, r15d
test eax, eax
js 0x1400078ee
lea rax, [rsp + 0x54]
mov dword [rsp + 0x54], r15d
lea r9, str.MaintenanceFlags
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSideBySide
call fcn.140009078
cmp eax, 0x80070002
jne 0x140007858
mov eax, r15d
jmp 0x14000786e
test eax, eax
jns 0x14000786a
lea r9, str.Failed_getting_maintenance_flags.
mov ebx, 1
jmp 0x14000788c
mov eax, dword [rsp + 0x54]
and eax, 0x7ffeffff
mov dword [rsp + 0x20], eax
call fcn.140009544
mov ebx, 1
test eax, eax
jns 0x14000789b
lea r9, str.Failed_updating_maintenance_flags.
mov r8d, ebx
mov edx, eax
mov ecx, 0x4000000
call fcn.1400066ac
mov rdx, qword [rbp - 0x20]
mov r8d, ebx
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_core_file_l2_1_0.dll_MoveFileExW]
nop dword [rax + rax]
test eax, eax
jne 0x140007911
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
test eax, eax
jle 0x1400078d1
movzx ecx, ax
or ecx, 0x80070000
mov rax, qword [rbp - 0x20]
lea r8, str.Failed_to_move_log:__ws_to_backup_log:__ws__continuing_anyway.
mov r9, qword [rbp - 0x40]
mov edx, ebx
mov qword [rsp + 0x20], rax
call fcn.140006520
jmp 0x140007911
mov r9, qword [rbp - 0x40]
lea r8, str.Could_not_allocate_a_backup_name_for_the_log_file:__ws__well_just_continue_with_our_current_log_file.
mov ebx, 1
mov ecx, eax
mov edx, ebx
call fcn.140006520
jmp 0x140007911
xor r15d, r15d
mov ebx, 1
test r12d, r12d
je 0x140007cd8
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14000795c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
jmp 0x140007960
mov r14d, 0x80004004
lea r8, str.WDS_logging_is_not_enabled_in_the_registry__continuing_without_logging.
mov edx, 1
mov ecx, r14d
call fcn.140006520
jmp 0x140007d2c
test al, 0x10
je 0x1400079d3
lea rax, [rsp + 0x54]
mov dword [rsp + 0x54], r15d
lea r9, str.CBSLogCompress
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSideBySideConfiguration
call fcn.140009078
mov ecx, dword [rsp + 0x54]
test eax, eax
mov r12d, 1
cmovs ecx, r12d
test ecx, ecx
je 0x1400079d9
mov rcx, qword [rbp - 0x40]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
mov qword [rbp - 0x30], r15
call fcn.14000966c
mov rcx, qword [rbp - 0x30]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400079d9
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
test eax, eax
jns 0x1400079d9
lea ecx, [r12 + 6]
int 0x29
jmp 0x1400079d9
mov r12d, 1
test r13d, r13d
je 0x140007a33
movabs r10, 0xd5a5a7df3eded070
mov rbx, qword [rbp - 0x40]
mov edx, 0xb000
mov rax, qword [0x1400367f8]
mov r8, rbx
xor ecx, ecx
call qword [0x1400187f0]
test rax, rax
jne 0x140007d27
mov r9, rdi
mov qword [rsp + 0x20], rbx
lea r8, str.Failed_to_initialize_logging_with_dll:__ws__log_directory:__ws
mov edx, r12d
mov ecx, 0x8000ffff
call fcn.140006520
mov r14d, 0x8000ffff
jmp 0x140007d2c
movabs r10, 0xc744176334503970
mov rbx, qword [rbp - 0x40]
mov edx, 0x8000
mov rax, qword [0x1400367d0]
mov rcx, rbx
call qword [0x1400187f0]
test eax, eax
jne 0x140007a7e
mov ecx, 0x80004005
mov qword [rsp + 0x20], rbx
mov r9, rdi
lea r8, str.Failed_to_initialize_logging_with_DLL:__ws__log_file:__ws
mov edx, r12d
mov r14d, ecx
call fcn.140006520
jmp 0x140007d2c
mov r13d, 0x400
lea rcx, [rbp]
xor edx, edx
mov r8d, 0x80
mov ebx, r13d
call fcn.1400021a2
mov r8d, 0x40
lea rdx, [rbp]
lea rcx, str.COMPONENT_BASED_SERVICING_LOGLEVEL
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetEnvironmentVariableW]
nop dword [rax + rax]
dec eax
cmp eax, 0x3e
ja 0x140007ae7
mov r8d, 0x10
mov qword [rsp + 0x58], r15
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.140002172
mov ebx, eax
test eax, eax
jne 0x140007ae7
call fcn.1400020ca
cmp dword [rax], 0x22
cmove ebx, r13d
movabs r10, 0xbd61af6854d79070
mov rax, qword [0x1400367c8]
call qword [0x1400187f0]
xor r12d, r12d
mov r15, rax
test rax, rax
jne 0x140007b22
lea r8, str.Failed_to_acquire_log_manager
mov ecx, 0x8000ffff
lea edx, [rax + 1]
call fcn.140006520
jmp 0x140007d24
cmp ebx, 0x100
je 0x140007b4b
cmp ebx, 0x200
je 0x140007b44
cmp ebx, r13d
mov eax, 0x4000000
mov ecx, 0x9000000
cmovne eax, ecx
jmp 0x140007b4e
mov eax, 0x2000000
jmp 0x140007b4e
mov eax, r12d
mov dword [rsp + 0x68], eax
lea rcx, [0x14001acf8]
lea rax, [0x14001ad00]
mov qword [rsp + 0x60], rcx
mov qword [rbp - 0x70], rax
mov ebx, 1
lea rax, [0x14001ad08]
mov qword [rsp + 0x6c], rbx
mov qword [rbp - 0x60], rax
lea rax, [0x14001ad10]
mov qword [rbp - 0x58], rax
lea rax, [0x14001ad18]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x68], rcx
mov dword [rbp - 0x48], r12d
mov qword [rbp - 0x80], r12
mov dword [rbp - 0x78], r12d
mov rax, qword [r15]
movabs r10, 0xdc3007dc7a5fe370
mov rax, qword [rax]
lea rcx, [0x1400367c0]
mov qword [rsp + 0x38], rcx
lea r9, [0x14001af90]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x60]
lea rcx, [0x14001afa0]
mov qword [rsp + 0x28], rcx
lea rdx, [0x14001af80]
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x20], rcx
mov rcx, r15
call qword [0x1400187f0]
test eax, eax
jne 0x140007c20
lea r8, str.Failed_to_configure_logging_settings
mov edx, ebx
mov ecx, 0x8000ffff
call fcn.140006520
jmp 0x140007d0d
mov rcx, qword [0x1400367a0]
lea rdx, str.WdsLogRegisterProvider
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
je 0x140007ccf
movabs r10, 0xab1c2f6e3659d170
lea r13, [0x14001af70]
mov rcx, r13
lea rdx, [0x140006970]
call qword [0x1400187f0]
cmp eax, ebx
jne 0x140007ccf
mov rax, qword [r15]
movabs r10, 0xdc3007dc7a5fe370
mov rax, qword [rax]
lea rcx, [0x140036800]
mov qword [rsp + 0x38], rcx
lea r9, [0x14001af90]
mov qword [rsp + 0x30], r12
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x28], r13
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
lea rdx, [0x14001af80]
mov rcx, r15
call qword [0x1400187f0]
test eax, eax
jne 0x140007cdd
lea r9, str.Failed_to_add_CbsLogMonitor_provider
xor r8d, r8d
xor edx, edx
mov ecx, 0x4000000
call fcn.1400066ac
jmp 0x140007cdd
lea r9, str.Failed_to_register_CbsLogMonitor_provider
jmp 0x140007cbe
test r13d, r13d
jne 0x140007d24
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140007d08
call fcn.14000699c
mov r14d, eax
test eax, eax
jns 0x140007d08
lea r9, str.Failed_to_delete_extra_backup_log_files.
mov r8d, ebx
mov edx, eax
mov ecx, 0x4000000
call fcn.1400066ac
test r15, r15
je 0x140007d24
movabs r10, 0x85f13e9656da4870
mov rax, qword [0x1400367b0]
call qword [0x1400187f0]
xor r15d, r15d
test r14d, r14d
jns 0x140007d93
mov rcx, qword [0x1400367a0]
mov qword [0x1400367f8], r15
mov qword [0x1400367d0], r15
mov qword [0x1400367c8], r15
mov qword [0x1400367b0], r15
mov qword [0x1400367d8], r15
mov qword [0x1400367e0], r15
mov qword [0x1400367f0], r15
test rcx, rcx
je 0x140007d93
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_FreeLibrary]
nop dword [rax + rax]
test eax, eax
jne 0x140007d8c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, 7
int 0x29
mov qword [0x1400367a0], r15
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140007da5
add rcx, 0xfffffffffffffff8
call fcn.1400010cc
test rsi, rsi
je 0x140007db3
lea rcx, [rsi - 8]
call fcn.1400010cc
test rdi, rdi
je 0x140007dc1
lea rcx, [rdi - 8]
call fcn.1400010cc
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140007dd3
add rcx, 0xfffffffffffffff8
call fcn.1400010cc
mov rbx, qword [rbp - 0x40]
test rbx, rbx
je 0x140007de5
lea rcx, [rbx - 8]
call fcn.1400010cc
mov eax, r14d
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.140001450
lea r11, [rsp + 0x590]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret