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

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov rsi, rcx
mov ecx, dword [0x140097130]
test ecx, ecx
je 0x1400555f8
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140055515
cmp qword [rax + 8], 0
jne 0x1400555f2
mov ecx, dword [0x140097130]
test ecx, ecx
je 0x14005561a
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140055637
test rax, rax
jne 0x14005559b
mov qword [rbp - 0x10], 0
lea rax, dbg.destroy_value_core::cell::once::OnceCell_std::thread::Thread__
mov qword [rbp - 0x18], rax
mov rax, qword [0x1400bd528]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14005565a
mov rcx, qword [rbp - 8]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rax], xmm0
mov ecx, dword [0x140097130]
test ecx, ecx
je 0x140055641
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.1400946b4
mov rax, rdi
test rsi, rsi
je 0x1400555b5
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x1400555b7
mov rcx, qword [rsi + 8]
jmp 0x1400555b7
xor ecx, ecx
mov r8, qword [rax + 8]
mov rdx, qword [rax + 0x10]
mov qword [rbp - 0x18], r8
mov qword [rbp - 0x10], rdx
mov qword [rax + 8], 1
mov qword [rax + 0x10], rcx
test r8, r8
je 0x1400555f2
test rdx, rdx
je 0x1400555f2
lock dec qword [rdx]
jne 0x1400555f2
lea rcx, [rbp - 0x10]
mov rsi, rax
call dbg.drop_slow<std::thread::Inner, alloc::alloc::Global>
mov rax, rsi
add rax, 0x10
jmp 0x140055639
lea rcx, dbg.destroy_value_core::cell::once::OnceCell_std::thread::Thread__
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14005550a
jmp 0x140055515
lea rcx, dbg.destroy_value_core::cell::once::OnceCell_std::thread::Thread__
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140055534
xor eax, eax
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
lea rcx, dbg.destroy_value_core::cell::once::OnceCell_std::thread::Thread__
mov rdi, rax
call dbg.init
mov ecx, eax
mov rax, rdi
jmp 0x14005558d
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2

Function at 0x140058a60
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
test rdx, rdx
je 0x140058a7a
mov r8d, edx
and r8d, 3
cmp rdx, 4
jae 0x140058a7e
xor eax, eax
jmp 0x140058af5
xor eax, eax
pop rbp
ret
and rdx, 0xfffffffffffffffc
xor eax, eax
nop word cs:[rax + rax]
shl eax, 4
movzx r9d, byte [rcx]
add r9d, eax
mov eax, r9d
shr eax, 0x18
and eax, 0xfffffff0
xor eax, r9d
shl eax, 4
movzx r9d, byte [rcx + 1]
add r9d, eax
mov eax, r9d
shr eax, 0x18
and eax, 0xfffffff0
xor eax, r9d
shl eax, 4
movzx r9d, byte [rcx + 2]
add r9d, eax
mov eax, r9d
shr eax, 0x18
and eax, 0xfffffff0
xor eax, r9d
shl eax, 4
movzx r9d, byte [rcx + 3]
add rcx, 4
add r9d, eax
mov eax, r9d
shr eax, 0x18
and eax, 0xfffffff0
xor eax, r9d
add rdx, 0xfffffffffffffffc
jne 0x140058a90
test r8, r8
je 0x140058b1f
xor edx, edx
nop dword [rax]
shl eax, 4
movzx r9d, byte [rcx + rdx]
add r9d, eax
mov eax, r9d
shr eax, 0x18
and eax, 0xfffffff0
xor eax, r9d
inc rdx
cmp r8, rdx
jne 0x140058b00
and eax, 0xfffffff
pop rbp
ret
Function at 0x140058b30
Capabilities:
Hash data using djb2

Disassembly:
push rbp
mov rbp, rsp
test rdx, rdx
je 0x140058b50
mov r8d, edx
and r8d, 7
cmp rdx, 8
jae 0x140058b57
mov eax, 0x1505
jmp 0x140058bdd
mov eax, 0x1505
pop rbp
ret
and rdx, 0xfffffffffffffff8
mov eax, 0x1505
mov r9d, eax
shl r9d, 5
add r9d, eax
movzx eax, byte [rcx]
add eax, r9d
movzx r9d, byte [rcx + 1]
add r9d, eax
shl eax, 5
add r9d, eax
movzx eax, byte [rcx + 2]
add eax, r9d
shl r9d, 5
add eax, r9d
movzx r9d, byte [rcx + 3]
add r9d, eax
shl eax, 5
add r9d, eax
movzx eax, byte [rcx + 4]
add eax, r9d
shl r9d, 5
add eax, r9d
movzx r9d, byte [rcx + 5]
add r9d, eax
shl eax, 5
add r9d, eax
movzx r10d, byte [rcx + 6]
add r10d, r9d
shl r9d, 5
add r10d, r9d
movzx eax, byte [rcx + 7]
add eax, r10d
shl r10d, 5
add rcx, 8
add eax, r10d
add rdx, 0xfffffffffffffff8
jne 0x140058b60
test r8, r8
je 0x140058c09
xor edx, edx
nop word cs:[rax + rax]
mov r9d, eax
shl r9d, 5
add r9d, eax
movzx eax, byte [rcx + rdx]
add eax, r9d
inc rdx
cmp r8, rdx
jne 0x140058bf0
pop rbp
ret
Function at 0x140087930
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x1400879ba
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400879b0
cmp r11, r10
ja 0x140087a36
cmp r10, rdx
ja 0x140087a48
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x1400879b2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140087990
jmp 0x140087a17
ja 0x1400879ba
mov r11, r10
cmp rax, r8
jne 0x140087957
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x140087a1b
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400879f0
mov r8, r10
sub ecx, r9d
jns 0x140087a0e
jmp 0x140087a1d
cmp r10, rdx
je 0x140087a2a
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140087a1d
xor al, 1
cmp r8, rdx
jne 0x1400879d0
jmp 0x140087a1d
xor eax, eax
jmp 0x140087a1d
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [0x1400b22e0]
call sym.core::option::unwrap_failed::h511674c62460528b
lea r8, [0x1400b22f8]
mov rcx, r11
mov rdx, r10
call dbg.slice_index_order_fail
lea r8, [0x1400b22f8]
mov rcx, r10
call dbg.slice_end_index_len_fail
int3
Function at 0x14008e4e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
movzx eax, byte [rcx]
mov ecx, dword [rdx + 0x34]
test cl, 0x10
jne 0x14008e542
test cl, 0x20
jne 0x14008e584
mov r8d, eax
sar r8b, 7
mov ecx, eax
xor cl, r8b
sub cl, r8b
cmp cl, 0x64
jb 0x14008e5f5
add cl, cl
add cl, 0x38
movzx ecx, cl
lea r8, [0x1400b176e]
movzx ecx, word [rcx + r8]
mov word [rbp - 0x23], cx
mov r8d, 0x24
mov cl, 1
jmp 0x14008e600
lea r9, [rbp + 0x38]
xor r8d, r8d
mov ecx, eax
nop dword [rax + rax]
mov r10d, eax
and r10b, 0xf
shr cl, 4
lea r11d, [r10 + 0x30]
lea esi, [r10 + 0x57]
cmp r10b, 0xa
movzx r10d, r11b
movzx r11d, sil
cmovb r11d, r10d
mov byte [r9 - 1], r11b
dec r9
inc r8
cmp al, 0x10
mov eax, ecx
jae 0x14008e550
jmp 0x14008e5c2
lea r9, [rbp + 0x38]
xor r8d, r8d
mov ecx, eax
nop dword [rax]
mov r10d, eax
and r10b, 0xf
shr cl, 4
lea r11d, [r10 + 0x30]
lea esi, [r10 + 0x37]
cmp r10b, 0xa
movzx r10d, r11b
movzx r11d, sil
cmovb r11d, r10d
mov byte [r9 - 1], r11b
dec r9
inc r8
cmp al, 0x10
mov eax, ecx
jae 0x14008e590
mov ecx, pe_nt_image_headers64
sub rcx, r8
cmp rcx, 0x81
jae 0x14008e661
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r9
lea r8, [0x1400b176c]
mov r9d, 2
mov rcx, rdx
mov dl, 1
jmp 0x14008e651
mov r8d, 0x26
cmp cl, 0xa
jae 0x14008e60a
or cl, 0x30
mov byte [rbp + r8 - 0x48], cl
jmp 0x14008e623
movzx ecx, cl
lea r8, [0x1400b176e]
movzx ecx, word [r8 + rcx*2]
mov word [rbp - 0x23], cx
mov r8d, 0x25
lea rcx, [r8 + rbp]
add rcx, 0xffffffffffffffb8
mov r9d, 0x27
sub r9, r8
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rcx
not al
shr al, 7
mov r8d, 1
mov rcx, rdx
mov edx, eax
xor r9d, r9d
call dbg.pad_integral
nop
add rsp, 0xb8
pop rsi
pop rbp
ret
lea r8, str.librarycore_src_fmt_num.rs
mov edx, pe_nt_image_headers64
call dbg.slice_start_index_len_fail
int3
Function at 0x1400954f0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x1400961c2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400d12a8]
test eax, eax
je 0x14009625a
lea rax, [0x1400d1280]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400d12b0]
mov qword [rbp - 8], rax
jmp 0x14009623e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140096232
cmp qword [rbp - 0x10], 0
je 0x140096232
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400961f8
lea rax, [0x1400d1280]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14009625b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140096360
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140096388
mov eax, 0
jmp 0x1400963d6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400963b1
mov eax, 0
jmp 0x1400963d6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400963d1
mov eax, 0
jmp 0x1400963d6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400963dc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14009645a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140096451
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140096451
mov rax, qword [rbp - 8]
jmp 0x14009646f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140096424
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1000a0fc
Capabilities:
Hash data using sha256

