joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180024a60
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1800a21e8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov qword [rsp + 0x48], rbp
mov r8, rdx
mov dword [rsp + 0x50], ebp
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x58], rbp
lea rcx, [rsp + 0x48]
call fcn.180024540
mov ebx, eax
test eax, eax
jne 0x180024b77
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180024b51
nop dword [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180024a60
mov ebx, eax
test eax, eax
jne 0x180024b77
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x180024b00
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180024b66
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbp
mov rdx, rsi
mov dword [rsp + 0x50], ebp
mov rcx, rdi
call fcn.180023ae0
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180024b87
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18002a070
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x180025090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1800a21e8]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18002511e
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18002511e
call fcn.180023750
mov ebx, eax
jmp 0x180025243
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x18002513f
call fcn.180023750
jmp 0x180025232
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x180025162
call fcn.180023750
jmp 0x180025232
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x180025184
mov ebx, 0x8007000e
jmp 0x180025234
mov ecx, eax
test eax, eax
je 0x1800251b9
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x18002527b
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x1800251b9
lea rcx, [rsp + 0x70]
call fcn.180023630
jmp 0x1800251c3
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x1800251d6
cmp qword [rsp + 0x70], 0
jne 0x1800251e5
mov ebx, 0x8007000e
jmp 0x180025234
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x18002520f
call fcn.180023750
jmp 0x180025232
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180024bb0
mov ebx, eax
test rdi, rdi
je 0x180025243
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x18002525a
lea rcx, [rsp + 0x70]
call fcn.180023c50
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.18002a070
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.180004370
int3
Function at 0x18002c728
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x18002c73b
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.18002cd48
lea rdx, [0x1800a00e8]
lea rcx, [rsp + 0x20]
call fcn.180048b7c
int3

Function at 0x1800384a8
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1800a6878]
xor edx, edx
jmp fcn.18002c728

Function at 0x180038e40
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1800a6878]
jmp fcn.18002c728

Function at 0x180044a90
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x180044b4c]
mov r9, qword [r9 + 8]
jmp fcn.18003497c

Function at 0x180044b24
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x180044b5c]
mov r9, qword [r9 + 8]
jmp fcn.18003497c

