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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140008100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400080e0]
test rbx, rbx
je 0x140001eac
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 eax, eax
jne 0x140001ea3
test rsi, rsi
je 0x140001ea3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001e88
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400020c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400020f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002100
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400020d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400020f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002100
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400020e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400020f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002100
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

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

Disassembly:
mov rdx, qword [0x1400058a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002220
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002228
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002220
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000227d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x140002274
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002220
add rax, 0x28
cmp rax, r9
jne 0x140002260
xor eax, eax
ret

Function at 0x140002280
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400058a0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000229f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400022a8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000229f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140002340
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400058a0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000235f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002368
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002520
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov r8d, 0x2c
mov ecx, 2
lea rdx, str._stack_smashing_detected_:_terminated_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x140002550
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x140002c40
Capabilities:
Get local ipv4 addresses

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rbp, qword [0x140005970]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rbp]
mov qword [rsp + 0x48], rax
xor eax, eax
lea rsi, [rsp + 0x3c]
xor eax, eax
mov rdi, rcx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
mov dword [rsp + 0x3c], eax
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, 0x6f
je 0x140002c8a
xor eax, eax
jmp 0x140002d0c
mov edx, dword [rsp + 0x3c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
mov rbx, rax
je 0x140002c83
mov qword [rsp + 0x20], rsi
mov r9, rax
xor r8d, r8d
xor edx, edx
lea r12, [rsp + 0x42]
xor ecx, ecx
mov rsi, rbx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp dword [rsi + 0x58], 6
jne 0x140002cf5
mov eax, dword [rsi + 0x50]
mov r8d, 3
mov rdx, r12
mov rcx, rdi
mov dword [rsp + 0x42], eax
mov ax, word [rsi + 0x54]
mov word [rsp + 0x46], ax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
jne 0x140002cf5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
jmp 0x140002d0c
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x140002cbd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140002c83
mov rdx, qword [rsp + 0x48]
sub rdx, qword [rbp]
je 0x140002d1c
call fcn.140002520
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140002e40
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push rsi
push rbx
sub rsp, 0x48
mov rbx, qword [0x140005970]
mov rsi, qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
xor eax, eax
lea rcx, [rsp + 0x28]
call rsi
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x30]
call rsi
mov edx, dword [rsp + 0x30]
xor eax, eax
cmp dword [rsp + 0x28], edx
jne 0x140002e8e
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x2c], eax
sete al
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rbx]
je 0x140002e9d
call fcn.140002520
add rsp, 0x48
pop rbx
pop rsi
ret
Function at 0x140002eb0
Capabilities:
Enumerate processes

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x160
mov rdi, qword [0x140005970]
xor edx, edx
mov rax, qword [rdi]
mov qword [rsp + 0x158], rax
xor eax, eax
mov rsi, rcx
mov ecx, 2
mov dword [rsp + 0x28], 0x238
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rbp, [rsp + 0x28]
mov rdx, rbp
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32First
lea r12, [rsp + 0x54]
test eax, eax
jne 0x140002f08
xor eax, eax
jmp 0x140002f2a
mov rdx, rbp
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x140002f04
mov rdx, rsi
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll__stricmp
test eax, eax
jne 0x140002f08
mov eax, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x158]
sub rdx, qword [rdi]
je 0x140002f3c
call fcn.140002520
add rsp, 0x160
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140002f50
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, qword [0x140005970]
mov rax, qword [rbx]
mov qword [rsp + 0x58], rax
xor eax, eax
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x48], 1
setbe al
mov rdx, qword [rsp + 0x58]
sub rdx, qword [rbx]
je 0x140002f88
call fcn.140002520
add rsp, 0x60
pop rbx
ret

Function at 0x140002f90
Capabilities:
Get local ipv4 addresses

Disassembly:
sub rsp, 0x28
lea rcx, [0x140005090]
call fcn.140002c40
test al, al
jne 0x140003004
lea rcx, [0x140005094]
call fcn.140002c40
test al, al
jne 0x140003004
lea rcx, [0x140005098]
call fcn.140002c40
test al, al
jne 0x140003004
lea rcx, [0x14000509c]
call fcn.140002c40
test al, al
jne 0x140003004
lea rcx, [0x1400050a0]
call fcn.140002c40
test al, al
jne 0x140003004
lea rcx, [0x1400050a4]
call fcn.140002c40
test al, al
jne 0x140003004
lea rcx, [0x1400050a8]
add rsp, 0x28
jmp fcn.140002c40
mov al, 1
add rsp, 0x28
ret

