joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x2c], 0xffffffff
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov ecx, 0x10
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xc0000004
jne 0x1400010c8
cmp qword [rsp + 0x30], 0
je 0x140001096
mov eax, dword [rsp + 0x24]
shl rax, 1
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x38]
mov r9, rcx
mov r8, qword [rsp + 0x30]
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x30], rax
jmp 0x1400010c3
mov eax, dword [rsp + 0x24]
shl rax, 1
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x40]
mov r8, rcx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x30], rax
jmp 0x140001033
cmp dword [rsp + 0x28], 0
je 0x1400010db
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x2c], eax
jmp 0x140001155
mov dword [rsp + 0x20], 0
jmp 0x1400010ef
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jae 0x140001155
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax + 8]
cmp eax, dword [rsp + 0x68]
jne 0x140001153
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax + 0xe]
movzx ecx, word [rsp + 0x70]
cmp eax, ecx
jne 0x140001153
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rdx + rax + 0x10]
mov qword [rcx], rax
mov dword [rsp + 0x2c], 0
jmp 0x140001155
jmp 0x1400010e5
cmp qword [rsp + 0x30], 0
je 0x140001172
mov r8, qword [rsp + 0x30]
xor edx, edx
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov eax, dword [rsp + 0x2c]
add rsp, 0x58
ret
Function at 0x140001200
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x24], 0
mov qword [rsp + 0x30], 0
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xc0000004
jne 0x1400012b1
cmp qword [rsp + 0x30], 0
je 0x14000127e
mov eax, dword [rsp + 0x24]
shl eax, 1
mov eax, eax
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x38]
mov r9, rcx
mov r8, qword [rsp + 0x30]
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x30], rax
jmp 0x1400012ac
mov eax, dword [rsp + 0x24]
shl eax, 1
mov eax, eax
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x40]
mov r8, rcx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x30], rax
jmp 0x14000121a
cmp dword [rsp + 0x28], 0
jne 0x140001323
mov dword [rsp + 0x20], 0
jmp 0x1400012cc
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jae 0x140001321
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x30]
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.140001bc0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14000131f
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax + 0x18]
jmp 0x14000136d
jmp 0x1400012c2
jmp 0x140001355
cmp qword [rsp + 0x30], 0
je 0x140001355
mov edx, dword [rsp + 0x28]
lea rcx, str.____NtQuerySystemInformation_failed.__NTSTATUS_code:_0x_X__n
call fcn.140001c50
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x14000136d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
add rsp, 0x58
ret

