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

Disassembly:
push rsi
sub rsp, 0x50
mov ecx, dword [0x140305818]
test ecx, ecx
je 0x1402268fd
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140226916
cmp qword [rax + 8], 0
je 0x140226916
add rax, 0x10
add rsp, 0x50
pop rsi
ret
lea rcx, [0x140305800]
call fcn.14028f0b0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x1402268ec
mov ecx, dword [0x140305818]
test ecx, ecx
je 0x1402269d0
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1402269ed
mov rsi, rax
test rax, rax
jne 0x1402269a7
movzx eax, byte [0x1403f6a90]
mov rcx, qword [0x1403f6548]
test rcx, rcx
jne 0x140226968
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x140226a41
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x18
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x140226a41
mov rsi, rax
lea rax, [0x140305800]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140305818]
test ecx, ecx
je 0x1402269f5
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov ecx, 1
lock xadd qword [0x1403057f8], rcx
test rcx, rcx
je 0x140226a05
lea rax, [rsi + 0x10]
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], rcx
add rsp, 0x50
pop rsi
ret
lea rcx, [0x140305800]
call fcn.14028f0b0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x140226935
xor eax, eax
add rsp, 0x50
pop rsi
ret
lea rcx, [0x140305800]
call fcn.14028f0b0
mov ecx, eax
jmp 0x14022699f
lea rax, [0x14034ab20]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 1
lea rax, [0x1403d7910]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rdx, str._Users_sh1n_.cargo_registry_src_rsproxy.cn_8f6827c7555bfaf8_regex_automata_0.3.9_src_util_pool.rs
lea rcx, [rsp + 0x20]
call fcn.140136bd0
ud2
mov ecx, 8
mov edx, 0x18
call fcn.1400eb190
ud2
Function at 0x1402312e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.140226f10
cmp eax, 0x5c
jne 0x14023131c
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140227ce0
mov rbx, qword [rdi]
mov r14, qword [rbx + 0xa0]
mov rcx, rdi
call fcn.140226f10
mov ecx, 1
cmp eax, 0x80
jb 0x140231354
mov ecx, 2
cmp eax, 0x800
jb 0x140231354
cmp eax, 0x10000
mov ecx, 4
sbb rcx, 0
add r14, rcx
jb 0x1402313e7
mov r15, qword [rbx + 0xb0]
inc r15
je 0x140231401
mov r12, qword [rbx + 0xa8]
add rbx, 0xa0
mov rcx, rdi
call fcn.140226f10
xor r13d, r13d
cmp eax, 0xa
sete r13b
mov eax, 1
cmove r15, rax
add r13, r12
movups xmm0, xmmword [rbx]
movups xmmword [rsi + 8], xmm0
mov rax, qword [rbx + 0x10]
mov qword [rsi + 0x18], rax
mov rcx, rdi
call fcn.140226f10
mov ebx, eax
mov rcx, rdi
call fcn.140227bb0
mov qword [rsi + 0x20], r14
mov qword [rsi + 0x28], r13
mov qword [rsi + 0x30], r15
mov dword [rsi + 0x38], ebx
mov byte [rsi + 0x3c], 0
mov byte [rsi + 0x70], 2
mov dword [rsi], 0x20
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str._Users_sh1n_.cargo_registry_src_rsproxy.cn_8f6827c7555bfaf8_regex_syntax_0.6.29_src_ast_parse.rs
mov edx, 0x2b
call fcn.140137ef0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str._Users_sh1n_.cargo_registry_src_rsproxy.cn_8f6827c7555bfaf8_regex_syntax_0.6.29_src_ast_parse.rs
mov edx, 0x2b
call fcn.140137ef0
ud2
Function at 0x14024f4b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.140245060
cmp eax, 0x5c
jne 0x14024f4ec
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140245e20
mov rbx, qword [rdi]
mov r14, qword [rbx + 0xa0]
mov rcx, rdi
call fcn.140245060
mov ecx, 1
cmp eax, 0x80
jb 0x14024f524
mov ecx, 2
cmp eax, 0x800
jb 0x14024f524
cmp eax, 0x10000
mov ecx, 4
sbb rcx, 0
add r14, rcx
jb 0x14024f5b7
mov r15, qword [rbx + 0xb0]
inc r15
je 0x14024f5d1
mov r12, qword [rbx + 0xa8]
add rbx, 0xa0
mov rcx, rdi
call fcn.140245060
xor r13d, r13d
cmp eax, 0xa
sete r13b
mov eax, 1
cmove r15, rax
add r13, r12
movups xmm0, xmmword [rbx]
movups xmmword [rsi + 8], xmm0
mov rax, qword [rbx + 0x10]
mov qword [rsi + 0x18], rax
mov rcx, rdi
call fcn.140245060
mov ebx, eax
mov rcx, rdi
call fcn.140245cf0
mov qword [rsi + 0x20], r14
mov qword [rsi + 0x28], r13
mov qword [rsi + 0x30], r15
mov dword [rsi + 0x38], ebx
mov byte [rsi + 0x3c], 0
mov byte [rsi + 0x70], 2
mov dword [rsi], 0x1f
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str._Users_sh1n_.cargo_registry_src_rsproxy.cn_8f6827c7555bfaf8_regex_syntax_0.7.5_src_ast_parse.rs
mov edx, 0x2b
call fcn.140137ef0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str._Users_sh1n_.cargo_registry_src_rsproxy.cn_8f6827c7555bfaf8_regex_syntax_0.7.5_src_ast_parse.rs
mov edx, 0x2b
call fcn.140137ef0
ud2
Function at 0x14026dd50
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.1401373d0
cmp rax, rcx
je 0x14026dd75
cmp rdx, 4
jae 0x14026dd78
xor r8d, r8d
xor eax, eax
jmp 0x14026de10
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14030dd50]
movdqa xmm3, xmmword [0x14030dd60]
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 0x14026dda0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14026de27
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14026de10
ret
Function at 0x14026ef70
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 0x14026efcb
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14026efcb
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14026efe6
cmp eax, 0x42
jne 0x14026efcb
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14026f096
cmp byte [r9 + r11], 0x5f
jne 0x14026f096
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14026f0fe
mov rcx, rsi
xor edx, edx
call fcn.14026a500
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.14026a500
test al, al
jne 0x14026f191
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14026f022
lea rdx, [0x1403a45ba]
mov r8d, 1
call fcn.140137bd0
test al, al
jne 0x14026f191
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14026efda
xor r14d, r14d
lea rbx, [0x1403a5220]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14026f054
cmp byte [rax + rcx], 0x45
je 0x14026f1ba
sub r14, 1
jb 0x14026f079
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14026f079
mov r8d, 2
mov rdx, rbx
call fcn.140137bd0
test al, al
jne 0x14026f191
mov rcx, rsi
call fcn.14026bd40
test al, al
jne 0x14026f191
mov rax, qword [rsi]
test rax, rax
jne 0x14026f040
jmp 0x14026efda
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14026f158
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14026f0f2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14026f0dc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14026f0cb
add dl, 0xa9
jmp 0x14026f0da
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14026f158
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14026f158
movzx edx, bl
add rax, rdx
jae 0x14026f0a0
jmp 0x14026f158
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14026f158
cmp rax, rcx
jae 0x14026f155
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14026f199
cmp qword [rsi + 0x20], 0
je 0x14026f1b3
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.14026ef70
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14026efdc
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14026f1a8
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x1403a4930]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.140137bd0
test al, al
je 0x14026f1a8
mov dil, 2
jmp 0x14026efda
mov dil, 1
xor r8d, r8d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x14026f163
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14026efda
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14026efda
Function at 0x14027bbb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x140305840]
test ecx, ecx
je 0x14027bbe0
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x14027bbf9
mov rdi, rax
cmp qword [rax + 8], 0
je 0x14027bbf9
add rdi, 0x10
jmp 0x14027bcd3
lea rcx, [0x140305828]
call fcn.14028f0b0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14027bbcd
mov ecx, dword [0x140305840]
test ecx, ecx
je 0x14027bcb4
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14027bcd1
mov rsi, rax
test rax, rax
jne 0x14027bc8a
movzx eax, byte [0x1403f6a90]
mov rcx, qword [0x1403f6548]
test rcx, rcx
jne 0x14027bc4b
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x14027bced
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x20
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x14027bced
mov rsi, rax
lea rax, [0x140305828]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140305840]
test ecx, ecx
je 0x14027bcdd
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
lea rdi, [rsi + 0x10]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp qword [rsi + 8], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
je 0x14027bcd3
call fcn.14027b8d0
jmp 0x14027bcd3
lea rcx, [0x140305828]
call fcn.14028f0b0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x14027bc18
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140305828]
call fcn.14028f0b0
mov ecx, eax
jmp 0x14027bc82
mov ecx, 8
mov edx, 0x20
call fcn.1400eb190
ud2
Function at 0x14027df70
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rdx + 0x10]
movups xmm0, xmmword [rdx]
mov r9d, dword [rdx + 0xc]
add r9d, eax
bswap r9d
movd xmm1, r9d
shufps xmm1, xmm0, 0xe4
shufps xmm0, xmm1, 0x24
xorps xmm0, xmmword [rcx]
aesenc xmm0, xmmword [rcx + 0x10]
aesenc xmm0, xmmword [rcx + 0x20]
aesenc xmm0, xmmword [rcx + 0x30]
aesenc xmm0, xmmword [rcx + 0x40]
aesenc xmm0, xmmword [rcx + 0x50]
aesenc xmm0, xmmword [rcx + 0x60]
aesenc xmm0, xmmword [rcx + 0x70]
aesenc xmm0, xmmword [rcx + 0x80]
aesenc xmm0, xmmword [rcx + 0x90]
aesenc xmm0, xmmword [rcx + 0xa0]
aesenc xmm0, xmmword [rcx + 0xb0]
inc eax
aesenc xmm0, xmmword [rcx + 0xc0]
mov dword [rdx + 0x10], eax
aesenc xmm0, xmmword [rcx + 0xd0]
aesenclast xmm0, xmmword [rcx + 0xe0]
movdqu xmmword [r8], xmm0
ret
Function at 0x14027fe40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x1402822d0
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
lea r14, [rcx + 0x28]
movzx r12d, byte [rcx + 0x68]
mov rax, qword [rcx + 0x20]
shl rax, 9
lea r15, [r12*8]
or r15, rax
mov byte [rcx + r12 + 0x28], pe_nt_image_headers64
mov r8, r12
xor r8, 0x3f
je 0x14028231f
lea rcx, [r12 + r14]
inc rcx
xor edx, edx
call sub.msvcrt.dll_memset
bswap r15
xor r12d, 0x38
cmp r12d, 8
jae 0x14028236d
mov r8d, 1
mov rcx, rbx
mov rdx, r14
call fcn.140273ba0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], r15
lea rdx, [rsp + 0x20]
mov r8d, 1
mov rcx, rbx
jmp 0x14028237d
mov qword [rbx + 0x60], r15
mov r8d, 1
mov rcx, rbx
mov rdx, r14
call fcn.140273ba0
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [0x14030e310]
movups xmmword [rbx], xmm2
movdqa xmm2, xmmword [0x14030e320]
movdqu xmmword [rbx + 0x10], xmm2
mov qword [rbx + 0x20], 0
mov byte [rbx + 0x68], 0
cmp rdi, 0x1f
jbe 0x140282417
pxor xmm2, xmm2
movdqa xmm3, xmm1
punpckhbw xmm3, xmm2
pshuflw xmm3, xmm3, 0x1b
pshufhw xmm3, xmm3, 0x1b
punpcklbw xmm1, xmm2
pshuflw xmm1, xmm1, 0x1b
pshufhw xmm1, xmm1, 0x1b
packuswb xmm1, xmm3
movdqa xmm3, xmm0
punpckhbw xmm3, xmm2
pshuflw xmm3, xmm3, 0x1b
pshufhw xmm3, xmm3, 0x1b
punpcklbw xmm0, xmm2
pshuflw xmm0, xmm0, 0x1b
pshufhw xmm0, xmm0, 0x1b
packuswb xmm0, xmm3
movdqu xmmword [rsi], xmm0
movdqu xmmword [rsi + 0x10], xmm1
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str._Users_sh1n_.cargo_registry_src_rsproxy.cn_8f6827c7555bfaf8_snow_0.9.6_src_resolvers_default.rs
mov ecx, 0x20
mov rdx, rdi
call fcn.140137b60
ud2
Function at 0x140282af0
Capabilities:
Hash data using sha512

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
lea r14, [rcx + 0x50]
movzx r13d, byte [rcx + 0xd0]
mov rax, qword [rcx + 0x40]
mov r15, qword [rcx + 0x48]
shld r15, rax, 0xa
shl rax, 0xa
lea r12, [r13*8]
or r12, rax
mov byte [rcx + r13 + 0x50], pe_nt_image_headers64
mov r8, r13
xor r8, 0x7f
je 0x140282b50
lea rcx, [r14 + r13]
inc rcx
xor edx, edx
call sub.msvcrt.dll_memset
bswap r12
bswap r15
xor r13d, 0x70
cmp r13d, 0x10
jae 0x140282bba
mov r8d, 1
mov rcx, rbx
mov rdx, r14
call fcn.140276f60
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x98], r12
mov qword [rsp + 0x90], r15
lea rdx, [rsp + 0x20]
mov r8d, 1
mov rcx, rbx
jmp 0x140282bd4
mov qword [rbx + 0xc0], r15
mov qword [rbx + 0xc8], r12
mov r8d, 1
mov rcx, rbx
mov rdx, r14
call fcn.140276f60
mov r14, qword [rbx]
mov r11, qword [rbx + 8]
mov r10, qword [rbx + 0x10]
mov r9, qword [rbx + 0x18]
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, qword [rbx + 0x30]
mov rax, qword [rbx + 0x38]
movups xmm0, xmmword [0x1403a6190]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [0x1403a61a0]
movups xmmword [rbx + 0x10], xmm0
movups xmm0, xmmword [0x1403a61b0]
movups xmmword [rbx + 0x20], xmm0
movups xmm0, xmmword [0x1403a61c0]
movups xmmword [rbx + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbx + 0x40], xmm0
mov byte [rbx + 0xd0], 0
cmp rdi, 0x3f
jbe 0x140282c81
bswap rax
bswap rcx
bswap rdx
bswap r8
bswap r9
bswap r10
bswap r11
bswap r14
mov qword [rsi], r14
mov qword [rsi + 8], r11
mov qword [rsi + 0x10], r10
mov qword [rsi + 0x18], r9
mov qword [rsi + 0x20], r8
mov qword [rsi + 0x28], rdx
mov qword [rsi + 0x30], rcx
mov qword [rsi + 0x38], rax
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str._Users_sh1n_.cargo_registry_src_rsproxy.cn_8f6827c7555bfaf8_snow_0.9.6_src_resolvers_default.rs
mov ecx, 0x40
mov rdx, rdi
call fcn.140137b60
ud2
Function at 0x14028ed40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov ecx, dword [0x1403058b8]
test ecx, ecx
je 0x14028ed70
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x14028ed89
mov rdi, rax
cmp qword [rax + 8], 0
je 0x14028ed89
add rdi, 0x10
jmp 0x14028ee7d
lea rcx, [0x1403058a0]
call fcn.14028f0b0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14028ed5d
mov ecx, dword [0x1403058b8]
test ecx, ecx
je 0x14028ee5e
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14028ee7b
mov rsi, rax
test rax, rax
jne 0x14028ee2e
mov qword [rsp + 0x30], 0
lea rax, [0x1403058a0]
mov qword [rsp + 0x28], rax
movzx eax, byte [0x1403f6a90]
mov rcx, qword [0x1403f6548]
test rcx, rcx
jne 0x14028edf0
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x14028ee97
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x20
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x14028ee97
mov rsi, rax
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov ecx, dword [0x1403058b8]
test ecx, ecx
je 0x14028ee87
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
lea rdi, [rsi + 0x10]
cmp qword [rsi + 8], 0
mov rcx, qword [rsi + 0x18]
mov qword [rsi + 8], 1
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
je 0x14028ee7d
test rcx, rcx
je 0x14028ee7d
lock dec qword [rcx]
jne 0x14028ee7d
call fcn.140170050
jmp 0x14028ee7d
lea rcx, [0x1403058a0]
call fcn.14028f0b0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x14028eda8
xor edi, edi
mov rax, rdi
add rsp, 0x48
pop rdi
pop rsi
ret
lea rcx, [0x1403058a0]
call fcn.14028f0b0
mov ecx, eax
jmp 0x14028ee26
mov ecx, 8
mov edx, 0x20
call fcn.1400eb190
ud2
Function at 0x14028f0b0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x14028f135
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 0x14028f176
cmp dword [rsp + 0x2c], 0
je 0x14028f15a
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x14028f19e
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1403f6568]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1403f6568], rsi
jne 0x14028f110
mov byte [0x1403f6560], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
jmp 0x14028f16c
call sub.kernel32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x14028f1ea
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x14028f15f
mov edi, dword [rsp + 0x28]
jmp 0x14028f16c
mov edi, dword [rsi + 0x18]
jmp 0x14028f16a
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 rdx, [0x1403a93b8]
lea r9, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x28]
lea r8, [rsp + 0x30]
call fcn.14028f250
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
lea rax, [0x1403d7910]
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.140136bd0
ud2
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, [0x1403d7910]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.14028f290
ud2
Function at 0x14028fe20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1403058d8]
test ecx, ecx
je 0x14028fee6
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x14028fe4d
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x14028fee0
mov ecx, dword [0x1403058d8]
test ecx, ecx
je 0x14028ff08
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14028ff25
mov rsi, rax
test rax, rax
jne 0x14028feda
movzx eax, byte [0x1403f6a90]
mov rcx, qword [0x1403f6548]
test rcx, rcx
jne 0x14028fe9f
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x14028ff40
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x10
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x14028ff40
mov rsi, rax
lea rax, [0x1403058c0]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x1403058d8]
test ecx, ecx
je 0x14028ff30
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov word [rsi + 8], 1
add rsi, 9
jmp 0x14028ff27
lea rcx, [0x1403058c0]
call fcn.14028f0b0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14028fe40
jmp 0x14028fe4d
lea rcx, [0x1403058c0]
call fcn.14028f0b0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x14028fe6c
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1403058c0]
call fcn.14028f0b0
mov ecx, eax
jmp 0x14028fed2
mov ecx, 8
mov edx, 0x10
call fcn.1400eb190
ud2
Function at 0x140290e10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x140305898]
test ecx, ecx
je 0x140290e3d
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140290e56
cmp qword [rax + 8], 0
je 0x140290e56
add rax, 0x10
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140305880]
call fcn.14028f0b0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
add dword [rdi - 0x2a], esi
mov ecx, dword [0x140305898]
test ecx, ecx
je 0x140290f01
dec ecx
call sub.kernel32.dll_TlsGetValue
invalid
sbb eax, 0x83480007
clc
add dword [rdi], ecx
invalid
invalid
add byte [rax], al
invalid
mov rsi, rax
test rax, rax
jne 0x140290ee3
movzx eax, byte [0x1403f6a90]
mov rcx, qword [0x1403f6548]
or eax, 0x1656bd
test rcx, rcx
jne 0x140290ea8
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je case.0x14028dc6b.393
cwde
add byte [rax], al
invalid
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x20
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je case.0x14028dc6b.393
mov rsi, rax
lea rax, [0x140305880]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140305898]
test ecx, ecx
je 0x140290f26
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], 0
add dh, al
sbb byte [rax], r8b
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140305880]
call fcn.14028f0b0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
invalid
invalid
cmp rax, 1
jne 0x140290e75
push rdi
invalid
invalid
invalid
xor eax, eax
add rsp, 0x20
add esp, 0x20
pop rsi
ret
lea rcx, [0x140305880]
call fcn.14028f0b0
mov ecx, eax
jmp 0x140290edb
mov ecx, 8
mov edx, 0x20
call fcn.1400eb190
ud2