Function at 0x140003010
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, qword [0x140005970]
mov rax, qword [rbx]
mov qword [rsp + 0x68], rax
xor eax, eax
mov dword [rsp + 0x28], 0x40
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp qword [rsp + 0x30], 0x7fffffff
setbe al
mov rdx, qword [rsp + 0x68]
sub rdx, qword [rbx]
je 0x140003054
call fcn.140002520
add rsp, 0x70
pop rbx
ret
Function at 0x140003300
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x250
mov rbx, qword [0x140005970]
lea rsi, section..rdata
mov rax, qword [rbx]
mov qword [rsp + 0x248], rax
xor eax, eax
lea rdi, [rsp + 0x28]
mov r9, rcx
mov ecx, 8
rep movsd dword [rdi], dword [rsi]
lea r10, [rsp + 0x148]
mov r11, rdx
lea rbp, [rsp + 0x48]
mov rdx, rax
mov byte [rax + r10], al
inc rax
and edx, 0x1f
mov dl, byte [rsp + rdx + 0x28]
mov byte [rax + rbp - 1], dl
cmp rax, 0x100
jne 0x14000334b
mov r12, r10
xor esi, esi
xor r13d, r13d
mov edi, 0x100
movzx eax, byte [r12]
movzx edx, byte [rbp + rsi]
inc rsi
add eax, r13d
add eax, edx
cdq
idiv edi
movsxd rcx, edx
mov rdx, r12
inc r12
mov r13, rcx
add rcx, r10
call fcn.140002bb0
cmp rsi, 0x100
jne 0x140003375
lea rdi, [r9 + r11]
xor ebp, ebp
xor r12d, r12d
cmp rdi, r9
je 0x140003405
lea eax, [rbp + 1]
cdq
idiv esi
movsxd r13, edx
movzx eax, byte [rsp + r13 + 0x148]
lea rcx, [r10 + r13]
mov rbp, r13
add eax, r12d
cdq
idiv esi
movsxd r14, edx
lea rdx, [r10 + r14]
mov r12, r14
call fcn.140002bb0
mov cl, byte [rsp + r14 + 0x148]
add cl, byte [rsp + r13 + 0x148]
movzx ecx, cl
mov al, byte [rsp + rcx + 0x148]
xor byte [r9], al
inc r9
jmp 0x1400033b0
mov rax, qword [rsp + 0x248]
sub rax, qword [rbx]
je 0x140003417
call fcn.140002520
mov rax, r11
add rsp, 0x250
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

Function at 0x1400035c0
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rbx, qword [rax + 0x20]
mov rsi, rcx
test rbx, rbx
je 0x140003603
cmp word [rbx + 0x48], 0
je 0x140003601
mov rcx, qword [rbx + 0x50]
mov rdx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsicmp
test eax, eax
jne 0x1400035fc
mov rbx, qword [rbx + 0x20]
jmp 0x140003603
mov rbx, qword [rbx]
jmp 0x1400035da
xor ebx, ebx
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x140003610
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor eax, eax
cmp word [rcx], 0x5a4d
mov rbx, rcx
mov rbp, rdx
jne 0x140003691
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140003691
mov edi, dword [rdx + 0x88]
xor esi, esi
add rdi, rcx
mov r12d, dword [rdi + 0x20]
mov r13d, dword [rdi + 0x14]
add r12, rcx
cmp esi, r13d
jae 0x14000368f
mov edx, dword [r12 + rsi*4]
mov rcx, rbp
add rdx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov edx, eax
lea rax, [rsi + 1]
test edx, edx
jne 0x14000368a
mov eax, dword [rdi + 0x24]
add rsi, rsi
add rsi, rbx
movzx edx, word [rsi + rax]
mov eax, dword [rdi + 0x1c]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
jmp 0x140003691
mov rsi, rax
jmp 0x140003650
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x140006750
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 0x1400067e0
cmp r11, r10
ja 0x140006856
cmp r10, rdx
ja 0x14000686a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1400067e2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400067c0
jmp 0x140006844
ja 0x1400067ea
mov r11, r10
cmp rax, r8
jne 0x140006784
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 0x140006820
mov rdi, r8
sub ecx, edx
jns 0x14000683b
jmp 0x140006846
cmp r8, rsi
je 0x14000687b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140006846
xor al, 1
cmp rdi, rsi
jne 0x140006800
jmp 0x140006846
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.140004630
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140003c00
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140003fa0
ud2
Function at 0x140009955
Capabilities:
Create process on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, rcx
add r8, rdx
lea rax, [rsp + 0x50]
mov qword [rax], rdx
mov qword [rax + 8], r8
and word [rax + 0x10], 0
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov rdx, rax
call fcn.14000954d
mov rdi, qword [rbx]
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + rdx]
xor ecx, ecx
cmp rax, rcx
je 0x1400099db
cmp word [rdi + rcx], 0
lea rcx, [rcx + 2]
jne 0x140009992
lea rdx, str.path_contains_NUL_byte_s__rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_srcops_function.rs
mov r8d, 0x19
mov cl, 0x14
call fcn.140009396
mov rbx, rax
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call fcn.1400091e1
and dword [rsi], 0
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rbx, qword [rsp + 0x40]
cmp rdx, rbx
jne 0x1400099fe
lea rcx, [rsp + 0x38]
call fcn.140009532
mov rdx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
and word [rdi + rdx*2], 0
lea rax, [0x140059481]
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
lea rax, str.path_contains_NUL_byte_s__rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_srcops_function.rs
mov qword [rdx + 8], rax
and word [rdx + 0x10], 0
lea rcx, [rsp + 0x38]
call fcn.14000954d
mov r14, qword [rsp + 0x38]
mov dword [rsp + 0x28], 5
and qword [rsp + 0x20], 0
xor ecx, ecx
mov rdx, r14
mov r8, rdi
xor r9d, r9d
call sub.SHELL32.dll_ShellExecuteW
mov ecx, 3
cmp eax, 0x20
jg 0x140009a6c
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
xor ecx, ecx
mov dword [rsi], ecx
mov rdx, qword [rsp + 0x40]
mov rcx, r14
call fcn.1400091e1
mov rcx, rdi
mov rdx, rbx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400091e1

Function at 0x14000d550
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140003790
cmp rax, rcx
je 0x14000d575
cmp rdx, 4
jae 0x14000d578
xor eax, eax
xor r8d, r8d
jmp 0x14000d610
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400394e0]
movdqa xmm3, xmmword [0x1400394f0]
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 0x14000d5a0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000d627
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000d610
ret
Function at 0x14000e5a0
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 0x14000e5fb
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14000e5fb
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x14000e616
cmp eax, 0x42
jne 0x14000e5fb
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14000e6c6
cmp byte [r8 + r11], 0x5f
jne 0x14000e6c6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14000e72e
mov rcx, rsi
xor edx, edx
call fcn.140009f90
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.140009f90
test al, al
jne 0x14000e7c1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000e652
lea rdx, [0x140059863]
mov r8d, 1
call fcn.140003c80
test al, al
jne 0x14000e7c1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14000e60a
xor r14d, r14d
lea rbx, [0x140059bd1]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14000e684
cmp byte [rax + rcx], 0x45
je 0x14000e7e3
sub r14, 1
jb 0x14000e6a9
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000e6a9
mov r8d, 2
mov rdx, rbx
call fcn.140003c80
test al, al
jne 0x14000e7c1
mov rcx, rsi
call fcn.14000b7c0
test al, al
jne 0x14000e7c1
mov rax, qword [rsi]
test rax, rax
jne 0x14000e670
jmp 0x14000e60a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x14000e788
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x14000e722
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14000e70c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14000e6fb
add dl, 0xa9
jmp 0x14000e70a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14000e788
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14000e788
movzx edx, bl
add rax, rdx
jae 0x14000e6d0
jmp 0x14000e788
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14000e788
cmp rax, rcx
jae 0x14000e785
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14000e7db
cmp qword [rsi + 0x20], 0
je 0x14000e7d4
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.14000e5a0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000e60c
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000e7c9
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, [0x140059bb0]
test r9b, r9b
cmovne rdx, rax
call fcn.140003c80
test al, al
je 0x14000e7c9
mov dil, 2
jmp 0x14000e60a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14000e60a
mov dil, 1
xor r9d, r9d
jmp 0x14000e78a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14000e60a
Function at 0x140011cc0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x140011d45
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 0x140011d86
cmp dword [rsp + 0x2c], 0
je 0x140011d6a
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140011da0
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x140064150]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x140064150], rsi
jne 0x140011d20
mov byte [0x140064148], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x140011d7c
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x140011dec
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x140011d6f
mov edi, dword [rsp + 0x28]
jmp 0x140011d7c
mov edi, dword [rsi + 0x18]
jmp 0x140011d7a
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.140012240
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_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
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.140003260
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_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.140012290
ud2
Function at 0x140012110
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x140038080]
test ecx, ecx
je 0x1400121f0
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140012144
mov rdi, rax
cmp qword [rax + 8], 0
je 0x140012144
add rdi, 0x10
jmp 0x1400121e6
mov ecx, dword [0x140038080]
test ecx, ecx
je 0x140012203
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400121e4
mov rsi, rax
test rax, rax
jne 0x1400121b3
movzx eax, byte [0x1400640a0]
mov ecx, 0x18
mov edx, 8
call fcn.1400025b0
test rax, rax
je 0x140012226
mov rsi, rax
lea rax, [0x140038068]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140038080]
test ecx, ecx
je 0x140012216
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 0x1400121e6
test rcx, rcx
je 0x1400121e6
lock dec qword [rcx]
jne 0x1400121e6
call fcn.140011c70
jmp 0x1400121e6
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140038068]
call fcn.140011cc0
mov ecx, eax
jmp 0x140012126
lea rcx, [0x140038068]
call fcn.140011cc0
mov ecx, eax
jmp 0x140012154
lea rcx, [0x140038068]
call fcn.140011cc0
mov ecx, eax
jmp 0x1400121ab
mov ecx, 8
mov edx, 0x18
call fcn.140002a10
ud2