joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400113f7
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400180a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400180c0
xor al, al
jmp 0x140018141
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400180d3
xor al, al
jmp 0x140018141
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400180fd
xor al, al
jmp 0x140018141
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018111
xor al, al
jmp 0x140018141
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018123
xor al, al
jmp 0x140018141
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001813f
xor al, al
jmp 0x140018141
mov al, 1
add rsp, 0x38
ret
Function at 0x14000208c
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov r14, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x1400020c0
mov rcx, rbx
mov rdx, r14
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_64
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002105
test rsi, rsi
jle 0x140002105
mov rax, qword [rbx + 0x50]
mov edi, dword [rax]
test edi, edi
jle 0x140002105
cmp rdi, rsi
cmovae rdi, rsi
mov rcx, r14
mov r8, rdi
call fcn.140007650
add r14, rdi
mov r15, rsi
sub r15, rdi
mov rax, qword [rbx + 0x50]
sub dword [rax], edi
mov rax, qword [rbx + 0x38]
add qword [rax], rdi
jmp 0x140002108
mov r15, rsi
test r15, r15
jle 0x140002139
cmp qword [rbx + 0x80], 0
je 0x140002139
mov rcx, rbx
call fcn.140001b64
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, r14
mov r8, r15
call fcn.140021000
sub r15, rax
sub rsi, r15
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, r8
mov rdi, r8
test r8, r8
jle 0x140002742
mov r15, rdx
mov rbx, rcx
mov rdi, r14
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002726
mov rax, qword [rbx + 0x50]
mov esi, dword [rax]
test esi, esi
jle 0x140002726
cmp rdi, rsi
cmovb rsi, rdi
mov rcx, r15
mov r8, rsi
call fcn.140007650
add r15, rsi
sub rdi, rsi
mov rax, qword [rbx + 0x50]
sub dword [rax], esi
mov rax, qword [rbx + 0x38]
add qword [rax], rsi
jmp 0x14000273d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140002742
mov byte [r15], al
inc r15
dec rdi
test rdi, rdi
jg 0x1400026e9
sub r14, rdi
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14002997c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400297db
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400297db
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400297db
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400297db
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400297db
cmp dword [rcx + 0x84], 0xe
jbe 0x1400297db
cmp dword [rcx + 0xf8], 0
je 0x1400297db
mov ecx, ebx
call fcn.140029898
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140029668
nop
cmp dword [rbp + 0x20], 0
je 0x140029829
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140029834
int3
xor r8d, r8d
xor edx, edx
jmp 0x14002976c
Function at 0x14002eed4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x14002ef06
call fcn.14002721c
mov dword [rax], 0x16
call fcn.140020088
jmp 0x14002f025
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14002f025
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14002f025
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14002ef35
lock or dword [rcx + 0x14], 0x10
jmp 0x14002f025
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14002ef49
call fcn.14002ee68
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14002d860
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14002f4ec
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14002f013
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14002efde
mov rcx, rsi
call fcn.14002d860
cmp eax, edi
je 0x14002efc9
mov rcx, rsi
call fcn.14002d860
cmp eax, 0xfffffffe
je 0x14002efc9
mov rcx, rsi
call fcn.14002d860
movsxd rbx, eax
lea r14, [0x14006b7a0]
mov rcx, rsi
sar rbx, 6
call fcn.14002d860
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14002efd0
lea rdx, [0x140066b30]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14002efde
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14002f002
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14002f002
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14002f002
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x14002f028
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x14002f040
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x14006b7a0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14002f09e
cmp word [rdx], r12w
jne 0x14002f09e
or byte [rax + r8*8 + 0x38], cl
jmp 0x14002f0a4
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14002f1ff
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14002f1da
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14002f0dd
mov rcx, r9
jmp 0x14002f100
cmp r9, rdx
jae 0x14002f117
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14002f0c1
jmp 0x14002f1ff
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002f1d4
cmp dword [rsp + 0x80], edi
je 0x14002f1d4
mov rdx, r14
lea r11, [0x14006b7a0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14002f1ad
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14002f180
mov word [rbx], r12w
jmp 0x14002f1fb
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14002f189
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14002f1fb
cmp word [rsp + 0x70], r12w
jne 0x14002f1ba
cmp rbx, rsi
je 0x14002f17a
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14002fccc
cmp word [rsp + 0x70], r12w
je 0x14002f1ff
mov word [rbx], r13w
jmp 0x14002f1fb
lea r11, [0x14006b7a0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14002f1f7
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14002f1ff
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140030080
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14001a990
sub rsp, rax
mov rax, qword [0x140061760]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14002d860
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400300cf
mov rax, rbp
jmp 0x1400301d7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x6b7a0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002fcc4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x6b7a0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400301d3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400301d3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002fcc4
test rax, rax
js 0x1400301d3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400301d3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400301c5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400301c5
cmp byte [rcx], 0xd
jne 0x1400301ab
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400301ba
cmp byte [rcx + 1], 0xa
jne 0x1400301ba
inc rcx
jmp 0x1400301ba
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x66b80]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14003018d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400301d7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14001a300
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003477c
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400347ac
xor eax, eax
jmp 0x14003486f
mov rbp, rbx
cmp word [rax], si
je 0x1400347d1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400347b8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400347b4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140032a14
movsxd r14, eax
test eax, eax
jne 0x14003480f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400347a5
mov rcx, r14
call fcn.140030420
mov rdi, rax
test rax, rax
jne 0x140034828
xor ecx, ecx
call fcn.14002d824
jmp 0x140034804
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140032a14
test eax, eax
jne 0x140034859
mov rcx, rdi
call fcn.14002d824
jmp 0x140034863
xor ecx, ecx
call fcn.14002d824
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14003a73c
Capabilities:
Set environment variable

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 - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14002723c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14003a7c6
cmp byte [rbp - 0x21], r15b
je 0x14003a7c1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14003a7fc
call fcn.14002c9c8
test eax, eax
jne 0x14003a7e8
cmp byte [rbp - 0x21], r15b
je 0x14003a7e0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14003a7fc
cmp byte [rbp - 0x21], r15b
je 0x14003a7f9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14002850c
test eax, eax
jne 0x14003a89c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14002723c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14003a83b
cmp byte [rbp - 0x21], r15b
je 0x14003a870
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14003a870
call fcn.14002c9c8
test eax, eax
jne 0x14003a85c
cmp byte [rbp - 0x21], r15b
je 0x14003a855
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14003a870
cmp byte [rbp - 0x21], r15b
je 0x14003a86d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14002850c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14003a89c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14003a89f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14003a8ad
mov rcx, rdi
call fcn.14002d824
cmp byte [rbp + 0x3f], r15b
je 0x14003a8bc
mov rcx, qword [rbp + 0x27]
call fcn.14002d824
lea r11, [rsp + 0xa0]
mov eax, ebx
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 0x140761948
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140761952
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x14076197b
pop rbp
sub rbp, 0x33
sub rbp, 0x761948
sub rsp, 0x20
jmp 0x14076199a
mov rax, 0x761948
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0x4c8017c0
xor byte [rax], dl
inc rax
dec rcx
jne 0x1407619b9
jmp 0x1407619d0
mov byte [rcx + 0x29], cl
cld
rol al, 0xc0
mov byte [rcx + 1], al
enter 0xffffffffffffc0c1, 0xffffffffffffffc0
mov cl, al
sub dword [rax - 0x3f37fff9], ecx
rol al, 0x88
invalid
Function at 0x140016570
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x1400990a0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov r11, rcx
mov qword [rsp], rcx
xor r9b, r9b
lea r10, [rsp + 0x30]
mov ebx, 0x10
nop word [rax + rax]
movzx eax, r9b
lea r10, [r10 + 4]
movzx r8d, byte [rax + r11]
lea rdx, [rax + r11]
shl r8d, 8
movzx eax, r9b
add r9b, 4
movzx ecx, byte [rax + r11 + 1]
movzx eax, byte [rdx + 2]
or r8d, ecx
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 3]
shl r8d, 8
or r8d, eax
mov dword [r10 - 4], r8d
sub rbx, 1
jne 0x1400165c0
mov r10b, 0x10
lea r9, [rsp + 0x30]
nop
mov ecx, dword [r9 + 4]
lea r9, [r9 + 4]
mov r8d, ecx
movzx eax, r10b
rol r8d, 0xe
inc r10b
mov edx, dword [rsp + rax*4 + 0x28]
mov eax, ecx
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 [r9 + 0x20]
add r8d, dword [r9 - 4]
mov dword [r9 + 0x3c], r8d
cmp r10b, 0x40
jb 0x140016610
movups xmm0, xmmword [r11 + 0x50]
lea rax, [r11 + 0x50]
xor esi, esi
movups xmm1, xmmword [rax + 0x10]
mov qword [rsp + 8], rax
movups xmmword [rsp + 0x10], xmm0
mov r15d, dword [rsp + 0x18]
lea r13d, [rsi + 0x40]
mov r12d, dword [rsp + 0x14]
mov ebx, dword [rsp + 0x10]
mov r11d, dword [rsp + 0x1c]
movups xmmword [rsp + 0x20], xmm1
mov ebp, dword [rsp + 0x28]
mov r14d, dword [rsp + 0x24]
mov edi, dword [rsp + 0x20]
mov eax, dword [rsp + 0x2c]
nop dword [rax]
nop dword [rax + rax]
mov ecx, edi
lea rsi, [rsi + 4]
rol ecx, 7
mov r10d, edi
ror r10d, 0xb
mov edx, edi
xor r10d, ecx
not edx
and edx, ebp
mov ecx, edi
ror ecx, 6
mov r9d, r12d
xor r10d, ecx
mov r8d, r15d
mov ecx, r14d
and ecx, edi
xor edx, ecx
lea rcx, [0x140088e80]
add r10d, edx
mov edx, ebx
add r10d, dword [rsi + rcx - 4]
mov ecx, ebx
add r10d, dword [rsp + rsi + 0x2c]
rol ecx, 0xa
add r10d, eax
ror edx, 0xd
mov eax, ebp
xor edx, ecx
mov ebp, r14d
mov ecx, ebx
mov r14d, edi
ror ecx, 2
lea edi, [r11 + r10]
xor edx, ecx
mov r11d, r15d
mov r15d, r12d
and r9d, r11d
mov r12d, ebx
mov ecx, r15d
or ecx, r11d
and ebx, ecx
lea ecx, [r10 + rdx]
or ebx, r9d
add ebx, ecx
sub r13, 1
jne 0x1400166b0
lea r8, [rsp + 0x10]
mov dword [rsp + 0x2c], eax
sub r8, qword [rsp]
lea edx, [r13 + 8]
mov rax, qword [rsp + 8]
mov dword [rsp + 0x10], ebx
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x24], r14d
mov dword [rsp + 0x18], r15d
mov dword [rsp + 0x14], r12d
mov dword [rsp + 0x1c], r11d
mov ecx, dword [r8 + rax - 0x50]
add dword [rax], ecx
lea rax, [rax + 4]
sub rdx, 1
jne 0x140016771
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400407b0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14001bda0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, qword [rsp + 0x90]
mov rsi, r9
mov rax, qword [rdx + 0x18]
mov rdi, r8
mov rbx, rdx
test r9, r9
jne 0x14001bdd5
cmp rax, 8
jb 0x14001be45
lea rdx, [rax*2 + 2]
jmp 0x14001be18
cmp rax, 8
jb 0x14001bdde
mov rdx, qword [rdx]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001be9c
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14001be45
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001be40
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001bf8e
mov rcx, r8
call fcn.1400407d0
xor esi, esi
mov word [rbx], si
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14001be95
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14001be90
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001bf8e
mov rcx, r8
call fcn.1400407d0
xor al, al
jmp 0x14001bf74
xor bpl, bpl
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14001beac
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], r14
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001bede
cmp dword [rsp + 0x30], 3
mov eax, 1
movzx ebp, bpl
cmove ebp, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14001bf24
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14001bf1f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001bf8e
mov rcx, r8
call fcn.1400407d0
xor esi, esi
mov word [rbx], si
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14001bf70
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14001bf6b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001bf8e
mov rcx, r8
call fcn.1400407d0
movzx eax, bpl
mov word [rdi], si
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140053304
int3
Function at 0x14001bfa0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x860
mov rax, qword [0x1400990a0]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rbx
cmp qword [rdx + 0x18], 8
jb 0x14001bfde
mov rdx, qword [rdx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001c09c
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14001c045
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14001c040
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001c1e8
mov rcx, r8
call fcn.1400407d0
xor esi, esi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14001c095
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001c090
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001c1ee
mov rcx, r8
call fcn.1400407d0
xor al, al
jmp 0x14001c1b6
xor bpl, bpl
mov dword [rsp + 0x30], 0x800
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001c0b4
mov rdx, qword [rbx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001c11b
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x14001c11b
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14001c100
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140007cf0
mov bpl, 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14001c166
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14001c161
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001c1e8
mov rcx, r8
call fcn.1400407d0
xor esi, esi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14001c1b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001c1ad
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001c1ee
mov rcx, r8
call fcn.1400407d0
movzx eax, bpl
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1400407b0
mov rbx, qword [rsp + 0x880]
add rsp, 0x860
pop rdi
pop rsi
pop rbp
ret
call fcn.140053304
nop
call fcn.140053304
int3