Function at 0x140001380
Capabilities:
Load ntoskrnl

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov r8d, 1
xor edx, edx
lea rcx, [0x1400184a0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400013af
jmp 0x140001408
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400013d0
jmp 0x140001408
lea rcx, [0x1400184c0]
call fcn.140001200
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
jmp 0x140001416
lea rcx, str.____leak_gadget_address_failed_n
call fcn.140001c50
xor eax, eax
add rsp, 0x48
ret
Function at 0x140002620
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000266a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000266a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000266a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000266a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000266a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000266c
xor al, al
add rsp, 0x28
ret

Function at 0x14000815c
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 0x1400081cb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400081cb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400081cb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400081cb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400081cb
cmp dword [rcx + 0x84], 0xe
jbe 0x1400081cb
cmp dword [rcx + 0xf8], 0
je 0x1400081cb
mov ecx, ebx
call fcn.140008270
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.140008064
nop
cmp dword [rbp + 0x20], 0
jne 0x14000822c
call fcn.14000ef50
cmp eax, 1
jne 0x14000821c
xor dl, dl
jmp 0x140008226
call fcn.14000ef1c
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x140008237
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140008240
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000815c

Function at 0x140008344
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000815c
Function at 0x14000e90c
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 0x14000e93c
xor eax, eax
jmp 0x14000e9ff
mov rbp, rbx
cmp word [rax], si
je 0x14000e961
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000e948
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000e944
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.14000e82c
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x14000e9a2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000e935
call fcn.14000aeb0
mov rdi, rax
test rax, rax
jne 0x14000e9b8
xor ecx, ecx
call fcn.140009120
jmp 0x14000e997
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.14000e82c
test eax, eax
jne 0x14000e9e9
mov rcx, rdi
call fcn.140009120
jmp 0x14000e9f3
xor ecx, ecx
call fcn.140009120
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 0x14001358c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400135a2
mov al, 1
jmp 0x14001360e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400135b3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001360c
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000f22c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001360c
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001360c
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001360c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001360e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140014474
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.14000a040
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400144fe
cmp byte [rbp - 0x21], r15b
je 0x1400144f9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140014534
call fcn.14000a490
test eax, eax
jne 0x140014520
cmp byte [rbp - 0x21], r15b
je 0x140014518
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140014534
cmp byte [rbp - 0x21], r15b
je 0x140014531
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.140009ea0
test eax, eax
jne 0x1400145d4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000a040
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140014573
cmp byte [rbp - 0x21], r15b
je 0x1400145a8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400145a8
call fcn.14000a490
test eax, eax
jne 0x140014594
cmp byte [rbp - 0x21], r15b
je 0x14001458d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400145a8
cmp byte [rbp - 0x21], r15b
je 0x1400145a5
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.140009ea0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400145d4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400145d7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400145e5
mov rcx, rdi
call fcn.140009120
cmp byte [rbp + 0x3f], r15b
je 0x1400145f4
mov rcx, qword [rbp + 0x27]
call fcn.140009120
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 0x140016a10
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140016a38
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140016a38
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14006718c
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
mov rbx, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor esi, esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x30], esi
lea r8, [rbp + 0x30]
xor edx, edx
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
je 0x1400671d4
lea edi, [rsi + 0xd]
jmp 0x14006728f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0xea
jne 0x14006728f
mov word [rbp + 0x20], si
mov edx, dword [rbp + 0x30]
mov r8, qword [rbp - 0x18]
mov rcx, r8
mov rdi, qword [rbp - 0x20]
sub rcx, rdi
sar rcx, 1
cmp rdx, rcx
jae 0x140067214
lea rax, [rdi + rdx*2]
mov qword [rbp - 0x18], rax
jmp 0x140067255
jbe 0x140067255
mov rax, qword [rbp - 0x10]
sub rax, rdi
sar rax, 1
cmp rdx, rax
jbe 0x140067238
lea r8, [rbp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.140043124
mov rdi, qword [rbp - 0x20]
jmp 0x140067255
sub rdx, rcx
je 0x140067251
movzx eax, si
mov rdi, r8
mov rcx, rdx
rep stosw word [rdi], ax
lea r8, [r8 + rdx*2]
mov rdi, qword [rbp - 0x20]
mov qword [rbp - 0x18], r8
lea r8, [rbp + 0x30]
mov rdx, rdi
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
jne 0x140067281
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
jmp 0x14006728f
mov rdx, qword [rbp - 0x20]
mov rcx, rbx
call fcn.140004374
mov edi, esi
lea rcx, [rbp - 0x20]
call fcn.140020b54
mov eax, edi
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140067cf0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400b4480], eax
call fcn.140068190
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400b4480], 0
jne case.default.0x140067d46
mov ecx, 1
call fcn.140068190
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
sub ch, bh
mov ebx, 0xb9c2ed89
div dword [rdi - 0x74b0ccc8]
rcr byte [rdx + 0x536bf316], 0xce
sbb dword [rsi + 0x50f77aa], esi
mov al, 0x8c
sub eax, 0x6aea9f13
mov word [0xccedb47c], fs
add bl, bh
invalid
Function at 0x140004510
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
mov r11, rcx
test r8d, r8d
jle 0x1400045fc
mov r9, qword [rdx + 0x18]
movsxd r10, r8d
xor r8d, r8d
nop
mov rdx, rbx
cmp r9, 0xf
jbe 0x14000453c
mov rdx, qword [rbx]
movzx ecx, byte [rdx]
mov eax, 0xffffffff
test cl, cl
je 0x1400045e8
nop dword [rax]
movzx ecx, cl
lea rdx, [rdx + 1]
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x140004550
not eax
cmp eax, dword [r11 + r8*4]
je 0x14000464d
inc r8
cmp r8, r10
jl 0x140004530
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140004632
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000462d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004684
mov rcx, r8
call fcn.140214360
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], SHCreateThread
mov qword [rbx + 0x10], 0
add rsp, 0x20
pop rbx
ret
cmp r9, 0xf
jbe 0x140004680
mov rcx, qword [rbx]
lea rdx, [r9 + 1]
cmp rdx, 0x1000
jb 0x14000467b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004684
mov rcx, r8
call fcn.140214360
mov al, 1
jmp 0x140004634
call fcn.1402214b0
int3
Function at 0x140007190
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rcx
xor ebp, ebp
lea edx, [rbp + 0xd]
lea rcx, [rsp + 0x68]
call fcn.140011170
mov rbx, rax
mov rsi, qword [rax + 0x10]
mov rcx, rax
call fcn.140042c70
test al, al
je 0x1400071e2
mov ecx, ebp
jmp 0x1400071f4
mov rax, qword [rbx + 8]
lea rcx, [0x14024eca0]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14008e330
nop
mov ebx, 0xffffffff
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140007233
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140007233
mov rcx, qword [rsp + 0x68]
call fcn.14021b810
nop
lea rcx, [rsp + 0x50]
call fcn.140094f50
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140003c20
nop
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14000726b
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x14000726b
mov rcx, qword [rsp + 0x50]
call fcn.14021b810
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x38], 4
cmp qword [rdi + 0x18], 7
jbe 0x140007289
mov rdi, qword [rdi]
lea rdx, [rsp + 0x80]
cmp qword [rsp + 0x98], 7
cmova rdx, qword [rsp + 0x80]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
mov r8, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ebx, dword [rsp + 0x30]
test eax, eax
cmovne ebx, ebp
mov rdx, qword [rsp + 0x98]
cmp rdx, 7
jbe 0x140007319
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007314
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007344
call fcn.140214360
mov eax, ebx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140214340
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1402214b0
int3
Function at 0x140009790
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor esi, esi
mov rbx, rcx
mov qword [rsp + 0x30], rsi
call fcn.140008ed0
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
mov edi, eax
call fcn.1402406a0
cmp edi, 0xffffffff
je 0x140009889
lea rdx, [rsp + 0x30]
mov ecx, edi
call fcn.1400081c0
test eax, eax
je 0x140009889
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140009889
lea rax, [rsp + 0x40]
xor r9d, r9d
lea edx, [rsi + 0x1c]
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rax, [rsp + 0x40]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], si
jne 0x140009826
mov rax, qword [rbx + 0x18]
cmp rdx, rax
ja 0x14000986e
mov rdi, rbx
cmp rax, 7
jbe 0x140009844
mov rdi, qword [rbx]
mov qword [rbx + 0x10], rdx
mov rcx, rdi
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x40]
call fcn.140240000
mov word [rbx + rdi], si
mov rcx, qword [rsp + 0x30]
call fcn.140024ff0
mov al, 1
jmp 0x14000988b
lea r9, [rsp + 0x40]
mov rcx, rbx
call fcn.140003dc0
mov rcx, qword [rsp + 0x30]
call fcn.140024ff0
mov al, 1
jmp 0x14000988b
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140214340
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400098b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
lea r11, [0x14033fa90]
mov r9, rdx
not ecx
cmp r8, 4
jb 0x140009929
mov r10, r8
shr r10, 2
imul rax, r10, 0xfffffffffffffffc
add r8, rax
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
add r9, 4
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1400098d0
test r8, r8
je 0x14000994d
nop
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r8, 1
jne 0x140009930
not ecx
mov eax, ecx
ret
Function at 0x140016360
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xc98]
sub rsp, 0xd90
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rbp + 0xc40], rax
mov r10, rdx
mov r11, rcx
mov rcx, qword [rbp + 0xcc0]
lea rdx, [rsp + 0x20]
call fcn.1400160a0
aesimc xmm0, xmmword [rsp + 0x30]
aesimc xmm1, xmmword [rsp + 0x40]
movdqa xmm2, xmmword [rbp - 0x60]
mov eax, r9d
movdqa xmm7, xmmword [rbp - 0x10]
movdqa xmm5, xmmword [rbp - 0x30]
movdqa xmm6, xmmword [rbp - 0x20]
movdqa xmm3, xmmword [rbp - 0x50]
movdqa xmm4, xmmword [rbp - 0x40]
movdqa xmm8, xmmword [rbp]
movdqa xmm9, xmmword [rsp + 0x20]
movdqa xmmword [rbp - 0x10], xmm0
aesimc xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x30], xmm0
aesimc xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x20], xmm1
aesimc xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x50], xmm0
aesimc xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x40], xmm1
aesimc xmm1, xmmword [rbp - 0x80]
shr eax, 4
movdqa xmmword [rbp - 0x70], xmm0
test r9b, 0xf
movdqa xmmword [rbp - 0x60], xmm1
aesimc xmm1, xmm2
movdqu xmm2, xmmword [r8]
lea ecx, [rax + 1]
aesimc xmm0, xmm3
movdqa xmmword [rsp + 0x70], xmm0
cmove ecx, eax
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmmword [rbp], xmm9
movdqa xmmword [rsp + 0x20], xmm8
aesimc xmm0, xmm5
movdqa xmmword [rsp + 0x50], xmm0
aesimc xmm1, xmm4
movdqa xmmword [rsp + 0x60], xmm1
aesimc xmm0, xmm7
movdqa xmmword [rsp + 0x30], xmm0
aesimc xmm1, xmm6
movdqa xmmword [rsp + 0x40], xmm1
test ecx, ecx
je 0x1400164eb
sub r11, r10
mov edx, ecx
nop word [rax + rax]
movdqu xmm1, xmmword [r10 + r11]
lea rax, [rsp + 0x30]
mov ecx, SHCreateThread
movdqa xmm0, xmm8
xorps xmm0, xmm1
nop dword [rax + rax]
aesdec xmm0, xmmword [rax]
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x1400164c0
aesdeclast xmm0, xmm9
xorps xmm0, xmm2
movdqa xmm2, xmm1
movdqu xmmword [r10], xmm0
add r10, 0x10
sub rdx, 1
jne 0x1400164a0
mov rcx, qword [rbp + 0xc40]
xor rcx, rsp
call fcn.140214340
lea r11, [rsp + 0xd90]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbp
ret