joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140184cd8
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using djb2

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, dword [rcx + 0x18]
xor r9d, r9d
mov r15, qword [rcx + 0x498]
mov r12d, 0x2000000
mov rbx, r8
mov r14d, edx
mov rdi, rcx
test r12, rax
je 0x140184d7c
mov r9, qword [rcx + 0x270]
lea r8, [rbp + 0x30]
and r14d, 0xffffff
mov edx, 0x19
movzx eax, word [r9]
mov word [rbp + 0x30], ax
mov al, byte [r9 + 2]
mov r9d, r14d
mov byte [rbp + 0x32], al
lea rax, [rbp + 0x48]
mov qword [r11 - 0x40], rax
lea rax, [rbp - 0x10]
mov qword [r11 - 0x48], rax
call fcn.1401965e4
mov r9d, eax
test eax, eax
js 0x140184ef9
mov edx, dword [rbp + 0x48]
mov ecx, dword [rbp - 0x10]
and dword [rbx + 8], 0
and dword [rbx], 0
mov dword [rbx + 0x10], ecx
sub ecx, edx
mov dword [rbx + 4], ecx
mov dword [rbx + 0x14], edx
mov dword [rbx + 0xc], edx
jmp 0x140184ef9
xor eax, eax
xorps xmm0, xmm0
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm0
movups xmmword [r8 + 0x20], xmm0
mov qword [r8 + 0x30], rax
or dword [r8], 0xffffffff
mov dword [r8 + 8], 2
and qword [r8 + 0x18], rax
and dword [r8 + 0x20], eax
and dword [r8 + 0x24], eax
mov eax, 4
mov word [r8 + 0x2c], ax
mov dword [r8 + 0x28], 0x10
mov byte [r8 + 0x2e], 1
test r15, r15
je 0x140184e8d
mov dword [rbp + 0x30], r14d
lea rdx, [rbp + 0x30]
mov eax, 0x1505
movzx ecx, byte [rdx]
inc rdx
imul eax, eax, 0x21
xor eax, ecx
lea rcx, [rbp + 0x34]
cmp rdx, rcx
jb 0x140184dd8
xor edx, edx
div dword [r15 + 0x20]
mov rax, qword [r15 + 0x18]
movsxd rcx, edx
lea rdx, [rbp + 0x30]
mov ecx, dword [rax + rcx*4]
mov dword [rbp + 0x30], ecx
mov rcx, r15
call fcn.14015a224
mov rsi, rax
test rax, rax
je 0x140184ef9
lea r12, [rdi + 0xe10]
mov r9, qword [r12]
lea r8, [rbp - 8]
mov edx, dword [rsi]
mov rcx, r12
call qword [r9 + 0xa8]
mov r9d, eax
test eax, eax
js 0x140184ef9
mov rax, qword [rdi + 0x270]
movzx ecx, byte [rax + 1]
add rcx, qword [rbp - 8]
cmp byte [rax + 2], 2
jne 0x140184e57
movzx eax, word [rcx]
jmp 0x140184e59
mov eax, dword [rcx]
bts eax, 0x19
cmp eax, r14d
jne 0x140184e77
mov edx, dword [rsi]
mov rcx, rbx
call fcn.140155c5c
mov r9d, eax
test eax, eax
js 0x140184ef9
lea rdx, [rbp + 0x30]
mov rcx, r15
call fcn.14015a224
mov rsi, rax
test rax, rax
jne 0x140184e1e
jmp 0x140184ef9
mov esi, 1
cmp dword [rcx + 0x84], esi
jb 0x140184ef9
lea r15, [rcx + 0xe10]
mov rax, qword [r15]
lea r8, [rbp - 8]
mov edx, esi
mov rcx, r15
call qword [rax + 0xa8]
mov r9d, eax
test eax, eax
js 0x140184ef9
mov rax, qword [rdi + 0x270]
movzx ecx, byte [rax + 1]
add rcx, qword [rbp - 8]
cmp byte [rax + 2], 2
jne 0x140184ed4
movzx eax, word [rcx]
jmp 0x140184ed6
mov eax, dword [rcx]
or eax, r12d
cmp eax, r14d
jne 0x140184eef
mov edx, esi
mov rcx, rbx
call fcn.140155c5c
mov r9d, eax
test eax, eax
js 0x140184ef9
inc esi
cmp esi, dword [rdi + 0x84]
jbe 0x140184ea1
lea r11, [rsp + 0x40]
mov eax, r9d
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140184f18
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [rcx + 0x18]
xor r10d, r10d
mov r14, qword [rcx + 0x490]
mov rbx, r8
mov r15d, edx
mov rdi, rcx
bt rax, 0x18
jae 0x140184f86
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x48]
call fcn.14018e6ac
mov r10d, eax
test eax, eax
js 0x1401850d8
mov edx, dword [rbp + 0x30]
mov ecx, dword [rbp + 0x48]
and dword [rbx + 8], 0
and dword [rbx], 0
mov dword [rbx + 0x10], ecx
sub ecx, edx
mov dword [rbx + 4], ecx
mov dword [rbx + 0x14], edx
mov dword [rbx + 0xc], edx
jmp 0x1401850d8
xor eax, eax
xorps xmm0, xmm0
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm0
movups xmmword [r8 + 0x20], xmm0
mov qword [r8 + 0x30], rax
or dword [r8], 0xffffffff
mov dword [r8 + 8], 2
and qword [r8 + 0x18], rax
and dword [r8 + 0x20], eax
and dword [r8 + 0x24], eax
mov eax, 4
mov word [r8 + 0x2c], ax
mov dword [r8 + 0x28], 0x10
mov byte [r8 + 0x2e], 1
test r14, r14
je 0x14018507f
mov dword [rbp + 0x30], r15d
lea rdx, [rbp + 0x30]
mov eax, 0x1505
movzx ecx, byte [rdx]
inc rdx
imul eax, eax, 0x21
xor eax, ecx
lea rcx, [rbp + 0x34]
cmp rdx, rcx
jb 0x140184fe2
xor edx, edx
div dword [r14 + 0x20]
mov rax, qword [r14 + 0x18]
movsxd rcx, edx
lea rdx, [rbp + 0x30]
mov ecx, dword [rax + rcx*4]
mov dword [rbp + 0x30], ecx
mov rcx, r14
call fcn.14015a224
mov rsi, rax
test rax, rax
je 0x1401850d8
lea r12, [rdi + 0xdb8]
mov r9, qword [r12]
lea r8, [rbp - 0x10]
mov edx, dword [rsi]
mov rcx, r12
call qword [r9 + 0xa8]
mov r10d, eax
test eax, eax
js 0x1401850d8
mov rdx, qword [rbp - 0x10]
mov rcx, rdi
call fcn.140172aac
cmp eax, r15d
jne 0x140185069
mov edx, dword [rsi]
mov rcx, rbx
call fcn.140155c5c
mov r10d, eax
test eax, eax
js 0x1401850d8
lea rdx, [rbp + 0x30]
mov rcx, r14
call fcn.14015a224
mov rsi, rax
test rax, rax
jne 0x140185028
jmp 0x1401850d8
mov esi, 1
cmp dword [rcx + 0x80], esi
jb 0x1401850d8
lea r14, [rcx + 0xdb8]
mov rax, qword [r14]
lea r8, [rbp - 0x10]
mov edx, esi
mov rcx, r14
call qword [rax + 0xa8]
mov r10d, eax
test eax, eax
js 0x1401850d8
mov rdx, qword [rbp - 0x10]
mov rcx, rdi
call fcn.140172aac
cmp eax, r15d
jne 0x1401850ce
mov edx, esi
mov rcx, rbx
call fcn.140155c5c
mov r10d, eax
test eax, eax
js 0x1401850d8
inc esi
cmp esi, dword [rdi + 0x80]
jbe 0x140185093
mov rbx, qword [rsp + 0x68]
mov eax, r10d
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1401865e4
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov esi, edx
mov ebp, r9d
mov r14d, r8d
mov eax, edx
mov rdi, rcx
mov r15, qword [rcx + rsi*8 + 0x3d0]
test r15, r15
jne 0x140186619
mov edx, esi
call fcn.14018669c
mov ebx, eax
jmp 0x140186689
imul rax, rax, 0x58
add rcx, 0x578
lea r8, [rsp + 0x50]
add rcx, rax
mov edx, ebp
mov rax, qword [rcx]
call qword [rax + 0xa8]
mov ebx, eax
test eax, eax
js 0x140186689
mov r9, qword [rsp + 0x50]
mov r8d, r14d
mov edx, esi
mov rcx, rdi
call fcn.1401876d4
mov dword [rsp + 0x58], eax
lea r8, [rsp + 0x58]
mov edx, 0x1505
movzx eax, byte [r8]
inc r8
imul edx, edx, 0x21
xor edx, eax
lea rax, [rsp + 0x5c]
cmp r8, rax
jb 0x14018665d
mov rcx, r15
call fcn.1401801cc
test rax, rax
jne 0x140186687
mov ebx, 0x8007000e
jmp 0x140186689
mov dword [rax], ebp
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14018669c
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov eax, edx
mov rsi, rcx
xor r15d, r15d
mov edi, r15d
mov r14d, edx
cmp qword [rcx + rax*8 + 0x3d0], r15
jne 0x140186852
mov r13d, dword [rcx + rax*4 + 0x20]
cmp r13d, 0x18
jbe 0x140186852
lea rdx, [0x1401a6330]
lea ecx, [r15 + 0x28]
call fcn.14005e240
mov rbx, rax
mov qword [rsp + 0x90], rax
lea r12d, [r15 + 1]
test rax, rax
je 0x140186728
mov qword [rax], r15
mov qword [rax + 8], r15
mov dword [rax + 0x10], 0x10
lea eax, [r15 + 0xc]
mov word [rbx + 0x14], ax
mov byte [rbx + 0x16], r12b
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x20], r15
jmp 0x14018672b
mov rbx, r15
mov qword [rsp + 0x28], rbx
mov ebp, r15d
test rbx, rbx
cmovne ebp, r12d
mov dword [rsp + 0x30], ebp
jne 0x14018674a
mov edi, 0x8007000e
jmp 0x140186852
mov rax, r15
mov ecx, 4
cmp dword [rsi + 0x18f0], r12d
cmove rax, rcx
lea rcx, [0x1401b72e0]
mov edx, dword [rax + rcx]
mov rcx, rbx
call fcn.140189958
mov edi, eax
test eax, eax
jns 0x14018677a
jmp 0x14018684a
mov r15d, r12d
imul rax, r14, 0x58
lea rcx, [rsi + 0x578]
add rcx, rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rcx]
lea r8, [rsp + 0xa8]
mov edx, r15d
call qword [rax + 0xa8]
mov edi, eax
mov r12d, eax
test eax, eax
js 0x140186846
mov r9, qword [rsp + 0xa8]
mov r8d, dword [rsp + 0xa0]
mov edx, dword [rsp + 0x98]
mov rcx, rsi
call fcn.1401876d4
mov dword [rsp + 0x90], eax
lea rcx, [rsp + 0x90]
mov edx, 0x1505
imul edx, edx, 0x21
movzx eax, byte [rcx]
xor edx, eax
inc rcx
lea rax, [rsp + 0x94]
cmp rcx, rax
jb 0x1401867e4
mov rcx, rbx
call fcn.1401801cc
test rax, rax
je 0x140186841
mov dword [rax], r15d
inc r15d
cmp r15d, r13d
mov rcx, qword [rsp + 0x20]
jbe 0x140186790
xor eax, eax
lock cmpxchg qword [rsi + r14*8 + 0x3d0], rbx
neg rax
sbb ecx, ecx
and dword [rsp + 0x30], ecx
je 0x140186852
mov rcx, rbx
call fcn.140180034
mov edi, r12d
jmp 0x140186852
mov edi, 0x8007000e
test ebp, ebp
je 0x140186852
mov rcx, rbx
call fcn.140180034
mov eax, edi
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140186874
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov ebp, edx
mov r15d, r9d
mov r12d, r8d
mov esi, edx
mov rbx, rcx
mov rdi, qword [rcx + rbp*8 + 0x3d0]
test rdi, rdi
jne 0x1401868bc
mov edx, ebp
call fcn.14018669c
mov rdi, qword [rbx + rbp*8 + 0x3d0]
test rdi, rdi
je 0x14018698a
mov dword [rsp + 0x58], r15d
lea rdx, [rsp + 0x58]
mov eax, 0x1505
movzx ecx, byte [rdx]
inc rdx
imul eax, eax, 0x21
xor eax, ecx
lea rcx, [rsp + 0x5c]
cmp rdx, rcx
jb 0x1401868cb
xor edx, edx
div dword [rdi + 0x20]
mov rax, qword [rdi + 0x18]
movsxd rcx, edx
lea rdx, [rsp + 0x58]
mov ecx, dword [rax + rcx*4]
mov dword [rsp + 0x58], ecx
mov rcx, rdi
call fcn.14015a224
mov r14, rax
test rax, rax
je 0x14018695d
imul rsi, rsi, 0x58
mov r9, qword [rsi + rbx + 0x578]
lea rcx, [rbx + 0x578]
mov edx, dword [r14]
lea r8, [rsp + 0x50]
add rcx, rsi
call qword [r9 + 0xa8]
test eax, eax
js 0x140186967
mov r9, qword [rsp + 0x50]
mov r8d, r12d
mov edx, ebp
mov rcx, rbx
call fcn.1401876d4
cmp eax, r15d
je 0x14018697e
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.14015a224
mov r14, rax
test rax, rax
jne 0x14018690c
mov rax, qword [rsp + 0x70]
and dword [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x70]
mov ecx, dword [r14]
mov dword [rax], ecx
jmp 0x140186965
mov edi, 1
cmp dword [rbx + rbp*4 + 0x20], edi
jb 0x14018695d
imul r14, rsi, 0x58
mov rax, qword [r14 + rbx + 0x578]
lea rcx, [rbx + 0x578]
lea r8, [rsp + 0x50]
mov edx, edi
add rcx, r14
call qword [rax + 0xa8]
test eax, eax
js 0x140186967
mov r9, qword [rsp + 0x50]
mov r8d, r12d
mov edx, ebp
mov rcx, rbx
call fcn.1401876d4
cmp eax, r15d
je 0x1401869dd
inc edi
cmp edi, dword [rbx + rbp*4 + 0x20]
jbe 0x140186999
jmp 0x14018695d
mov rax, qword [rsp + 0x70]
mov dword [rax], edi
jmp 0x140186965

Function at 0x140187948
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x28
lea rcx, [rsp + 0x38]
mov r9d, 0x1505
movzx eax, byte [rcx]
inc rcx
imul r9d, r9d, 0x21
xor r9d, eax
lea rax, [rsp + 0x3c]
cmp rcx, rax
jb 0x14018795b
mov rcx, r8
call fcn.14015af68
add eax, r9d
add rsp, 0x28
ret
Function at 0x140198de0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
cmp dword [rcx + 8], 0x40
mov r10, rcx
jb 0x140198e71
mov r9, qword [rcx]
mov eax, 0x5a4d
cmp word [r9], ax
jne 0x140198e71
cmp dword [r9 + 0x3c], 0
je 0x140198e71
movsxd rbx, dword [r9 + 0x3c]
lea r8, [rbp - 0x10]
mov qword [rbp - 0x30], 0x108
lea rdx, [rbp - 0x20]
mov byte [rbp - 0x28], 0
lea rcx, [rbp - 0x30]
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rbp - 0x30], rbx
mov byte [rbp - 0x28], 0
call fcn.1401574b4
cmp byte [rbp - 0x18], 0
jne 0x140198e71
mov r11d, dword [r10 + 8]
cmp r11, qword [rbp - 0x20]
jb 0x140198e71
add r9, rbx
cmp dword [r9], 0x4550
jne 0x140198e71
mov eax, 0x10b
cmp word [r9 + 0x18], ax
jne 0x140198e7e
mov eax, 0xe0
cmp word [r9 + 0x14], ax
je 0x140198ed0
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov eax, 0x20b
cmp word [r9 + 0x18], ax
jne 0x140198e71
mov eax, 0xf0
cmp word [r9 + 0x14], ax
jne 0x140198e71
mov qword [rbp - 0x20], 0x108
lea r8, [rbp - 0x10]
mov byte [rbp - 0x18], 0
lea rdx, [rbp - 0x30]
movaps xmm0, xmmword [rbp - 0x20]
lea rcx, [rbp - 0x20]
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rbp - 0x20], rbx
mov byte [rbp - 0x18], 0
call fcn.1401574b4
cmp byte [rbp - 0x28], 0
jne 0x140198e71
cmp r11, qword [rbp - 0x30]
jb 0x140198e71
mov qword [r10 + 0x10], r9
mov eax, 1
jmp 0x140198e73

