Function at 0x14000813c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x928]
sub rsp, 0xa00
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140051ad0]
xor rax, rsp
mov qword [rbp + 0x8f0], rax
mov r14, rcx
xor r13d, r13d
mov byte [rsp + 0x48], r13b
lea rdx, str.4278657d_05e1_4605_a742_ce06e7b9fe66
lea rcx, [rbp + 0x7c0]
call fcn.14000abc8
nop
movdqa xmm0, xmmword [0x140043270]
movdqu xmmword [rbp + 0x1b0], xmm0
mov word [rbp + 0x1a0], r13w
mov ebx, 0x104
mov edx, ebx
lea rcx, [rbp + 0x1a0]
call fcn.14000aab4
lea rdx, [rbp + 0x1a0]
lea r15d, [r13 + 8]
cmp qword [rbp + 0x1b8], r15
cmovae rdx, qword [rbp + 0x1a0]
lea rcx, [rbp + 0x7c0]
cmp qword [rbp + 0x7d8], r15
cmovae rcx, qword [rbp + 0x7c0]
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 0x140008274
test ebx, ebx
je 0x140008274
mov edx, ebx
lea rcx, [rbp + 0x1a0]
call fcn.14000aab4
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__errno]
mov rdi, rax
lea rbx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], r15
cmovae rbx, qword [rbp + 0x1a0]
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 0x14000923c
cmp dword [rdi], 0x22
je 0x14000922f
imul ecx, eax, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop
lea rcx, [rbp + 0x1a0]
call fcn.14000ab60
nop
lea rcx, [rbp + 0x7c0]
call fcn.14000ab60
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.14000a164
mov dword [rsp + 0x38], r13d
mov byte [rsp + 0x31], r13b
mov bl, r13b
mov byte [rsp + 0x30], r13b
lea rcx, [rsp + 0x30]
call fcn.14002967c
xor ecx, ecx
call fcn.14000a8e8
mov edi, r13d
cmp byte [rsp + 0x30], r13b
jne 0x140008339
lea r8, str.DoNotConnectToWindowsUpdateInternetLocations
lea rdx, str.SOFTWAREPoliciesMicrosoftWindowsWindowsUpdate
lea rcx, [rsp + 0x31]
call fcn.1400296f8
mov edi, eax
test eax, eax
jns 0x14000830d
mov ecx, eax
call fcn.14000a8c8
jmp 0x140008339
cmp byte [rsp + 0x31], r13b
je 0x140008339
lea r9, str.DoNotConnectToWindowsUpdateInternetLocations
lea r8, str.SOFTWAREPoliciesMicrosoftWindowsWindowsUpdate
lea rcx, [rsp + 0x38]
call fcn.1400297a8
mov edi, eax
test eax, eax
js 0x140008304
cmp dword [rsp + 0x38], esi
sete bl
mov ecx, edi
call fcn.14000a8e8
test edi, edi
je 0x14000835a
mov r8d, edi
lea rdx, str.Failed_to_check_the_device_for_zero_exhaust:_HR__0x_08x
mov ecx, edi
call fcn.14000a164
jmp 0x1400091f2
test bl, bl
je 0x140008374
lea rdx, str.This_device_is_zero_exhaust_so_exiting
xor ecx, ecx
call fcn.14000a164
mov edi, r13d
jmp 0x1400091f2
mov byte [rsp + 0x30], r13b
lea rcx, [rsp + 0x30]
call fcn.140028ee8
cmp byte [rsp + 0x30], r13b
je 0x14000839b
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.14000a164
call fcn.14000a3bc
mov rbx, rax
movabs rcx, 0x800000000001
mov edx, 0x80000000
lea r8, [0x140034da0]
cmp dword [rax], esi
jbe 0x140008489
test qword [rax + 0x10], rcx
je 0x140008489
mov rax, qword [rax + 0x18]
and rax, rcx
cmp rax, qword [rbx + 0x18]
jne 0x140008489
mov qword [rsp + 0x40], rdx
lea rax, [rsp + 0x40]
mov qword [rbp + 0x7e0], rax
mov qword [rbp + 0x7e8], 8
mov qword [rbp + 0x7f0], r8
mov qword [rbp + 0x7f8], 8
call fcn.140009b2c
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x38]
mov qword [rbp + 0x800], rax
mov qword [rbp + 0x808], 8
call fcn.140009cd8
lea rdx, [0x140033f7e]
mov rcx, r13
test rax, rax
je 0x14000844f
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r13b
jne 0x140008446
mov qword [rbp + 0x810], rdx
lea eax, [rcx + 1]
mov dword [rbp + 0x818], eax
mov dword [rbp + 0x81c], r13d
lea rax, [rbp + 0x7c0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
lea rdx, [0x140046118]
mov rcx, rbx
call fcn.1400010a0
lea rcx, [rbp - 0x10]
call fcn.140014b94
nop
lea rcx, [rbp + 0x4e0]
call fcn.140017d28
nop
lea r8, [rbp + 0x4e0]
lea rdx, [rbp - 0x10]
call fcn.140017c30
mov edi, eax
cmp eax, esi
jbe 0x1400084c7
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.14000a164
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, [0x140037a4c]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
lea rax, [0x140037a50]
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 0x1400091ab
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.14000a164
lea rdx, str.Running_applicabilty_checks
xor ecx, ecx
call fcn.14000a164
mov sil, r13b
mov ebx, r13d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersion
call fcn.1400189d0
test al, al
je 0x1400085d4
mov byte [rsp + 0x32], r13b
lea r9, str.DisableUHSActions
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersion
lea rcx, [rsp + 0x32]
call fcn.140018914
mov ebx, eax
test eax, eax
jne 0x1400085d4
movzx esi, r13b
cmp byte [rsp + 0x32], r13b
lea eax, [rbx + 1]
cmovne esi, eax
mov dword [rsp + 0x38], ebx
test ebx, ebx
je 0x1400085e8
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 0x1400090f5
test sil, sil
je 0x140008703
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.14000a164
call fcn.14000a3bc
mov rbx, rax
cmp dword [rax], 4
jbe 0x1400086f8
movabs rax, 0x400000000001
test qword [rbx + 0x10], rax
je 0x140008634
mov rcx, qword [rbx + 0x18]
and rcx, rax
cmp rcx, qword [rbx + 0x18]
jne 0x140008634
mov eax, 1
jmp 0x140008637
mov al, r13b
test al, al
je 0x1400086f8
mov eax, 0x80000000
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x7e0], rax
mov qword [rbp + 0x7e8], 8
lea rax, [0x140034da0]
mov qword [rbp + 0x7f0], rax
mov qword [rbp + 0x7f8], 8
call fcn.140009b2c
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
mov qword [rbp + 0x800], rax
mov qword [rbp + 0x808], 8
call fcn.140009cd8
lea rdx, [0x140033f7e]
mov rcx, r13
test rax, rax
je 0x1400086be
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r13b
jne 0x1400086b5
mov qword [rbp + 0x810], rdx
lea eax, [rcx + 1]
mov dword [rbp + 0x818], eax
mov dword [rbp + 0x81c], r13d
lea rax, [rbp + 0x7c0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
lea rdx, [0x1400460a4]
mov rcx, rbx
call fcn.1400010a0
mov edx, dword [rbp + 0x790]
jmp 0x140009104
mov qword [rsp + 0x40], r13
mov ebx, 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 0x140008758
test rcx, rcx
je 0x140008763
mov edx, dword [rcx]
test edx, edx
je 0x140008755
sub edx, 1
je 0x14000874e
cmp edx, 1
je 0x14000874e
mov eax, 0x80004005
mov ebx, eax
mov ecx, eax
call fcn.14000a8c8
mov rcx, qword [rsp + 0x40]
jmp 0x140008758
mov esi, 1
jmp 0x140008758
mov sil, r13b
test rcx, rcx
je 0x140008763
call qword [sym.imp.NETAPI32.dll_NetFreeAadJoinInformation]
mov ecx, ebx
call fcn.14000a8e8
mov dword [rsp + 0x38], ebx
test ebx, ebx
jne 0x1400090ee
test sil, sil
jne 0x140008890
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.14000a164
call fcn.14000a3bc
mov rbx, rax
cmp dword [rax], 4
jbe 0x140008886
movabs rax, 0x400000000001
test qword [rbx + 0x10], rax
je 0x1400087c2
mov rcx, qword [rbx + 0x18]
and rcx, rax
cmp rcx, qword [rbx + 0x18]
jne 0x1400087c2
mov eax, 1
jmp 0x1400087c5
mov al, r13b
test al, al
je 0x140008886
mov eax, 0x80000000
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x7e0], rax
mov qword [rbp + 0x7e8], 8
lea rax, [0x140034da0]
mov qword [rbp + 0x7f0], rax
mov qword [rbp + 0x7f8], 8
call fcn.140009b2c
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rbp + 0x800], rax
mov qword [rbp + 0x808], 8
call fcn.140009cd8
lea rdx, [0x140033f7e]
mov rcx, r13
test rax, rax
je 0x14000884c
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r13b
jne 0x140008843
mov qword [rbp + 0x810], rdx
lea eax, [rcx + 1]
mov dword [rbp + 0x818], eax
mov dword [rbp + 0x81c], r13d
lea rax, [rbp + 0x7c0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
lea rdx, [0x1400467d5]
mov rcx, rbx
call fcn.1400010a0
mov edx, 0xf0
jmp 0x140009104
lea rdx, str.Device_is_AAD_joined
xor ecx, ecx
call fcn.14000a164
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0xe8], r13
mov eax, 7
mov qword [rbp + 0xf0], rax
mov word [rbp + 0xd8], r13w
mov qword [rbp + 0x108], r13
mov qword [rbp + 0x110], rax
mov word [rbp + 0xf8], r13w
mov qword [rbp + 0x128], r13
mov qword [rbp + 0x130], rax
mov word [rbp + 0x118], r13w
mov qword [rbp + 0x148], r13
mov qword [rbp + 0x150], rax
mov word [rbp + 0x138], r13w
mov qword [rbp + 0x168], r13
mov qword [rbp + 0x170], rax
mov word [rbp + 0x158], r13w
mov qword [rbp + 0x188], r13
mov qword [rbp + 0x190], rax
mov word [rbp + 0x178], 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.14000a164
lea rcx, [rbp + 0xd0]
call fcn.14001cf60
mov dword [rsp + 0x38], eax
test eax, eax
jne 0x140008fc2
cmp dword [rbp + 0xd0], r13d
je 0x140008fc2
call fcn.14000a3bc
mov rbx, rax
mov esi, 1
cmp dword [rax], esi
jbe 0x140008a5a
movabs rax, 0x800000000001
test qword [rbx + 0x10], rax
je 0x140008996
mov rcx, qword [rbx + 0x18]
and rcx, rax
cmp rcx, qword [rbx + 0x18]
mov al, sil
je 0x140008999
mov al, r13b
test al, al
je 0x140008a5a
mov eax, 0x80000000
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x840], rax
mov qword [rbp + 0x848], 8
lea rax, [0x140034da0]
mov qword [rbp + 0x850], rax
mov qword [rbp + 0x858], 8
call fcn.140009b2c
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rbp + 0x860], rax
mov qword [rbp + 0x868], 8
call fcn.140009cd8
lea rdx, [0x140033f7e]
mov rcx, r13
test rax, rax
je 0x140008a20
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r13b
jne 0x140008a17
mov qword [rbp + 0x870], rdx
lea eax, [rcx + 1]
mov dword [rbp + 0x878], eax
mov dword [rbp + 0x87c], r13d
lea rax, [rbp + 0x820]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
lea rdx, [0x14004603a]
mov rcx, rbx
call fcn.1400010a0
lea rdx, str.Device_is_enrolled_in_WuFB_DS_service._Checking_if_polling_can_be_performed.
xor ecx, ecx
call fcn.14000a164
lea rax, str.SoftwareMicrosoftCloudManagedUpdateuhspolling
mov qword [rbp + 0x7c0], rax
lea rax, str.LastPollingTime
mov qword [rbp + 0x7c8], rax
lea rax, str.UHS.POLLINGINTERVALSMALLINMINUTES
mov qword [rbp + 0x7d0], rax
lea rax, str.UHS.POLLINGINTERVALBIGINMINUTES
mov qword [rbp + 0x7d8], rax
lea rax, str.FastPollingStartTime
mov qword [rbp + 0x7e0], rax
lea rax, str.CurrentRequestId
mov qword [rbp + 0x7e8], rax
mov dword [rbp + 0x7f0], r13d
mov dword [rbp + 0x7f4], 0x5a0
mov dword [rbp + 0x7f8], 0xb40
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x820]
call fcn.140009298
mov rdx, rax
lea rcx, [rbp + 0x7c0]
call fcn.14001b284
mov dword [rsp + 0x38], eax
test eax, eax
je 0x140008b0f
lea rdx, str.Failed_to_load_tenant_enrollment_settings_for_PollingScheduler
mov ecx, eax
call fcn.14000a164
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x820]
call fcn.140009298
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14001bf28
mov dword [rsp + 0x38], eax
test eax, eax
je 0x140008b45
lea rdx, str.Failed_to_load_tenant_enrollment_settings_for_RemoteActionScheduler
mov ecx, eax
call fcn.14000a164
lea rdx, [rbp + 0x178]
lea rcx, [rbp + 0x7c0]
call fcn.14000ac70
mov rcx, rax
call fcn.14001d050
mov dword [rsp + 0x38], eax
test eax, eax
je 0x140008b7b
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.14000a164
jmp 0x140008b89
lea rdx, str.Updated_the_WuFB_DS_server_endpoint_to_registery
xor ecx, ecx
call fcn.14000a164
call fcn.140007eb8
xor ecx, ecx
test al, al
je 0x140008c5a
lea rdx, str.Poll_time_interval_has_passed._Checking_for_active_notification
call fcn.14000a164
lea rdx, [rsp + 0x31]
call fcn.1400067e4
mov dword [rsp + 0x38], eax
cmp eax, 0xc0000010
jne 0x140008bc5
lea rdx, str.Error:_There_is_no_policy_available_for_this_device_in_blob_storage
jmp 0x140008c46
test eax, eax
je 0x140008c3f
mov r8d, eax
lea rdx, str.Error:_Failed_to_check_and_act_on_notification:_HR__0x_08x
mov ecx, eax
call fcn.14000a164
mov edx, 0x3c
mov rcx, r14
call fcn.14000668c
mov bl, al
lea rcx, [rbp + 0x178]
call fcn.14000ab60
lea rcx, [rbp + 0x158]
call fcn.14000ab60
lea rcx, [rbp + 0x138]
call fcn.14000ab60
lea rcx, [rbp + 0x118]
call fcn.14000ab60
lea rcx, [rbp + 0xf8]
call fcn.14000ab60
lea rcx, [rbp + 0xd8]
call fcn.14000ab60
nop
test bl, bl
je 0x1400091ab
jmp 0x140008557
lea rdx, str.Finished_checking_for_active_notification
xor ecx, ecx
call fcn.14000a164
cmp byte [rsp + 0x31], r13b
jne 0x140009163
jmp 0x140008c66
lea rdx, str.Poll_time_interval_has_not_elapsed._Will_check_after_some_time_and_poll
call fcn.14000a164
lea rcx, [rbp + 0x1c0]
call fcn.14001d540
nop
test r15b, r15b
jne 0x140008d23
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.14000a164
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14001c468
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.14000a164
cmp dword [rsp + 0x38], r13d
jne 0x140008d1b
test r15b, r15b
je 0x140008d1b
lea rdx, str.Client_is_newly_installed_on_the_device._Attempting_to_upload_device_information
xor ecx, ecx
call fcn.14000a164
mov r8b, sil
lea rdx, [rbp + 0x1c0]
call fcn.140006e3c
mov dword [rsp + 0x38], eax
test eax, eax
jne 0x140008d05
lea rdx, str.Successfully_uploaded_the_device_information
xor ecx, ecx
call fcn.14000a164
lea rcx, [rsp + 0x70]
call fcn.14001c870
jmp 0x140008f68
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.14000a164
jmp 0x140008f68
mov r15b, sil
mov byte [rsp + 0x30], sil
mov dword [rsp + 0x38], r13d
cmp dword [rbp + 0x788], r13d
je 0x140008ec4
lea rcx, [rbp + 0x1c0]
call fcn.14001ea48
mov dword [rsp + 0x38], eax
cmp dword [rbp + 0x788], r13d
je 0x140008ec4
test eax, eax
jne 0x140008ec4
lea r8, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 8
cmovae r8, qword [rbp + 0x1c0]
lea rdx, str.Successfully_completed_setup_of_push_notifications_listening_on__s
xor ecx, ecx
call fcn.14000a164
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.14000a164
lea rcx, [rsp + 0x70]
call fcn.14001c64c
test eax, eax
jne 0x140008dd9
lea rcx, [rsp + 0x70]
call fcn.14001c75c
test eax, eax
je 0x140008dc9
call fcn.140006c7c
test al, al
jne 0x140008dd9
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x1c0]
call fcn.140019898
test eax, eax
jne 0x140008dd9
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.14000a164
jmp 0x140008e29
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.14000a164
mov r8b, sil
lea rdx, [rbp + 0x1c0]
call fcn.140006e3c
mov dword [rsp + 0x38], eax
test eax, eax
jne 0x140008e18
lea rdx, str.Successfully_uploaded_the_device_information
xor ecx, ecx
call fcn.14000a164
lea rcx, [rsp + 0x70]
call fcn.14001c870
jmp 0x140008e29
mov r8d, eax
lea rdx, str.Error:Failed_to_upload_the_device_information_to_theWuFB_DSserver:_HR__0x_08x
mov ecx, eax
call fcn.14000a164
lea rax, [rsp + 0x33]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x31]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x208]
lea rdx, [rbp + 0x200]
mov rcx, r14
call fcn.14000784c
mov dword [rsp + 0x38], eax
cmp byte [rsp + 0x31], r13b
jne 0x140009113
cmp byte [rsp + 0x33], r13b
je 0x140008eb1
lea rcx, [rsp + 0x70]
call fcn.14001c64c
test eax, eax
jne 0x140009113
lea rcx, [rsp + 0x70]
call fcn.14001c75c
test eax, eax
je 0x140008eb1
call fcn.140006c7c
test al, al
jne 0x140009113
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x1c0]
call fcn.140019898
test eax, eax
jne 0x140009113
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.14000a164
jmp 0x140008f68
lea rcx, [rsp + 0x70]
call fcn.14001c64c
test eax, eax
jne 0x140008f03
lea rcx, [rsp + 0x70]
call fcn.14001c75c
test eax, eax
je 0x140008ee9
call fcn.140006c7c
test al, al
jne 0x140008f03
mov ebx, 0x3c
mov r8d, ebx
lea rdx, str.WNS_is_not_enabled_for_this_device_and_polling_has_been_checked.__Waiting_for__d_minutes
xor ecx, ecx
call fcn.14000a164
mov edx, ebx
jmp 0x140008f58
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.14000a164
mov r8b, sil
lea rdx, [rbp + 0x1c0]
call fcn.140006e3c
mov dword [rsp + 0x38], eax
test eax, eax
jne 0x140008f42
lea rdx, str.Uploaded_device_information_to_server__setting_delay_for_the_next_forced_reboot.
xor ecx, ecx
call fcn.14000a164
lea rcx, [rsp + 0x70]
call fcn.14001c870
jmp 0x140008f53
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.14000a164
mov edx, 0x3c
mov rcx, r14
call fcn.14000668c
test al, al
je 0x140009156
lea rcx, [rbp + 0x1c0]
call fcn.14001df20
nop
lea rcx, [rbp + 0x178]
call fcn.14000ab60
lea rcx, [rbp + 0x158]
call fcn.14000ab60
lea rcx, [rbp + 0x138]
call fcn.14000ab60
lea rcx, [rbp + 0x118]
call fcn.14000ab60
lea rcx, [rbp + 0xf8]
call fcn.14000ab60
lea rcx, [rbp + 0xd8]
call fcn.14000ab60
jmp 0x140008557
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.14000a164
call fcn.14000a3bc
mov rbx, rax
mov esi, 1
cmp dword [rax], esi
jbe 0x1400090e3
movabs rax, 0x800000000001
test qword [rbx + 0x10], rax
je 0x140009008
mov rcx, qword [rbx + 0x18]
and rcx, rax
cmp rcx, qword [rbx + 0x18]
mov al, sil
je 0x14000900b
mov al, r13b
test al, al
je 0x1400090e3
mov eax, 0x80000000
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x840], rax
mov qword [rbp + 0x848], 8
lea rax, [0x140034da0]
mov qword [rbp + 0x850], rax
mov qword [rbp + 0x858], 8
call fcn.140009b2c
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x68]
mov qword [rbp + 0x860], rax
mov qword [rbp + 0x868], 8
call fcn.140009cd8
lea rdx, [0x140033f7e]
mov rcx, r13
test rax, rax
je 0x140009092
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r13b
jne 0x140009089
mov qword [rbp + 0x870], rdx
lea eax, [rcx + 1]
mov dword [rbp + 0x878], eax
mov dword [rbp + 0x87c], r13d
lea rax, [rsp + 0x38]
mov qword [rbp + 0x880], rax
mov qword [rbp + 0x888], 4
lea rax, [rbp + 0x820]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 7
lea rdx, [0x140046734]
mov rcx, rbx
call fcn.1400010a0
mov edx, dword [rbp + 0x798]
jmp 0x140008bdf
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, ebx
mov ecx, ebx
call fcn.14000a164
mov edx, 0x3c
mov rcx, r14
call fcn.14000668c
test al, al
jmp 0x140008c34
xor r8d, r8d
lea rdx, [rbp + 0x1c0]
call fcn.140006e3c
mov dword [rsp + 0x38], eax
test eax, eax
jne 0x140009144
lea rdx, str.Uploaded_device_information_to_server__setting_delay_for_the_next_forced_reboot.
xor ecx, ecx
call fcn.14000a164
lea rcx, [rsp + 0x70]
call fcn.14001c870
jmp 0x140009156
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.14000a164
nop
lea rcx, [rbp + 0x1c0]
call fcn.14001df20
nop
lea rcx, [rbp + 0x178]
call fcn.14000ab60
lea rcx, [rbp + 0x158]
call fcn.14000ab60
lea rcx, [rbp + 0x138]
call fcn.14000ab60
lea rcx, [rbp + 0x118]
call fcn.14000ab60
lea rcx, [rbp + 0xf8]
call fcn.14000ab60
lea rcx, [rbp + 0xd8]
call fcn.14000ab60
lea rdx, str.Completed_ExecuteListenForPushNotifications
xor ecx, ecx
call fcn.14000a164
mov rcx, qword [r14 + 0x58]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
test eax, eax
jne 0x1400091db
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
lea rcx, [rbp + 0x4e0]
call fcn.140018100
nop
lea rcx, [rbp - 0x10]
call fcn.140014c98
nop
test r12b, r12b
je 0x1400091fd
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
mov eax, edi
mov rcx, qword [rbp + 0x8f0]
xor rcx, rsp
call fcn.14002d710
lea r11, [rsp + 0xa00]
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.140012a54
int3
call fcn.140012928
int3