joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001520
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xf0
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0xe0], rax
cmp qword [rcx + 0x18], 0xf
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x70], 0x68
mov rbx, rcx
movups xmmword [r11 - 0x70], xmm0
movups xmmword [r11 - 0x60], xmm0
movups xmmword [r11 - 0x50], xmm0
movups xmmword [r11 - 0x40], xmm0
movups xmmword [r11 - 0x30], xmm0
jbe 0x140001573
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400015eb
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_start_process:
call fcn.140002aa0
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x1400015cd
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140003090
mov rcx, rax
lea rdx, [0x140002c70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140001611
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400032b0
add rsp, 0xf0
pop rbx
ret
Function at 0x140001cd0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140001cf1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140001d1e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001d20
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140001d79
test ecx, ecx
jle 0x140001d59
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140001d79
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140001d79
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add eax, dword [rbp - 0x73]
pop rdx
movsd dword [rdi], dword [rsi]
Function at 0x140001da0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140001dc2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140001dd1
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140001df4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140001df6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140001e32
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140001ece
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140001e6d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140001eae
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140001ece
cmp rbx, rax
ja 0x140001e80
test rbx, rbx
je 0x140001ece
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
invalid
Function at 0x140002330
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000235d
xor eax, eax
jmp 0x1400024c9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002397
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002397
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400024c9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400024bc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400023da
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140002405
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400024c1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002474
sub eax, 1
je 0x140002474
cmp eax, 2
jne 0x1400024bc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400024c1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400024a2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400024bc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400024c1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400032b0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002790
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002863
cmp byte [rcx + 0x71], 0
je 0x140002863
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000285f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002824
sub eax, 1
je 0x140002828
cmp eax, 2
jne 0x14000285f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400032b0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002856
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000285f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000280c
xor al, al
jmp 0x14000280c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400032b0
add rsp, 0x60
pop rbx
ret

Function at 0x140003c64
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003cae
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003cae
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003cae
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003cae
cmp dword [rcx + 0x84], 0xe
jbe 0x140003cae
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003cb0
xor al, al
add rsp, 0x28
ret
Function at 0x140006dc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
push rdx
nop
pop rax
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
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 0x140006e40
cmp r11, r10
ja 0x140006eb7
cmp r10, rdx
ja 0x140006ec9
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140006e42
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140006e20
jmp 0x140006ea4
ja 0x140006e4a
mov r11, r10
cmp rax, r8
jne 0x140006dee
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 0x140006e80
mov rdi, r8
sub ecx, edx
jns 0x140006e9b
jmp 0x140006ea6
cmp r8, rsi
je 0x140006ed8
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140006ea6
xor al, 1
cmp rdi, rsi
jne 0x140006e60
jmp 0x140006ea6
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400056f0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140004380
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140005760
int3

Function at 0x140007e56
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
push rcx
pop rax
nop
mov ecx, dword [rcx + 0x18]
or ecx, ecx
je 0x140007e77
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.1400443fc
push rax
pop rcx
nop
call fcn.140015e80
mov ecx, eax
jmp 0x140007e6a

Function at 0x14000880a
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140046028]
test ecx, ecx
je 0x140008823
dec ecx
add rsp, 0x28
jmp fcn.140044404
lea rcx, [0x140046010]
call fcn.140015e80
mov ecx, eax
jmp 0x14000881a

Function at 0x140008a29
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140046148]
or ecx, ecx
je 0x140008a42
dec ecx
add rsp, 0x28
jmp fcn.140044404
lea rcx, [0x140046130]
call fcn.140015e80
mov ecx, eax
jmp 0x140008a39
Function at 0x14000d41c
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov ecx, dword [rcx + 0x18]
or ecx, ecx
je 0x14000d435
dec ecx
add rsp, 0x28
jmp fcn.140044404
push rax
pop rcx
nop
call fcn.140015e80
mov ecx, eax
jmp 0x14000d42c
Function at 0x140012de0
Capabilities:
Encode data using xor

Disassembly:
push rbp
nop
push rsp
pop rbp
nop
push rdx
pop rax
sub rdx, rcx
cmp rdx, 0x20
jae 0x140012e05
cmp rax, rcx
je 0x140012e0b
cmp rdx, 4
jae 0x140012e12
sub eax, eax
xor r8d, r8d
jmp 0x140012eb0
pop rbp
jmp fcn.140003f10
sub eax, eax
jmp 0x140012ec7
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
sub eax, eax
movdqa xmm2, xmmword [0x140047540]
movdqa xmm3, xmmword [0x140047550]
pxor xmm1, xmm1
nop word cs:[rax + 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 0x140012e40
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140012ec7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140012eb0
pop rbp
ret
Function at 0x140013da0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov r10, qword [rcx]
or r10, r10
je 0x140013e24
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x140013e24
movzx eax, byte [r10 + r8]
cmp eax, 0x49
push rcx
nop
pop rbx
je 0x140013e3d
cmp eax, 0x42
jne 0x140013e24
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
mov r9b, 1
cmp rsi, r11
jae 0x140013f6d
cmp byte [r10 + rsi], 0x5f
jne 0x140013efc
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x140013f6d
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x140013fc7
mov dil, 1
xor r9d, r9d
jmp 0x140013f6f
xor edx, edx
call fcn.14000f8b0
mov esi, eax
add sil, sil
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
inc r8
mov qword [rcx + 0x10], r8
xor edx, edx
call fcn.14000f8b0
test al, al
jne 0x140013fad
push rbx
pop rdx
nop
mov rcx, qword [rbx + 0x20]
or rcx, rcx
je 0x140013e7c
lea rdx, [0x140992b9b]
mov r8d, 1
call fcn.1400043f0
nop
push rbx
pop rdx
test al, al
jne 0x140013fad
mov rax, qword [rdx]
mov sil, 1
or rax, rax
je 0x140013e30
xor r14d, r14d
lea rdi, [0x140992ef1]
nop word cs:[rax + rax]
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x140013eb4
cmp byte [rax + rcx], 0x45
je 0x140014000
sub r14, 1
jb 0x140013edc
mov rcx, qword [rdx + 0x20]
or rcx, rcx
je 0x140013edc
mov r8d, 2
push rdi
pop rdx
nop
call fcn.1400043f0
mov rdx, rbx
test al, al
jne 0x140013fad
nop
push rdx
pop rcx
call fcn.140011140
test al, al
jne 0x140013fad
push rbx
pop rdx
nop
mov rax, qword [rbx]
test rax, rax
jne 0x140013ea0
jmp 0x140013e30
xor eax, eax
mov r14d, 0x3e
nop word cs:[rax + rax]
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x140013f5d
lea edi, [rdx - 0x30]
cmp dil, 0xa
jb 0x140013f3f
lea edi, [rdx - 0x61]
cmp dil, 0x1a
jae 0x140013f31
add dl, 0xa9
jmp 0x140013f3d
lea edi, [rdx - 0x41]
cmp dil, 0x1a
jae 0x140013f6d
add dl, 0xe3
mov edi, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul r14
jo 0x140013f6d
movzx edx, dil
xor edi, edi
add rax, rdx
jb 0x140013f6f
cmp rsi, r11
jb 0x140013f10
jmp 0x140013f6f
inc rsi
mov qword [rcx + 0x10], rsi
inc rax
jne 0x140013dff
xor edi, edi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x140013fb5
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, [0x140992ed0]
or r9b, r9b
cmovne rdx, rcx
nop
push rax
pop rcx
call fcn.1400043f0
nop
push rbx
pop rcx
test al, al
je 0x140013fb5
mov sil, 2
jmp 0x140013e30
mov qword [rcx], 0
mov byte [rcx + 8], dil
xor esi, esi
jmp 0x140013e30
cmp qword [rcx + 0x20], 0
je 0x140013fc0
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
mov qword [rcx + 0x10], rax
mov dword [rcx + 0x18], edx
push rcx
nop
pop rsi
call fcn.140013da0
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140013e32
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x140013e30
Function at 0x140015e80
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
push rcx
nop
pop rsi
cmp qword [rcx], 0
je 0x140015f15
mov rax, qword [0x1409a1040]
mov dword [rbp], 0
lea rbx, [rsi + 0x10]
mov r8, rbp
nop
push rbx
pop rcx
xor edx, edx
sub r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
mov dword [rbp - 4], eax
cmp eax, 1
jne 0x140015f54
cmp dword [rbp], 0
je 0x140015f38
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140015f69
mov edi, eax
mov rax, qword [0x14099e0e8]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x14099e0e8], rsi
jne 0x140015ef0
mov eax, edi
inc eax
mov dword [rsi + 0x18], eax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x140015f49
call sub.KERNEL32.dll_TlsAlloc
mov dword [rbp + 4], eax
cmp eax, 0xffffffff
je 0x140015fab
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x140015f3d
mov edi, dword [rbp + 4]
jmp 0x140015f49
mov edi, dword [rsi + 0x18]
jmp 0x140015f47
mov edi, eax
mov ecx, dword [rbp + 4]
call sub.KERNEL32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x38], 0
lea rcx, [rbp - 4]
lea rdx, [rbp - 0x38]
call fcn.140016c10
push rbx
nop
pop rcx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rdx, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rbp - 0x38]
call fcn.140003a00
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 4]
lea rdx, [rbp - 0x38]
call fcn.140016c60
int3
Function at 0x140017cc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x1400460e8]
test ecx, ecx
je 0x140017d91
dec ecx
call fcn.140044404
cmp rax, 1
jbe 0x140017cf1
add rax, 8
jmp 0x140017d88
je 0x140017d86
movzx eax, byte [0x14099e0f8]
mov edx, 0x10
xor ecx, ecx
call fcn.140034ce0
test rax, rax
je 0x140017dc4
nop
push rax
pop rbx
nop
push rax
pop rsi
lea rax, [0x1400460d0]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1400460e8]
test ecx, ecx
je 0x140017da4
dec ecx
call fcn.140044404
mov rdi, rax
mov ecx, dword [0x1400460e8]
or ecx, ecx
je 0x140017db4
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.1400443fc
test rdi, rdi
je 0x140017d81
mov rax, qword [rdi + 8]
or rax, rax
je 0x140017d74
lock dec qword [rax]
jne 0x140017d74
mov rcx, qword [rdi + 8]
call fcn.140017510
mov edx, 8
nop
push rdi
pop rcx
call fcn.1400038d0
push rbx
nop
pop rax
jmp 0x140017d88
sub eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1400460d0]
call fcn.140015e80
mov ecx, eax
jmp 0x140017cdd
lea rcx, [0x1400460d0]
call fcn.140015e80
mov ecx, eax
jmp 0x140017d37
lea rcx, [0x1400460d0]
call fcn.140015e80
mov ecx, eax
jmp 0x140017d4b
mov ecx, 8
mov edx, 0x10
call fcn.140002ec0
int3

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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x1400460a8]
test ecx, ecx
je 0x1400182ee
dec ecx
call fcn.140044404
cmp rax, 1
jbe 0x14001826e
add rax, 8
jmp 0x1400182e5
je 0x1400182e3
movzx eax, byte [0x14099e0f8]
mov edx, 0x10
xor ecx, ecx
call fcn.140034ce0
or rax, rax
je 0x140018321
push rax
pop rbx
nop
mov rsi, rax
lea rax, [0x140046090]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x1400460a8]
or ecx, ecx
je 0x140018301
dec ecx
call fcn.140044404
push rax
pop rdi
nop
mov ecx, dword [0x1400460a8]
or ecx, ecx
je 0x140018311
dec ecx
add rbx, 8
push rsi
nop
pop rdx
call fcn.1400443fc
test rdi, rdi
je 0x1400182de
mov edx, 8
mov rcx, rdi
call fcn.1400038d0
mov rax, rbx
jmp 0x1400182e5
sub eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x140046090]
call fcn.140015e80
mov ecx, eax
jmp 0x14001825d
lea rcx, [0x140046090]
call fcn.140015e80
mov ecx, eax
jmp 0x1400182ac
lea rcx, [0x140046090]
call fcn.140015e80
mov ecx, eax
jmp 0x1400182c0
mov ecx, 8
mov edx, 0x10
call fcn.140002ec0
int3
Function at 0x140018740
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x140046088]
test ecx, ecx
je 0x1400187f6
dec ecx
call fcn.140044404
cmp rax, 1
jbe 0x14001876e
add rax, 8
jmp 0x1400187ed
je 0x1400187eb
movzx eax, byte [0x14099e0f8]
mov edx, 0x18
sub ecx, ecx
call fcn.140034ce0
or rax, rax
je 0x140018829
push rax
nop
pop rbx
mov rsi, rax
lea rax, [0x140046070]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov byte [rsi + 0x10], 0
mov ecx, dword [0x140046088]
or ecx, ecx
je 0x140018809
dec ecx
call fcn.140044404
push rax
nop
pop rdi
mov ecx, dword [0x140046088]
or ecx, ecx
je 0x140018819
dec ecx
add rbx, 8
nop
push rsi
pop rdx
call fcn.1400443fc
test rdi, rdi
je 0x1400187e6
mov edx, 8
push rdi
pop rcx
nop
call fcn.1400038d0
push rbx
nop
pop rax
jmp 0x1400187ed
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x140046070]
call fcn.140015e80
mov ecx, eax
jmp 0x14001875d
lea rcx, [0x140046070]
call fcn.140015e80
mov ecx, eax
jmp 0x1400187b4
lea rcx, [0x140046070]
call fcn.140015e80
mov ecx, eax
jmp 0x1400187c8
mov ecx, 8
mov edx, 0x18
call fcn.140002ec0
int3