Disassembly:
mov rcx, qword [rcx]
mov r8d, 1
jmp 0x10090249
Function at 0x1001fea0
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 0x1001ff30
cmp r11, r10
ja 0x1001ffa6
cmp r10, rdx
ja 0x1001ffba
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1001ff32
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1001ff10
jmp 0x1001ff94
ja 0x1001ff3a
mov r11, r10
cmp rax, r8
jne 0x1001fed4
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 0x1001ff70
mov rdi, r8
sub ecx, edx
jns 0x1001ff8b
jmp 0x1001ff96
cmp r8, rsi
je 0x1001ffcb
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1001ff96
xor al, 1
cmp rdi, rsi
jne 0x1001ff50
jmp 0x1001ff96
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.1001cd80
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.10019e40
ud2
lea rcx, [0x100f5a00]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1001a1e0
ud2

Function at 0x10024b4a
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x10024b63
dec ecx
add rsp, 0x28
jmp fcn.100d1658
mov rcx, rax
call fcn.10093ca0
mov ecx, eax
jmp 0x10024b5a

Function at 0x10024b78
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x10024b99
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.100d1650
mov rcx, rax
call fcn.10093ca0
mov ecx, eax
jmp 0x10024b8c

Function at 0x1007c5aa
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rdi, r9
mov rbx, rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.1007c4c7
movzx r9d, byte [rdi + 0x18]
mov rsi, qword [rsi]
mov rax, qword [rdi]
mov ecx, dword [rdi + 0x10]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
call sub.advapi32.dll_RegSetValueExW
mov rcx, rax
shl rcx, 0x20
or rcx, 2
xor edi, edi
test eax, eax
cmovne rdi, rcx
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
call fcn.100cfe23
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x1008324d
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov bpl, 1
cmp qword [rdx + 0x10], 0
jne 0x100833be
mov r14, r8
mov rsi, rdx
mov r15, rcx
lea rdx, [rcx + 0x10]
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.100834cc
lea rbp, [r15 + 0x38]
mov rbx, qword [rdi]
mov rdi, qword [rdi + 8]
mov r8d, 0xffffffff
cmp rdi, r8
cmovb r8, rdi
mov rcx, qword [r15 + 0x88]
mov qword [rsp + 0x20], rbp
mov rdx, rbx
xor r9d, r9d
call sub.KERNEL32.dll_ReadFile
lea r12, [rsi + 0x10]
test eax, eax
jne 0x100832e3
call fcn.1006e999
mov r13, rax
mov rcx, rax
call fcn.100830da
mov ecx, eax
call fcn.10083574
test al, al
jne 0x10083365
mov rcx, r13
call fcn.100c9696
lea r8, [rsp + 0x2c]
and dword [r8], 0
mov rcx, qword [r15 + 0x88]
mov rdx, rbp
xor r9d, r9d
call sub.KERNEL32.dll_GetOverlappedResult
test eax, eax
jne 0x10083331
call fcn.1006e999
mov r13, rax
mov rcx, rax
call fcn.100830da
mov ecx, eax
mov r8d, 1
mov r9d, 0x3e4
call fcn.100830fa
test al, al
je 0x10083365
mov rcx, r13
call fcn.100c9696
mov rcx, r12
call fcn.10082645
mov qword [rsi + 0x10], 1
and qword [rsi + 0x18], 0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x20], xmm0
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x30], rax
lock inc qword [r15]
mov bpl, 1
jg 0x100833be
ud2
mov rcx, r13
call fcn.100830da
mov ecx, eax
mov r8d, 1
mov r9d, 0x218
call fcn.100830fa
mov ebp, eax
test al, al
je 0x10083390
mov rcx, r13
call fcn.100c9696
jmp 0x100833af
mov rcx, r12
call fcn.10082645
mov qword [rsi + 0x10], 3
mov qword [rsi + 0x18], r13
mov rcx, rsi
mov rdx, r14
call fcn.10083590
xor bpl, 1
mov rcx, rbx
mov rdx, rdi
call fcn.100d000e
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x10083d84
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rbx, r9
mov rsi, r8
mov r14, rdx
mov rdi, rcx
mov r15, qword [r8]
mov rdx, qword [r8 + 0x10]
lea r9, [0x100eb0b8]
mov rcx, r15
mov r8, rbx
call fcn.10083fe4
lea r12, [r14 + 0x60]
mov r8d, 0xffffffff
cmp rdx, r8
cmovb r8, rdx
mov rcx, qword [r14 + 0x88]
mov qword [rsp + 0x20], r12
mov rdx, rax
xor r9d, r9d
call sub.KERNEL32.dll_WriteFile
test eax, eax
jne 0x10083e0b
call fcn.1006e999
mov r13, rax
mov rcx, rax
call fcn.100830da
mov ecx, eax
call fcn.10083574
test al, al
jne 0x10083edd
mov rcx, r13
call fcn.100c9696
lea r8, [rsp + 0x2c]
and dword [r8], 0
mov rcx, qword [r14 + 0x88]
mov rdx, r12
xor r9d, r9d
call sub.KERNEL32.dll_GetOverlappedResult
mov r12, qword [rsp + 0x90]
test eax, eax
je 0x10083e78
mov r15d, dword [rsp + 0x2c]
lea rcx, [r12 + 0x38]
and al, 0x38
call fcn.10082645
mov qword [r12 + 0x38], 2
add al, byte [rax]
add byte [rax], al
mov qword [r12 + 0x40], rbx
movups xmm0, xmmword [rsi]
movups xmmword [r12 + 0x48], xmm0
mov rax, qword [rsi + 0x10]
mov qword [r12 + 0x58], rax
and al, 0x58
lock inc qword [r14]
jle 0x10083f05
invalid
mov qword [rdi], 1
mov qword [rdi + 8], r15
jmp 0x10083ef4
call fcn.1006e999
mov r13, rax
mov rcx, rax
shr eax, 0x52
invalid
invalid
dec dword [rcx + 0x1b841c1]
add byte [rax], al
add byte [rax], al
mov r9d, 0x3e4
call fcn.100830fa
invalid
test al, al
je 0x10083edd
mov rcx, r13
call fcn.100c9696
add byte [rcx - 0x73], cl
and al, 0x38
call fcn.10082645
mov qword [r12 + 0x38], 1
mov dword [rsp + 0x38], 1
mov qword [r12 + 0x40], rbx
movups xmm0, xmmword [rsi]
movups xmmword [r12 + 0x48], xmm0
mov rax, qword [rsi + 0x10]
mov qword [r12 + 0x58], rax
lock inc qword [r14]
jle 0x10083f05
and qword [rdi], 0
jmp 0x10083ef4
mov qword [rdi + 8], r13
mov qword [rdi], 2
mov rdx, qword [rsi + 8]
mov rcx, r15
call fcn.100d000e
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x10086662
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov r14, qword [0x10112350]
test r14, r14
jne 0x10086789
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x100866c9
mov rbx, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x100866c9
mov rdi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rbx
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x100866c9
mov r15, rax
xor ebx, ebx
jmp 0x1008674a
lea rcx, str.ntdll.dll
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x1008679d
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x1008679d
mov r14, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x1008679d
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x1008679d
mov rdi, rax
lea rcx, [rsp + 0x28]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r14
test eax, eax
jne 0x1008679d
mov r15, qword [rsp + 0x28]
mov ecx, 0x18
call fcn.100bc20c
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r15
xor eax, eax
lock cmpxchg qword [0x10112350], r14
je 0x10086789
mov rdi, rax
mov rcx, qword [r14]
mov rdx, qword [r14 + 0x10]
call fcn.1008680f
mov rcx, r14
call fcn.10065910
mov r14, rdi
and qword [rsi + 8], 0
mov qword [rsi], r14
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8__cargo_registry_src_index.crates.io_6f17d22bba15001f_parking_lot_core_0.9.9_src_thread_parker_windows_mod.rs
lea r8, [0x100ebc78]
mov edx, 0x5b
call fcn.100867f1
ud2

