joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400033f0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14000a350
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14000a350
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x1400040c2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14002c1c8]
test eax, eax
je 0x14000415a
lea rax, [0x14002c1a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14002c1d0]
mov qword [rbp - 8], rax
jmp 0x14000413e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140004132
cmp qword [rbp - 0x10], 0
je 0x140004132
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400040f8
lea rax, [0x14002c1a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000415b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140004260
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140004288
mov eax, 0
jmp 0x1400042d6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400042b1
mov eax, 0
jmp 0x1400042d6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400042d1
mov eax, 0
jmp 0x1400042d6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400042dc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14000435a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140004351
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140004351
mov rax, qword [rbp - 8]
jmp 0x14000436f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140004324
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400058c4
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rax, qword [0x14004ba88]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r15d, r15d
lea rax, [rsp + 0x30]
mov qword [r8], r15
lea rdx, [rsp + 0x30]
sub rcx, rax
mov r14, r8
mov r9d, 0x104
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x140005935
movzx eax, word [rcx + rdx]
test ax, ax
je 0x140005935
mov word [rdx], ax
add rdx, 2
sub r9, 1
jne 0x140005913
test r9, r9
lea rax, [rdx - 2]
lea r8, [0x14003bd78]
cmovne rax, rdx
lea rcx, [rsp + 0x30]
mov word [rax], r15w
call fcn.14000384c
mov ebx, 0x1f0003
lea r8, [rsp + 0x30]
mov ecx, ebx
xor edx, edx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1400059ab
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x140005a74
mov edx, 0xc9
mov rcx, qword [rbp + 0x168]
lea r8, [0x14003bc9c]
call fcn.1400051b8
mov esi, eax
jmp 0x140005a77
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], r15d
mov rcx, rdi
mov dword [rsp + 0x20], r15d
call fcn.140005730
mov esi, eax
test eax, eax
jns 0x1400059e8
mov rcx, qword [rbp + 0x168]
lea r8, [0x14003bc9c]
mov r9d, eax
mov edx, 0xcf
call fcn.140005180
jmp 0x140005a77
lea r8, [0x14003bd80]
lea rcx, [rsp + 0x30]
call fcn.14000384c
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x140005a20
mov edx, 0xd5
jmp 0x140005991
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140005730
mov esi, eax
test eax, eax
jns 0x140005a58
mov rcx, qword [rbp + 0x168]
lea r8, [0x14003bc9c]
mov r9d, eax
mov edx, 0xd7
call fcn.140005180
mov rcx, rbx
call fcn.14000527c
jmp 0x140005a77
mov rcx, rbx
call fcn.14000527c
movsxd rcx, dword [rsp + 0x20]
movsxd rax, dword [rsp + 0x24]
shl rcx, 0x1f
or rax, rcx
mov qword [r14], rax
mov esi, r15d
test rdi, rdi
je 0x140005a84
mov rcx, rdi
call fcn.14000527c
mov eax, esi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140034260
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140013018
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x14004ba88]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
mov dword [rbp - 0x29], 0x1001001
lea rax, [rbp - 0x39]
mov dword [rbp - 0x25], 0x5b04b14
mov qword [rsp + 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetControlWMISecurity
lea rax, [rbp - 0x31]
mov dword [rbp - 0x21], 0x50
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], 1
mov dword [rbp - 0x1d], 0x5000000
mov dword [rbp - 0x19], 0xc05c
mov dword [rbp - 0x15], 0x1000000
mov dword [rbp - 0x11], 0x4014
mov dword [rbp - 0xd], 0x3000000
mov qword [rbp - 9], 0x4034
mov dword [rbp - 1], 0x2002002
mov dword [rbp + 3], 0x20
mov dword [rbp + 7], 0x1001
mov dword [rbp + 0xb], 0x1000000
mov dword [rbp + 0xf], 0x1004014
mov dword [rbp + 0x13], 0x8018
mov dword [rbp + 0x17], 0xd00d
mov dword [rbp + 0x1b], 0x2002
mov qword [rbp + 0x1f], 0x20021001
mov dword [rbp + 0x27], ebx
mov dword [rbp + 0x2b], 0x30130100
mov qword [rbp + 0x2f], 0x40040000
mov qword [rbp + 0x37], 0x200200
mov dword [rbp - 0x39], ebx
mov qword [rbp - 0x31], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140013137
mov dword [rsp + 0x20], 0x167
lea rdx, str._dropAccessPermissionsToTraceProvider:_Failed_to_create_key
jmp 0x14001317b
mov rcx, qword [rbp - 0x31]
lea rax, [rbp - 0x29]
mov dword [rsp + 0x28], 0x68
lea rdx, str.c688cf83_9945_5ff6_0e1e_1ff1f8a2ec9a
mov r9d, 3
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14001319b
mov dword [rsp + 0x20], 0x175
lea rdx, str._dropAccessPermissionsToTraceProvider:_Failed_to_set_value
movzx ecx, ax
lea r9, str.OctBrokerSvc::_dropAccessPermissionsToTraceProvider
or ecx, 0x80070000
mov r8d, 1
test eax, eax
cmovle ecx, eax
call fcn.140013c68
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400131b0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140034260
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rbp
ret
Function at 0x140016718
Capabilities:
Encode data using xor
Hash data using fnv

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, 0x30
mov r14, rdx
mov rbp, rcx
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx eax, byte [r9 + rdx]
xor r8, rax
movabs rcx, 0x100000001b3
imul r8, rcx
inc r9
cmp r9, 8
jb 0x140016744
mov rdx, qword [rbp + 0x30]
and rdx, r8
add rdx, rdx
mov r8, qword [rbp + 0x18]
mov rax, qword [r8 + rdx*8]
lea rsi, [rbp + 8]
mov rbx, qword [rsi]
cmp qword [r8 + rdx*8], rbx
jne 0x140016787
mov rcx, rbx
jmp 0x14001678f
mov rcx, qword [r8 + rdx*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400167a7
mov rcx, qword [r14]
cmp qword [rax + 0x10], rcx
je 0x1400167a2
mov rax, qword [rax]
jmp 0x14001677c
mov rcx, rax
jmp 0x1400167ad
mov rax, rbx
mov rcx, rbx
cmp rcx, rbx
jne 0x140016831
mov rbx, qword [rbx]
movabs rax, 0x666666666666666
cmp qword [rsi + 8], rax
jne 0x1400167d9
lea rcx, str.list_T__too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop dword [rax + rax]
int3
mov rdi, qword [rbx + 8]
mov qword [rsp + 0x20], rsi
and qword [rsp + 0x28], 0
mov ecx, 0x28
call fcn.140034440
mov rcx, qword [r14]
mov qword [rax + 0x10], rcx
and qword [rax + 0x18], 0
and qword [rax + 0x20], 0
mov qword [rax], rbx
mov qword [rax + 8], rdi
inc qword [rsi + 8]
mov qword [rbx + 8], rax
mov qword [rdi], rax
mov rax, qword [rsi]
mov r9, qword [rax]
lea r8, [r9 + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140017ad8
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140016a54
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov r9, rcx
mov rbx, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r8 + r10 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 8
jb 0x140016a6d
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x140016ac5
cmp qword [rcx + rdx*8], r8
jne 0x140016aba
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x140016abe
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140016ad2
cmp qword [rcx + rdx*8], r8
jne 0x140016ad2
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
lea rcx, [r9 + 8]
mov rdx, rbx
call fcn.14001702c
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140017ad8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, r9
mov r11, r8
mov rsi, rdx
mov r9, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r11]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x140017b07
mov r8, qword [r9 + 0x30]
and r8, rcx
mov r10, r8
add r10, r10
mov rcx, qword [r9 + 0x18]
mov rdi, qword [r9 + 8]
cmp rdi, qword [rcx + r10*8]
je 0x140017b7c
mov rdi, qword [rcx + r10*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [rcx + r10*8]
je 0x140017b7c
mov rdi, qword [rdi + 8]
mov rax, qword [rdi + 0x10]
cmp qword [r11], rax
jne 0x140017b49
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [r9 + 8]
call fcn.14001702c
mov qword [rsi], rdi
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x140017c13
mov rax, qword [rbx]
cmp rdi, rax
je 0x140017bb1
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8]
add r8, r8
cmp rax, qword [r9 + 8]
jne 0x140017bd1
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x140017c00
cmp rax, rdi
jne 0x140017bdc
mov qword [rdx + r8*8], rbx
jmp 0x140017c00
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x140017c00
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r10*8 + 8], rcx
mov rcx, r9
call fcn.140017c28
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140027e30
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

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
push r15
cmp qword [r8 + 0x18], 8
mov r14, rdx
mov r11, qword [r8 + 0x10]
mov r10, r8
jb 0x140027e5b
mov r10, qword [r8]
lea rdx, [r11 + r11]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x140027e8e
movzx eax, byte [rcx + r10]
movabs rbx, 0x100000001b3
xor r9, rax
inc rcx
imul r9, rbx
cmp rcx, rdx
jb 0x140027e70
and r9, qword [0x14004c6e0]
mov r15, qword [0x14004c6c8]
add r9, r9
mov r10, qword [0x14004c6b8]
mov rax, qword [r15 + r9*8]
cmp qword [r15 + r9*8], r10
jne 0x140027eb5
mov rcx, r10
jmp 0x140027ebd
mov rcx, qword [r15 + r9*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x140027f77
cmp qword [r8 + 0x18], 8
lea rcx, [rax + 0x10]
mov rdx, r8
jb 0x140027ed7
mov rdx, qword [r8]
mov rbp, qword [rcx + 0x18]
mov rbx, qword [rcx + 0x10]
cmp rbp, 8
jb 0x140027ee8
mov rcx, qword [rcx]
cmp rbx, r11
jne 0x140027f1e
test rbx, rbx
je 0x140027f23
movzx edi, word [rcx]
movzx esi, word [rdx]
cmp di, si
jb 0x140027f1e
sub rcx, rdx
cmp di, si
ja 0x140027f1e
cmp rbx, 1
je 0x140027f23
add rdx, 2
dec rbx
movzx edi, word [rdx + rcx]
movzx esi, word [rdx]
cmp di, si
jae 0x140027f03
mov rax, qword [rax]
jmp 0x140027eaa
lea rcx, [rax + 0x10]
cmp rbp, 8
jb 0x140027f30
mov rcx, qword [rcx]
cmp qword [r8 + 0x18], 8
jb 0x140027f3a
mov r8, qword [r8]
test r11, r11
je 0x140027f74
movzx edx, word [r8]
movzx r9d, word [rcx]
cmp dx, r9w
jb 0x140027f77
sub r8, rcx
cmp dx, r9w
ja 0x140027f77
cmp r11, 1
je 0x140027f74
add rcx, 2
dec r11
movzx edx, word [rcx + r8]
movzx r9d, word [rcx]
cmp dx, r9w
jae 0x140027f54
jmp 0x140027f77
mov r10, rax
mov rbx, qword [rsp + 0x18]
mov rax, r14
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov qword [r14], r10
pop r15
pop r14
ret
Function at 0x140028c8c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov r10, r8
mov r14, rdx
lea rax, [0x14004c6b0]
mov qword [rsp + 0x70], rax
mov r12, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140028ccb
mov rdx, qword [r8]
movabs r9, 0xcbf29ce484222325
lea r8, [r12 + r12]
xor ecx, ecx
test r8, r8
je 0x140028cfd
movzx eax, byte [rcx + rdx]
xor r9, rax
movabs r11, 0x100000001b3
imul r9, r11
inc rcx
cmp rcx, r8
jb 0x140028ce0
and r9, qword [0x14004c6e0]
mov r11, r9
add r11, r11
mov r8, qword [0x14004c6c8]
mov r13, qword [0x14004c6b8]
cmp qword [r8 + r11*8], r13
jne 0x140028d23
mov rdi, r13
jmp 0x140028d2b
mov rdi, qword [r8 + r11*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [r8 + r11*8]
je 0x140028dde
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140028d4b
mov rax, qword [rax]
mov rsi, r10
cmp qword [r10 + 0x18], 8
jb 0x140028d58
mov rsi, qword [r10]
cmp r12, rcx
jne 0x140028d2b
mov r15, r12
test r12, r12
je 0x140028d93
movzx ecx, word [rsi]
movzx edx, word [rax]
cmp cx, dx
jb 0x140028d2b
sub rsi, rax
cmp cx, dx
ja 0x140028d2b
cmp r15, 1
je 0x140028d93
dec r15
add rax, 2
movzx ecx, word [rsi + rax]
movzx edx, word [rax]
cmp cx, dx
jae 0x140028d76
jmp 0x140028d2b
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [0x14004c6c0]
lea rcx, [rbx + 0x30]
call fcn.140006450
lea rcx, [rbx + 0x10]
call fcn.140006450
mov edx, 0x50
mov rcx, rbx
call fcn.140034740
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x140028e8d
mov rax, qword [rbx]
cmp rdi, rax
je 0x140028e21
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov r8, qword [0x14004c6c8]
mov r13, qword [0x14004c6b8]
mov rcx, r9
add rcx, rcx
add r9, r9
cmp qword [r8 + r11*8], r13
jne 0x140028e42
mov qword [r8 + r9*8], rbx
mov rax, qword [0x14004c6c8]
mov qword [rax + rcx*8 + 8], rbx
jmp 0x140028e75
cmp qword [r8 + r11*8], rdi
jne 0x140028e4e
mov qword [r8 + rcx*8], rbx
jmp 0x140028e75
mov rax, qword [r8 + rcx*8 + 8]
mov rdx, qword [rax]
mov qword [r8 + rcx*8 + 8], rdx
cmp rdx, rbx
je 0x140028e75
mov r8, qword [0x14004c6c8]
mov rax, qword [r8 + r11*8 + 8]
mov rdx, qword [rax + 8]
mov qword [r8 + r11*8 + 8], rdx
lea rcx, [0x14004c6b0]
call fcn.140028ea4
nop
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400292f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov r8, rcx
lea rsi, [rdi + 0x10]
cmp qword [rsi + 0x18], 8
mov r9, rsi
mov r10, qword [rsi + 0x10]
jb 0x140029323
mov r9, qword [rsi]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r10, r10
je 0x140029352
movzx eax, byte [rdx + r9]
movabs r11, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r11
cmp rdx, r10
jb 0x140029334
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x14002938a
cmp qword [rcx + rdx*8], rdi
jne 0x14002937f
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x140029383
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140029397
cmp qword [rcx + rdx*8], rdi
jne 0x140029397
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
lea rcx, [rsi + 0x20]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r8 + 0x10]
call fcn.140006450
mov rcx, rsi
call fcn.140006450
mov edx, 0x50
mov rcx, rdi
call fcn.140034740
mov rsi, qword [rsp + 0x38]
mov rax, r14
mov rdi, qword [rsp + 0x40]
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret
Function at 0x1400293f4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov r10, r8
mov r14, rdx
mov r9, rcx
mov r13, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x140029427
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
lea r11, [r13*2]
xor ecx, ecx
test r11, r11
je 0x14002945e
movzx eax, byte [rcx + r8]
xor rdx, rax
movabs rdi, 0x100000001b3
imul rdx, rdi
inc rcx
cmp rcx, r11
jb 0x140029440
mov r8, qword [r9 + 0x30]
and r8, rdx
mov rsi, r8
add rsi, rsi
mov r12, qword [r9 + 0x18]
mov rdi, qword [r9 + 8]
cmp rdi, qword [r12 + rsi*8]
je 0x140029537
mov rdi, qword [r12 + rsi*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [r12 + rsi*8]
je 0x140029537
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400294a5
mov rax, qword [rax]
mov r11, r10
cmp qword [r10 + 0x18], 8
jb 0x1400294b2
mov r11, qword [r10]
cmp r13, rcx
jne 0x140029485
mov r15, r13
test r13, r13
je 0x1400294ef
movzx ecx, word [r11]
movzx edx, word [rax]
cmp cx, dx
jb 0x140029485
sub r11, rax
cmp cx, dx
ja 0x140029485
cmp r15, 1
je 0x1400294ef
dec r15
add rax, 2
movzx ecx, word [r11 + rax]
movzx edx, word [rax]
cmp cx, dx
jae 0x1400294d1
jmp 0x140029485
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
lea rcx, [rbx + 0x30]
call fcn.140006450
lea rcx, [rbx + 0x10]
call fcn.140006450
mov edx, 0x50
mov rcx, rbx
call fcn.140034740
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x1400295cf
mov rax, qword [rbx]
cmp rdi, rax
je 0x14002956c
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + rsi*8]
add r8, r8
cmp rax, qword [r9 + 8]
jne 0x14002958c
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x1400295bb
cmp rax, rdi
jne 0x140029597
mov qword [rdx + r8*8], rbx
jmp 0x1400295bb
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x1400295bb
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + rsi*8 + 8], rcx
mov rcx, r9
call fcn.140028ea4
nop
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14002a72c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x60
mov rdi, rdx
and dword [rsp + 0x70], 0
lea rax, [r11 + 8]
mov qword [r11 - 0x38], rax
and qword [r11 - 0x40], 0
and qword [r11 - 0x48], 0
mov ebx, 2
mov r9d, ebx
lea r8, str.Region
lea rdx, [0x14003e840]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x14002a798
mov eax, ecx
jmp 0x14002a8a2
xor eax, eax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov edx, dword [rsp + 0x70]
test rdx, rdx
je 0x14002a7c0
lea rcx, [rsp + 0x40]
call fcn.14002b150
mov rax, qword [rsp + 0x40]
lea r10, [rsp + 0x70]
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, ebx
lea r8, str.Region
lea rdx, [0x14003e840]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x14002a847
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14002a843
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov r8, rcx
cmp rdx, 0x1000
jb 0x14002a83e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x14002a888
call fcn.140034740
mov eax, ebx
jmp 0x14002a8a2
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140020110
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14002a89a
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a895
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002a895
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call fcn.140034740
mov eax, ebx
jmp 0x14002a8a2
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x14002a8b4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x50], 4
lea rax, [r11 + 8]
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x20], rdx
and qword [r11 - 0x28], 0
mov r9d, 0x10
lea r8, str.TelemetryIntervalOverride
lea rdx, [0x14003e840]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x14002a914
add rsp, 0x48
ret