Function at 0x180054270
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x180054268
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.18004e924
or eax, 0xffffffff
jmp 0x18005426a
xor eax, eax
add rsp, 0x28
ret
jmp 0x180054248
Function at 0x1800678ac
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x180067568
call fcn.18004e994
mov dword [rax], 0x16
call fcn.18004bb04
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x180067550
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x180067550
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x18006759a
lock or dword [rax + 0x14], 0x10
jmp 0x180067550
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1800675b7
mov rcx, qword [rbp + 0x10]
call fcn.180067d88
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.180061e2c
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1800663a4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x18006760e
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x180067550
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x18006767a
mov rcx, qword [rbp + 0x10]
call fcn.180061e2c
cmp eax, 0xffffffff
je 0x180067661
mov rcx, qword [rbp + 0x10]
call fcn.180061e2c
cmp eax, 0xfffffffe
je 0x180067661
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.180061e2c
movsxd rdi, eax
lea rsi, [0x1800a6f00]
mov rcx, rbx
sar rdi, 6
call fcn.180061e2c
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x180067668
lea rax, [0x1800a26b0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x18006767a
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1800676b0
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1800676ac
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1800676ac
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x180067553
jmp 0x180067520
Function at 0x1800678b4
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x18006771a
call fcn.18004e994
mov dword [rax], 0x16
call fcn.18004bb04
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1800676fc
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1800676fc
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x18006774c
lock or dword [rax + 0x14], 0x10
jmp 0x1800676fc
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x180067769
mov rcx, qword [rbp + 0x20]
call fcn.180067d88
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x18006777e
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x180067784
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.180061e2c
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1800663a4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x1800677d7
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x1800676fc
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x180067843
mov rcx, qword [rbp + 0x20]
call fcn.180061e2c
cmp eax, 0xffffffff
je 0x18006782a
mov rcx, qword [rbp + 0x20]
call fcn.180061e2c
cmp eax, 0xfffffffe
je 0x18006782a
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.180061e2c
movsxd rdi, eax
lea r15, [0x1800a6f00]
mov rcx, rbx
sar rdi, 6
call fcn.180061e2c
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x180067831
lea rax, [0x1800a26b0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x180067843
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x180067879
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x180067875
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x180067875
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x180067897
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x1800678a2
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x180067701
jmp 0x1800676c8
Function at 0x14000df90
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 0x14000e020
cmp r11, r10
ja 0x14000e096
cmp r10, rdx
ja 0x14000e0aa
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14000e022
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000e000
jmp 0x14000e084
ja 0x14000e02a
mov r11, r10
cmp rax, r8
jne 0x14000dfc4
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 0x14000e060
mov rdi, r8
sub ecx, edx
jns 0x14000e07b
jmp 0x14000e086
cmp r8, rsi
je 0x14000e0bb
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000e086
xor al, 1
cmp rdi, rsi
jne 0x14000e040
jmp 0x14000e086
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.14000c230
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14000b820
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_srcio_borrowed_buf.rs_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_srccollections_btree_navigate.rsIndex_out_of_boundsMa
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14000bbc0
ud2
Function at 0x140013e90
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rcx
xor edi, edi
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x20
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xc0000000
jb 0x140013f16
mov esi, eax
mov rcx, rbx
mov edx, 0x20
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140013ed0
xor edi, edi
jmp 0x140013f16
xor esi, 0x80000000
je 0x140013ecc
movzx eax, byte [0x140181040]
mov rcx, qword [0x140181128]
test rcx, rcx
jne 0x140013eff
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x140013f21
mov rcx, rax
mov qword [0x140181128], rax
mov r8d, 4
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x140013f21
mov rdi, rax
mov dword [rax], esi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov ecx, 4
mov edx, 4
call fcn.1400051a0
ud2

Function at 0x140017c50
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.14000b3b0
cmp rax, rcx
je 0x140017c75
cmp rdx, 4
jae 0x140017c78
xor eax, eax
xor r8d, r8d
jmp 0x140017d10
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400616e0]
movdqa xmm3, xmmword [0x1400616f0]
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 0x140017ca0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140017d27
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140017d10
ret
Function at 0x140018e50
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 0x140018eab
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x140018eab
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x140018ec6
cmp eax, 0x42
jne 0x140018eab
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140018f76
cmp byte [r8 + r11], 0x5f
jne 0x140018f76
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x140018fde
mov rcx, rsi
xor edx, edx
call fcn.1400143d0
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.1400143d0
test al, al
jne 0x140019071
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140018f02
lea rdx, [0x140065783]
mov r8d, 1
call fcn.14000b8a0
test al, al
jne 0x140019071
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x140018eba
xor r14d, r14d
lea rbx, [0x140065af1]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140018f34
cmp byte [rax + rcx], 0x45
je 0x14001909a
sub r14, 1
jb 0x140018f59
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140018f59
mov r8d, 2
mov rdx, rbx
call fcn.14000b8a0
test al, al
jne 0x140019071
mov rcx, rsi
call fcn.140015c40
test al, al
jne 0x140019071
mov rax, qword [rsi]
test rax, rax
jne 0x140018f20
jmp 0x140018eba
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x140019038
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x140018fd2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x140018fbc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x140018fab
add dl, 0xa9
jmp 0x140018fba
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140019038
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140019038
movzx edx, bl
add rax, rdx
jae 0x140018f80
jmp 0x140019038
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140019038
cmp rax, rcx
jae 0x140019035
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x140019079
cmp qword [rsi + 0x20], 0
je 0x140019093
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.140018e50
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140018ebc
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140019088
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, [0x140065ad0]
test r9b, r9b
cmovne rdx, rax
call fcn.14000b8a0
test al, al
je 0x140019088
mov dil, 2
jmp 0x140018eba
mov dil, 1
xor r9d, r9d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x140019043
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x140018eba
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x140018eba
Function at 0x14001ca30
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x14001cab5
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 0x14001caf6
cmp dword [rsp + 0x2c], 0
je 0x14001cada
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x14001cb10
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x140181138]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x140181138], rsi
jne 0x14001ca90
mov byte [0x140181130], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x14001caec
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x14001cb5c
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x14001cadf
mov edi, dword [rsp + 0x28]
jmp 0x14001caec
mov edi, dword [rsi + 0x18]
jmp 0x14001caea
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.14001cfe0
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, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_srcio_borrowed_buf.rs_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_srccollections_btree_navigate.rsIndex_out_of_boundsMa
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.14000ae60
ud2
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_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_srcio_borrowed_buf.rs_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_srccollections_btree_navigate.rsIndex_out_of_boundsMa
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.14001d030
ud2
Function at 0x14001ce80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x140060098]
test ecx, ecx
je 0x14001ceb0
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14001cec9
mov rdi, rax
cmp qword [rax + 8], 0
je 0x14001cec9
add rdi, 0x10
jmp 0x14001cfaa
lea rcx, [0x140060080]
call fcn.14001ca30
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14001ce9d
mov ecx, dword [0x140060098]
test ecx, ecx
je 0x14001cf8b
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14001cfa8
mov rsi, rax
test rax, rax
jne 0x14001cf5a
movzx eax, byte [0x140181040]
mov rcx, qword [0x140181128]
test rcx, rcx
jne 0x14001cf1b
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x14001cfc4
mov rcx, rax
mov qword [0x140181128], rax
mov r8d, 0x18
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x14001cfc4
mov rsi, rax
lea rax, [0x140060080]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140060098]
test ecx, ecx
je 0x14001cfb4
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 0x14001cfaa
test rcx, rcx
je 0x14001cfaa
lock dec qword [rcx]
jne 0x14001cfaa
call fcn.14001c9d0
jmp 0x14001cfaa
lea rcx, [0x140060080]
call fcn.14001ca30
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14001cee8
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140060080]
call fcn.14001ca30
mov ecx, eax
jmp 0x14001cf52
mov ecx, 8
mov edx, 0x18
call fcn.1400051a0
ud2

Function at 0x14001dc70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1400600b8]
test ecx, ecx
je 0x14001dd36
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14001dc9d
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x14001dd30
mov ecx, dword [0x1400600b8]
test ecx, ecx
je 0x14001dd58
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14001dd75
mov rsi, rax
test rax, rax
jne 0x14001dd2a
movzx eax, byte [0x140181040]
mov rcx, qword [0x140181128]
test rcx, rcx
jne 0x14001dcef
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x14001dd90
mov rcx, rax
mov qword [0x140181128], rax
mov r8d, 0x10
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x14001dd90
mov rsi, rax
lea rax, [0x1400600a0]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x1400600b8]
test ecx, ecx
je 0x14001dd80
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov word [rsi + 8], 1
add rsi, 9
jmp 0x14001dd77
lea rcx, [0x1400600a0]
call fcn.14001ca30
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14001dc90
jmp 0x14001dc9d
lea rcx, [0x1400600a0]
call fcn.14001ca30
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14001dcbc
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1400600a0]
call fcn.14001ca30
mov ecx, eax
jmp 0x14001dd22
mov ecx, 8
mov edx, 0x10
call fcn.1400051a0
ud2