joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140110540
Capabilities:
Resume thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400ee1a0
mov rcx, qword [rbp - 0x48]
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x50], rcx
lea rcx, [rbp - 0x78]
call fcn.140003070
mov rcx, qword [rbp - 0x50]
call sub.KERNEL32.dll_ResumeThread
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.1400030c0
nop
cmp byte [rbp - 0x40], 0
je 0x1401105b1
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1400ee1e0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1401109f0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
mov qword [rbp - 0x40], r9
mov r14, r9
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x4c], rcx
mov rdx, rsi
mov qword [rbp - 0x54], rdx
mov r8d, edi
mov dword [rbp - 0x44], r8d
mov r9, r14
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.140003070
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.1400030c0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140002035
mov dword [rax + 0xa0], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140111830
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x100]
xor eax, eax
mov qword [rbp - 0x78], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x70], xmm4
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov edi, edx
mov rbx, r8
mov rsi, r9
mov r14, qword [rbp + 0x30]
mov r15, qword [rbp + 0x38]
mov r13, qword [rbp + 0x40]
mov r12, qword [rbp + 0x48]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400ee1a0
nop
lea rcx, [r12 + 0x10]
xor edx, edx
test r12, r12
cmove rcx, rdx
mov qword [rbp - 0x50], rcx
lea rdx, [r13 + 0x10]
xor r8d, r8d
test r13, r13
cmove rdx, r8
mov qword [rbp - 0x58], rdx
lea r8, [r15 + 0x10]
xor r9d, r9d
test r15, r15
cmove r8, r9
mov qword [rbp - 0x60], r8
lea r9, [r14 + 0x10]
xor eax, eax
test r14, r14
cmove r9, rax
mov qword [rbp - 0x68], r9
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x78], rbx
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rcx
mov rcx, qword [rax + 8]
mov qword [rbp - 0x84], rcx
mov edx, edi
mov dword [rbp - 0x7c], edx
mov r8, rbx
mov qword [rbp - 0x8c], r8
mov r9, rsi
mov qword [rbp - 0x94], r9
lea rcx, [rbp - 0xc0]
call fcn.140003070
mov rcx, qword [rbp - 0x84]
mov edx, dword [rbp - 0x7c]
mov r8, qword [rbp - 0x8c]
mov r9, qword [rbp - 0x94]
call sub.ADVAPI32.dll_RegEnumKeyExW
mov ebx, eax
lea rcx, [rbp - 0xc0]
call fcn.1400030c0
nop
xor ecx, ecx
mov qword [rbp - 0x78], rcx
xor ecx, ecx
mov qword [rbp - 0x70], rcx
xor ecx, ecx
mov qword [rbp - 0x68], rcx
xor ecx, ecx
mov qword [rbp - 0x60], rcx
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x14011198d
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1400ee1e0
mov eax, ebx
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140111c80
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov rsi, r8
mov rdi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400ee1a0
nop
test rbx, rbx
je 0x140111cd6
add rbx, 0xc
mov rdx, rbx
jmp 0x140111cd8
xor edx, edx
mov qword [rbp - 0x50], rdx
mov rcx, qword [rbp - 0x48]
mov rbx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rbx
mov rbx, qword [rbp + 0x38]
mov qword [rsp + 0x28], rbx
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x60], rdx
mov r8, rsi
mov qword [rbp - 0x68], r8
mov r9, rdi
mov qword [rbp - 0x70], r9
lea rcx, [rbp - 0x98]
call fcn.140003070
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
call sub.ADVAPI32.dll_RegQueryValueExW
mov ebx, eax
lea rcx, [rbp - 0x98]
call fcn.1400030c0
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x140111d55
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1400ee1e0
mov eax, ebx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14017ada0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x38
cmp r8d, 8
jge 0x14017ae3d
xor eax, eax
cmp r8d, 4
jl 0x14017adf1
add r8d, 0xfffffffc
movsx r10, word [rcx + rax*2]
movsx r9, dx
cmp r10d, r9d
je 0x14017ae38
nop dword [rax]
movsx r10, word [rcx + rax*2 + 2]
cmp r10d, r9d
je 0x14017ae31
movsx r10, word [rcx + rax*2 + 4]
cmp r10d, r9d
je 0x14017ae29
movsx r10, word [rcx + rax*2 + 6]
cmp r10d, r9d
je 0x14017ae21
add rax, 4
test r8d, r8d
jle 0x14017b01a
movsx r9, dx
nop
dec r8d
movsx rdx, word [rcx + rax*2]
cmp edx, r9d
je 0x14017ae38
inc rax
test r8d, r8d
jg 0x14017ae00
jmp 0x14017b01a
add eax, 3
jmp 0x14017b015
add eax, 2
jmp 0x14017b015
inc eax
jmp 0x14017b015
jmp 0x14017b015
movsx r9, dx
movd xmm0, r9d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov rax, rcx
lea edx, [r8 - 8]
movsxd rdx, edx
add rdx, rdx
lea r10, [rax + rdx]
movups xmm1, xmmword [rax]
pcmpeqw xmm1, xmm0
movaps xmmword [rsp + 0x20], xmm1
xorps xmm2, xmm2
pcmpeqw xmm1, xmm2
pmovmskb r9d, xmm1
cmp r9d, 0xffff
jne 0x14017af56
add rax, 0x10
cmp rax, r10
jbe 0x14017ae60
mov eax, r8d
test al, 7
je 0x14017b01a
movups xmm1, xmmword [r10]
pcmpeqw xmm0, xmm1
movaps xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x14017b01a
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx r8d, word [rsp + 2]
shr r8d, 0xf
add r8d, r8d
or ecx, r8d
movzx r8d, word [rsp + 4]
shr r8d, 0xf
shl r8d, 2
or r8d, ecx
mov ecx, r8d
movzx r8d, word [rsp + 6]
shr r8d, 0xf
shl r8d, 3
or r8d, ecx
mov ecx, r8d
shl ecx, 4
or eax, ecx
jne 0x14017b00c
mov ecx, 0x20
jmp 0x14017b00f
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx edx, word [rsp + 0x18]
shr edx, 0xf
movzx r8d, word [rsp + 0x1a]
shr r8d, 0xf
add r8d, r8d
or edx, r8d
movzx r8d, word [rsp + 0x1c]
shr r8d, 0xf
shl r8d, 2
or r8d, edx
mov edx, r8d
movzx r8d, word [rsp + 0x1e]
shr r8d, 0xf
shl r8d, 3
or r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or edx, r8d
jne 0x14017affd
mov r8d, 0x20
jmp 0x14017b001
bsf r8d, edx
sub rax, rcx
shr rax, 1
add eax, r8d
jmp 0x14017b015
bsf ecx, eax
shr rdx, 1
lea eax, [rdx + rcx]
add rsp, 0x38
ret
mov eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x14001c060
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 0x14001c0f0
cmp r11, r10
ja 0x14001c15e
cmp r10, rdx
ja 0x14001c170
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14001c0f2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14001c0d0
jmp 0x14001c14c
ja 0x14001c0fa
mov r11, r10
cmp rax, r8
jne 0x14001c094
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 0x14001c130
cmp rdx, rsi
je 0x14001c17f
movzx r9d, byte [rdx]
inc rdx
and r8d, 0x7f
shl r8d, 8
or r8d, r9d
mov rdi, rdx
sub ecx, r8d
js 0x14001c14e
xor al, 1
xor edx, edx
cmp rdi, rsi
setne dl
add rdx, rdi
cmp rdi, rsi
jne 0x14001c110
jmp 0x14001c14e
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, [0x140194138]
mov rcx, r11
mov rdx, r10
call fcn.14001d650
lea r8, [0x140194138]
mov rcx, r10
call fcn.14001d160
lea rcx, [0x140194120]
call fcn.1400192a0
int3
Function at 0x14001d8c3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
cmp qword [rdx], 0
je 0x14001d906
lea rax, [rdx + 8]
cmp qword [rdx + 0x38], 0xffffffffffffffff
mov r8, qword [rdx + 0x48]
mov r9, qword [rdx + 0x50]
mov r10, qword [rdx + 0x58]
mov rdx, qword [rdx + 0x60]
je 0x14001d9fb
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 0
jmp 0x14001da0a
mov r11b, byte [rdx + 0x1a]
mov r8, qword [rdx + 8]
mov rax, qword [rdx + 0x48]
mov r9, qword [rdx + 0x50]
mov bl, byte [rdx + 0x18]
xor r10d, r10d
test r11b, r11b
jne 0x14001da2f
mov esi, ebx
xor sil, 1
mov byte [rdx + 0x18], sil
mov rsi, r9
test r8, r8
je 0x14001d951
mov rsi, r9
sub rsi, r8
jbe 0x14001d94b
cmp byte [rax + r8], 0xbf
jg 0x14001d951
jmp 0x14001da3d
jne 0x14001da3d
test rsi, rsi
je 0x14001da14
movzx esi, byte [rax + r8]
test sil, sil
jns 0x14001d9b8
mov edi, esi
and edi, 0x1f
movzx r14d, byte [rax + r8 + 1]
and r14d, 0x3f
cmp sil, 0xdf
jbe 0x14001d9a7
movzx ebp, byte [rax + r8 + 2]
shl r14d, 6
and ebp, 0x3f
or ebp, r14d
cmp sil, 0xf0
jb 0x14001d9b1
movzx esi, byte [rax + r8 + 3]
and edi, 7
shl edi, 0x12
shl ebp, 6
and esi, 0x3f
or esi, ebp
or esi, edi
jmp 0x14001d9b8
shl edi, 6
or edi, r14d
mov esi, edi
jmp 0x14001d9b8
shl edi, 0xc
or ebp, edi
mov esi, ebp
test bl, bl
jne 0x14001da18
cmp esi, 0x110000
je 0x14001da28
mov edi, 1
cmp esi, 0x80
jb 0x14001d9ed
mov edi, 2
cmp esi, 0x800
jb 0x14001d9ed
cmp esi, 0x10000
mov edi, 4
sbb rdi, 0
add r8, rdi
mov qword [rdx + 8], r8
mov bl, 1
jmp 0x14001d91c
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 1
mov rdx, rax
call fcn.14001da55
jmp 0x14001da32
test bl, bl
je 0x14001da28
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov r10d, 1
jmp 0x14001da2f
mov byte [rdx + 0x1a], 1
xor r10d, r10d
mov qword [rcx], r10
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea rcx, str._repos_rust1.77.0_library_core_src_str_pattern.rs
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rdx, r9
call fcn.140018e10
int3
Function at 0x1400260e9
Capabilities:
List udp connections and listeners

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov edi, edx
mov rsi, rcx
lea rbx, [rsp + 0x34]
and dword [rbx], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r14d, r14d
xor ecx, ecx
mov rdx, rbx
xor r8d, r8d
mov r9d, edi
call sub.IPHLPAPI.DLL_GetExtendedUdpTable
mov r15d, 1
mov ebp, 0x65
cmp eax, 0x7a
jne 0x140026191
mov ecx, dword [rsp + 0x34]
call fcn.140025f1b
mov r12, rax
mov r13, rdx
mov rcx, r14
mov rdx, r15
call fcn.140025dae
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
mov rcx, r13
mov rdx, rbx
xor r8d, r8d
mov r9d, edi
call sub.IPHLPAPI.DLL_GetExtendedUdpTable
mov r15, r13
mov r14, r12
dec ebp
jne 0x140026131
mov byte [rsi + 8], 7
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rcx, r12
mov rdx, r13
jmp 0x1400261bd
test eax, eax
jne 0x1400261a3
mov qword [rsi], r14
mov qword [rsi + 8], r15
and qword [rsi + 0x10], 0
jmp 0x1400261c2
mov byte [rsi + 8], 9
mov dword [rsi + 0xc], eax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rcx, r14
mov rdx, r15
call fcn.140025dae
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140026281
Capabilities:
List tcp connections and listeners

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov edi, edx
mov rsi, rcx
lea rbx, [rsp + 0x34]
and dword [rbx], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 5
xor r14d, r14d
xor ecx, ecx
mov rdx, rbx
xor r8d, r8d
mov r9d, edi
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
mov r15d, 1
mov ebp, 0x65
cmp eax, 0x7a
jne 0x140026329
mov ecx, dword [rsp + 0x34]
call fcn.140025f1b
mov r12, rax
mov r13, rdx
mov rcx, r14
mov rdx, r15
call fcn.140025dae
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 5
mov rcx, r13
mov rdx, rbx
xor r8d, r8d
mov r9d, edi
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
mov r15, r13
mov r14, r12
dec ebp
jne 0x1400262c9
mov byte [rsi + 8], 7
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rcx, r12
mov rdx, r13
jmp 0x140026355
test eax, eax
jne 0x14002633b
mov qword [rsi], r14
mov qword [rsi + 8], r15
and qword [rsi + 0x10], 0
jmp 0x14002635a
mov byte [rsi + 8], 8
mov dword [rsi + 0xc], eax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rcx, r14
mov rdx, r15
call fcn.140025dae
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400272bd
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
mov r14, qword [0x1401aa058]
test r14, r14
jne 0x1400273ec
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x140027324
mov rbx, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140027324
mov rdi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rbx
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140027324
mov r15, rax
xor ebx, ebx
jmp 0x1400273a5
lea rcx, str.ntdll.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x140027400
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140027400
mov r14, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140027400
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140027400
mov rdi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r14
test eax, eax
jne 0x140027400
mov r15, qword [rsp + 0x20]
mov ecx, 0x18
call fcn.140023aac
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r15
xor eax, eax
lock cmpxchg qword [0x1401aa058], r14
je 0x1400273ec
mov rdi, rax
cmp qword [r14], 0
je 0x1400273dc
mov rcx, qword [r14 + 0x10]
call sub.kernel32.dll_CloseHandle
mov edx, 8
mov rcx, r14
call fcn.140010f70
mov r14, rdi
and qword [rsi + 8], 0
mov qword [rsi], r14
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rax, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_
lea rcx, [rsp + 0x20]
mov qword [rcx], rax
mov qword [rcx + 8], 1
lea rax, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_repos_rust1.77.0_library_std_src_thread_local.rs
mov qword [rcx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea rdx, str._root_.cargo_registry_src_rsproxy.cn_0dccff568467c15b_parking_lot_core_0.9.10_src_thread_parker_windows_mod.rs
call fcn.140018560
int3

Function at 0x140027a98
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140069058]
test ecx, ecx
je 0x140027ab1
dec ecx
add rsp, 0x28
jmp fcn.1400623ac
lea rcx, [0x140069040]
call fcn.140055ea0
mov ecx, eax
jmp 0x140027aa8

Function at 0x140027c36
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140069078]
test ecx, ecx
je 0x140027c4f
dec ecx
add rsp, 0x28
jmp fcn.1400623ac
lea rcx, [0x140069060]
call fcn.140055ea0
mov ecx, eax
jmp 0x140027c46
Function at 0x1400286c3
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call fcn.14002ab5d
test rax, rax
je 0x1400286fb
mov edx, 4
mov rcx, rax
call fcn.140010f70
jmp 0x140028734
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x40]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rbx, [rsp + 0x70]
mov rcx, rbx
call fcn.140027bf4
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movaps xmmword [rdi + 0x20], xmm2
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
and qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov rdx, rsi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
jmp fcn.140027c9e
Function at 0x14002ab5d
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
mov r12d, 0x20
xor esi, esi
mov r13d, 0xffffffff
test r12, r12
je 0x14002abeb
mov r14, rdi
cmp r12, r13
mov r15d, 0xffffffff
cmovb r15, r12
add rdi, r15
sub r12, r15
xor ecx, ecx
mov rdx, r14
mov r8d, r15d
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xc0000000
jb 0x14002ab7d
mov ebx, eax
mov rcx, r14
mov edx, r15d
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x14002ab7d
xor ebx, 0x80000000
je 0x14002abe9
mov al, byte [0x1401aa178]
mov edx, 4
xor ecx, ecx
call fcn.140042800
test rax, rax
je 0x14002abfe
mov rsi, rax
mov dword [rax], ebx
jmp 0x14002abeb
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call fcn.140012a40
int3

Function at 0x14002e780
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.14001adf0
cmp rax, rcx
je 0x14002e7a5
cmp rdx, 4
jae 0x14002e7a8
xor eax, eax
xor r8d, r8d
jmp 0x14002e840
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14006abe0]
movdqa xmm3, xmmword [0x14006abf0]
pxor xmm1, xmm1
nop dword [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 0x14002e7d0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14002e857
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14002e840
ret
Function at 0x14002f1c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r8, qword [rcx]
test r8, r8
je 0x14002f2b3
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14002f2b3
movzx eax, byte [r8 + rcx]
cmp eax, 0x42
je 0x14002f2ce
cmp eax, 0x49
jne 0x14002f2b3
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.14002b140
test al, al
jne 0x14002f3f8
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14002f23c
lea rdx, [0x14019a2eb]
mov r8d, 1
call fcn.1400176d0
test al, al
jne 0x14002f3f8
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14002f2c2
xor r14d, r14d
lea rbx, [0x140199e69]
nop word cs:[rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14002f274
cmp byte [rax + rcx], 0x45
je 0x14002f41a
sub r14, 1
jb 0x14002f299
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14002f299
mov r8d, 2
mov rdx, rbx
call fcn.1400176d0
test al, al
jne 0x14002f3f8
mov rcx, rsi
call fcn.14002ca30
test al, al
jne 0x14002f3f8
mov rax, qword [rsi]
test rax, rax
jne 0x14002f260
jmp 0x14002f2c2
mov rcx, rsi
xor edx, edx
call fcn.14002b140
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14002f2ee
cmp byte [r8 + r11], 0x5f
jne 0x14002f2ee
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14002f35e
xor eax, eax
mov edi, 0x3e
nop word cs:[rax + rax]
mov r9b, 1
cmp r11, r10
jae 0x14002f3bf
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x14002f352
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14002f33c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14002f32b
add dl, 0xa9
jmp 0x14002f33a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14002f3bf
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14002f3bf
movzx edx, bl
add rax, rdx
jae 0x14002f300
jmp 0x14002f3bf
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14002f3bf
cmp rax, rcx
jae 0x14002f3bc
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14002f412
cmp qword [rsi + 0x20], 0
je 0x14002f40b
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.14002f1c0
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 0x14002f2c2
jmp 0x14002f3f8
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14002f400
mov eax, r9d
xor al, 1
movzx eax, al
lea r8, [rax + rax*8]
add r8, 0x10
lea rax, str.invalid_syntaxrecursion_limit_reached_for_______::closureshim_as__mut_const___dyn___Cunsafe_extern__
lea rdx, [0x140199e48]
test r9b, r9b
cmovne rdx, rax
call fcn.1400176d0
test al, al
je 0x14002f400
mov dil, 2
jmp 0x14002f2c2
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14002f2c2
mov dil, 1
xor r9d, r9d
jmp 0x14002f3c1
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14002f2c2