joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180008840
Capabilities:
Send data
Send data on socket

Disassembly:
push r12
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov rsi, rcx
call fcn.1800081d0
mov rdi, rax
lea rbx, [rsi + 0xa8]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800089e5
nop dword [rax + rax]
mov r8d, dword [rdi + 0x30]
sub r8d, dword [rdi + 0x28]
xor r9d, r9d
mov rdx, qword [rdi + 0x28]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.WS2_32.dll_send]
mov ebp, eax
test eax, eax
jle 0x180008907
lea rcx, [rsi + 0x1a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [rsi + 0x208], ebp
lea rcx, [rsi + 0x1a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r9, qword [rsi]
mov r8d, ebp
mov rdx, qword [rdi + 0x28]
mov rcx, rsi
call qword [r9 + 0x118]
cmp eax, 2
jne 0x180008900
mov rdx, qword [rsi + 0x38]
lea rcx, str._C_CNNID:__Iu__OnSend___event_should_not_return_HR_ERROR____n
call fcn.180007560
mov rbx, qword [rsp + 0x28]
jmp 0x18000890c
cmp eax, 0xffffffff
je 0x18000894e
lea rcx, [rbx + 0x30]
mov rdx, rdi
call fcn.1800049e0
test eax, eax
jne 0x180008924
mov rcx, rdi
call fcn.180007540
mov rcx, rsi
call fcn.1800081d0
mov rdi, rax
lea rbx, [rsi + 0xa8]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x180008890
jmp 0x1800089e5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1800089b1
lea rcx, [rsi + 0x1a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsi + 0x1d8]
test rax, rax
je 0x180008985
mov qword [rax + 0x10], rdi
mov rax, qword [rsi + 0x1d8]
mov qword [rdi + 8], rax
jmp 0x180008994
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rax
mov qword [rsi + 0x1e0], rdi
mov qword [rsi + 0x1d8], rdi
inc dword [rsi + 0x1d0]
lea rcx, [rsi + 0x1a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
jmp 0x180008a02
mov dword [rsi + 0x18], 1
mov dword [rsi + 0x1c], 3
mov dword [rsi + 0x20], eax
mov dword [rsi + 0x24], 1
lea rcx, [rbx + 0x30]
mov rdx, rdi
call fcn.1800049e0
test eax, eax
jne 0x1800089e1
mov rcx, rdi
call fcn.180007540
xor eax, eax
jmp 0x180008a07
test rdi, rdi
je 0x180008a02
lea rcx, [rbx + 0x30]
mov rdx, rdi
call fcn.1800049e0
test eax, eax
jne 0x180008a02
mov rcx, rdi
call fcn.180007540
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret

Function at 0x1800093d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea rax, [rcx + 0x60]
mov rbx, rcx
mov r9, rcx
mov qword [rsp + 0x28], rax
lea r8, [0x180008f80]
xor edi, edi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edi
call fcn.18000acf4
test rax, rax
mov qword [rbx + 0x58], rax
mov rbx, qword [rsp + 0x40]
setne dil
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x18000c73f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1800241e0]
jne 0x18000a7ca
rol rcx, 0x10
test cx, 0xffff
jne 0x18000a7c6
repz ret
ror rcx, 0x10
jmp 0x18000c698
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180026300]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1800263f8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x18000c71d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180026300]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x18000c73f
mov rax, qword [rsp + 0x88]
mov qword [0x1800263f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180026398], rax
mov rax, qword [0x1800263f8]
mov qword [0x180026270], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180026380], rax
mov dword [0x180026260], 0xc0000409
mov dword [0x180026264], 1
mov rax, qword [0x1800241e0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1800241e8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1800262f8], eax
mov ecx, 1
call fcn.180013b20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18001d600]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1800262f8], 0
jne 0x18000c7c6
mov ecx, 1
call fcn.180013b20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x180013ecc
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1800241e0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.18000c94c
xor ebx, ebx
cmp qword [0x180027298], rbx
mov rdi, rax
jne 0x180013fdf
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1800140b6
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800140b6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180027298], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1800272a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1800272a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1800272b8], rax
test rax, rax
je 0x180013fd6
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1800272b0], rax
jmp 0x180013fe6
mov rax, qword [0x1800272b0]
jmp 0x180013fed
mov rax, qword [0x1800272b0]
mov r11, qword [0x1800272b8]
cmp rax, rdi
je 0x180014054
cmp r11, rdi
je 0x180014054
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1800272b8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180014054
test rax, rax
je 0x180014054
call rsi
test rax, rax
je 0x18001404e
lea rcx, [rsp + 0x30]
mov r9d, recv
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18001404e
test byte [rsp + 0x40], 1
jne 0x180014054
bts ebp, 0x15
jmp 0x180014094
mov rcx, qword [0x1800272a0]
cmp rcx, rdi
je 0x180014094
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180014094
call rax
mov rbx, rax
test rax, rax
je 0x180014094
mov rcx, qword [0x1800272a8]
cmp rcx, rdi
je 0x180014094
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180014094
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180027298]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800140b6
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1800140b8
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18000a7b0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140007910
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
push rdx
nop
pop rax
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 0x1400079a0
cmp r11, r10
ja 0x140007a0e
cmp r10, rdx
ja 0x140007a22
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1400079a2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140007980
jmp 0x1400079fc
ja 0x1400079aa
mov r11, r10
cmp rax, r8
jne 0x140007944
add rsi, rdi
lea rdx, [rdi + 1]
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
movzx r8d, byte [rdi]
or r8b, r8b
jns 0x1400079e0
cmp rdx, rsi
je 0x140007a33
movzx r9d, byte [rdx]
inc rdx
and r8d, 0x7f
shl r8d, 8
or r8d, r9d
nop
push rdx
pop rdi
sub ecx, r8d
js 0x1400079fe
xor al, 1
sub edx, edx
cmp rdi, rsi
setne dl
add rdx, rdi
cmp rdi, rsi
jne 0x1400079c0
jmp 0x1400079fe
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.d__t_
mov rcx, r11
mov rdx, r10
call fcn.140006640
ud2
lea r8, str.d__t_
mov rcx, r10
call fcn.1400065c0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140005aa0
ud2

Function at 0x14001c42f
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x14004f018]
or ecx, ecx
je 0x14001c448
dec ecx
add rsp, 0x28
jmp fcn.14004ca5c
lea rcx, section..data
call fcn.140041080
mov ecx, eax
jmp 0x14001c43f

Function at 0x14001c458
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
push rdx
nop
pop rsi
nop
push rcx
pop rax
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14001c479
dec ecx
nop
push rsi
pop rdx
add rsp, 0x20
pop rsi
jmp fcn.14004ca64
push rax
nop
pop rcx
call fcn.140041080
mov ecx, eax
jmp 0x14001c46c
Function at 0x14001f792
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
push rcx
pop rdi
nop
mov r12d, 0x20
sub esi, esi
mov r13d, 0xffffffff
or r12, r12
je 0x14001f823
mov r14, rdi
cmp r12, r13
mov r15d, 0xffffffff
cmovb r15, r12
add rdi, r15
sub r12, r15
sub ecx, ecx
mov rdx, r14
mov r8d, r15d
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xc0000000
jb 0x14001f7b2
mov ebx, eax
mov rcx, r14
mov edx, r15d
call sub.advapi32.dll_SystemFunction036
test al, al
jne 0x14001f7b2
xor ebx, 0x80000000
je 0x14001f821
mov al, byte [0x1400a92d8]
mov ecx, 4
mov edx, 4
call fcn.140003690
test rax, rax
je 0x14001f836
nop
push rax
pop rsi
mov dword [rax], ebx
jmp 0x14001f823
xor esi, esi
push rsi
nop
pop rax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call fcn.140003300
ud2

Function at 0x14001f90a
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x14004f0a8]
or ecx, ecx
je 0x14001fa1a
dec ecx
call fcn.14004ca5c
cmp rax, 2
jb 0x14001f945
cmp qword [rax + 8], 0
je 0x14001f945
push rax
pop rcx
nop
add rcx, 0x10
mov rax, qword [rax + 0x10]
jmp 0x14001f9fb
mov ecx, dword [0x14004f0a8]
or ecx, ecx
je 0x14001fa2d
dec ecx
call fcn.14004ca5c
push rax
nop
pop rdi
cmp rax, 1
je 0x14001fa10
or rdi, rdi
jne 0x14001f9b4
mov al, byte [0x1400a92d8]
mov ecx, 0x20
mov edx, 8
call fcn.140003690
test rax, rax
je 0x14001fa53
mov rdi, rax
lea rax, [0x14004f090]
mov qword [rdi], rax
and qword [rdi + 8], 0
mov ecx, dword [0x14004f0a8]
or ecx, ecx
je 0x14001fa40
dec ecx
push rdi
nop
pop rdx
call fcn.14004ca64
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x14001f9e2
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14001f9e7
call fcn.14004b850
mov qword [rdi + 8], 1
lea rcx, [rdi + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rdx
mov rdx, qword [rcx + 8]
lea r8, [rax + 1]
mov qword [rcx], r8
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdx
xor edi, edi
mov qword [rsi], rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x14004f090]
call fcn.140041080
mov ecx, eax
jmp 0x14001f923
lea rcx, [0x14004f090]
call fcn.140041080
mov ecx, eax
jmp 0x14001f955
lea rcx, [0x14004f090]
call fcn.140041080
mov ecx, eax
jmp 0x14001f9ac
mov ecx, 8
mov edx, 0x20
call fcn.140003300
ud2

Function at 0x140020661
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0x1505
sub r8d, r8d
cmp r8, rdx
jae 0x14002069d
mov r9b, byte [rcx + r8]
or r9b, r9b
jne 0x14002067c
inc r8
jmp 0x140020669
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 0x140020677
ret
Function at 0x1400248d0
Capabilities:
Encode data using xor

Disassembly:
push rdx
pop rax
nop
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140006bd0
cmp rax, rcx
je 0x1400248f5
cmp rdx, 4
jae 0x1400248f8
xor eax, eax
xor r8d, r8d
jmp 0x140024990
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
sub eax, eax
movdqa xmm2, xmmword [0x140050c70]
movdqa xmm3, xmmword [0x140050c80]
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 0x140024920
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400249a7
nop dword [rax]
sub r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140024990
ret
Function at 0x140025330
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 0x140025428
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x140025428
movzx eax, byte [r8 + rcx]
cmp eax, 0x42
je 0x140025443
cmp eax, 0x49
jne 0x140025428
inc rcx
mov qword [rsi + 0x10], rcx
nop
push rsi
pop rcx
sub edx, edx
call fcn.140020d80
test al, al
jne 0x140025568
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400253ac
lea rdx, [0x14009ea5b]
mov r8d, 1
call fcn.140004190
test al, al
jne 0x140025568
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x140025437
xor r14d, r14d
lea rbx, [0x14009e609]
nop word cs:[rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x1400253e9
test rax, rax
je 0x1400253e9
cmp byte [rax + rcx], 0x45
je 0x14002558a
sub r14, 1
jb 0x14002540e
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14002540e
mov r8d, 2
push rbx
nop
pop rdx
call fcn.140004190
test al, al
jne 0x140025568
push rsi
nop
pop rcx
call fcn.140022680
test al, al
jne 0x140025568
mov rax, qword [rsi]
test rax, rax
jne 0x1400253d0
jmp 0x140025437
nop
push rsi
pop rcx
sub edx, edx
call fcn.140020d80
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140025463
cmp byte [r8 + r11], 0x5f
jne 0x140025463
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
sub eax, eax
jmp 0x1400254ce
sub eax, eax
mov edi, 0x3e
nop word [rax + rax]
mov r9b, 1
cmp r11, r10
jae 0x14002552f
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x1400254c2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1400254ac
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14002549b
add dl, 0xa9
jmp 0x1400254aa
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14002552f
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14002552f
movzx edx, bl
add rax, rdx
jae 0x140025470
jmp 0x14002552f
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14002552f
cmp rax, rcx
jae 0x14002552c
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x140025582
cmp qword [rsi + 0x20], 0
je 0x14002557b
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
push rsi
pop rcx
nop
call fcn.140025330
mov edi, eax
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
cmp al, 2
jne 0x140025437
jmp 0x140025568
mov r9b, 1
sub edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140025570
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___Cunsafe_extern__
lea rdx, [0x14009e5e8]
test r9b, r9b
cmovne rdx, rax
call fcn.140004190
test al, al
je 0x140025570
mov dil, 2
jmp 0x140025437
mov qword [rsi], 0
mov byte [rsi + 8], dil
sub edi, edi
jmp 0x140025437
mov dil, 1
xor r9d, r9d
jmp 0x140025531
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x140025437
Function at 0x1400317d0
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rbx, r8
mov r14, rdx
nop
push rcx
pop rdi
movzx eax, byte [0x1400a92d8]
mov ecx, 0x10
mov edx, 8
call fcn.140003690
or rax, rax
je 0x140031888
push rax
nop
pop rsi
mov qword [rax], r14
mov qword [rax + 8], rbx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400318e0]
sub ebx, ebx
sub ecx, ecx
push rdi
pop rdx
nop
mov r9, rax
call sub.kernel32.dll_CreateThread
nop
push rax
pop rdx
test rax, rax
jne 0x14003187b
mov rbx, qword [rsi]
mov r14, qword [rsi + 8]
push rbx
pop rcx
nop
call qword [r14]
cmp qword [r14 + 8], 0
je 0x14003185a
mov rdx, qword [r14 + 0x10]
push rbx
pop rcx
nop
call fcn.140003720
mov edx, 8
mov rcx, rsi
call fcn.140003720
call sub.kernel32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ebx, 1
push rbx
nop
pop rax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 8
mov edx, 0x10
call fcn.140003300
ud2
Function at 0x14003d510
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x14004f0e0]
or ecx, ecx
je 0x14003d5cd
dec ecx
call fcn.14004ca5c
cmp rax, 2
jb 0x14003d540
cmp qword [rax + 8], 0
je 0x14003d540
add rax, 0x10
jmp 0x14003d5c7
mov ecx, dword [0x14004f0e0]
test ecx, ecx
je 0x14003d5e0
dec ecx
call fcn.14004ca5c
cmp rax, 1
je 0x14003d5c5
nop
push rax
pop rsi
or rax, rax
jne 0x14003d5ab
movzx eax, byte [0x1400a92d8]
mov ecx, 0x20
mov edx, 8
call fcn.140003690
or rax, rax
je 0x14003d603
push rax
pop rsi
nop
lea rax, [0x14004f0c8]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14004f0e0]
or ecx, ecx
je 0x14003d5f3
dec ecx
push rsi
nop
pop rdx
call fcn.14004ca64
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], 0
mov byte [rsi + 0x18], 0
jmp 0x14003d5c7
sub eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14004f0c8]
call fcn.140041080
mov ecx, eax
jmp 0x14003d525
lea rcx, [0x14004f0c8]
call fcn.140041080
mov ecx, eax
jmp 0x14003d550
lea rcx, [0x14004f0c8]
call fcn.140041080
mov ecx, eax
jmp 0x14003d5a3
mov ecx, 8
mov edx, 0x20
call fcn.140003300
ud2

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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x14004f068]
or ecx, ecx
je 0x14003daa0
dec ecx
call fcn.14004ca5c
cmp rax, 2
jb 0x14003d9f4
push rax
pop rdi
nop
cmp qword [rax + 8], 0
je 0x14003d9f4
add rdi, 0x10
jmp 0x14003da96
mov ecx, dword [0x14004f068]
or ecx, ecx
je 0x14003dab3
dec ecx
call fcn.14004ca5c
cmp rax, 1
je 0x14003da94
push rax
pop rsi
nop
or rax, rax
jne 0x14003da63
movzx eax, byte [0x1400a92d8]
mov ecx, 0x18
mov edx, 8
call fcn.140003690
or rax, rax
je 0x14003dad6
push rax
nop
pop rsi
lea rax, [0x14004f050]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14004f068]
or ecx, ecx
je 0x14003dac6
dec ecx
push rsi
nop
pop rdx
call fcn.14004ca64
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 0x14003da96
test rcx, rcx
je 0x14003da96
lock dec qword [rcx]
jne 0x14003da96
call fcn.14003d4c0
jmp 0x14003da96
xor edi, edi
push rdi
pop rax
nop
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14004f050]
call fcn.140041080
mov ecx, eax
jmp 0x14003d9d6
lea rcx, [0x14004f050]
call fcn.140041080
mov ecx, eax
jmp 0x14003da04
lea rcx, [0x14004f050]
call fcn.140041080
mov ecx, eax
jmp 0x14003da5b
mov ecx, 8
mov edx, 0x18
call fcn.140003300
ud2
Function at 0x14003dda0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x14004f088]
test ecx, ecx
je 0x14003de80
add byte [rax], al
dec ecx
call fcn.14004ca5c
cmp rax, 2
jb 0x14003ddd4
nop
push rax
pop rdi
cmp qword [rax + 8], 0
je 0x14003ddd4
add rdi, 0x10
jmp 0x14003de76
invalid
mov ecx, dword [0x14004f088]
test ecx, ecx
leave
je 0x14003de93
dec ecx
call fcn.14004ca5c
cmp rax, 1
cmp eax, 1
je 0x14003de74
mov rsi, rax
or rax, rax
or eax, eax
jne case.0x14003dfa4.99
movzx eax, byte [0x1400a92d8]
mov ecx, 0x18
add byte [rdx + 8], bh
call fcn.140003690
test rax, rax
ror byte [rdi], 0x84
pushfq
add byte [rax], al
invalid
push rax
nop
pop rsi
lea rax, [0x14004f070]
add dword [rax], eax
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14004f088]
or ecx, ecx
je 0x14003dea6
dec ecx
mov rdx, rsi
call fcn.14004ca64
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 0x14003de76
or rcx, rcx
je 0x14003de76
lock dec qword [rcx]
jne 0x14003de76
call fcn.14003d6b0
jmp 0x14003de76
sub edi, edi
push rdi
pop rax
nop
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14004f070]
call fcn.140041080
mov ecx, eax
jmp 0x14003ddb6
lea rcx, [0x14004f070]
call fcn.140041080
mov ecx, eax
jmp 0x14003dde4
lea rcx, [0x14004f070]
call fcn.140041080
mov ecx, eax
jmp 0x14003de3b
mov ecx, 8
mov edx, 0x18
call fcn.140003300
ud2
Function at 0x140041080
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x140041105
mov dword [rsp + 0x2c], 0
lea rbx, [rsi + 0x10]
lea r8, [rsp + 0x2c]
nop
push rbx
pop rcx
xor edx, edx
xor r9d, r9d
call sub.kernel32.dll_InitOnceBeginInitialize
mov dword [rsp + 0x28], eax
cmp eax, 1
jne 0x140041146
cmp dword [rsp + 0x2c], 0
je 0x14004112a
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140041160
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1400a92a8]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1400a92a8], rsi
jne 0x1400410e0
mov byte [0x1400a92a1], 1
nop
push rbx
pop rcx
xor edx, edx
sub r8d, r8d
call sub.kernel32.dll_InitOnceComplete
jmp 0x14004113c
call sub.kernel32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x1400411ac
mov ecx, eax
inc ecx
sub eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x14004112f
mov edi, dword [rsp + 0x28]
jmp 0x14004113c
mov edi, dword [rsi + 0x18]
jmp 0x14004113a
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.140028560
ud2
nop
push rbx
pop rcx
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.1400059a0
ud2
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.1400285b0
ud2