Function at 0x140007864
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x938]
sub rsp, 0xa10
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140050900]
xor rax, rsp
mov qword [rbp + 0x900], rax
mov r14, rcx
xor r13d, r13d
mov byte [rsp + 0x48], r13b
lea rdx, str.4278657d_05e1_4605_a742_ce06e7b9fe66
lea rcx, [rbp + 0x7d0]
call fcn.14000a178
nop
movdqa xmm0, xmmword [0x140042090]
movdqu xmmword [rbp + 0x1c0], xmm0
mov word [rbp + 0x1b0], r13w
mov ebx, 0x104
mov edx, ebx
lea rcx, [rbp + 0x1b0]
call fcn.14000a06c
lea rdx, [rbp + 0x1b0]
lea r15d, [r13 + 8]
cmp qword [rbp + 0x1c8], r15
cmovae rdx, qword [rbp + 0x1b0]
lea rcx, [rbp + 0x7d0]
cmp qword [rbp + 0x7e8], r15
cmovae rcx, qword [rbp + 0x7d0]
mov r8d, ebx
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetEnvironmentVariableW]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xcb
je 0x14000799c
test ebx, ebx
je 0x14000799c
mov edx, ebx
lea rcx, [rbp + 0x1b0]
call fcn.14000a06c
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__errno]
mov rdi, rax
lea rbx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], r15
cmovae rbx, qword [rbp + 0x1b0]
mov dword [rax], r13d
lea r8d, [r13 + 0xa]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_wcstol]
cmp rbx, qword [rsp + 0x40]
je 0x140008922
cmp dword [rdi], 0x22
je 0x140008915
imul ecx, eax, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop
lea rcx, [rbp + 0x1b0]
call fcn.14000a110
nop
lea rcx, [rbp + 0x7d0]
call fcn.14000a110
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
movzx r12d, r13b
mov esi, 1
test eax, eax
cmovns r12d, esi
mov byte [rsp + 0x48], r12b
lea rdx, str.Started_ExecuteListenForPushNotifications
xor ecx, ecx
call fcn.140009844
mov dword [rsp + 0x38], r13d
mov byte [rsp + 0x31], r13b
mov dil, r13b
mov byte [rsp + 0x30], r13b
lea rcx, [rsp + 0x30]
call fcn.14002827c
xor ecx, ecx
call fcn.140009f80
mov ebx, r13d
cmp byte [rsp + 0x30], r13b
jne 0x140007a62
lea r8, str.DoNotConnectToWindowsUpdateInternetLocations
lea rdx, str.SOFTWAREPoliciesMicrosoftWindowsWindowsUpdate
lea rcx, [rsp + 0x31]
call fcn.1400282f8
mov ebx, eax
test eax, eax
jns 0x140007a35
mov ecx, eax
call fcn.140009f60
jmp 0x140007a62
cmp byte [rsp + 0x31], r13b
je 0x140007a62
lea r9, str.DoNotConnectToWindowsUpdateInternetLocations
lea r8, str.SOFTWAREPoliciesMicrosoftWindowsWindowsUpdate
lea rcx, [rsp + 0x38]
call fcn.1400283a8
mov ebx, eax
test eax, eax
js 0x140007a2c
cmp dword [rsp + 0x38], esi
sete dil
mov ecx, ebx
call fcn.140009f80
test ebx, ebx
je 0x140007a83
mov r8d, ebx
lea rdx, str.Failed_to_check_the_device_for_zero_exhaust:_HR__0x_08x
mov ecx, ebx
call fcn.140009844
jmp 0x1400088d8
test dil, dil
je 0x140007a9e
lea rdx, str.This_device_is_zero_exhaust_so_exiting
xor ecx, ecx
call fcn.140009844
mov ebx, r13d
jmp 0x1400088d8
mov byte [rsp + 0x30], r13b
lea rcx, [rsp + 0x30]
call fcn.140027ae8
cmp byte [rsp + 0x30], r13b
je 0x140007ac5
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.140009844
call fcn.140009a64
mov rbx, rax
movabs rcx, 0x800000000001
mov edx, 0x80000000
lea r8, [0x140033bf0]
cmp dword [rax], esi
jbe 0x140007bb3
test qword [rax + 0x10], rcx
je 0x140007bb3
mov rax, qword [rax + 0x18]
and rax, rcx
cmp rax, qword [rbx + 0x18]
jne 0x140007bb3
mov qword [rsp + 0x40], rdx
lea rax, [rsp + 0x40]
mov qword [rbp + 0x7f0], rax
mov qword [rbp + 0x7f8], 8
mov qword [rbp + 0x800], r8
mov qword [rbp + 0x808], 8
call fcn.140009210
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x38]
mov qword [rbp + 0x810], rax
mov qword [rbp + 0x818], 8
call fcn.1400093b8
lea rdx, [0x140032d88]
mov rcx, r13
test rax, rax
je 0x140007b79
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r13b
jne 0x140007b70
mov qword [rbp + 0x820], rdx
lea eax, [rcx + 1]
mov dword [rbp + 0x828], eax
mov dword [rbp + 0x82c], r13d
lea rax, [rbp + 0x7d0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
lea rdx, [0x140044b30]
mov rcx, rbx
call fcn.1400010a0
lea rcx, [rbp - 0x10]
call fcn.1400128c0
nop
lea rcx, [rbp + 0x4f0]
call fcn.1400161d0
nop
lea r8, [rbp + 0x4f0]
lea rdx, [rbp - 0x10]
call fcn.140015f44
mov ebx, eax
cmp eax, esi
jbe 0x140007bf1
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.140009844
lea rax, str.UHS.POSTINGNOWENABLED
mov qword [rsp + 0x70], rax
lea rax, str.UHS.POSTINGDEFERREDMINUTES
mov qword [rsp + 0x78], rax
lea rax, str.UHS.POSTINGFORCEDMINUTES
mov qword [rbp - 0x80], rax
lea rax, str.SoftwareMicrosoftCloudManagedUpdateuhs_remoteaction
mov qword [rbp - 0x78], rax
lea rax, str.Enabled
mov qword [rbp - 0x70], rax
lea rax, str.ClientVersion
mov qword [rbp - 0x68], rax
lea rax, [0x14003696c]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
lea rax, [0x140036970]
mov qword [rbp - 0x50], rax
lea rax, str.DeferredPostingDeviceInformationTime
mov qword [rbp - 0x48], rax
lea rax, str.ForcedPostingDeviceInformationTime
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], r13d
mov qword [rbp - 0x30], 0xb4
mov qword [rbp - 0x28], 0x10e0
mov r15b, r13b
mov byte [rsp + 0x30], r13b
cmp dword [r14 + 0x50], r13d
jne 0x140008891
mov dword [rsp + 0x38], r13d
mov byte [rsp + 0x31], r13b
mov byte [rsp + 0x33], r13b
lea rdx, str.Starting_push_notification_listener_iteration
xor ecx, ecx
call fcn.140009844
lea rdx, str.Running_applicabilty_checks
xor ecx, ecx
call fcn.140009844
mov sil, r13b
mov edi, r13d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersion
call fcn.140016df4
test al, al
je 0x140007cfe
mov byte [rsp + 0x32], r13b
lea r9, str.DisableUHSActions
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersion
lea rcx, [rsp + 0x32]
call fcn.140016d38
mov edi, eax
test eax, eax
jne 0x140007cfe
movzx esi, r13b
cmp byte [rsp + 0x32], r13b
lea eax, [rdi + 1]
cmovne esi, eax
mov dword [rsp + 0x38], edi
test edi, edi
je 0x140007d12
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
jmp 0x1400087d5
test sil, sil
je 0x140007e2d
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.140009844
call fcn.140009a64
mov rdi, rax
cmp dword [rax], 4
jbe 0x140007e22
movabs rax, 0x400000000001
test qword [rdi + 0x10], rax
je 0x140007d5e
mov rcx, qword [rdi + 0x18]
and rcx, rax
cmp rcx, qword [rdi + 0x18]
jne 0x140007d5e
mov eax, 1
jmp 0x140007d61
mov al, r13b
test al, al
je 0x140007e22
mov eax, 0x80000000
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x7f0], rax
mov qword [rbp + 0x7f8], 8
lea rax, [0x140033bf0]
mov qword [rbp + 0x800], rax
mov qword [rbp + 0x808], 8
call fcn.140009210
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
mov qword [rbp + 0x810], rax
mov qword [rbp + 0x818], 8
call fcn.1400093b8
lea rdx, [0x140032d88]
mov rcx, r13
test rax, rax
je 0x140007de8
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r13b
jne 0x140007ddf
mov qword [rbp + 0x820], rdx
lea eax, [rcx + 1]
mov dword [rbp + 0x828], eax
mov dword [rbp + 0x82c], r13d
lea rax, [rbp + 0x7d0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
lea rdx, [0x140044abc]
mov rcx, rdi
call fcn.1400010a0
mov edx, dword [rbp + 0x7a0]
jmp 0x1400087e4
mov qword [rsp + 0x40], r13
mov edi, r13d
mov sil, r13b
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetGetAadJoinInformation]
mov rcx, qword [rsp + 0x40]
test eax, eax
jne 0x140007e82
test rcx, rcx
je 0x140007e8d
mov edx, dword [rcx]
test edx, edx
je 0x140007e7f
sub edx, 1
je 0x140007e78
cmp edx, 1
je 0x140007e78
mov eax, 0x80004005
mov edi, eax
mov ecx, eax
call fcn.140009f60
mov rcx, qword [rsp + 0x40]
jmp 0x140007e82
mov esi, 1
jmp 0x140007e82
mov sil, r13b
test rcx, rcx
je 0x140007e8d
call qword [sym.imp.NETAPI32.dll_NetFreeAadJoinInformation]
mov ecx, edi
call fcn.140009f80
mov dword [rsp + 0x38], edi
test edi, edi
jne 0x1400087ce
test sil, sil
jne 0x140007fba
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.140009844
call fcn.140009a64
mov rdi, rax
cmp dword [rax], 4
jbe 0x140007fb0
movabs rax, 0x400000000001
test qword [rdi + 0x10], rax
je 0x140007eec
mov rcx, qword [rdi + 0x18]
and rcx, rax
cmp rcx, qword [rdi + 0x18]
jne 0x140007eec
mov eax, 1
jmp 0x140007eef
mov al, r13b
test al, al
je 0x140007fb0
mov eax, 0x80000000
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x7f0], rax
mov qword [rbp + 0x7f8], 8
lea rax, [0x140033bf0]
mov qword [rbp + 0x800], rax
mov qword [rbp + 0x808], 8
call fcn.140009210
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rbp + 0x810], rax
mov qword [rbp + 0x818], 8
call fcn.1400093b8
lea rdx, [0x140032d88]
mov rcx, r13
test rax, rax
je 0x140007f76
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r13b
jne 0x140007f6d
mov qword [rbp + 0x820], rdx
lea eax, [rcx + 1]
mov dword [rbp + 0x828], eax
mov dword [rbp + 0x82c], r13d
lea rax, [rbp + 0x7d0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
lea rdx, [0x1400451fd]
mov rcx, rdi
call fcn.1400010a0
mov edx, 0xf0
jmp 0x1400087e4
lea rdx, str.Device_is_AAD_joined
xor ecx, ecx
call fcn.140009844
mov qword [rbp + 0xe0], r13
mov qword [rbp + 0xf8], r13
mov eax, 7
mov qword [rbp + 0x100], rax
mov word [rbp + 0xe8], r13w
mov qword [rbp + 0x118], r13
mov qword [rbp + 0x120], rax
mov word [rbp + 0x108], r13w
mov qword [rbp + 0x138], r13
mov qword [rbp + 0x140], rax
mov word [rbp + 0x128], r13w
mov qword [rbp + 0x158], r13
mov qword [rbp + 0x160], rax
mov word [rbp + 0x148], r13w
mov qword [rbp + 0x178], r13
mov qword [rbp + 0x180], rax
mov word [rbp + 0x168], r13w
mov qword [rbp + 0x198], r13
mov qword [rbp + 0x1a0], rax
mov word [rbp + 0x188], r13w
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.140009844
lea rcx, [rbp + 0xe0]
call fcn.14001b2f0
mov dword [rsp + 0x38], eax
test eax, eax
jne 0x1400086a2
cmp dword [rbp + 0xe0], r13d
je 0x1400086a2
call fcn.140009a64
mov rdi, rax
mov esi, 1
cmp dword [rax], esi
jbe 0x140008184
movabs rax, 0x800000000001
test qword [rdi + 0x10], rax
je 0x1400080c0
mov rcx, qword [rdi + 0x18]
and rcx, rax
cmp rcx, qword [rdi + 0x18]
mov al, sil
je 0x1400080c3
mov al, r13b
test al, al
je 0x140008184
mov eax, 0x80000000
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x850], rax
mov qword [rbp + 0x858], 8
lea rax, [0x140033bf0]
mov qword [rbp + 0x860], rax
mov qword [rbp + 0x868], 8
call fcn.140009210
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rbp + 0x870], rax
mov qword [rbp + 0x878], 8
call fcn.1400093b8
lea rdx, [0x140032d88]
mov rcx, r13
test rax, rax
je 0x14000814a
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r13b
jne 0x140008141
mov qword [rbp + 0x880], rdx
lea eax, [rcx + 1]
mov dword [rbp + 0x888], eax
mov dword [rbp + 0x88c], r13d
lea rax, [rbp + 0x830]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
lea rdx, [0x140044a52]
mov rcx, rdi
call fcn.1400010a0
lea rdx, str.Device_is_enrolled_in_WuFB_DS_service._Checking_if_polling_can_be_performed.
xor ecx, ecx
call fcn.140009844
lea rax, str.SoftwareMicrosoftCloudManagedUpdateuhspolling
mov qword [rbp + 0x7d0], rax
lea rax, str.LastPollingTime
mov qword [rbp + 0x7d8], rax
lea rax, str.UHS.POLLINGINTERVALSMALLINMINUTES
mov qword [rbp + 0x7e0], rax
lea rax, str.UHS.POLLINGINTERVALBIGINMINUTES
mov qword [rbp + 0x7e8], rax
lea rax, str.FastPollingStartTime
mov qword [rbp + 0x7f0], rax
lea rax, str.CurrentRequestId
mov qword [rbp + 0x7f8], rax
mov dword [rbp + 0x800], r13d
mov dword [rbp + 0x804], 0x5a0
mov dword [rbp + 0x808], 0xb40
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x830]
call fcn.140008980
mov rdx, rax
lea rcx, [rbp + 0x7d0]
call fcn.14001964c
mov dword [rsp + 0x38], eax
test eax, eax
je 0x140008239
lea rdx, str.Failed_to_load_tenant_enrollment_settings_for_PollingScheduler
mov ecx, eax
call fcn.140009844
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x830]
call fcn.140008980
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14001a2f0
mov dword [rsp + 0x38], eax
test eax, eax
je 0x14000826f
lea rdx, str.Failed_to_load_tenant_enrollment_settings_for_RemoteActionScheduler
mov ecx, eax
call fcn.140009844
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x7d0]
call fcn.14000a220
mov rcx, rax
call fcn.14001b3e0
mov dword [rsp + 0x38], eax
test eax, eax
je 0x1400082a5
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.140009844
jmp 0x1400082b3
lea rdx, str.Updated_the_WuFB_DS_server_endpoint_to_registery
xor ecx, ecx
call fcn.140009844
call fcn.1400075cc
xor ecx, ecx
test al, al
je 0x14000833a
lea rdx, str.Poll_time_interval_has_passed._Checking_for_active_notification
call fcn.140009844
lea rdx, [rsp + 0x31]
call fcn.140005f34
mov dword [rsp + 0x38], eax
cmp eax, 0xc0000010
jne 0x1400082e8
lea rdx, str.Error:_There_is_no_policy_available_for_this_device_in_blob_storage
jmp 0x140008326
test eax, eax
je 0x14000831f
mov r8d, eax
lea rdx, str.Error:_Failed_to_check_and_act_on_notification:_HR__0x_08x
mov ecx, eax
call fcn.140009844
mov edx, 0x3c
mov rcx, r14
call fcn.140005ddc
nop
lea rcx, [rbp + 0x188]
test al, al
je 0x140008850
jmp 0x14000865c
lea rdx, str.Finished_checking_for_active_notification
xor ecx, ecx
call fcn.140009844
cmp byte [rsp + 0x31], r13b
jne 0x140008849
jmp 0x140008346
lea rdx, str.Poll_time_interval_has_not_elapsed._Will_check_after_some_time_and_poll
call fcn.140009844
lea rcx, [rbp + 0x1d0]
call fcn.14001b8e0
nop
test r15b, r15b
jne 0x140008403
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.140009844
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14001a7fc
mov dword [rsp + 0x38], eax
movzx r15d, byte [rsp + 0x30]
mov r9d, r15d
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.140009844
cmp dword [rsp + 0x38], r13d
jne 0x1400083fb
test r15b, r15b
je 0x1400083fb
lea rdx, str.Client_is_newly_installed_on_the_device._Attempting_to_upload_device_information
xor ecx, ecx
call fcn.140009844
mov r8b, sil
lea rdx, [rbp + 0x1d0]
call fcn.14000658c
mov dword [rsp + 0x38], eax
test eax, eax
jne 0x1400083e5
lea rdx, str.Successfully_uploaded_the_device_information
xor ecx, ecx
call fcn.140009844
lea rcx, [rsp + 0x70]
call fcn.14001ac04
jmp 0x140008648
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.140009844
jmp 0x140008648
mov r15b, sil
mov byte [rsp + 0x30], sil
mov dword [rsp + 0x38], r13d
cmp dword [rbp + 0x798], r13d
je 0x1400085a4
lea rcx, [rbp + 0x1d0]
call fcn.14001cdd4
mov dword [rsp + 0x38], eax
cmp dword [rbp + 0x798], r13d
je 0x1400085a4
test eax, eax
jne 0x1400085a4
lea r8, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 8
cmovae r8, qword [rbp + 0x1d0]
lea rdx, str.Successfully_completed_setup_of_push_notifications_listening_on__s
xor ecx, ecx
call fcn.140009844
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.140009844
lea rcx, [rsp + 0x70]
call fcn.14001a9e0
test eax, eax
jne 0x1400084b9
lea rcx, [rsp + 0x70]
call fcn.14001aaf0
test eax, eax
je 0x1400084a9
call fcn.1400063cc
test al, al
jne 0x1400084b9
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0x1d0]
call fcn.140017c08
test eax, eax
jne 0x1400084b9
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.140009844
jmp 0x140008509
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.140009844
mov r8b, sil
lea rdx, [rbp + 0x1d0]
call fcn.14000658c
mov dword [rsp + 0x38], eax
test eax, eax
jne 0x1400084f8
lea rdx, str.Successfully_uploaded_the_device_information
xor ecx, ecx
call fcn.140009844
lea rcx, [rsp + 0x70]
call fcn.14001ac04
jmp 0x140008509
mov r8d, eax
lea rdx, str.Error:Failed_to_upload_the_device_information_to_theWuFB_DSserver:_HR__0x_08x
mov ecx, eax
call fcn.140009844
lea rax, [rsp + 0x33]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x31]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x218]
lea rdx, [rbp + 0x210]
mov rcx, r14
call fcn.140006f5c
mov dword [rsp + 0x38], eax
cmp byte [rsp + 0x31], r13b
jne 0x1400087f9
cmp byte [rsp + 0x33], r13b
je 0x140008591
lea rcx, [rsp + 0x70]
call fcn.14001a9e0
test eax, eax
jne 0x1400087f9
lea rcx, [rsp + 0x70]
call fcn.14001aaf0
test eax, eax
je 0x140008591
call fcn.1400063cc
test al, al
jne 0x1400087f9
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0x1d0]
call fcn.140017c08
test eax, eax
jne 0x1400087f9
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.140009844
jmp 0x140008648
lea rcx, [rsp + 0x70]
call fcn.14001a9e0
test eax, eax
jne 0x1400085e3
lea rcx, [rsp + 0x70]
call fcn.14001aaf0
test eax, eax
je 0x1400085c9
call fcn.1400063cc
test al, al
jne 0x1400085e3
mov edi, 0x3c
mov r8d, edi
lea rdx, str.WNS_is_not_enabled_for_this_device_and_polling_has_been_checked.__Waiting_for__d_minutes
xor ecx, ecx
call fcn.140009844
mov edx, edi
jmp 0x140008638
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.140009844
mov r8b, sil
lea rdx, [rbp + 0x1d0]
call fcn.14000658c
mov dword [rsp + 0x38], eax
test eax, eax
jne 0x140008622
lea rdx, str.Uploaded_device_information_to_server__setting_delay_for_the_next_forced_reboot.
xor ecx, ecx
call fcn.140009844
lea rcx, [rsp + 0x70]
call fcn.14001ac04
jmp 0x140008633
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.140009844
mov edx, 0x3c
mov rcx, r14
call fcn.140005ddc
test al, al
je 0x14000883c
lea rcx, [rbp + 0x1d0]
call fcn.14001c2b8
nop
lea rcx, [rbp + 0x188]
call fcn.14000a110
lea rcx, [rbp + 0x168]
call fcn.14000a110
lea rcx, [rbp + 0x148]
call fcn.14000a110
lea rcx, [rbp + 0x128]
call fcn.14000a110
lea rcx, [rbp + 0x108]
call fcn.14000a110
lea rcx, [rbp + 0xe8]
call fcn.14000a110
jmp 0x140007c81
mov r8d, eax
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, eax
call fcn.140009844
call fcn.140009a64
mov rdi, rax
mov esi, 1
cmp dword [rax], esi
jbe 0x1400087c3
movabs rax, 0x800000000001
test qword [rdi + 0x10], rax
je 0x1400086e8
mov rcx, qword [rdi + 0x18]
and rcx, rax
cmp rcx, qword [rdi + 0x18]
mov al, sil
je 0x1400086eb
mov al, r13b
test al, al
je 0x1400087c3
mov eax, 0x80000000
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x850], rax
mov qword [rbp + 0x858], 8
lea rax, [0x140033bf0]
mov qword [rbp + 0x860], rax
mov qword [rbp + 0x868], 8
call fcn.140009210
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x68]
mov qword [rbp + 0x870], rax
mov qword [rbp + 0x878], 8
call fcn.1400093b8
lea rdx, [0x140032d88]
mov rcx, r13
test rax, rax
je 0x140008772
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r13b
jne 0x140008769
mov qword [rbp + 0x880], rdx
lea eax, [rcx + 1]
mov dword [rbp + 0x888], eax
mov dword [rbp + 0x88c], r13d
lea rax, [rsp + 0x38]
mov qword [rbp + 0x890], rax
mov qword [rbp + 0x898], 4
lea rax, [rbp + 0x830]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 7
lea rdx, [0x14004515c]
mov rcx, rdi
call fcn.1400010a0
mov edx, dword [rbp + 0x7a8]
jmp 0x140008302
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 r8d, edi
mov ecx, edi
call fcn.140009844
mov edx, 0x3c
mov rcx, r14
call fcn.140005ddc
test al, al
je 0x140008891
jmp 0x140007c81
xor r8d, r8d
lea rdx, [rbp + 0x1d0]
call fcn.14000658c
mov dword [rsp + 0x38], eax
test eax, eax
jne 0x14000882a
lea rdx, str.Uploaded_device_information_to_server__setting_delay_for_the_next_forced_reboot.
xor ecx, ecx
call fcn.140009844
lea rcx, [rsp + 0x70]
call fcn.14001ac04
jmp 0x14000883c
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.140009844
nop
lea rcx, [rbp + 0x1d0]
call fcn.14001c2b8
nop
lea rcx, [rbp + 0x188]
call fcn.14000a110
lea rcx, [rbp + 0x168]
call fcn.14000a110
lea rcx, [rbp + 0x148]
call fcn.14000a110
lea rcx, [rbp + 0x128]
call fcn.14000a110
lea rcx, [rbp + 0x108]
call fcn.14000a110
lea rcx, [rbp + 0xe8]
call fcn.14000a110
lea rdx, str.Completed_ExecuteListenForPushNotifications
xor ecx, ecx
call fcn.140009844
mov rcx, qword [r14 + 0x58]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
test eax, eax
jne 0x1400088c1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
lea rcx, [rbp + 0x4f0]
call fcn.1400165a0
nop
lea rcx, [rbp - 0x10]
call fcn.140012a10
nop
test r12b, r12b
je 0x1400088e3
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
mov eax, ebx
mov rcx, qword [rbp + 0x900]
xor rcx, rsp
call fcn.14002c310
lea r11, [rsp + 0xa10]
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
lea rcx, str.stoi_argument_out_of_range
call fcn.14000fe08
int3
call fcn.14000fcdc
int3