joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003e50
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x140003f62
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x140003f3a
add rax, 1
cmp rax, 0x6b
je 0x140003f57
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x140003f30
cmp edx, 0x6a
je 0x140003f57
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sym.abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x140003f4b
Function at 0x140007a10
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x140014100]
mov rax, qword [rbx]
mov r12, rcx
mov esi, edx
test rax, rax
je 0x140007ae0
cmp qword [rax + 0x60], 0
jne 0x140007b00
lea rcx, [0x140012068]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_lock
mov rcx, r12
call sym.__pthread_get_pointer
test rax, rax
je 0x140007b10
cmp qword [rax + 0x1d8], r12
jne 0x140007b10
test byte [rax + 0x40], 0xc
jne 0x140007b10
mov edx, dword [rax + 0xbc]
test edx, edx
jne 0x140007b10
mov rax, qword [rax + 0x28]
sub rax, 1
cmp rax, 0xfffffffffffffffd
ja 0x140007b10
mov rax, qword [rbx]
test rax, rax
je 0x140007b70
cmp qword [rax + 0x60], 0
jne 0x140007b90
lea rcx, [0x140012068]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_unlock
test esi, esi
je 0x140007ba0
lea edx, [rsi - 2]
cmp edx, 0x15
ja 0x140007ba8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sym.pthread_cancel
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x60], 0
mov rax, qword [rbx]
je 0x140007a3b
test rax, rax
jne 0x140007b00
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x140007a46
mov rax, qword [rbx]
test rax, rax
je 0x140007b40
cmp qword [rax + 0x60], 0
jne 0x140007b60
lea rcx, [0x140012068]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_unlock
mov eax, 3
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
call sym.__shmem3_winpthreads_tdm_init_local_region
mov r8, rax
mov rax, qword [rbx]
cmp qword [r8 + 0x60], 0
je 0x140007b1f
test rax, rax
jne 0x140007b60
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x140007b2a
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x60], 0
mov rax, qword [rbx]
je 0x140007aaa
test rax, rax
jne 0x140007b90
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x140007ab5
xor eax, eax
jmp 0x140007b34
mov eax, 0x16
jmp 0x140007b34
Function at 0x140007e20
Capabilities:
Create thread
Resume thread

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rdi, rcx
mov rsi, rdx
mov rbx, r8
mov rbp, r9
call sym.pop_pthread_mem
mov r12, rax
test rax, rax
je 0x140008089
test rdi, rdi
je 0x140007e5a
mov rax, qword [rax + 0x1d8]
mov qword [rdi], rax
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [r12 + 8], rbp
mov dword [r12 + 0x44], 1
mov rbp, qword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [r12 + 0xbc], 0
mov r14, r13
mov qword [r12 + 0x28], 0xffffffffffffffff
mov qword [r12 + 0x10], rbx
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call rbp
mov qword [r12 + 0x30], rax
test rax, rax
jne 0x140007ec7
add ebx, 1
cmp ebx, 1
je 0x140007fd0
mov ecx, 0x14
call r14
cmp ebx, 5
jne 0x140007e95
mov qword [r12 + 0x38], 0xffffffffffffffff
lea r14, [r12 + 0x68]
mov rcx, r14
call sym.pthread_spin_destroy
cmp eax, 1
je 0x1400080cf
cmp qword [r12 + 0x30], 0
mov qword [r12 + 0x68], 0xffffffffffffffff
mov dword [r12], 0xbab1f00d
mov dword [r12 + 0xc0], 0
mov dword [r12 + 0xb8], 0
je 0x140008072
xor edx, edx
test rsi, rsi
je 0x140007f3f
mov eax, dword [rsi]
mov edx, dword [rsi + 0x10]
mov dword [r12 + 0x44], eax
test al, 8
jne 0x1400080a0
mov eax, dword [rsi + 0x18]
mov dword [r12 + 0xc0], eax
lea r8, [sym.pthread_create_wrapper]
mov r9, r12
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov r13, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140008030
mov eax, dword [r12 + 0xc0]
mov edx, 0xfffffff1
cmp eax, 0xfffffff2
jge 0x140008000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test byte [r12 + 0x44], 4
jne 0x140007fe0
mov qword [r12 + 0x28], r13
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor ecx, ecx
call r13
jmp 0x140007e95
mov qword [r12 + 0x28], 0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140007faf
mov edx, 0xfffffffe
cmp eax, 0xffffffff
jl 0x140007f85
mov edx, 0xf
cmp eax, 0xe
jg 0x140007f85
cmp eax, 2
mov edx, 2
cmovle edx, eax
jmp 0x140007f85
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x140008040
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [r12 + 0x38]
call sym.pthread_mutex_destroy
mov rcx, r14
call sym.pthread_spin_destroy
cmp eax, 1
je 0x1400080cf
mov qword [r12 + 0x68], 0xffffffffffffffff
mov qword [r12 + 0x30], 0
mov qword [r12 + 0x28], 0
test rdi, rdi
je 0x14000807e
mov qword [rdi], 0
cmp qword [r12 + 0x1d0], 0
je 0x1400080c0
mov eax, 0xb
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov dword [rsp + 0x3c], edx
call sym.__pthread_self_lite
mov edx, dword [rsp + 0x3c]
mov eax, dword [rax + 0xc0]
mov dword [r12 + 0xc0], eax
jmp 0x140007f3f
mov rcx, r12
call sym.push_pthread_mem.part.0
mov eax, 0xb
jmp 0x14000808e
call sym.replace_spin_keys.part.0
nop
nop word cs:[rax + rax]
Function at 0x140008b10
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140008b30
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x140008b78
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140008b24
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140008b65

Function at 0x140008ba0
Capabilities:
Check mutex on windows

Disassembly:
push r12
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
lea r8, [0x1400172c0]
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140008c58
mov rdx, qword [0x140017200]
lea rcx, [0x140017200]
mov rax, qword [rdx + 8]
test rax, rax
je 0x140008c28
cmp rdx, rcx
jne 0x140008c0a
mov qword [rdx], rax
cmp rax, rcx
je 0x140008c0f
nop dword [rax]
test rax, rax
je 0x140008c3a
mov rdx, qword [rdx]
mov qword [rax], rdx
mov rdx, rax
mov rax, qword [rdx + 8]
cmp rax, rcx
jne 0x140008bf8
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
test rax, rax
je 0x140008c3a
mov rdx, rax
jmp 0x140008c06
lea rcx, [0x140017300]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x140008c76
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
lea rcx, str.failed_to_to_lock_cleanup_mutex_n
call sym.__shmem_get_error
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_DeleteAtom]
jmp 0x140008c3a
Function at 0x140e23058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140e231df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140e23089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e2306f
add dl, dl
jne 0x140e23096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e230f6
xor eax, eax
add dl, dl
jne 0x140e230a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e231ad
add dl, dl
jne 0x140e230b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e230c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e230d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e230dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140e230ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140e2307e
mov eax, 1
add dl, dl
jne 0x140e23106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e23113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e230fb
sub eax, ebx
mov ebx, 1
jne 0x140e2314c
mov ecx, 1
add dl, dl
jne 0x140e2312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e2313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e23123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e2307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140e23168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e23175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e2315d
cmp eax, 0x7d00
jae 0x140e2319b
cmp eax, 0x500
jb 0x140e23196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e2307e
cmp eax, 0x7f
ja 0x140e2319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e2307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140e231d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140e2307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x35228a8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x35228b2
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x35228db
pop rbp
sub rbp, 0x33
sub rbp, 0x31228a8
sub rsp, 0x20
jmp 0x35228fa
mov rax, 0x31228a8
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x7d1fce94
xor byte [rax], dl
inc rax
dec rcx
jne 0x3522919
jmp 0x3522930
fcomp qword [0xffffffffab6f48b3]
xchg esp, eax
xchg esp, eax
xchg esp, eax
fcom qword [0xffffffff97e7c594]
xchg esp, eax
fcom qword [rbp + 0x5453dc7d]
xchg edi, eax
xchg esp, eax
xchg esp, eax
xchg esp, eax
fcom qword [rbx + 0x56]
mov esp, 0xdc949494
invalid
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400c6d80]
mov dword [rax], 1
mov rax, qword [0x1400c6d90]
mov dword [rax], 1
mov rax, qword [0x1400c6da0]
mov dword [rax], 1
mov rax, qword [0x1400c6d70]
mov dword [rax], 1
mov rax, qword [0x1400c6c40]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
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 0x14000150a
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140005740
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 0x1400057d0
cmp r11, r10
ja 0x140005846
cmp r10, rdx
ja 0x14000585a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1400057d2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400057b0
jmp 0x140005834
ja 0x1400057da
mov r11, r10
cmp rax, r8
jne 0x140005774
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 0x140005810
mov rdi, r8
sub ecx, edx
jns 0x14000582b
jmp 0x140005836
cmp r8, rsi
je 0x14000586b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140005836
xor al, 1
cmp rdi, rsi
jne 0x1400057f0
jmp 0x140005836
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.140003ac0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140003080
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_cd674d61790607dfb6faa9d754bd3adfa13aea7clibrary_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140003420
ud2
Function at 0x14000bfb0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140002c10
cmp rax, rcx
je 0x14000bfd5
cmp rdx, 4
jae 0x14000bfd8
xor eax, eax
xor r8d, r8d
jmp 0x14000c070
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400364b0]
movdqa xmm3, xmmword [0x1400364c0]
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 0x14000c000
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000c087
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000c070
ret
Function at 0x14000d380
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 0x14000d3db
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14000d3db
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x14000d3f6
cmp eax, 0x42
jne 0x14000d3db
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14000d4a6
cmp byte [r8 + r11], 0x5f
jne 0x14000d4a6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14000d50e
mov rcx, rsi
xor edx, edx
call fcn.1400089f0
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.1400089f0
test al, al
jne 0x14000d5a1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000d432
lea rdx, [0x1400c3c64]
mov r8d, 1
call fcn.140003100
test al, al
jne 0x14000d5a1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14000d3ea
xor r14d, r14d
lea rbx, [0x1400c4011]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14000d464
cmp byte [rax + rcx], 0x45
je 0x14000d5c3
sub r14, 1
jb 0x14000d489
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000d489
mov r8d, 2
mov rdx, rbx
call fcn.140003100
test al, al
jne 0x14000d5a1
mov rcx, rsi
call fcn.14000a220
test al, al
jne 0x14000d5a1
mov rax, qword [rsi]
test rax, rax
jne 0x14000d450
jmp 0x14000d3ea
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x14000d568
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x14000d502
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14000d4ec
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14000d4db
add dl, 0xa9
jmp 0x14000d4ea
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14000d568
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14000d568
movzx edx, bl
add rax, rdx
jae 0x14000d4b0
jmp 0x14000d568
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14000d568
cmp rax, rcx
jae 0x14000d565
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14000d5bb
cmp qword [rsi + 0x20], 0
je 0x14000d5b4
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.14000d380
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000d3ec
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000d5a9
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___unsafe_extern__
lea rdx, [0x1400c3ff0]
test r9b, r9b
cmovne rdx, rax
call fcn.140003100
test al, al
je 0x14000d5a9
mov dil, 2
jmp 0x14000d3ea
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14000d3ea
mov dil, 1
xor r9d, r9d
jmp 0x14000d56a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14000d3ea
Function at 0x140010a60
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x140010ae5
mov dword [rsp + 0x2c], 0
lea rbx, [rsi + 0x10]
lea r8, [rsp + 0x2c]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
mov dword [rsp + 0x28], eax
cmp eax, 1
jne 0x140010b26
cmp dword [rsp + 0x2c], 0
je 0x140010b0a
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140010b40
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1400cd158]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1400cd158], rsi
jne 0x140010ac0
mov byte [0x1400cd150], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x140010b1c
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x140010b8c
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x140010b0f
mov edi, dword [rsp + 0x28]
jmp 0x140010b1c
mov edi, dword [rsi + 0x18]
jmp 0x140010b1a
mov edi, eax
mov ecx, dword [rsp + 0x28]
call sub.KERNEL32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.140010fe0
ud2
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
lea rax, str.4c_f_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.called__Option::unwrap____on_a__None__value_rustc_cd674d61790607dfb6faa9d754bd3adfa13aea7clibrary_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call fcn.1400026e0
ud2
lea rax, str.4c_f_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.called__Option::unwrap____on_a__None__value_rustc_cd674d61790607dfb6faa9d754bd3adfa13aea7clibrary_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.140011030
ud2
Function at 0x140010eb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x140035088]
test ecx, ecx
je 0x140010f90
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140010ee4
mov rdi, rax
cmp qword [rax + 8], 0
je 0x140010ee4
add rdi, 0x10
jmp 0x140010f86
mov ecx, dword [0x140035088]
test ecx, ecx
je 0x140010fa3
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140010f84
mov rsi, rax
test rax, rax
jne 0x140010f53
movzx eax, byte [0x1400cd1d0]
mov ecx, 0x18
mov edx, 8
call fcn.140001dd0
test rax, rax
je 0x140010fc6
mov rsi, rax
lea rax, [0x140035070]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140035088]
test ecx, ecx
je 0x140010fb6
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
lea rdi, [rsi + 0x10]
mov rcx, qword [rsi + 0x10]
cmp qword [rsi + 8], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
je 0x140010f86
test rcx, rcx
je 0x140010f86
lock dec qword [rcx]
jne 0x140010f86
call fcn.140010a10
jmp 0x140010f86
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140035070]
call fcn.140010a60
mov ecx, eax
jmp 0x140010ec6
lea rcx, [0x140035070]
call fcn.140010a60
mov ecx, eax
jmp 0x140010ef4
lea rcx, [0x140035070]
call fcn.140010a60
mov ecx, eax
jmp 0x140010f4b
mov ecx, 8
mov edx, 0x18
call fcn.140002230
ud2