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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rsi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x140010f88
cvtsi2ss xmm0, rdx
jmp 0x140010f9d
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_ceilf
movss xmm1, dword [0x14004ae3c]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140010fcb
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140010fcb
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x140010ff9
cmp rbx, 0x200
jae 0x140010ff6
shl rbx, 3
cmp rbx, rcx
jae 0x140010ff9
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
ja 0x140011177
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [rsi + 8]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14000ee88
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14001112a
mov rcx, qword [rcx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx edx, byte [r9 + rax + 0x10]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 4
jb 0x140011071
mov r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
and r11, r8
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x1400110b0
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x14001111e
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x1400110f3
mov r10, qword [r10]
cmp r10, rax
je 0x1400110a9
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400110a9
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x140011151
cmp qword [rdi + r11*8], r10
jne 0x1400110e9
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140011061
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1400111b0
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14001111e
lea rcx, str.invalid_hash_bucket_count
call fcn.140011b38
int3
Function at 0x140011288
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
mov rbp, r8
mov r13, rdx
cmp rdx, r8
je 0x140011358
mov rax, qword [rcx + 8]
mov rsi, rdx
mov r15, qword [rdx + 8]
movabs r14, 0xcbf29ce484222325
mov r12, qword [rcx + 0x18]
xor edx, edx
mov qword [rsp + 0x78], rax
movabs r8, 0x100000001b3
movzx eax, byte [rdx + r13 + 0x10]
inc rdx
xor r14, rax
imul r14, r8
cmp rdx, 4
jb 0x1400112d6
and r14, qword [rcx + 0x30]
add r14, r14
mov rax, qword [r12 + r14*8]
mov qword [rsp + 0x80], rax
mov rax, qword [r12 + r14*8 + 8]
mov qword [rsp + 0x88], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x18]
call fcn.14000d240
mov edx, 0x38
mov rcx, rbx
call fcn.140034098
mov rcx, qword [rsp + 0x70]
dec qword [rcx + 0x10]
cmp rbx, qword [rsp + 0x88]
je 0x14001136d
cmp rsi, rbp
jne 0x14001130c
cmp qword [rsp + 0x80], r13
jne 0x140011351
mov qword [r12 + r14*8], rsi
mov qword [r15], rsi
mov qword [rsi + 8], r15
mov rax, rbp
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp qword [rsp + 0x80], r13
jne 0x140011385
mov r13, qword [rsp + 0x78]
mov qword [r12 + r14*8], r13
mov rax, r13
jmp 0x140011388
mov rax, r15
mov qword [r12 + r14*8 + 8], rax
cmp rsi, rbp
je 0x140011351
xor edx, edx
movabs r14, 0xcbf29ce484222325
movabs r13, 0x100000001b3
movzx eax, byte [rsi + rdx + 0x10]
inc rdx
xor r14, rax
imul r14, r13
cmp rdx, 4
jb 0x1400113a8
and r14, qword [rcx + 0x30]
mov r13, qword [rsp + 0x78]
add r14, r14
mov rax, qword [r12 + r14*8 + 8]
mov qword [rsp + 0x80], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x18]
call fcn.14000d240
mov edx, 0x38
mov rcx, rbx
call fcn.140034098
mov rcx, qword [rsp + 0x70]
dec qword [rcx + 0x10]
cmp rbx, qword [rsp + 0x80]
je 0x140011413
cmp rsi, rbp
je 0x14001134d
jmp 0x1400113d6
mov qword [r12 + r14*8], r13
mov qword [r12 + r14*8 + 8], r13
jmp 0x14001138d
Function at 0x140011428
Capabilities:
Create service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x14005a8e0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r8d, 0x104
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
nop dword [rax + rax]
test eax, eax
je 0x140011522
mov ebx, 3
xor edx, edx
mov r8d, ebx
xor ecx, ecx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140011522
and qword [rsp + 0x60], 0
lea rax, [rsp + 0x70]
and qword [rsp + 0x58], 0
lea r9d, [rbx + 1]
and qword [rsp + 0x50], 0
lea r8, str.Restores_Health_of_Windows_Update_Components
and qword [rsp + 0x48], 0
lea rdx, str.Update_Health_Service
and qword [rsp + 0x40], 0
mov rcx, rdi
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CreateServiceW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x1400114fd
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
nop dword [rax + rax]
test rbx, rbx
je 0x14001152e
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
nop dword [rax + rax]
jmp 0x14001152e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400339f0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x290
pop rdi
ret
Function at 0x140011558
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14005a8e0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
xorps xmm0, xmm0
xor edx, edx
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov dword [rsp + 0x38], eax
movups xmmword [rsp + 0x20], xmm0
lea r8d, [rax + 1]
mov esi, 0xe10
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140011669
mov r8d, 0x10024
lea rdx, str.Update_Health_Service
mov rcx, rax
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenServiceW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140011646
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_ControlService]
nop dword [rax + rax]
test eax, eax
je 0x140011637
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop dword [rax + rax]
jmp 0x14001161f
cmp dword [rsp + 0x24], 3
jne 0x140011637
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop dword [rax + rax]
sub esi, 1
je 0x140011637
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_QueryServiceStatus]
nop dword [rax + rax]
test eax, eax
jne 0x140011602
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_DeleteService]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
nop dword [rax + rax]
test rbx, rbx
je 0x140011669
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400339f0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400151a4
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 [0x14005a8e0]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x1d0]
mov r13, rcx
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rdx
mov edi, 0x104
mov edx, edi
mov qword [rsp + 0x38], rax
mov r12, r9
mov r15, r8
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
dec eax
lea esi, [rdi - 2]
cmp eax, esi
ja 0x14001538e
lea r8, str.kernel32.dll
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.1400046a0
mov ebx, eax
test eax, eax
js 0x140015393
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x140015283
mov edx, edi
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
dec eax
cmp eax, esi
ja 0x14001538e
lea r8, str._ntdll.dll
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.1400046a0
mov ebx, eax
test eax, eax
js 0x140015393
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_version_l1_1_1.dll_GetFileVersionInfoSizeW]
nop dword [rax + rax]
mov r14d, eax
test eax, eax
je 0x14001538e
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14001538e
mov r8d, r14d
mov edx, 8
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1400152e2
mov ebx, 0x8007000e
jmp 0x140015393
mov r9, rdi
lea rcx, [rsp + 0x40]
mov r8d, r14d
xor edx, edx
call qword [sym.imp.api_ms_win_core_version_l1_1_1.dll_GetFileVersionInfoW]
nop dword [rax + rax]
test eax, eax
jne 0x140015306
mov ebx, 0x8000ffff
jmp 0x140015378
lea r9, [rsp + 0x28]
mov rcx, rdi
lea r8, [rsp + 0x20]
lea rdx, [0x140039f98]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
nop dword [rax + rax]
test eax, eax
je 0x1400152ff
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 0x14001536d
mov eax, 0xcccccccd
mul r8d
shr edx, 3
lea eax, [rdx + rdx*4]
add eax, eax
sub r8d, eax
jmp 0x140015370
xor r8d, r8d
mov dword [r15], r8d
and dword [r12], 0
mov r8, rdi
xor edx, edx
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
jmp 0x140015393
mov ebx, 0x8000ffff
mov eax, ebx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400339f0
add rsp, 0x268
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140015bcc
Capabilities:
Parse pe header

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
xor r11d, r11d
lea r8, [0x140000000]
mov r9, rdx
test rdx, rdx
jne 0x140015bfd
mov r9, r8
not r9
mov rdx, r9
mov rcx, r8
call fcn.1400158f4
test eax, eax
je 0x140015e01
mov edx, 0x40
call fcn.1400158f4
test eax, eax
je 0x140015e01
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140015e01
movsxd rax, dword [0x14000003c]
cmp rax, r9
jae 0x140015e01
lea rcx, [rax + r8]
mov edx, 0x108
call fcn.1400158f4
test eax, eax
je 0x140015e01
cmp dword [rcx], 0x4550
jne 0x140015e01
movzx eax, word [rcx + 0x14]
cmp rax, r9
jae 0x140015e01
add rcx, 0x18
mov edx, 0x10b
cmp word [rcx], dx
jne 0x140015ca6
cmp rax, 0x60
jb 0x140015e01
mov edx, 0xe0
call fcn.1400158f4
test eax, eax
je 0x140015e01
mov eax, dword [rcx + 0x5c]
add rcx, 0x70
jmp 0x140015cd7
mov edx, 0x20b
cmp word [rcx], dx
jne 0x140015e01
cmp rax, 0x70
jb 0x140015e01
mov edx, 0xf0
call fcn.1400158f4
test eax, eax
je 0x140015e01
mov eax, dword [rcx + 0x6c]
sub rcx, 0xffffffffffffff80
cmp eax, 2
jbe 0x140015e01
mov eax, dword [rcx]
mov edx, dword [rcx + 4]
test rax, rax
je 0x140015e01
test rdx, rdx
je 0x140015e01
lea rdi, [rax + r8]
test rdi, rdi
je 0x140015e01
mov rcx, rdi
call fcn.1400158f4
test eax, eax
je 0x140015e01
mov ebp, 0x10
cmp rdx, rbp
jb 0x140015e01
movzx ebx, word [rdi + 0xe]
test rbx, rbx
je 0x140015e01
movzx ecx, word [rdi + 0xc]
lea r14d, [rbp - 8]
add rcx, 2
mov rsi, r11
lea rcx, [rdi + rcx*8]
test rbx, rbx
je 0x140015d70
mov rdx, r14
call fcn.1400158f4
test eax, eax
je 0x140015e01
cmp word [rcx], bp
je 0x140015d67
add rcx, r14
inc rsi
cmp rsi, rbx
jb 0x140015d47
cmp rsi, rbx
je 0x140015e01
mov ebx, dword [rcx + 4]
test ebx, ebx
jns 0x140015de9
mov esi, 0x7fffffff
mov rdx, rbp
and rbx, rsi
add rbx, rdi
mov rcx, rbx
call fcn.1400158f4
test eax, eax
je 0x140015e01
cmp word [rbx + 0xe], r11w
jne 0x140015d9f
cmp word [rbx + 0xc], r11w
je 0x140015e01
lea rcx, [rbx + 0x10]
mov rdx, r14
call fcn.1400158f4
test eax, eax
je 0x140015e01
mov ebx, dword [rcx + 4]
test ebx, ebx
jns 0x140015de9
and rbx, rsi
mov rdx, rbp
add rbx, rdi
mov rcx, rbx
call fcn.1400158f4
test eax, eax
je 0x140015e01
cmp word [rbx + 0xe], r11w
jne 0x140015dd9
cmp word [rbx + 0xc], r11w
je 0x140015e01
lea rcx, [rbx + 0x10]
mov rdx, r14
call fcn.1400158f4
test eax, eax
je 0x140015e01
mov ecx, dword [rcx + 4]
mov rdx, rbp
add rcx, rdi
call fcn.1400158f4
test eax, eax
je 0x140015e01
mov r11d, dword [rcx]
add r11, r8
mov rbx, qword [rsp + 0x30]
mov rax, r11
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400165dc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x270
mov rax, qword [0x14005a8e0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, qword [rsp + 0x2a8]
lea rdx, str.UpdateHealthTools
mov rdi, rcx
add rcx, 8
call fcn.1400150e0
lea rcx, [rdi + 0x10]
lea rdx, str.CloudManagedUpdate
call fcn.1400150e0
lea rcx, [rdi + 0x18]
lea rdx, str.UpdateHealthTools
call fcn.1400150e0
mov rdx, rbx
lea rcx, [rdi + 0x20]
call fcn.1400150e0
mov rcx, rdi
mov qword [rdi + 0x78], 0xffffffff80000002
call fcn.140017190
xor r14d, r14d
mov ebx, eax
test eax, eax
js 0x1400166fe
mov rcx, rdi
call fcn.1400170b8
mov ebx, eax
test eax, eax
js 0x1400166fe
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rdx, qword [rdi + 0x20]
lea rax, [rsp + 0x40]
mov rcx, qword [rdi + 0x78]
lea r9d, [r14 + 2]
mov qword [rsp + 0x30], rax
lea r8, str.Endpoint
lea rax, [rsp + 0x50]
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x1400166ef
lea rcx, [rsp + 0x50]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400166db
lea rdx, [rsp + 0x50]
test rax, rax
jne 0x1400166f6
lea rdx, str.settings_win.data.microsoft.com
mov rcx, rdi
call fcn.1400150e0
mov byte [rdi + 0xa8], 1
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400339f0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140016d20
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rdx, qword [rcx + 0x20]
lea rax, [rsp + 0x48]
mov rcx, qword [rcx + 0x78]
xor ebx, ebx
and qword [rsp + 0x48], rbx
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140016d6a
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140016dca
mov rcx, qword [rsp + 0x48]
lea rdx, str.ETag
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, eax
je 0x140016d9d
cmp eax, 2
je 0x140016d99
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140016dca
mov rcx, qword [rsp + 0x48]
lea rdx, str.RefreshAfter
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, 0xfffffffd
je 0x140016dca
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140016de0
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 0x1400180d8
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 rsi
push rdi
push r14
sub rsp, 0x30
and qword [rax + 8], 0
mov r14, r9
lea r9, [rax + 8]
mov rcx, 0xffffffff80000002
xor ebx, ebx
call fcn.14001847c
mov edi, eax
test eax, eax
jns 0x14001811a
mov ecx, eax
jmp 0x1400181e7
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, str.RacSampleNumber
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400181d7
test rbx, rbx
jne 0x14001819a
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140018193
mov ebx, eax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14001811e
mov edi, 0x8007000e
jmp 0x1400181e5
mov edi, 0x8000ffff
jmp 0x1400181e5
cmp dword [rsp + 0x58], 4
je 0x1400181a8
mov edi, 0x8007000d
jmp 0x1400181e5
xor esi, esi
cmp dword [rsp + 0x60], 4
je 0x1400181c1
mov edi, 0x8007000d
mov ecx, edi
mov esi, edi
call fcn.14000d0b0
jmp 0x1400181c6
mov eax, dword [rbx]
mov dword [r14], eax
mov ecx, esi
call fcn.14000cfd4
mov edi, esi
test esi, esi
jns 0x1400181ec
mov ecx, esi
jmp 0x1400181e7
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.14000d0b0
mov ecx, edi
call fcn.14000cfd4
test rbx, rbx
je 0x140018218
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
cmp qword [rsp + 0x50], 0
je 0x140018231
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x68]
mov eax, edi
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140018844
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 8
mov rdi, rcx
mov rcx, qword [r8 + 0x10]
mov rbx, rdx
mov r10, r8
jb 0x140018865
mov r10, qword [r8]
xor edx, edx
movabs r9, 0xcbf29ce484222325
add rcx, rcx
je 0x140018894
movzx eax, byte [rdx + r10]
movabs r11, 0x100000001b3
xor r9, rax
inc rdx
imul r9, r11
cmp rdx, rcx
jb 0x140018876
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400192d4
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x1400188ae
mov rcx, qword [rdi + 8]
mov qword [rbx], rcx
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140018948
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
mov r8, qword [r8 + 0x10]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140018987
mov rdx, qword [rsi]
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
add r8, r8
je 0x1400189b5
movzx eax, byte [rcx + rdx]
xor r14, rax
movabs r9, 0x100000001b3
imul r14, r9
inc rcx
cmp rcx, r8
jb 0x140018998
mov r9, r14
mov r8, rsi
lea rdx, [rsp + 0x28]
mov rcx, rbp
call fcn.1400192d4
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400189de
mov qword [rdi], rdx
mov byte [rdi + 8], 0
jmp 0x140018b0d
movabs rax, 0x333333333333333
cmp qword [rbp + 0x10], rax
je 0x140018b30
lea r12, [rbp + 8]
mov qword [rsp + 0x38], r12
and qword [rsp + 0x40], 0
mov ecx, 0x50
call fcn.140033ce4
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rdx, rsi
lea rcx, [rax + 0x10]
call fcn.14000d340
and qword [rbx + 0x30], 0
and qword [rbx + 0x40], 0
mov qword [rbx + 0x48], 7
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x140018a45
cvtsi2ss xmm0, rcx
jmp 0x140018a5a
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140018a6d
cvtsi2ss xmm1, rcx
jmp 0x140018a82
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x140018ab6
mov rcx, rbp
call fcn.140018b94
mov r9, r14
lea r8, [rbx + 0x10]
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.1400192d4
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x28], xmm0
mov rdx, qword [rsp + 0x28]
mov r8, qword [rdx + 8]
inc qword [rbp + 0x10]
mov qword [rbx], rdx
mov qword [rbx + 8], r8
mov qword [r8], rbx
mov qword [rdx + 8], rbx
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r14
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x140018aef
mov qword [rcx + rax*8], rbx
jmp 0x140018b01
cmp r9, rdx
jne 0x140018afa
mov qword [rcx + rax*8], rbx
jmp 0x140018b06
cmp qword [rcx + rax*8 + 8], r8
jne 0x140018b06
mov qword [rcx + rax*8 + 8], rbx
mov qword [rdi], rbx
mov byte [rdi + 8], 1
mov rax, rdi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
lea rcx, str.unordered_map_set_too_long
call fcn.140011b38
int3