joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c7e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x402a2f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00409320
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045a6c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402a00
cmp byte [0x005bf4f0], 0
je 0x45c7f5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x4597c0
jmp 0x402a00

Function at 0x45c800
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005bf7c0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005bf4f0], 0
je 0x45c835
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005bfa80]
aesenc xmm0, xmmword [0x005bfa90]
aesenc xmm0, xmmword [0x005bfaa0]
movq rax, xmm0
ret
jmp 0x409520

Function at 0x45c840
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005bf7c0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005bf4f0], 0
je 0x45c876
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005bfa80]
aesenc xmm0, xmmword [0x005bfa90]
aesenc xmm0, xmmword [0x005bfaa0]
movq rax, xmm0
ret
jmp 0x409580

Function at 0x45e1a0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x005bfa00]
mov qword [rsp + 8], rdx
lea r8d, [0x005bf508]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045c720
add rsp, 0x30
ret
Function at 0x140001b42
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, rcx
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x140014360
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1400143da
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400143d0
cmp r10, r11
jb 0x140014473
cmp r10, rdx
ja 0x140014487
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1400143d2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400143b0
jmp 0x140014447
ja 0x1400143da
mov r11, r10
cmp rax, r8
jne 0x140014382
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001444b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140014420
mov r8, r10
sub ecx, r9d
jns 0x14001443e
jmp 0x14001444d
cmp r10, rdx
je 0x140014459
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001444d
xor al, 1
cmp r8, rdx
jne 0x140014400
jmp 0x14001444d
xor eax, eax
jmp 0x14001444d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14010da89]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14000e3b0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140012e40
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140012dc0
ud2
Function at 0x140017728
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
test rdx, rdx
je 0x1400176ee
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
and qword [rdx], 0
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rax
test rcx, rcx
jne 0x1400176ff
lea rcx, [rsp + 0x28]
call fcn.140017abc
call fcn.1400189dc
lea rcx, [0x1401c3038]
call fcn.140018012
movups xmm0, xmmword [rsi]
lea rdi, [rsi + 8]
mov qword [rsi], 1
mov qword [rsi + 8], rax
lea rcx, [rsp + 0x28]
movups xmmword [rcx], xmm0
call fcn.140017abc
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
call fcn.1400178c7
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400177a5
mov rbx, rax
test rax, rax
jne 0x14001778f
and qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rdi
mov ecx, 0x18
mov edx, 8
call fcn.140017cc4
mov rbx, rax
mov rax, qword [rsp + 0x38]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx], xmm0
mov rcx, rdi
call fcn.1400178c7
mov ecx, eax
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
add rbx, 8
mov rcx, rbx
mov rdx, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
jmp 0x1400176bc
xor eax, eax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.1400178c7
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400177fd
cmp qword [rax + 8], 0
je 0x1400177fd
add rax, 0x10
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x140017728
mov rdx, rcx
lea rcx, [0x14010a008]
jmp 0x1400177cd
Function at 0x1400177cd
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
test rdx, rdx
je 0x1400176ee
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
and qword [rdx], 0
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rax
test rcx, rcx
jne 0x1400176ff
lea rcx, [rsp + 0x28]
call fcn.140017abc
call fcn.1400189dc
lea rcx, [0x1401c3038]
call fcn.140018012
movups xmm0, xmmword [rsi]
lea rdi, [rsi + 8]
mov qword [rsi], 1
mov qword [rsi + 8], rax
lea rcx, [rsp + 0x28]
movups xmmword [rcx], xmm0
call fcn.140017abc
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
call fcn.1400178c7
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400177a5
mov rbx, rax
test rax, rax
jne 0x14001778f
and qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rdi
mov ecx, 0x18
mov edx, 8
call fcn.140017cc4
mov rbx, rax
mov rax, qword [rsp + 0x38]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx], xmm0
mov rcx, rdi
call fcn.1400178c7
mov ecx, eax
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
add rbx, 8
mov rcx, rbx
mov rdx, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
jmp 0x1400176bc
xor eax, eax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.1400178c7
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400177fd
cmp qword [rax + 8], 0
je 0x1400177fd
add rax, 0x10
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x140017728
mov rdx, rcx
lea rcx, [0x14010a008]
jmp 0x1400177cd

Function at 0x1400178c7
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [rcx + 0x18]
test eax, eax
je fcn.14009b880
dec eax
ret

Function at 0x140017920
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rdi, qword [rcx]
mov qword [rsp + 0x28], rdi
mov rsi, qword [rdi]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x14001793c
dec ecx
jmp 0x140017946
mov rcx, rsi
call fcn.14009b880
mov ecx, eax
mov edx, 1
call sub.kernel32.dll_TlsSetValue
lea rcx, [rsp + 0x30]
mov qword [rcx], rdi
call fcn.140017a13
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140017968
dec ecx
jmp 0x140017972
mov rcx, rsi
call fcn.14009b880
mov ecx, eax
xor edx, edx
call sub.kernel32.dll_TlsSetValue
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x140018a5c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
test rdx, rdx
je 0x1400176ee
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
and qword [rdx], 0
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rax
test rcx, rcx
jne 0x1400176ff
lea rcx, [rsp + 0x28]
call fcn.140017abc
call fcn.1400189dc
lea rcx, [0x1401c3038]
call fcn.140018012
movups xmm0, xmmword [rsi]
lea rdi, [rsi + 8]
mov qword [rsi], 1
mov qword [rsi + 8], rax
lea rcx, [rsp + 0x28]
movups xmmword [rcx], xmm0
call fcn.140017abc
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
call fcn.1400178c7
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400177a5
mov rbx, rax
test rax, rax
jne 0x14001778f
and qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rdi
mov ecx, 0x18
mov edx, 8
call fcn.140017cc4
mov rbx, rax
mov rax, qword [rsp + 0x38]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx], xmm0
mov rcx, rdi
call fcn.1400178c7
mov ecx, eax
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
add rbx, 8
mov rcx, rbx
mov rdx, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
jmp 0x1400176bc
xor eax, eax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.1400178c7
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400177fd
cmp qword [rax + 8], 0
je 0x1400177fd
add rax, 0x10
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x140017728
mov rdx, rcx
lea rcx, [0x14010a008]
jmp 0x1400177cd
Function at 0x14001933e
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
mov rax, rcx
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x14001b615
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
mov r12d, 0xffffffff
xor esi, esi
test rdi, rdi
je 0x14001b67f
mov r14, rbx
cmp rdi, r12
mov r15d, 0xffffffff
cmovb r15, rdi
add rbx, r15
sub rdi, r15
xor ecx, ecx
mov rdx, r14
mov r8d, r15d
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xc0000000
jb 0x14001b631
mov ebp, eax
mov rcx, r14
mov edx, r15d
call sub.advapi32.dll_SystemFunction036
test al, al
jne 0x14001b631
add ebp, 0x80000000
mov esi, ebp
mov eax, esi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140023e23
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [rcx + 0x18]
test eax, eax
je fcn.14009b880
dec eax
ret

Function at 0x140023e4b
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rdi, qword [rcx]
mov qword [rsp + 0x28], rdi
mov rsi, qword [rdi]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140023e67
dec ecx
jmp 0x140023e71
mov rcx, rsi
call fcn.14009b880
mov ecx, eax
mov edx, 1
call sub.kernel32.dll_TlsSetValue
lea rcx, [rsp + 0x30]
mov qword [rcx], rdi
call fcn.14002475e
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140023e93
dec ecx
jmp 0x140023e9d
mov rcx, rsi
call fcn.14009b880
mov ecx, eax
xor edx, edx
call sub.kernel32.dll_TlsSetValue
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x140024fb8
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x178
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
lea rcx, [rsp + 0x50]
call fcn.140022b2c
cmp rsi, 0x41
jb 0x1400250c2
lea r14, [rsp + 0x128]
mov rcx, r14
call fcn.140026e28
movups xmm0, xmmword [0x140124068]
movaps xmmword [r14 - 0x18], xmm0
movups xmm0, xmmword [0x140124058]
movaps xmmword [r14 - 0x28], xmm0
and qword [r14 - 8], 0
lea rax, [rsp + 0x100]
lea rcx, [rsp + 0x28]
mov qword [rcx], rax
mov qword [rsp + 0x30], rcx
movzx r15d, byte [rax + 0x68]
test r15, r15
je 0x1400250f6
mov r9d, 0x40
sub r9, r15
lea r12, [rsp + 0x90]
mov rcx, r12
mov rdx, rdi
mov r8, rsi
call fcn.140024e8f
mov r13, qword [r12]
mov rbp, qword [r12 + 8]
mov rdi, qword [r12 + 0x10]
mov rsi, qword [r12 + 0x18]
lea r8, [0x140123848]
mov rcx, r14
mov rdx, r15
call fcn.140024ecc
lea rcx, [0x140123860]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r13
mov r9, rbp
call fcn.14002a624
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, r14
call fcn.1400266ba
mov r15, rsi
and r15, 0xffffffffffffffc0
mov r12d, esi
and r12d, 0x3f
add r15, rdi
cmp rsi, 0x3f
ja 0x140025107
jmp 0x14002511b
lea r9, str..cargo_registry_srcindex.crates.io_6f17d22bba15001fhmac_0.12.1_srclib.rs
lea rdx, [rsp + 0x50]
mov r8d, 0x40
mov rcx, rsi
call fcn.140022a34
lea rcx, str..cargo_registry_srcindex.crates.io_6f17d22bba15001fhmac_0.12.1_srclib.rs
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, rdi
mov r9, rsi
jmp 0x1400251c2
mov r15, rsi
and r15, 0xffffffffffffffc0
mov r12d, esi
and r12d, 0x3f
add r15, rdi
shr rsi, 6
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov r8, rsi
call fcn.1400266ba
lea r9, [0x140123878]
mov r8d, 0x40
mov rcx, r12
mov rdx, r14
call fcn.140022a34
lea rcx, [0x140123890]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r15
mov r9, r12
call fcn.14002a624
lea rsi, [rsp + 0x100]
mov byte [rsi + 0x68], r12b
lea r14, [rsp + 0x90]
mov ecx, 0xe
mov rdi, r14
rep movsq qword [rdi], qword [rsi]
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.140022adb
lea rdi, [rsp + 0xb8]
mov rcx, r14
mov rdx, rdi
mov r8, rsi
call fcn.140022eb8
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rdi - 0x28], xmm0
movaps xmmword [rdi - 0x18], xmm1
lea rax, str..cargo_registry_srcindex.crates.io_6f17d22bba15001fhmac_0.12.1_srclib.rs
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
lea r8, [rsp + 0x90]
mov edx, 0x20
mov r9d, 0x20
call fcn.14002a624
movups xmm0, xmmword [rsp + 0x50]
movups xmm1, xmmword [rsp + 0x60]
movups xmm2, xmmword [rsp + 0x70]
movups xmm3, xmmword [rsp + 0x80]
movups xmmword [rbx + 0x30], xmm3
movups xmmword [rbx + 0x20], xmm2
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
mov rax, rbx
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400262e4
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rbx, rdx
mov rsi, rcx
lea rcx, [rsp + 0x50]
mov rdx, r8
mov r8, r9
call fcn.1400262b0
mov dword [rsp + 0x30], 0x800
and dword [rsp + 0x34], 0
mov ecx, 0x800
xor edx, edx
call fcn.14002dfdd
lea rdi, [rsp + 0x38]
mov qword [rdi], rax
mov qword [rdi + 8], rdx
and qword [rdi + 0x10], 0
mov rbx, qword [rbx]
mov r14, qword [rsp + 0x50]
lea r12, [rsp + 0x30]
lea r15, [rsp + 0x34]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x140026378
mov edx, dword [rsp + 0x30]
mov rcx, rdi
call fcn.14002a6c5
jmp 0x140026343
test eax, eax
jne 0x14002639a
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x1400263b5
movabs rax, 0xde00000002
jmp 0x1400263a2
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
lea rcx, [rsp + 0x38]
call fcn.14002e741
jmp 0x1400263c9
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
lea rcx, [rsp + 0x50]
call fcn.1400da641
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x1400266ba
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, qword [rcx]
mov rcx, qword [rax]
jmp fcn.140022e84

Function at 0x1400266db
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, qword [rcx]
mov rcx, qword [rax]
mov r8d, 1
jmp 0x140076033
Function at 0x140028a5c
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsi + 0x20]
add rsp, 0x50
pop rsi
ret
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x140030892
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
lea rdx, str.RAYON_NUM_THREADSRAYON_RS_NUM_CPUSThreadPoolBuildErrorkind
lea rsi, [rsp + 0x40]
mov r8d, 0x11
mov rcx, rsi
call fcn.14008e9b0
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.14002d97a
cmp qword [rdi], 0
je 0x1400308fa
mov r8, qword [rsp + 0x38]
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], r8
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rdi], xmm0
mov rdx, qword [rdi]
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.140015ac0
mov bl, byte [rsi]
mov rsi, qword [rsi + 8]
mov rcx, rdi
call fcn.14002e741
test bl, bl
je 0x140030962
lea rdx, [0x140125891]
lea rsi, [rsp + 0x40]
mov r8d, 0x11
mov rcx, rsi
call fcn.14008e9b0
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.14002d97a
cmp qword [rdi], 0
je 0x14003096b
mov r8, qword [rsp + 0x38]
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], r8
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rdi], xmm0
mov rdx, qword [rdi]
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.140015ac0
mov bl, byte [rsi]
mov rsi, qword [rsi + 8]
mov rcx, rdi
call fcn.14002e741
test bl, bl
jne 0x14003096b
test rsi, rsi
jne 0x140030887
add rsp, 0x70
pop rbx
pop rdi
pop rsi
jmp 0x140028a5c

Function at 0x14002c3ac
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [rcx + 0x18]
test eax, eax
je fcn.14009b880
dec eax
ret

Function at 0x14002cac9
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rdi, qword [rcx]
mov qword [rsp + 0x28], rdi
mov rsi, qword [rdi]
mov rcx, rsi
call fcn.14002c3ac
mov edx, 1
mov ecx, eax
call sub.kernel32.dll_TlsSetValue
lea rcx, [rsp + 0x30]
mov qword [rcx], rdi
call fcn.14002cf8b
mov rcx, rsi
call fcn.14002c3ac
mov ecx, eax
xor edx, edx
call sub.kernel32.dll_TlsSetValue
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x14002cba4
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rdi, qword [rcx]
mov qword [rsp + 0x28], rdi
mov rsi, qword [rdi]
mov rcx, rsi
call fcn.14002c3ac
mov edx, 1
mov ecx, eax
call sub.kernel32.dll_TlsSetValue
lea rcx, [rsp + 0x30]
mov qword [rcx], rdi
call fcn.14002cead
mov rcx, rsi
call fcn.14002c3ac
mov ecx, eax
xor edx, edx
call sub.kernel32.dll_TlsSetValue
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x140030877
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsi + 0x20]
add rsp, 0x50
pop rsi
ret
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x140030892
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
lea rdx, str.RAYON_NUM_THREADSRAYON_RS_NUM_CPUSThreadPoolBuildErrorkind
lea rsi, [rsp + 0x40]
mov r8d, 0x11
mov rcx, rsi
call fcn.14008e9b0
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.14002d97a
cmp qword [rdi], 0
je 0x1400308fa
mov r8, qword [rsp + 0x38]
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], r8
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rdi], xmm0
mov rdx, qword [rdi]
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.140015ac0
mov bl, byte [rsi]
mov rsi, qword [rsi + 8]
mov rcx, rdi
call fcn.14002e741
test bl, bl
je 0x140030962
lea rdx, [0x140125891]
lea rsi, [rsp + 0x40]
mov r8d, 0x11
mov rcx, rsi
call fcn.14008e9b0
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.14002d97a
cmp qword [rdi], 0
je 0x14003096b
mov r8, qword [rsp + 0x38]
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], r8
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rdi], xmm0
mov rdx, qword [rdi]
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.140015ac0
mov bl, byte [rsi]
mov rsi, qword [rsi + 8]
mov rcx, rdi
call fcn.14002e741
test bl, bl
jne 0x14003096b
test rsi, rsi
jne 0x140030887
add rsp, 0x70
pop rbx
pop rdi
pop rsi
jmp 0x140028a5c