joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44aa20
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x44ab87
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x44aa32
cmp edx, ecx
jne 0x44ab75
nop word [rax + rax]
test rsi, rsi
jne 0x44ab75
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x44aa94
nop
call fcn.0046f800
xorps xmm15, xmm15
mov r14, qword [0x00a390c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.0044a940
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x44ab70
mov rdx, qword [0x009aea68]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x44ab65
mov rcx, qword [0x009aea60]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x009b5430]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x009b5430], rax
nop
mov edx, 1
lea rsi, [0x009b5438]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x44ab53
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1248], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x0078d272]
mov ebx, 0x28
nop
call fcn.0043a8e0
mov rax, rsi
mov rcx, rdx
call fcn.0046dec0
call fcn.00439160
lea rax, [0x0078b053]
mov ebx, 0x23
call fcn.0043a8e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046bbc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0044aa20
Function at 0x4583a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x458517
movzx edx, byte [rax]
test edx, edx
jne 0x4583d4
nop dword [rax]
test r8b, r8b
jne 0x4583d4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x4583e7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x4584d7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x4584c5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x4584b7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x45843d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x458480
mov eax, 1
cmp rax, rbx
ja 0x45846b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.0046df80
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x4584af
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x458473
mov rcx, r11
mov eax, r12d
jmp 0x458442
mov rcx, rbx
call fcn.0046dec0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0046dec0
mov eax, r8d
mov rcx, rbx
call fcn.0046df80
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x45850d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x4584d0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x4583ed
mov eax, edx
mov rcx, rbx
call fcn.0046dec0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0046dec0
nop
int3

Function at 0x45e520
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45e5d5
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.0045c1a0
nop
test bl, bl
je 0x45e5cf
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x0045e620]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.0046baa0
xorps xmm15, xmm15
mov r14, qword [0x00a390c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0046bbc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0045e520
Function at 0x461540
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4615ef
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x00461640]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0046baa0
xorps xmm15, xmm15
mov r14, qword [0x00a390c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0046bbc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.00461540
Function at 0x696060
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0099bb80]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6960cd
mov rcx, r8
call fcn.00695f40
test eax, eax
je 0x6960cd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6960cd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6960c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6960cf
add rax, 0x28
cmp rax, r9
jne 0x6960b0
xor eax, eax
add rsp, 0x28
ret
Function at 0x140007de0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x1400420c0]
test rcx, rcx
je 0x140007e1b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007e40
mov rcx, qword [0x1400420c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400430e0], 0
jne 0x140007e58
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x1400420c0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140007e0e
mov edx, 0x414
lea r12, [rsp + 0x20]
lea rsi, [0x14001e41a]
mov qword [rsp + 0x20], 0
lea rdi, [0x140043100]
movq xmm0, rsi
mov rcx, r12
mov dword [rsp + 0x28], 3
movq xmm6, rdi
mov word [rsp + 0x40], dx
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007f24
test al, 0x10
je 0x140007e24
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x140007e24
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140007ed0
jmp 0x140007e24

Function at 0x14000e590
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.140015b70
sub rsp, rax
mov eax, dword [0x140047100]
mov rsi, rcx
test eax, eax
je 0x14000e630
xor ebx, ebx
lea rdi, [0x140045100]
test eax, eax
jg 0x14000e5cc
jmp 0x14000e5e0
add rbx, 1
cmp dword [0x140047100], ebx
jle 0x14000e5e0
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000e5c0
jmp 0x14000e617
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000e5f5
cmp word [rsi + 2], 0x3a
je 0x14000e617
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000e680
movsxd rbx, dword [0x140047100]
cmp ebx, 0x3ff
jle 0x14000e698
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
lea rbx, str.HOME
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.140007540
test al, al
je 0x14000e6ba
movsxd rbx, dword [0x140047100]
mov rcx, rdi
lea rdi, [0x140045100]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x140047100]
add eax, 1
mov dword [0x140047100], eax
jmp 0x14000e5b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000e604
xor eax, eax
jmp 0x14000e61c
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x140047100], 1
mov rdx, rax
lea rax, [0x140045100]
mov qword [rax + rbx*8], rdx
jmp 0x14000e617
mov rcx, rbx
call fcn.140007d20
nop
nop word cs:[rax + rax]
nop
Function at 0x140001aa0
Capabilities:
Clear windows event logs
Delete volume shadow copies
Disable automatic windows recovery features

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rbx, r9
mov rdi, r8
mov rsi, rcx
cmp r9, 3
jae 0x140001acb
xor eax, eax
test rbx, rbx
jne 0x140001ae9
jmp 0x140001cd9
movzx eax, word [rdi]
xor eax, 0x2d2d
movzx ecx, byte [rdi + 2]
xor ecx, 0x2d
or cx, ax
sete al
test rbx, rbx
je 0x140001cd9
test al, al
jne 0x140001cd9
lea rcx, [0x140440803]
mov edx, 4
mov r8, rdi
mov r9, rbx
call fcn.1400047e0
test al, al
je 0x140001cd9
lea rax, [rdi + rbx]
xor r10d, r10d
mov rcx, qword [str._yP_]
movabs rdx, 0x100003e00
mov r9, rdi
xor r11d, r11d
xor r8d, r8d
jmp 0x140001b4f
xor r8d, r8d
mov r11, r10
cmp r14, r12
jne 0x140001cfa
test r8b, r8b
jne 0x140001cd9
mov r12, r11
mov r8b, 1
cmp r9, rax
je 0x140001cc0
mov r15, r9
mov r14, r10
movzx r11d, byte [r9]
test r11b, r11b
js 0x140001b80
lea r9, [r15 + 1]
jmp 0x140001c00
mov r10d, r11d
and r10d, 0x1f
movzx r13d, byte [r15 + 1]
and r13d, 0x3f
cmp r11b, 0xdf
jbe 0x140001bd7
movzx ebp, byte [r15 + 2]
shl r13d, 6
and ebp, 0x3f
or ebp, r13d
cmp r11b, 0xf0
jb 0x140001be7
lea r9, [r15 + 4]
movzx r11d, byte [r15 + 3]
and r10d, 7
shl r10d, 0x12
shl ebp, 6
and r11d, 0x3f
or r11d, ebp
or r11d, r10d
cmp r11d, 0x110000
jne 0x140001c00
jmp 0x140001cd4
lea r9, [r15 + 2]
shl r10d, 6
or r10d, r13d
mov r11d, r10d
jmp 0x140001c00
lea r9, [r15 + 3]
shl r10d, 0xc
or ebp, r10d
mov r11d, ebp
nop word cs:[rax + rax]
mov r10, r9
sub r10, r15
add r10, r14
cmp r11d, 0x20
ja 0x140001c1c
mov r15d, r11d
bt rdx, r15
jb 0x140001b40
cmp r11d, 0x80
jb 0x140001b5e
mov ebp, r11d
shr ebp, 8
cmp ebp, 0x1f
jg 0x140001c5a
test ebp, ebp
je 0x140001c81
cmp ebp, 0x16
jne 0x140001b5e
cmp r11d, 0x1680
sete r11b
test r11b, r11b
je 0x140001b5e
jmp 0x140001b40
cmp ebp, 0x20
je 0x140001c9c
cmp ebp, 0x30
jne 0x140001b5e
cmp r11d, 0x3000
sete r11b
test r11b, r11b
je 0x140001b5e
jmp 0x140001b40
movzx r11d, r11b
movzx r11d, byte [rcx + r11]
and r11b, 1
test r11b, r11b
je 0x140001b5e
jmp 0x140001b40
movzx r11d, r11b
movzx r11d, byte [rcx + r11]
shr r11b, 1
and r11b, 1
test r11b, r11b
je 0x140001b5e
jmp 0x140001b40
mov r9, rax
mov r11, r12
mov r14, rbx
cmp r14, r12
je 0x140001b4f
jmp 0x140001cfa
mov r10, r14
jmp 0x140001cc3
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
sub r14, r12
js 0x140001d41
mov rax, qword [0x14050df18]
movzx eax, byte [rax]
mov ebx, 1
mov edx, 1
mov rcx, r14
call fcn.14002b2a0
test rax, rax
je 0x140001d43
mov r15, rax
add rdi, r12
mov rcx, rax
mov rdx, rdi
mov r8, r14
call fcn.1402de3c8
mov qword [rsi], r14
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], r14
jmp 0x140001ce6
xor ebx, ebx
mov rcx, rbx
mov rdx, r14
call fcn.1402ba360
int3
Function at 0x140025c00
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rdx
mov rdi, rcx
add rcx, 0x48
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x20
call fcn.140134480
test rax, rax
je 0x140025c5a
mov rbx, rax
mov r14, rdx
mov rcx, rax
call qword [rdx]
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x140025cb2
mov r8, qword [r14 + 0x10]
mov rcx, rbx
call fcn.14002b2b0
jmp 0x140025cb2
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x70]
lea r8, [0x140445430]
lea rdx, [rsp + 0x40]
mov r9d, 8
call fcn.140133dc0
mov rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movaps xmm2, xmmword [rsp + 0x90]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi + 0x20], xmm2
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov edx, 6
mov r8, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140131590
Function at 0x14016c910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x420
mov rsi, rcx
mov rax, qword [rdx]
mov rbx, qword [r9]
movzx eax, byte [rax + 0x82]
cmp al, 2
mov ecx, 1
cmovne ecx, eax
movzx eax, byte [r8 + 0x18]
mov edx, dword [r8 + 0x1c]
mov dword [rsp + 0x3c], edx
mov edx, dword [r8 + 0x19]
mov dword [rsp + 0x39], edx
mov rdx, qword [r8 + 0x10]
mov qword [rsp + 0x30], rdx
movups xmm0, xmmword [r8]
movaps xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x38], al
mov byte [rsp + 0x40], cl
mov byte [rsp + 0x68], 2
mov byte [rsp + 0x60], 3
lea rcx, [rsp + 0x70]
call fcn.140185090
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x418], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x408], xmm1
movups xmmword [rsp + 0x3f8], xmm0
lea rdi, [rsp + 0x238]
lea rdx, [rsp + 0x70]
mov r8d, 0x1c0
mov rcx, rdi
call fcn.1402de3c8
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.140198530
lock inc qword [rbx]
jle 0x14016caf8
movzx ecx, byte [rax + 0x1e0]
movzx edx, byte [rax + 0x1d8]
cmp rdx, 3
je 0x14016ca0d
cmp edx, 2
jne 0x14016ca0f
jmp 0x14016ca2e
mov r9, qword [rax + 0x1c0]
mov r8, qword [rax + 0x1c8]
lock inc qword [r9]
jle 0x14016caf8
mov rax, qword [rax + 0x1d0]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rdx
mov byte [rsp + 0x98], cl
movzx eax, byte [rsp + 0x410]
cmp al, 3
je 0x14016ca82
cmp al, 2
je 0x14016ca82
mov rax, qword [rsp + 0x3f8]
lock dec qword [rax]
jne 0x14016ca82
lea rcx, [rsp + 0x3f8]
call fcn.1401b44e0
lea rcx, [rsp + 0x238]
call fcn.14016a270
mov rax, qword [rsp + 0x70]
movzx ecx, byte [rsp + 0x98]
mov edx, dword [rsp + 0x99]
movzx r8d, word [rsp + 0x9d]
movzx r9d, byte [rsp + 0x9f]
movups xmm0, xmmword [rsp + 0x88]
movups xmm1, xmmword [rsp + 0x78]
mov qword [rsi + 8], rax
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi + 0x20], xmm0
mov byte [rsi + 0x30], cl
mov byte [rsi + 0x37], r9b
mov word [rsi + 0x35], r8w
mov dword [rsi + 0x31], edx
movabs rax, 0x8000000000000002
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x420
pop rbx
pop rdi
pop rsi
ret
ud2
Function at 0x140183820
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r15, rdx
mov rdi, rcx
mov rsi, qword [rcx + 8]
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x140183886
mov rax, rbx
shr rax, 0x3d
lea r12, [rbx*4]
test rax, rax
jne 0x140183991
mov rax, qword [0x14050df18]
movzx eax, byte [rax]
mov r13d, 4
mov edx, 4
mov rcx, r12
call fcn.14002b2a0
test rax, rax
je 0x140183994
mov r14, rax
jmp 0x14018388f
mov r14d, 4
xor r12d, r12d
mov rcx, r14
mov rdx, rsi
mov r8, r12
call fcn.1402de3c8
mov rdx, qword [r15 + 0x28]
movzx ecx, byte [r15 + 0x158]
shr rdx, cl
test rdx, rdx
je 0x140183917
mov rcx, qword [rdi + 0x18]
and ecx, 0x3f
xor r9d, r9d
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_regex_automata_0.4.6_src_dfa_remapper.rs
lea r10, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_regex_automata_0.4.6_src_dfa_remapper.rs
jmp 0x1401838dc
mov dword [rsi + r9*4], ebp
inc r9
cmp r9, rdx
je 0x140183917
mov r11, r9
shl r11, cl
cmp r9, rbx
je 0x14018398c
mov eax, dword [r14 + r9*4]
cmp eax, r11d
je 0x1401838d4
nop word cs:[rax + rax]
mov ebp, eax
mov eax, eax
shr rax, cl
cmp rax, rbx
jae 0x14018397c
mov eax, dword [r14 + rax*4]
cmp eax, r11d
jne 0x140183900
jmp 0x1401838d0
lea r8, [rdi + 0x18]
mov rcx, r15
mov rdx, rdi
call fcn.140181920
test rbx, rbx
je 0x140183940
shl rbx, 2
mov r8d, 4
mov rcx, r14
mov rdx, rbx
call fcn.14002b2b0
mov rdx, qword [rdi]
test rdx, rdx
je 0x14018396a
shl rdx, 2
mov r8d, 4
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14002b2b0
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r8, r10
mov rcx, rax
mov rdx, rbx
call fcn.1402c7c40
jmp 0x14018399f
mov rax, rbx
jmp 0x14018397f
xor r13d, r13d
mov rcx, r13
mov rdx, r12
call fcn.1402ba360
ud2
Function at 0x1401b4e60
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 0x1401b4ea2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x1401b4eaa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1401b4ebb
jmp 0x1401b4ed2
xor r10d, r10d
jmp 0x1401b4f5d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1401b4ed2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1401b4ee9
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 0x1401b4f09
add r11, r8
jmp 0x1401b503b
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 0x1401b4fd2
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 0x1401b4f80
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1401b4ff0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1401b5002
jmp 0x1401b501d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1401b501d
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 0x1401b5037
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 0x1401e6af0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r14, rdx
mov rsi, rcx
mov r12, qword [rcx + 8]
mov rdi, qword [rcx + 0x10]
test rdi, rdi
je 0x1401e6b56
mov rax, rdi
shr rax, 0x3d
lea r15, [rdi*4]
test rax, rax
jne 0x1401e6c74
mov rax, qword [0x14050df18]
movzx eax, byte [rax]
mov r13d, 4
mov edx, 4
mov rcx, r15
call fcn.14002b2a0
test rax, rax
je 0x1401e6c77
mov rbx, rax
jmp 0x1401e6b5e
mov ebx, 4
xor r15d, r15d
mov rcx, rbx
mov rdx, r12
mov r8, r15
call fcn.1402de3c8
mov r9, qword [r14 + 0x10]
test r9, r9
je 0x1401e6bee
mov rcx, qword [rsi + 0x18]
and ecx, 0x3f
xor r10d, r10d
lea r8, [0x140477a10]
lea r11, [0x140477a28]
lea r15, [0x140477a40]
jmp 0x1401e6ba8
inc r10
cmp r10, r9
je 0x1401e6bee
mov rdx, r10
shl rdx, cl
cmp r10, rdi
je 0x1401e6c64
mov eax, dword [rbx + r10*4]
cmp eax, edx
je 0x1401e6ba0
nop
mov ebp, eax
mov eax, eax
shr rax, cl
cmp rax, rdi
jae 0x1401e6c54
mov eax, dword [rbx + rax*4]
cmp eax, edx
jne 0x1401e6bc0
mov rdx, qword [rsi + 0x10]
cmp r10, rdx
jae 0x1401e6c6c
mov rax, qword [rsi + 8]
mov dword [rax + r10*4], ebp
jmp 0x1401e6ba0
lea r8, [rsi + 0x18]
mov rcx, r14
mov rdx, rsi
call fcn.1401cf550
test rdi, rdi
je 0x1401e6c17
shl rdi, 2
mov r8d, 4
mov rcx, rbx
mov rdx, rdi
call fcn.14002b2b0
mov rdx, qword [rsi]
test rdx, rdx
je 0x1401e6c42
mov rcx, qword [rsi + 8]
shl rdx, 2
mov r8d, 4
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14002b2b0
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, rdi
mov r8, r11
mov rcx, rax
call fcn.1402c7c40
jmp 0x1401e6c82
mov rax, rdi
mov rdx, rdi
jmp 0x1401e6c5a
mov rax, r10
mov r8, r15
jmp 0x1401e6c5a
xor r13d, r13d
mov rcx, r13
mov rdx, r15
call fcn.1402ba360
ud2
Function at 0x1402d0b70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x1402d0bfa
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1402d0bf0
cmp r11, r10
ja 0x1402d0c76
cmp r10, rdx
ja 0x1402d0c88
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x1402d0bf2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1402d0bd0
jmp 0x1402d0c57
ja 0x1402d0bfa
mov r11, r10
cmp rax, r8
jne 0x1402d0b97
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x1402d0c5b
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1402d0c30
mov r8, r10
sub ecx, r9d
jns 0x1402d0c4e
jmp 0x1402d0c5d
cmp r10, rdx
je 0x1402d0c6a
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1402d0c5d
xor al, 1
cmp r8, rdx
jne 0x1402d0c10
jmp 0x1402d0c5d
xor eax, eax
jmp 0x1402d0c5d
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [0x140502c60]
call fcn.1402c77e0
lea r8, [0x140502c78]
mov rcx, r11
mov rdx, r10
call fcn.1402cdfd0
lea r8, [0x140502c78]
mov rcx, r10
call fcn.1402cdf50
int3

Function at 0x1402dfd90
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x14050de90]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x1402dfe09
mov rcx, r10
call fcn.1402dfc60
test eax, eax
je 0x1402dfe09
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x1402dfe06
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x1402dfdfd
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x1402dfe09
add r8, 0x28
cmp r8, r9
jne 0x1402dfde8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret