joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140248b00
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x1403a8f38]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x1403b0260]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
test rax, rax
je 0x140248b45
mov ecx, 0x230
add rcx, qword [rax + 0x728]
jmp 0x140248b59
mov ecx, dword [0x1403a8f18]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
test rax, rax
je 0x140248b99
movabs rax, 0x7ffffffffffffff8
cmp rsi, rax
jge 0x140248bb2
add rsi, 7
and rsi, 0xfffffffffffffff8
mov rdi, qword [rcx]
mov rax, qword [rcx + 8]
sub rax, rdi
cmp rax, rsi
jge 0x140248b8c
mov rdx, rsi
call fcn.1401c9cd0
mov rdi, rax
jmp 0x140248b9b
lea rax, [rdi + rsi]
mov qword [rcx], rax
add qword [rcx + 0x10], rsi
jmp 0x140248b9b
xor edi, edi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140265fa0
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rax, str..._.._runtime_vm_zone.h
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x107
lea rdx, str.Zone::Alloc:_size_is_too_large:_size_lld
lea rcx, [rsp + 0x20]
mov r8, rsi
call fcn.140023be0
int3

Function at 0x140264060
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x1403a6e30]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14026408c
cmp byte [rax + 8], 0
jne 0x140264096
mov rcx, rax
call fcn.140048a50
test rax, rax
jne 0x140264096
call fcn.14018fe10
test rax, rax
je 0x1402640a6
mov rcx, rax
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14018fc30
nop
add rsp, 0x20
pop rsi
ret

Function at 0x140278160
Capabilities:
Encode data using xor

Disassembly:
mov rax, rcx
neg rcx
test rax, 7
je 0x14027817d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1402781d8
test al, 7
jne 0x140278170
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140278191
mov rdx, qword [rax - 8]
test dl, dl
je 0x140278202
test dh, dh
je 0x1402781fc
shr rdx, 0x10
test dl, dl
je 0x1402781f6
test dh, dh
je 0x1402781f0
shr rdx, 0x10
test dl, dl
je 0x1402781ea
test dh, dh
je 0x1402781e4
shr edx, 0x10
test dl, dl
je 0x1402781de
test dh, dh
jne 0x140278191
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret
Function at 0x14027bb50
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1403b13d0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14027bbae
cmp word [rdx], r12w
jne 0x14027bbae
or byte [rax + r8*8 + 0x38], cl
jmp 0x14027bbb4
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14027bd0f
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14027bcea
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14027bbed
mov rcx, r9
jmp 0x14027bc10
cmp r9, rdx
jae 0x14027bc27
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14027bbd1
jmp 0x14027bd0f
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14027bce4
cmp dword [rsp + 0x80], edi
je 0x14027bce4
mov rdx, r14
lea r11, [0x1403b13d0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14027bcbd
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14027bc90
mov word [rbx], r12w
jmp 0x14027bd0b
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14027bc99
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14027bd0b
cmp word [rsp + 0x70], r12w
jne 0x14027bcca
cmp rbx, rsi
je 0x14027bc8a
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140279988
cmp word [rsp + 0x70], r12w
je 0x14027bd0f
mov word [rbx], r13w
jmp 0x14027bd0b
lea r11, [0x1403b13d0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14027bd07
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14027bd0f
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14027f650
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x240
mov rax, qword [0x1403a8f38]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [0x14038e6d0]
mov rbp, rcx
call fcn.1402960a8
xor edi, edi
test rax, rax
je 0x14027f736
mov ebx, edi
call fcn.140279b00
mov r14d, dword [rax]
call fcn.140279b00
mov r8d, 0x104
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov dword [rax], edi
call fcn.140295ff4
mov rsi, rax
test rax, rax
je 0x14027f6c7
call fcn.140279b00
mov dword [rax], r14d
jmp 0x14027f6f1
call fcn.140279b00
cmp dword [rax], 0x22
jne 0x14027f72e
call fcn.140279b00
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.140295ff4
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x14027f72e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x14027f6f5
cmp rax, 3
je 0x14027f710
mov rcx, rsi
call fcn.14027f5ac
test al, al
je 0x14027f721
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x14027f721
mov dil, 1
mov rcx, rbx
call fcn.14026f0e8
mov al, dil
jmp 0x14027f738
mov rcx, rbx
call fcn.14026f0e8
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140265fa0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140285c98
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140285cb8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140279a74
or eax, 0xffffffff
jmp 0x140285cba
xor eax, eax
add rsp, 0x28
ret

Function at 0x14028c420
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14028c210
Function at 0x1402941a4
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.140279988
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140279988
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1402942f4
cmp rax, 0xffffffffffffffff
je 0x1402942f4
xor edi, edi
test rbp, rbp
jle 0x14029429f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140292f70
mov rbx, rax
test rax, rax
jne 0x14029422c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140294295
mov edx, 0x8000
mov ecx, r14d
call fcn.140285914
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.14027d5bc
cmp eax, 0xffffffff
je 0x140294275
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14029423c
mov edx, r15d
mov ecx, r14d
call fcn.140285914
jmp 0x140294295
cmp byte [rsi + 0x38], dil
je 0x14029428c
cmp dword [rsi + 0x34], 5
jne 0x14029428c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x140294295
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140290cdc
jmp 0x140294308
jns 0x140294308
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140279988
cmp rax, 0xffffffffffffffff
jne 0x1402942c0
cmp byte [rsi + 0x30], dil
je 0x140294308
mov edi, dword [rsi + 0x2c]
jmp 0x140294308
mov ecx, r14d
call fcn.140285728
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140294308
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x140294308
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140294301
mov eax, dword [rsi + 0x2c]
jmp 0x140294306
mov eax, reloc.WS2_32.dll_shutdown
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140279988
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 0x140295b14
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x140295b46
call fcn.140279b00
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.140279fb4
jmp 0x140295c65
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140295c65
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140295c65
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140295b75
lock or dword [rcx + 0x14], 0x10
jmp 0x140295c65
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140295b89
call fcn.14029e130
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140284ff4
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14027bffc
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140295c53
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x140295c1e
mov rcx, rsi
call fcn.140284ff4
cmp eax, edi
je 0x140295c09
mov rcx, rsi
call fcn.140284ff4
cmp eax, 0xfffffffe
je 0x140295c09
mov rcx, rsi
call fcn.140284ff4
movsxd rbx, eax
lea r14, [0x1403b13d0]
mov rcx, rsi
sar rbx, 6
call fcn.140284ff4
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140295c10
lea rdx, [0x1403a9600]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140295c1e
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x140295c42
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x140295c42
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x140295c42
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x140295c68
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret

Function at 0x140295cc4
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x140295ca1
call fcn.140279b00
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.140279fb4
or eax, 0xffffffff
jmp 0x140295cbe
sub dword [rcx + 0x10], 1
jns 0x140295cb0
add rsp, 0x28
jmp fcn.140295b14
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x140295c80
Function at 0x140298a2c
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 0x140298a5c
xor eax, eax
jmp 0x140298b1f
mov rbp, rbx
cmp word [rax], si
je 0x140298a81
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140298a68
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140298a64
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.140293eac
movsxd r14, eax
test eax, eax
jne 0x140298abf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140298a55
mov rcx, r14
call fcn.140290d18
mov rdi, rax
test rax, rax
jne 0x140298ad8
xor ecx, ecx
call fcn.140290cdc
jmp 0x140298ab4
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.140293eac
test eax, eax
jne 0x140298b09
mov rcx, rdi
call fcn.140290cdc
jmp 0x140298b13
xor ecx, ecx
call fcn.140290cdc
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 0x140298b3c
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 0x140298bc3
mov rsi, rbx
cmp word [rax], bp
je 0x140298b82
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140298b6c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140298b68
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140290d18
mov rdi, rax
test rax, rax
je 0x140298bb0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140269610
mov rbp, rdi
xor ecx, ecx
call fcn.140290cdc
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 0x14029f87c
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.140278ba8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14029f906
cmp byte [rbp - 0x21], r15b
je 0x14029f901
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14029f93c
call fcn.140293308
test eax, eax
jne 0x14029f928
cmp byte [rbp - 0x21], r15b
je 0x14029f920
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14029f93c
cmp byte [rbp - 0x21], r15b
je 0x14029f939
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.1402788a4
test eax, eax
jne 0x14029f9dc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140278ba8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14029f97b
cmp byte [rbp - 0x21], r15b
je 0x14029f9b0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14029f9b0
call fcn.140293308
test eax, eax
jne 0x14029f99c
cmp byte [rbp - 0x21], r15b
je 0x14029f995
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14029f9b0
cmp byte [rbp - 0x21], r15b
je 0x14029f9ad
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.1402788a4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14029f9dc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14029f9df
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14029f9ed
mov rcx, rdi
call fcn.140290cdc
cmp byte [rbp + 0x3f], r15b
je 0x14029f9fc
mov rcx, qword [rbp + 0x27]
call fcn.140290cdc
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 0x14004f410
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 0x14004f4a0
cmp r10, r11
jb 0x14004f516
cmp r10, rdx
ja 0x14004f52a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14004f4a2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14004f480
jmp 0x14004f504
ja 0x14004f4aa
mov r11, r10
cmp rax, r8
jne 0x14004f444
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14004f4e0
mov rdi, r8
sub ecx, edx
jns 0x14004f4fb
jmp 0x14004f506
cmp r8, rsi
je 0x14004f53b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14004f506
xor al, 1
cmp rdi, rsi
jne 0x14004f4c0
jmp 0x14004f506
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.14010c160
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14010bf40
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valueC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinapi_util_0.1.5_srcwin.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14010bf50
ud2

Function at 0x140052cc4
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
lea rdi, [rsp + 0x20]
mov qword [rdi], 0
mov rcx, rdx
xor edx, edx
xor r8d, r8d
mov r9, rdi
call sub.shell32.dll_SHGetKnownFolderPath
mov rcx, qword [rdi]
test eax, eax
je 0x140052cfb
call sub.ole32.dll_CoTaskMemFree
mov byte [rsi + 0x18], 2
jmp 0x140052d1a
call sub.kernel32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
call fcn.14009fbb0
mov rcx, qword [rsp + 0x20]
call sub.ole32.dll_CoTaskMemFree
nop
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140055ddb
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx + 0x18]
xor eax, eax
test rbx, rbx
setne al
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
mov r8d, 8
mov rcx, rsi
call fcn.14002034b
test rbx, rbx
je 0x140055e25
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
mov rcx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.14002034b
movzx eax, byte [rdi]
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
mov r8d, 8
mov rcx, rsi
call fcn.14002034b
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x140055e47
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rax
movabs rax, 0x100000001b3
mov r9, qword [rcx + 0x18]
xor r8d, r8d
test r9, r9
setne r8b
mov qword [rsp], r8
mov r8, qword [rdx]
xor r10d, r10d
movzx r11d, byte [rsp + r10]
inc r10
xor r8, r11
imul r8, rax
cmp r10, 8
jne 0x140055e6a
test r9, r9
je 0x140055eac
mov r9, qword [rcx + 8]
test r9, r9
je 0x140055ecf
mov rcx, qword [rcx]
xor r10d, r10d
movzx r11d, byte [rcx + r10]
xor r11, r8
imul r11, rax
inc r10
mov r8, r11
cmp r9, r10
jne 0x140055e93
jmp 0x140055ed2
movzx ecx, byte [rcx]
mov qword [rsp], rcx
xor ecx, ecx
movzx r9d, byte [rsp + rcx]
inc rcx
xor r8, r9
imul r8, rax
cmp rcx, 8
jne 0x140055eb5
mov qword [rdx], r8
jmp 0x140055ed5
mov r11, r8
mov qword [rdx], r11
pop rax
ret
Function at 0x14008d3c3
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1b8
lea rbp, [rsp + 0x80]
and rsp, 0xffffffffffffff80
mov rsi, rdx
mov rdi, rcx
mov r14, qword [rdx + 0x20]
mov r15b, byte [rdx + 0x28]
lea rcx, [rsp + 0x80]
call fcn.14008c33e
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x78], rax
movabs rax, 0x7465646279746573
movabs rcx, 0x6c7967656e657261
movabs rdx, 0xded7d4e2d7dedfc6
movabs r8, 0xa60c596fc19fead0
movabs r9, 0xe414a674f0de7325
mov r11d, 1
lock xadd qword [0x140154868], r11
mov r10, r11
xor r10, rax
lea r12, [r10 + rcx]
mov rbx, r10
rol rbx, 0x10
xor rbx, r12
lea r13, [rbx + rdx]
rol rbx, 0x15
xor rbx, r13
add r10, r8
mov r12, r10
xor r12, r9
rol r10, 0x20
xor r11, r13
add r11, r12
rol r12, 0xd
mov r13, rbx
xor r12, r11
rol r11, 0x20
btc r13, 0x3b
add r10, r13
shrd r13, rbx, 0x30
xor r13, r10
add r11, r13
rol r13, 0x15
add r10, r12
rol r12, 0x11
xor r13, r11
xor r12, r10
rol r10, 0x20
btc r11, 0x3b
add r11, r12
rol r12, 0xd
xor r12, r11
rol r11, 0x20
xor r10, 0xff
add r10, r13
rol r13, 0x10
xor r13, r10
add r11, r13
rol r13, 0x15
add r10, r12
rol r12, 0x11
xor r12, r10
rol r10, 0x20
xor r13, r11
add r11, r12
rol r12, 0xd
xor r12, r11
rol r11, 0x20
add r10, r13
rol r13, 0x10
xor r13, r10
add r11, r13
rol r13, 0x15
add r10, r12
rol r12, 0x11
xor r12, r10
rol r10, 0x20
xor r13, r11
add r11, r12
rol r12, 0xd
add r10, r13
rol r13, 0x10
xor r13, r10
rol r13, 0x15
xor r12, r11
add r10, r12
rol r12, 0x11
mov rbx, r10
rol rbx, 0x20
xor rbx, r12
xor rbx, r13
xor rbx, r10
je 0x14008d438
mov r12, qword [rsi + 0x60]
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x110], xmm1
movups xmmword [rdi + 0x100], xmm0
mov qword [rdi + 0x120], r14
mov byte [rdi + 0x128], r15b
lea rdx, [rsp + 0x80]
mov r8d, 0x100
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x78]
mov qword [rdi + 0x130], rax
mov qword [rdi + 0x138], rbx
mov qword [rdi + 0x140], r12
mov r8, qword [rsi + 0x48]
test r8, r8
je 0x14008d5c6
cmp qword [rsi + 0x40], 0
je 0x14008d5c6
mov rcx, qword [0x140154958]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
nop
lea rsp, [rbp + 0x138]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14008f124
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, rcx
test rcx, rcx
jne 0x14008f266
lea rdx, str.RAYON_NUM_THREADSRAYON_RS_NUM_CPUSThreadPoolBuildError
lea rsi, [rsp + 0x20]
mov r8d, 0x11
mov rcx, rsi
call fcn.1400a32d0
mov al, byte [rsi + 0x18]
mov rbx, qword [rsi]
cmp al, 3
jne 0x14008f1a2
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x14008f1bf
lea rsi, [rsp + 0x20]
mov r8, qword [rsi + 0x10]
mov rcx, rsi
mov rdx, rdi
call fcn.140051a50
mov bpl, byte [rsi]
mov rsi, qword [rsi + 8]
test rbx, rbx
je 0x14008f198
mov rcx, qword [0x140154958]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
test bpl, bpl
jne 0x14008f1bf
jmp 0x14008f224
cmp al, 2
je 0x14008f1bf
test rbx, rbx
je 0x14008f1bf
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x140154958]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
lea rdx, [0x140137e71]
lea rsi, [rsp + 0x20]
mov r8d, 0x11
mov rcx, rsi
call fcn.1400a32d0
mov al, byte [rsi + 0x18]
mov rbx, qword [rsi]
cmp al, 3
jne 0x14008f22b
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x14008f248
lea rsi, [rsp + 0x20]
mov r8, qword [rsi + 0x10]
mov rcx, rsi
mov rdx, rdi
call fcn.140051a50
mov bpl, byte [rsi]
mov rsi, qword [rsi + 8]
test rbx, rbx
je 0x14008f21f
mov rcx, qword [0x140154958]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
test bpl, bpl
jne 0x14008f248
test rsi, rsi
jne 0x14008f266
jmp 0x14008f248
cmp al, 2
je 0x14008f248
test rbx, rbx
je 0x14008f248
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x140154958]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call sub.kernel32.dll_GetSystemInfo
mov esi, dword [rsi + 0x20]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
ret