joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400db5c8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x1400db692
test rbx, rbx
je 0x1400db692
test r9, r9
je 0x1400db692
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400db68e
cmp dword [rsp + 0x48], 3
jne 0x1400db68e
cmp dword [rdi], eax
je 0x1400db68e
mov ecx, dword [rdi]
call fcn.140007afc
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400db682
cmp dword [rsp + 0x48], 3
jne 0x1400db682
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx]
call fcn.140007af4
and qword [rbx], 0
xor eax, eax
jmp 0x1400db66d
call fcn.140009edc
int3

Function at 0x1400db950
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400db961
xor eax, eax
jmp 0x1400db98f
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400db998
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400db9a9
xor eax, eax
jmp 0x1400db9cd
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, 3
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14012c520
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rax - 0x18], 0
mov rbp, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.14019e6dc
test eax, eax
jne 0x14012c584
mov eax, dword [rsp + 0x30]
lea r8, str._s_s_X.tmp
mov dword [rsp + 0x28], eax
mov r9, rsi
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call fcn.14000bac0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14012c596
jmp 0x14012c544
mov r9, rbx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14019fbc4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14019f9c0
Function at 0x1401a4504
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1401a451a
mov al, 1
jmp 0x1401a457a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1401a452b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1401a4578
mov ecx, dword [rcx + 0x18]
nop
call fcn.14019eec0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401a4578
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1401a4578
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1401a4578
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1401a457a
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1401a5118
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140238670]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1401a5162
call fcn.140193650
mov dword [rax], send
call fcn.140193670
mov dword [rax], recv
call fcn.14018fc98
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140188cb0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1401a516d
lea eax, [rbx + 1]
jmp 0x1401a514f
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1401a514d
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1401a514f
Function at 0x1401a8544
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1402477e0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1401a859b
cmp word [rdx], r13w
jne 0x1401a859b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1401a85a0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1401a86c5
mov r11d, recv
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1401a86e6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1401a85d9
mov rdx, r9
mov word [rbx], cx
jmp 0x1401a8600
cmp r9, r8
jae 0x1401a8610
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1401a85ba
jmp 0x1401a86c5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401a86ba
cmp dword [rsp + 0x80], esi
je 0x1401a86ba
lea r8, [0x1402477e0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1401a8692
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1401a8662
mov word [rbx], r13w
jmp 0x1401a86c2
mov ecx, recv
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1401a866f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1401a86c2
cmp word [rsp + 0x70], r13w
jne 0x1401a869f
cmp rbx, r14
je 0x1401a865c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1401a9084
cmp word [rsp + 0x70], r13w
je 0x1401a86c5
mov ecx, recv
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1402477e0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1401a86bf
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1401a86c5
Function at 0x1401aa744
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 0x1401aa774
xor eax, eax
jmp 0x1401aa837
mov rbp, rbx
cmp word [rax], si
je 0x1401aa799
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401aa780
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401aa77c
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.1401a5254
movsxd r14, eax
test eax, eax
jne 0x1401aa7d7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1401aa76d
mov rcx, r14
call fcn.1401a1110
mov rdi, rax
test rax, rax
jne 0x1401aa7f0
xor ecx, ecx
call fcn.1401a10d4
jmp 0x1401aa7cc
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.1401a5254
test eax, eax
jne 0x1401aa821
mov rcx, rdi
call fcn.1401a10d4
jmp 0x1401aa82b
xor ecx, ecx
call fcn.1401a10d4
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 0x1401aa854
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1401aa8db
mov rsi, rbx
cmp word [rax], bp
je 0x1401aa89a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1401aa884
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1401aa880
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1401a1110
mov rdi, rax
test rax, rax
je 0x1401aa8c8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14018ad80
mov rbp, rdi
xor ecx, ecx
call fcn.1401a10d4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401af1a0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140196190
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401af22a
cmp byte [rbp - 0x21], r15b
je 0x1401af225
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401af260
call fcn.1401a48b8
test eax, eax
jne 0x1401af24c
cmp byte [rbp - 0x21], r15b
je 0x1401af244
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401af260
cmp byte [rbp - 0x21], r15b
je 0x1401af25d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14019a168
test eax, eax
jne 0x1401af300
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140196190
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401af29f
cmp byte [rbp - 0x21], r15b
je 0x1401af2d4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401af2d4
call fcn.1401a48b8
test eax, eax
jne 0x1401af2c0
cmp byte [rbp - 0x21], r15b
je 0x1401af2b9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401af2d4
cmp byte [rbp - 0x21], r15b
je 0x1401af2d1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14019a168
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401af300
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401af303
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401af311
mov rcx, rdi
call fcn.1401a10d4
cmp byte [rbp + 0x3f], r15b
je 0x1401af320
mov rcx, qword [rbp + 0x27]
call fcn.1401a10d4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1401af3d8
Capabilities:
Clear file content

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 rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1401a9084
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1401a9084
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401af528
cmp rax, 0xffffffffffffffff
je 0x1401af528
xor edi, edi
test rbp, rbp
jle 0x1401af4d3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1401a105c
mov rbx, rax
test rax, rax
jne 0x1401af460
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401af4c9
mov edx, 0x8000
mov ecx, r14d
call fcn.1401a0cd8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1401a2784
cmp eax, 0xffffffff
je 0x1401af4a9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1401af470
mov edx, r15d
mov ecx, r14d
call fcn.1401a0cd8
jmp 0x1401af4c9
cmp byte [rsi + 0x38], dil
je 0x1401af4c0
cmp dword [rsi + 0x34], 5
jne 0x1401af4c0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], send
cmp byte [rsi + 0x30], dil
je 0x1401af4c9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1401a10d4
jmp 0x1401af53c
jns 0x1401af53c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1401a9084
cmp rax, 0xffffffffffffffff
jne 0x1401af4f4
cmp byte [rsi + 0x30], dil
je 0x1401af53c
mov edi, dword [rsi + 0x2c]
jmp 0x1401af53c
mov ecx, r14d
call fcn.14019eec0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401af53c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, recv
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], send
jmp 0x1401af53c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401af535
mov eax, dword [rsi + 0x2c]
jmp 0x1401af53a
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1401a9084
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400281c8
Capabilities:
Clear file content

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 rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001bbec
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001bbec
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028318
cmp rax, 0xffffffffffffffff
je 0x140028318
xor edi, edi
test rbp, rbp
jle 0x1400282c3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001e538
mov rbx, rax
test rax, rax
jne 0x140028250
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400282b9
mov edx, 0x8000
mov ecx, r14d
call fcn.140019528
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001c8ec
cmp eax, 0xffffffff
je 0x140028299
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028260
mov edx, r15d
mov ecx, r14d
call fcn.140019528
jmp 0x1400282b9
cmp byte [rsi + 0x38], dil
je 0x1400282b0
cmp dword [rsi + 0x34], 5
jne 0x1400282b0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400282b9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a290
jmp 0x14002832c
jns 0x14002832c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001bbec
cmp rax, 0xffffffffffffffff
jne 0x1400282e4
cmp byte [rsi + 0x30], dil
je 0x14002832c
mov edi, dword [rsi + 0x2c]
jmp 0x14002832c
mov ecx, r14d
call fcn.140018040
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14002832c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14002832c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028325
mov eax, dword [rsi + 0x2c]
jmp 0x14002832a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001bbec
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x142b45b74
Capabilities:
Encode data using xor

Disassembly:
jmp 0x142b45b7e
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 0x142b45ba7
pop rbp
sub rbp, 0x33
sub rbp, 0x2b45b74
sub rsp, 0x20
jmp 0x142b45bc6
mov rax, 0x2b45b74
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x1ed91ef3
xor byte [rax], dl
inc rax
dec rcx
jne 0x142b45be5
jmp 0x142b45bfc
mov ebx, 0x7a781a7a
iretd
Function at 0x140001310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov byte [rsp + 0x2f], r8b
mov qword [rsp + 0x30], rdx
mov rdi, rcx
mov rsi, qword [rcx + 0x80]
mov r15, qword [rcx + 0x88]
xor r14d, r14d
mov r13, qword [sym.imp.kernel32.dll_SwitchToThread]
mov rbx, qword [sym.imp.kernel32.dll_HeapFree]
xor ebp, ebp
jmp 0x140001367
call r13
cmp ebp, 0xb
adc ebp, 0
mov rsi, qword [rdi + 0x80]
mov r15, qword [rdi + 0x88]
mov r12d, esi
shr r12d, 1
and r12d, 0x1f
cmp r12d, 0x1f
jne 0x1400013a0
cmp ebp, 6
ja 0x140001350
mov eax, 1
nop word cs:[rax + rax]
pause
mov edx, eax
mov ecx, ebp
shr edx, cl
inc eax
test edx, edx
je 0x140001390
jmp 0x140001353
mov rax, r12
xor rax, 0x1e
or rax, r14
jne 0x1400013db
movzx eax, byte [0x1400a8258]
mov edx, 0x2f0
xor ecx, ecx
call fcn.140040990
test rax, rax
je 0x14000154e
mov r14, rax
mov r8d, 0x2f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
test r15, r15
je 0x14000142d
lea rcx, [rsi + 2]
mov rax, rsi
lock cmpxchg qword [rdi + 0x80], rcx
je 0x1400014ae
mov r15, qword [rdi + 0x88]
cmp ebp, 6
mov ecx, 6
cmovb ecx, ebp
mov edx, 1
nop dword [rax]
pause
mov r8d, edx
shr r8d, cl
inc edx
test r8d, r8d
je 0x140001410
cmp ebp, 7
adc ebp, 0
mov rsi, rax
jmp 0x140001367
movzx eax, byte [0x1400a8258]
mov edx, 0x2f0
xor ecx, ecx
call fcn.140040990
test rax, rax
je 0x14000154e
mov r15, rax
mov r8d, 0x2f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor eax, eax
lock cmpxchg qword [rdi + 0x88], r15
jne 0x140001485
mov qword [rdi + 8], r15
lea rcx, [rsi + 2]
mov rax, rsi
lock cmpxchg qword [rdi + 0x80], rcx
jne 0x1400013f6
jmp 0x1400014ae
test r14, r14
je 0x140001498
mov rcx, qword [0x1400a81f8]
xor edx, edx
mov r8, r14
call rbx
mov rsi, qword [rdi + 0x80]
mov r14, r15
mov r15, qword [rdi + 0x88]
jmp 0x140001367
cmp r12d, 0x1e
jne 0x1400014f5
test r14, r14
je 0x14000155d
add rsi, 4
mov qword [rdi + 0x88], r14
mov qword [rdi + 0x80], rsi
mov qword [r15], r14
mov rax, qword [rsp + 0x30]
mov qword [r15 + 0x2d8], rax
movzx eax, byte [rsp + 0x2f]
mov byte [r15 + 0x2e0], al
lock or qword [r15 + 0x2e8], 1
jmp 0x14000153c
lea rax, [r12 + r12*2]
mov rcx, qword [rsp + 0x30]
mov qword [r15 + rax*8 + 8], rcx
movzx ecx, byte [rsp + 0x2f]
mov byte [r15 + rax*8 + 0x10], cl
lock or qword [r15 + rax*8 + 0x18], 1
test r14, r14
je 0x14000153c
mov rcx, qword [0x1400a81f8]
xor edx, edx
mov r8, r14
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0x2f0
call fcn.140045480
lea rcx, str.C:Users.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrossbeam_queue_0.3.11_src_seg_queue.rs
call fcn.1400459f0
int3
Function at 0x140024340
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x140024365
cmp rax, rcx
je 0x14002436b
cmp rdx, 4
jae 0x14002436f
xor eax, eax
xor r8d, r8d
jmp 0x140024400
pop rbp
jmp fcn.140012180
xor eax, eax
pop rbp
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140047640]
movdqa xmm3, xmmword [0x1400475e0]
pxor xmm1, xmm1
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 0x140024390
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140024417
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140024400
pop rbp
ret
Function at 0x14002eae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
movdqa xmmword [rbp - 0x10], xmm6
jne 0x14002eaea
mov rdi, r8
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov rbx, qword [rsi + 0x10]
xor r14d, r14d
idiv byte [rax]
cmp rbx, 3
jb 0x14002eb51
movzx r8d, byte [rbx + rcx - 2]
mov r9d, r8d
and r9b, 0xf0
xor r14d, r14d
cmp r9b, 0xa0
jne 0x14002eb51
xor r14d, r14d
cmp byte [rbx + rcx - 3], 0xed
jne 0x14002eb51
movzx r14d, byte [rbx + rcx - 1]
and r8d, 0xf
and r14d, 0x3f
shl r8d, 0x10
invalid
shl r14d, 0xa
or r14d, r8d
mov al, 1
cmp rdi, 3
jb 0x14002ec2c
rol dword [rax], 1
add byte [rax], al
invalid
cmp byte [rdx], 0xed
jne 0x14002ec35
movzx r15d, byte [rdx + 1]
mov r8d, r15d
mov eax, edi
and r8b, 0xf0
cmp r8b, 0xb0
cmp al, 0xb0
setne r8b
xor al, 1
or al, r8b
jne 0x14002ec35
cmp rbx, 3
jb 0x14002eb91
add rbx, 0xfffffffffffffffd
mov qword [rsi + 0x10], rbx
movzx r12d, byte [rdx + 2]
shl r15d, 6
lea r8, [rdi + 1]
mov rax, qword [rsi]
mov rcx, rax
invalid
sub rcx, rbx
cmp rcx, r8
jb 0x14002ed1f
and r15d, 0x3c0
or r15d, r14d
or r12d, r15d
lea r8d, [r12 + 0x10000]
mov r9d, r8d
shr r9d, 0x12
shr r8d, 4
and r8d, 0xff00
and eax, 0xff00
or r8d, r9d
shl r15d, 0xa
and r15d, 0xff0000
or r15d, r8d
shl r12d, 0x18
in al, 0x18
or r12d, r15d
movd xmm6, r12d
pand xmm6, xmmword [str._a___]
por xmm6, xmmword [0x1400476e0]
cmp rcx, 3
jbe 0x14002ed51
add rdx, 3
mov rcx, qword [rsi + 8]
movd dword [rcx + rbx], xmm6
add rbx, 4
mov qword [rsi + 0x10], rbx
add rdi, 0xfffffffffffffffd
jmp 0x14002ecc3
test rdi, rdi
je 0x14002ecc0
lea rax, [rdx + rdi]
mov r9, rdx
jmp case.0x14000b6b9.1270
invalid
add r9, 2
cmp r8, rax
cmovne r8, r9
nop dword [rax]
mov r9, r8
cmp r8, rax
je 0x14002ecc0
lea r8, [r9 + 1]
movzx r10d, byte [r9]
test r10b, r10b
jns 0x14002ec50
cmp r10b, 0xe0
jb 0x14002ec3e
cmp r10b, 0xed
jne 0x14002ec8f
cmp r8, rax
je 0x14002ecc0
lea r8, [r9 + 2]
cmp r8, rax
je 0x14002ecc0
cmp byte [r9 + 1], 0x9f
ja 0x14002ecbc
add r9, 3
mov r8, r9
invalid
jmp 0x14002ec50
add r9, 2
cmp r8, rax
cmove r9, r8
xor r8d, r8d
cmp r9, rax
setne r8b
ror byte [rbp + 1], 0xc8
cmp r10b, 0xf0
jb 0x14002ec50
xor r9d, r9d
cmp r8, rax
setne r9b
add r8, r9
jmp 0x14002ec50
mov byte [rsi + 0x18], 0
mov rax, qword [rsi]
sub rax, rbx
cmp rax, rdi
jb 0x14002ecf2
add rcx, rbx
mov r8, rdi
mov eax, edi
call sub.VCRUNTIME140.dll_memcpy
add rbx, rdi
mov qword [rsi + 0x10], rbx
movaps xmm6, xmmword [rbp - 0x10]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r14, rdx
mov rdx, rbx
mov r8, rdi
call fcn.1400467e0
mov rdx, r14
mov rcx, qword [rsi + 8]
mov rbx, qword [rsi + 0x10]
jmp 0x14002eccb
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r13, rdx
mov rdx, rbx
call fcn.1400467e0
mov rdx, r13
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
mov rcx, rax
sub rcx, rbx
jmp 0x14002ebb0
mov qword [rsp + 0x20], 1
mov r8d, 4
mov r9d, 1
mov rcx, rsi
mov r14, rdx
mov rdx, rbx
call fcn.1400467e0
mov rdx, r14
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
jmp 0x14002ec0e
Function at 0x14002f1a0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov esi, ecx