Function at 0x140198f14
Capabilities:
Enumerate pe sections

Disassembly:
mov r8, qword [rcx]
mov r10d, edx
movsxd r9, dword [r8 + 0x3c]
add r9, r8
movzx eax, word [r9 + 0x14]
lea r8, [r9 + 0x18]
add r8, rax
movzx eax, word [r9 + 6]
lea rcx, [rax + rax*4]
lea r11, [r8 + rcx*8]
cmp r8, r11
jae 0x140198f64
mov r9d, dword [r9 + 0x38]
mov edx, r9d
neg edx
lea ecx, [r9 - 1]
add ecx, dword [r8 + 8]
and ecx, edx
add ecx, dword [r8 + 0xc]
cmp r10d, ecx
jb 0x140198f67
add r8, 0x28
cmp r8, r11
jb 0x140198f48
xor eax, eax
ret
cmp r10d, dword [r8 + 0xc]
jb 0x140198f64
mov rax, r8
ret

Function at 0x140199c08
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
or byte [rcx + 0x48], 4
mov rbx, rcx
call fcn.140199d60
cmp dword [0x1401fd27c], 0
jne 0x140199c4a
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x24]
mov dword [0x1401fd27c], edx
lea eax, [rdx - 1]
not eax
and eax, 0x3fff
add eax, edx
mov dword [0x1401fd280], eax
mov rax, rbx
add rsp, 0x50
pop rbx
ret
Function at 0x14019ada4
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
mov eax, dword [rcx + 0x88]
lea r10, [rsp + 0x40]
test r9, r9
cmovne r10, r9
cmp eax, 1
je 0x14019add3
cmp eax, 6
je 0x14019add3
mov rcx, qword [rcx + 0x50]
mov r9, r10
mov rax, qword [rcx]
call qword [rax + 0x18]
jmp 0x14019ae00
mov rcx, qword [rcx + 0x58]
mov r9, r10
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14019adee
xor eax, eax
jmp 0x14019ae00
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x14019ae00
movzx eax, ax
or eax, 0x80070000
add rsp, 0x38
ret

Function at 0x14019afa4
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
lea r10, [rsp + 0x40]
test r9, r9
cmovne r10, r9
mov r9d, dword [rcx + 0x88]
sub r9d, 1
je 0x14019afe3
sub r9d, 1
je 0x14019b016
sub r9d, 1
je 0x14019b007
sub r9d, 1
je 0x14019b016
sub r9d, 1
je 0x14019b016
cmp r9d, 1
jne 0x14019b026
mov rcx, qword [rcx + 0x58]
mov r9, r10
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14019b026
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x14019b01d
mov ebx, eax
jmp 0x14019b026
mov rcx, qword [rcx + 0x50]
mov r9, r10
mov rax, qword [rcx]
call qword [rax + 0x20]
jmp 0x14019b003
mov ebx, 0x8000ffff
jmp 0x14019b026
movzx ebx, ax
or ebx, 0x80070000
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140026e63
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x140026e96
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x140026e9b
call fcn.14003cad0
mov ecx, dword [0x1400d023c]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov qword [rcx + 0x48], 1
mov qword [rcx + 0x50], rax
mov qword [rcx + 0x58], rdx
add rsp, 0x38
ret
Function at 0x14002df90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14002e020
cmp r10, r11
jb 0x14002e097
cmp r10, rdx
ja 0x14002e0ab
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14002e022
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14002e000
jmp 0x14002e085
ja 0x14002e02a
mov r11, r10
cmp rax, r8
jne 0x14002dfc4
add rsi, rdi
lea rdx, [rdi + 1]
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
movzx r8d, byte [rdi]
test r8b, r8b
jns 0x14002e060
cmp rdx, rsi
je 0x14002e0bc
movzx r9d, byte [rdx]
inc rdx
and r8d, 0x7f
shl r8d, 8
or r8d, r9d
mov rdi, rdx
sub ecx, r8d
js 0x14002e087
xor al, 1
xor edx, edx
cmp rdi, rsi
setne r8b
test rdi, rdi
je 0x14002e087
mov dl, r8b
add rdx, rdi
cmp rdi, rsi
jne 0x14002e040
jmp 0x14002e087
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140053620
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140053520
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valueSymFromAddrW
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400531e0
ud2

Function at 0x140034e30
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x140034e51
cmp rax, rcx
je 0x140034e56
cmp rdx, 4
jae 0x140034e59
xor eax, eax
xor r8d, r8d
jmp 0x140034ef0
jmp fcn.14002c550
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140055430]
movdqa xmm3, xmmword [0x140055440]
pxor xmm1, xmm1
nop word [rax + rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140034e80
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140034f07
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140034ef0
ret
Function at 0x140035870
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x1400358cb
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1400358cb
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x1400358e6
cmp eax, 0x42
jne 0x1400358cb
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140035996
cmp byte [r9 + r11], 0x5f
jne 0x140035996
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1400359fe
mov rcx, rsi
xor edx, edx
call fcn.140030fa0
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.140030fa0
test al, al
jne 0x140035a98
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140035922
lea rdx, [0x1400ad3bb]
mov r8d, 1
call fcn.14002d060
test al, al
jne 0x140035a98
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1400358da
xor r14d, r14d
lea rbx, [0x1400acf70]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140035954
cmp byte [rax + rcx], 0x45
je 0x140035aba
sub r14, 1
jb 0x140035979
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140035979
mov r8d, 2
mov rdx, rbx
call fcn.14002d060
test al, al
jne 0x140035a98
mov rcx, rsi
call fcn.140032930
test al, al
jne 0x140035a98
mov rax, qword [rsi]
test rax, rax
jne 0x140035940
jmp 0x1400358da
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x140035a5f
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x1400359f2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1400359dc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1400359cb
add dl, 0xa9
jmp 0x1400359da
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140035a5f
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140035a5f
movzx edx, bl
add rax, rdx
jae 0x1400359a0
jmp 0x140035a5f
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140035a5f
cmp rax, rcx
jae 0x140035a5c
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x140035ab2
cmp qword [rsi + 0x20], 0
je 0x140035aab
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.140035870
mov edi, eax
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
cmp al, 2
jne 0x1400358da
jmp 0x140035a98
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140035aa0
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x1400acf30]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.14002d060
test al, al
je 0x140035aa0
mov dil, 2
jmp 0x1400358da
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1400358da
mov dil, 1
xor r8d, r8d
jmp 0x140035a61
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1400358da
Function at 0x140038870
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1400ad818]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400388e3
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14003891a
test eax, eax
js 0x1400388f4
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14003890d
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.14003adc0
mov rcx, rax
call fcn.1400387b0
mov ecx, 7
int 0x29
ud2