joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003eb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rsi, qword [rdx + 8]
xor r12d, r12d
mov eax, dword [rdx]
mov r15, r8
add rax, rsi
mov qword [rsp + 0x68], 0x1000
mov rbp, rdx
mov r14, rcx
mov edi, r12d
cmp rsi, rax
jae 0x1400040d9
nop
mov rcx, qword [r14]
lea r8, [rsp + 0x50]
mov r9d, 0x30
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x1400040c4
cmp dword [rsp + 0x70], 0x1000
jne 0x1400040c4
cmp dword [rsp + 0x74], 1
je 0x1400040c4
mov rcx, rdi
call fcn.140005164
mov rcx, qword [rsp + 0x68]
call fcn.140005198
mov r8, qword [rsp + 0x68]
mov rdi, rax
mov rdx, qword [rsp + 0x50]
lea rax, [rsp + 0x80]
mov rcx, qword [r14]
mov r9d, 0x40
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x80], r12d
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1400040c4
mov r9, qword [rsp + 0x68]
mov r8, rdi
mov rdx, qword [rsp + 0x50]
mov rcx, qword [r14]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400040c4
mov rbx, qword [rsp + 0x68]
lea r8, [rsp + 0x40]
xorps xmm0, xmm0
lea rdx, [rsp + 0x88]
movups xmmword [rsp + 0x88], xmm0
xor eax, eax
movups xmm0, xmmword [r15]
mov qword [rsp + 0x98], rax
movaps xmmword [rsp + 0x40], xmm0
call fcn.1400041b0
mov r10, qword [rsp + 0x88]
test rbx, rbx
je 0x14000408b
mov r11, qword [rsp + 0x90]
mov eax, r12d
mov r9d, r12d
sub r11, r10
je 0x140004021
mov rcx, r12
movzx r8d, byte [rcx + r10]
cmp r8b, 0x3f
je 0x140004018
lea ecx, [rax + r9]
cmp r8b, byte [rcx + rdi]
jne 0x140004078
inc eax
mov ecx, eax
cmp rcx, r11
jb 0x140004003
mov ebx, r9d
test r10, r10
je 0x140004061
mov rdx, qword [rsp + 0x98]
mov rax, r10
sub rdx, r10
cmp rdx, 0x1000
jb 0x140004059
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004105
mov rcx, r10
call fcn.140005164
test rbx, rbx
je 0x1400040c4
mov rcx, rdi
call fcn.140005164
mov rax, qword [rsp + 0x50]
add rax, rbx
jmp 0x1400040e3
inc r9d
mov eax, r9d
cmp rax, rbx
jae 0x14000408b
mov eax, r12d
jmp 0x140004000
test r10, r10
je 0x1400040c4
mov rdx, qword [rsp + 0x98]
mov rax, r10
sub rdx, r10
cmp rdx, 0x1000
jb 0x1400040bc
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004105
mov rcx, r10
call fcn.140005164
mov eax, dword [rbp]
add rax, qword [rbp + 8]
add rsi, qword [rsp + 0x68]
cmp rsi, rax
jb 0x140003f00
mov rcx, rdi
call fcn.140005164
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140005100
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140005a88
Capabilities:
Parse pe header

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

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x14000b008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x14000b008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x14000b008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000b008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x14000259c
Capabilities:
Parse pe header

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

Function at 0x14000b044
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000ae40
Function at 0x140010044
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 0x140010074
xor eax, eax
jmp 0x140010137
mov rbp, rbx
cmp word [rax], si
je 0x140010099
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140010080
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001007c
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.14000ff64
movsxd r14, eax
test eax, eax
jne 0x1400100d7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001006d
mov rcx, r14
call fcn.14000c740
mov rdi, rax
test rax, rax
jne 0x1400100f0
xor ecx, ecx
call fcn.14000bac8
jmp 0x1400100cc
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.14000ff64
test eax, eax
jne 0x140010121
mov rcx, rdi
call fcn.14000bac8
jmp 0x14001012b
xor ecx, ecx
call fcn.14000bac8
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 0x14001431c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140014332
mov al, 1
jmp 0x140014392
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140014343
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140014390
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400108ac
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140014390
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140014390
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140014390
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140014392
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400153d0
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.14000f034
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001545a
cmp byte [rbp - 0x21], r15b
je 0x140015455
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140015490
call fcn.14000bd18
test eax, eax
jne 0x14001547c
cmp byte [rbp - 0x21], r15b
je 0x140015474
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140015490
cmp byte [rbp - 0x21], r15b
je 0x14001548d
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.14000e614
test eax, eax
jne 0x140015530
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000f034
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400154cf
cmp byte [rbp - 0x21], r15b
je 0x140015504
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140015504
call fcn.14000bd18
test eax, eax
jne 0x1400154f0
cmp byte [rbp - 0x21], r15b
je 0x1400154e9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140015504
cmp byte [rbp - 0x21], r15b
je 0x140015501
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.14000e614
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140015530
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140015533
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140015541
mov rcx, rdi
call fcn.14000bac8
cmp byte [rbp + 0x3f], r15b
je 0x140015550
mov rcx, qword [rbp + 0x27]
call fcn.14000bac8
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 0x140017b40
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140017b68
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140017b68
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180002e00
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x468
mov rsi, rcx
lea rdx, str.exefile_shellopencommand_backupCString::new_failed
lea rcx, [rsp + 0x40]
mov r8d, 0x21
call fcn.180105dc0
xor eax, eax
cmp rax, qword [rsp + 0x40]
jno 0x180002fbc
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
call fcn.180006e80
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000000
mov rdx, rdi
xor r8d, r8d
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180002ec5
lea r14, [rsp + 0x60]
mov r8d, 0x400
mov rcx, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x34], 0x400
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
je 0x180002f0e
call fcn.1800e2770
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], edx
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x180002ef7
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.18000b700
mov rax, rsi
add rsp, 0x468
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r8d, dword [rsp + 0x34]
cmp r8, 0x401
jae 0x180002ff9
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x60]
call fcn.180106290
mov r14, qword [rsp + 0x50]
test r14, r14
js 0x180003010
mov r15, qword [rsp + 0x48]
je 0x180002f6c
movzx eax, byte [0x1801bc1b1]
mov r13d, 1
mov edx, 1
mov rcx, r14
call fcn.18000b6f0
test rax, rax
je 0x180003013
mov r12, rax
jmp 0x180002f72
mov r12d, 1
mov rcx, r12
mov rdx, r15
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsp + 0x40]
lea rax, [rdx*2]
test rax, rax
je 0x180002fa0
mov r8d, 1
mov rcx, r15
call fcn.18000b700
mov qword [rsi], r14
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r14
mov byte [rdi], 0
test rbx, rbx
jne 0x180002ee6
jmp 0x180002ef7
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rax, [0x180113c20]
mov qword [rsp + 0x20], rax
lea rcx, [0x180113c09]
lea r9, [0x180113740]
lea r8, [rsp + 0x60]
mov edx, 0x13
call fcn.1801127a0
lea rax, [0x180113c38]
mov edx, 0x400
mov rcx, r8
mov r8, rax
call fcn.1801128a0
xor r13d, r13d
mov rcx, r13
mov rdx, r14
call fcn.1801121a0
int3
Function at 0x180005930
Capabilities:
Enumerate threads
Hide thread from debugger

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
call qword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov edi, eax
mov ecx, 0xc
mov edx, eax
call qword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
inc rax
cmp rax, 1
ja 0x180005974
call fcn.1800e2770
mov rsi, rax
test edx, edx
jne 0x180005b23
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x2c], 0x1c
lea rdx, [rsp + 0x2c]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_Thread32First]
test eax, eax
je 0x180005ad6
lea r13, [rsp + 0x78]
lea rbx, [rsp + 0x48]
mov r12, qword [sym.imp.kernel32.dll_CloseHandle]
lea r14, [rsp + 0x2c]
mov rbp, qword [sym.imp.kernel32.dll_Thread32Next]
jmp 0x1800059e0
mov rcx, rsi
mov rdx, r14
call rbp
test eax, eax
je 0x180005aa0
cmp dword [rsp + 0x38], edi
jne 0x1800059d0
mov r8d, dword [rsp + 0x34]
mov ecx, 0x60
xor edx, edx
call qword [sym.imp.kernel32.dll_OpenThread]
lea rcx, [rax + 1]
cmp rcx, 1
ja 0x180005a0f
call fcn.1800e2770
test edx, edx
jne 0x180005b23
mov rcx, rax
mov edx, 0x11
xor r8d, r8d
xor r9d, r9d
mov r15, rax
call qword [sym.imp.ntdll.dll_NtSetInformationThread]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x78], rax
lea rax, [0x18010be10]
mov qword [rsp + 0x80], rax
lea rax, str.Thread_ID:__hidden_from_context_evaluation_n
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 2
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 1
mov rcx, rbx
call fcn.1800eb7b0
mov rcx, r15
call r12
test eax, eax
jne 0x1800059d0
call fcn.1800e2770
test edx, edx
je 0x1800059d0
jmp 0x180005b23
call fcn.1800e2770
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], edx
test edx, edx
je 0x1800059e0
test rax, rax
je 0x180005ac5
lea rcx, [rsp + 0x48]
call fcn.1800e2760
mov rcx, rsi
call qword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
je 0x180005b0f
xor edx, edx
jmp 0x180005b23
call fcn.1800e2770
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], edx
test edx, edx
je 0x1800059a3
test rax, rax
je 0x180005afb
lea rcx, [rsp + 0x48]
call fcn.1800e2760
mov rcx, rsi
call qword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
je 0x180005b1a
call fcn.1800e2770
jmp 0x180005b23
call fcn.1800e2770
test edx, edx
jne 0x180005b23
jmp 0x180005ad2
call fcn.1800e2770
test edx, edx
je 0x180005b08
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x180007fc0
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x880
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rsi, rcx
call fcn.180006e80
mov qword [rsp + 0x40], rax
add rdi, rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x70], 0
mov dword [rsp + 0x78], 1
lea rdi, [rsp + 0x80]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.180009ad0
mov rbx, qword [rsp + 0x88]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, eax
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x18000805b
add rdx, rdx
mov r8d, 2
mov rcx, rbx
call fcn.18000b700
test ebp, ebp
jne 0x1800080aa
mov r8d, 0x800
mov rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x3c], 0x400
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x180008101
call fcn.1800f4b50
mov edi, eax
movzx eax, byte [0x1801bc1b1]
mov ecx, 8
mov edx, 8
call fcn.18000b6f0
test rax, rax
je 0x18000813a
shl rdi, 0x20
or rdi, 2
mov qword [rax], rdi
mov qword [rsi + 8], rax
lea rax, [0x18012d738]
mov qword [rsi + 0x10], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
add rsp, 0x880
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov eax, dword [rsp + 0x3c]
mov ecx, eax
shr ecx, 1
cmp eax, 0x802
jae 0x180008149
lea rax, [rsp + rcx*2]
add rax, 0x80
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rax
mov word [rsp + 0x58], 0
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.18000a3d0
jmp 0x1800080f3
mov ecx, 8
mov edx, 8
call fcn.1801121c0
lea r8, [0x18012d700]
mov edx, 0x400
call fcn.1801128a0
int3
Function at 0x180008160
Capabilities:
Set registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
call fcn.180006e80
mov qword [rsp + 0x38], rax
add rdi, rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x68], 0
mov dword [rsp + 0x70], 1
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x58]
call fcn.180009ad0
mov rdi, qword [rsp + 0x48]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 0x20006
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x1800081ee
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.18000b700
test ebx, ebx
je 0x180008230
call fcn.1800f4b50
mov esi, eax
movzx eax, byte [0x1801bc1b1]
mov ecx, 8
mov edx, 8
call fcn.18000b6f0
test rax, rax
je 0x18000832f
shl rsi, 0x20
or rsi, 2
mov qword [rax], rsi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rax, qword [rsp + 0xe0]
add rax, rsi
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rax
mov word [rsp + 0x88], 0
mov dword [rsp + 0x90], 1
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x78]
call fcn.180009ad0
mov rax, qword [rsp + 0x50]
add rax, rax
mov rcx, rax
shr rcx, 0x20
jne 0x18000833e
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x18000830d
call fcn.1800f4b50
mov edi, eax
movzx eax, byte [0x1801bc1b1]
mov ecx, 8
mov edx, 8
call fcn.18000b6f0
test rax, rax
je 0x18000832f
shl rdi, 0x20
or rdi, 2
mov qword [rax], rdi
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x180008223
add rdx, rdx
mov r8d, 2
mov rcx, rsi
mov rsi, rax
call fcn.18000b700
mov rax, rsi
jmp 0x180008223
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x180008328
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.18000b700
xor eax, eax
jmp 0x180008223
mov ecx, 8
mov edx, 8
call fcn.1801121c0
lea rax, [0x18012d3f8]
mov qword [rsp + 0x20], rax
lea rcx, [0x18012d2f0]
lea r9, [0x18012d320]
lea r8, [rsp + 0x37]
mov edx, 0x2b
call fcn.1801127a0
int3
Function at 0x18000b1e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret