joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001140
Capabilities:
Check os version
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword gs:[0x60]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140001170
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x118], 0xa
je 0x14000117d
mov dword [rsp + 0x34], 0
jmp 0x1400012ff
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
add rax, 0xfffffffffffffff0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x18], rax
cmp qword [rsp + 0x18], 0
jne 0x1400011bd
mov dword [rsp + 0x34], 0
jmp 0x1400012ff
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400011e7
mov dword [rsp + 0x34], 0
jmp 0x1400012ff
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x10]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x14000121b
mov dword [rsp + 0x34], 0
jmp 0x1400012ff
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 8]
mov ecx, dword [rcx + 0x88]
add rax, rcx
mov qword [rsp], rax
cmp qword [rsp], 0
jne 0x14000124a
mov dword [rsp + 0x34], 0
jmp 0x1400012ff
mov rax, qword [rsp + 0x18]
mov qword [0x14028c850], rax
mov rax, qword [rsp]
mov eax, dword [rax + 0x18]
mov dword [0x14028c848], eax
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp]
mov ecx, dword [rcx + 0x20]
add rax, rcx
mov qword [0x14028c838], rax
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp]
mov ecx, dword [rcx + 0x1c]
add rax, rcx
mov qword [0x14028c830], rax
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov qword [0x14028c840], rax
cmp qword [0x14028c850], 0
je 0x1400012ea
cmp dword [0x14028c848], 0
je 0x1400012ea
cmp qword [0x14028c838], 0
je 0x1400012ea
cmp qword [0x14028c830], 0
je 0x1400012ea
cmp qword [0x14028c840], 0
jne 0x1400012f7
mov dword [rsp + 0x34], 0
jmp 0x1400012ff
mov dword [rsp + 0x34], 1
mov eax, dword [rsp + 0x34]
add rsp, 0x38
ret
Function at 0x140002b40
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
add rdx, 0x1b
mov qword [rsp + 0x18], rdx
xor eax, eax
cmp dword [0x14028c86c], 1
mov dword [rsp + 0x24], eax
je 0x140002bc2
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov dword [rsp + 4], eax
movsxd r8, eax
mov r8b, byte [rdx + r8]
mov r9d, 0x1b
xor edx, edx
div r9d
mov eax, dword [rsp + 4]
mov r9d, edx
mov rdx, qword [rsp + 8]
movsxd r9, r9d
xor r8b, byte [rdx + r9]
movsxd rdx, eax
mov byte [rcx + rdx], r8b
add eax, 1
cmp eax, 9
mov dword [rsp + 0x24], eax
jne 0x140002b6a
mov dword [0x14028c86c], 1
add rsp, 0x28
ret

Function at 0x140002bd0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
add rdx, 0x1a
mov qword [rsp + 0x18], rdx
xor eax, eax
cmp dword [0x14028c894], 1
mov dword [rsp + 0x24], eax
je 0x140002c52
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov dword [rsp + 4], eax
movsxd r8, eax
mov r8b, byte [rdx + r8]
mov r9d, 0x1a
xor edx, edx
div r9d
mov eax, dword [rsp + 4]
mov r9d, edx
mov rdx, qword [rsp + 8]
movsxd r9, r9d
xor r8b, byte [rdx + r9]
movsxd rdx, eax
mov byte [rcx + rdx], r8b
add eax, 1
cmp eax, 0x21
mov dword [rsp + 0x24], eax
jne 0x140002bfa
mov dword [0x14028c894], 1
add rsp, 0x28
ret

Function at 0x140002c60
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x20
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
add rdx, 0x10
mov qword [rsp + 0x10], rdx
xor eax, eax
cmp dword [0x14028c8b0], 1
mov dword [rsp + 0x1c], eax
je 0x140002cd1
mov eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp]
mov r8, qword [rsp + 0x10]
movsxd r9, eax
mov r8b, byte [r8 + r9]
mov r9d, eax
and r9d, 0xf
movsxd r9, r9d
xor r8b, byte [rdx + r9]
movsxd rdx, eax
mov byte [rcx + rdx], r8b
add eax, 1
cmp eax, 0x15
mov dword [rsp + 0x1c], eax
jne 0x140002c89
mov dword [0x14028c8b0], 1
add rsp, 0x20
ret

Function at 0x140002ce0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
add rdx, 0x1f
mov qword [rsp + 0x18], rdx
xor eax, eax
cmp dword [0x14028c8c4], 1
mov dword [rsp + 0x24], eax
je 0x140002d62
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov dword [rsp + 4], eax
movsxd r8, eax
mov r8b, byte [rdx + r8]
mov r9d, 0x1f
xor edx, edx
div r9d
mov eax, dword [rsp + 4]
mov r9d, edx
mov rdx, qword [rsp + 8]
movsxd r9, r9d
xor r8b, byte [rdx + r9]
movsxd rdx, eax
mov byte [rcx + rdx], r8b
add eax, 1
cmp eax, 0x10
mov dword [rsp + 0x24], eax
jne 0x140002d0a
mov dword [0x14028c8c4], 1
add rsp, 0x28
ret
Function at 0x140002d70
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
add rdx, 0x1d
mov qword [rsp + 0x18], rdx
xor eax, eax
cmp dword [0x14028c8d8], 1
mov dword [rsp + 0x24], eax
je 0x140002df2
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov dword [rsp + 4], eax
movsxd r8, eax
mov r8b, byte [rdx + r8]
mov r9d, 0x1d
xor edx, edx
div r9d
mov eax, dword [rsp + 4]
mov r9d, edx
mov rdx, qword [rsp + 8]
movsxd r9, r9d
xor r8b, byte [rdx + r9]
movsxd rdx, eax
mov byte [rcx + rdx], r8b
add eax, 1
cmp eax, 0xe
mov dword [rsp + 0x24], eax
jne 0x140002d9a
mov dword [0x14028c8d8], 1
add rsp, 0x28
ret

Function at 0x140002e00
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
add rdx, 0x17
mov qword [rsp + 0x18], rdx
xor eax, eax
cmp dword [0x14028c8ec], 1
mov dword [rsp + 0x24], eax
je 0x140002e82
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov dword [rsp + 4], eax
movsxd r8, eax
mov r8b, byte [rdx + r8]
mov r9d, 0x17
xor edx, edx
div r9d
mov eax, dword [rsp + 4]
mov r9d, edx
mov rdx, qword [rsp + 8]
movsxd r9, r9d
xor r8b, byte [rdx + r9]
movsxd rdx, eax
mov byte [rcx + rdx], r8b
add eax, 1
cmp eax, 0xf
mov dword [rsp + 0x24], eax
jne 0x140002e2a
mov dword [0x14028c8ec], 1
add rsp, 0x28
ret

Function at 0x140002e90
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
add rdx, 0x14
mov qword [rsp + 0x18], rdx
xor eax, eax
cmp dword [0x14028c900], 1
mov dword [rsp + 0x24], eax
je 0x140002f12
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov dword [rsp + 4], eax
movsxd r8, eax
mov r8b, byte [rdx + r8]
mov r9d, 0x14
xor edx, edx
div r9d
mov eax, dword [rsp + 4]
mov r9d, edx
mov rdx, qword [rsp + 8]
movsxd r9, r9d
xor r8b, byte [rdx + r9]
movsxd rdx, eax
mov byte [rcx + rdx], r8b
add eax, 1
cmp eax, 0xd
mov dword [rsp + 0x24], eax
jne 0x140002eba
mov dword [0x14028c900], 1
add rsp, 0x28
ret
Function at 0x140209b94
Capabilities:
Parse pe header

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

Function at 0x14020e348
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14020e144
Function at 0x1402119e4
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 0x140211a14
xor eax, eax
jmp 0x140211ad7
mov rbp, rbx
cmp word [rax], si
je 0x140211a39
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140211a20
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140211a1c
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.140211904
movsxd r14, eax
test eax, eax
jne 0x140211a77
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140211a0d
mov rcx, r14
call fcn.14020ec2c
mov rdi, rax
test rax, rax
jne 0x140211a90
xor ecx, ecx
call fcn.14020f16c
jmp 0x140211a6c
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.140211904
test eax, eax
jne 0x140211ac1
mov rcx, rdi
call fcn.14020f16c
jmp 0x140211acb
xor ecx, ecx
call fcn.14020f16c
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 0x140216b50
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140216b78
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140216b78
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0xbc4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00bc41df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0xbc4089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xbc406f
add dl, dl
jne 0xbc4096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xbc40f6
xor eax, eax
add dl, dl
jne 0xbc40a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xbc41ad
add dl, dl
jne 0xbc40b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc40c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc40d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc40dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0xbc40ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0xbc407e
mov eax, 1
add dl, dl
jne 0xbc4106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc4113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xbc40fb
sub eax, ebx
mov ebx, 1
jne 0xbc414c
mov ecx, 1
add dl, dl
jne 0xbc412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbc413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xbc4123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xbc407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbc4168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbc4175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xbc415d
cmp eax, 0x7d00
jae 0xbc419b
cmp eax, 0x500
jb 0xbc4196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xbc407e
cmp eax, 0x7f
ja 0xbc419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xbc407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0xbc41d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0xbc407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000a800
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [0x14032f740]
call qword [sym.imp.WS2_32.dll_gethostbyname]
movzx ecx, word [0x14032ae90]
mov edi, 2
mov qword [0x14032ae98], rax
mov rax, qword [rax + 0x18]
mov rdx, qword [rax]
mov ebx, dword [rdx]
mov word [0x14032aea0], di
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x14032aea2], ax
mov dword [0x14032aea4], ebx
cmp dword [rsi + 0x290], edi
je 0x14000a875
call fcn.140007720
add rax, 0x4e20
mov dword [rsi + 0x290], edi
mov qword [rsi + 0x360], rax
mov ecx, 0x80
call fcn.140052740
mov rcx, qword [rsi + 0x378]
mov rdi, rax
mov qword [rax], rcx
mov ecx, 0x140
call fcn.140052740
mov rcx, qword [rsi + 0x378]
mov qword [rsi + 0x380], rax
mov qword [rax], rcx
mov rbx, qword [rsi + 0x380]
call fcn.1400440a0
mov rdx, rbx
mov rcx, rax
call fcn.140049d50
mov rcx, qword [rsi + 0x380]
mov edx, 1
call fcn.140049f00
mov rdx, qword [rsi + 0x380]
lea r9, [0x14000ce40]
lea r8, [0x14032aea0]
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400442c0
sub rsp, 0x38
cmp dword [rdx + 0x10], 0xc
mov r10, r9
jne 0x140044307
movzx eax, word [r8]
cmp ax, 2
jne 0x1400442ec
mov r9d, setsockopt
mov qword [rsp + 0x20], r10
call fcn.140049120
add rsp, 0x38
ret
cmp ax, 0x17
jne 0x140044307
mov r9d, 0x1c
mov qword [rsp + 0x20], r10
call fcn.140049120
add rsp, 0x38
ret
mov eax, 0xfffff019
add rsp, 0x38
ret
Function at 0x140017f10
Capabilities:
Get hostname

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14009d090]
xor rax, rsp
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
mov dword [rsp + 0x20], socket
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
movups xmmword [rsp + 0x28], xmm0
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov ecx, dword [rsp + 0x20]
inc ecx
call fcn.140052c70
lea rdx, [rsp + 0x28]
mov r8, rax
sub r8, rdx
lea rcx, [rsp + 0x28]
nop
movzx edx, byte [rcx]
mov byte [r8 + rcx], dl
lea rcx, [rcx + 1]
test dl, dl
jne 0x140017f60
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140052720
add rsp, 0x48
ret
Function at 0x140017f90
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0x98
xor r14d, r14d
mov qword [rsp + 0x90], rbx
mov esi, r14d
mov qword [rsp + 0x30], r14
lea rcx, str..pipeComputeShareManagement
mov dword [rsp + 0x28], 0x40000000
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001814f
call fcn.14005ef50
mov r8d, eax
mov qword [rbp - 0x11], r14
mov eax, 0x214d0215
xor r9d, r9d
imul r8d
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x7b
lea edx, [r9 + 1]
sub r8d, ecx
xor ecx, ecx
inc r8d
mov dword [rbp + 0x77], r8d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 7], rax
lea r9, [rbp - 0x19]
lea rax, [rbp - 0x11]
mov r8d, 4
lea rdx, [rbp + 0x77]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 7]
mov edx, 0xbb8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor r9d, r9d
mov dword [rbp + 0x67], r14d
lea r8, [rbp + 0x67]
mov rcx, rdi
lea rdx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x14001812f
cmp dword [rbp + 0x67], 4
jne 0x14001812f
xor r9d, r9d
mov qword [rbp + 0xf], r14
xorps xmm0, xmm0
mov dword [rbp + 0x7f], r14d
xor r8d, r8d
xor ecx, ecx
movdqu xmmword [rbp + 0x17], xmm0
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x27], rax
lea r9, [rbp - 0x15]
lea rax, [rbp + 0xf]
mov r8d, 4
lea rdx, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [rbp + 0x27]
mov edx, 0xbb8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor r9d, r9d
mov dword [rbp + 0x6f], r14d
lea r8, [rbp + 0x6f]
mov rcx, rdi
lea rdx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x140018126
cmp dword [rbp + 0x6f], 4
jne 0x140018126
mov eax, dword [rbp + 0x77]
imul eax, eax
cmp dword [rbp + 0x7f], eax
jne 0x140018113
mov ebx, r14d
jmp 0x140018140
lea rcx, str.MESSAGECRC_error_reading_from_management_service_
call fcn.1400192b0
mov ebx, reloc.WS2_32.dll_socket
jmp 0x140018140
lea rcx, str.MESSAGETimed_out_reading_from_management_service
jmp 0x140018136
lea rcx, str.MESSAGETimed_out_writing_to_management_service_
call fcn.1400192b0
mov ebx, 0x102
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x14001818c
jmp 0x140018154
mov ebx, 0xe9
lea rcx, str.MESSAGEImmediately_exiting_due_to_failure_with_management_service
call fcn.1400192b0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jl 0x140017fb0
test ebx, ebx
je 0x14001818c
lea rcx, str.MESSAGEImmediately_exiting_due_to_failure_with_management_service
call fcn.1400192b0
mov dword [0x14032ae80], ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x98
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001f550
Capabilities:
Manipulate user privileges

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rbp, rdx
mov rsi, rcx
xor r14d, r14d
cmp qword [0x14032f758], r14
jne 0x14001f6de
test rdx, rdx
je 0x14001f6de
call fcn.14001f160
test eax, eax
jne 0x14001f6de
mov ebx, r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0xb8]
lea edx, [r14 + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14001f6de
mov dword [rsp + 0xb0], r14d
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 1]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov r9d, dword [rsp + 0xb0]
test r9d, r9d
je 0x14001f609
mov edx, r9d
lea ecx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
mov r9d, dword [rsp + 0xb0]
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r8, rbx
mov edx, 1
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x14001f6de
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
mov edi, r14d
lea r9, [rsp + 0x30]
mov r8d, 0xf0fff
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LsaOpenPolicy]
test eax, eax
jne 0x14001f6cc
lea rax, str.SeLockMemoryPrivilege
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 0x2c002a
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov r9d, 1
lea r8, [rsp + 0x40]
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_LsaAddAccountRights]
test eax, eax
jne 0x14001f6c1
lea rcx, str.MESSAGELOCK_PAGES_REBOOT_REQUIRED
call fcn.1400192b0
mov edi, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_LsaClose]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x14001f6de
call fcn.14001f160
mov ecx, 0x28
call fcn.140052740
mov rbx, rax
mov qword [rsp + 0xb0], rax
lea rax, vtable.computeshare::MemoryPool.0
mov qword [rbx], rax
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov qword [rbx + 0x20], r14
test rsi, rsi
je 0x14001f789
mov ecx, 0x28
call fcn.140052740
mov rdi, rax
mov qword [rsp + 0xb8], rax
shl rsi, 0x15
lea rcx, [rsi + 0xffffff]
and rcx, 0xffffffffffe00000
add rcx, 0x200000
mov qword [rax], rcx
mov dword [rax + 8], r14d
mov qword [rax + 0x10], rcx
xor eax, eax
mov dword [rdi + 0x18], eax
mov qword [rdi + 0x20], r14
test rbp, rbp
je 0x14001f765
mov rcx, rdi
call fcn.14001f220
test al, al
jne 0x14001f776
mov edx, 0x40
mov rcx, qword [rdi]
call fcn.1400614c0
mov qword [rdi + 0x20], rax
mov qword [rbx + 0x20], rdi
mov eax, dword [rdi + 0x20]
neg rax
and eax, 0xffffff
mov qword [rbx + 0x18], rax
mov qword [0x14032f758], rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140021fa0
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x68
movdqa xmm2, xmmword [0x14008f450]
mov r10, rcx
movdqa xmm3, xmmword [0x14008f410]
mov rax, rcx
movdqa xmm4, xmmword [0x14008f470]
mov r11, r8
movdqa xmm5, xmmword [0x14008f3c0]
lea r8, [rcx + 0x1c00]
movdqu xmm0, xmmword [r9]
lea rcx, [rdx - 0x1c00]
movdqu xmm1, xmmword [r9 + 0x10]
add rcx, rax
movaps xmmword [rsp + 0x50], xmm6
mov edx, 2
movdqu xmm6, xmmword [r9 + 0x20]
movaps xmmword [rsp + 0x40], xmm7
movdqu xmm7, xmmword [r9 + 0x30]
movaps xmmword [rsp + 0x30], xmm8
movdqa xmm8, xmmword [0x14008f430]
movaps xmmword [rsp + 0x20], xmm9
movdqa xmm9, xmmword [0x14008f300]
movaps xmmword [rsp + 0x10], xmm10
movdqa xmm10, xmmword [0x14008f340]
movaps xmmword [rsp], xmm11
movdqa xmm11, xmmword [0x14008f380]
nop
cmp rax, rcx
jae 0x1400220f3
nop dword [rax]
aesenc xmm2, xmmword [rax]
aesdec xmm3, xmmword [rax + 0x10]
aesenc xmm4, xmmword [rax + 0x20]
aesdec xmm5, xmmword [rax + 0x30]
aesenc xmm2, xmmword [rax + 0x40]
aesdec xmm3, xmmword [rax + 0x50]
aesenc xmm4, xmmword [rax + 0x60]
aesdec xmm5, xmmword [rax + 0x70]
aesdec xmm0, xmm8
movdqu xmmword [rax], xmm0
aesenc xmm1, xmm9
movdqu xmmword [rax + 0x10], xmm1
aesdec xmm6, xmm10
movdqu xmmword [rax + 0x20], xmm6
aesenc xmm7, xmm11
movdqu xmmword [rax + 0x30], xmm7
aesdec xmm0, xmm8
movdqu xmmword [rax + 0x40], xmm0
aesenc xmm1, xmm9
movdqu xmmword [rax + 0x50], xmm1
aesdec xmm6, xmm10
aesenc xmm7, xmm11
movdqu xmmword [rax + 0x60], xmm6
movdqu xmmword [rax + 0x70], xmm7
prefetcht0 byte [r8]
prefetcht0 byte [r8 + 0x40]
sub rax, 0xffffffffffffff80
lea r8, [r8 + 0x80]
cmp rax, rcx
jb 0x140022050
add rcx, 0x1c00
mov r8, r10
sub rdx, 1
jne 0x140022040
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm9, xmmword [rsp + 0x20]
movaps xmm10, xmmword [rsp + 0x10]
movaps xmm11, xmmword [rsp]
movdqu xmmword [r9], xmm0
movdqa xmm0, xmmword [0x14008f2d0]
movdqu xmmword [r9 + 0x10], xmm1
movdqa xmm1, xmmword [0x14008f480]
movdqu xmmword [r9 + 0x20], xmm6
movaps xmm6, xmmword [rsp + 0x50]
movdqu xmmword [r9 + 0x30], xmm7
movaps xmm7, xmmword [rsp + 0x40]
aesenc xmm2, xmm0
aesdec xmm3, xmm0
aesenc xmm4, xmm0
aesdec xmm5, xmm0
aesenc xmm2, xmm1
aesdec xmm3, xmm1
aesenc xmm4, xmm1
aesdec xmm5, xmm1
movdqu xmmword [r11], xmm2
movdqu xmmword [r11 + 0x10], xmm3
movdqu xmmword [r11 + 0x20], xmm4
movdqu xmmword [r11 + 0x30], xmm5
add rsp, 0x68
ret
Function at 0x14002ae80
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14009d090]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x14002af73
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x14002af5a
xorps xmm0, xmm0
mov byte [rsp + 0x20], dil
xor edx, edx
mov word [rsp + 0x21], 0x100
mov r8d, 0xf0
mov byte [rsp + 0x23], 1
movups xmmword [rsp + 0x32], xmm0
mov dword [rsp + 0x24], 0
movups xmmword [rsp + 0x42], xmm0
mov word [rsp + 0x30], 0
call fcn.140055050
movaps xmm0, xmmword [0x14008c630]
mov rax, qword [rsp + 0x20]
movups xmmword [rbx], xmm0
movaps xmm1, xmmword [0x14008c640]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x14008c650]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x14008c660]
movups xmmword [rbx + 0x30], xmm1
xor 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
xor qword [rbx + 8], 0
movzx eax, dil
mov dword [rbx + 0xe4], eax
xor eax, eax
jmp 0x14002af78
cmp byte [rcx + 0xe8], 0
je 0x14002af6b
mov qword [rcx + 0x58], 0xffffffffffffffff
mov qword [rcx + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140052720
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret