joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e6c0
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 0x14000e71a

Function at 0x14000e73a
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 0x14000e710
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 0x14000e7d0
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 0x14000e82a
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 0x14000e820
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 0x14001b600
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 0x14001b720
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 0x14001b660
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 0x14001b660
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 0x14001b660
Function at 0x140027a70
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
mov r12, rcx
mov rax, qword [0x140100028]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, qword [0x1401061c8]
test rdi, rdi
je 0x140027b79
lea r14, [0x1400ec7de]
mov rcx, rdi
mov rdx, r14
call fcn.140054d10
test al, al
jne 0x140027acc
lea rdx, str.vmodule
mov rcx, rdi
call fcn.140054d10
test al, al
je 0x140027b79
cmp qword [0x1401061d0], 0
jne 0x140027c39
mov rax, qword [0x1401061d8]
mov qword [0x1401061d0], rax
mov ecx, 0x20
call fcn.140067308
mov rbx, rax
lea rax, str.vmodule
lea r8, [rsp + 0x48]
mov qword [r8], rax
mov qword [r8 + 8], 7
lea r15, [rsp + 0x58]
mov rcx, rdi
mov rdx, r15
call fcn.140042f40
lea r8, [rsp + 0x20]
mov qword [r8], r14
mov qword [r8 + 8], 1
lea rsi, [rsp + 0x30]
mov rcx, rdi
mov rdx, rsi
call fcn.140042f40
lea r9, [0x1401061e0]
mov rcx, rbx
mov rdx, rsi
mov r8, r15
call fcn.1400c1a50
mov qword [0x1401061d8], rbx
cmp byte [rsi + 0x17], 0
jns 0x140027b68
mov rcx, qword [rsp + 0x30]
call fcn.1400672f8
cmp byte [rsp + 0x6f], 0
jns 0x140027b79
mov rcx, qword [rsp + 0x58]
call fcn.1400672f8
mov eax, dword [r12]
mov dword [0x140101e98], eax
mov bl, 1
test al, 1
je 0x140027c1c
mov rcx, qword [0x1401061f0]
test rcx, rcx
je 0x140027bbf
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401061f0], 0
mov rcx, qword [0x1401061e8]
test rcx, rcx
jne 0x140027bed
and byte [0x140101e98], 0xfe
jmp 0x140027bcb
mov rcx, qword [0x1401061e8]
test rcx, rcx
jne 0x140027bed
mov ecx, 0x18
call fcn.140067308
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401061e8], rax
mov rdx, qword [r12 + 8]
call fcn.140061cf4
cmp dword [r12 + 0x14], 0
jne 0x140027c15
mov rcx, qword [0x1401061e8]
cmp byte [rcx + 0x17], 0
jns 0x140027c0f
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.140027c40
mov ebx, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140069890
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
int3
Function at 0x140029760
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x14010ada8], 0
jne 0x14002979d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140029790
mov dword [rdi], eax
mov dword [0x14010adb0], eax
mov qword [0x14010ada8], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3
Function at 0x1400355a0
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 [0x140100028]
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 [0x140106338]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1400355f7
jnp 0x14003565c
ucomisd xmm0, xmm6
jne 0x140035603
jnp 0x140035796
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1400e7ab0]
subpd xmm1, xmmword [0x1400e7ac0]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1400eddc8]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140069890
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 [0x140106348]
mov ecx, dword [0x1401036f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003579d
mov eax, dword [0x140106358]
mov ecx, dword [0x1401036f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400357d7
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 [0x140106350]
movq xmm0, rbp
punpckldq xmm0, xmmword [0x1400e7ab0]
subpd xmm0, xmmword [0x1400e7ac0]
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 [0x1400eddc0]
ucomisd xmm2, xmm1
ja 0x1400355f7
shl r15, 0x20
or r14, r15
sub r14, qword [0x140106340]
movq xmm2, r14
punpckldq xmm2, xmmword [0x1400e7ab0]
subpd xmm2, xmmword [0x1400e7ac0]
movapd xmm0, xmm2
unpckhpd xmm0, xmm2
addsd xmm0, xmm2
divsd xmm0, xmm1
movsd qword [0x140106338], xmm0
jmp 0x1400355f7
xor eax, eax
jmp 0x140035635
lea rcx, [0x140106348]
call fcn.1400673a4
cmp dword [0x140106348], 0xffffffff
jne 0x1400356a6
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140106340], rdx
lea rcx, [0x140106348]
call fcn.140067344
jmp 0x1400356a6
lea rcx, [0x140106358]
call fcn.1400673a4
cmp dword [0x140106358], 0xffffffff
jne 0x1400356cb
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x140106350], rax
lea rcx, [0x140106358]
call fcn.140067344
jmp 0x1400356cb
Function at 0x140036d90
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [0x140109698]
cmp rdi, 1
jbe 0x140036ded
mov ecx, dword [0x140103438]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140036dd6
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 0x140036de5
lock sub dword [rcx + 8], 1
je 0x140036e42
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140109698]
call fcn.1400473a0
test al, al
je 0x140036e36
mov qword [0x1401096a0], 0
lea rbx, [0x140109698]
lea rdi, [0x1401096a0]
mov rcx, rdi
xor edx, edx
call fcn.140036fb0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.140047310
jmp 0x140036da7
mov rdi, qword [0x140109698]
jmp 0x140036da7
add rcx, 8
add rcx, 0xfffffffffffffff8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140036e60
Function at 0x140036fb0
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.140069820
sub rsp, rax
mov r14, rdx
mov r15, rcx
mov rax, qword [0x140100028]
xor rax, rsp
mov qword [rsp + 0x1038], rax
mov eax, 0xffffffff
mov qword [rcx], rax
mov ecx, dword [0x140103438]
cmp ecx, 0xffffffff
je 0x140036ff9
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140037074
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x140103438]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x140037161
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140037223
lea rbx, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rbx
xor edx, edx
call fcn.14006bec0
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
mov rsi, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rsi
mov ecx, 0x1000
call fcn.140067688
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rbx
call fcn.14006b810
mov ecx, dword [rsp + 0x2c]
or rdi, 3
mov rdx, rdi
call rsi
mov eax, dword [0x140109478]
mov ecx, dword [0x1401036f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400371ca
mov rbx, qword [0x140109470]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140037210
mov rcx, qword [0x140107c60]
inc rcx
mov edx, 0x100
lea rax, [0x140107c70]
nop word [rax + rax]
movzx edi, cl
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x1400370fa
lea edi, [rcx + 1]
movzx edi, dil
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x1400370fa
add rcx, 2
add rdx, 0xfffffffffffffffe
jne 0x1400370d0
jmp 0x14003711f
lea rcx, [rax + rsi*8]
mov dword [rcx], 1
lea rcx, [rdi + rdi*2]
mov qword [rax + rcx*8 + 8], r14
mov qword [0x140107c60], 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 0x14003721d
cmp eax, 0x100
jge 0x140037220
mov rcx, qword [rsp + 0x1038]
xor rcx, rsp
call fcn.140069890
mov rax, r15
add rsp, 0x1040
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [rsp + 0x2c]
call fcn.140092a60
test al, al
je 0x140037226
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x1400371a4
mov eax, 0xffffffff
lock cmpxchg dword [0x140103438], ecx
je 0x140037014
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov ecx, dword [0x140103438]
mov dword [rsp + 0x2c], ecx
jmp 0x140037014
lea rcx, [rsp + 0x2c]
call fcn.140092a60
test al, al
je 0x140037229
cmp dword [rsp + 0x2c], 0xffffffff
je 0x140037229
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov ecx, dword [rsp + 0x2c]
jmp 0x14003717c
lea rcx, [0x140109478]
call fcn.1400673a4
cmp dword [0x140109478], 0xffffffff
jne 0x140037099
mov ecx, 8
call fcn.140067308
mov rdi, rax
mov rcx, rax
call fcn.140049520
mov qword [0x140109470], rdi
lea rcx, [0x140109478]
call fcn.140067344
jmp 0x140037099
mov rcx, rbx
call fcn.140036430
jmp 0x1400370b1
int3
int3
int3
int3
int3
Function at 0x140037230
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 0x140037246
lock inc dword [rdx + 8]
mov qword [rsi + 8], rdx
mov rdi, qword [0x140109698]
cmp rdi, 1
jbe 0x1400372d5
lea rbx, [rsi + 8]
mov ecx, dword [0x140103438]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003736b
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 [0x140109628]
cmp rdi, 1
jbe 0x140037322
mov ecx, dword [0x140103438]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003737e
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, [0x140109698]
call fcn.1400473a0
test al, al
je 0x140037391
mov qword [0x1401096a0], 0
lea rbx, [0x140109698]
lea rdi, [0x1401096a0]
mov rcx, rdi
xor edx, edx
call fcn.140036fb0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.140047310
jmp 0x140037257
lea rcx, [0x140109628]
call fcn.1400473a0
test al, al
je 0x14003739d
mov qword [0x140109630], 0
lea rbx, [0x140109628]
lea rdi, [0x140109630]
mov rcx, rdi
xor edx, edx
call fcn.140036fb0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.140047310
jmp 0x14003729b
test rbx, rbx
je 0x14003728a
call fcn.140006a80
jmp 0x140037271
test rsi, rsi
je 0x1400372ca
call fcn.140006a80
jmp 0x1400372b1
mov rdi, qword [0x140109698]
jmp 0x140037257
mov rdi, qword [0x140109628]
jmp 0x14003729b

Function at 0x140038010
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x14010ad80]
mov ecx, dword [0x1401036f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140038072
mov ecx, dword [0x140103438]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400380ae
movsxd rcx, dword [0x14010ad78]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14010ad7c]
jne 0x1400380ae
mov rax, qword [rax + rcx]
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14010ad80]
call fcn.1400673a4
cmp dword [0x14010ad80], 0xffffffff
jne 0x140038039
mov qword [0x14010ad78], 0
lea rcx, [0x14010ad78]
xor edx, edx
call fcn.140036fb0
lea rcx, [0x14010ad80]
call fcn.140067344
jmp 0x140038039
xor eax, eax
jmp 0x140038066
Function at 0x140038480
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rax, qword [0x140100028]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov eax, dword [0x1401062a8]
mov ecx, dword [0x1401036f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400384e2
mov rsi, qword [0x1401062a0]
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140069890
mov rax, rsi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401062a8]
call fcn.1400673a4
cmp dword [0x1401062a8], 0xffffffff
jne 0x1400384bd
lea rsi, [rsp + 0x6c]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14006bec0
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.140067308
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1401062e0]
mov ecx, dword [0x1401036f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003859b
lea rdx, [rsp + 0x68]
mov rcx, rsi
mov r8d, edi
call fcn.140005e50
mov qword [0x1401062a0], rsi
lea rcx, [0x1401062a8]
call fcn.140067344
jmp 0x1400384bd
lea rcx, [0x1401062e0]
call fcn.1400673a4
cmp dword [0x1401062e0], 0xffffffff
jne 0x140038573
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 [0x1401062d0], xmm2
movups xmmword [0x1401062c0], xmm1
movups xmmword [0x1401062b0], xmm0
lea rcx, [0x1401062e0]
call fcn.140067344
jmp 0x140038573
Function at 0x1400394b0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x140109788]
mov ecx, dword [0x1401036f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003958c
mov ecx, dword [0x140103438]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400395cf
movsxd rcx, dword [0x140109780]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x140109784]
jne 0x1400395cf
mov rdi, qword [rax + rcx]
cmp byte [rsi], 0
jne 0x140039521
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rdi]
test rax, rax
js 0x1400395d6
cmp dword [rdi + 0x14], 1
jne 0x1400395e0
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x14003961f
movabs rax, 0xbfffffffffffffff
lock and qword [rdi], rax
mov rsi, qword [rsi + 8]
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x14003963d
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 0x140039519
lea rcx, [0x140109788]
call fcn.1400673a4
cmp dword [0x140109788], 0xffffffff
jne 0x1400394df
mov qword [0x140109780], 0
lea rcx, [0x140109780]
xor edx, edx
call fcn.140036fb0
lea rcx, [0x140109788]
call fcn.140067344
jmp 0x1400394df
xor edi, edi
jmp 0x140039514
call fcn.1400d2130
jmp 0x14003952d
cmp byte [rsi + 0x10], 0
je 0x140039552
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003960c
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 0x140039552
mov rbx, qword [rdi]
call qword [rcx + VariantCopy]
movabs rcx, 0xff00000000000000
and rcx, rbx
or rcx, rax
mov qword [rdi], rcx
jmp 0x140039544
mov rbx, qword [rdi]
call qword [rcx + VariantCopy]
movabs rcx, 0xff00000000000000
and rcx, rbx
or rcx, rax
mov qword [rdi], rcx
jmp 0x140039563
Function at 0x1400452c0
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x140100028]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0x18], 0
je 0x140045381
mov eax, dword [0x14010b298]
mov ecx, dword [0x1401036f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400453e5
mov ecx, dword [0x140103438]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [0x14010b298]
mov ecx, dword [0x1401036f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140045428
mov ecx, dword [0x140103438]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140045375
movsxd rcx, dword [0x14010b290]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x14010b294]
movsxd rdx, dword [0x14010b290]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
cmp rbx, rdi
jne 0x14004539f
cmp qword [rsi], 0
jne 0x1400453d3
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140069890
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 0x140045381
jmp 0x1400453a4
mov rcx, rsi
call fcn.140096020
mov rcx, qword [rsi]
call fcn.1400672f8
jmp 0x140045387
lea rcx, [0x14010b298]
call fcn.1400673a4
cmp dword [0x14010b298], 0xffffffff
jne 0x14004530a
mov qword [0x14010b290], 0
lea rcx, [0x14010b290]
xor edx, edx
call fcn.140036fb0
lea rcx, [0x14010b298]
call fcn.140067344
jmp 0x14004530a
lea rcx, [0x14010b298]
call fcn.1400673a4
cmp dword [0x14010b298], 0xffffffff
jne 0x14004533b
mov qword [0x14010b290], 0
lea rcx, [0x14010b290]
xor edx, edx
call fcn.140036fb0
lea rcx, [0x14010b298]
call fcn.140067344
jmp 0x14004533b