joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff700d382d4
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.7ff700d25764
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x7ff700d3835e
cmp byte [rbp - 0x21], r15b
je 0x7ff700d38359
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x7ff700d38394
call fcn.7ff700d2fc8c
test eax, eax
jne 0x7ff700d38380
cmp byte [rbp - 0x21], r15b
je 0x7ff700d38378
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x7ff700d38394
cmp byte [rbp - 0x21], r15b
je 0x7ff700d38391
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.7ff700d25d1c
test eax, eax
jne 0x7ff700d38434
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.7ff700d25764
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x7ff700d383d3
cmp byte [rbp - 0x21], r15b
je 0x7ff700d38408
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x7ff700d38408
call fcn.7ff700d2fc8c
test eax, eax
jne 0x7ff700d383f4
cmp byte [rbp - 0x21], r15b
je 0x7ff700d383ed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x7ff700d38408
cmp byte [rbp - 0x21], r15b
je 0x7ff700d38405
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.7ff700d25d1c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x7ff700d38434
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x7ff700d38437
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x7ff700d38445
mov rcx, rdi
call fcn.7ff700d2b79c
cmp byte [rbp + 0x3f], r15b
je 0x7ff700d38454
mov rcx, qword [rbp + 0x27]
call fcn.7ff700d2b79c
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 0x7ff700d39a0c
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.7ff700d2d0d4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.7ff700d2d0d4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x7ff700d39b5c
cmp rax, 0xffffffffffffffff
je 0x7ff700d39b5c
xor edi, edi
test rbp, rbp
jle 0x7ff700d39b07
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.7ff700d2fa00
mov rbx, rax
test rax, rax
jne 0x7ff700d39a94
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x7ff700d39afd
mov edx, 0x8000
mov ecx, r14d
call fcn.7ff700d2aa08
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.7ff700d2ddb0
cmp eax, 0xffffffff
je 0x7ff700d39add
cdqe
sub rbp, rax
test rbp, rbp
jg 0x7ff700d39aa4
mov edx, r15d
mov ecx, r14d
call fcn.7ff700d2aa08
jmp 0x7ff700d39afd
cmp byte [rsi + 0x38], dil
je 0x7ff700d39af4
cmp dword [rsi + 0x34], 5
jne 0x7ff700d39af4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x7ff700d39afd
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.7ff700d2b79c
jmp 0x7ff700d39b70
jns 0x7ff700d39b70
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.7ff700d2d0d4
cmp rax, 0xffffffffffffffff
jne 0x7ff700d39b28
cmp byte [rsi + 0x30], dil
je 0x7ff700d39b70
mov edi, dword [rsi + 0x2c]
jmp 0x7ff700d39b70
mov ecx, r14d
call fcn.7ff700d28ec4
mov rcx, rax
call qword [sym.imp.kernel32.dll_SetEndOfFile]
test eax, eax
jne 0x7ff700d39b70
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 0x7ff700d39b70
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x7ff700d39b69
mov eax, dword [rsi + 0x2c]
jmp 0x7ff700d39b6e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.7ff700d2d0d4
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 0x7ff700d3ac60
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
mov rax, qword [0x00550ca0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x00550cb0]
mov dword [rax], 1
mov rax, qword [0x00550cc0]
mov dword [rax], 1
mov rax, qword [0x00550c90]
mov dword [rax], 1
mov rax, qword [0x00550ba0]
cmp word [rax], 0x5a4d
je 0x4010b0
mov rax, qword [0x00550c80]
mov dword [0x00557008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010a0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x00550c60]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x00550b50]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401103
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058
Function at 0x401658
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqa xmm0, xmmword [rcx]
movdqa xmm1, xmmword [rdx]
pxor xmm1, xmm0
movdqa xmmword [rdx], xmm1
movdqa xmm1, xmmword [rdx + 0x10]
pxor xmm1, xmm0
movdqa xmmword [rdx + 0x10], xmm1
movdqa xmm1, xmmword [rdx + 0x20]
pxor xmm1, xmm0
movdqa xmmword [rdx + 0x20], xmm1
movdqa xmm1, xmmword [rdx + 0x30]
pxor xmm1, xmm0
movdqa xmmword [rdx + 0x30], xmm1
movdqa xmm1, xmmword [rdx + 0x40]
pxor xmm1, xmm0
movdqa xmmword [rdx + 0x40], xmm1
movdqa xmm1, xmmword [rdx + 0x50]
pxor xmm1, xmm0
movdqa xmmword [rdx + 0x50], xmm1
movdqa xmm1, xmmword [rdx + 0x60]
pxor xmm1, xmm0
movdqa xmmword [rdx + 0x60], xmm1
pxor xmm0, xmmword [rdx + 0x70]
movdqa xmmword [rdx + 0x70], xmm0
movdqa xmm0, xmmword [rcx + 0x10]
xor eax, eax
cmp rax, 0x80
je 0x4016ea
movdqa xmm1, xmmword [rdx + rax]
aesenc xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x4016cd
movdqa xmm0, xmmword [rcx + 0x20]
xor eax, eax
cmp rax, 0x80
je 0x40170e
movdqa xmm1, xmmword [rdx + rax]
aesenc xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x4016f1
movdqa xmm0, xmmword [rcx + 0x30]
xor eax, eax
cmp rax, 0x80
je 0x401732
movdqa xmm1, xmmword [rdx + rax]
aesenc xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x401715
movdqa xmm0, xmmword [rcx + 0x40]
xor eax, eax
cmp rax, 0x80
je 0x401756
movdqa xmm1, xmmword [rdx + rax]
aesenc xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x401739
movdqa xmm0, xmmword [rcx + 0x50]
xor eax, eax
cmp rax, 0x80
je 0x40177a
movdqa xmm1, xmmword [rdx + rax]
aesenc xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x40175d
movdqa xmm0, xmmword [rcx + 0x60]
xor eax, eax
cmp rax, 0x80
je 0x40179e
movdqa xmm1, xmmword [rdx + rax]
aesenc xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x401781
movdqa xmm0, xmmword [rcx + 0x70]
xor eax, eax
cmp rax, 0x80
je 0x4017c2
movdqa xmm1, xmmword [rdx + rax]
aesenc xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x4017a5
movdqa xmm0, xmmword [rcx + 0x80]
xor eax, eax
cmp rax, 0x80
je 0x4017e9
movdqa xmm1, xmmword [rdx + rax]
aesenc xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x4017cc
movdqa xmm0, xmmword [rcx + 0x90]
xor eax, eax
cmp rax, 0x80
je 0x401810
movdqa xmm1, xmmword [rdx + rax]
aesenc xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x4017f3
movdqa xmm0, xmmword [rcx + 0xa0]
xor eax, eax
cmp rax, 0x80
je 0x401837
movdqa xmm1, xmmword [rdx + rax]
aesenclast xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x40181a
ret

