joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f5f0
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x28c], 0
mov rbx, rcx
je 0x14000f790
mov qword [rsp + 0x48], rsi
lea rdx, str.SeDebugPrivilege
mov qword [rsp + 0x50], r14
call fcn.14000f940
lea rdx, str.SeImpersonatePrivilege
mov rcx, rbx
call fcn.14000f940
lea rdx, str.SeTcbPrivilege
mov rcx, rbx
call fcn.14000f940
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx edx, byte [rbx + 0x299]
movzx ecx, byte [rbx + 0x298]
mov dword [rbx + 0x290], eax
call fcn.14001a690
test rax, rax
jne 0x14000f677
lea rdx, str.pSecureChannelMELSPCON_is_NULL
xor ecx, ecx
mov edi, 0x8007000e
call fcn.1400081f0
jmp 0x14000f69b
xor edx, edx
mov rcx, rax
call fcn.14001a810
mov edi, eax
test eax, eax
jns 0x14000f6b1
lfence
mov r8d, eax
lea rdx, str.PerformInitSession__EstablishSecureChannel___failed_hr:0x_x
xor ecx, ecx
call fcn.1400081f0
lfence
mov r8d, edi
lea rdx, str.PerformInitSession_Failed:_0x_x___continue_with_service_bootup
xor ecx, ecx
call fcn.1400081f0
xor edi, edi
lea rcx, [rsp + 0x20]
call fcn.140002ff0
mov rcx, qword [rsp + 0x20]
call fcn.140003da0
mov rsi, qword [rsp + 0x28]
test eax, eax
setne r14b
test rsi, rsi
je 0x14000f719
mov qword [rsp + 0x40], rbp
mov ebp, 0xffffffff
mov eax, ebp
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14000f714
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x1400290d6.0]
lock xadd dword [rsi + 0xc], ebp
cmp ebp, 1
jne 0x14000f714
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x1400290d6.0]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
test r14b, r14b
mov r14, qword [rsp + 0x50]
jne 0x14000f73b
lea rdx, str.Intel_IGFX_adaptor_is_not_present_stop_service_bootup
xor ecx, ecx
call fcn.1400081f0
mov edi, 0x80004005
mov r8d, edi
lea rdx, str.CoInitializeSecurity___Done:_0x_x
xor ecx, ecx
call fcn.1400081f0
xor edx, edx
xor ecx, ecx
call fcn.14001fc00
xor ecx, ecx
call fcn.140043a54
xor ecx, ecx
call fcn.140043a54
xor ecx, ecx
call fcn.140043a54
xor ecx, ecx
call fcn.140043a54
test edi, edi
jns 0x14000f790
lea rdx, str.InitializeSecurity_failed
xor ecx, ecx
call fcn.1400081f0
mov eax, edi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
cmp dword [rbx + 0x28c], 0
je 0x14000f7c6
lea rdx, str.PreMessageLoop:_Service_started_resumed
xor ecx, ecx
call fcn.1400081f0
mov eax, 4
lea rdx, [rbx + 0x270]
xchg dword [rbx + 0x274], eax
mov rcx, qword [rbx + 0x268]
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov rcx, rbx
call fcn.14000ff50
test eax, eax
jns 0x14000f7e8
lfence
mov r8d, eax
lea rdx, str.RegisterDisplayDeviceNotification_failed_hr:_0x_x
xor ecx, ecx
call fcn.1400081f0
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140010d30
Capabilities:
Create service

Disassembly:
push rdi
sub rsp, 0xa90
mov rax, qword [0x1400740e8]
xor rax, rsp
mov qword [rsp + 0xa80], rax
mov rdi, rcx
call fcn.140010fb0
test eax, eax
je 0x140010d61
mov eax, 1
jmp 0x140010e68
mov r8d, 0x104
lea rdx, [rsp + 0x72]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140010f5e
cmp eax, 0x104
je 0x140010f5e
lea ecx, [rax + 1]
mov r8d, 0x22
mov word [rsp + 0x70], r8w
mov word [rsp + rcx*2 + 0x70], r8w
lea ecx, [rax + 2]
add rcx, rcx
cmp rcx, 0x20c
jae 0x140010fa7
mov qword [rsp + 0xaa8], rbx
xor edx, edx
mov qword [rsp + 0xab0], rsi
mov r8d, 0xf003f
xor esi, esi
mov word [rsp + rcx + 0x70], si
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x140010e81
mov r8d, 0x400
lea rdx, [rsp + 0x280]
mov ecx, 0xd80a
call fcn.140010c10
test eax, eax
jne 0x140010e3f
lea r8, str.Could_not_open_Service_Manager
mov edx, 0x400
lea rcx, [rsp + 0x280]
call fcn.1400459f0
test eax, eax
je 0x140010e3f
cmp eax, 0xc
je 0x140010f7b
cmp eax, 0x16
je 0x140010f70
cmp eax, 0x22
je 0x140010f70
cmp eax, 0x50
jne 0x140010f65
lea r8, [rdi + 0x68]
xor r9d, r9d
lea rdx, [rsp + 0x280]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rbx, qword [rsp + 0xaa8]
mov rsi, qword [rsp + 0xab0]
mov rcx, qword [rsp + 0xa80]
xor rcx, rsp
call fcn.14001fca0
add rsp, 0xa90
pop rdi
ret
mov qword [rsp + 0x60], rsi
lea rax, str.RPCSS
mov qword [rsp + 0x58], rsi
add rdi, 0x68
mov qword [rsp + 0x50], rax
mov r9d, 0xf01ff
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rsi
mov r8, rdi
mov qword [rsp + 0x38], rax
mov rdx, rdi
mov dword [rsp + 0x30], 1
mov rcx, rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
test rax, rax
jne 0x140010f42
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r8d, 0x400
lea rdx, [rsp + 0x280]
mov ecx, 0xd80b
call fcn.140010c10
test eax, eax
jne 0x140010f37
lea r8, str.Could_not_start_service
mov edx, 0x400
lea rcx, [rsp + 0x280]
call fcn.1400459f0
test eax, eax
je 0x140010f37
cmp eax, 0xc
je 0x140010f9c
cmp eax, 0x16
je 0x140010f91
cmp eax, 0x22
je 0x140010f91
cmp eax, 0x50
jne 0x140010f86
xor r9d, r9d
mov r8, rdi
jmp 0x140010e46
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x140010e58
xor eax, eax
jmp 0x140010e68
mov ecx, 0x80004005
call fcn.14000d580
int3
mov ecx, 0x80070057
call fcn.14000d580
int3
mov ecx, 0x8007000e
call fcn.14000d580
int3
mov ecx, 0x80004005
call fcn.14000d580
int3
mov ecx, 0x80070057
call fcn.14000d580
int3
mov ecx, 0x8007000e
call fcn.14000d580
int3
call fcn.140020474
int3
Function at 0x140015f90
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x140016049
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x140016015
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je case.default.0x14001602d
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.default.0x14001602d
mov rdx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call qword [case.0x1400290d6.0]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp dword [rdi + 8], 0
je case.default.0x14001602d
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp byte [0x1400771f8], 0
jne 0x140016094
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140016084
lea rdx, [0x1400597c8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400771f0], rax
mov byte [0x1400771f8], 1
jmp 0x14001609b
mov rax, qword [0x1400771f0]
mov byte [0x1400771f8], 1
jmp 0x14001609b
mov rax, qword [0x1400771f0]
mov rcx, qword [rbx]
mov rdx, rsi
test rax, rax
je 0x14001601e
mov r8d, dword [rbx + 8]
xor r9d, r9d
call qword [case.0x1400290d6.0]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
xchg edx, eax
ret 0xc25f
Function at 0x1400174d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x1400740e8]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x60], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140017555
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140017555
call fcn.140015b80
mov ebx, eax
jmp 0x140017680
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140017576
call fcn.140015b80
jmp 0x14001766f
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140017599
call fcn.140015b80
jmp 0x14001766f
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x1400175bb
mov ebx, 0x8007000e
jmp 0x140017671
mov ecx, eax
test eax, eax
je 0x1400175f3
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400176b8
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x1400175f3
lfence
lea rcx, [rsp + 0x60]
call fcn.1400159d0
jmp 0x1400175fd
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x140017610
cmp qword [rsp + 0x60], 0
jne 0x14001761f
mov ebx, 0x8007000e
jmp 0x140017671
lfence
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x14001764c
call fcn.140015b80
jmp 0x14001766f
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140016fe0
mov ebx, eax
test rdi, rdi
je 0x140017680
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x140017697
lea rcx, [rsp + 0x60]
call fcn.1400160d0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14001fca0
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
lfence
mov ecx, 0x80070216
call fcn.14000d580
int3
Function at 0x14001a780
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
mov r8, qword [0x140077200]
xor ecx, ecx
test r8, r8
je 0x14001a7d9
lea rdx, str.instance_to_be_deleted:___p
mov qword [rsp + 0x20], rbx
call fcn.1400081f0
mov rbx, qword [0x140077200]
test rbx, rbx
je 0x14001a7c4
mov rcx, rbx
call fcn.140019040
mov edx, 0x88
mov rcx, rbx
call fcn.14001fc00
mov rbx, qword [rsp + 0x20]
mov qword [0x140077200], 0
add rsp, 0x28
ret
lea rdx, str.instance_is_NULL
add rsp, 0x28
jmp fcn.1400081f0

Function at 0x14002234c
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14002235f
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140022978
lea rdx, [0x1400713e0]
lea rcx, [rsp + 0x20]
call fcn.14003f250
int3

Function at 0x14002e250
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x140077b60]
xor edx, edx
jmp fcn.14002234c

Function at 0x14002ec20
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x140077b60]
jmp fcn.14002234c

Function at 0x14003a744
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14003a800]
mov r9, qword [r9 + 8]
jmp fcn.14002a6b8

Function at 0x14003a7d8
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14003a810]
mov r9, qword [r9 + 8]
jmp fcn.14002a6b8
Function at 0x14004b804
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14004b88b
mov rsi, rbx
cmp word [rax], bp
je 0x14004b84a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14004b834
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14004b830
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140047b2c
mov rdi, rax
test rax, rax
je 0x14004b878
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14003edc0
mov rbp, rdi
xor ecx, ecx
call fcn.140048274
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18000a160
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rbx, qword [rdx + 0x48]
mov rbp, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
test rbx, rbx
jne 0x18000a204
mov edx, 0x80
lea ecx, [rbx + 0x40]
call qword [rsi + 0x20]
mov rcx, rsi
mov qword [rdi + 0x48], rax
mov rbx, rax
call fcn.180009570
mov rcx, rsi
mov qword [rdi + 0x50], rax
call fcn.180009380
mov edx, 0x20
mov qword [rdi + 0x58], rax
lea ecx, [rdx + 0x20]
call qword [rsi + 0x20]
mov edx, 8
mov qword [rdi + 0x60], rax
lea ecx, [rdx + 0x38]
call qword [rsi + 0x20]
mov edx, 0x40
mov qword [rdi + 0x68], rax
mov ecx, edx
call qword [rsi + 0x20]
mov edx, 0x40
mov qword [rdi + 0x70], rax
mov ecx, edx
call qword [rsi + 0x20]
mov edx, 0x40
mov qword [rdi + 0x78], rax
mov ecx, edx
call qword [rsi + 0x20]
mov qword [rdi + 0x80], rax
xor eax, eax
mov dword [rbx], 0x6a09e667
mov qword [rbx + 0x38], rax
mov r9, rbp
mov qword [rbx + 0x30], rax
mov r8, rbx
mov qword [rbx + 0x28], rax
mov rdx, rdi
mov dword [rbx + 0x24], eax
mov rcx, rsi
mov rax, qword [rsp + 0x60]
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
lea rax, [rax*8]
mov dword [rbx + 0x10], 0x510e527f
mov qword [rsp + 0x20], rax
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov qword [rbx + 0x1c], 0x5be0cd19
call fcn.180009d50
mov r9, r14
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.180009e90
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x18000cf50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, qword [rdx + 0xa8]
mov r9, r8
mov rbp, qword [rdx + 0x90]
mov ebx, 0x10
mov r15, qword [rdx + 0xb0]
mov rcx, rdi
mov r12, qword [rdx + 0xb8]
sub r9, rdi
mov edx, ebx
mov r14, r8
nop dword [rax]
mov eax, dword [r9 + rcx]
mov dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x18000cfa0
mov r9, rbp
xor r8d, r8d
mov rdx, r15
mov rcx, rdi
call fcn.18000b890
mov r9, rbp
mov r8d, 1
mov rdx, r12
mov rcx, r15
call fcn.18000b890
mov esi, 2
mov r9, rbp
mov r8d, esi
mov rdx, r15
mov rcx, r12
call fcn.18000b890
mov r9, rbp
lea r8d, [rsi + 1]
mov rdx, r12
mov rcx, r15
call fcn.18000b890
mov r9, rbp
lea r8d, [rsi + 2]
mov rdx, r15
mov rcx, r12
call fcn.18000b890
mov r9, rbp
lea r8d, [rsi + 3]
mov rdx, r12
mov rcx, r15
call fcn.18000b890
mov r9, rbp
lea r8d, [rsi + 4]
mov rdx, r15
mov rcx, r12
call fcn.18000b890
mov r9, rbp
lea r8d, [rsi + 5]
mov rdx, r12
mov rcx, r15
call fcn.18000b890
mov r9, rbp
lea r8d, [rsi + 6]
mov rdx, r15
mov rcx, r12
call fcn.18000b890
mov r9, rbp
lea r8d, [rsi + 7]
mov rdx, rdi
mov rcx, r15
call fcn.18000b890
xor edx, edx
lea rax, [rdi + 0x3c]
lea rcx, [r14 + 0x3c]
cmp r14, rax
ja 0x18000d07d
cmp rcx, rdi
jae 0x18000d0c2
mov rcx, rdi
lea rax, [r14 + 0x10]
sub rcx, r14
mov edx, ebx
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [rcx + rax - 0x10]
lea rax, [rax + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm2, xmmword [rcx + rax - 0x20]
movdqu xmm0, xmmword [rax - 0x20]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x20], xmm2
sub rsi, 1
jne 0x18000d090
movsxd rcx, edx
cmp rcx, rbx
jge 0x18000d0ef
sub rdi, r14
lea rax, [r14 + rcx*4]
sub rbx, rcx
nop dword [rax]
nop dword [rax + rax]
mov ecx, dword [rax + rdi]
xor dword [rax], ecx
lea rax, [rax + 4]
sub rbx, 1
jne 0x18000d0e0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1800113e0
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
movdqa xmm2, xmmword [0x180061140]
lea r9, [rcx + rdx]
movdqa xmm3, xmmword [0x1800610f0]
movdqa xmm4, xmmword [0x180061160]
movdqa xmm5, xmmword [0x1800610b0]
cmp rcx, r9
jae 0x180011434
add rcx, 0x20
nop dword [rax]
aesenc xmm2, xmmword [rcx - 0x20]
aesdec xmm3, xmmword [rcx - 0x10]
aesenc xmm4, xmmword [rcx]
aesdec xmm5, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x40]
lea rax, [rcx - 0x20]
cmp rax, r9
jb 0x180011410
movdqa xmm0, xmmword [0x180061020]
movdqa xmm1, xmmword [0x180061170]
aesenc xmm2, xmm0
aesdec xmm3, xmm0
aesenc xmm2, xmm1
movdqa xmmword [r8], xmm2
aesenc xmm4, xmm0
aesdec xmm3, xmm1
movdqa xmmword [r8 + 0x10], xmm3
aesdec xmm5, xmm0
aesenc xmm4, xmm1
aesdec xmm5, xmm1
movdqa xmmword [r8 + 0x20], xmm4
movdqa xmmword [r8 + 0x30], xmm5
ret

Function at 0x180011b90
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x68
movdqa xmm4, xmmword [0x180069520]
lea rdx, [r8 + 0x1080]
movdqa xmm5, xmmword [0x180069530]
movdqa xmm0, xmmword [rcx]
movdqa xmm1, xmmword [rcx + 0x10]
movdqa xmm2, xmmword [rcx + 0x20]
movdqa xmm3, xmmword [rcx + 0x30]
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [0x180069540]
movaps xmmword [rsp + 0x40], xmm7
movdqa xmm7, xmmword [0x180069550]
movaps xmmword [rsp + 0x30], xmm8
movdqa xmm8, xmmword [0x180069560]
movaps xmmword [rsp + 0x20], xmm9
movdqa xmm9, xmmword [0x180069570]
movaps xmmword [rsp + 0x10], xmm10
movdqa xmm10, xmmword [0x180069580]
movaps xmmword [rsp], xmm11
movdqa xmm11, xmmword [0x180069590]
cmp r8, rdx
jae 0x180011c99
lea rcx, [r8 + 0x20]
aesdec xmm0, xmm4
aesenc xmm1, xmm4
aesdec xmm2, xmm8
aesenc xmm3, xmm8
aesdec xmm0, xmm5
aesenc xmm1, xmm5
aesdec xmm2, xmm9
aesenc xmm3, xmm9
aesdec xmm0, xmm6
aesenc xmm1, xmm6
aesdec xmm0, xmm7
movdqa xmmword [rcx - 0x20], xmm0
lea rcx, [rcx + 0x40]
aesdec xmm2, xmm10
aesenc xmm1, xmm7
movdqa xmmword [rcx - 0x50], xmm1
lea rax, [rcx - 0x20]
aesenc xmm3, xmm10
aesdec xmm2, xmm11
movdqa xmmword [rcx - 0x40], xmm2
aesenc xmm3, xmm11
movdqa xmmword [rcx - 0x30], xmm3
cmp rax, rdx
jb 0x180011c20
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm9, xmmword [rsp + 0x20]
movaps xmm10, xmmword [rsp + 0x10]
movaps xmm11, xmmword [rsp]
add rsp, 0x68
ret
Function at 0x180013090
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x180068008]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1800131af
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x180013196
xor eax, eax
mov byte [rsp + 0x20], dil
xor edx, edx
mov qword [rsp + 0x32], rax
mov r8d, 0xf0
mov qword [rsp + 0x3a], rax
mov qword [rsp + 0x42], rax
mov qword [rsp + 0x4a], rax
mov qword [rsp + 0x52], rax
mov dword [rsp + 0x5a], eax
mov word [rsp + 0x5e], ax
mov word [rsp + 0x21], pe_nt_image_headers64
mov byte [rsp + 0x23], 1
mov dword [rsp + 0x24], 0
mov word [rsp + 0x30], 0
call fcn.1800382d0
movaps xmm0, xmmword [0x18005d160]
movups xmmword [rbx], xmm0
movaps xmm1, xmmword [0x18005d170]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x18005d180]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x18005d190]
movups xmmword [rbx + 0x30], xmm1
mov rax, qword [rbx]
xor rax, qword [rsp + 0x20]
xor qword [rbx + 8], 0
mov qword [rbx], rax
mov rax, qword [rsp + 0x30]
xor qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x38]
xor qword [rbx + 0x18], rax
mov rax, qword [rsp + 0x40]
xor qword [rbx + 0x20], rax
mov rax, qword [rsp + 0x48]
xor qword [rbx + 0x28], rax
mov rax, qword [rsp + 0x50]
xor qword [rbx + 0x30], rax
mov rax, qword [rsp + 0x58]
xor qword [rbx + 0x38], rax
movzx eax, dil
mov dword [rbx + 0xe4], eax
xor eax, eax
jmp 0x1800131b2
cmp byte [rcx + 0xe8], 0
je 0x1800131a7
mov qword [rcx + 0x58], 0xffffffffffffffff
mov qword [rcx + 0x50], 0xffffffffffffffff
or eax, 0xffffffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180032200
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x180014d60
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rsi
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [0x180068008]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov r15, rcx
lea r9, [r8 + 1]
movabs rax, 0x5851f42d4c957f2d
movabs rcx, 0x810a978a59f5a1fc
imul r9, rax
xor r14d, r14d
mov rsi, rdx
mov rax, r9
mov qword [rbp - 0x58], r9
xor rax, rcx
movabs rcx, 0xa77099df38c2d846
mov qword [rbp - 0x50], rax
mov rax, r9
xor rax, rcx
movabs rcx, 0x8126b91cbf22495c
mov qword [rbp - 0x48], rax
mov rax, r9
xor rax, rcx
movabs rcx, 0x494d2597179f8a62
mov qword [rbp - 0x40], rax
mov rax, r9
xor rax, rcx
movabs rcx, 0x9237efb9ceaaec0c
mov qword [rbp - 0x38], rax
mov rax, r9
xor rax, rcx
movabs rcx, 0x2f2a56746ce62d78
mov qword [rbp - 0x30], rax
mov rax, r9
xor rax, rcx
mov qword [rbp - 0x28], rax
movabs rax, 0x84853bf7b62ce54e
xor r9, rax
cmp dword [0x180069478], r14d
mov qword [rbp - 0x20], r9
jbe 0x180014eed
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x28], r12
nop
mov edi, dword [0x180069460]
shl edi, 0xa
shr edi, 6
dec edi
and rdi, r8
shl rdi, 6
add rdi, qword [r15]
prefetchnta byte [rdi]
mov eax, r14d
lea rdx, [r15 + 0x28]
imul rbx, rax, 0x1878
lea r8, [r15 + 0x187a8]
add rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.18001a540
mov rax, qword [rdi]
inc r14d
xor qword [rbp - 0x58], rax
mov rax, qword [rdi + 8]
xor qword [rbp - 0x50], rax
mov rax, qword [rdi + 0x10]
xor qword [rbp - 0x48], rax
mov rax, qword [rdi + 0x18]
xor qword [rbp - 0x40], rax
mov rax, qword [rdi + 0x20]
xor qword [rbp - 0x38], rax
mov rax, qword [rdi + 0x28]
xor qword [rbp - 0x30], rax
mov rax, qword [rdi + 0x30]
xor qword [rbp - 0x28], rax
mov rax, qword [rdi + 0x38]
xor qword [rbp - 0x20], rax
cmp r14d, dword [0x180069478]
movsxd rax, dword [rbx + r15 + 0x183c]
mov r8, qword [rbp + rax*8 - 0x58]
jb 0x180014e40
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xb0]
movaps xmm0, xmmword [rbp - 0x58]
movaps xmm1, xmmword [rbp - 0x48]
movups xmmword [rsi], xmm0
movaps xmm0, xmmword [rbp - 0x38]
movups xmmword [rsi + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x28]
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm1
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.180032200
add rsp, 0x78
pop r15
pop r14
pop rsi
pop rbp
ret
Function at 0x18001c450
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x180068008]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18001c4f8
lea rdx, [0x180060ea0]
lea rcx, [rsp + 0x50]
call fcn.18001c180
nop
cmp qword [rax + 0x18], 0x10
jb 0x18001c4a9
mov rax, qword [rax]
lea rcx, [0x18004d580]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x40], 1
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x38]
call fcn.1800375e4
lea rax, [0x18004d640]
mov qword [rsp + 0x20], rax
lea rdx, [0x180067200]
lea rcx, [rsp + 0x20]
call fcn.1800381dc
nop
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.180032200
add rsp, 0x88
ret