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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp edx, 2
je 0x140002290
ja 0x1400021a8
test edx, edx
je 0x140002228
mov eax, dword [0x140007108]
test eax, eax
je 0x140002310
mov dword [0x140007108], 1
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp edx, 3
jne 0x140002195
mov eax, dword [0x140007108]
test eax, eax
je 0x140002195
lea r12, [0x140007120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140007100]
test rbx, rbx
je 0x140002214
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140002338
test eax, eax
jne 0x140002338
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400021e8
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140002195
mov eax, dword [0x140007108]
test eax, eax
jne 0x1400022a8
mov eax, dword [0x140007108]
cmp eax, 1
jne 0x140002195
mov rbx, qword [0x140007100]
test rbx, rbx
je 0x140002261
nop dword [rax]
mov rcx, rbx
mov rbx, qword [rbx + 0x10]
call sym.free
test rbx, rbx
jne 0x140002250
lea rcx, [0x140007120]
mov qword [0x140007100], 0
mov dword [0x140007108], 0
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x140002195
call sym._fpreset
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea r12, [0x140007120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140007100]
test rbx, rbx
je 0x1400022fc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop word [rax + rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140002328
test rsi, rsi
je 0x140002328
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400022d8
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140002232
lea rcx, [0x140007120]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x14000218b
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400022d8
jmp 0x1400022fc
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400021e8
jmp 0x140002214

Function at 0x140002350
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002368
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002370
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002380
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400023cd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400023c4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400023cf
add rax, 0x28
cmp rax, r9
jne 0x1400023b0
xor eax, eax
ret
Function at 0x1400023d0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002460
mov rdx, qword [0x1400043b0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000244e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000244e
cmp word [rax + 0x18], 0x20b
jne 0x14000244e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002460
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002439
add rbx, 0x28
cmp rbx, rdi
je 0x140002460
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002430
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002470
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r8, qword [0x1400043b0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002490
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002498
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002490
movzx eax, word [rdx + 0x14]
sub rcx, r8
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400024e5
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400024dc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002490
add rax, 0x28
cmp rax, r9
jne 0x1400024c8
xor eax, eax
ret

Function at 0x1400024f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000250f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002518
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000250f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002530
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400043b0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002550
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002558
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002550
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400025a0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002597
test rcx, rcx
je 0x140002550
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140002588
xor eax, eax
ret

Function at 0x1400025b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400025cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400025d8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400025f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002610
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002618
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002610
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002610
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002664
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002670
add rdx, 0x28
cmp r9, rdx
jne 0x140002650
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002680
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400043b0]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x1400026a4
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
cmp dword [rcx], 0x4550
je 0x1400026b0
mov rax, r9
ret
cmp word [rcx + 0x18], 0x20b
jne 0x1400026a4
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x1400026a4
movzx edx, word [rcx + 0x14]
movzx r10d, word [rcx + 6]
lea rdx, [rcx + rdx + 0x18]
test r10w, r10w
je 0x1400026a4
lea ecx, [r10 - 1]
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x1400026fc
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x140002710
add rdx, 0x28
cmp rdx, r10
jne 0x1400026e8
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002720
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x14000272e
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002705
test r8d, r8d
jg 0x140002718
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x100411cb0
Capabilities:
Encode data using xor

Disassembly:
push rsp
test al, 0xa3
push rsp
stosb byte [rdi], al
xchg ebp, eax
movabs al, byte [0x6e5da7595c5499a9]
Function at 0x1400033c8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003412
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003412
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003412
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003412
cmp dword [rcx + 0x84], 0xe
jbe 0x140003412
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003414
xor al, al
add rsp, 0x28
ret
Function at 0x140007640
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 0x1400076d0
cmp r11, r10
ja 0x140007746
cmp r10, rdx
ja 0x140007758
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1400076d2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400076b0
jmp 0x140007734
ja 0x1400076da
mov r11, r10
cmp rax, r8
jne 0x140007674
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 0x140007710
mov rdi, r8
sub ecx, edx
jns 0x14000772b
jmp 0x140007736
cmp r8, rsi
je 0x140007767
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140007736
xor al, 1
cmp rdi, rsi
jne 0x1400076f0
jmp 0x140007736
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.140005250
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140004830
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140005d40
int3

Function at 0x140009065
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140048028]
test ecx, ecx
je 0x14000907e
dec ecx
add rsp, 0x28
jmp fcn.140045a2c
lea rcx, [0x140048010]
call fcn.1400171e0
mov ecx, eax
jmp 0x140009075

Function at 0x14000908e
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x1400090af
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.140045a24
mov rcx, rax
call fcn.1400171e0
mov ecx, eax
jmp 0x1400090a2
Function at 0x14000de26
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14000de3f
dec ecx
add rsp, 0x28
jmp fcn.140045a2c
mov rcx, rax
call fcn.1400171e0
mov ecx, eax
jmp 0x14000de36
Function at 0x14000fdac
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov esi, ecx
mov eax, 0x30
mov rax, qword gs:[eax]
mov rax, qword [rax + 0x60]
mov rdi, qword [rax + 0x18]
add rdi, 0x10
mov rdi, qword [rdi]
movzx edx, word [rdi + 0x58]
mov rcx, qword [rdi + 0x60]
call fcn.14000fe9a
cmp eax, 0x1edab0ed
jne 0x14000fdd4
mov r14, qword [rdi + 0x30]
movsxd rax, dword [r14 + 0x3c]
mov eax, dword [rax + r14 + 0x88]
test rax, rax
je 0x14000fe6c
mov edi, dword [rax + r14 + 0x18]
mov ecx, dword [rax + r14 + 0x1c]
add rcx, r14
mov qword [rsp + 0x20], rcx
mov r12d, dword [rax + r14 + 0x20]
add r12, r14
mov r13d, dword [rax + r14 + 0x24]
add r13, r14
xor ebx, ebx
xor r15d, r15d
cmp r15, rdi
je 0x14000fe6e
mov rbp, r15
mov ecx, dword [r12 + r15*4]
add rcx, r14
mov rax, rcx
mov rdx, rax
inc rax
cmp byte [rdx], 0
jne 0x14000fe39
lea r15, [rbp + 1]
sub rdx, rcx
call fcn.14000fe9a
cmp eax, esi
jne 0x14000fe27
movzx ecx, word [r13 + rbp*2]
cmp rdi, rcx
jbe 0x14000fe8a
mov rax, qword [rsp + 0x20]
mov ebx, dword [rax + rcx*4]
add rbx, r14
jmp 0x14000fe6e
xor ebx, ebx
movzx eax, word [rbx + 4]
add rbx, 0x12
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str._usr_local_cargo_git_checkouts_rust_syscalls_68f3d3f4128be087_162451a_src_syscall_resolve.rs
mov rdx, rdi
call fcn.140003ec0
int3

Function at 0x14000fe9a
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0x1505
xor r8d, r8d
cmp r8, rdx
jae 0x14000fed6
mov r9b, byte [rcx + r8]
test r9b, r9b
jne 0x14000feb5
inc r8
jmp 0x14000fea2
lea r10d, [r9 - 0x20]
cmp r9b, 0x61
movzx r9d, r9b
movzx r10d, r10b
cmovb r10d, r9d
imul r9d, eax, 0x21
movzx eax, r10b
add eax, r9d
jmp 0x14000feb0
ret

Function at 0x140013640
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140004350
cmp rax, rcx
je 0x140013665
cmp rdx, 4
jae 0x140013668
xor eax, eax
xor r8d, r8d
jmp 0x140013700
xor eax, eax
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400495e0]
movdqa xmm3, xmmword [0x1400495f0]
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 0x140013690
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140013717
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140013700
ret
Function at 0x1400145d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov r10, qword [rcx]
test r10, r10
je 0x14001464e
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x14001464e
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x140014666
cmp eax, 0x42
jne 0x14001464e
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
mov r9b, 1
cmp rsi, r11
jae 0x14001478d
cmp byte [r10 + rsi], 0x5f
jne 0x14001471c
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x14001478d
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x1400147e7
mov dil, 1
xor r9d, r9d
jmp 0x14001478f
xor edx, edx
call fcn.140010140
mov esi, eax
add sil, sil
mov eax, esi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc r8
mov qword [rcx + 0x10], r8
xor edx, edx
call fcn.140010140
test al, al
jne 0x1400147cd
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400146a5
lea rdx, [0x14004f7ab]
mov r8d, 1
call fcn.1400048c0
mov rdx, rbx
test al, al
jne 0x1400147cd
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x14001465a
xor r14d, r14d
lea rdi, [0x14004fb01]
nop word [rax + rax]
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x1400146d4
cmp byte [rax + rcx], 0x45
je 0x140014824
sub r14, 1
jb 0x1400146fc
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x1400146fc
mov r8d, 2
mov rdx, rdi
call fcn.1400048c0
mov rdx, rbx
test al, al
jne 0x1400147cd
mov rcx, rdx
call fcn.140011900
test al, al
jne 0x1400147cd
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x1400146c0
jmp 0x14001465a
xor eax, eax
mov r14d, 0x3e
nop word cs:[rax + rax]
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x14001477d
lea edi, [rdx - 0x30]
cmp dil, 0xa
jb 0x14001475f
lea edi, [rdx - 0x61]
cmp dil, 0x1a
jae 0x140014751
add dl, 0xa9
jmp 0x14001475d
lea edi, [rdx - 0x41]
cmp dil, 0x1a
jae 0x14001478d
add dl, 0xe3
mov edi, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul r14
jo 0x14001478d
movzx edx, dil
xor edi, edi
add rax, rdx
jb 0x14001478f
cmp rsi, r11
jb 0x140014730
jmp 0x14001478f
inc rsi
mov qword [rcx + 0x10], rsi
inc rax
jne 0x140014629
xor edi, edi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x1400147d5
mov ecx, r9d
xor cl, 1
movzx ecx, cl
lea r8, [rcx + rcx*8]
add r8, 0x10
lea rcx, str.invalid_syntaxrecursion_limit_reached_for_______::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x14004fae0]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call fcn.1400048c0
mov rcx, rbx
test al, al
je 0x1400147d5
mov sil, 2
jmp 0x14001465a
mov qword [rcx], 0
mov byte [rcx + 8], dil
xor esi, esi
jmp 0x14001465a
cmp qword [rcx + 0x20], 0
je 0x1400147e0
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rcx + 0x10], rax
mov dword [rcx + 0x18], edx
mov rsi, rcx
call fcn.1400145d0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14001465c
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x14001465a
Function at 0x140016fd0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x40
mov ecx, dword [0x1400480c8]
test ecx, ecx
je 0x1400170c2
dec ecx
call fcn.140045a2c
cmp rax, 2
jb 0x140017000
cmp qword [rax + 8], 0
je 0x140017000
add rax, 0x10
jmp 0x1400170bc
mov ecx, dword [0x1400480c8]
test ecx, ecx
je 0x1400170d5
dec ecx
call fcn.140045a2c
cmp rax, 1
je 0x1400170ba
test rax, rax
jne 0x140017080
mov qword [rsp + 0x30], 0
lea rax, [0x1400480b0]
mov qword [rsp + 0x28], rax
movzx eax, byte [0x140059108]
mov edx, 0x18
xor ecx, ecx
call fcn.140036470
test rax, rax
je 0x140017101
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400480c8]
test ecx, ecx
je 0x1400170e8
dec ecx
mov rdx, rax
mov rsi, rax
call fcn.140045a24
mov rax, rsi
mov rdx, rax
add rax, 0x10
mov rcx, qword [rdx + 0x10]
cmp qword [rdx + 8], 0
mov qword [rdx + 8], 1
mov qword [rdx + 0x10], 0
je 0x1400170bc
test rcx, rcx
je 0x1400170bc
lock dec qword [rcx]
jne 0x1400170bc
mov rsi, rax
call fcn.140017130
mov rax, rsi
jmp 0x1400170bc
xor eax, eax
add rsp, 0x40
pop rsi
ret
lea rcx, [0x1400480b0]
call fcn.1400171e0
mov ecx, eax
jmp 0x140016fe5
lea rcx, [0x1400480b0]
call fcn.1400171e0
mov ecx, eax
jmp 0x140017010
lea rcx, [0x1400480b0]
mov rsi, rax
call fcn.1400171e0
mov ecx, eax
mov rax, rsi
jmp 0x140017072
mov ecx, 8
mov edx, 0x18
call fcn.140003380
ud2
Function at 0x1400171e0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x140017270
mov rax, qword [0x14005c038]
mov dword [rsp + 0x2c], 0
lea rdi, [rsi + 0x10]
lea r8, [rsp + 0x2c]
mov rcx, rdi
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
mov dword [rsp + 0x28], eax
cmp eax, 1
jne 0x1400172b1
cmp dword [rsp + 0x2c], 0
je 0x140017295
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x1400172c9
mov ebx, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1400590f8]
nop dword [rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1400590f8], rsi
jne 0x140017250
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
mov eax, ebx
jmp 0x1400172a9
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x140017313
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x14001729a
mov eax, dword [rsp + 0x28]
jmp 0x1400172a9
mov eax, dword [rsi + 0x18]
jmp 0x1400172a7
mov ecx, dword [rsp + 0x28]
mov esi, eax
call sub.KERNEL32.dll_TlsFree
mov eax, esi
dec eax
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.140017370
mov rcx, rdi
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.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_9b00956e56009bab2aa15d7bff10916599e3d6d6library_std_src_threadlocal.rs
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call fcn.140003e70
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_9b00956e56009bab2aa15d7bff10916599e3d6d6library_std_src_threadlocal.rs
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.1400173c0
int3
Function at 0x140018730
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1400480a8]
test ecx, ecx
je 0x1400187ed
dec ecx
call fcn.140045a2c
cmp rax, 2
jb 0x140018760
cmp qword [rax + 8], 0
je 0x140018760
add rax, 0x10
jmp 0x1400187e7
mov ecx, dword [0x1400480a8]
test ecx, ecx
je 0x140018800
dec ecx
call fcn.140045a2c
cmp rax, 1
je 0x1400187e5
test rax, rax
jne 0x1400187c8
movzx eax, byte [0x140059108]
mov edx, 0x20
xor ecx, ecx
call fcn.140036470
test rax, rax
je 0x140018829
lea rcx, [0x140048090]
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x1400480a8]
test ecx, ecx
je 0x140018813
dec ecx
mov rdx, rax
mov rsi, rax
call fcn.140045a24
mov rax, rsi
mov qword [rax + 8], 1
mov rcx, rax
add rax, 0x10
mov qword [rcx + 0x10], 0
mov byte [rcx + 0x18], 0
jmp 0x1400187e7
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140048090]
call fcn.1400171e0
mov ecx, eax
jmp 0x140018745
lea rcx, [0x140048090]
call fcn.1400171e0
mov ecx, eax
jmp 0x140018770
lea rcx, [0x140048090]
mov rsi, rax
call fcn.1400171e0
mov ecx, eax
mov rax, rsi
jmp 0x1400187ba
mov ecx, 8
mov edx, 0x20
call fcn.140003380
int3