joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011794
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x10], rdx
push rbx
sub rsp, 0x30
and qword [r11 + 0x10], 0
lea rdx, [r11 + 0x20]
mov rax, r8
mov r9d, 4
mov dword [r11 - 0x10], r9d
xor r8d, r8d
mov qword [r11 - 0x18], rdx
mov rdx, rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test rcx, rcx
je 0x1400117f4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x140011804
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
mov rdi, r9
mov qword [r11 + 8], rbp
mov rsi, r8
mov r10, rcx
test rdx, rdx
je 0x140011864
lea rax, [r11 + 8]
mov r9d, 0x20006
xor r8d, r8d
mov qword [r11 - 0x18], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14001190a
mov r10, qword [rsp + 0x40]
mov rcx, rbp
test rdi, rdi
je 0x1400118a4
mov ecx, 0xc350
mov rax, rdi
mov edx, ecx
cmp word [rax], bp
je 0x140011885
add rax, 2
sub rdx, 1
jne 0x140011876
mov rax, rdx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x80070057
test rdx, rdx
je 0x14001189f
sub rcx, rdx
jmp 0x1400118a9
mov rcx, rbp
jmp 0x1400118a9
mov ebx, 0x80070057
test ebx, ebx
js 0x1400118b2
add rcx, rcx
jmp 0x1400118b5
mov rcx, rbp
test ebx, ebx
jns 0x1400118d4
mov rcx, qword [rsp + 0x38]
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibplugutils.cpp
mov r9d, ebx
mov edx, 0x13c
call fcn.140003c18
jmp 0x14001190a
add rcx, 2
mov r9d, 1
mov dword [rsp + 0x28], ecx
xor r8d, r8d
mov rcx, r10
mov qword [rsp + 0x20], rdi
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140011920
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rbp, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140011940
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x10], rdx
push rbx
sub rsp, 0x30
and qword [r11 + 0x10], 0
lea rdx, [r11 + 0x20]
mov rax, r8
mov dword [rsp + 0x28], 8
mov qword [r11 - 0x18], rdx
mov r9d, 0xb
mov rdx, rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test rcx, rcx
je 0x1400119a4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x1400119b4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x40
and qword [r11 - 0x18], 0
mov rdi, r9
mov rsi, r8
test rdx, rdx
je 0x140011a08
lea rax, [r11 - 0x18]
mov r9d, 0x20019
xor r8d, r8d
mov qword [r11 - 0x28], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140011a5d
mov rcx, qword [rsp + 0x30]
and dword [rsp + 0x50], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
mov dword [rsp + 0x58], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140011a5d
cmp dword [rsp + 0x50], 4
je 0x140011a5b
mov ebx, 0x8007139f
jmp 0x140011a5d
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140011a73
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140011a8c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov r15, r9
mov r14, r8
mov rsi, rcx
xor r12d, r12d
mov qword [rbp - 0x18], r12
mov ebx, 0x80070000
test rdx, rdx
je 0x140011aff
mov qword [rbp - 0x18], r12
lea rax, [rbp - 0x18]
mov qword [r11 - 0x58], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
movzx edi, ax
or edi, ebx
test eax, eax
cmovle edi, eax
test edi, edi
js 0x140011bf6
mov rsi, qword [rbp - 0x18]
mov dword [rbp + 0x38], r12d
mov dword [rbp + 0x30], r12d
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x38]
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
movzx edi, ax
or edi, ebx
test eax, eax
cmovle edi, eax
test edi, edi
js 0x140011bf6
cmp dword [rbp + 0x38], 1
je 0x140011b50
mov edi, 0x8007139f
jmp 0x140011bf6
mov eax, dword [rbp + 0x30]
inc eax
mov dword [rbp + 0x30], eax
mov ecx, eax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14004c2dc
mov rbx, rax
mov qword [rbp - 8], rax
test rax, rax
jne 0x140011b88
mov edi, 0x8007000e
jmp 0x140011be3
mov dword [rbp + 0x38], r12d
mov eax, dword [rbp + 0x30]
mov dword [rbp - 0x20], eax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x38]
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
js 0x140011be3
mov eax, dword [rbp + 0x30]
dec eax
mov word [rbx + rax*2], r12w
mov rdx, rbx
mov rcx, r15
call fcn.140007e74
mov edi, r12d
test rbx, rbx
je 0x140011bf6
mov edx, 2
mov rcx, rbx
call fcn.14004b82c
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140011c0b
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, edi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140011c30
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rbx
sub rsp, 0x40
and qword [r11 - 0x18], 0
lea rdx, [r11 + 8]
and dword [rsp + 0x58], 0
mov rax, r8
mov qword [r11 - 0x20], rdx
xor r8d, r8d
mov qword [r11 - 0x28], r9
mov rdx, rax
lea r9, [r11 + 0x10]
mov dword [rsp + 0x50], 8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140011ca3
mov eax, dword [rsp + 0x58]
add eax, 0xfffffffd
test eax, 0xfffffff7
jne 0x140011c9a
cmp dword [rsp + 0x50], 8
je 0x140011ca1
mov ebx, 0x8007139f
jmp 0x140011ca3
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140011cb9
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x40
pop rbx
ret
Function at 0x1400150e8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14006c100]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rsi, rcx
movdqa xmm0, xmmword [0x14005a0c0]
movdqu xmmword [rbp + 0x27], xmm0
xor r14d, r14d
mov word [rbp + 0x17], r14w
lea rdx, str._OneSettingsCustomClient__IsTimeToRequery
lea rcx, [rbp + 0x17]
call fcn.140007e74
lea r8, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae r8, qword [rbp + 0x17]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.14000972c
nop
mov byte [rdi], r14b
xor eax, eax
mov qword [rbp - 0x21], rax
movdqa xmm0, xmmword [0x14005a0c0]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], r14w
lea rdx, str._OneSettingsCustomClient__GetNextRefreshTime
lea rcx, [rbp - 9]
call fcn.140007e74
lea r8, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae r8, qword [rbp - 9]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.14000972c
nop
mov ebx, r14d
mov dword [rbp - 0x29], 8
lea rdx, [rsi + 0x80]
cmp qword [rdx + 0x18], 8
jb 0x1400151c3
mov rdx, qword [rdx]
lea rax, [rbp - 0x29]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 0x48
lea r8, str.RefreshAfter
mov rcx, qword [rsi + 0x1a0]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x14001520c
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
lea r8, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae r8, qword [rbp - 9]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.14000972c
lea rcx, [rbp - 9]
call fcn.140007d04
cmp ebx, 0x80070002
jne 0x14001523e
mov byte [rdi], 1
jmp 0x14001526f
test ebx, ebx
js 0x140015272
mov qword [rbp - 0x29], r14
lea rcx, [rbp - 0x29]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
mov eax, dword [rbp - 0x25]
mov dword [rbp - 0x15], eax
mov eax, dword [rbp - 0x29]
mov dword [rbp - 0x19], eax
mov rax, qword [rbp - 0x21]
cmp qword [rbp - 0x19], rax
seta al
mov byte [rdi], al
mov ebx, r14d
lea rax, str.True
lea r8, str.False
cmp byte [rdi], r14b
cmovne r8, rax
lea rdx, str._OneSettingsCustomClient__Time_to_requery_:__s
mov ecx, ebx
call fcn.14000972c
nop
lea r8, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae r8, qword [rbp + 0x17]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.14000972c
lea rcx, [rbp + 0x17]
call fcn.140007d04
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14004b180
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400163e8
Capabilities:
Read http header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0x88
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov rax, qword [0x14006c100]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, r9
mov rbx, r8
mov esi, edx
mov rdi, rcx
movdqa xmm0, xmmword [0x14005a0c0]
movdqu xmmword [rbp + 0xf], xmm0
xor r15d, r15d
mov word [rbp - 1], r15w
lea rdx, str._OneSettingsCustomClient__GetHeaderFromRequest
lea rcx, [rbp - 1]
call fcn.140007e74
lea r8, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae r8, qword [rbp - 1]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.14000972c
nop
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, rbx
mov edx, esi
mov rcx, qword [rdi + 0x1b8]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
nop dword [rax + rax]
test eax, eax
jne 0x1400164c7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x7a
je 0x1400164c7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov ebx, 0x80004005
test ecx, ecx
cmovs ebx, ecx
jmp 0x14001655b
mov ecx, dword [rbp - 0x29]
lea rdx, [0x14006cbe9]
call fcn.14004c2e8
mov qword [rbp - 0x21], rax
test rax, rax
jne 0x1400164e6
mov ebx, 0x8007000e
jmp 0x14001655b
lea rcx, [rbp - 0x21]
mov qword [rbp - 0x11], rcx
mov byte [rbp - 9], 1
mov word [rax], r15w
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x21]
mov r8, rbx
mov edx, esi
mov rcx, qword [rdi + 0x1b8]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
nop dword [rax + rax]
test eax, eax
jne 0x14001652d
call fcn.140002a9c
mov ebx, eax
jmp 0x140016551
mov rdx, qword [rbp - 0x21]
mov rcx, r14
call fcn.140007e74
mov r9, qword [rbp - 0x21]
mov r8, rbx
lea rdx, str._OneSettingsCustomClient__GetHeaderFromRequest_:_headerName__s___headerValue__s
xor ecx, ecx
call fcn.14000972c
mov ebx, r15d
mov rcx, qword [rbp - 0x21]
call fcn.14004b82c
nop
lea r8, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae r8, qword [rbp - 1]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.14000972c
lea rcx, [rbp - 1]
call fcn.140007d04
mov eax, ebx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14004b180
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140016c30
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov qword [rbp - 1], 0xfffffffffffffffe
mov rax, qword [0x14006c100]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
movdqa xmm0, xmmword [0x14005a0c0]
movdqu xmmword [rbp + 0x17], xmm0
xor r14d, r14d
mov word [rbp + 7], r14w
lea rdx, str._OneSettings__SaveHeaderToRegistry
lea rcx, [rbp + 7]
call fcn.140007e74
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae r8, qword [rbp + 7]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.14000972c
nop
mov qword [rbp - 9], r14
lea rdx, [rdi + 0x80]
cmp qword [rdx + 0x18], 8
jb 0x140016cb9
mov rdx, qword [rdx]
mov qword [rsp + 0x40], r14
lea rax, [rbp - 9]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rdi + 0x1a0]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140016cfd
mov edx, 0x27f
jmp 0x140016d40
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], r14w
jne 0x140016d01
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp - 9]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x140016d57
mov edx, 0x280
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettingscustomclient.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x5f]
call fcn.14000dee8
mov ebx, eax
jmp 0x140016d5a
mov ebx, r14d
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x140016d6f
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae r8, qword [rbp + 7]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.14000972c
lea rcx, [rbp + 7]
call fcn.140007d04
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14004b180
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140017134
Capabilities:
Set http header

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x51], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14006c100]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rbx, rcx
movdqa xmm0, xmmword [0x14005a0c0]
movdqu xmmword [rbp - 0x39], xmm0
xor esi, esi
mov word [rbp - 0x49], si
lea rdx, str._OneSettingsCustomClient__AddMsaTicketHeader
lea rcx, [rbp - 0x49]
call fcn.140007e74
lea r8, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae r8, qword [rbp - 0x49]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.14000972c
nop
mov qword [rbp - 0x59], rsi
lea rdx, [rbp - 0x59]
mov rcx, rbx
call fcn.140026e24
mov ebx, eax
test eax, eax
jns 0x1400171d0
lea rdx, str._OneSettingsCustomClient__AddMsaTicketHeader_:_Get_device_Ticket_Failed_HRRESULT_set_to_S_OK
mov ecx, eax
call fcn.14000972c
mov ebx, esi
jmp 0x1400172ae
xor edx, edx
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer]
nop dword [rax + rax]
movdqa xmm0, xmmword [0x14005a0c0]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], si
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.140007e74
nop
movdqa xmm0, xmmword [0x14005a0c0]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], si
lea rdx, str.Authorization:_MsaToken
lea rcx, [rbp - 0x29]
call fcn.140007e74
nop
lea r8, [rbp - 9]
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x17]
call fcn.140018f8c
nop
lea rcx, [rbp - 0x29]
call fcn.140007d04
nop
lea rcx, [rbp - 9]
call fcn.140007d04
lea rdx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rdx, qword [rbp + 0x17]
mov r9d, 0x20000000
or r8d, 0xffffffff
mov rcx, qword [rdi]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
nop dword [rax + rax]
test eax, eax
jne 0x1400172a4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov ebx, 0x80004005
test ecx, ecx
cmovs ebx, ecx
lea rdx, str._OneSettingsCustomClient__AddMsaTicketHeader_:_HttpAddRequestHeaders_Failed
mov ecx, ebx
call fcn.14000972c
lea rcx, [rbp + 0x17]
call fcn.140007d04
nop
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1400172c4
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
nop
lea r8, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae r8, qword [rbp - 0x49]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.14000972c
lea rcx, [rbp - 0x49]
call fcn.140007d04
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14004b180
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001a124
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14006c100]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rdx
mov rdi, rcx
movdqa xmm0, xmmword [0x14005a0c0]
movdqu xmmword [rbp + 0x27], xmm0
xor ebx, ebx
mov word [rbp + 0x17], bx
lea rdx, str._OneSettings__IsTimeToRequery
lea rcx, [rbp + 0x17]
call fcn.140007e74
lea r8, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae r8, qword [rbp + 0x17]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.14000972c
nop
mov byte [rsi], bl
xor eax, eax
mov qword [rbp - 0x19], rax
movdqa xmm0, xmmword [0x14005a0c0]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], bx
lea rdx, str._OneSettings__GetNextRefreshTime
lea rcx, [rbp - 9]
call fcn.140007e74
lea r8, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae r8, qword [rbp - 9]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.14000972c
nop
mov dword [rbp - 0x29], 8
lea rdx, [rdi + 0x80]
cmp qword [rdx + 0x18], 8
jb 0x14001a1f3
mov rdx, qword [rdx]
lea rax, [rbp - 0x29]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9d, 0x48
lea r8, str.RefreshAfter
mov rcx, qword [rdi + 0x1a8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x14001a24a
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettings.cpp
mov edx, 0xa0
call fcn.14000dee8
mov edi, eax
jmp 0x14001a24c
mov edi, ebx
lea r8, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae r8, qword [rbp - 9]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.14000972c
lea rcx, [rbp - 9]
call fcn.140007d04
cmp edi, 0x80070002
jne 0x14001a27e
mov byte [rsi], 1
jmp 0x14001a2cb
test edi, edi
jns 0x14001a29e
mov rcx, qword [rbp + 0x5f]
mov r9d, edi
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettings.cpp
mov edx, 0xb4
call fcn.140003c18
mov ebx, edi
jmp 0x14001a2cb
mov qword [rbp - 0x21], rbx
lea rcx, [rbp - 0x21]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
mov eax, dword [rbp - 0x1d]
mov dword [rbp - 0x25], eax
mov eax, dword [rbp - 0x21]
mov dword [rbp - 0x29], eax
mov rax, qword [rbp - 0x19]
cmp qword [rbp - 0x29], rax
seta al
mov byte [rsi], al
lea r8, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae r8, qword [rbp + 0x17]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.14000972c
lea rcx, [rbp + 0x17]
call fcn.140007d04
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14004b180
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001b774
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov qword [rbp - 1], 0xfffffffffffffffe
mov rax, qword [0x14006c100]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
movdqa xmm0, xmmword [0x14005a0c0]
movdqu xmmword [rbp + 0x17], xmm0
xor r14d, r14d
mov word [rbp + 7], r14w
lea rdx, str._OneSettings__SaveHeaderToRegistry
lea rcx, [rbp + 7]
call fcn.140007e74
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae r8, qword [rbp + 7]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.14000972c
nop
mov qword [rbp - 9], r14
lea rdx, [rdi + 0x80]
cmp qword [rdx + 0x18], 8
jb 0x14001b7fd
mov rdx, qword [rdx]
mov qword [rsp + 0x40], r14
lea rax, [rbp - 9]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rdi + 0x1a8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x14001b841
mov edx, 0x203
jmp 0x14001b884
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], r14w
jne 0x14001b845
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp - 9]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14001b89b
mov edx, 0x204
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettings.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x5f]
call fcn.14000dee8
mov ebx, eax
jmp 0x14001b89e
mov ebx, r14d
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14001b8b3
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae r8, qword [rbp + 7]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.14000972c
lea rcx, [rbp + 7]
call fcn.140007d04
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14004b180
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret