joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d6820
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1400d69cd
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14008f7c0
mov rcx, qword [rsi + 8]
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x1400d6996
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400d6910
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1400d6985
mov rax, qword [r11 + 8]
mov r8d, dword [rcx + 0x10]
cmp r8d, dword [rax + 0x10]
jne 0x1400d694d
mov r8, qword [rax]
cmp r8, rcx
je 0x1400d6947
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x1400d6985
cmp r9, rax
je 0x1400d6961
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
je 0x1400d69a7
cmp r9, rax
jne 0x1400d6952
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x1400d68c0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x1400d6985
lea rcx, str.invalid_hash_bucket_count
call fcn.14012ebf0
int3
Function at 0x1400e43f0
Capabilities:
Shutdown system

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1401b3838]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
mov qword [rcx + 0x20], rax
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::constructor_void____ptr64
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x40], 0xffffffffffffffff
lea r8, [rsp + 0x58]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.DLL_LookupPrivilegeValueA]
test eax, eax
je 0x1400e44ca
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x40]
lea edx, [rdi + 0x20]
call qword [sym.imp.ADVAPI32.DLL_OpenProcessToken]
test eax, eax
je 0x1400e44ca
mov dword [rsp + 0x48], 1
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 0x10]
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.DLL_AdjustTokenPrivileges]
test eax, eax
je 0x1400e44ca
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.DLL_InitiateSystemShutdownA]
test eax, eax
jne 0x1400e44e7
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Shutdown_request_failed.
mov r8d, eax
mov edx, 1
mov rcx, rbx
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::SetError_enum_CConsolidatedError::ISDI2_ERROR_TYPE__unsigned_long_int__wchar_t_const____ptr64____ptr64
mov dword [rsp + 0x54], edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.DLL_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x40]
cmp rcx, 0xffffffffffffffff
je 0x1400e451b
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14012d380
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x1400e7630
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x80
mov rax, qword [0x1401b3838]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rdx
mov rbx, rcx
xor edi, edi
mov qword [rsp + 0x70], rdi
lea rdx, [rsp + 0x70]
call fcn.1400e5250
nop
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x30], eax
mov r12d, dword [rsi]
cmp eax, r12d
je 0x1400e76ad
lea r8, [rsi + 0x20c]
lea rax, [rbx + 0x234]
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400e76a4
add rax, 2
test ecx, ecx
jne 0x1400e7690
test edx, edx
jne 0x1400e76ad
mov r14b, 1
jmp 0x1400e76b0
xor r14b, r14b
mov dword [rsp + 0x50], r12d
lea rcx, [rbx + 0x4a8]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
call fcn.1400e6a90
cmp byte [rsp + 0x68], 0
je 0x1400e779b
mov ecx, 0x18
call fcn.14012d680
mov r9, rax
test rax, rax
je 0x1400e76fe
mov eax, dword [rsi]
mov dword [r9], eax
mov qword [r9 + 8], rbx
lea rax, [0x1400e7470]
mov qword [r9 + 0x10], rax
jmp 0x1400e7701
mov r9, rdi
mov qword [rsp + 0x50], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r8, [0x1400e6a50]
xor edx, edx
xor ecx, ecx
call fcn.1400fd7dc
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400e783f
lea rdi, [rbx + 0x4e8]
mov r13, qword [rdi]
movabs rax, 0x7ffffffffffffff
cmp qword [rdi + 8], rax
je 0x1400e782c
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 0
mov ecx, 0x20
call fcn.140015170
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmmword [rax + 0x10], xmm1
inc qword [rdi + 8]
mov rcx, qword [r13 + 8]
mov qword [rax], r13
mov qword [rax + 8], rcx
mov qword [r13 + 8], rax
mov qword [rcx], rax
cmp dword [rsp + 0x48], 0
jne 0x1400e7839
cmp dword [rsp + 0x30], r12d
jne 0x1400e77b7
inc qword [rbx + 0x4a0]
lea rcx, [rsp + 0x70]
call fcn.1400316b0
xor eax, eax
jmp 0x1400e7807
test r14b, r14b
je 0x1400e77db
lea rcx, [rsp + 0x70]
call fcn.1400316b0
cmp byte [rsp + 0x68], 0
je 0x1400e77d4
mov eax, 2
jmp 0x1400e7807
mov eax, 1
jmp 0x1400e7807
mov rdx, rsi
mov rcx, rbx
call fcn.1400e6f10
test al, al
je 0x1400e77f8
lea rcx, [rsp + 0x70]
call fcn.1400316b0
xor eax, eax
jmp 0x1400e7807
lea rcx, [rsp + 0x70]
call fcn.1400316b0
mov eax, 3
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14012d380
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
lea rcx, str.list_T__too_long
call fcn.14012ebf0
nop
call fcn.1400fd690
nop
mov dword [rsp + 0x48], edi
mov ecx, 6
call fcn.14012f03c
int3
Function at 0x1400f76e0
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x1401b3838]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbp, rcx
mov qword [rsp + 0x40], rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [r11 - 0x30], rax
lea rcx, [r11 - 0x50]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::constructor_void____ptr64
nop
mov edi, 0x100
movsxd rcx, edi
call fcn.1400fd55c
mov rsi, rax
mov r8d, edi
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_QueryDosDeviceA]
test eax, eax
jne 0x1400f7768
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
mov rcx, rsi
call fcn.1400fd548
add edi, edi
cmp ebx, 0x7a
je 0x1400f7732
jmp 0x1400f776d
test rsi, rsi
jne 0x1400f7788
lea r8, str.UnKnown_Error_in_flushing_OS_Cache_for_Volume
mov edx, 0xa0000003
lea rcx, [rsp + 0x68]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::SetError_enum_CConsolidatedErrorGenerated::ISDI2_ERRORS__char_const____ptr64____ptr64
jmp 0x1400f789c
mov rdi, rsi
cmp byte [rsi], 0
je 0x1400f7894
xor r14d, r14d
mov rcx, rdi
call fcn.14010f6fc
lea rdx, str.volume
mov rcx, rdi
call fcn.140122c48
test rax, rax
je 0x1400f787b
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], 4
mov dword [rsp + 0x48], 0x5c2e5c5c
mov byte [rsp + 0x4c], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x1400f77e0
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140012190
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.DLL_CreateFileA]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_FlushFileBuffers]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400f787b
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f7876
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f78df
call fcn.14012d3b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_lstrlenA]
inc eax
cdqe
add rdi, rax
cmp byte [rdi], 0
jne 0x1400f7797
mov rcx, rsi
call fcn.1400fd548
lea rdx, [rsp + 0x68]
mov rcx, rbp
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::constructor_class_CConsolidatedError_const____ptr64____ptr64
nop
lea rcx, [rsp + 0x68]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::destructor_void____ptr64
mov rax, rbp
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14012d380
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.1400fd3f0
nop
int3
Function at 0x14011c588
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14011c2ae
call fcn.1400fd520
mov dword [rax], 0x16
call fcn.1400fd3cc
jmp 0x14011c3f9
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14011c3f9
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14011c3f9
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14011c2dd
lock or dword [rcx + 0x14], 0x10
jmp 0x14011c3f9
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14011c2f1
call fcn.14011c590
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x14011c301
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x14011c304
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.140112300
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.14011f568
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x14011c3e7
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x14011c395
mov rcx, rbx
call fcn.140112300
cmp eax, 0xffffffff
je 0x14011c380
mov rcx, rbx
call fcn.140112300
cmp eax, 0xfffffffe
je 0x14011c380
mov rcx, rbx
call fcn.140112300
movsxd rdi, eax
lea r14, [0x1401c20a0]
mov rcx, rbx
sar rdi, 6
call fcn.140112300
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x14011c387
lea rdx, [0x1401b2fa0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14011c395
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x14011c3b9
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x14011c3b9
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x14011c3b9
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x14011c3d7
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x14011c3e2
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x14011c3fe
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x14011c278
Function at 0x1400088d0
Capabilities:
Shutdown system

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rdi
mov rdi, rcx
test rcx, rcx
je 0x1400088f6
mov byte [rcx], 0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 8], 0
lea rdx, str.MicrosoftWindowsCUAssistant
lea rcx, [rbp - 0x18]
call fcn.1400160d4
mov ebx, eax
test eax, eax
jns 0x14000891f
mov edx, 0x92
jmp 0x140008942
mov byte [rbp + 0x10], 0
lea r8, [rbp + 0x10]
lea rdx, str.CUAssistantReboot
lea rcx, [rbp - 0x18]
call fcn.1400163d8
mov ebx, eax
test eax, eax
jns 0x14000895a
mov edx, 0x95
lea r8, str.onecoreenduserupgradeenablersqualityupdateassistantqualauncher_reboottoast.cpp
mov r9d, eax
mov rcx, qword [rbp + 8]
call fcn.140006f80
jmp 0x140008a22
cmp byte [rbp + 0x10], 0
je 0x1400089d6
lea rcx, [rbp - 0x18]
call fcn.140017310
mov rcx, qword [rbp + 8]
test eax, eax
jns 0x140008985
mov r9d, eax
lea r8, str.onecoreenduserupgradeenablersqualityupdateassistantqualauncher_reboottoast.cpp
mov edx, 0x99
call fcn.140006fc8
lea rcx, [rbp - 0x18]
call fcn.14001653c
mov rcx, qword [rbp + 8]
test eax, eax
jns 0x1400089aa
mov r9d, eax
lea r8, str.onecoreenduserupgradeenablersqualityupdateassistantqualauncher_reboottoast.cpp
mov edx, 0x9c
call fcn.140006fc8
lea rdx, str.CUAssistantReboot
lea rcx, [rbp - 0x18]
call fcn.1400164c8
mov rcx, qword [rbp + 8]
test eax, eax
jns 0x1400089d6
mov r9d, eax
lea r8, str.onecoreenduserupgradeenablersqualityupdateassistantqualauncher_reboottoast.cpp
mov edx, 0x9d
call fcn.140006fc8
mov dword [rsp + 0x28], 0x80020002
mov ebx, 1
mov dword [rsp + 0x20], ebx
mov r9d, ebx
xor r8d, r8d
lea rdx, str.CUAssistant_Reboot
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_shutdown_l1_1_0.dll_InitiateSystemShutdownExW]
test eax, eax
jne 0x140008a19
mov rcx, qword [rbp + 8]
lea r8, str.onecoreenduserupgradeenablersqualityupdateassistantqualauncher_reboottoast.cpp
mov edx, 0xa1
call fcn.140006fb0
mov ebx, eax
jmp 0x140008a22
test rdi, rdi
je 0x140008a20
mov byte [rdi], bl
xor ebx, ebx
lea rcx, [rbp - 0x18]
call fcn.140016084
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
Function at 0x14000daa0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
and qword [rbp + 0x20], 0
lea r8, [rbp + 0x20]
xor ebx, ebx
lea rcx, str.D:PAI_A_OICI_FA___WD_
xor esi, esi
xor r9d, r9d
mov qword [rbp + 0x28], rsi
lea edi, [rbx + 1]
mov edx, edi
call qword [sym.imp.api_ms_win_security_sddl_l1_1_0.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
jne 0x14000daff
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x14000daea
mov edi, 0x80004005
jmp 0x14000daf8
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
jmp 0x14000dbaf
xor eax, eax
lea r8, str.GlobalMicrosoft.Windows.CUAssistant.TelemetryLauncher
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x10], rax
xor edx, edx
mov rax, qword [rbp + 0x20]
and dword [rbp - 0x10], ebx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x20], 0x18
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
mov rbx, rax
test rax, rax
je 0x14000dad9
mov edx, 0x2710
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
test eax, eax
je 0x14000db80
cmp eax, 0x102
je 0x14000db76
cmp eax, 0xffffffff
jne 0x14000dae3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x14000db62
xor edi, edi
jmp 0x14000dbb4
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14000dbb4
jmp 0x14000daf8
mov edi, 0x800705b4
jmp 0x14000daf8
lea r9, [rbp + 0x28]
call fcn.14000f128
mov rsi, qword [rbp + 0x28]
test eax, eax
cmovs rsi, rdi
call fcn.14000f270
mov edi, eax
test eax, eax
js 0x14000dbad
lea r9, [rsi + 1]
call fcn.14000f050
mov edi, eax
test eax, eax
jns 0x14000dbb4
mov ecx, eax
call fcn.14000e70c
test rbx, rbx
je 0x14000dbc2
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
test edi, edi
jns 0x14000dbd4
lea rdx, str.Failed_to_get_a_proper_GlobalEventCounter_for_telemetry__using_0
mov ecx, edi
call fcn.14000dde0
test rbx, rbx
je 0x14000dbe2
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14000dbf1
call qword [sym.imp.api_ms_win_core_heap_obsolete_l1_1_0.dll_LocalFree]
mov rax, rsi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000f050
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
mov rbx, r9
xor ecx, ecx
call fcn.14000e728
and qword [rsp + 0x50], 0
lea r9, [rsp + 0x50]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x48], rbx
mov r8d, 2
call fcn.14000fb00
mov rbx, qword [rsp + 0x50]
mov edi, eax
test eax, eax
jns 0x14000f09f
mov ecx, eax
jmp 0x14000f0ed
xor ecx, ecx
call fcn.14000e728
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], 8
mov r9d, 0xb
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x140026ab0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
jne 0x14000f0d9
xor edi, edi
jmp 0x14000f0f2
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14000f0f2
mov ecx, edi
call fcn.14000e70c
mov ecx, edi
call fcn.14000e728
test rbx, rbx
je 0x14000f107
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
jns 0x14000f112
mov ecx, edi
call fcn.14000e70c
mov ecx, edi
call fcn.14000e728
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x14000f128
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push r14
sub rsp, 0x30
and qword [rax + 8], 0
mov r14, r9
xor ebx, ebx
lea r9, [rax + 8]
mov rcx, 0xffffffff80000002
lea r8d, [rbx + 1]
call fcn.14000fb00
mov esi, eax
test eax, eax
jns 0x14000f16e
mov ecx, eax
jmp 0x14000f228
and dword [rsp + 0x60], ebx
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, [0x140026ab0]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x14000f1b1
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x14000f1e1
test rbx, rbx
jne 0x14000f1ec
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14000f1e5
mov ebx, eax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x14000f172
mov esi, 0x8007000e
mov ecx, esi
jmp 0x14000f228
mov esi, 0x8000ffff
jmp 0x14000f1e1
cmp dword [rsp + 0x58], 0xb
je 0x14000f1fa
mov esi, 0x8007000d
jmp 0x14000f1e1
xor ebp, ebp
cmp dword [rsp + 0x60], 8
je 0x14000f213
mov esi, 0x8007000d
mov ecx, esi
mov ebp, esi
call fcn.14000e70c
jmp 0x14000f219
mov rax, qword [rbx]
mov qword [r14], rax
mov ecx, ebp
call fcn.14000e728
mov esi, ebp
test ebp, ebp
jns 0x14000f22d
mov ecx, ebp
call fcn.14000e70c
mov ecx, esi
call fcn.14000e728
test rbx, rbx
je 0x14000f24d
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
cmp qword [rsp + 0x50], 0
je 0x14000f260
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, esi
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x14001063c
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get file version info

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x168]
sub rsp, 0x268
mov rax, qword [0x1400363c0]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x1d0]
mov r13, rcx
mov qword [rsp + 0x30], rdx
lea rcx, [rsp + 0x40]
mov r14d, 0x104
mov qword [rsp + 0x38], rax
xor esi, esi
mov edx, r14d
and qword [rsp + 0x20], rsi
mov r12, r9
mov r15, r8
xor edi, edi
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x102
ja 0x1400107e4
lea r8, [0x140026e00]
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.140005ab0
mov ebx, eax
test eax, eax
js 0x1400107fc
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140010710
mov edx, r14d
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x102
ja 0x140010755
lea r8, str._ntdll.dll
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.140005ab0
mov ebx, eax
test eax, eax
js 0x1400107fc
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r14d, eax
test eax, eax
je 0x140010755
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov rsi, rax
test rax, rax
je 0x140010755
mov r8d, r14d
mov edx, 8
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov rdi, rax
test rax, rax
jne 0x14001075f
mov ebx, 0x8007000e
jmp 0x1400107fc
mov ebx, 0x8000ffff
jmp 0x1400107fc
mov r9, rdi
lea rcx, [rsp + 0x40]
mov r8d, r14d
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1400107e4
lea r9, [rsp + 0x28]
mov rcx, rdi
lea r8, [rsp + 0x20]
lea rdx, [0x140025854]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
test eax, eax
je 0x1400107e4
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
movzx eax, word [rcx + 0xa]
mov dword [r13], eax
movzx eax, word [rcx + 8]
mov dword [rdx], eax
movzx r8d, word [rcx + 0xe]
mov rax, qword [rsp + 0x38]
mov dword [rax], r8d
cmp r8d, 0x23f0
jae 0x1400107d7
mov eax, 0xcccccccd
mul r8d
shr edx, 3
lea eax, [rdx + rdx*4]
add eax, eax
sub r8d, eax
jmp 0x1400107da
xor r8d, r8d
mov dword [r15], r8d
and dword [r12], 0
jmp 0x1400107e9
mov ebx, 0x8000ffff
test rdi, rdi
je 0x1400107fc
mov r8, rdi
xor edx, edx
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
mov eax, ebx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.14001f340
add rsp, 0x268
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret