joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140038f80
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x41]
test eax, eax
je 0x1400390bc
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x50], 0
je 0x140038ff1
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x80]
cmp dword [rax + 0x58], ecx
jae 0x140038ff1
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.14000e378
nop
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x50], 0
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x50], 0
jne 0x140039031
mov eax, dword [rsp + 0x80]
shl eax, 1
mov eax, eax
mov ecx, eax
call fcn.14000e458
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x50], rcx
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x80]
mov dword [rax + 0x58], ecx
mov eax, dword [rsp + 0x80]
mov r8d, eax
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x50]
call fcn.14004aa60
nop
mov dword [rsp + 0x30], 0
jmp 0x140039063
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x30], eax
jae 0x1400390ae
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x50]
mov rdx, qword [rsp + 0x70]
add rdx, 0x44
mov qword [rsp + 0x50], rdx
movzx edx, byte [rcx + rax]
mov rax, qword [rsp + 0x50]
mov rcx, rax
call fcn.140039250
mov ecx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x70]
mov rdx, qword [rdx + 0x50]
mov byte [rdx + rcx], al
jmp 0x140039059
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x30], 0
je 0x14003913b
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
add eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
cmp eax, dword [rcx + 0x3c]
jb 0x1400390f4
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x24], 0x30000
xor eax, eax
jmp 0x140039185
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x38]
mov rdx, qword [rsp + 0x70]
add rcx, qword [rdx + 0x30]
mov r8d, eax
mov rdx, qword [rsp + 0x38]
call fcn.14004aa60
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
add eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x38], eax
mov eax, dword [rsp + 0x80]
jmp 0x140039185
mov rax, qword [rsp + 0x70]
cmp qword [rax + 8], 0
je 0x140039177
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x34]
jmp 0x140039185
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x24], 0x1000000
xor eax, eax
add rsp, 0x68
ret
Function at 0x1400392f0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
mov eax, 4
imul rax, rax, 0
movsx ecx, byte [rsp + 0x10]
mov rdx, qword [rsp + 8]
mov eax, dword [rdx + rax]
xor eax, ecx
and eax, 0xff
cdqe
lea rcx, [0x14005cdf0]
mov edx, 4
imul rdx, rdx, 0
mov r8, qword [rsp + 8]
mov edx, dword [r8 + rdx]
shr edx, 8
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 8]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 8]
mov ecx, dword [rdx + rcx]
and ecx, 0xff
mov rdx, qword [rsp + 8]
add ecx, dword [rdx + rax]
mov eax, ecx
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 8]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
imul eax, dword [rcx + rax], 0x8088405
inc eax
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 8]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 2
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 8]
mov ecx, dword [rdx + rcx]
shr ecx, 0x18
mov rdx, qword [rsp + 8]
mov eax, dword [rdx + rax]
xor eax, ecx
and eax, 0xff
mov eax, eax
lea rcx, [0x14005cdf0]
mov edx, 4
imul rdx, rdx, 2
mov r8, qword [rsp + 8]
mov edx, dword [r8 + rdx]
shr edx, 8
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 8]
mov dword [rdx + rcx], eax
ret
Function at 0x14003ad60
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x488
mov rax, qword [0x140068080]
xor rax, rsp
mov qword [rsp + 0x470], rax
cmp qword [rsp + 0x490], 0
je 0x14003adb2
mov rcx, qword [rsp + 0x490]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14003adb2
xor edx, edx
mov rcx, qword [rsp + 0x490]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
mov rax, qword [rsp + 0x498]
movzx eax, word [rax]
test eax, eax
jne 0x14003adc6
jmp 0x14003af4b
mov rax, qword [rsp + 0x498]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
test eax, eax
je 0x14003ae1d
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x2f
je 0x14003ae03
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5c
jne 0x14003ae0d
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
add rax, 2
mov qword [rsp + 0x20], rax
jmp 0x14003addd
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x498]
cmp qword [rsp + 0x28], rax
je 0x14003aecf
mov rax, qword [rsp + 0x498]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
sar rax, 1
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x498]
lea rcx, [rsp + 0x260]
call fcn.14004aa60
nop
mov rax, qword [rsp + 0x498]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
sar rax, 1
shl rax, 1
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0x208
jae 0x14003ae97
jmp 0x14003ae9d
call fcn.14000e1a4
nop
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rsp + rcx + 0x260], ax
lea rdx, [rsp + 0x260]
mov rcx, qword [rsp + 0x490]
call fcn.14003ad60
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0x208
jae 0x14003aeea
jmp 0x14003aef0
call fcn.14000e1a4
nop
xor eax, eax
mov rcx, qword [rsp + 0x40]
mov word [rsp + rcx + 0x50], ax
cmp qword [rsp + 0x490], 0
je 0x14003af1a
mov rdx, qword [rsp + 0x490]
lea rcx, [rsp + 0x50]
call fcn.14001c688
nop
mov rdx, qword [rsp + 0x498]
lea rcx, [rsp + 0x50]
call fcn.14001c824
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14003af4b
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14000de10
add rsp, 0x488
ret
Function at 0x14003bb80
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
jne 0x14003bbae
mov rax, qword [rsp + 0x50]
cmp dword [rax + 8], 0xffffffff
je 0x14003bbb8
mov eax, 0x1000000
jmp 0x14003bcc9
mov rax, qword [rsp + 0x50]
add rax, 0x250
mov rdx, rax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rax, qword [rsp + 0x50]
add rax, 0x250
mov rcx, rax
call fcn.14001888c
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2 + 0x24e]
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
cmp eax, 0x5c
je 0x14003bc25
movzx eax, word [rsp + 0x24]
cmp eax, 0x2f
je 0x14003bc25
mov rax, qword [rsp + 0x50]
add rax, 0x250
lea rdx, [0x14005eba4]
mov rcx, rax
call fcn.14001c824
nop
cmp dword [rsp + 0x68], 1
jne 0x14003bc78
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0xffffffff
je 0x14003bc57
mov dword [rsp + 0x28], 1
jmp 0x14003bc5f
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14003bc78
mov eax, 0x2000000
jmp 0x14003bcc9
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x68]
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call fcn.14003de10
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14003bca3
mov eax, dword [rsp + 0x30]
jmp 0x14003bcc9
mov rcx, qword [rsp + 0x38]
call fcn.14003d450
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
jne 0x14003bcc7
mov eax, 0x200
jmp 0x14003bcc9
xor eax, eax
add rsp, 0x48
ret
Function at 0x14003dae0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x58]
imul rax, qword [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax]
test eax, eax
je 0x14003db5b
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x14003db4e
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x10], 1
mov eax, dword [rsp + 0x3c]
xor edx, edx
div qword [rsp + 0x58]
jmp 0x14003dbd3
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x2c]
add eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
cmp eax, dword [rcx + 0x28]
jbe 0x14003db87
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x2c]
mov eax, dword [rax + 0x28]
sub eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x2c]
mov rdx, qword [rsp + 0x68]
add rcx, qword [rdx + 0x20]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x50]
call fcn.14004aa60
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x2c]
add eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x68]
mov dword [rcx + 0x2c], eax
mov eax, dword [rsp + 0x34]
xor edx, edx
div qword [rsp + 0x58]
add rsp, 0x48
ret

Function at 0x14003f140
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
mov eax, 4
imul rax, rax, 0
movsx ecx, byte [rsp + 0x10]
mov rdx, qword [rsp + 8]
mov eax, dword [rdx + rax]
xor eax, ecx
and eax, 0xff
cdqe
lea rcx, [0x14005e610]
mov edx, 4
imul rdx, rdx, 0
mov r8, qword [rsp + 8]
mov edx, dword [r8 + rdx]
shr edx, 8
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 8]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 8]
mov ecx, dword [rdx + rcx]
and ecx, 0xff
mov rdx, qword [rsp + 8]
add ecx, dword [rdx + rax]
mov eax, ecx
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 8]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
imul eax, dword [rcx + rax], 0x8088405
inc eax
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 8]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 2
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 8]
mov ecx, dword [rdx + rcx]
shr ecx, 0x18
mov rdx, qword [rsp + 8]
mov eax, dword [rdx + rax]
xor eax, ecx
and eax, 0xff
mov eax, eax
lea rcx, [0x14005e610]
mov edx, 4
imul rdx, rdx, 2
mov r8, qword [rsp + 8]
mov edx, dword [r8 + rdx]
shr edx, 8
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 8]
mov dword [rdx + rcx], eax
ret
Function at 0x1400160c0
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 0x140016156
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdetC:UsersuUuC1.cargo_registry_srcindex.crates.io_6f17d22bba15001fhttp_1.1.0_srcheadermap.rssize_overflows_MAX_SIZE]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1401dfc50]
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.1400168f0
test rdi, rdi
je 0x1400161e5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1400161fe
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 0x1400162f6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x140016378
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140016303
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 0x1400161c0
cmp r9, 8
jae 0x14001630c
jmp 0x140016378
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1400168f0
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 0x140016378
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x140016378
mov r8, rcx
cmp r9, 8
jb 0x140016378
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 0x140016310
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400168f0
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 0x140016932
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14001693a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14001694b
jmp 0x140016962
xor r10d, r10d
jmp 0x1400169ed
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140016962
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140016979
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 0x140016999
add r11, r8
jmp 0x140016acb
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 0x140016a62
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 0x140016a10
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140016a80
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140016a92
jmp 0x140016aad
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x140016aad
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 0x140016ac7
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 0x140026810
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1a0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x118], 0xfffffffffffffffe
mov qword [rbp + 0xf8], rdx
mov rsi, rcx
movaps xmm0, xmmword [str.HIJKLMNOPQRSTUVW]
movaps xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0x117], 1
lea rcx, [rbp - 0x54]
lea rdx, [rbp + 0xb0]
mov r8d, 0x10
call fcn.1401598e0
mov word [rbp + 0xae], 0
mov rcx, qword [rbp + 0xf8]
mov rax, qword [rcx + 0x10]
mov qword [rbp + 0xf0], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rbp + 0xe0], xmm0
mov byte [rbp + 0x117], 0
lea rcx, [rbp + 0xc8]
lea rdx, [rbp + 0xe0]
call fcn.140028300
mov rcx, qword [rbp + 0xc8]
movabs rax, 0x8000000000000000
mov qword [rbp + 0x108], rcx
cmp rcx, rax
je 0x140026935
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x100], rax
mov rbx, qword [rbp + 0xd8]
test rbx, rbx
je 0x14002690b
xor r14d, r14d
lea rdi, [rbp - 0x54]
nop word cs:[rax + rax]
mov rcx, rdi
call fcn.140159a60
mov rcx, qword [rbp + 0x100]
xor byte [rcx + r14], al
inc r14
cmp rbx, r14
jne 0x1400268f0
mov rax, qword [rbp + 0x108]
mov qword [rsi], rax
mov rax, qword [rbp + 0x100]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rbx
mov rax, rsi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
movups xmm0, xmmword [rbp + 0xd0]
movaps xmmword [rbp + 0xe0], xmm0
mov byte [rbp + 0x117], 0
lea rax, str.srccrypto_method_rc4.rsInvalid_hex_string
mov qword [rsp + 0x20], rax
lea rcx, [0x1401e1ce0]
lea r9, [0x1401e1ab0]
lea r8, [rbp + 0xe0]
mov edx, 0x12
call fcn.1401dd000
ud2
Function at 0x140027ae0
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x1f0
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x160], xmm6
mov qword [rbp + 0x158], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rbp + 0x138], 0
mov qword [rbp + 0x140], 4
mov qword [rbp + 0x148], 0
mov byte [rbp + 0x157], 1
lea rcx, [rbp + 0x108]
call fcn.140159bc0
mov byte [rbp + 0x157], 1
lea rcx, [rbp + 0x108]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
cmp dword [rbp + 0x128], 2
mov rax, qword [rbp + 0x138]
mov rdi, qword [rbp + 0x148]
jae 0x140027b88
movss xmm6, dword [0x1401e1ea0]
cmp rdi, rax
jne 0x140027ba8
mov byte [rbp + 0x157], 1
lea rcx, [rbp + 0x138]
call fcn.140028740
jmp 0x140027ba8
movss xmm6, dword [0x1401e1e9c]
cmp rdi, rax
jne 0x140027ba8
mov byte [rbp + 0x157], 1
lea rcx, [rbp + 0x138]
call fcn.140028740
mov rax, qword [rbp + 0x140]
movss dword [rax + rdi*4], xmm6
inc rdi
mov qword [rbp + 0x148], rdi
mov byte [rbp + 0x157], 1
lea rcx, [rbp + 0xc8]
call fcn.140159be0
mov dword [rbp + 0xc8], 0x40
mov byte [rbp + 0x157], 1
lea rcx, [rbp + 0xc8]
call qword [sym.imp.kernel32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x140027c07
mov byte [rbp + 0x157], 1
call fcn.140159f50
test edx, edx
jne 0x140027d26
mov ecx, 0x80000001
mov rax, qword [rbp + 0x138]
mov rdi, qword [rbp + 0x148]
cmp qword [rbp + 0xd0], rcx
jae 0x140027c45
movss xmm6, dword [0x1401e1ea0]
cmp rdi, rax
jne 0x140027c65
mov byte [rbp + 0x157], 1
lea rcx, [rbp + 0x138]
call fcn.140028740
jmp 0x140027c65
movss xmm6, dword [0x1401e1e9c]
cmp rdi, rax
jne 0x140027c65
mov byte [rbp + 0x157], 1
lea rcx, [rbp + 0x138]
call fcn.140028740
mov rax, qword [rbp + 0x140]
movss dword [rax + rdi*4], xmm6
inc rdi
mov qword [rbp + 0x148], rdi
mov byte [rbp + 0x157], 1
lea rcx, [rbp - 0x58]
call fcn.14018d050
lea rcx, [rbp - 0x58]
call fcn.14018d180
cmp qword [rbp + 0x50], 0x33
mov rax, qword [rbp + 0x138]
mov rdi, qword [rbp + 0x148]
jae 0x140027cc4
movss xmm6, dword [0x1401e1ea0]
cmp rdi, rax
jne 0x140027cdd
lea rcx, [rbp + 0x138]
call fcn.140028740
jmp 0x140027cdd
movss xmm6, dword [0x1401e1e9c]
cmp rdi, rax
jne 0x140027cdd
lea rcx, [rbp + 0x138]
call fcn.140028740
mov rax, qword [rbp + 0x140]
movss dword [rax + rdi*4], xmm6
inc rdi
mov qword [rbp + 0x148], rdi
mov qword [rsi + 0x10], rdi
movups xmm0, xmmword [rbp + 0x138]
movups xmmword [rsi], xmm0
mov byte [rbp + 0x157], 0
lea rcx, [rbp - 0x58]
call fcn.140026e90
mov rax, rsi
movaps xmm6, xmmword [rbp + 0x160]
add rsp, 0x1f0
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x50], edx
lea rax, str.src_anti_sandboxcheck_env.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1401e2043]
lea r9, [0x1401e1ea8]
lea r8, [rbp - 0x58]
mov edx, 0x1b
call fcn.1401dd000
ud2