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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor edi, edi
mov qword [rsp + 0x20], rcx
mov r9, rcx
lea r8, [rsp + 0x30]
mov ecx, edi
lea eax, [rcx*4]
inc ecx
mov eax, dword [rax + r9 + 0x28]
bswap eax
mov dword [r8], eax
lea r8, [r8 + 4]
cmp ecx, 0x10
jb 0x1400fc582
lea r11, [rsp + 0x70]
mov ebx, 0x30
lea r10, [rsp + 0x68]
mov ecx, dword [r10 - 0x34]
mov r8d, ecx
mov edx, dword [r10]
mov eax, ecx
rol r8d, 0xe
lea r10, [r10 + 4]
shr ecx, 3
ror eax, 7
xor r8d, eax
mov eax, edx
xor r8d, ecx
rol eax, 0xd
mov ecx, edx
shr edx, 0xa
rol ecx, 0xf
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r10 - 0x3c]
add r8d, dword [r10 - 0x18]
mov dword [r11], r8d
lea r11, [r11 + 4]
sub rbx, 1
jne 0x1400fc5ad
movups xmm0, xmmword [r9]
lea r12d, [rbx + 0x40]
movups xmm1, xmmword [r9 + 0x10]
movups xmmword [rsp], xmm0
mov ebx, dword [rsp + 8]
mov esi, dword [rsp + 4]
mov r11d, dword [rsp]
mov r9d, dword [rsp + 0xc]
movups xmmword [rsp + 0x10], xmm1
mov r13d, dword [rsp + 0x1c]
mov r14d, dword [rsp + 0x18]
mov r15d, dword [rsp + 0x14]
mov r10d, dword [rsp + 0x10]
mov eax, r10d
mov r8d, r10d
rol eax, 7
mov ecx, r10d
ror r8d, 0xb
not ecx
xor r8d, eax
and ecx, r14d
mov eax, r10d
mov edx, r11d
ror eax, 6
xor r8d, eax
ror edx, 0xd
mov eax, r15d
and eax, r10d
xor ecx, eax
lea rax, [0x1401ec950]
add r8d, ecx
mov ecx, esi
add r8d, dword [rdi + rax]
xor ecx, ebx
add r8d, dword [rsp + rdi + 0x30]
lea rdi, [rdi + 4]
add r8d, r13d
and ecx, r11d
mov eax, r11d
mov r13d, r14d
rol eax, 0xa
mov r14d, r15d
xor edx, eax
mov r15d, r10d
mov eax, r11d
lea r10d, [r9 + r8]
ror eax, 2
mov r9d, ebx
xor edx, eax
mov eax, esi
and eax, ebx
mov ebx, esi
xor ecx, eax
mov esi, r11d
add edx, ecx
lea r11d, [rdx + r8]
sub r12, 1
jne 0x1400fc631
mov dword [rsp + 0xc], r9d
lea rcx, [rsp]
mov r9, qword [rsp + 0x20]
lea edx, [r12 + 8]
sub rcx, r9
mov dword [rsp + 0x10], r10d
mov dword [rsp], r11d
mov dword [rsp + 8], ebx
mov dword [rsp + 4], esi
mov dword [rsp + 0x18], r14d
mov dword [rsp + 0x14], r15d
mov dword [rsp + 0x1c], r13d
mov eax, dword [rcx + r9]
add dword [r9], eax
lea r9, [r9 + 4]
sub rdx, 1
jne 0x1400fc6f2
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1401adee0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400fcddc
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400fcdef
mov rcx, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1400fcebc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
and qword [rsp + 0x30], 0
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.14000a438
nop
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
sub rax, rdx
sar rax, 1
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400fce3b
mov rcx, qword [rbx]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1400fce6b
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
sub rcx, rdx
sar rcx, 1
mov eax, eax
cmp rax, rcx
ja 0x1400fce6b
mov rcx, rbx
call fcn.140012f6c
mov bl, 1
jmp 0x1400fce6d
xor bl, bl
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1400fceba
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fcea6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fcec2
call fcn.1401addcc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
and qword [rsp + 0x30], 0
mov al, bl
add rsp, 0x40
pop rbx
ret
call fcn.1401b4fa4
int3

Function at 0x1400ff020
Capabilities:
Get token membership

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp - 8], rax
and dword [rbp - 0x10], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
and dword [rsp + 0x48], 0
mov r9d, 0x220
and dword [rsp + 0x40], 0
mov r8d, 0x20
and dword [rsp + 0x38], 0
mov dl, 2
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov word [rbp - 0xc], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp - 0x20], eax
test eax, eax
je 0x1400ff0b0
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp - 0x20], ecx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp - 0x20]
test eax, eax
setne al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401adee0
add rsp, 0x80
pop rbp
ret
Function at 0x1400ff434
Capabilities:
Shutdown system

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400ff4ad
lea r8, [rsp + 0x3c]
xor ecx, ecx
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
and qword [rsp + 0x28], 0
lea r8, [rsp + 0x38]
and qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x44], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp ebx, 1
jne 0x1400ff4b7
lea ecx, [rbx + 4]
jmp 0x1400ff4e0
cmp ebx, 3
jne 0x1400ff4c5
xor r8d, r8d
xor edx, edx
xor ecx, ecx
jmp 0x1400ff4d1
cmp ebx, 2
jne 0x1400ff4d8
xor r8d, r8d
mov cl, 1
xor edx, edx
call sub.POWRPROF.dll_SetSuspendState
jmp 0x1400ff4eb
cmp ebx, 4
jne 0x1400ff4eb
lea ecx, [rbx + 2]
mov edx, 0x80000000
call qword [sym.imp.USER32.dll_ExitWindowsEx]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401adee0
add rsp, 0x50
pop rbx
ret

Function at 0x1400ff804
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp dword [rcx], edi
jbe 0x1400ff8a6
lea rax, [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x1400ff9b0]
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
jne 0x1400ff87c
lea rdx, str.CreateThread_failed
lea rcx, [0x14023bd90]
call fcn.1400bf658
lea rcx, [0x14023bd90]
call fcn.1400bfa88
lea edx, [rsi + 2]
lea rcx, [0x14023bd90]
call fcn.1400bf650
mov qword [rbx + rdi*8 + 8], rsi
inc dword [rbx + 0x208]
mov edx, dword [0x140242f20]
test edx, edx
je 0x1400ff89c
mov rcx, qword [rbx + rdi*8 + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc edi
cmp edi, dword [rbx]
jb 0x1400ff820
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1401146d0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.1400cfc48
test eax, eax
jne 0x1401146f9
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x140114714
and dword [0x14024399c], 0
mov rdx, rbx
mov rcx, rdi
call fcn.1401149d0
cmp dword [0x14024399c], 0
jne 0x1401146f9
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1401149d0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x500]
sub rsp, 0x600
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
xor r14d, r14d
mov rbx, rdx
mov rdi, rcx
cmp word [rdx], r14w
je 0x140114ad1
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140114ad1
mov esi, r14d
xor edx, edx
jmp 0x140114a71
lea rax, [rsp + 0x60]
mov r9, rbx
lea r8, [0x1401ecd98]
mov qword [rsp + 0x20], rax
mov edx, 0x200
lea rcx, [rbp + 0xf0]
call fcn.1400132a4
lea rdx, [rbp + 0xf0]
mov rcx, rdi
call fcn.1401149d0
inc esi
mov edx, esi
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x40], 0xc8
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140114a39
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140114abb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x140114ad1
inc dword [0x14024399c]
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.1401adee0
lea r11, [rsp + 0x600]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140114af8
Capabilities:
Delete registry key

Disassembly:
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140114b08
Function at 0x140114b08
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rdx
mov rbx, rcx
xor r14d, r14d
mov qword [rbp - 0x30], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor r8d, r8d
lea rdx, [0x1401d9fd0]
lea rcx, [rbp - 0x30]
call fcn.1400041a8
nop
lea r9, [rbp - 0x30]
mov r8, rsi
mov rdx, rbx
lea rcx, [0x14022e9a8]
call fcn.140112624
mov dil, al
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140114bad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140114ba8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140114ca7
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r14w
test dil, dil
jne 0x140114c80
mov qword [rbp - 0x50], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r14w
lea r8, [rbp - 0x50]
mov rdx, rsi
mov rcx, rbx
call fcn.140116770
test al, al
je 0x140114c32
mov r8d, dword [0x1402439a0]
lea rdx, [rbp - 0x50]
mov rcx, rbx
test r8d, r8d
jne 0x140114c1e
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140114c32
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140114c6e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140114c69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140114ca1
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r14w
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401adee0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1401b4fa4
int3
call fcn.1401b4fa4
int3

Function at 0x140114cb0
Capabilities:
Delete registry value

Disassembly:
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140114cc4
Function at 0x140114cc4
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov r9, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [0x14022e9a8]
call fcn.140112624
xor r14d, r14d
test al, al
jne 0x140114ddc
mov qword [rbp - 0x28], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], r14w
lea r8, [rbp - 0x28]
mov rdx, rsi
mov rcx, rdi
call fcn.140116770
test al, al
je 0x140114d8e
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140114d8e
cmp qword [rbx + 0x18], 8
jb 0x140114d71
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140114d8e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140114dca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140114dc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140114df3
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r14w
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401adee0
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401b4fa4
int3
Function at 0x1401150f8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov r12, rcx
xor r13d, r13d
mov qword [rbp - 0x21], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [r14 + r8*2], r13w
jne 0x140115144
mov rdx, r14
lea rcx, [rbp - 0x21]
call fcn.1400041a8
nop
mov qword [rbp - 1], r13
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov r8, rbx
inc r8
cmp word [rdi + r8*2], r13w
jne 0x14011516a
mov rdx, rdi
lea rcx, [rbp - 1]
call fcn.1400041a8
nop
lea rax, [rbp - 0x31]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x21]
lea r8, [rbp - 1]
mov rdx, r12
lea rcx, [0x14022e9a8]
call fcn.1401131ac
mov r15b, al
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x1401151e9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401151e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140115357
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], r13w
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x14011523b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140115236
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011535d
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r13w
test r15b, r15b
jne 0x140115323
mov qword [rbp - 0x21], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
inc rbx
cmp word [rdi + rbx*2], r13w
jne 0x140115262
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x21]
call fcn.1400041a8
nop
lea rdx, [rbp - 0x21]
mov rcx, r12
call fcn.140116974
mov rdi, rax
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x1401152cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401152c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140115351
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r13w
mov dword [rbp - 0x39], 8
test rdi, rdi
je 0x140115327
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x29]
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140115327
cmp dword [rbp - 0x39], r13d
je 0x140115327
mov rsi, qword [rbp - 0x31]
mov rax, rsi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1401adee0
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401b4fa4
nop
call fcn.1401b4fa4
nop
call fcn.1401b4fa4
int3
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x1401150f8
Function at 0x140115364
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov r12, rcx
xor r13d, r13d
mov qword [rbp - 0x21], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [r14 + r8*2], r13w
jne 0x140115144
mov rdx, r14
lea rcx, [rbp - 0x21]
call fcn.1400041a8
nop
mov qword [rbp - 1], r13
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov r8, rbx
inc r8
cmp word [rdi + r8*2], r13w
jne 0x14011516a
mov rdx, rdi
lea rcx, [rbp - 1]
call fcn.1400041a8
nop
lea rax, [rbp - 0x31]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x21]
lea r8, [rbp - 1]
mov rdx, r12
lea rcx, [0x14022e9a8]
call fcn.1401131ac
mov r15b, al
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x1401151e9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401151e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140115357
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], r13w
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x14011523b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140115236
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011535d
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r13w
test r15b, r15b
jne 0x140115323
mov qword [rbp - 0x21], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
inc rbx
cmp word [rdi + rbx*2], r13w
jne 0x140115262
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x21]
call fcn.1400041a8
nop
lea rdx, [rbp - 0x21]
mov rcx, r12
call fcn.140116974
mov rdi, rax
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x1401152cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401152c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140115351
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r13w
mov dword [rbp - 0x39], 8
test rdi, rdi
je 0x140115327
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x29]
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140115327
cmp dword [rbp - 0x39], r13d
je 0x140115327
mov rsi, qword [rbp - 0x31]
mov rax, rsi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1401adee0
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401b4fa4
nop
call fcn.1401b4fa4
nop
call fcn.1401b4fa4
int3
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x1401150f8
Function at 0x14011537c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.1401153c0

