joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001d390
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x14001d3c0
test ecx, ecx
jne 0x14001d410
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x14001d3cc
test ecx, ecx
jne 0x14001d410
mov rcx, rdi
call fcn.14001d270
movzx eax, al
test bpl, bpl
jne 0x14001d417
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x14001d403.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x14001d588]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x14001d403.2
xor eax, eax
test bpl, bpl
je 0x14001d3dc
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x14001d569
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x14001d44a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x14001d4c9
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x14001d490
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x14001d4ab
inc rax
dec rdi
cmp rax, 1
jne 0x14001d470
jmp 0x14001d4c9
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x14001d4ab
cmp ebx, 0x5c
je 0x14001d4ab
inc rax
dec rdi
cmp rax, 1
jne 0x14001d490
jmp 0x14001d4c9
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x14001d577
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x14001d4f3
mov al, 9
cmp rdx, 2
je 0x14001d4f7
cmp rdx, 1
jne 0x14001d507
cmp byte [r8], 0x2e
jne 0x14001d507
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x14001d507
mov al, 0xa
jmp 0x14001d507
cmp byte [r8], 0x2e
jne 0x14001d507
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x14001d403.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x14001d403.2
mov ecx, 2
jmp case.0x14001d403.2
lea r8, [0x141b7f400]
call fcn.14005f000
ud2
lea r8, [0x141b7f418]
call fcn.14005f000
ud2
Function at 0x1400216b0
Capabilities:
Create directory

Disassembly:
test cl, cl
je 0x1400216bf
mov rcx, rdx
mov rdx, r8
jmp fcn.140021780
mov rcx, rdx
mov rdx, r8
jmp fcn.1400216d0

Function at 0x1400216d0
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.14001aaa0
mov rax, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
test rax, rax
je 0x140021775
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov r8b, 1
call fcn.140020270
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
test rdi, rdi
je 0x140021775
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140021750
test rsi, rsi
je 0x14002174c
mov edx, 2
mov rcx, rdi
call fcn.140006040
xor esi, esi
jmp 0x140021775
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x140021772
mov edx, 2
mov rcx, rdi
call fcn.140006040
mov rsi, rbx
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x14002bcb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x88
movdqa xmmword [rsp + 0x70], xmm6
mov rsi, rcx
lea rcx, [rsp + 0x40]
call fcn.14001aaa0
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
test rcx, rcx
je 0x14002bd26
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x58]
call fcn.14002be60
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x14002bd34
movdqu xmm6, xmmword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002bd54
mov qword [rsi], rdi
movdqu xmmword [rsi + 8], xmm6
jmp 0x14002bd45
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x28]
call fcn.14001ac90
mov qword [rsi], 0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rdi
pop rsi
ret
mov qword [rsi], 0
movq rax, xmm6
test rax, rax
je 0x14002bd45
mov edx, 2
mov rcx, rdi
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rdi
pop rsi
jmp fcn.140006040
Function at 0x14002e460
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1098
call fcn.14005df70
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1000], xmm6
mov qword [rbp + 0xff8], 0xfffffffffffffffe
mov qword [rbp + 0xfd8], rdx
mov r14, rcx
lea rsi, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0xfe8], 0
xorps xmm6, xmm6
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
lea r15, [rbp + 0xfe8]
mov qword [rbp + 0xfc8], r15
lea r12, [0x140024e90]
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0xfb0]
mov rcx, r14
mov rdx, rsi
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
je 0x14002e64e
mov r13, qword [sym.imp.KERNEL32.dll_SleepEx]
lea rsi, [rbp + 0xfb0]
mov rdi, qword [sym.imp.KERNEL32.dll_WriteFileEx]
mov qword [rbp + 0xfe0], r14
mov ecx, 0xffffffff
mov edx, 1
call r13
cmp dword [rbp + 0xfe8], 0
je 0x14002e527
cmp dword [rbp + 0xfec], 0
jne 0x14002e663
mov ebx, dword [rbp + 0xff0]
test rbx, rbx
je 0x14002e663
cmp ebx, 0x1000
ja 0x14002e6a7
xor r14d, r14d
nop dword [rax + rax]
cmp r14, rbx
ja 0x14002e693
lea rdx, [r14 + rbp]
add rdx, 0xffffffffffffffb0
mov r8d, ebx
sub r8d, r14d
mov dword [rbp + 0xfe8], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r15
mov qword [rsp + 0x20], r12
mov rcx, qword [rbp + 0xfd8]
mov r9, rsi
call rdi
test eax, eax
je 0x14002e656
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call r13
cmp dword [rbp + 0xfe8], 0
je 0x14002e5d0
cmp dword [rbp + 0xfec], 0
jne 0x14002e65c
mov eax, dword [rbp + 0xff0]
add r14, rax
cmp r14, rbx
jne 0x14002e570
mov dword [rbp + 0xfe8], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r15
mov qword [rsp + 0x20], r12
mov r14, qword [rbp + 0xfe0]
mov rcx, r14
lea rdx, [rbp - 0x50]
mov r8d, 0x1000
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
jne 0x14002e527
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14002e663
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14, qword [rbp + 0xfe0]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call rsi
mov rcx, qword [rbp + 0xfd8]
call rsi
movaps xmm6, xmmword [rbp + 0x1000]
add rsp, 0x1098
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, [0x141b804e0]
mov rcx, r14
mov rdx, rbx
call fcn.14005f2f0
jmp 0x14002e6bb
lea r8, [0x141b804e0]
mov edx, 0x1000
mov rcx, rbx
call fcn.14005f080
ud2
Function at 0x14002e740
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x14002e783
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x14001e8e0]
mov qword [rbp - 0x28], rax
lea rax, [0x141b80630]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, [0x141b80668]
lea rcx, [rbp - 0x60]
call fcn.14005ef40
ud2
Function at 0x1400357c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0x20
mov rsi, rcx
jb 0x14003584c
mov rcx, qword [rcx + 0x20]
mov edx, 0x12
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rcx, qword [rsi + 0x18]
mov edx, 0xc
mov rbx, rax
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rcx, qword [rsi + 0x10]
mov edx, 7
add rbx, rax
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rcx, qword [rsi + 8]
mov edx, 1
add rbx, rax
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rdx, qword [rsi + 8]
lea rcx, [rbx + rax]
call fcn.140035754
mov rdx, qword [rsi + 0x10]
mov rcx, rax
call fcn.140035754
mov rdx, qword [rsi + 0x18]
mov rcx, rax
call fcn.140035754
mov rdx, qword [rsi + 0x20]
mov rcx, rax
call fcn.140035754
jmp 0x14003585d
mov rax, qword [rcx + 0x18]
movabs rcx, 0x27d4eb2f165667c5
add rax, rcx
mov r8, qword [rsi]
lea rdx, [rsi + 0x28]
xor r9d, r9d
lea rcx, [r8 + rax]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400355e0
Function at 0x14005e6e4
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1000036f8]
lea rdx, [0x100003700]
call qword [sym.imp.API_MS_WIN_Service_Core_L1_1_0.dll_SetServiceStatus]
test eax, eax
jne 0x1000012e6
mov dword [0x100003704], 1
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
cmp qword [0x1000036f8], 0
mov dword [0x10000370c], eax
je 0x1000012dd
call fcn.10000129c
xor ecx, ecx
call qword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_ExitProcess]
inc dword [0x100003714]
add rsp, 0x28
ret

Function at 0x1000014b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor r12d, r12d
xor eax, eax
lock cmpxchg qword [0x100003740], rdi
je 0x1000014fe
cmp rax, rdi
jne 0x1000014f1
mov edi, 1
mov r12d, edi
jmp 0x100001503
mov ecx, 0x3e8
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_Sleep]
jmp 0x1000014d5
mov edi, 1
mov eax, dword [0x100003738]
cmp eax, edi
jne 0x100001519
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x100001576
mov eax, dword [0x100003738]
test eax, eax
jne 0x100001570
mov dword [0x100003738], edi
lea r13, [0x1000011a0]
lea rsi, [0x100001188]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
cmp rsi, r13
jae 0x100001562
test eax, eax
jne 0x100001562
mov rcx, qword [rsi]
test rcx, rcx
je 0x100001557
call rcx
mov dword [rsp + 0x20], eax
add rsi, 8
mov qword [rsp + 0x28], rsi
jmp 0x100001540
test eax, eax
je 0x100001576
mov eax, 0xff
jmp 0x100001648
mov dword [0x100003164], edi
mov eax, dword [0x100003738]
cmp eax, edi
jne 0x10000159d
lea rdx, [0x100001180]
lea rcx, [0x100001170]
call sub.msvcrt.dll__initterm
mov dword [0x100003738], 2
test r12d, r12d
jne 0x1000015ab
xor eax, eax
xchg qword [0x100003740], rax
cmp qword [0x100003748], 0
je 0x1000015d4
lea rcx, [0x100003748]
call fcn.10000189c
test eax, eax
je 0x1000015d4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100003748]
mov r8, qword [0x100003148]
mov rdx, qword [0x100003150]
mov ecx, dword [0x100003140]
call fcn.100001440
mov dword [0x100003160], eax
cmp dword [0x100003144], 0
jne 0x100001604
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100003164], 0
jne 0x100001619
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100003160]
jmp 0x100001648
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call fcn.10016b000
add rsp, 0x28
jmp 0x1000014b0

Function at 0x100001908
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100001955
cmp rcx, 0xffffffffffffffff
je 0x100001955
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10000194d
cmp dword [rcx + 0x3c], edx
jl 0x10000194d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10000194d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100001955
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140001dec
Capabilities:
Parse pe header

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

Function at 0x140c3d160
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140c3d2e7
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140c3d191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c3d177
add dl, dl
jne 0x140c3d19e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c3d1fe
xor eax, eax
add dl, dl
jne 0x140c3d1ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c3d2b5
add dl, dl
jne 0x140c3d1be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c3d1cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c3d1d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c3d1e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c3d1f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c3d186
mov eax, 1
add dl, dl
jne 0x140c3d20e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c3d21b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c3d203
sub eax, ebx
mov ebx, 1
jne 0x140c3d254
mov ecx, 1
add dl, dl
jne 0x140c3d236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c3d243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c3d22b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c3d186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c3d270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c3d27d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c3d265
cmp eax, 0x7d00
jae 0x140c3d2a3
cmp eax, 0x500
jb 0x140c3d29e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c3d186
cmp eax, 0x7f
ja 0x140c3d2a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c3d186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c3d2da
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 0x140c3d186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x18000d330
Capabilities:
Encode data using xor

Disassembly:
test rcx, rcx
jne sym.JS0GROUP.dll_public:_unsigned_int___cdecl_CATDbBinary::ComputeHashKey_void____ptr64
xor eax, eax
ret
Function at 0x18002b280
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0x20
lea rax, sym.JS0GROUP.dll_const_DSYAdmSHA256::vftable
mov rbx, rcx
mov qword [rcx], rax
mov ecx, 0x28
call fcn.1801a1ce0
xor ecx, ecx
test rax, rax
je 0x18002b2e1
mov dword [rax + 8], 0x6a09e667
mov dword [rax + 0xc], 0xbb67ae85
mov dword [rax + 0x10], 0x3c6ef372
mov dword [rax + 0x14], 0xa54ff53a
mov dword [rax + 0x18], 0x510e527f
mov dword [rax + 0x1c], 0x9b05688c
mov dword [rax + 0x20], 0x1f83d9ab
mov dword [rax + 0x24], 0x5be0cd19
mov qword [rax], rcx
jmp 0x18002b2e4
mov rax, rcx
mov qword [rbx + 8], rax
xor eax, eax
mov dword [rbx + 0x10], ecx
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rax
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x50], rax
mov qword [rbx + 0x58], rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x18007f800
Capabilities:
Access peb ldr_data

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, 0x420
mov r15, rdx
lea r12, [0x1801b4c20]
mov r14, rcx
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [r12 + rdi*2], 0
jne 0x18007f835
mov rax, qword gs:[0x30]
lea rbp, [rdi + rdi]
mov rcx, qword [rax + 0x60]
mov rsi, qword [rcx + 0x18]
add rsi, 0x10
mov rbx, qword [rsi]
nop dword [rax]
movzx eax, word [rbx + 0x58]
cmp rax, rbp
jne 0x18007f87d
mov rcx, qword [rbx + 0x60]
mov r8, rdi
mov rdx, r12
call qword [0x1801a6320]
test eax, eax
je 0x18007f8da
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x18007f860
lea rcx, [0x1801b4c4c]
call qword [0x1801a5fc0]
mov rbx, rax
test rax, rax
je 0x18007f9e2
nop
mov edx, 0x3b
mov rcx, rbx
call fcn.1801a342c
lea rcx, [rsp + 0x20]
mov rsi, rax
test rax, rax
je 0x18007f97e
mov rdi, rax
mov rdx, rbx
sub rdi, rbx
mov r8, rdi
call qword [0x1801a62c0]
mov byte [rsp + rdi + 0x20], 0
jmp 0x18007f98f
movzx eax, word [rbx + 0x48]
lea r9, [rsp + 0x20]
mov rdx, qword [rbx + 0x50]
lea rcx, [rsp + 0x20]
shr eax, 1
xor r10d, r10d
sub eax, edi
movsxd rbx, eax
lea rax, [rsp + 0x20]
dec rbx
add r9, rbx
mov r8, rbx
cmp rax, r9
cmova r8, r10
test r8, r8
je 0x18007f92c
movzx eax, byte [rdx]
lea r10, [rsp + 0x20]
mov byte [rcx], al
lea rdx, [rdx + 2]
inc rcx
mov rax, rcx
sub rax, r10
cmp rax, r8
jb 0x18007f910
lea rdx, [rsp + 0x20]
mov byte [r9], 0
mov rcx, r15
call fcn.180080a50
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1801a3408
mov byte [rbx + r14], 0x5c
movsd xmm0, qword [0x1801b4c40]
movsd qword [rbx + r14 + 1], xmm0
movzx eax, word [0x1801b4c48]
mov word [rbx + r14 + 9], ax
movzx eax, byte [0x1801b4c4a]
mov byte [rbx + r14 + 0xb], al
xor eax, eax
jmp 0x18007f9e7
sub rcx, rbx
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x18007f981
lea rcx, [rsp + 0x20]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18007f9a0
movsd xmm0, qword [str.JS0PCC.dll]
xor edx, edx
mov eax, dword [0x1801b4c60]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
lea rcx, [rsp + 0x20]
call qword [0x1801a6010]
test eax, eax
je 0x18007fa09
test rsi, rsi
je 0x18007f9e2
lea rbx, [rsi + 1]
test rbx, rbx
jne 0x18007f8a0
mov eax, 1
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
lea rax, [rsp + 0x20]
sub r14, rax
lea rcx, [rsp + 0x20]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [r14 + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x18007fa20
xor eax, eax
jmp 0x18007f9e7
Function at 0x180080980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
mov rbx, qword [rcx + 0x1030]
mov r14, rdx
movsxd rax, dword [rbx + 0x3c]
cmp dword [rax + rbx + 0x8c], 0
je 0x180080a17
mov edi, dword [rax + rbx + 0x88]
add rdi, rbx
mov esi, dword [rdi + 0x18]
test esi, esi
je 0x180080a17
cmp dword [rdi + 0x14], 0
je 0x180080a17
mov r9d, dword [rdi + 0x20]
xor r10d, r10d
mov r11d, dword [rdi + 0x24]
add r9, rbx
add r11, rbx
test esi, esi
je 0x180080a17
nop dword [rax + rax]
mov r8d, dword [r9]
mov rax, r14
add r8, rbx
sub r8, r14
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180080a03
inc rax
test ecx, ecx
jne 0x1800809f0
test edx, edx
je 0x180080a2e
inc r10d
add r9, 4
add r11, 2
cmp r10d, esi
jb 0x1800809e0
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
ret
movzx eax, word [r11]
cmp eax, dword [rdi + 0x14]
ja 0x180080a17
mov edx, dword [rdi + 0x1c]
lea ecx, [rax*4]
lea rax, [rbx + rdx]
mov eax, dword [rcx + rax]
add rax, rbx
jmp 0x180080a19
Function at 0x18009afe0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
xor eax, eax
mov rbx, r9
mov qword [rbp - 0x20], rax
mov rdi, rdx
mov qword [rbp - 0x18], rax
mov rsi, rcx
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
test r8d, r8d
jle 0x18009b089
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov r15, qword [rbp + 0x40]
mov r14d, r8d
lea r8, [rbp - 0x20]
mov rdx, r15
mov rcx, rsi
call fcn.18009b4d0
mov eax, dword [rbx]
lea rdi, [rdi + 0x20]
xor dword [rbp - 0x20], eax
mov eax, dword [rbx + 4]
xor dword [rbp - 0x1c], eax
mov eax, dword [rbx + 8]
xor dword [rbp - 0x18], eax
mov eax, dword [rbx + 0xc]
xor dword [rbp - 0x14], eax
mov eax, dword [rbx + 0x10]
xor dword [rbp - 0x10], eax
mov eax, dword [rbx + 0x14]
xor dword [rbp - 0xc], eax
mov eax, dword [rbx + 0x18]
xor dword [rbp - 8], eax
mov eax, dword [rbx + 0x1c]
mov rbx, rsi
xor dword [rbp - 4], eax
add rsi, 0x20
movups xmm0, xmmword [rbp - 0x20]
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rdi - 0x20], xmm0
movups xmmword [rdi - 0x10], xmm1
sub r14, 1
jne 0x18009b020
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x18009b9f0
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x18009ba22
mov r9d, edx
nop word [rax + rax]
movzx r8d, byte [rcx]
xor r8b, byte [rcx + 1]
lea rcx, [rcx + 2]
movzx edx, r8b
xor dl, byte [rcx - 1]
mov byte [rcx - 1], dl
xor dl, r8b
mov byte [rcx - 2], dl
sub r9, 1
jne 0x18009ba00
xor eax, eax
ret

Function at 0x18009ba30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rdi, r8d
mov rbx, rcx
mov r8, rdi
call fcn.1801a3408
test rdi, rdi
jle 0x18009ba7e
lea r8, [rdi - 1]
shr r8, 1
inc r8
nop word [rax + rax]
movzx edx, byte [rbx + 1]
xor dl, byte [rbx]
lea rbx, [rbx + 2]
movzx ecx, dl
xor cl, byte [rbx - 1]
mov byte [rbx - 1], cl
xor cl, dl
mov byte [rbx - 2], cl
sub r8, 1
jne 0x18009ba60
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret