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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x14005abd0]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x1401b1ea0]
lea rdx, [0x14005aa20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14005ad10
cmp dword [0x1401b1ea8], 0
jne 0x14005ad00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1401b1eac]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x14005acac
mov ecx, 1
mov edx, 0x28
call fcn.140077d20
test rax, rax
je 0x14005ad00
mov r14, rax
mov ecx, dword [0x1401b1eac]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14005acf8
lea r15, [0x1401b1eb0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x1401b1ec0]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400be510
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
call fcn.140077c80
mov rcx, rsi
mov rax, rdi
call qword [0x1401c0008]
xor esi, esi
jmp 0x14005acdc
call fcn.1400d2a30
int3

Function at 0x140060b50
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401a56f0]
cmp ecx, 0xffffffff
je 0x140060c2a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x140060c2a
mov eax, dword [0x1401b3820]
mov ecx, dword [0x1401a5788]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140060c34
mov rbx, qword [0x1401b3818]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140060c7a
mov rax, qword [0x1401b2008]
inc rax
xor ecx, ecx
lea rdx, [0x1401b2010]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x140060c87
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x1401b3810]
inc ecx
mov dword [0x1401b3810], ecx
mov dword [rax + 0x14], ecx
mov qword [0x1401b2008], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x140060c9c
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140060ca0
jmp 0x140060b7a
lea rcx, [0x1401b3820]
call fcn.1400bd110
cmp dword [0x1401b3820], 0xffffffff
jne 0x140060b9f
mov ecx, 8
call fcn.1400bcfbc
mov rbx, rax
mov rcx, rax
call fcn.14008e8a0
mov qword [0x1401b3818], rbx
lea rcx, [0x1401b3820]
call fcn.1400bd1a8
jmp 0x140060b9f
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x140060bb7
inc rcx
cmp rcx, 0x100
jne 0x140060bca
jmp 0x140060c10
int3
Function at 0x140060ca0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.1400be4b0
sub rsp, rax
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x1401a56f0]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x140060d54
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140060db7
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1400c0660
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.1400bd02c
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.1400bffb0
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400be510
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.14006c150
test al, al
je 0x140060dba
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x140060d92
mov eax, 0xffffffff
lock cmpxchg dword [0x1401a56f0], ecx
je 0x140060cd8
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1401a56f0]
mov dword [rsp + 0x2c], ecx
jmp 0x140060cd8
lea rcx, [rsp + 0x2c]
call fcn.14006c150
test al, al
je 0x140060dbd
cmp dword [rsp + 0x2c], 0xffffffff
je 0x140060dbd
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x140060d6b
int3
int3
int3

Function at 0x140060dd0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401a56f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140060e0e
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x140060e07
call fcn.140060ca0
jmp 0x140060dee
Function at 0x14006c150
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14006c165
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x14007f6d0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x14007f7ce
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140172fe0]
nop dword [rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm4, 0
movdqa xmm8, xmm2
pclmulqdq xmm8, xmm4, 0
movdqa xmm9, xmm1
pclmulqdq xmm9, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
movdqu xmm10, xmmword [rcx]
pxor xmm10, xmm6
pxor xmm0, xmm10
movdqu xmm6, xmmword [rcx + 0x10]
pxor xmm6, xmm7
pxor xmm3, xmm6
movdqu xmm6, xmmword [rcx + 0x20]
pxor xmm6, xmm8
pxor xmm2, xmm6
movdqu xmm6, xmmword [rcx + 0x30]
pxor xmm6, xmm9
pxor xmm1, xmm6
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x14007f740
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x140172ff0]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp rdx, 0x10
jb 0x14007f85d
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x14007f833
movdqa xmm1, xmmword [0x140172ff0]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x140173000], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x140082b80
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x140082c1a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140082c04
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140082be1
mov qword [rsi], rdi
call fcn.140086700
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x140082c1e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140086700
mov rcx, qword [rsi]
call fcn.140082b50
mov qword [rsi], 0
jmp 0x140082bcf
mov byte [rsi + 8], 0
int3

Function at 0x140082dc0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140082e08
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140082e11
lea rax, [rsi + 1]
cmp rax, 2
jb 0x140082df8
mov qword [rdi], rsi
call fcn.140086700
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140086700
mov rcx, qword [rdi]
call fcn.140082b50
mov qword [rdi], 0
jmp 0x140082de6

Function at 0x140082fc0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x50]
mov qword [r14 + 0x40], r12
movaps xmm0, xmmword [0x14016f5d0]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x5f
call fcn.1400866e0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14008bb30
test esi, esi
js 0x1400830d1
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0
call fcn.14008dc40
test al, al
jne 0x1400830f0
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400830dd
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x1400830d8
lea rcx, [rsp + 0x30]
call fcn.14008dcd0
lea rcx, [rsp + 0x50]
call fcn.14008bd70
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400be510
mov eax, esi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x1400830a4
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x14008309a
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14011bf70
jmp 0x14008306a
Function at 0x140088d50
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.140082e80
mov qword [rsi], 0
test rax, rax
je 0x140088da3
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140088dd7
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140088d9b
mov qword [rsi], rbx
call fcn.140086700
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.1400868c0
lea rcx, [rsi + 0x20]
call fcn.14008dc60
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.140086700
mov rcx, qword [rsi]
call fcn.140082b50
mov qword [rsi], 0
jmp 0x140088d89
Function at 0x14008b810
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.14008c650
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x1401b0598]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x14008b86e
jnp 0x14008b8d4
ucomisd xmm0, xmm6
jne 0x14008b876
jnp 0x14008b8d0
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x140171380]
subpd xmm1, xmmword [0x140171390]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1401782e0]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400be510
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x14008b8a8
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov edi, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1401b05a8]
mov ecx, dword [0x1401a5788]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14008b9e9
mov eax, dword [0x1401b05b8]
mov ecx, dword [0x1401a5788]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14008ba23
rdtsc
mov rbx, rax
mov r14, rdx
xor r12d, r12d
lea r15, [rsp + 0x30]
mov qword [r15], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r13, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r15], r12
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r13, qword [0x1401b05b0]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1401782d8]
ucomisd xmm2, xmm1
ja 0x14008b86e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x1401b05a0]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x140171380]
subpd xmm0, xmmword [0x140171390]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x1401b0598], xmm0
jmp 0x14008b86e
lea rcx, [0x1401b05a8]
call fcn.1400bd110
cmp dword [0x1401b05a8], 0xffffffff
jne 0x14008b91d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401b05a0], rdx
lea rcx, [0x1401b05a8]
call fcn.1400bd1a8
jmp 0x14008b91d
lea rcx, [0x1401b05b8]
call fcn.1400bd110
cmp dword [0x1401b05b8], 0xffffffff
jne 0x14008b942
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x1401b05b0], rax
lea rcx, [0x1401b05b8]
call fcn.1400bd1a8
jmp 0x14008b942
Function at 0x14008c060
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401b05e0]
mov ecx, dword [0x1401a5788]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14008c0c0
mov rsi, qword [0x1401b05d8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400be510
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401b05e0]
call fcn.1400bd110
cmp dword [0x1401b05e0], 0xffffffff
jne 0x14008c09c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400c0660
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.1400bcfbc
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1401b0628]
mov ecx, dword [0x1401a5788]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14008c180
lea r8, [0x1401b05f8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140040e30
mov qword [0x1401b05d8], rsi
lea rcx, [0x1401b05e0]
call fcn.1400bd1a8
jmp 0x14008c09c
lea rcx, [0x1401b0628]
call fcn.1400bd110
cmp dword [0x1401b0628], 0xffffffff
jne 0x14008c151
xorps xmm0, xmm0
movups xmmword [0x1401b0618], xmm0
movups xmmword [0x1401b0608], xmm0
movups xmmword [0x1401b05f8], xmm0
lea rcx, [0x1401b05f8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401b0628]
call fcn.1400bd1a8
jmp 0x14008c151
Function at 0x14008c1d0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401b05e0]
mov ecx, dword [0x1401a5788]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14008c231
mov rax, qword [0x1401b05d8]
mov esi, dword [rax]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400be510
mov eax, esi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401b05e0]
call fcn.1400bd110
cmp dword [0x1401b05e0], 0xffffffff
jne 0x14008c20c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400c0660
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.1400bcfbc
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1401b0628]
mov ecx, dword [0x1401a5788]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14008c2f1
lea r8, [0x1401b05f8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140040e30
mov qword [0x1401b05d8], rsi
lea rcx, [0x1401b05e0]
call fcn.1400bd1a8
jmp 0x14008c20c
lea rcx, [0x1401b0628]
call fcn.1400bd110
cmp dword [0x1401b0628], 0xffffffff
jne 0x14008c2c2
xorps xmm0, xmm0
movups xmmword [0x1401b0618], xmm0
movups xmmword [0x1401b0608], xmm0
movups xmmword [0x1401b05f8], xmm0
lea rcx, [0x1401b05f8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401b0628]
call fcn.1400bd1a8
jmp 0x14008c2c2

Function at 0x1400952b0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x140095315
xor r11d, r11d
mov rdi, qword [r8 + r11*8]
mov rsi, qword [rcx + r11*8]
mov rbx, rsi
xor rbx, rdi
mov r14d, eax
lea rax, [rbx - 1]
mov r15, rsi
sub r15, rdi
xor r15, rsi
or r15, rbx
not rbx
and rax, rbx
sar rax, 0x3f
xor r15, rsi
sar r15, 0x3f
or r15, 1
and r14d, eax
not rax
and rax, r15
or rax, r14
inc r11
cmp r10, r11
jne 0x1400952cb
cmp rdx, r9
jb 0x140095324
ja 0x140095348
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ecx, ecx
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
jne 0x140095326
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
not ecx
or eax, ecx
jmp 0x14009531c
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x14009534b
mov rcx, r8
not rcx
dec r8
and r8, rcx
sar r8, 0x3f
xor eax, 1
and eax, r8d
xor eax, 1
jmp 0x14009531c
Function at 0x140095380
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rdx
movsxd rdx, dword [rdx + 8]
test rdx, rdx
je 0x1400954b8
mov rsi, rcx
mov rax, qword [rdi]
xor ecx, ecx
xor r8d, r8d
or r8, qword [rax + rcx*8]
inc rcx
cmp rdx, rcx
jne 0x1400953a2
test r8, r8
je 0x1400954b8
test edx, edx
jle 0x1400954f4
mov rax, qword [rdi]
test byte [rax], 1
je 0x1400954f4
cmp dword [rdi + 0x10], 0
jne 0x140095534
cmp edx, 0x401
jae 0x140095554
lea rbx, [rsi + 0x18]
cmp rbx, rdi
je 0x140095425
mov rcx, rbx
call fcn.14004c9f0
test eax, eax
je 0x140095514
movsxd r8, dword [rdi + 8]
test r8, r8
je 0x1400954ed
shl r8, 3
mov rcx, qword [rbx]
mov rdx, qword [rdi]
call fcn.1400bffb0
mov eax, dword [rdi + 8]
mov dword [rsi + 0x20], eax
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x28], eax
mov rdi, rbx
test rdi, rdi
je 0x140095514
mov eax, dword [rsi + 0x20]
lea ecx, [rax + 1]
test eax, eax
jle 0x1400954dd
mov rdx, qword [rbx]
dec ecx
cmp qword [rdx + rax*8 - 8], 0
lea rax, [rax - 1]
je 0x140095434
mov dword [rsi + 0x20], ecx
mov rax, qword [rbx]
mov rax, qword [rax]
mov r9d, 1
mov edx, 0x40
xor ecx, ecx
movabs r8, 0x8000000000000000
mov r10d, r9d
and r10d, 1
neg r10
mov r11, rax
and r11, r10
mov rdi, r11
xor rdi, r9
shr rdi, 1
and r11, r9
add r11, rdi
and r10, r8
shr rcx, 1
or rcx, r10
mov r9, r11
dec rdx
jne 0x14009546d
mov qword [rsi + 0x30], rcx
mov qword [rsi + 0x38], 0
mov esi, 1
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov dword [rsp + 0x20], 0xaa
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x69
call fcn.140145110
jmp 0x1400954ae
mov dword [rsi + 0x20], eax
test eax, eax
jne 0x140095450
jmp 0x140095594
xor eax, eax
jmp 0x140095419
mov dword [rsp + 0x20], 0xae
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x68
jmp 0x1400954d6
mov dword [rsp + 0x20], 0xbc
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x44
jmp 0x1400954d6
mov dword [rsp + 0x20], 0xb2
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x6d
jmp 0x1400954d6
mov r8d, 0x400
xor ecx, ecx
or rcx, qword [rax + r8*8]
inc r8
cmp rdx, r8
jne 0x14009555c
test rcx, rcx
je 0x1400953e1
mov dword [rsp + 0x20], 0xb6
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x66
jmp 0x1400954d6
mov dword [rsi + 0x28], 0
jmp 0x140095450
Function at 0x1400976d0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400976f9
xor eax, eax
xor r9d, r9d
nop word [rax + rax]
movzx r10d, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x1400976e0
movzx eax, r9b
ret
xor eax, eax
ret

Function at 0x14009de70
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x14005abd0]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401b1ea0]
lea rdx, [0x14005aa20]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14009df04
cmp dword [0x1401b1ea8], 0
jne 0x14009df00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x1401b1eac]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x14009df00
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400be510
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x14009dee8
call fcn.1400d2a30
int3
Function at 0x1400a75e0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x1401a56f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400a7614
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x1400a7614
mov rax, qword [rax + rcx]
add rsp, 0x20
pop rsi
ret
xor eax, eax
jmp 0x1400a760e