Function at 0x1401153c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbp, rcx
movsxd rdi, r9d
lea rcx, [rax - 0x10]
mov rbx, r8
mov qword [rax - 0x20], rcx
mov r9, r8
mov rsi, rdx
mov qword [rax - 0x28], rdi
mov r8, rdx
lea rcx, [0x14022e9a8]
mov rdx, rbp
call fcn.1401131ac
mov r8, qword [rsp + 0x38]
mov dword [rsp + 0x30], r8d
test al, al
je 0x140115414
mov eax, r8d
jmp 0x14011547c
mov rdx, rsi
mov rcx, rbp
call fcn.140116974
mov dword [rsp + 0x68], 4
mov rsi, rax
test rax, rax
je 0x14011547a
cmp qword [rbx + 0x18], 8
jb 0x140115439
mov rbx, qword [rbx]
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14011547a
cmp dword [rsp + 0x68], ebx
je 0x14011547a
mov edi, dword [rsp + 0x30]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140115494
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r12d, dword [rsp + 0x98]
lea rax, [r11 - 0x20]
mov rsi, qword [rsp + 0x90]
mov rdi, r9
mov qword [r11 - 0x38], rax
mov rbx, r8
mov qword [r11 - 0x40], rsi
mov rbp, rdx
mov qword [r11 - 0x48], r9
mov r15, rcx
mov r9, r8
mov qword [r11 - 0x20], r12
mov r8, rdx
mov rdx, rcx
lea rcx, [0x14022e9a8]
call fcn.140112e5c
test al, al
je 0x140115503
mov eax, dword [rsp + 0x48]
jmp 0x140115586
mov rdx, rbp
mov rcx, r15
call fcn.140116974
mov dword [rsp + 0x98], r12d
mov rbp, rax
test rax, rax
je 0x140115568
cmp qword [rbx + 0x18], 8
jb 0x140115528
mov rbx, qword [rbx]
lea rax, [rsp + 0x98]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140115568
mov eax, dword [rsp + 0x98]
test eax, eax
jne 0x140115586
mov r8, r12
mov rcx, rdi
test rsi, rsi
je 0x14011557d
mov rdx, rsi
call fcn.1401aff80
jmp 0x140115584
xor edx, edx
call fcn.1401b0b80
xor eax, eax
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
Function at 0x140115714
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov esi, dword [rsp + 0xa8]
mov rdi, r9
mov r12, qword [rsp + 0xa0]
mov rbx, r8
mov qword [rax - 0x48], rsi
mov rbp, rdx
mov qword [rax - 0x50], r12
mov r14, rcx
mov qword [rax - 0x58], r9
mov r9, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [0x14022e9a8]
call fcn.140113018
xor r13d, r13d
test al, al
je 0x14011577a
mov al, 1
jmp 0x140115812
mov rdx, rbp
mov rcx, r14
call fcn.140116974
mov r14, rax
mov bpl, r13b
test rax, rax
je 0x140115801
cmp qword [rbx + 0x18], 8
lea ecx, [rsi + rsi]
mov dword [rsp + 0xa8], ecx
jb 0x1401157a4
mov rbx, qword [rbx]
lea rax, [rsp + 0xa8]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov rcx, r14
mov ebx, eax
sete bpl
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140115801
mov ecx, dword [rsp + 0xa8]
shr ecx, 1
test esi, esi
jne 0x1401157f2
mov word [rdi], r13w
jmp 0x14011580f
lea eax, [rsi - 1]
cmp ecx, eax
cmovb eax, ecx
mov word [rdi + rax*2], r13w
jmp 0x14011580f
mov r8, rsi
mov rdx, r12
mov rcx, rdi
call fcn.1400fdf74
mov al, bpl
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140115830
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, r8
call fcn.140116974
mov rdi, rax
test rax, rax
je 0x14011588b
cmp qword [rbx + 0x18], 8
jb 0x140115854
mov rbx, qword [rbx]
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
and qword [rsp + 0x20], 0
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14011588b
mov eax, dword [rsp + 0x58]
jmp 0x14011588d
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret