Function at 0x140009964
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xbe8]
sub rsp, 0xcc0
mov qword [rbp + 0xa0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14005b8e0]
xor rax, rsp
mov qword [rbp + 0xbb0], rax
mov rsi, rcx
xor r14d, r14d
mov byte [rsp + 0x54], r14b
lea rdx, str.4278657d_05e1_4605_a742_ce06e7b9fe66
lea rcx, [rbp + 0x330]
call fcn.14000c6b4
nop
mov qword [rbp + 0x320], r14
mov qword [rbp + 0x328], 7
mov word [rbp + 0x310], r14w
mov ebx, 0x104
mov edx, ebx
lea rcx, [rbp + 0x310]
call fcn.14000c52c
lea rdx, [rbp + 0x310]
cmp qword [rbp + 0x328], 8
cmovae rdx, qword [rbp + 0x310]
lea rcx, [rbp + 0x330]
cmp qword [rbp + 0x348], 8
cmovae rcx, qword [rbp + 0x330]
mov r8d, ebx
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetEnvironmentVariableW]
nop dword [rax + rax]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xcb
je 0x140009a75
test ebx, ebx
je 0x140009a75
mov edx, ebx
lea rcx, [rbp + 0x310]
call fcn.14000c52c
lea rcx, [rbp + 0x310]
call fcn.140007398
imul ecx, eax, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop dword [rax + rax]
nop
mov rdx, qword [rbp + 0x328]
cmp rdx, 8
jb 0x140009a96
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x310]
call fcn.14000f8e8
mov qword [rbp + 0x320], r14
mov qword [rbp + 0x328], 7
mov word [rbp + 0x310], r14w
mov rdx, qword [rbp + 0x348]
cmp rdx, 8
jb 0x140009ad1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x330]
call fcn.14000f8e8
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
nop dword [rax + rax]
movzx r13d, r14b
mov edi, 1
test eax, eax
cmovns r13d, edi
mov byte [rsp + 0x54], r13b
lea rdx, str.Started_ExecuteListenForPushNotifications
xor ecx, ecx
call fcn.14000bb5c
mov byte [rsp + 0x50], r14b
lea rcx, [rsp + 0x50]
call fcn.14002f630
cmp byte [rsp + 0x50], r14b
je 0x140009b2a
mov r8d, eax
lea rdx, str.Error:_The_device_is_not_configured_for_dual_scan._In_order_for_expedite_to_work_dual_scan_needs_to_be_enabled__:_HR__0x_08x
mov ecx, eax
call fcn.14000bb5c
call fcn.14000bcd8
mov rbx, rax
movabs rax, 0x800000000001
lea r12, [0x14003bfe0]
mov r15d, 0x80000000
cmp dword [rbx], edi
jbe 0x140009bb5
test qword [rbx + 0x10], rax
je 0x140009bb5
mov rcx, qword [rbx + 0x18]
and rcx, rax
cmp rcx, qword [rbx + 0x18]
jne 0x140009bb5
call fcn.14000b708
mov qword [rsp + 0x58], rax
call fcn.14000b500
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rdx, [0x14004f6a5]
mov rcx, rbx
call fcn.140001a64
lea rcx, [rbp + 0xd0]
call fcn.140015318
nop
lea rcx, [rbp + 0x810]
call fcn.140019484
nop
lea r8, [rbp + 0x810]
lea rdx, [rbp + 0xd0]
call fcn.14001938c
mov r15d, eax
cmp eax, edi
jbe 0x140009bfa
mov r8d, eax
lea rdx, str.Error:_Failed_to_read_update_health_service_information_settings_from_registry_hr__0x_08x.
mov ecx, eax
call fcn.14000bb5c
lea rax, str.UHS.POSTINGNOWENABLED
mov qword [rbp - 0x40], rax
lea rax, str.UHS.POSTINGDEFERREDMINUTES
mov qword [rbp - 0x38], rax
lea rax, str.UHS.POSTINGFORCEDMINUTES
mov qword [rbp - 0x30], rax
lea rax, str.SoftwareMicrosoftCloudManagedUpdateuhs_remoteaction
mov qword [rbp - 0x28], rax
lea rax, str.Enabled
mov qword [rbp - 0x20], rax
lea rax, str.ClientVersion
mov qword [rbp - 0x18], rax
lea rax, [0x14003f41c]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
lea rax, [0x14003f420]
mov qword [rbp], rax
lea rax, str.DeferredPostingDeviceInformationTime
mov qword [rbp + 8], rax
lea rax, str.ForcedPostingDeviceInformationTime
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], r14d
mov qword [rbp + 0x20], 0xb4
mov qword [rbp + 0x28], 0x10e0
mov r12b, r14b
mov byte [rsp + 0x50], r14b
cmp dword [rsi + 0x5c], r14d
jne 0x14000a7eb
movabs rdi, 0x400000000001
mov byte [rsp + 0x51], r14b
mov byte [rsp + 0x53], r14b
lea rdx, str.Starting_push_notification_listener_iteration
xor ecx, ecx
call fcn.14000bb5c
lea rdx, str.Running_applicabilty_checks
xor ecx, ecx
call fcn.14000bb5c
call fcn.140007f64
mov r8d, eax
lea rdx, str.Result_of_checking_for_expedite_registry_keys_:_HR__0x_08x
mov ecx, eax
call fcn.14000bb5c
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersion
call fcn.14001a738
test al, al
je 0x140009ddc
mov byte [rsp + 0x52], r14b
lea r9, str.DisableUHSActions
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersion
lea rcx, [rsp + 0x52]
call fcn.14001a5a8
test eax, eax
jne 0x140009db1
cmp byte [rsp + 0x52], r14b
je 0x140009ddc
lea rdx, str.Error:Glass_break_key_was_set._Glass_break_is_a_reg_key_that_can_be_set_to_prevent_remediation_actions
xor ecx, ecx
call fcn.14000bb5c
call fcn.14000bcd8
mov rbx, rax
cmp dword [rax], 4
jbe 0x140009da9
test qword [rax + 0x10], rdi
je 0x140009da9
mov rcx, qword [rax + 0x18]
and rcx, rdi
cmp rcx, qword [rax + 0x18]
jne 0x140009da9
call fcn.14000b708
mov qword [rsp + 0x60], rax
call fcn.14000b500
mov qword [rsp + 0x78], rax
lea rax, [0x14003bfe0]
mov qword [rsp + 0x58], rax
mov eax, 0x80000000
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea rdx, [0x14004fbf2]
mov rcx, rbx
call fcn.140001a64
mov edx, dword [rbp + 0xb10]
jmp 0x140009dc7
mov r8d, eax
lea rdx, str.Error:_Failed_to_check_the_device_for_glass_break._Glass_break_is_a_reg_key_that_can_set_to_prevent_remediation_actions_:_HR__0x_08x
mov ecx, eax
call fcn.14000bb5c
mov edx, 0x3c
mov rcx, rsi
call fcn.1400075f4
test al, al
je 0x14000a7eb
jmp 0x14000a783
mov qword [rsp + 0x58], r14
mov ebx, r14d
mov dil, r14b
lea rdx, [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetGetAadJoinInformation]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
test eax, eax
jne 0x140009e30
test rcx, rcx
je 0x140009e41
mov edx, dword [rcx]
test edx, edx
je 0x140009e30
sub edx, 1
je 0x140009e2d
cmp edx, 1
je 0x140009e2d
mov eax, 0x80004005
mov ebx, eax
mov ecx, eax
call fcn.14000c4dc
mov rcx, qword [rsp + 0x58]
jmp 0x140009e30
mov dil, 1
test rcx, rcx
je 0x140009e41
call qword [sym.imp.NETAPI32.dll_NetFreeAadJoinInformation]
nop dword [rax + rax]
mov ecx, ebx
call fcn.14000c400
test ebx, ebx
jne 0x14000a757
test dil, dil
jne 0x140009ef8
lea rdx, str.Error:Device_is_not_AAD_joined._Device_needs_to_be_AAD_joined_in_order_for_the_expedite_to_work._Waiting_for_next_check
xor ecx, ecx
call fcn.14000bb5c
call fcn.14000bcd8
mov rbx, rax
movabs rdi, 0x400000000001
cmp dword [rax], 4
jbe 0x140009eee
test qword [rax + 0x10], rdi
je 0x140009eee
mov rcx, qword [rax + 0x18]
and rcx, rdi
cmp rcx, qword [rax + 0x18]
jne 0x140009eee
call fcn.14000b708
mov qword [rsp + 0x60], rax
call fcn.14000b500
mov qword [rbp - 0x78], rax
lea rax, [0x14003bfe0]
mov qword [rsp + 0x58], rax
mov eax, 0x80000000
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea rdx, [0x14004f4f1]
mov rcx, rbx
call fcn.140001a64
mov edx, pe_nt_image_headers64
jmp 0x140009dc7
lea rdx, str.Device_is_AAD_joined
xor ecx, ecx
call fcn.14000bb5c
and qword [rbp + 0x350], 0
mov qword [rbp + 0x368], r14
mov eax, 7
mov qword [rbp + 0x370], rax
mov word [rbp + 0x358], r14w
mov qword [rbp + 0x388], r14
mov qword [rbp + 0x390], rax
mov word [rbp + 0x378], r14w
mov qword [rbp + 0x3a8], r14
mov qword [rbp + 0x3b0], rax
mov word [rbp + 0x398], r14w
mov qword [rbp + 0x3c8], r14
mov qword [rbp + 0x3d0], rax
mov word [rbp + 0x3b8], r14w
mov qword [rbp + 0x3e8], r14
mov qword [rbp + 0x3f0], rax
mov word [rbp + 0x3d8], r14w
mov qword [rbp + 0x408], r14
mov qword [rbp + 0x410], rax
mov word [rbp + 0x3f8], r14w
mov qword [rbp + 0x428], r14
mov qword [rbp + 0x430], rax
mov word [rbp + 0x418], r14w
mov qword [rbp + 0x448], r14
mov qword [rbp + 0x450], rax
mov word [rbp + 0x438], r14w
mov qword [rbp + 0x468], r14
mov qword [rbp + 0x470], rax
mov word [rbp + 0x458], r14w
mov dword [rbp + 0x478], r14d
mov qword [rbp + 0x490], r14
mov qword [rbp + 0x498], rax
mov word [rbp + 0x480], r14w
lea rdx, str.Performing_WuFB_DS_enrollment_check._The_tenant_needs_to_be_enrolled_in_Intune_to_be_able_to_use_this_expedite_feature.
xor ecx, ecx
call fcn.14000bb5c
lea rcx, [rbp + 0x350]
call fcn.140020744
mov edi, eax
test eax, eax
jne 0x14000a67a
cmp dword [rbp + 0x350], r14d
je 0x14000a67a
call fcn.14000bcd8
mov rbx, rax
cmp dword [rax], 1
jbe 0x14000a13c
movabs rax, 0x800000000001
test qword [rbx + 0x10], rax
je 0x14000a13c
mov rcx, qword [rbx + 0x18]
and rcx, rax
cmp rcx, qword [rbx + 0x18]
jne 0x14000a13c
mov eax, dword [rbp + 0x478]
mov dword [rsp + 0x68], eax
call fcn.14000b708
mov rdi, rax
call fcn.14000b500
mov qword [rbp - 0x68], rax
mov eax, 0x80000000
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x68]
mov qword [rbp + 0xba0], rax
mov qword [rbp + 0xba8], 4
test rdi, rdi
je 0x14000a0ae
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], r14b
jne 0x14000a0a1
inc eax
jmp 0x14000a0ba
lea rdi, [0x14003af80]
mov eax, 1
mov qword [rbp + 0xb90], rdi
mov dword [rbp + 0xb98], eax
mov dword [rbp + 0xb9c], r14d
lea rax, [rbp - 0x68]
mov qword [rbp + 0xb80], rax
mov qword [rbp + 0xb88], 8
lea rax, [0x14003bfe0]
mov qword [rbp + 0xb70], rax
mov qword [rbp + 0xb78], 8
lea rax, [rbp - 0x60]
mov qword [rbp + 0xb60], rax
mov qword [rbp + 0xb68], 8
lea rax, [rbp + 0xb40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 7
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14004faa9]
mov rcx, rbx
call fcn.1400010a4
lea rdx, str.Device_is_enrolled_in_WuFB_DS_service._Checking_if_polling_can_be_performed.
xor ecx, ecx
call fcn.14000bb5c
lea rax, str.SoftwareMicrosoftCloudManagedUpdateuhspolling
mov qword [rbp + 0x30], rax
lea rax, str.LastPollingTime
mov qword [rbp + 0x38], rax
lea rax, str.UHS.POLLINGINTERVALSMALLINMINUTES
mov qword [rbp + 0x40], rax
lea rax, str.UHS.POLLINGINTERVALBIGINMINUTES
mov qword [rbp + 0x48], rax
lea rax, str.UHS.UPLOADACTIONHISTORY
mov qword [rbp + 0x50], rax
lea rax, str.FastPollingStartTime
mov qword [rbp + 0x58], rax
lea rax, str.CurrentRequestId
mov qword [rbp + 0x60], rax
lea rax, str.PollingHistorySourceDLS
mov qword [rbp + 0x68], rax
lea rax, str.PollingHistorySourceBlob
mov qword [rbp + 0x70], rax
lea rax, str.LastPollingHistoryUploadTime
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x80], 5
lea rax, [0x14003b210]
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x90], r14d
mov dword [rbp + 0x94], 0x5a0
mov eax, 0xb40
mov dword [rbp + 0x98], eax
mov dword [rbp + 0x9c], eax
lea rdx, [rbp + 0x350]
lea rcx, [rbp + 0x1c0]
call fcn.14000aaa4
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14001da00
test eax, eax
je 0x14000a223
lea rdx, str.Failed_to_load_tenant_enrollment_settings_for_PollingScheduler
mov ecx, eax
call fcn.14000bb5c
lea rdx, [rbp + 0x350]
lea rcx, [rbp + 0x1c0]
call fcn.14000aaa4
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14001f8ec
test eax, eax
je 0x14000a254
lea rdx, str.Failed_to_load_tenant_enrollment_settings_for_RemoteActionScheduler
mov ecx, eax
call fcn.14000bb5c
lea rax, [rbp + 0x330]
mov qword [rsp + 0x70], rax
lea rdx, [rbp + 0x458]
lea rcx, [rbp + 0x330]
call fcn.14000c744
mov rdi, rax
lea rax, [rbp + 0x310]
mov qword [rsp + 0x60], rax
lea rdx, [rbp + 0x418]
lea rcx, [rbp + 0x310]
call fcn.14000c744
mov rbx, rax
lea rdx, [rbp + 0x3f8]
lea rcx, [rbp + 0xa8]
call fcn.14000c744
nop
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.140020860
test eax, eax
je 0x14000a2d1
mov r8d, eax
lea rdx, str.Error:_Failed_to_update_server_endpoint_to_the_registry__hr__0x_08x._Skip_this_step.
mov ecx, eax
call fcn.14000bb5c
jmp 0x14000a2df
lea rdx, str.Updated_the_WuFB_DS_server_endpoint_to_registery
xor ecx, ecx
call fcn.14000bb5c
mov byte [rsi + 0x58], r14b
mov rdx, qword [rsi + 0x50]
lea rcx, [rbp + 0x330]
call fcn.14000c6b4
mov rdx, rax
lea rcx, [rbp + 0x438]
call fcn.14000f3dc
mov bl, al
mov rdx, qword [rbp + 0x348]
cmp rdx, 8
jb 0x14000a325
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x330]
call fcn.14000f8e8
test bl, bl
je 0x14000a33b
mov byte [rsi + 0x58], 1
lea rdx, str.Post_hash_is_enabled
xor ecx, ecx
call fcn.14000bb5c
call fcn.1400094a8
xor ecx, ecx
test al, al
je 0x14000a3a9
lea rdx, str.Poll_time_interval_has_passed._Checking_for_active_notification
call fcn.14000bb5c
lea rdx, [rsp + 0x51]
mov rcx, rsi
call fcn.140007760
cmp eax, 0xc0000010
jne 0x14000a36f
lea rdx, str.Error:_There_is_no_policy_available_for_this_device_in_blob_storage
jmp 0x14000a395
test eax, eax
je 0x14000a38e
mov r8d, eax
lea rdx, str.Error:_Failed_to_check_and_act_on_notification:_HR__0x_08x
mov ecx, eax
call fcn.14000bb5c
mov edx, 0x3c
jmp 0x14000a742
lea rdx, str.Finished_checking_for_active_notification
xor ecx, ecx
call fcn.14000bb5c
cmp byte [rsp + 0x51], r14b
jne 0x14000a7df
jmp 0x14000a3b5
lea rdx, str.Poll_time_interval_has_not_elapsed._Will_check_after_some_time_and_poll
call fcn.14000bb5c
call fcn.140009784
lea rcx, [rbp - 0x40]
call fcn.14001fe08
test eax, eax
setne dil
lea rcx, [rbp - 0x40]
call fcn.14001ff50
test eax, eax
setne r14b
lea rcx, [rbp + 0x4a0]
call fcn.140021358
nop
test r12b, r12b
jne 0x14000a493
lea rdx, str.Checking_if_the_client_is_newly_installed_on_the_device._If_it_is_newly_installed_then_uploads_the_OsVersion_related_information_to_the_server.
xor ecx, ecx
call fcn.14000bb5c
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.14001fbf0
mov ebx, eax
movzx r12d, byte [rsp + 0x50]
mov r9d, r12d
mov r8d, eax
lea rdx, str.Result_of_checking_post_on_first_install:_HR__0x_08x__First_Time_Result:__d
mov ecx, eax
call fcn.14000bb5c
test ebx, ebx
jne 0x14000a48b
test r12b, r12b
je 0x14000a48b
lea rdx, str.Client_is_newly_installed_on_the_device._Attempting_to_upload_device_information
xor ecx, ecx
call fcn.14000bb5c
mov r9b, 1
mov r8b, r9b
lea rdx, [rbp + 0x4a0]
mov rcx, rsi
call fcn.140007c34
xor r14d, r14d
test eax, eax
jne 0x14000a475
lea rdx, str.Successfully_attempted_upload_of_the_device_information
xor ecx, ecx
call fcn.14000bb5c
lea rcx, [rbp - 0x40]
call fcn.140020094
jmp 0x14000a65c
mov r8d, eax
lea rdx, str.Error:Failed_to_upload_the_device_information_to_the_WuFB_DS_server:_HR__0x_08x
mov ecx, eax
call fcn.14000bb5c
jmp 0x14000a65c
mov r12b, 1
mov byte [rsp + 0x50], r12b
cmp dword [rbp + 0xb08], 0
je 0x14000a5c3
lea rcx, [rbp + 0x4a0]
call fcn.140022f44
cmp dword [rbp + 0xb08], 0
je 0x14000a5c3
test eax, eax
jne 0x14000a5c3
lea r8, [rbp + 0x4a0]
cmp qword [rbp + 0x4b8], 8
cmovae r8, qword [rbp + 0x4a0]
lea rdx, str.Successfully_completed_setup_of_push_notifications_listening_on__s
xor ecx, ecx
call fcn.14000bb5c
lea rdx, str.Checking_if_the_client_needs_to_upload_latest_information_to_the_server._It_uploads_the_information_to_the_server_when_build_version_or_communication_channel_has_any_change.
xor ecx, ecx
call fcn.14000bb5c
test dil, dil
jne 0x14000a50e
test r14b, r14b
jne 0x14000a50e
lea rdx, str.Client_does_not__need_to_upload_latest_information_to_the_server._The_wait_interval_has_not_elapsed_or_device_version_has_not_changed.
xor ecx, ecx
call fcn.14000bb5c
jmp 0x14000a55f
lea rdx, str.Client_needs_to_upload_latest_information_to_the_server._Attempting_to_upload_device_information_to_the_server.
xor ecx, ecx
call fcn.14000bb5c
mov r9b, dil
mov r8b, 1
lea rdx, [rbp + 0x4a0]
mov rcx, rsi
call fcn.140007c34
test eax, eax
jne 0x14000a54e
lea rdx, str.Successfully_attempted_upload_of_the_device_information
xor ecx, ecx
call fcn.14000bb5c
lea rcx, [rbp - 0x40]
call fcn.140020094
jmp 0x14000a55f
mov r8d, eax
lea rdx, str.Error:Failed_to_upload_the_device_information_to_theWuFB_DSserver:_HR__0x_08x
mov ecx, eax
call fcn.14000bb5c
lea rax, [rsp + 0x53]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x51]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x4e8]
lea rdx, [rbp + 0x4e0]
mov rcx, rsi
call fcn.140008d6c
cmp byte [rsp + 0x51], 0
jne 0x14000a78e
cmp byte [rsp + 0x53], 0
je 0x14000a5ad
test dil, dil
jne 0x14000a78e
test r14b, r14b
jne 0x14000a78e
lea rdx, str.Client_does_not__need_to_upload_latest_information_to_the_server._The_wait_interval_has_not_elapsed_or_device_version_has_not_changed.
xor ecx, ecx
call fcn.14000bb5c
xor r14d, r14d
jmp 0x14000a65c
test dil, dil
jne 0x14000a5f3
test r14b, r14b
jne 0x14000a5f3
mov r8d, 0x3c
lea rdx, str.WNS_is_not_enabled_for_this_device_and_polling_has_been_checked.__Waiting_for__d_minutes
xor ecx, ecx
call fcn.14000bb5c
mov edx, 0x3c
mov rcx, rsi
call fcn.1400075f4
xor r14d, r14d
jmp 0x14000a654
lea rdx, str.Device_must_upload_the_information_to_server__since_either_the_time_interval_has_elapsed_or_device_version_has_changed_since_last_upload._Uploading_device_information_to_server
xor ecx, ecx
call fcn.14000bb5c
mov r9b, dil
mov r8b, 1
lea rdx, [rbp + 0x4a0]
mov rcx, rsi
call fcn.140007c34
xor r14d, r14d
test eax, eax
jne 0x14000a636
lea rdx, str.Successfully_attempted_upload_of_device_information_to_server__setting_delay_for_the_next_forced_reboot.
xor ecx, ecx
call fcn.14000bb5c
lea rcx, [rbp - 0x40]
call fcn.140020094
jmp 0x14000a647
mov r8d, eax
lea rdx, str.Error:Failed_to_upload_the_device_information_to_the_WuFB_DS_server:_HR__0x_08x
mov ecx, eax
call fcn.14000bb5c
mov edx, 0x3c
mov rcx, rsi
call fcn.1400075f4
test al, al
je 0x14000a7d2
lea rcx, [rbp + 0x4a0]
call fcn.140021d00
nop
lea rcx, [rbp + 0x350]
call fcn.14000a890
jmp 0x14000a779
mov r8d, edi
lea rdx, str.Error:Device_doesnt_belong_to_any_WuFB_DS_tenant._The_client_cannot_contact_the_server_until_the_tenant_for_the_device_is_enrolled_in_Dss:_HR__0x_08x
mov ecx, edi
call fcn.14000bb5c
call fcn.14000bcd8
mov rbx, rax
cmp dword [rax], 1
jbe 0x14000a73c
movabs rax, 0x800000000001
test qword [rbx + 0x10], rax
je 0x14000a73c
mov rcx, qword [rbx + 0x18]
and rcx, rax
cmp rcx, qword [rbx + 0x18]
jne 0x14000a73c
mov eax, dword [rbp + 0x478]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x58], edi
call fcn.14000b708
mov qword [rsp + 0x60], rax
call fcn.14000b500
mov qword [rbp - 0x58], rax
lea rax, [0x14003bfe0]
mov qword [rsp + 0x70], rax
mov eax, 0x80000000
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [0x14004fb32]
mov rcx, rbx
call fcn.14000180c
mov edx, dword [rbp + 0xb18]
mov rcx, rsi
call fcn.1400075f4
test al, al
je 0x14000a7df
jmp 0x14000a669
mov r8d, ebx
lea rdx, str.Error:Failed_to_get_device_AAD_join_info._Device_needs_to_be_AAD_joined_in_order_for_expedite_to_work_hr__0x_08x.
mov ecx, ebx
call fcn.14000bb5c
mov edx, 0x3c
mov rcx, rsi
call fcn.1400075f4
test al, al
je 0x14000a7eb
movabs rdi, 0x400000000001
cmp dword [rsi + 0x5c], r14d
jne 0x14000a7eb
jmp 0x140009c9c
mov r9b, dil
xor r8d, r8d
lea rdx, [rbp + 0x4a0]
mov rcx, rsi
call fcn.140007c34
test eax, eax
jne 0x14000a7c0
lea rdx, str.Attempted_upload_of_device_information_to_server__setting_delay_for_the_next_forced_reboot.
xor ecx, ecx
call fcn.14000bb5c
lea rcx, [rbp - 0x40]
call fcn.140020094
jmp 0x14000a7d2
mov r8d, eax
lea rdx, str.Error:Failed_to_upload_the_device_information_to_the_WuFB_DS_server:_HR__0x_08x
mov ecx, eax
call fcn.14000bb5c
nop
lea rcx, [rbp + 0x4a0]
call fcn.140021d00
nop
lea rcx, [rbp + 0x350]
call fcn.14000a890
lea rdx, str.Completed_ExecuteListenForPushNotifications
xor ecx, ecx
call fcn.14000bb5c
mov rcx, qword [rsi + 0x60]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
nop dword [rax + rax]
test eax, eax
jne 0x14000a82a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx r15d, ax
or r15d, 0x80070000
test eax, eax
cmovle r15d, eax
lea rcx, [rbp + 0x810]
call fcn.1400198c0
nop
lea rcx, [rbp + 0xd0]
call fcn.1400153f4
nop
test r13b, r13b
je 0x14000a855
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
nop dword [rax + rax]
mov eax, r15d
mov rcx, qword [rbp + 0xbb0]
xor rcx, rsp
call fcn.140034af0
lea r11, [rsp + 0xcc0]
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