Function at 0x140009444
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xbf8]
sub rsp, 0xcd0
mov qword [rbp + 0xb0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140056920]
xor rax, rsp
mov qword [rbp + 0xbc0], rax
mov rsi, rcx
xor r15d, r15d
mov byte [rsp + 0x54], r15b
lea rdx, str.4278657d_05e1_4605_a742_ce06e7b9fe66
lea rcx, [rbp + 0x320]
call fcn.14000be90
nop
movdqa xmm0, xmmword [0x140047d20]
movdqu xmmword [rbp + 0x310], xmm0
mov word [rbp + 0x300], r15w
mov ebx, 0x104
mov edx, ebx
lea rcx, [rbp + 0x300]
call fcn.14000bce0
lea rdx, [rbp + 0x300]
cmp qword [rbp + 0x318], 8
cmovae rdx, qword [rbp + 0x300]
lea rcx, [rbp + 0x320]
cmp qword [rbp + 0x338], 8
cmovae rcx, qword [rbp + 0x320]
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 0x140009553
test ebx, ebx
je 0x140009553
mov edx, ebx
lea rcx, [rbp + 0x300]
call fcn.14000bce0
lea rcx, [rbp + 0x300]
call fcn.140006f54
imul ecx, eax, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop dword [rax + rax]
nop
lea rcx, [rbp + 0x300]
call fcn.14000be20
nop
lea rcx, [rbp + 0x320]
call fcn.14000be20
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 r14d, r15b
mov r13d, 1
test eax, eax
cmovns r14d, r13d
mov dword [rsp + 0x58], r14d
mov byte [rsp + 0x54], r14b
lea rdx, str.Started_ExecuteListenForPushNotifications
xor ecx, ecx
call fcn.14000b5ac
mov byte [rsp + 0x50], r15b
lea rcx, [rsp + 0x50]
call fcn.14002b35c
cmp byte [rsp + 0x50], r15b
je 0x1400095cb
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.14000b5ac
call fcn.14000b728
mov rdi, rax
movabs rax, 0x800000000001
mov r12d, 0x80000000
cmp dword [rdi], r13d
jbe 0x140009658
test qword [rdi + 0x10], rax
je 0x140009658
mov rcx, qword [rdi + 0x18]
and rcx, rax
cmp rcx, qword [rdi + 0x18]
jne 0x140009658
call fcn.14000afd8
mov rbx, rax
call fcn.14000b18c
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x80], rbx
lea rax, [0x140037e50]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea rdx, [0x14004b23d]
mov rcx, rdi
call fcn.140001a50
lea rcx, [rbp + 0xc0]
call fcn.1400146b4
nop
lea rcx, [rbp + 0x820]
call fcn.140017ed8
nop
lea r8, [rbp + 0x820]
lea rdx, [rbp + 0xc0]
call fcn.140017de0
mov r12d, eax
cmp eax, r13d
jbe 0x14000969e
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.14000b5ac
lea rax, str.UHS.POSTINGNOWENABLED
mov qword [rbp - 0x30], rax
lea rax, str.UHS.POSTINGDEFERREDMINUTES
mov qword [rbp - 0x28], rax
lea rax, str.UHS.POSTINGFORCEDMINUTES
mov qword [rbp - 0x20], rax
lea rax, str.SoftwareMicrosoftCloudManagedUpdateuhs_remoteaction
mov qword [rbp - 0x18], rax
lea rax, str.Enabled
mov qword [rbp - 0x10], rax
lea rax, str.ClientVersion
mov qword [rbp - 8], rax
lea rax, [0x14003b28c]
mov qword [rbp], rax
mov qword [rbp + 8], rax
lea rax, [0x14003b290]
mov qword [rbp + 0x10], rax
lea rax, str.DeferredPostingDeviceInformationTime
mov qword [rbp + 0x18], rax
lea rax, str.ForcedPostingDeviceInformationTime
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], r15d
mov qword [rbp + 0x30], 0xb4
mov qword [rbp + 0x38], 0x10e0
mov r13b, r15b
mov byte [rsp + 0x50], r15b
cmp dword [rsi + 0x5c], r15d
jne 0x14000a2c0
mov r14d, 7
movabs rbx, 0x400000000001
mov byte [rsp + 0x51], r15b
mov byte [rsp + 0x53], r15b
lea rdx, str.Starting_push_notification_listener_iteration
xor ecx, ecx
call fcn.14000b5ac
lea rdx, str.Running_applicabilty_checks
xor ecx, ecx
call fcn.14000b5ac
call fcn.140007b74
mov r8d, eax
lea rdx, str.Result_of_checking_for_expedite_registry_keys_:_HR__0x_08x
mov ecx, eax
call fcn.14000b5ac
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersion
call fcn.140018eec
test al, al
je 0x140009870
mov byte [rsp + 0x52], r15b
lea r9, str.DisableUHSActions
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersion
lea rcx, [rsp + 0x52]
call fcn.140018d5c
test eax, eax
jne 0x14000985f
cmp byte [rsp + 0x52], r15b
je 0x140009870
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.14000b5ac
call fcn.14000b728
mov rdi, rax
cmp dword [rax], 4
jbe 0x140009854
test qword [rax + 0x10], rbx
je 0x140009854
mov rcx, qword [rax + 0x18]
and rcx, rbx
cmp rcx, qword [rax + 0x18]
jne 0x140009854
call fcn.14000afd8
mov rbx, rax
call fcn.14000b18c
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x78], rbx
lea rax, [0x140037e50]
mov qword [rsp + 0x68], 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 + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea rdx, [0x14004b78a]
mov rcx, rdi
call fcn.140001a50
mov edx, dword [rbp + 0xb20]
jmp 0x14000a247
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
jmp 0x14000a23d
mov qword [rsp + 0x60], r15
mov ebx, r15d
mov dil, r15b
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetGetAadJoinInformation]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x60]
test eax, eax
jne 0x1400098c4
test rcx, rcx
je 0x1400098d5
mov edx, dword [rcx]
test edx, edx
je 0x1400098c4
sub edx, 1
je 0x1400098c1
cmp edx, 1
je 0x1400098c1
mov eax, 0x80004005
mov ebx, eax
mov ecx, eax
call fcn.14000bbd0
mov rcx, qword [rsp + 0x60]
jmp 0x1400098c4
mov dil, 1
test rcx, rcx
je 0x1400098d5
call qword [sym.imp.NETAPI32.dll_NetFreeAadJoinInformation]
nop dword [rax + rax]
mov ecx, ebx
call fcn.14000bbf0
test ebx, ebx
jne 0x14000a231
test dil, dil
jne 0x14000998f
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.14000b5ac
call fcn.14000b728
mov rdi, rax
cmp dword [rax], 4
jbe 0x140009985
movabs rax, 0x400000000001
test qword [rdi + 0x10], rax
je 0x140009985
mov rcx, qword [rdi + 0x18]
and rcx, rax
cmp rcx, qword [rdi + 0x18]
jne 0x140009985
call fcn.14000afd8
mov rbx, rax
call fcn.14000b18c
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x68], rbx
lea rax, [0x140037e50]
mov qword [rsp + 0x60], rax
mov eax, 0x80000000
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea rdx, [0x14004b089]
mov rcx, rdi
call fcn.140001a50
mov edx, 0xf0
jmp 0x14000a247
lea rdx, str.Device_is_AAD_joined
xor ecx, ecx
call fcn.14000b5ac
and qword [rbp + 0x340], 0
mov qword [rbp + 0x358], r15
mov qword [rbp + 0x360], r14
mov word [rbp + 0x348], r15w
mov qword [rbp + 0x378], r15
mov qword [rbp + 0x380], r14
mov word [rbp + 0x368], r15w
mov qword [rbp + 0x398], r15
mov qword [rbp + 0x3a0], r14
mov word [rbp + 0x388], r15w
mov qword [rbp + 0x3b8], r15
mov qword [rbp + 0x3c0], r14
mov word [rbp + 0x3a8], r15w
mov qword [rbp + 0x3d8], r15
mov qword [rbp + 0x3e0], r14
mov word [rbp + 0x3c8], r15w
mov qword [rbp + 0x3f8], r15
mov qword [rbp + 0x400], r14
mov word [rbp + 0x3e8], r15w
mov qword [rbp + 0x418], r15
mov qword [rbp + 0x420], r14
mov word [rbp + 0x408], r15w
mov qword [rbp + 0x438], r15
mov qword [rbp + 0x440], r14
mov word [rbp + 0x428], r15w
mov qword [rbp + 0x458], r15
mov qword [rbp + 0x460], r14
mov word [rbp + 0x448], r15w
mov dword [rbp + 0x468], r15d
mov qword [rbp + 0x480], r15
mov qword [rbp + 0x488], r14
mov word [rbp + 0x470], r15w
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.14000b5ac
lea rcx, [rbp + 0x340]
call fcn.14001e08c
mov r15d, eax
test eax, eax
jne 0x14000a14a
cmp dword [rbp + 0x340], eax
je 0x14000a14a
call fcn.14000b728
mov r14, rax
cmp dword [rax], 1
jbe 0x140009bd3
movabs rax, 0x800000000001
test qword [r14 + 0x10], rax
je 0x140009bd3
mov rcx, qword [r14 + 0x18]
and rcx, rax
cmp rcx, qword [r14 + 0x18]
jne 0x140009bd3
mov ebx, dword [rbp + 0x468]
call fcn.14000afd8
mov rdi, rax
mov dword [rsp + 0x70], ebx
call fcn.14000b18c
mov qword [rbp - 0x58], rdi
mov ecx, 0x80000000
mov qword [rbp - 0x50], rcx
lea rcx, [rsp + 0x70]
mov qword [rbp + 0xbb0], rcx
mov qword [rbp + 0xbb8], 4
xor r15d, r15d
test rax, rax
je 0x140009b43
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r15b
jne 0x140009b36
inc ecx
jmp 0x140009b4f
lea rax, [0x140036e28]
mov ecx, 1
mov qword [rbp + 0xba0], rax
mov dword [rbp + 0xba8], ecx
mov dword [rbp + 0xbac], r15d
lea rax, [rbp - 0x58]
mov qword [rbp + 0xb90], rax
mov qword [rbp + 0xb98], 8
lea rax, [0x140037e50]
mov qword [rbp + 0xb80], rax
mov qword [rbp + 0xb88], 8
lea rax, [rbp - 0x50]
mov qword [rbp + 0xb70], rax
mov qword [rbp + 0xb78], 8
lea rax, [rbp + 0xb50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 7
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14004b641]
mov rcx, r14
call fcn.140001090
jmp 0x140009bd6
xor r15d, r15d
lea rdx, str.Device_is_enrolled_in_WuFB_DS_service._Checking_if_polling_can_be_performed.
xor ecx, ecx
call fcn.14000b5ac
lea rax, str.SoftwareMicrosoftCloudManagedUpdateuhspolling
mov qword [rbp + 0x40], rax
lea rax, str.LastPollingTime
mov qword [rbp + 0x48], rax
lea rax, str.UHS.POLLINGINTERVALSMALLINMINUTES
mov qword [rbp + 0x50], rax
lea rax, str.UHS.POLLINGINTERVALBIGINMINUTES
mov qword [rbp + 0x58], rax
lea rax, str.UHS.UPLOADACTIONHISTORY
mov qword [rbp + 0x60], rax
lea rax, str.FastPollingStartTime
mov qword [rbp + 0x68], rax
lea rax, str.CurrentRequestId
mov qword [rbp + 0x70], rax
lea rax, str.PollingHistorySourceDLS
mov qword [rbp + 0x78], rax
lea rax, str.PollingHistorySourceBlob
mov qword [rbp + 0x80], rax
lea rax, str.LastPollingHistoryUploadTime
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x90], 5
lea rax, [0x140037088]
mov qword [rbp + 0x98], rax
mov dword [rbp + 0xa0], r15d
mov dword [rbp + 0xa4], 0x5a0
mov eax, 0xb40
mov dword [rbp + 0xa8], eax
mov dword [rbp + 0xac], eax
lea rdx, [rbp + 0x340]
lea rcx, [rbp + 0x1b0]
call fcn.14000a3e4
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.14001b994
test eax, eax
je 0x140009cc3
lea rdx, str.Failed_to_load_tenant_enrollment_settings_for_PollingScheduler
mov ecx, eax
call fcn.14000b5ac
lea rdx, [rbp + 0x340]
lea rcx, [rbp + 0x1b0]
call fcn.14000a3e4
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14001d3b4
test eax, eax
je 0x140009cf4
lea rdx, str.Failed_to_load_tenant_enrollment_settings_for_RemoteActionScheduler
mov ecx, eax
call fcn.14000b5ac
lea rax, [rbp + 0x320]
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x300]
mov qword [rsp + 0x60], rax
lea rdx, [rbp + 0x448]
lea rcx, [rbp + 0x320]
call fcn.14000bf04
mov rdi, rax
lea rdx, [rbp + 0x408]
lea rcx, [rbp + 0x300]
call fcn.14000bf04
mov rbx, rax
lea rdx, [rbp + 0x3e8]
lea rcx, [rbp + 0x490]
call fcn.14000bf04
nop
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.14001e188
test eax, eax
je 0x140009d71
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.14000b5ac
jmp 0x140009d7f
lea rdx, str.Updated_the_WuFB_DS_server_endpoint_to_registery
xor ecx, ecx
call fcn.14000b5ac
mov byte [rsi + 0x58], r15b
mov rdx, qword [rsi + 0x50]
lea rcx, [rbp + 0x490]
call fcn.14000be90
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x140009da0
mov rcx, qword [rax]
lea rdx, [rbp + 0x428]
cmp qword [rbp + 0x440], 8
cmovae rdx, qword [rbp + 0x428]
mov r8, qword [rbp + 0x438]
cmp r8, qword [rax + 0x10]
jne 0x140009de8
test r8, r8
je 0x140009ddf
sub rdx, rcx
movzx eax, word [rcx + rdx]
cmp ax, word [rcx]
jne 0x140009e41
add rcx, 2
sub r8, 1
jne 0x140009dcc
mov eax, r15d
test eax, eax
mov bl, 1
je 0x140009deb
mov bl, r15b
lea rcx, [rbp + 0x490]
call fcn.14000be20
test bl, bl
je 0x140009e0d
mov byte [rsi + 0x58], 1
lea rdx, str.Post_hash_is_enabled
xor ecx, ecx
call fcn.14000b5ac
call fcn.140008fa8
xor ecx, ecx
test al, al
je 0x140009e8c
lea rdx, str.Poll_time_interval_has_passed._Checking_for_active_notification
call fcn.14000b5ac
lea rdx, [rsp + 0x51]
mov rcx, rsi
call fcn.140007360
cmp eax, 0xc0000010
jne 0x140009e4a
lea rdx, str.Error:_There_is_no_policy_available_for_this_device_in_blob_storage
jmp 0x140009e78
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x140009de2
test eax, eax
je 0x140009e71
mov r8d, eax
lea rdx, str.Error:_Failed_to_check_and_act_on_notification:_HR__0x_08x
mov ecx, eax
call fcn.14000b5ac
mov edx, 0x3c
mov rcx, rsi
call fcn.1400071f4
jmp 0x14000a224
lea rdx, str.Finished_checking_for_active_notification
xor ecx, ecx
call fcn.14000b5ac
cmp byte [rsp + 0x51], r15b
jne 0x14000a2af
jmp 0x140009e98
lea rdx, str.Poll_time_interval_has_not_elapsed._Will_check_after_some_time_and_poll
call fcn.14000b5ac
call fcn.140009284
lea rcx, [rbp - 0x30]
call fcn.14001d8c8
test eax, eax
setne dil
lea rcx, [rbp - 0x30]
call fcn.14001d9dc
test eax, eax
setne r14b
lea rcx, [rbp + 0x4b0]
call fcn.14001e9f4
nop
test r13b, r13b
jne 0x140009f73
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.14000b5ac
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.14001d6e0
mov ebx, eax
movzx r13d, byte [rsp + 0x50]
mov r9d, r13d
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.14000b5ac
test ebx, ebx
jne 0x140009f6b
test r13b, r13b
je 0x140009f6b
lea rdx, str.Client_is_newly_installed_on_the_device._Attempting_to_upload_device_information
xor ecx, ecx
call fcn.14000b5ac
mov r9b, 1
mov r8b, r9b
lea rdx, [rbp + 0x4b0]
mov rcx, rsi
call fcn.140007848
test eax, eax
jne 0x140009f55
lea rdx, str.Successfully_attempted_upload_of_the_device_information
xor ecx, ecx
call fcn.14000b5ac
lea rcx, [rbp - 0x30]
call fcn.14001daf0
jmp 0x14000a126
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.14000b5ac
jmp 0x14000a126
mov r13b, 1
mov byte [rsp + 0x50], r13b
cmp dword [rbp + 0xb18], r15d
je 0x14000a0a0
lea rcx, [rbp + 0x4b0]
call fcn.1400200b4
cmp dword [rbp + 0xb18], r15d
je 0x14000a0a0
test eax, eax
jne 0x14000a0a0
lea r8, [rbp + 0x4b0]
cmp qword [rbp + 0x4c8], 8
cmovae r8, qword [rbp + 0x4b0]
lea rdx, str.Successfully_completed_setup_of_push_notifications_listening_on__s
xor ecx, ecx
call fcn.14000b5ac
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.14000b5ac
test dil, dil
jne 0x140009fee
test r14b, r14b
jne 0x140009fee
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.14000b5ac
jmp 0x14000a03f
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.14000b5ac
mov r9b, dil
mov r8b, 1
lea rdx, [rbp + 0x4b0]
mov rcx, rsi
call fcn.140007848
test eax, eax
jne 0x14000a02e
lea rdx, str.Successfully_attempted_upload_of_the_device_information
xor ecx, ecx
call fcn.14000b5ac
lea rcx, [rbp - 0x30]
call fcn.14001daf0
jmp 0x14000a03f
mov r8d, eax
lea rdx, str.Error:Failed_to_upload_the_device_information_to_theWuFB_DSserver:_HR__0x_08x
mov ecx, eax
call fcn.14000b5ac
lea rax, [rsp + 0x53]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x51]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x4f8]
lea rdx, [rbp + 0x4f0]
mov rcx, rsi
call fcn.1400088a4
cmp byte [rsp + 0x51], r15b
jne 0x14000a25e
cmp byte [rsp + 0x53], r15b
je 0x14000a08d
test dil, dil
jne 0x14000a25e
test r14b, r14b
jne 0x14000a25e
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.14000b5ac
jmp 0x14000a126
test dil, dil
jne 0x14000a0c0
test r14b, r14b
jne 0x14000a0c0
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.14000b5ac
jmp 0x14000a111
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.14000b5ac
mov r9b, dil
mov r8b, 1
lea rdx, [rbp + 0x4b0]
mov rcx, rsi
call fcn.140007848
test eax, eax
jne 0x14000a100
lea rdx, str.Successfully_attempted_upload_of_device_information_to_server__setting_delay_for_the_next_forced_reboot.
xor ecx, ecx
call fcn.14000b5ac
lea rcx, [rbp - 0x30]
call fcn.14001daf0
jmp 0x14000a111
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.14000b5ac
mov edx, 0x3c
mov rcx, rsi
call fcn.1400071f4
test al, al
je 0x14000a2a2
lea rcx, [rbp + 0x4b0]
call fcn.14001f3a0
nop
lea rcx, [rbp + 0x340]
call fcn.14000a364
mov r14d, 7
jmp 0x14000a253
mov r8d, r15d
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, r15d
call fcn.14000b5ac
call fcn.14000b728
mov r14, rax
cmp dword [rax], 1
jbe 0x14000a213
movabs rax, 0x800000000001
test qword [r14 + 0x10], rax
je 0x14000a213
mov rcx, qword [r14 + 0x18]
and rcx, rax
cmp rcx, qword [r14 + 0x18]
jne 0x14000a213
mov ebx, dword [rbp + 0x468]
call fcn.14000afd8
mov rdi, rax
mov dword [rsp + 0x78], ebx
mov dword [rbp - 0x80], r15d
call fcn.14000b18c
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x48], rdi
lea rax, [0x140037e50]
mov qword [rsp + 0x60], rax
mov eax, 0x80000000
mov qword [rbp - 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [0x14004b6ca]
mov rcx, r14
call fcn.1400017f8
mov edx, dword [rbp + 0xb28]
mov rcx, rsi
call fcn.1400071f4
xor r15d, r15d
test al, al
je 0x14000a2af
jmp 0x14000a133
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.14000b5ac
mov edx, 0x3c
mov rcx, rsi
call fcn.1400071f4
test al, al
je 0x14000a2bb
cmp dword [rsi + 0x5c], r15d
jne 0x14000a2bb
jmp 0x14000973c
mov r9b, dil
xor r8d, r8d
lea rdx, [rbp + 0x4b0]
mov rcx, rsi
call fcn.140007848
test eax, eax
jne 0x14000a290
lea rdx, str.Attempted_upload_of_device_information_to_server__setting_delay_for_the_next_forced_reboot.
xor ecx, ecx
call fcn.14000b5ac
lea rcx, [rbp - 0x30]
call fcn.14001daf0
jmp 0x14000a2a2
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.14000b5ac
nop
lea rcx, [rbp + 0x4b0]
call fcn.14001f3a0
nop
lea rcx, [rbp + 0x340]
call fcn.14000a364
mov r14d, dword [rsp + 0x58]
lea rdx, str.Completed_ExecuteListenForPushNotifications
xor ecx, ecx
call fcn.14000b5ac
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 0x14000a2ff
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx r12d, ax
or r12d, 0x80070000
test eax, eax
cmovle r12d, eax
lea rcx, [rbp + 0x820]
call fcn.1400182f4
nop
lea rcx, [rbp + 0xc0]
call fcn.1400147e4
nop
test r14b, r14b
je 0x14000a32a
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
nop dword [rax + rax]
mov eax, r12d
mov rcx, qword [rbp + 0xbc0]
xor rcx, rsp
call fcn.1400301c0
lea r11, [rsp + 0xcd0]
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