Function at 0x10086f96
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x100d4650]
test ecx, ecx
je 0x10086faf
dec ecx
add rsp, 0x28
jmp fcn.100d1658
lea rcx, [0x100d4638]
call fcn.10093ca0
mov ecx, eax
jmp 0x10086fa6

Function at 0x1008aeb0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.100199d0
cmp rax, rcx
je 0x1008aed5
cmp rdx, 4
jae 0x1008aed8
xor eax, eax
xor r8d, r8d
jmp 0x1008af70
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x100d7880]
movdqa xmm3, xmmword [0x100d7890]
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 0x1008af00
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1008af87
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1008af70
ret
Function at 0x1008bed0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x1008bf2b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1008bf2b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x1008bf46
cmp eax, 0x42
jne 0x1008bf2b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x1008bff6
cmp byte [r9 + r11], 0x5f
jne 0x1008bff6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1008c05e
mov rcx, rsi
xor edx, edx
call fcn.10087920
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.10087920
test al, al
jne 0x1008c0f1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1008bf82
lea rdx, [0x100ec04b]
mov r8d, 1
call fcn.10019ec0
test al, al
jne 0x1008c0f1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1008bf3a
xor r14d, r14d
lea rbx, [0x100f7190]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x1008bfb4
cmp byte [rax + rcx], 0x45
je 0x1008c113
sub r14, 1
jb 0x1008bfd9
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1008bfd9
mov r8d, 2
mov rdx, rbx
call fcn.10019ec0
test al, al
jne 0x1008c0f1
mov rcx, rsi
call fcn.10089120
test al, al
jne 0x1008c0f1
mov rax, qword [rsi]
test rax, rax
jne 0x1008bfa0
jmp 0x1008bf3a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x1008c0b8
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x1008c052
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1008c03c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1008c02b
add dl, 0xa9
jmp 0x1008c03a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x1008c0b8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x1008c0b8
movzx edx, bl
add rax, rdx
jae 0x1008c000
jmp 0x1008c0b8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x1008c0b8
cmp rax, rcx
jae 0x1008c0b5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x1008c10b
cmp qword [rsi + 0x20], 0
je 0x1008c104
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.1008bed0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1008bf3c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1008c0f9
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x100ec3b8]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.10019ec0
test al, al
je 0x1008c0f9
mov dil, 2
jmp 0x1008bf3a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1008bf3a
mov dil, 1
xor r8d, r8d
jmp 0x1008c0ba
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1008bf3a