Function at 0x402eac
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x4104b0
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 0x410540
cmp r11, r10
ja 0x4105b6
cmp r10, rdx
ja 0x4105c8
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x410542
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x410520
jmp 0x4105a4
ja 0x41054a
mov r11, r10
cmp rax, r8
jne 0x4104e4
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 0x410580
mov rdi, r8
sub ecx, edx
jns 0x41059b
jmp 0x4105a6
cmp r8, rsi
je 0x4105d7
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x4105a6
xor al, 1
cmp rdi, rsi
jne 0x410560
jmp 0x4105a6
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 dbg.slice_index_order_fail
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call dbg.slice_end_index_len_fail
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_89e2160c4ca5808657ed55392620ed1dbbce78d1library_alloc_srccollections_btree_navigate.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call dbg.panic
int3

Function at 0x416aa0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae dbg.do_count_chars
cmp rax, rcx
je 0x416ac5
cmp rdx, 4
jae 0x416ac8
xor eax, eax
xor r8d, r8d
jmp 0x416b60
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x0044faf0]
movdqa xmm3, xmmword [0x0044fb00]
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 0x416af0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x416b77
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x416b60
ret
Function at 0x417ac0
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 0x417b1b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x417b1b
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x417b36
cmp eax, 0x42
jne 0x417b1b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x417be6
cmp byte [r8 + r11], 0x5f
jne 0x417be6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x417c4e
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 rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call dbg.print_path
test al, al
jne 0x417ce1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x417b72
lea rdx, [0x0054c7e3]
mov r8d, 1
call dbg.pad
test al, al
jne 0x417ce1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x417b2a
xor r14d, r14d
lea rbx, [0x0054cb51]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x417ba4
cmp byte [rax + rcx], 0x45
je 0x417d03
sub r14, 1
jb 0x417bc9
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x417bc9
mov r8d, 2
mov rdx, rbx
call dbg.pad
test al, al
jne 0x417ce1
mov rcx, rsi
call dbg.print_generic_arg
test al, al
jne 0x417ce1
mov rax, qword [rsi]
test rax, rax
jne 0x417b90
jmp 0x417b2a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x417ca8
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x417c42
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x417c2c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x417c1b
add dl, 0xa9
jmp 0x417c2a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x417ca8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x417ca8
movzx edx, bl
add rax, rdx
jae 0x417bf0
jmp 0x417ca8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x417ca8
cmp rax, rcx
jae 0x417ca5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x417cfb
cmp qword [rsi + 0x20], 0
je 0x417cf4
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 0x417b2c
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x417ce9
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, [0x0054cb30]
test r9b, r9b
cmovne rdx, rax
call dbg.pad
test al, al
je 0x417ce9
mov dil, 2
jmp 0x417b2a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x417b2a
mov dil, 1
xor r9d, r9d
jmp 0x417caa
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x417b2a
Function at 0x41a2b0
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
movzx eax, byte [0x00557100]
test al, al
je 0x41a44f
test edx, edx
je 0x41a2d7
cmp edx, 3
jne 0x41a44f
mov rbx, qword [0x00557108]
test rbx, rbx
je 0x41a44f
xor r14d, r14d
jmp 0x41a2f9
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x41a32d
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x41a49a
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x41a2f0
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.0044b24c
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x41a2f0
test r14b, 1
je 0x41a44f
mov rbx, qword [0x00557108]
test rbx, rbx
je 0x41a44f
xor r14d, r14d
jmp 0x41a359
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x41a38d
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x41a49a
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x41a350
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.0044b24c
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x41a350
test r14b, 1
je 0x41a44f
mov rbx, qword [0x00557108]
test rbx, rbx
je 0x41a44f
xor r14d, r14d
jmp 0x41a3b9
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x41a3ed
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x41a49a
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x41a3b0
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.0044b24c
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x41a3b0
test r14b, 1
je 0x41a44f
mov rbx, qword [0x00557108]
test rbx, rbx
je 0x41a44f
xor r14d, r14d
jmp 0x41a419
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x41a449
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x41a49a
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x41a410
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.0044b24c
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x41a410
test r14b, 1
jne 0x41a45b
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rbx, qword [0x00557108]
jmp 0x41a468
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x41a44f
mov esi, dword [rbx + 0x18]
mov r14, qword [rbx]
test r14, r14
je 0x41a49a
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x41a464
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.0044b24c
mov rcx, rdi
call r14
jmp 0x41a464
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_89e2160c4ca5808657ed55392620ed1dbbce78d1library_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 0x41b170
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x41b1f5
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 0x41b236
cmp dword [rsp + 0x2c], 0
je 0x41b21a
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x41b24e
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x00557108]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x00557108], rsi
jne 0x41b1d0
mov byte [0x00557100], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x41b22c
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x41b298
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x41b21f
mov edi, dword [rsp + 0x28]
jmp 0x41b22c
mov edi, dword [rsi + 0x18]
jmp 0x41b22a
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>
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
lea rax, str.called__Option::unwrap____on_a__None__value_rustc_89e2160c4ca5808657ed55392620ed1dbbce78d1library_alloc_srccollections_btree_navigate.rs
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 dbg.panic_fmt
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.called__Option::unwrap____on_a__None__value_rustc_89e2160c4ca5808657ed55392620ed1dbbce78d1library_alloc_srccollections_btree_navigate.rs
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call dbg.assert_failed<u32, u32>
int3
Function at 0x41b5c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x0044e0b0]
test ecx, ecx
je 0x41b6a0
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x41b5f4
mov rdi, rax
cmp qword [rax + 8], 0
je 0x41b5f4
add rdi, 0x10
jmp 0x41b696
mov ecx, dword [0x0044e0b0]
test ecx, ecx
je 0x41b6b3
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x41b694
mov rsi, rax
test rax, rax
jne 0x41b663
movzx eax, byte [0x00557030]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x41b6d6
mov rsi, rax
lea rax, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x0044e0b0]
test ecx, ecx
je 0x41b6c6
dec ecx
mov rdx, rsi
call fcn.0044b24c
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 0x41b696
test rcx, rcx
je 0x41b696
lock dec qword [rcx]
jne 0x41b696
call dbg.drop_slow<std::thread::Inner, alloc::alloc::Global>
jmp 0x41b696
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
call dbg.init
mov ecx, eax
jmp 0x41b5d6
lea rcx, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
call dbg.init
mov ecx, eax
jmp 0x41b604
lea rcx, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
call dbg.init
mov ecx, eax
jmp 0x41b65b
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
int3

Function at 0x41b7d0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov rdi, qword [rcx]
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x41b7e7
dec ecx
jmp 0x41b7f1
mov rcx, rdi
call dbg.init
mov ecx, eax
mov edx, 1
call fcn.0044b24c
cmp qword [rsi + 8], 0
je 0x41b81a
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x41b81a
lock dec qword [rax]
jne 0x41b81a
mov rcx, qword [rsi + 0x10]
call dbg.drop_slow<std::thread::Inner, alloc::alloc::Global>
mov edx, 8
mov rcx, rsi
call sym.__rust_dealloc
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x41b832
dec ecx
jmp 0x41b83c
mov rcx, rdi
call dbg.init
mov ecx, eax
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.0044b24c