joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180098ef4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180098f24
xor eax, eax
jmp 0x180098fe7
mov rbp, rbx
cmp word [rax], si
je 0x180098f49
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180098f30
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180098f2c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180094dac
movsxd r14, eax
test eax, eax
jne 0x180098f87
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180098f1d
mov rcx, r14
call fcn.18008fce8
mov rdi, rax
test rax, rax
jne 0x180098fa0
xor ecx, ecx
call fcn.18008ed80
jmp 0x180098f7c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180094dac
test eax, eax
jne 0x180098fd1
mov rcx, rdi
call fcn.18008ed80
jmp 0x180098fdb
xor ecx, ecx
call fcn.18008ed80
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180099004
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x18009908b
mov rsi, rbx
cmp word [rax], bp
je 0x18009904a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x180099034
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x180099030
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.18008fce8
mov rdi, rax
test rax, rax
je 0x180099078
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1800a7210
mov rbp, rdi
xor ecx, ecx
call fcn.18008ed80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18009c178
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.18008d128
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x18009c219
cmp ebx, dword [rsp + 0x30]
je 0x18009c212
test esi, esi
je 0x18009c212
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18009c1ed
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18009c1fa
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18009c1d7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18009c1fe
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18009c21b
mov eax, 1
jmp 0x18009c21b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800a0bcc
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.18007e218
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1800a0c56
cmp byte [rbp - 0x21], r15b
je 0x1800a0c51
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1800a0c8c
call fcn.18008f084
test eax, eax
jne 0x1800a0c78
cmp byte [rbp - 0x21], r15b
je 0x1800a0c70
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1800a0c8c
cmp byte [rbp - 0x21], r15b
je 0x1800a0c89
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1800875f8
test eax, eax
jne 0x1800a0d2c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.18007e218
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1800a0ccb
cmp byte [rbp - 0x21], r15b
je 0x1800a0d00
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1800a0d00
call fcn.18008f084
test eax, eax
jne 0x1800a0cec
cmp byte [rbp - 0x21], r15b
je 0x1800a0ce5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1800a0d00
cmp byte [rbp - 0x21], r15b
je 0x1800a0cfd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1800875f8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1800a0d2c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1800a0d2f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1800a0d3d
mov rcx, rdi
call fcn.18008ed80
cmp byte [rbp + 0x3f], r15b
je 0x1800a0d4c
mov rcx, qword [rbp + 0x27]
call fcn.18008ed80
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1800a1bd0
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1800921a8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800921a8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800a1d20
cmp rax, 0xffffffffffffffff
je 0x1800a1d20
xor edi, edi
test rbp, rbp
jle 0x1800a1ccb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.18008ed08
mov rbx, rax
test rax, rax
jne 0x1800a1c58
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800a1cc1
mov edx, 0x8000
mov ecx, r14d
call fcn.1800a1a54
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.180093af0
cmp eax, 0xffffffff
je 0x1800a1ca1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800a1c68
mov edx, r15d
mov ecx, r14d
call fcn.1800a1a54
jmp 0x1800a1cc1
cmp byte [rsi + 0x38], dil
je 0x1800a1cb8
cmp dword [rsi + 0x34], 5
jne 0x1800a1cb8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800a1cc1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18008ed80
jmp 0x1800a1d34
jns 0x1800a1d34
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800921a8
cmp rax, 0xffffffffffffffff
jne 0x1800a1cec
cmp byte [rsi + 0x30], dil
je 0x1800a1d34
mov edi, dword [rsi + 0x2c]
jmp 0x1800a1d34
mov ecx, r14d
call fcn.18009cb6c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800a1d34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1800a1d34
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800a1d2d
mov eax, dword [rsi + 0x2c]
jmp 0x1800a1d32
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800921a8
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1800a2740
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800a2768
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800a2768
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140050ff0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140051000]
mov dword [rax], 1
mov rax, qword [0x140051010]
mov dword [rax], 1
mov rax, qword [0x140050f90]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140050fe0]
mov dword [0x140057020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400510b0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140051090]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140050f40]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x14000e650
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r11, rdx
mov r14, qword [rsp + 0x90]
mov r15, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebp, ecx
shr ebp, 8
lea r8, [r11 + r8*2]
xor eax, eax
mov rdi, r11
movzx esi, byte [r11 + 1]
add r11, 2
lea r10, [rax + rsi]
cmp byte [rdi], bpl
jne 0x14000e6d0
cmp r10, rax
jb 0x14000e744
cmp r10, rdx
ja 0x14000e758
add rax, r9
xor edi, edi
nop
cmp rsi, rdi
je 0x14000e6d2
lea rbx, [rdi + 1]
cmp byte [rax + rdi], cl
mov rdi, rbx
jne 0x14000e6b0
jmp 0x14000e733
ja 0x14000e6da
mov rax, r10
cmp r11, r8
jne 0x14000e682
add r14, r15
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea rbx, [r15 + 1]
movzx edx, byte [r15]
test dl, dl
js 0x14000e710
mov r15, rbx
sub ecx, edx
jns 0x14000e72a
jmp 0x14000e735
cmp rbx, r14
je 0x14000e769
movzx ebp, byte [r15 + 1]
add r15, 2
and edx, 0x7f
shl edx, 8
or edx, ebp
sub ecx, edx
js 0x14000e735
xor al, 1
cmp r15, r14
jne 0x14000e6f0
jmp 0x14000e735
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, rax
mov rdx, r10
call dbg.slice_index_order_fail
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call dbg.slice_end_index_len_fail
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valueinternal_error:_entered_unreachable_code_rustc_69f9c33d71c871fc16ac445211281c6e7a340943library_alloc_srccollections_btree_navigate.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call dbg.panic
ud2
Function at 0x1400106d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
cmp r8, 0x80
jb 0x1400108ed
movdqu xmm4, xmmword [rdx]
movdqu xmm5, xmmword [rdx + 0x10]
movdqu xmm1, xmmword [rdx + 0x20]
movdqu xmm0, xmmword [rdx + 0x30]
not ecx
movd xmm3, ecx
pxor xmm3, xmm4
add r8, 0xffffffffffffffc0
add rdx, 0x40
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm8, xmmword [0x140046260]
nop word [rax + rax]
movdqa xmm6, xmm3
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm8, 0x11
movdqu xmm3, xmmword [rdx]
pxor xmm3, xmm6
pxor xmm3, xmm7
movdqu xmm6, xmmword [rdx + 0x10]
movdqu xmm7, xmmword [rdx + 0x20]
movdqu xmm9, xmmword [rdx + 0x30]
movdqa xmm2, xmm5
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm6
pclmulqdq xmm5, xmm8, 0x11
pxor xmm5, xmm2
movdqa xmm2, xmm1
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm7
pclmulqdq xmm1, xmm8, 0x11
pxor xmm1, xmm2
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm9
pclmulqdq xmm0, xmm8, 0x11
pxor xmm0, xmm2
add r8, 0xffffffffffffffc0
add rdx, 0x40
cmp r8, 0x3f
ja 0x140010740
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm6, xmm3
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmmword [0x140046270]
pclmulqdq xmm3, xmm7, 0x11
pxor xmm6, xmm5
pxor xmm6, xmm3
movdqa xmm2, xmm6
pclmulqdq xmm2, xmm4, 0
pclmulqdq xmm6, xmm7, 0x11
pxor xmm2, xmm1
pxor xmm2, xmm6
movdqa xmm1, xmm2
pclmulqdq xmm1, xmm4, 0
pclmulqdq xmm2, xmm7, 0x11
pxor xmm1, xmm0
pxor xmm1, xmm2
cmp r8, 0x10
jb 0x14001086a
nop word cs:[rax + rax]
movdqu xmm0, xmmword [rdx]
add rdx, 0x10
add r8, 0xfffffffffffffff0
movdqa xmm2, xmm1
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm0
pclmulqdq xmm1, xmm7, 0x11
pxor xmm1, xmm2
cmp r8, 0xf
ja 0x140010840
movdqa xmm0, xmmword [0x140046270]
pclmulqdq xmm0, xmm1, 1
psrldq xmm1, 8
pxor xmm1, xmm0
pxor xmm0, xmm0
pxor xmm2, xmm2
pblendw xmm2, xmm1, 3
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
psrldq xmm1, 4
pxor xmm1, xmm3
pxor xmm2, xmm2
pblendw xmm2, xmm1, 3
pclmulqdq xmm2, xmmword [0x140046280], 0x10
pblendw xmm2, xmm0, 0xfc
movabs rax, 0x1db710641
movq xmm0, rax
pclmulqdq xmm0, xmm2, 0
pxor xmm0, xmm1
pextrd ecx, xmm0, 1
not ecx
test r8, r8
je 0x14001090b
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
jmp sym.crc32fast::baseline::update_fast_16::h8f58154c4fe0ad57
mov eax, ecx
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x14001c520
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rdi, qword [rcx]
test rdi, rdi
je 0x14001c572
mov r11, qword [rsi + 8]
mov r9, qword [rsi + 0x10]
cmp r9, r11
jae 0x14001c572
movzx eax, byte [rdi + r9]
cmp eax, 0x49
je 0x14001c58d
cmp eax, 0x42
jne 0x14001c572
lea rcx, [r9 + 1]
mov qword [rsi + 0x10], rcx
cmp rcx, r11
jae 0x14001c5ca
cmp byte [rdi + rcx], 0x5f
jne 0x14001c5ca
lea rax, [r9 + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14001c6c2
mov rcx, rsi
xor edx, edx
call dbg.print_path
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc r9
mov qword [rsi + 0x10], r9
mov rcx, rsi
xor edx, edx
call dbg.print_path
test al, al
jne 0x14001c5c5
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14001c63c
lea rdx, [0x14004dd33]
mov r8d, 1
call dbg.pad
test al, al
je 0x14001c63c
mov dil, 2
jmp 0x14001c581
xor eax, eax
mov r10d, 0x3e
nop word cs:[rax + rax]
mov r8b, 1
cmp rcx, r11
jae 0x14001c6de
movzx edx, byte [rdi + rcx]
cmp dl, 0x5f
je 0x14001c6b6
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14001c61f
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14001c60e
add dl, 0xa9
jmp 0x14001c61d
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14001c6de
add dl, 0xe3
mov ebx, edx
inc rcx
mov qword [rsi + 0x10], rcx
mul r10
jo 0x14001c6de
movzx edx, bl
add rax, rdx
jae 0x14001c5e0
jmp 0x14001c6de
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14001c581
xor ebx, ebx
lea r14, [0x14004e11e]
nop word cs:[rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14001c674
cmp byte [rax + rcx], 0x45
je 0x14001c76c
sub rbx, 1
jb 0x14001c699
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14001c699
mov r8d, 2
mov rdx, r14
call dbg.pad
test al, al
jne 0x14001c5c5
mov rcx, rsi
call dbg.print_generic_arg
test al, al
jne 0x14001c5c5
mov rax, qword [rsi]
test rax, rax
jne 0x14001c660
jmp 0x14001c581
inc rcx
mov qword [rsi + 0x10], rcx
inc rax
je 0x14001c6de
cmp rax, r9
jae 0x14001c6db
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
jbe 0x14001c72f
mov bl, 1
xor r8d, r8d
jmp 0x14001c6e0
mov r8b, 1
xor ebx, ebx
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14001c71e
lea rax, [0x14004e0e9]
lea rdx, str.recursion_limit_reachedinvalid_syntax
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call dbg.pad
mov dil, 2
test al, al
jne 0x14001c581
mov qword [rsi], 0
mov byte [rsi + 8], bl
xor edi, edi
jmp 0x14001c581
cmp qword [rsi + 0x20], 0
je 0x14001c728
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 dbg.print_path_maybe_open_generics
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14001c583
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14001c581
Function at 0x14001ee20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp edx, 3
je 0x14001ee38
test edx, edx
jne 0x14001efae
mov rbx, qword [0x1400570f0]
test rbx, rbx
je 0x14001efae
xor r14d, r14d
jmp 0x14001ee59
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14001ee8c
mov esi, dword [rbx + 0x18]
mov rdi, qword [rbx]
test rdi, rdi
je 0x14001eff8
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14001ee50
mov r15, rax
mov ecx, esi
xor edx, edx
call sub.KERNEL32.dll_TlsSetValue
mov rcx, r15
call rdi
mov r14b, 1
jmp 0x14001ee50
test r14b, 1
je 0x14001efae
mov rbx, qword [0x1400570f0]
test rbx, rbx
je 0x14001efae
xor r14d, r14d
jmp 0x14001eeb9
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14001eeec
mov esi, dword [rbx + 0x18]
mov rdi, qword [rbx]
test rdi, rdi
je 0x14001eff8
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14001eeb0
mov r15, rax
mov ecx, esi
xor edx, edx
call sub.KERNEL32.dll_TlsSetValue
mov rcx, r15
call rdi
mov r14b, 1
jmp 0x14001eeb0
test r14b, 1
je 0x14001efae
mov rbx, qword [0x1400570f0]
test rbx, rbx
je 0x14001efae
xor r14d, r14d
jmp 0x14001ef19
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14001ef4c
mov esi, dword [rbx + 0x18]
mov rdi, qword [rbx]
test rdi, rdi
je 0x14001eff8
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14001ef10
mov r15, rax
mov ecx, esi
xor edx, edx
call sub.KERNEL32.dll_TlsSetValue
mov rcx, r15
call rdi
mov r14b, 1
jmp 0x14001ef10
test r14b, 1
je 0x14001efae
mov rbx, qword [0x1400570f0]
test rbx, rbx
je 0x14001efae
xor r14d, r14d
jmp 0x14001ef79
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14001efa8
mov esi, dword [rbx + 0x18]
mov rdi, qword [rbx]
test rdi, rdi
je 0x14001eff8
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14001ef70
mov r15, rax
mov ecx, esi
xor edx, edx
call sub.KERNEL32.dll_TlsSetValue
mov rcx, r15
call rdi
mov r14b, 1
jmp 0x14001ef70
test r14b, 1
jne 0x14001efba
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rbx, qword [0x1400570f0]
jmp 0x14001efc7
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14001efae
mov esi, dword [rbx + 0x18]
mov rdi, qword [rbx]
test rdi, rdi
je 0x14001eff8
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14001efc3
mov r14, rax
mov ecx, esi
xor edx, edx
call sub.KERNEL32.dll_TlsSetValue
mov rcx, r14
call rdi
jmp 0x14001efc3
lea rcx, str.called__Option::unwrap____on_a__None__valueinternal_error:_entered_unreachable_code_rustc_69f9c33d71c871fc16ac445211281c6e7a340943library_alloc_srccollections_btree_navigate.rs
lea r8, str.library_std_src_syswindows_thread_local_key.rs
mov edx, 0x2b
call dbg.panic
ud2
Function at 0x14001fb90
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x14001fc0e
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 0x14001fc4f
cmp dword [rsp + 0x2c], 0
je 0x14001fc33
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x14001fc69
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1400570f0]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1400570f0], rsi
jne 0x14001fbf0
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x14001fc45
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x14001fcbf
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x14001fc38
mov edi, dword [rsp + 0x28]
jmp 0x14001fc45
mov edi, dword [rsi + 0x18]
jmp 0x14001fc43
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 dbg.assert_failed<i32, i32>
ud2
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], 0
lea rax, sym.core::ptr::drop_in_place_windows::core::error::Error_::h294572efbc43ce79
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
lea rdx, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call dbg.panic_fmt
ud2
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], 0
lea rax, sym.core::ptr::drop_in_place_windows::core::error::Error_::h294572efbc43ce79
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call dbg.assert_failed<u32, u32>
ud2