joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14003c440]
mov dword [rax], 1
mov rax, qword [0x14003c450]
mov dword [rax], 1
mov rax, qword [0x14003c460]
mov dword [rax], 1
mov rax, qword [0x14003c400]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x14001ad50
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.14001c0b0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x14001ba22
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140040168]
test eax, eax
je 0x14001baba
lea rax, [0x140040140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140040170]
mov qword [rbp - 8], rax
jmp 0x14001ba9e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14001ba92
cmp qword [rbp - 0x10], 0
je 0x14001ba92
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14001ba58
lea rax, [0x140040140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14001babb
nop
add rsp, 0x30
pop rbp
ret
Function at 0x14001bbc0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14001bbe8
mov eax, 0
jmp 0x14001bc36
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14001bc11
mov eax, 0
jmp 0x14001bc36
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14001bc31
mov eax, 0
jmp 0x14001bc36
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14001bc3c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14001bcba
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14001bcb1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14001bcb1
mov rax, qword [rbp - 8]
jmp 0x14001bccf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14001bc84
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140011091
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x140011e00
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x62
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
lea rcx, [0x14002200f]
call fcn.140011087
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0xffffffff
mov dword [rbp + 0x64], 0
mov dword [rbp + 0x84], 0
movsxd rax, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x180]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x140011edc
movsxd rax, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x180]
movzx eax, byte [rcx + rax]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
mov ecx, dword [rbp + 0x44]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 0x44], eax
mov dword [rbp + 0x84], 7
jmp 0x140011ea8
mov eax, dword [rbp + 0x84]
dec eax
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jl 0x140011ed2
mov eax, dword [rbp + 0x44]
and eax, 1
imul eax, eax, 0xffffffff
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x44]
shr eax, 1
mov ecx, dword [rbp + 0x24]
and ecx, 0xedb88320
xor eax, ecx
mov dword [rbp + 0x44], eax
jmp 0x140011e9a
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
jmp 0x140011e5c
mov eax, dword [rbp + 0x44]
not eax
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x140011096
Capabilities:
Terminate process

Disassembly:
jmp 0x1400139a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011258
Capabilities:
Check os version
Parse pe header
Resolve function by parsing pe exports

Disassembly:
jmp 0x140011790
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x52
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x14002200f]
call fcn.140011087
cmp qword [0x14001d2f0], 0
je 0x1400117e2
cmp qword [0x14001d2f8], 0
je 0x1400117e2
cmp qword [0x14001d300], 0
je 0x1400117e2
mov eax, 1
jmp 0x14001197f
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov edx, 0x38
lea rcx, [0x14001d2d0]
call fcn.14001139d
mov rax, qword gs:[0x60]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14001182c
mov rax, qword [rbp + 8]
cmp dword [rax + 0x118], 0xa
je 0x140011833
xor eax, eax
jmp 0x14001197f
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
sub rax, 0x10
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140011858
xor eax, eax
jmp 0x14001197f
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x30]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov qword [0x14001d2d0], rax
mov rax, qword [rbp + 0x48]
mov qword [0x14001d2d8], rax
mov rax, qword [0x14001d2d8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140011892
xor eax, eax
jmp 0x14001197f
mov rax, qword [0x14001d2d8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [0x14001d2e0], rax
mov rax, qword [0x14001d2e0]
cmp dword [rax], 0x4550
je 0x1400118c4
xor eax, eax
jmp 0x14001197f
mov eax, 8
imul rax, rax, 0
mov rcx, qword [0x14001d2e0]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [0x14001d2e8], rax
cmp qword [0x14001d2e8], 0
je 0x140011903
mov rax, qword [0x14001d2e8]
cmp dword [rax + 0x10], 0
jne 0x140011907
xor eax, eax
jmp 0x14001197f
mov rax, qword [0x14001d2e8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [0x14001d2f0], rax
mov rax, qword [0x14001d2e8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [0x14001d2f8], rax
mov rax, qword [0x14001d2e8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [0x14001d300], rax
cmp qword [0x14001d2f0], 0
je 0x140011976
cmp qword [0x14001d2f8], 0
je 0x140011976
cmp qword [0x14001d300], 0
jne 0x14001197a
xor eax, eax
jmp 0x14001197f
mov eax, 1
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140011316
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014cf0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014d10
xor al, al
jmp 0x140014d91
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014d23
xor al, al
jmp 0x140014d91
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014d4d
xor al, al
jmp 0x140014d91
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014d61
xor al, al
jmp 0x140014d91
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014d73
xor al, al
jmp 0x140014d91
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014d8f
xor al, al
jmp 0x140014d91
mov al, 1
add rsp, 0x38
ret
Function at 0x2fc4d7670
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d8750
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d8072
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fa108]
test eax, eax
je 0x2fc4d810a
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fa110]
mov qword [rbp - 8], rax
jmp 0x2fc4d80ee
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d80e2
cmp qword [rbp - 0x10], 0
je 0x2fc4d80e2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d80a8
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d810b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d8210
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d8238
mov eax, 0
jmp 0x2fc4d8286
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d8261
mov eax, 0
jmp 0x2fc4d8286
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d8281
mov eax, 0
jmp 0x2fc4d8286
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140006740
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 0x1400067d0
cmp r11, r10
ja 0x140006846
cmp r10, rdx
ja 0x140006858
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1400067d2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400067b0
jmp 0x140006834
ja 0x1400067da
mov r11, r10
cmp rax, r8
jne 0x140006774
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 0x140006810
mov rdi, r8
sub ecx, edx
jns 0x14000682b
jmp 0x140006836
cmp r8, rsi
je 0x140006867
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140006836
xor al, 1
cmp rdi, rsi
jne 0x1400067f0
jmp 0x140006836
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.140004560
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140003b30
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_srcio_borrowed_buf.rs_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_srccollections_btree_navigate.rsIndex_out_of_boundsu
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140003ed0
int3

Function at 0x14000cae0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.1400036c0
cmp rax, rcx
je 0x14000cb05
cmp rdx, 4
jae 0x14000cb08
xor eax, eax
xor r8d, r8d
jmp 0x14000cba0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14003a470]
movdqa xmm3, xmmword [0x14003a480]
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 0x14000cb30
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000cbb7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000cba0
ret
Function at 0x14000db20
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 0x14000db7b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14000db7b
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x14000db96
cmp eax, 0x42
jne 0x14000db7b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14000dc46
cmp byte [r8 + r11], 0x5f
jne 0x14000dc46
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14000dcae
mov rcx, rsi
xor edx, edx
call fcn.140009510
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.140009510
test al, al
jne 0x14000dd41
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000dbd2
lea rdx, [0x14003d8d3]
mov r8d, 1
call fcn.140003bb0
test al, al
jne 0x14000dd41
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14000db8a
xor r14d, r14d
lea rbx, [0x14003dc41]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14000dc04
cmp byte [rax + rcx], 0x45
je 0x14000dd63
sub r14, 1
jb 0x14000dc29
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000dc29
mov r8d, 2
mov rdx, rbx
call fcn.140003bb0
test al, al
jne 0x14000dd41
mov rcx, rsi
call fcn.14000ad40
test al, al
jne 0x14000dd41
mov rax, qword [rsi]
test rax, rax
jne 0x14000dbf0
jmp 0x14000db8a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x14000dd08
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x14000dca2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14000dc8c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14000dc7b
add dl, 0xa9
jmp 0x14000dc8a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14000dd08
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14000dd08
movzx edx, bl
add rax, rdx
jae 0x14000dc50
jmp 0x14000dd08
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14000dd08
cmp rax, rcx
jae 0x14000dd05
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14000dd5b
cmp qword [rsi + 0x20], 0
je 0x14000dd54
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.14000db20
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000db8c
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000dd49
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, [0x14003dc20]
test r9b, r9b
cmovne rdx, rax
call fcn.140003bb0
test al, al
je 0x14000dd49
mov dil, 2
jmp 0x14000db8a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14000db8a
mov dil, 1
xor r9d, r9d
jmp 0x14000dd0a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14000db8a
Function at 0x1400110d0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x140011155
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 0x140011196
cmp dword [rsp + 0x2c], 0
je 0x14001117a
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x1400111ae
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1400470d8]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1400470d8], rsi
jne 0x140011130
mov byte [0x1400470d0], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
jmp 0x14001118c
call sub.kernel32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x1400111f8
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x14001117f
mov edi, dword [rsp + 0x28]
jmp 0x14001118c
mov edi, dword [rsi + 0x18]
jmp 0x14001118a
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.140011650
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.combase.dll
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.140003190
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.combase.dll
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.1400116a0
int3
Function at 0x140011520
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x140039098]
test ecx, ecx
je 0x140011600
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140011554
mov rdi, rax
cmp qword [rax + 8], 0
je 0x140011554
add rdi, 0x10
jmp 0x1400115f6
mov ecx, dword [0x140039098]
test ecx, ecx
je 0x140011613
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400115f4
mov rsi, rax
test rax, rax
jne 0x1400115c3
movzx eax, byte [0x1400470f0]
mov ecx, 0x18
mov edx, 8
call fcn.140002550
test rax, rax
je 0x140011636
mov rsi, rax
lea rax, [0x140039080]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140039098]
test ecx, ecx
je 0x140011626
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 0x1400115f6
test rcx, rcx
je 0x1400115f6
lock dec qword [rcx]
jne 0x1400115f6
call fcn.140011080
jmp 0x1400115f6
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140039080]
call fcn.1400110d0
mov ecx, eax
jmp 0x140011536
lea rcx, [0x140039080]
call fcn.1400110d0
mov ecx, eax
jmp 0x140011564
lea rcx, [0x140039080]
call fcn.1400110d0
mov ecx, eax
jmp 0x1400115bb
mov ecx, 8
mov edx, 0x18
call fcn.140002990
int3

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

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1400390b8]
test ecx, ecx
je 0x140011caf
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140011c39
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x140011c9e
mov ecx, dword [0x1400390b8]
test ecx, ecx
je 0x140011cc2
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140011ca4
mov rsi, rax
test rax, rax
jne 0x140011c98
movzx eax, byte [0x1400470f0]
mov ecx, 0x10
mov edx, 8
call fcn.140002550
test rax, rax
je 0x140011ce5
mov rsi, rax
lea rax, [0x1400390a0]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x1400390b8]
test ecx, ecx
je 0x140011cd5
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov word [rsi + 8], 1
add rsi, 9
jmp 0x140011ca6
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1400390a0]
call fcn.1400110d0
mov ecx, eax
jmp 0x140011c25
lea rcx, [0x1400390a0]
call fcn.1400110d0
mov ecx, eax
jmp 0x140011c45
lea rcx, [0x1400390a0]
call fcn.1400110d0
mov ecx, eax
jmp 0x140011c90
mov ecx, 8
mov edx, 0x10
call fcn.140002990
int3