joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003e760
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 0x14003e7f0
cmp r11, r10
ja 0x14003e866
cmp r10, rdx
ja 0x14003e878
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14003e7f2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14003e7d0
jmp 0x14003e854
ja 0x14003e7fa
mov r11, r10
cmp rax, r8
jne 0x14003e794
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 0x14003e830
mov rdi, r8
sub ecx, edx
jns 0x14003e84b
jmp 0x14003e856
cmp r8, rsi
je 0x14003e887
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14003e856
xor al, 1
cmp rdi, rsi
jne 0x14003e810
jmp 0x14003e856
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.14003a6d0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140035fd0
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140036810
int3

Function at 0x140041400
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x30
mov ecx, dword [0x14016b020]
test ecx, ecx
je 0x14004142c
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140041445
mov rsi, rax
cmp qword [rax + 8], 0
je 0x140041445
add rsi, 0x10
jmp 0x14004145e
lea rcx, [0x14016b008]
call fcn.140113520
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x14004141c
mov ecx, dword [0x14016b020]
test ecx, ecx
je 0x140041467
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x140041480
xor esi, esi
mov rax, rsi
add rsp, 0x30
pop rsi
ret
lea rcx, [0x14016b008]
call fcn.140113520
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14004145c
mov rsi, rax
test rax, rax
jne 0x140041502
movzx eax, byte [0x140222418]
mov rcx, qword [0x140222380]
test rcx, rcx
jne 0x1400414b3
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x140041550
mov rcx, rax
mov qword [0x140222380], rax
mov r8d, 0x18
xor edx, edx
call fcn.140167f74
test rax, rax
je 0x140041550
mov rsi, rax
lea rax, [0x14016b008]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14016b020]
test ecx, ecx
jne 0x1400414f8
lea rcx, [0x14016b008]
call fcn.140113520
mov ecx, eax
jmp 0x1400414fa
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
call fcn.140041330
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], rax
test rdx, rdx
je 0x140041426
test rcx, rcx
je 0x140041426
lock dec qword [rcx]
jne 0x140041426
lea rcx, [rsp + 0x28]
call fcn.140085a60
jmp 0x140041426
mov ecx, 8
mov edx, 0x18
call fcn.1400315c0
int3
Function at 0x1400415f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x14016b040]
test ecx, ecx
je 0x140041620
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140041639
mov rsi, rax
cmp qword [rax + 8], 0
je 0x140041639
add rsi, 8
jmp 0x14004170e
lea rcx, [0x14016b028]
call fcn.140113520
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x14004160d
mov ecx, dword [0x14016b040]
test ecx, ecx
je 0x1400416ef
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14004170c
mov rsi, rax
test rax, rax
jne 0x1400416ca
movzx eax, byte [0x140222418]
mov rcx, qword [0x140222380]
test rcx, rcx
jne 0x14004168b
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x140041740
mov rcx, rax
mov qword [0x140222380], rax
mov r8d, 0x10
xor edx, edx
call fcn.140167f74
test rax, rax
je 0x140041740
mov rsi, rax
lea rax, [0x14016b028]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14016b040]
test ecx, ecx
je 0x140041718
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
call fcn.140113820
test rax, rax
je 0x140041728
add rsi, 8
mov rdi, qword [rax + 0x10]
lock dec qword [rax]
jne 0x1400416ea
mov rcx, rax
call fcn.140084760
mov qword [rsi], rdi
jmp 0x14004170e
lea rcx, [0x14016b028]
call fcn.140113520
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x140041658
xor esi, esi
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14016b028]
call fcn.140113520
mov ecx, eax
jmp 0x1400416c2
lea rcx, [0x1401e2be0]
lea r8, [0x1401e2c40]
mov edx, 0x5e
call fcn.14003ce90
mov ecx, 8
mov edx, 0x10
call fcn.1400315c0
int3
Function at 0x14004f7c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x14004f856
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet_]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x14016e100]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14004fb60
test rdi, rdi
je 0x14004f8e5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14004f8fe
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x14004f9f6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x14004fa78
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x14004fa03
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x14004f8c0
cmp r9, 8
jae 0x14004fa0c
jmp 0x14004fa78
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14004fb60
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x14004fa78
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x14004fa78
mov r8, rcx
cmp r9, 8
jb 0x14004fa78
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x14004fa10
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14004fb60
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 0x14004fba2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14004fbaa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14004fbbb
jmp 0x14004fbd2
xor r10d, r10d
jmp 0x14004fc5d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14004fbd2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14004fbe9
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 0x14004fc09
add r11, r8
jmp 0x14004fd3a
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 0x14004fcd2
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 0x14004fc80
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x14004fcf0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x14004fd02
jmp 0x14004fd1c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14004fd1c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14004fd36
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 0x14008ccb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x14008cd46
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [0x1401703f0]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x140170400]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14008d790
test rdi, rdi
je 0x14008cdd5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14008cdee
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x14008cee6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x14008cf68
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x14008cef3
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x14008cdb0
cmp r9, 8
jae 0x14008cefc
jmp 0x14008cf68
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14008d790
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x14008cf68
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x14008cf68
mov r8, rcx
cmp r9, 8
jb 0x14008cf68
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x14008cf00
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14008d790
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 0x14008d7d2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14008d7da
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14008d7eb
jmp 0x14008d802
xor r10d, r10d
jmp 0x14008d88d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14008d802
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14008d819
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 0x14008d839
add r11, r8
jmp 0x14008d96a
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 0x14008d902
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 0x14008d8b0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x14008d920
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x14008d932
jmp 0x14008d94c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14008d94c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14008d966
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 0x140092810
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, r8
mov rbx, rdx
mov rsi, rcx
lea rcx, [rsp + 0x50]
mov r8d, 0xb
mov rdx, rax
call fcn.1400924f0
mov dword [rsp + 0x30], 0x800
mov dword [rsp + 0x34], 0
movzx eax, byte [0x140222418]
mov rcx, qword [0x140222380]
test rcx, rcx
jne 0x140092877
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400929ad
mov rcx, rax
mov qword [0x140222380], rax
mov r8d, 0x800
xor edx, edx
call fcn.140167f74
test rax, rax
je 0x1400929ad
mov r14, rax
mov qword [rsp + 0x38], 0x800
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov rdi, qword [rsp + 0x58]
lea rbp, [rsp + 0x30]
lea r15, [rsp + 0x34]
mov r12, qword [rsp + 0x38]
mov r13, qword [rsp + 0x48]
sub r12, r13
nop word cs:[rax + rax]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x140092910
mov r8d, dword [rsp + 0x30]
cmp r12, r8
jae 0x1400928d0
lea rcx, [rsp + 0x38]
mov rdx, r13
call fcn.14014c280
mov r14, qword [rsp + 0x40]
jmp 0x1400928b6
test eax, eax
jne 0x140092932
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x14009298f
movabs rax, 0xde00000002
jmp 0x14009293a
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
cmp qword [rsp + 0x38], 0
je 0x140092964
mov rcx, qword [0x140222380]
xor edx, edx
mov r8, r14
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0x50], 0
je 0x14009297d
mov rcx, qword [0x140222380]
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapFree
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
cmp qword [rsp + 0x50], 0
jne 0x14009296c
jmp 0x14009297d
mov ecx, 1
mov edx, 0x800
call fcn.1400315c0
int3
Function at 0x1400a10d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x80
mov ecx, dword [0x14016b298]
test ecx, ecx
je 0x1400a123a
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400a1101
mov rsi, rax
cmp qword [rax + 8], 0
jne 0x1400a126c
mov ecx, dword [0x14016b298]
test ecx, ecx
je 0x1400a1272
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400a128f
mov rsi, rax
test rax, rax
jne 0x1400a1196
movzx eax, byte [0x140222418]
mov rcx, qword [0x140222380]
test rcx, rcx
jne 0x1400a1153
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400a12b0
mov rcx, rax
mov qword [0x140222380], rax
mov r8d, 0x60
xor edx, edx
call fcn.140167f74
test rax, rax
je 0x1400a12b0
mov rsi, rax
lea rax, [0x14016b280]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14016b298]
test ecx, ecx
je 0x1400a129d
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rsi + 0x48]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rsi + 8]
movups xmm1, xmmword [rsi + 0x18]
movups xmm2, xmmword [rsi + 0x28]
movups xmm3, xmmword [rsi + 0x38]
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 8], 1
movups xmm0, xmmword [0x1401e6598]
movups xmmword [rsi + 0x50], xmm0
movups xmm0, xmmword [0x1401e6588]
movups xmmword [rsi + 0x40], xmm0
movups xmm0, xmmword [0x1401e6578]
movups xmmword [rsi + 0x30], xmm0
movups xmm0, xmmword [0x1401e6568]
movups xmmword [rsi + 0x20], xmm0
movups xmm0, xmmword [0x1401e6558]
movups xmmword [rsi + 0x10], xmm0
cmp qword [rsp + 0x20], 0
je 0x1400a126c
mov rax, qword [rsp + 0x30]
cmp rax, 2
je 0x1400a126c
lea rcx, [rsp + 0x38]
test rax, rax
je 0x1400a125c
mov rax, qword [rsp + 0x38]
lock dec qword [rax]
jne 0x1400a126c
call fcn.1400a4980
jmp 0x1400a126c
lea rcx, [0x14016b280]
call fcn.140113520
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x1400a10f3
jmp 0x1400a1101
mov rax, qword [rsp + 0x38]
lock dec qword [rax]
jne 0x1400a126c
call fcn.1400189d0
add rsi, 0x10
jmp 0x1400a1291
lea rcx, [0x14016b280]
call fcn.140113520
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x1400a1120
xor esi, esi
mov rax, rsi
add rsp, 0x80
pop rsi
ret
lea rcx, [0x14016b280]
call fcn.140113520
mov ecx, eax
jmp 0x1400a118e
mov ecx, 8
mov edx, 0x60
call fcn.1400315c0
int3
Function at 0x1400a47f0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0xd0
mov rsi, rcx
mov rax, qword [rcx]
nop
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x1400a4800
test al, 1
je 0x1400a48a9
test al, 2
jne 0x1400a48c1
test al, 8
jne 0x1400a483a
lea rcx, [rsi + 0x20]
mov byte [rsp + 0xc8], 4
lea rdx, [rsp + 0x58]
call fcn.1400a46e0
jmp 0x1400a4858
test al, 0x10
je 0x1400a4858
mov rax, qword [rsi + 0xb8]
test rax, rax
je 0x1400a4945
mov rcx, qword [rsi + 0xc0]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.140145260
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rsp + 0x28], rax
shl rax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x28]
jb 0x1400a48d9
jne 0x1400a489f
mov rcx, rsi
add rsp, 0xd0
pop rsi
jmp fcn.1400a4620
nop
add rsp, 0xd0
pop rsi
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1401e7990]
mov edx, 0x23
call fcn.140036810
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1401e79d0]
mov edx, 0x25
call fcn.140036810
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [fcn.140035180]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
lea rax, str.current:___sub:
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 2
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 2
lea rdx, [0x1401e7a18]
lea rcx, [rsp + 0x58]
call fcn.140034e00
lea rax, str.waker_missing
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 1
lea rax, [0x14020d258]
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
lea rdx, str._home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_runtime_task_core.rs
lea rcx, [rsp + 0x58]
call fcn.140034e00
int3
Function at 0x1400a5d60
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0xd0
mov rsi, rcx
mov rax, qword [rcx]
nop
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x1400a5d70
test al, 1
je 0x1400a5e19
test al, 2
jne 0x1400a5e31
test al, 8
jne 0x1400a5daa
lea rcx, [rsi + 0x20]
mov byte [rsp + 0xc8], 4
lea rdx, [rsp + 0x58]
call fcn.1400a46e0
jmp 0x1400a5dc8
test al, 0x10
je 0x1400a5dc8
mov rax, qword [rsi + 0xb8]
test rax, rax
je 0x1400a5eb5
mov rcx, qword [rsi + 0xc0]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.140143d80
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rsp + 0x28], rax
shl rax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x28]
jb 0x1400a5e49
jne 0x1400a5e0f
mov rcx, rsi
add rsp, 0xd0
pop rsi
jmp fcn.1400a5ca0
nop
add rsp, 0xd0
pop rsi
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1401e7990]
mov edx, 0x23
call fcn.140036810
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1401e79d0]
mov edx, 0x25
call fcn.140036810
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [fcn.140035180]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
lea rax, str.current:___sub:
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 2
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 2
lea rdx, [0x1401e7a18]
lea rcx, [rsp + 0x58]
call fcn.140034e00
lea rax, str.waker_missing
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 1
lea rax, [0x14020d258]
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
lea rdx, str._home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_runtime_task_core.rs
lea rcx, [rsp + 0x58]
call fcn.140034e00
int3