Function at 0x140049910
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1950]
mov eax, 0x1a50
call fcn.1400fc8d0
sub rsp, rax
movaps xmmword [rsp + 0x1a40], xmm6
mov rax, qword [0x1401b4a98]
xor rax, rsp
mov qword [rbp + 0x1930], rax
mov r14, rdx
xor r12d, r12d
mov dword [rsp + 0x34], r12d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x720]
call fcn.1400fe8d0
lea rax, [rbp + 0x720]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rbp + 0x360], r12
mov qword [rbp + 0x370], r12
mov r15d, 7
mov qword [rbp + 0x378], r15
mov word [rbp + 0x360], r12w
lea rax, [rbp + 0x720]
mov r13, 0xffffffffffffffff
mov r8, r13
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400499d0
lea rdx, [rbp + 0x720]
lea rcx, [rbp + 0x360]
call fcn.140002fb0
nop
mov rcx, qword [rbp + 0x370]
mov rdx, qword [rbp + 0x378]
mov rax, rdx
sub rax, rcx
mov r8d, 0xe
mov qword [rbp + 0x320], r8
cmp rax, 7
jb 0x140049a4b
lea rdi, [rcx + 7]
mov qword [rbp + 0x370], rdi
lea rbx, [rbp + 0x360]
cmp rdx, 8
cmovae rbx, qword [rbp + 0x360]
lea rcx, [rbx + rcx*2]
lea rdx, str.McAfee
call fcn.1400fe220
mov word [rbx + rdi*2], r12w
jmp 0x140049a6c
mov qword [rsp + 0x20], r15
lea r9, str.McAfee
movzx r8d, byte [rsp + 0x30]
mov rdx, r15
lea rcx, [rbp + 0x360]
call fcn.1400208c0
mov rdx, qword [rbp + 0x370]
mov r8, qword [rbp + 0x378]
mov rax, r8
sub rax, rdx
cmp rax, 4
jb 0x140049ab9
lea rcx, [rdx + 4]
mov qword [rbp + 0x370], rcx
lea rax, [rbp + 0x360]
cmp r8, 8
cmovae rax, qword [rbp + 0x360]
movabs r8, 0x5300500057005c
mov qword [rax + rdx*2], r8
mov word [rax + rcx*2], r12w
jmp 0x140049ae0
mov qword [rsp + 0x20], 4
lea r9, str.WPS
movzx r8d, byte [rsp + 0x30]
mov edx, 4
lea rcx, [rbp + 0x360]
call fcn.1400208c0
mov rcx, qword [rbp + 0x370]
mov rdx, qword [rbp + 0x378]
mov rax, rdx
sub rax, rcx
cmp rax, 0xc
jb 0x140049b35
lea rdi, [rcx + 0xc]
mov qword [rbp + 0x370], rdi
lea rbx, [rbp + 0x360]
cmp rdx, 8
cmovae rbx, qword [rbp + 0x360]
lea rcx, [rbx + rcx*2]
mov r8d, 0x18
lea rdx, str.product.cfg
call fcn.1400fe220
mov word [rbx + rdi*2], r12w
jmp 0x140049b5c
mov qword [rsp + 0x20], 0xc
lea r9, str.product.cfg
movzx r8d, byte [rsp + 0x30]
mov edx, 0xc
lea rcx, [rbp + 0x360]
call fcn.1400208c0
movzx eax, byte [0x1401b5780]
cmp al, 6
ja 0x140049b8f
lea r8, [rbp + 0x360]
cmp qword [rbp + 0x378], 8
cmovae r8, qword [rbp + 0x360]
mov edx, 6
lea rcx, str.ReadWPSSettingConfig:_product_cfg_path____s
call fcn.140034cf0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x330], xmm1
mov ecx, 0x60
call fcn.1400fbb48
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x330], rax
mov qword [rbp + 0x340], r12
mov qword [rbp + 0x350], r12
mov qword [rbp + 0x358], r15
mov word [rbp + 0x340], r12w
xor ecx, ecx
call fcn.14010c130
mov qword [rbp + 0x328], rax
lea rdx, [rbp + 0x328]
lea rcx, [rbp + 0x6b0]
call fcn.140109b2c
test eax, eax
je 0x140049c27
movzx ecx, byte [0x1401b5780]
cmp cl, 4
ja 0x140049d31
mov r8d, eax
mov edx, 4
lea rcx, str.Failed_to_get_current_dateTime__localtime_s___failed._Error_No.:_d
call fcn.140034cf0
jmp 0x140049d31
lea rcx, [rbp + 0x6b0]
call fcn.140109eec
mov qword [rbp + 0x3e0], rax
lea rdx, [rbp + 0x3e0]
lea rcx, [rbp + 0x6b0]
call fcn.140109b2c
test eax, eax
je 0x140049c7a
movzx ecx, byte [0x1401b5780]
cmp cl, 4
ja 0x140049d31
mov r8d, eax
mov edx, 4
lea rcx, str.Failed_to_get_next_run_dateTime__localtime_s___failed._Error_No.:_d
call fcn.140034cf0
jmp 0x140049d31
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x930]
call fcn.1400fe8d0
lea r9, [rbp + 0x6b0]
lea r8, str._Y__m__dT_H:_M:_S
mov edx, 0x800
lea rcx, [rbp + 0x930]
call fcn.14010c114
test rax, rax
jne 0x140049cd0
movzx eax, byte [0x1401b5780]
cmp al, 4
ja 0x140049d31
mov edx, 4
lea rcx, str.Failed_to_write_the_buffer__wcsftime___failed.
call fcn.140034cf0
jmp 0x140049d31
lea rax, [rbp + 0x930]
mov r8, r13
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140049ce0
lea rdx, [rbp + 0x930]
lea rcx, [rbp + 0x340]
call fcn.140002fb0
movzx eax, byte [0x1401b5780]
cmp al, 6
ja 0x140049d31
lea r8, [rbp + 0x340]
cmp qword [rbp + 0x358], 8
cmovae r8, qword [rbp + 0x340]
mov edx, 6
lea rcx, str.Next_task_is_scheduled_at:_s
call fcn.140034cf0
lea rcx, [rbp + 0x340]
mov rax, qword [rbp + 0x350]
cmp qword [rbp + 0x358], 8
jb 0x140049d56
mov rsi, qword [rbp + 0x340]
lea rbx, [rsi + rax*2]
jmp 0x140049d61
lea rbx, [rcx + rax*2]
lea rsi, [rbp + 0x340]
mov qword [rbp + 0x3b0], r12
mov rcx, r12
mov qword [rbp + 0x3c0], rcx
mov r8d, 0xf
mov qword [rbp + 0x3c8], r8
mov byte [rbp + 0x3b0], cl
mov rdx, rbx
sub rdx, rsi
sar rdx, 1
cmp rdx, r8
jbe 0x140049db7
lea rcx, [rbp + 0x3b0]
call fcn.14003c0f0
mov rcx, r12
mov qword [rbp + 0x3c0], rcx
mov rax, qword [rbp + 0x350]
mov r8, qword [rbp + 0x3c8]
lea rdx, [rbp + 0x3b0]
mov qword [rbp + 0x3e0], rdx
cmp rsi, rbx
je 0x140049e37
movzx edi, byte [rsp + 0x30]
nop
movzx r9d, byte [rsi]
cmp rcx, r8
jae 0x140049e02
lea rax, [rcx + 1]
mov qword [rbp + 0x3c0], rax
lea rax, [rbp + 0x3b0]
cmp r8, 0x10
cmovae rax, qword [rbp + 0x3b0]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140049e17
movzx r8d, dil
mov edx, 1
lea rcx, [rbp + 0x3b0]
call fcn.14003c2b0
add rsi, 2
cmp rsi, rbx
je 0x140049e30
mov r8, qword [rbp + 0x3c8]
mov rcx, qword [rbp + 0x3c0]
jmp 0x140049dd0
mov rax, qword [rbp + 0x350]
nop word [rax + rax]
lea r8, [rbp + 0x340]
cmp qword [rbp + 0x358], 8
cmovae r8, qword [rbp + 0x340]
test rax, rax
je 0x140049e93
mov rcx, r8
mov rdx, r12
cmp word [r8], 0x54
je 0x140049e83
nop dword [rax]
cmp rax, 1
je 0x140049e86
dec rax
add rcx, 2
cmp word [rcx], 0x54
jne 0x140049e70
mov rdx, rcx
test rdx, rdx
je 0x140049e93
sub rdx, r8
sar rdx, 1
jmp 0x140049e96
mov rdx, r13
cmp edx, 0xffffffff
je 0x140049ecc
movsxd rdx, edx
mov qword [rsp + 0x20], 1
lea r9, [0x140173aa0]
mov r8d, 1
lea rcx, [rbp + 0x340]
call fcn.140027bd0
mov rax, qword [rbp + 0x350]
jmp 0x140049e40
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x210]
call fcn.1400fe8d0
lea rdx, [rbp + 0x360]
cmp qword [rbp + 0x378], 8
cmovae rdx, qword [rbp + 0x360]
lea rcx, [rbp + 0x210]
call fcn.140041820
nop
mov rax, qword [rbp + 0x210]
movsxd rcx, dword [rax + 4]
lea rdi, str.failure
mov r12d, 0x66
cmp dword [rbp + rcx + 0x220], 0
jne 0x14004a68a
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x5b0]
call fcn.1400fe8d0
lea rcx, [0x140000000]
lea rax, [rcx + 0x174b98]
mov qword [rbp + 0x5b0], rax
lea rax, [rcx + 0x1700e8]
mov qword [rbp + 0x5c0], rax
xor ebx, ebx
mov qword [rbp + 0x650], rbx
mov qword [rbp + 0x678], rbx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x680], xmm0
mov dword [rsp + 0x34], 4
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x648], rax
mov dword [rbp + 0x644], 0x80
mov qword [rbp + 0x5b8], rbx
lea rdx, [rbp + 0x5c8]
lea rcx, [rbp + 0x648]
call fcn.140017580
nop
mov rax, qword [rbp + 0x5c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx + 0x5c0], rax
mov rax, qword [rbp + 0x5c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x5bc], edx
mov rax, qword [rbp + 0x5b0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx + 0x5b0], rax
mov rax, qword [rbp + 0x5b0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rbp + rcx + 0x5ac], edx
mov rax, qword [rbp + 0x5b0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x5b0], rax
mov rax, qword [rbp + 0x5b0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x5ac], edx
lea rcx, [rbp + 0x5c8]
call fcn.140017320
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x5c8], rax
mov qword [rbp + 0x630], rbx
mov dword [rbp + 0x638], ebx
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x5c0]
call fcn.1400408e0
nop
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbx
mov rcx, r15
mov qword [rsp + 0x78], rcx
mov word [rsp + 0x60], bx
mov dword [rsp + 0x34], 0x84
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
mov edx, dword [rbp + 0x638]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x14004a0e9
mov rax, qword [rbp + 0x608]
mov r8, qword [rax]
test r8, r8
je 0x14004a0e9
mov rax, qword [rbp + 0x5e8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x630]
cmovb r8, qword [rbp + 0x630]
sub r8, rdx
sar r8, 1
jmp 0x14004a12d
test dl, 4
jne 0x14004a11f
mov rax, qword [rbp + 0x600]
mov r9, qword [rax]
test r9, r9
je 0x14004a11f
mov rax, qword [rbp + 0x5e0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x618]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, r9
sar r8, 1
jmp 0x14004a12d
mov r8, qword [rbp + 0x118]
mov rdx, qword [rbp + 0x110]
test rdx, rdx
je 0x14004a141
lea rcx, [rsp + 0x60]
call fcn.140002fb0
mov rcx, qword [rsp + 0x78]
mov dword [rsp + 0x34], 0x44
lea rax, [rsp + 0x60]
cmp r14, rax
je 0x14004a176
mov rcx, r14
call fcn.14000d700
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [r14 + 0x10], xmm1
mov rcx, r15
mov word [rsp + 0x60], bx
cmp rcx, 8
jb 0x14004a18f
lea r8, [rcx + 1]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.14000ced0
cmp qword [r14 + 0x18], 8
jb 0x14004a1aa
mov rcx, qword [r14 + 0x10]
add rcx, rcx
mov r8, qword [r14]
lea rdx, [rcx + r8]
lea r9, [rcx + r8]
jmp 0x14004a1bc
mov rax, qword [r14 + 0x10]
add rax, rax
lea rdx, [r14 + rax]
mov r8, r14
lea r9, [r14 + rax]
cmp r8, rdx
je 0x14004a1fa
cmp word [r8], 0x20
je 0x14004a1d1
add r8, 2
cmp r8, rdx
jne 0x14004a1c1
cmp r8, rdx
je 0x14004a1fa
lea rax, [r8 + 2]
cmp rax, rdx
je 0x14004a1fa
nop
movzx ecx, word [rax]
cmp cx, 0x20
je 0x14004a1f1
mov word [r8], cx
add r8, 2
add rax, 2
cmp rax, rdx
jne 0x14004a1e0
lea rdx, [rbp + 0x128]
mov rcx, r14
call fcn.14001fe80
cmp qword [r14 + 0x18], 8
jb 0x14004a224
mov rcx, qword [r14 + 0x10]
add rcx, rcx
mov r8, qword [r14]
lea rdx, [rcx + r8]
lea r9, [rcx + r8]
jmp 0x14004a236
mov rax, qword [r14 + 0x10]
add rax, rax
lea rdx, [rax + r14]
mov r8, r14
lea r9, [r14 + rax]
cmp r8, rdx
je 0x14004a27a
nop dword [rax + rax]
cmp word [r8], 0xa
je 0x14004a250
add r8, 2
cmp r8, rdx
jne 0x14004a240
cmp r8, rdx
je 0x14004a27a
lea rax, [r8 + 2]
cmp rax, rdx
je 0x14004a27a
nop
movzx ecx, word [rax]
cmp cx, 0xa
je 0x14004a271
mov word [r8], cx
add r8, 2
add rax, 2
cmp rax, rdx
jne 0x14004a260
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.14001fe80
movzx eax, byte [0x1401b5780]
cmp al, 6
ja 0x14004a2b0
mov r8, r14
cmp qword [r14 + 0x18], 8
jb 0x14004a29f
mov r8, qword [r14]
mov edx, 6
lea rcx, str.ReadWPSSettingConfig:_value_read_from_product_cfg_file_is:__s
call fcn.140034cf0
mov rdx, r14
lea rcx, [rbp + 0x150]
call fcn.14000cdc0
lea r8, [rbp + 0x330]
mov rdx, rax
lea rcx, [rbp + 0x328]
call fcn.14001d140
lea rax, str.euladate
mov qword [rbp + 0x3d0], rax
mov qword [rbp + 0x3d8], 8
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], r15
mov r8d, 5
lea rdx, str.jeula
lea rcx, [rbp - 0x70]
call fcn.140002fb0
mov rax, qword [rbp + 0x330]
mov rbx, qword [rax + 8]
mov rsi, rax
cmp byte [rbx + 0x19], 0
jne 0x14004a375
cmp qword [rbp - 0x58], 8
setae r13b
nop dword [rax]
lea rcx, [rbx + 0x20]
lea r8, [rbp - 0x70]
test r13b, r13b
cmovne r8, qword [rbp - 0x70]
mov rdx, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x14004a34e
mov rcx, qword [rcx]
mov r9, qword [rbp - 0x60]
call fcn.14000dde0
cmp eax, 0xffffffff
jg 0x14004a362
mov rbx, qword [rbx + 0x10]
jmp 0x14004a368
mov rsi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x14004a330
mov r13, 0xffffffffffffffff
cmp byte [rsi + 0x19], 0
jne 0x14004a395
lea rdx, [rsi + 0x20]
lea rcx, [rbp - 0x70]
call fcn.140018b50
test al, al
js 0x14004a395
mov rax, qword [rbp + 0x330]
jmp 0x14004a39f
mov rax, qword [rbp + 0x330]
mov rsi, rax
cmp rsi, rax
setne bl
mov rax, qword [rbp - 0x58]
cmp rax, 8
jb 0x14004a3c0
lea r8, [rax + 1]
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.14000ced0
test bl, bl
je 0x14004a67e
xor esi, esi
mov qword [rbp + 0x3e8], rsi
mov qword [rbp + 0x3f8], rsi
mov qword [rbp + 0x400], r15
mov word [rbp + 0x3e8], si
movaps xmm6, xmmword [rbp + 0x3d0]
movdqa xmmword [rbp + 0x3d0], xmm6
lea r9, [rbp + 0x3e8]
lea r8, [rbp + 0x3d0]
lea rdx, [rbp + 0x460]
lea rcx, [rbp + 0x328]
call fcn.14001da30
nop
lea r9, [rbp + 0x3e8]
cmp qword [rbp + 0x400], 8
cmovae r9, qword [rbp + 0x3e8]
cmp qword [rbp + 0x3f8], 7
jne 0x14004a471
mov r8, r15
mov rax, rdi
movzx ecx, word [r9]
mov edx, r12d
cmp cx, r12w
jb 0x14004a471
sub r9, rdi
cmp cx, dx
ja 0x14004a471
cmp r8, 1
je 0x14004a5a3
dec r8
add rax, 2
movzx ecx, word [rax + r9]
movzx edx, word [rax]
cmp cx, dx
jae 0x14004a451
cmp qword [rbp + 0x470], 0
jne 0x14004a5ed
mov qword [rbp + 0x50], rsi
movdqa xmm0, xmmword [0x1401862c0]
movdqu xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], si
mov r8d, 5
lea rdx, str.jeula
lea rcx, [rbp + 0x50]
call fcn.140002fb0
nop
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x330]
call fcn.14002a900
lea rdx, [0x14016c7ec]
mov rcx, rax
call fcn.14000ccb0
mov ebx, eax
lea rcx, [rbp + 0x50]
call fcn.14000d700
test ebx, ebx
jne 0x14004a664
mov qword [rbp - 0x50], rsi
movdqa xmm0, xmmword [0x1401862c0]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], si
lea r8d, [rbx + 8]
lea rdx, str.euladate
lea rcx, [rbp - 0x50]
call fcn.140002fb0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x330]
call fcn.14002a900
lea rcx, [rbp + 0x340]
cmp rax, rcx
je 0x14004a54a
lea rdx, [rbp + 0x340]
cmp qword [rbp + 0x358], 8
cmovae rdx, qword [rbp + 0x340]
mov r8, qword [rbp + 0x350]
mov rcx, rax
call fcn.140002fb0
nop
lea rcx, [rbp - 0x50]
call fcn.14000d700
lea rdx, [rbp + 0x340]
lea rcx, [rbp + 0x170]
call fcn.14000cdc0
movdqa xmmword [rbp + 0x3d0], xmm6
lea rcx, [rbp + 0x3e8]
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rbp + 0x3d0]
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x328]
call fcn.14001e1b0
lea rcx, [rbp + 0x190]
jmp 0x14004a65e
movzx eax, byte [0x1401b5780]
cmp al, 6
ja 0x14004a5c0
mov edx, 6
lea rcx, str.ReadWPSSettingConfig:_failed_to_get_euladate_value.
call fcn.140034cf0
nop
lea rcx, [rbp + 0x460]
call fcn.14000d700
nop
lea rcx, [rbp + 0x3e8]
call fcn.14000d700
nop
lea rcx, [rbp + 0x5b0]
call fcn.14001d930
xor bl, bl
jmp 0x14004b26f
lea rbx, [rbp + 0x460]
cmp qword [rbp + 0x478], 8
cmovae rbx, qword [rbp + 0x460]
mov qword [rbp - 0x50], rsi
movdqa xmm0, xmmword [0x1401862c0]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], si
mov r8d, 8
lea rdx, str.euladate
lea rcx, [rbp - 0x50]
call fcn.140002fb0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x330]
call fcn.14002a900
mov r8, r13
inc r8
cmp word [rbx + r8*2], 0
jne 0x14004a643
mov rdx, rbx
mov rcx, rax
call fcn.140002fb0
nop
lea rcx, [rbp - 0x50]
call fcn.14000d700
nop
lea rcx, [rbp + 0x460]
call fcn.14000d700
nop
lea rcx, [rbp + 0x3e8]
call fcn.14000d700
nop
lea rcx, [rbp + 0x5b0]
call fcn.14001d930
xor esi, esi
mov qword [rbp + 0x390], rsi
mov qword [rbp + 0x3a0], rsi
mov qword [rbp + 0x3a8], r15
mov word [rbp + 0x390], si
lea rbx, str.oobedate
mov qword [rbp + 0x410], rbx
mov qword [rbp + 0x418], 8
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], 8
lea r9, [rbp + 0x390]
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x480]
lea rcx, [rbp + 0x328]
call fcn.14001da30
nop
lea r9, [rbp + 0x390]
cmp qword [rbp + 0x3a8], 8
cmovae r9, qword [rbp + 0x390]
cmp qword [rbp + 0x3a0], 7
jne 0x14004a74f
mov r8, r15
mov rax, rdi
movzx ecx, word [r9]
mov edx, r12d
cmp cx, r12w
jb 0x14004a74f
sub r9, rdi
cmp cx, dx
ja 0x14004a74f
cmp r8, 1
je 0x14004a806
dec r8
add rax, 2
movzx ecx, word [r9 + rax]
movzx edx, word [rax]
cmp cx, dx
jae 0x14004a72f
cmp qword [rbp + 0x490], 0
jne 0x14004a829
lea rdx, [rbp + 0x340]
lea rcx, [rbp + 0x1b0]
call fcn.14000cdc0
movaps xmm0, xmmword [rbp + 0x410]
movdqa xmmword [rbp + 0x410], xmm0
lea rcx, [rbp + 0x390]
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rbp + 0x410]
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x328]
call fcn.14001e1b0
lea rcx, [rbp + 0x1d0]
call fcn.14000d700
mov qword [rsp + 0x40], rsi
movdqa xmm0, xmmword [0x1401862c0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
mov r8d, 8
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140002fb0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x330]
call fcn.14002a900
mov rcx, rax
lea rdx, [rbp + 0x340]
call fcn.14000cd70
nop
jmp 0x14004a8c7
movzx eax, byte [0x1401b5780]
cmp al, 6
ja 0x14004a822
mov edx, 6
lea rcx, str.ReadWPSSettingConfig:_failed_to_get_oobedate_value.
call fcn.140034cf0
xor bl, bl
jmp 0x14004b255
movzx eax, byte [0x1401b5780]
cmp al, 6
ja 0x14004a854
lea rcx, [rbp + 0x480]
call fcn.14000cd50
mov r8, rax
mov edx, 6
lea rcx, str.ReadWPSSettingConfig:_oobedate____s
call fcn.140034cf0
lea rbx, [rbp + 0x480]
cmp qword [rbp + 0x498], 8
cmovae rbx, qword [rbp + 0x480]
mov qword [rsp + 0x40], rsi
movdqa xmm0, xmmword [0x1401862c0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
mov r8d, 8
lea rdx, str.oobedate
lea rcx, [rsp + 0x40]
call fcn.140002fb0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x330]
call fcn.14002a900
mov r8, r13
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x14004a8b0
mov rdx, rbx
mov rcx, rax
call fcn.140002fb0
nop
lea rcx, [rsp + 0x40]
call fcn.14000d700
lea rax, str.peula
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], 5
lea r9, [rbp + 0x390]
lea r8, [rbp + 0xc0]
lea rdx, [rbp + 0x4e0]
lea rcx, [rbp + 0x328]
call fcn.14001da30
nop
lea r9, [rbp + 0x390]
cmp qword [rbp + 0x3a8], 8
cmovae r9, qword [rbp + 0x390]
cmp qword [rbp + 0x3a0], 7
jne 0x14004a966
mov r8, r15
mov rax, rdi
movzx ecx, word [r9]
mov edx, r12d
cmp cx, r12w
jb 0x14004a966
sub r9, rdi
cmp cx, dx
ja 0x14004a966
cmp r8, 1
je 0x14004af4d
dec r8
add rax, 2
movzx ecx, word [rax + r9]
movzx edx, word [rax]
cmp cx, dx
jae 0x14004a946
movzx eax, byte [0x1401b5780]
cmp al, 6
ja 0x14004a991
lea rcx, [rbp + 0x4e0]
call fcn.14000cd50
mov r8, rax
mov edx, 6
lea rcx, str.ReadWPSSettingConfig:_peulaIndex____s
call fcn.140034cf0
lea rbx, [rbp + 0x4e0]
cmp qword [rbp + 0x4f8], 8
cmovae rbx, qword [rbp + 0x4e0]
mov qword [rbp - 0x20], rsi
movdqa xmm0, xmmword [0x1401862c0]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], si
mov r8d, 5
lea rdx, str.peula
lea rcx, [rbp - 0x20]
call fcn.140002fb0
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x330]
call fcn.14002a900
mov r8, r13
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14004a9f0
mov rdx, rbx
mov rcx, rax
call fcn.140002fb0
nop
lea rcx, [rbp - 0x20]
call fcn.14000d700
lea rax, str.nextrunindex
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], 0xc
lea r9, [rbp + 0x390]
lea r8, [rbp + 0xd0]
lea rdx, [rbp + 0x4c0]
lea rcx, [rbp + 0x328]
call fcn.14001da30
nop
movzx eax, byte [0x1401b5780]
cmp al, 6
ja 0x14004aa76
lea rcx, [rbp + 0x4c0]
call fcn.14000cd50
mov r8, rax
mov edx, 6
lea rcx, str.ReadWPSSettingConfig:_nextrunindex____s
call fcn.140034cf0
lea rbx, [rbp + 0x4c0]
cmp qword [rbp + 0x4d8], 8
cmovae rbx, qword [rbp + 0x4c0]
mov qword [rbp], rsi
movdqa xmm0, xmmword [0x1401862c0]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], si
mov r8d, 0xc
lea rdx, str.nextrunindex
lea rcx, [rbp]
call fcn.140002fb0
nop
lea rdx, [rbp]
lea rcx, [rbp + 0x330]
call fcn.14002a900
nop dword [rax]
inc r13
cmp word [rbx + r13*2], 0
jne 0x14004aad0
mov r8, r13
mov rdx, rbx
mov rcx, rax
call fcn.140002fb0
nop
lea rcx, [rbp]
call fcn.14000d700
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x500], xmm0
movups xmmword [rbp + 0x510], xmm0
movups xmmword [rbp + 0x520], xmm0
movups xmmword [rbp + 0x530], xmm0
movups xmmword [rbp + 0x540], xmm0
movups xmmword [rbp + 0x550], xmm0
mov qword [rbp + 0x560], rax
lea rax, vtable.ctp::general_json_wchar_t_.0
mov qword [rbp + 0x500], rax
xor edx, edx
lea rcx, [rbp + 0x508]
call fcn.14000d0c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x508], xmm0
mov r13d, 3
mov word [rbp + 0x516], r13w
lea rax, str.oobe_data
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], 9
lea r9, [rbp + 0x390]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x4a0]
lea rcx, [rbp + 0x328]
call fcn.14001da30
nop
lea rcx, [rbp + 0x390]
cmp qword [rbp + 0x3a8], 8
cmovae rcx, qword [rbp + 0x390]
cmp qword [rbp + 0x3a0], 7
jne 0x14004abe1
movzx eax, word [rcx]
cmp ax, 0x66
jb 0x14004abe1
sub rcx, rdi
cmp ax, r12w
ja 0x14004abe1
cmp r15, 1
je 0x14004af70
dec r15
add rdi, 2
movzx eax, word [rdi + rcx]
movzx r12d, word [rdi]
cmp ax, r12w
jae 0x14004abc0
xorps xmm0, xmm0
movups xmmword [rbp + 0x380], xmm0
lea rcx, [rbp + 0x380]
call fcn.14000ac50
nop
movups xmm0, xmmword [rbp + 0x4a0]
movups xmmword [rbp + 0x130], xmm0
movups xmm1, xmmword [rbp + 0x4b0]
movups xmmword [rbp + 0x140], xmm1
movdqa xmm0, xmmword [0x1401862c0]
movdqu xmmword [rbp + 0x4b0], xmm0
mov word [rbp + 0x4a0], si
lea r8, [rbp + 0x380]
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x328]
call fcn.14001d140
mov qword [rbp + 0x70], rsi
movdqa xmm0, xmmword [0x1401862c0]
movdqu xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], si
mov r8d, 0x15
lea rdx, str.productprovisionstate
lea rcx, [rbp + 0x70]
call fcn.140002fb0
nop
mov ebx, dword [rsp + 0x34]
or ebx, 1
mov dword [rsp + 0x34], ebx
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x380]
call fcn.14002a900
mov r10, rax
mov rax, qword [rax + 0x10]
cmp qword [r10 + 0x18], 8
jb 0x14004aca0
mov r10, qword [r10]
cmp rax, 0x1c
jne 0x14004ace4
mov r9, rax
lea rcx, str.anonymous_provision_complete
movzx eax, word [r10]
mov edx, 0x61
cmp ax, dx
jb 0x14004ace4
sub r10, rcx
cmp ax, dx
ja 0x14004ace4
cmp r9, 1
je 0x14004af93
dec r9
add rcx, 2
movzx eax, word [rcx + r10]
movzx edx, word [rcx]
cmp ax, dx
jae 0x14004acc4
mov qword [rbp + 0x20], rsi
movdqa xmm0, xmmword [0x1401862c0]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], si
mov r8d, 0x15
lea rdx, str.productprovisionstate
lea rcx, [rbp + 0x20]
call fcn.140002fb0
nop
or ebx, 2
mov dword [rsp + 0x34], ebx
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x380]
call fcn.14002a900
mov r8, rax
mov rax, qword [rax + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14004ad38
mov r8, qword [r8]
cmp rax, 0xe
jne 0x14004ad87
lea rcx, str.provision_fail
movzx eax, word [r8]
mov edx, 0x70
cmp ax, dx
jb 0x14004ad87
sub r8, rcx
cmp ax, dx
ja 0x14004ad87
mov rax, qword [rbp + 0x320]
cmp rax, 1
je 0x14004af93
dec rax
mov qword [rbp + 0x320], rax
add rcx, 2
movzx eax, word [rcx + r8]
movzx edx, word [rcx]
cmp ax, dx
jae 0x14004ad59
xor dil, dil
test bl, 2
je 0x14004ad9c
and ebx, 0xfffffffd
lea rcx, [rbp + 0x20]
call fcn.14000d700
nop
test bl, 1
je 0x14004adaa
lea rcx, [rbp + 0x70]
call fcn.14000d700
movzx eax, byte [0x1401b5780]
test dil, dil
je 0x14004af9b
cmp al, 6
ja 0x14004adcf
mov edx, 6
lea rcx, str.ReadWPSSettingConfig:_PRODUCTPROVISIONSTATE_is_anonymous_provision_complete_or_provision_fail
call fcn.140034cf0
mov rax, qword [rbp + 0x330]
mov rax, qword [rax]
mov qword [rbp + 0x320], rax
cmp byte [rax + 0x19], 0
jne 0x14004ae90
nop word [rax + rax]
lea rbx, [rax + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x570]
call fcn.14000cdc0
nop
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 0x590]
call fcn.14000cdc0
nop
lea rdx, [rbp + 0x570]
lea rcx, [rbp + 0x380]
call fcn.14001fb70
lea rcx, [rbp + 0x590]
cmp rax, rcx
je 0x14004ae5b
lea rdx, [rbp + 0x590]
cmp qword [rbp + 0x5a8], 8
cmovae rdx, qword [rbp + 0x590]
mov r8, qword [rbp + 0x5a0]
mov rcx, rax
call fcn.140002fb0
nop
lea rcx, [rbp + 0x590]
call fcn.14000d700
lea rcx, [rbp + 0x570]
call fcn.14000d700
lea rcx, [rbp + 0x320]
call fcn.14000d040
mov rax, qword [rbp + 0x320]
cmp byte [rax + 0x19], 0
je 0x14004adf0
mov rax, qword [rbp + 0x380]
mov rax, qword [rax]
mov qword [rbp + 0x320], rax
cmp byte [rax + 0x19], 0
jne 0x14004b068
nop dword [rax + rax]
lea rbx, [rax + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x420]
call fcn.14000cdc0
nop
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 0x440]
call fcn.14000cdc0
nop
lea rax, [rbp + 0x420]
cmp qword [rbp + 0x438], 8
cmovae rax, qword [rbp + 0x420]
mov qword [rbp - 0x80], rax
mov rax, qword [rbp + 0x430]
mov qword [rbp - 0x78], rax
lea r8, [rbp + 0x440]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x500]
call fcn.14000d550
nop
lea rcx, [rbp + 0x440]
call fcn.14000d700
lea rcx, [rbp + 0x420]
call fcn.14000d700
lea rcx, [rbp + 0x320]
call fcn.14000d040
mov rax, qword [rbp + 0x320]
cmp byte [rax + 0x19], 0
je 0x14004aeb0
jmp 0x14004b068
movzx eax, byte [0x1401b5780]
cmp al, 6
ja 0x14004af69
mov edx, 6
lea rcx, str.ReadWPSSettingConfig:_failed_to_get_peula_value.
call fcn.140034cf0
xor bl, bl
jmp 0x14004b248
movzx eax, byte [0x1401b5780]
cmp al, 6
ja 0x14004af8c
mov edx, 6
lea rcx, str.ReadWPSSettingConfig:_failed_to_get_oobe_data_value.
call fcn.140034cf0
xor bl, bl
jmp 0x14004b221
mov dil, 1
jmp 0x14004ad8a
cmp al, 6
ja 0x14004afb0
mov edx, 6
lea rcx, str.ReadWPSSettingConfig:_Regular_flow
call fcn.140034cf0
mov rax, qword [rbp + 0x330]
mov rax, qword [rax]
mov qword [rbp + 0x320], rax
cmp byte [rax + 0x19], 0
jne 0x14004b068
nop dword [rax + rax]
lea rbx, [rax + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x420]
call fcn.14000cdc0
nop
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 0x440]
call fcn.14000cdc0
nop
lea rax, [rbp + 0x420]
cmp qword [rbp + 0x438], 8
cmovae rax, qword [rbp + 0x420]
mov qword [rbp - 0x80], rax
mov rax, qword [rbp + 0x430]
mov qword [rbp - 0x78], rax
lea r8, [rbp + 0x440]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x500]
call fcn.14000d550
nop
lea rcx, [rbp + 0x440]
call fcn.14000d700
lea rcx, [rbp + 0x420]
call fcn.14000d700
lea rcx, [rbp + 0x320]
call fcn.14000d040
mov rax, qword [rbp + 0x320]
cmp byte [rax + 0x19], 0
je 0x14004afd0
mov qword [rbp + 0xe0], rsi
movdqa xmm0, xmmword [0x1401862c0]
movdqu xmmword [rbp + 0xf0], xmm0
mov word [rbp + 0xe0], si
mov r8, r13
lea rdi, [0x14016cbc8]
mov rdx, rdi
lea rcx, [rbp + 0xe0]
call fcn.140002fb0
nop
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x380]
call fcn.14002a900
mov rdx, rax
lea rcx, [rbp + 0x6d8]
call fcn.14000cdc0
nop
lea rcx, [rbp + 0xe0]
call fcn.14000d700
mov qword [rbp + 0xa0], rsi
movdqa xmm0, xmmword [0x1401862c0]
movdqu xmmword [rbp + 0xb0], xmm0
mov word [rbp + 0xa0], si
mov r8d, 0xc
lea rbx, str.isdefaultsku
mov rdx, rbx
lea rcx, [rbp + 0xa0]
call fcn.140002fb0
nop
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x380]
call fcn.14002a900
mov rdx, rax
lea rcx, [rbp + 0x6f8]
call fcn.14000cdc0
nop
lea rcx, [rbp + 0xa0]
call fcn.14000d700
mov qword [rbp + 0x100], rdi
mov qword [rbp + 0x108], r13
lea r8, [rbp + 0x6d8]
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x500]
call fcn.14000d550
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], 0xc
lea r8, [rbp + 0x6f8]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x500]
call fcn.14000d550
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0x500]
call fcn.14000c8f0
mov rdx, rax
mov rcx, r14
call fcn.14000cd70
lea rcx, [rbp + 0x1f0]
call fcn.14000d700
movzx eax, byte [0x1401b5780]
cmp al, 6
ja 0x14004b1d5
mov rcx, r14
call fcn.14000cd50
mov r8, rax
mov edx, 6
lea rcx, str.final_install_and_settings_parameters:__s
call fcn.140034cf0
mov bl, 1
lea rcx, [rbp + 0x6f8]
call fcn.14000d700
nop
lea rcx, [rbp + 0x6d8]
call fcn.14000d700
nop
mov r8, qword [rbp + 0x380]
mov r8, qword [r8 + 8]
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x380]
call fcn.14000f730
mov edx, 0x60
mov rcx, qword [rbp + 0x380]
call fcn.14000ebc0
nop
lea rcx, [rbp + 0x4a0]
call fcn.14000d700
nop
lea rcx, [rbp + 0x508]
call fcn.14000acb0
nop
lea rcx, [rbp + 0x4c0]
call fcn.14000d700
nop
lea rcx, [rbp + 0x4e0]
call fcn.14000d700
nop
lea rcx, [rbp + 0x480]
call fcn.14000d700
nop
lea rcx, [rbp + 0x390]
call fcn.14000d700
nop
lea rcx, [rbp + 0x210]
call fcn.140040750
nop
lea rcx, [rbp + 0x3b0]
call fcn.14000d800
nop
lea rcx, [rbp + 0x340]
call fcn.14000d700
nop
mov r8, qword [rbp + 0x330]
mov r8, qword [r8 + 8]
lea rdx, [rbp + 0x330]
lea rcx, [rbp + 0x330]
call fcn.14000f730
mov edx, 0x60
mov rcx, qword [rbp + 0x330]
call fcn.14000ebc0
nop
lea rcx, [rbp + 0x360]
call fcn.14000d700
movzx eax, bl
mov rcx, qword [rbp + 0x1930]
xor rcx, rsp
call fcn.1400fb890
lea r11, [rsp + 0x1a50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret