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

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
pxor xmm6, xmm0
lea rcx, [rcx + rax + 0x20]
neg rax
aesenc xmm2, xmm1
pxor xmm7, xmm0
pxor xmm8, xmm0
aesenc xmm3, xmm1
pxor xmm9, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14000e25a

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

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14000e250
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
repz ret

Function at 0x14000e310
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
pxor xmm6, xmm0
lea rcx, [rcx + rax + 0x20]
neg rax
aesdec xmm2, xmm1
pxor xmm7, xmm0
pxor xmm8, xmm0
aesdec xmm3, xmm1
pxor xmm9, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14000e36a
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdec xmm8, xmm1
aesdec xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
aesdec xmm8, xmm0
aesdec xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14000e360
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdec xmm8, xmm1
aesdec xmm9, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
aesdeclast xmm8, xmm0
aesdeclast xmm9, xmm0
repz ret
Function at 0x14001b140
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [rcx - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [rbp - 1]
vmovups xmm15, xmmword [rcx - 0x70]
lea r12, [rcx - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x14001b260
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x14001b1a0
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x14001b1a0
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rdi]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rdi + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rdi + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rdi + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rdi + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rdi + 0x50]
lea rdi, [rdi + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rsi], xmm9
vmovups xmmword [rsi + 0x10], xmm10
vmovups xmmword [rsi + 0x20], xmm11
vmovups xmmword [rsi + 0x30], xmm12
vmovups xmmword [rsi + 0x40], xmm13
vmovups xmmword [rsi + 0x50], xmm14
lea rsi, [rsi + 0x60]
repz ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x14001b1a0
Function at 0x140029260
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x140109c78], 0
jne 0x14002929d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140029290
mov dword [rdi], eax
mov dword [0x140109c80], eax
mov qword [0x140109c78], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3
Function at 0x140035090
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x1400ff028]
xor rax, rsp
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x1401051c0]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1400350e7
jnp 0x14003514c
ucomisd xmm0, xmm6
jne 0x1400350f3
jnp 0x140035286
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1400e6ab0]
subpd xmm1, xmmword [0x1400e6ac0]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1400ecf20]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140069b80
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov r12d, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1401051d0]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003528d
mov eax, dword [0x1401051e0]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400352c7
rdtsc
mov r14, rax
mov r15, rdx
xor edi, edi
lea rbx, [rsp + 0x30]
mov qword [rbx], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rbp, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rbx], rdi
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub rbp, qword [0x1401051d8]
movq xmm0, rbp
punpckldq xmm0, xmmword [0x1400e6ab0]
subpd xmm0, xmmword [0x1400e6ac0]
movapd xmm1, xmm0
unpckhpd xmm1, xmm0
addsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1400ecf18]
ucomisd xmm2, xmm1
ja 0x1400350e7
shl r15, 0x20
or r14, r15
sub r14, qword [0x1401051c8]
movq xmm2, r14
punpckldq xmm2, xmmword [0x1400e6ab0]
subpd xmm2, xmmword [0x1400e6ac0]
movapd xmm0, xmm2
unpckhpd xmm0, xmm2
addsd xmm0, xmm2
divsd xmm0, xmm1
movsd qword [0x1401051c0], xmm0
jmp 0x1400350e7
xor eax, eax
jmp 0x140035125
lea rcx, [0x1401051d0]
call fcn.1400676e4
cmp dword [0x1401051d0], 0xffffffff
jne 0x140035196
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401051c8], rdx
lea rcx, [0x1401051d0]
call fcn.140067684
jmp 0x140035196
lea rcx, [0x1401051e0]
call fcn.1400676e4
cmp dword [0x1401051e0], 0xffffffff
jne 0x1400351bb
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x1401051d8], rax
lea rcx, [0x1401051e0]
call fcn.140067684
jmp 0x1400351bb
Function at 0x140036880
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [0x140108578]
cmp rdi, 1
jbe 0x1400368dd
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400368c6
movsxd rcx, dword [rdi]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [rdi + 4]
movsxd rdx, dword [rdi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400368d5
lock sub dword [rcx + 8], 1
je 0x140036932
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140108578]
call fcn.140047cb0
test al, al
je 0x140036926
mov qword [0x140108580], 0
lea rbx, [0x140108578]
lea rdi, [0x140108580]
mov rcx, rdi
xor edx, edx
call fcn.140036aa0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.140047c20
jmp 0x140036897
mov rdi, qword [0x140108578]
jmp 0x140036897
add rcx, 8
add rcx, 0xfffffffffffffff8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140036950
Function at 0x140036aa0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
mov eax, 0x1040
call fcn.140069b10
sub rsp, rax
mov r14, rdx
mov r15, rcx
mov rax, qword [0x1400ff028]
xor rax, rsp
mov qword [rsp + 0x1038], rax
mov eax, 0xffffffff
mov qword [rcx], rax
mov ecx, dword [0x140102430]
cmp ecx, 0xffffffff
je 0x140036ae9
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140036b64
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x140102430]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x140036c51
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140036d13
lea rbx, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rbx
xor edx, edx
call fcn.14006c1b0
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
mov rsi, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rsi
mov ecx, 0x1000
call fcn.1400679c8
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rbx
call fcn.14006bb00
mov ecx, dword [rsp + 0x2c]
or rdi, 3
mov rdx, rdi
call rsi
mov eax, dword [0x140108358]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140036cba
mov rbx, qword [0x140108350]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140036d00
mov rcx, qword [0x140106b48]
inc rcx
mov edx, 0x100
lea rax, [0x140106b50]
nop word [rax + rax]
movzx edi, cl
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x140036bea
lea edi, [rcx + 1]
movzx edi, dil
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x140036bea
add rcx, 2
add rdx, 0xfffffffffffffffe
jne 0x140036bc0
jmp 0x140036c0f
lea rcx, [rax + rsi*8]
mov dword [rcx], 1
lea rcx, [rdi + rdi*2]
mov qword [rax + rcx*8 + 8], r14
mov qword [0x140106b48], rdi
mov dword [r15], edi
mov eax, dword [rax + rcx*8 + 0x10]
mov dword [r15 + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [r15]
cmp eax, 0xffffffff
je 0x140036d0d
cmp eax, 0x100
jge 0x140036d10
mov rcx, qword [rsp + 0x1038]
xor rcx, rsp
call fcn.140069b80
mov rax, r15
add rsp, 0x1040
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [rsp + 0x2c]
call fcn.140092e00
test al, al
je 0x140036d16
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x140036c94
mov eax, 0xffffffff
lock cmpxchg dword [0x140102430], ecx
je 0x140036b04
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov ecx, dword [0x140102430]
mov dword [rsp + 0x2c], ecx
jmp 0x140036b04
lea rcx, [rsp + 0x2c]
call fcn.140092e00
test al, al
je 0x140036d19
cmp dword [rsp + 0x2c], 0xffffffff
je 0x140036d19
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov ecx, dword [rsp + 0x2c]
jmp 0x140036c6c
lea rcx, [0x140108358]
call fcn.1400676e4
cmp dword [0x140108358], 0xffffffff
jne 0x140036b89
mov ecx, 8
call fcn.140067648
mov rdi, rax
mov rcx, rax
call fcn.14004ae00
mov qword [0x140108350], rdi
lea rcx, [0x140108358]
call fcn.140067684
jmp 0x140036b89
mov rcx, rbx
call fcn.140035f20
jmp 0x140036ba1
int3
int3
int3
int3
int3
Function at 0x140036d20
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov qword [rcx], rdx
test rdx, rdx
je 0x140036d36
lock inc dword [rdx + 8]
mov qword [rsi + 8], rdx
mov rdi, qword [0x140108578]
cmp rdi, 1
jbe 0x140036dc5
lea rbx, [rsi + 8]
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140036e5b
movsxd rcx, dword [rdi]
shl rcx, 4
mov qword [rax + rcx], rbx
mov ecx, dword [rdi + 4]
movsxd rdx, dword [rdi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rdi, qword [0x140108508]
cmp rdi, 1
jbe 0x140036e12
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140036e6e
movsxd rcx, dword [rdi]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [rdi + 4]
movsxd rdx, dword [rdi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140108578]
call fcn.140047cb0
test al, al
je 0x140036e81
mov qword [0x140108580], 0
lea rbx, [0x140108578]
lea rdi, [0x140108580]
mov rcx, rdi
xor edx, edx
call fcn.140036aa0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.140047c20
jmp 0x140036d47
lea rcx, [0x140108508]
call fcn.140047cb0
test al, al
je 0x140036e8d
mov qword [0x140108510], 0
lea rbx, [0x140108508]
lea rdi, [0x140108510]
mov rcx, rdi
xor edx, edx
call fcn.140036aa0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.140047c20
jmp 0x140036d8b
test rbx, rbx
je 0x140036d7a
call fcn.140006940
jmp 0x140036d61
test rsi, rsi
je 0x140036dba
call fcn.140006940
jmp 0x140036da1
mov rdi, qword [0x140108578]
jmp 0x140036d47
mov rdi, qword [0x140108508]
jmp 0x140036d8b

Function at 0x140037b00
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x140109c48]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140037b62
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140037b9e
movsxd rcx, dword [0x140109c40]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x140109c44]
jne 0x140037b9e
mov rax, qword [rax + rcx]
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140109c48]
call fcn.1400676e4
cmp dword [0x140109c48], 0xffffffff
jne 0x140037b29
mov qword [0x140109c40], 0
lea rcx, [0x140109c40]
xor edx, edx
call fcn.140036aa0
lea rcx, [0x140109c48]
call fcn.140067684
jmp 0x140037b29
xor eax, eax
jmp 0x140037b56
Function at 0x140038e20
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x140108668]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140038efc
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140038f3f
movsxd rcx, dword [0x140108660]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x140108664]
jne 0x140038f3f
mov rdi, qword [rax + rcx]
cmp byte [rsi], 0
jne 0x140038e91
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rdi]
test rax, rax
js 0x140038f46
cmp dword [rdi + 0x14], 1
jne 0x140038f50
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x140038f8f
movabs rax, 0xbfffffffffffffff
lock and qword [rdi], rax
mov rsi, qword [rsi + 8]
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x140038fad
mov rax, qword [rdi]
movabs rcx, 0x6000000000000000
and rcx, rax
movabs rax, 0xffffffffffffff
and rsi, rax
or rsi, rcx
mov qword [rdi], rsi
add dword [rdi + 0x14], 0xffffffff
jmp 0x140038e89
lea rcx, [0x140108668]
call fcn.1400676e4
cmp dword [0x140108668], 0xffffffff
jne 0x140038e4f
mov qword [0x140108660], 0
lea rcx, [0x140108660]
xor edx, edx
call fcn.140036aa0
lea rcx, [0x140108668]
call fcn.140067684
jmp 0x140038e4f
xor edi, edi
jmp 0x140038e84
call fcn.1400d1560
jmp 0x140038e9d
cmp byte [rsi + 0x10], 0
je 0x140038ec2
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140038f7c
mov rbx, qword [rdi]
call qword [rcx + VariantCopy]
movabs rcx, 0xff00000000000000
and rcx, rbx
or rcx, rax
mov qword [rdi], rcx
movabs rax, 0x4000000000000000
lock or qword [rdi], rax
jmp 0x140038ec2
mov rbx, qword [rdi]
call qword [rcx + VariantCopy]
movabs rcx, 0xff00000000000000
and rcx, rbx
or rcx, rax
mov qword [rdi], rcx
jmp 0x140038eb4
mov rbx, qword [rdi]
call qword [rcx + VariantCopy]
movabs rcx, 0xff00000000000000
and rcx, rbx
or rcx, rax
mov qword [rdi], rcx
jmp 0x140038ed3
Function at 0x14003e040
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rax, qword [0x1400ff028]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov eax, dword [0x140105200]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003e0a2
mov rsi, qword [0x1401051f8]
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140069b80
mov rax, rsi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140105200]
call fcn.1400676e4
cmp dword [0x140105200], 0xffffffff
jne 0x14003e07d
lea rsi, [rsp + 0x6c]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14006c1b0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
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.140067648
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140105238]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003e15b
lea rdx, [rsp + 0x68]
mov rcx, rsi
mov r8d, edi
call fcn.140005fa0
mov qword [0x1401051f8], rsi
lea rcx, [0x140105200]
call fcn.140067684
jmp 0x14003e07d
lea rcx, [0x140105238]
call fcn.1400676e4
cmp dword [0x140105238], 0xffffffff
jne 0x14003e133
xorps xmm0, xmm0
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movups xmmword [0x140105228], xmm2
movups xmmword [0x140105218], xmm1
movups xmmword [0x140105208], xmm0
lea rcx, [0x140105238]
call fcn.140067684
jmp 0x14003e133
Function at 0x14003e1c0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xd0
movaps xmmword [rsp + 0xc0], xmm6
mov esi, r8d
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x1400ff028]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], r15
movaps xmm6, xmmword [0x1400e8af0]
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
lea rdx, str.ReadAtCurrentPos
lea r8, str..._.._base_files_file_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r9d, 0x57
call fcn.14003e340
lea rcx, [rsp + 0x60]
mov rdx, rdi
xor r8d, r8d
call fcn.14003e360
test esi, esi
js 0x14003e314
mov dword [rsp + 0x40], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rdx, r14
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003e31e
mov esi, dword [rsp + 0x40]
test byte [0x140100f70], 0x19
jne 0x14003e2d2
lea rcx, [rsp + 0x60]
call fcn.14003dd50
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140069b80
mov eax, esi
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x30], 0
lea r8, [0x140100f70]
lea r9, [0x1400ecf56]
mov rcx, rdi
mov dl, 0x45
call fcn.14002ec50
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14003e29f
mov rax, qword [rcx]
call qword [rax + VariantCopy]
jmp 0x14003e29f
mov esi, 0xffffffff
jmp 0x14003e296
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x14003e296
Function at 0x140045bd0
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x1400ff028]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0x18], 0
je 0x140045c91
mov eax, dword [0x14010a160]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140045cf5
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [0x14010a160]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140045d38
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140045c85
movsxd rcx, dword [0x14010a158]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x14010a15c]
movsxd rdx, dword [0x14010a158]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
cmp rbx, rdi
jne 0x140045caf
cmp qword [rsi], 0
jne 0x140045ce3
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140069b80
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
lea r14, [rsp + 0x28]
mov r9, qword [rbx + 0x30]
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x28]
mov qword [rsp + 0x28], rax
mov qword [rbx + 0x28], 0
mov rax, qword [rcx]
lea rdx, [rbx + 8]
mov r8, r14
call qword [rax]
add rbx, 0x38
cmp rbx, rdi
je 0x140045c91
jmp 0x140045cb4
mov rcx, rsi
call fcn.140096b40
mov rcx, qword [rsi]
call fcn.140067638
jmp 0x140045c97
lea rcx, [0x14010a160]
call fcn.1400676e4
cmp dword [0x14010a160], 0xffffffff
jne 0x140045c1a
mov qword [0x14010a158], 0
lea rcx, [0x14010a158]
xor edx, edx
call fcn.140036aa0
lea rcx, [0x14010a160]
call fcn.140067684
jmp 0x140045c1a
lea rcx, [0x14010a160]
call fcn.1400676e4
cmp dword [0x14010a160], 0xffffffff
jne 0x140045c4b
mov qword [0x14010a158], 0
lea rcx, [0x14010a158]
xor edx, edx
call fcn.140036aa0
lea rcx, [0x14010a160]
call fcn.140067684
jmp 0x140045c4b
Function at 0x14004b280
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rax, qword [0x1400ff028]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov eax, dword [0x140105200]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004b2e3
mov rax, qword [0x1401051f8]
mov esi, dword [rax]
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140069b80
mov eax, esi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140105200]
call fcn.1400676e4
cmp dword [0x140105200], 0xffffffff
jne 0x14004b2bd
lea rsi, [rsp + 0x6c]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14006c1b0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
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.140067648
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140105238]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004b39c
lea rdx, [rsp + 0x68]
mov rcx, rsi
mov r8d, edi
call fcn.140005fa0
mov qword [0x1401051f8], rsi
lea rcx, [0x140105200]
call fcn.140067684
jmp 0x14004b2bd
lea rcx, [0x140105238]
call fcn.1400676e4
cmp dword [0x140105238], 0xffffffff
jne 0x14004b374
xorps xmm0, xmm0
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movups xmmword [0x140105228], xmm2
movups xmmword [0x140105218], xmm1
movups xmmword [0x140105208], xmm0
lea rcx, [0x140105238]
call fcn.140067684
jmp 0x14004b374