joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005ac40
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x14005ad62
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x14005ad98
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x14005ada0
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
test edi, edi
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x14005ada4
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x14005adaa
pop rdi
pop rsi
ret
xor r10d, r10d
jmp 0x14005ac9c
xor eax, eax
jmp 0x14005ad31
mov dl, byte [r8 + 0x19]
jmp 0x14005ad91
cmp byte [r8 + 0x1a], 0
je 0x14005ad95
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x14005ad95
cmp ecx, 0x666f736f
jne 0x14005ad95
cmp edx, 0x76482074
jne 0x14005ad95
mov byte [r8 + 0x19], 1
jmp 0x14005ad95
Function at 0x14005b070
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 [0x140138de8]
cmp ecx, 0xffffffff
je 0x14005b092
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14005b097
call fcn.14005b1b0
mov eax, dword [0x140144630]
mov ecx, dword [0x140138ecc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005b147
mov rbx, qword [0x140144628]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14005b18d
mov rax, qword [0x140142e10]
inc rax
xor ecx, ecx
lea rdx, [0x140142e20]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x14005b19a
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x140144620]
inc ecx
mov dword [0x140144620], ecx
mov dword [rax + 0x14], ecx
mov qword [0x140142e10], 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 0x14005b1ac
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140144630]
call fcn.14008dea0
cmp dword [0x140144630], 0xffffffff
jne 0x14005b0bc
mov ecx, 8
call fcn.14008dd4c
mov rbx, rax
mov rcx, rax
call fcn.140074cd0
mov qword [0x140144628], rbx
lea rcx, [0x140144630]
call fcn.14008df38
jmp 0x14005b0bc
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14005b0d4
inc rcx
cmp rcx, 0x100
jne 0x14005b0e7
jmp 0x14005b12d
int3

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

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.14008f190
sub rsp, rax
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x140138de8]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x14005b264
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14005b2a2
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.140091340
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.14008ddbc
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.140090c90
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.14008f1f0
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.14005d740
test al, al
je 0x14005b2a5
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x14005b2a8
mov eax, 0xffffffff
lock cmpxchg dword [0x140138de8], ecx
je 0x14005b1e8
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x140138de8]
mov dword [rsp + 0x2c], ecx
jmp 0x14005b1e8
int3
int3
lea rcx, [rsp + 0x2c]
call fcn.14005d740
test al, al
je 0x14005b2cd
cmp dword [rsp + 0x2c], 0xffffffff
je 0x14005b2cd
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x14005b27b
int3
Function at 0x14005b2e0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140138de8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14005b31e
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 0x14005b317
call fcn.14005b1b0
jmp 0x14005b2fe

Function at 0x14005d6f0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x14005d72c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14005d736
add rdi, rbx
sub rsi, rbx
jne 0x14005d70a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3

Function at 0x14005d740
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 0x14005d755
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x140065590
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 0x14006562a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140065614
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400655f1
mov qword [rsi], rdi
call fcn.140070850
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 0x14006562e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140070850
mov rcx, qword [rsi]
call fcn.140072520
mov qword [rsi], 0
jmp 0x1400655df
mov byte [rsi + 8], 0
int3
Function at 0x140065900
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x60]
mov qword [rdi + 0x40], rax
movaps xmm0, xmmword [0x14010cb00]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.CreateFileVersionInfoWin
lea r8, str....._base_file_version_info_win.cc
lea r14, [rsp + 0x38]
mov rcx, r14
mov r9d, 0x4d
call fcn.140070830
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call fcn.140072010
mov dword [rsp + 0x34], 0xaaaaaaaa
cmp byte [rbx + 0x17], 0
jns 0x140065992
mov rbx, qword [rbx]
lea rdx, [rsp + 0x34]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x140065b06
mov ebp, eax
mov r14d, eax
mov rcx, r14
call fcn.14008dd4c
mov rdi, rax
lea r15, [rax + r14]
xor eax, eax
nop dword [rax]
mov rcx, rdi
add rcx, rax
je 0x140065b0f
mov byte [rcx], 0
inc rax
cmp r14, rax
jne 0x1400659c0
mov edx, dword [rsp + 0x34]
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140065b3b
lea r8, [rsp + 0x38]
mov qword [r8], 0
lea r9, [rsp + 0x5c]
mov dword [r9], 0xaaaaaaaa
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140065b3b
mov r14, qword [rsp + 0x38]
test r14, r14
je 0x140065b3b
mov ecx, 0x38
call fcn.14008dd4c
mov rbx, rax
movzx r12d, word [r14]
movzx ebp, word [r14 + 2]
lea rax, fcn.1400292d0
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
movabs r14, 0xfffffffc00000000
mov rax, rdi
and rax, r14
cmp rax, qword [0x140137148]
jne 0x140065a7b
mov rcx, rdi
call fcn.14005efd0
mov qword [rbx + 0x20], rdi
mov word [rbx + 0x28], r12w
mov word [rbx + 0x2a], bp
lea r8, [rsp + 0x38]
mov qword [r8], 0
lea r9, [rsp + 0x5c]
mov dword [r9], 0xaaaaaaaa
lea rdx, [0x1401102b2]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140065b51
mov rdi, qword [rsp + 0x38]
and r14, rdi
cmp r14, qword [0x140137148]
jne 0x140065ad0
mov rcx, rdi
call fcn.14005efd0
mov qword [rbx + 0x30], rdi
mov qword [rsi], rbx
lea rcx, [rsp + 0x60]
call fcn.140072240
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14008f1f0
mov rax, rsi
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov qword [rsi], 0
jmp 0x140065ad7
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1400c29f0
mov qword [rsi], 0
test rdi, rdi
je 0x140065ad7
mov rcx, rdi
call fcn.14008dd88
jmp 0x140065ad7
int3
Function at 0x14006ba90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx eax, byte [0x14013bad0]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x14006bbc7
mov rsi, rcx
lea r14, [0x140110660]
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x14010cb00]
lea rbx, [rsp + 0x30]
xor r12d, r12d
mov rax, r12
shl rax, 4
mov qword [rsp + 0x40], r15
movaps xmmword [rsp + 0x30], xmm6
mov rdx, qword [rax + r14]
test rdx, rdx
je 0x14006bbfa
mov r13, qword [rax + r14 + 8]
mov byte [rsp + 0x47], r13b
cmp rbx, rdx
ja 0x14006bb2c
lea rax, [rsp + r13*2]
add rax, 0x30
cmp rax, rdx
ja 0x14006bc26
lea r8, [r13*2]
mov rcx, rbx
call fcn.140090c90
mov word [rsp + r13*2 + 0x30], 0
movzx eax, byte [rsp + 0x47]
mov rcx, qword [rsp + 0x30]
mov r8, rbx
mov rdx, rax
test al, al
jns 0x14006bb60
mov rdx, qword [rsp + 0x38]
mov r8, rcx
mov r9, qword [rsi + 8]
cmp r9, rdx
mov r10, rdx
cmovb r10, r9
test r10, r10
js 0x14006bc52
cmp rdx, r9
ja 0x14006bbc3
mov bpl, 1
test rdx, rdx
je 0x14006bbef
mov r9, qword [rsi]
xor r10d, r10d
movzx r11d, word [r9 + r10*2]
cmp r11w, word [r8 + r10*2]
jne 0x14006bbc3
inc r10
cmp rdx, r10
jne 0x14006bb8a
mov rdi, rdx
test al, al
js 0x14006bbf3
test bpl, bpl
jne 0x14006bbc9
inc r12
movzx eax, byte [0x14013bad0]
xor rax, 3
cmp r12, rax
jb 0x14006baee
jmp 0x14006bbc7
xor ebp, ebp
jmp 0x14006bba1
xor edi, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14008f1f0
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor edi, edi
jmp 0x14006bba1
call fcn.14008dd88
jmp 0x14006bba5
lea rax, str.basic_string_const_char__n__detected_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string
lea r9, str.__n__0____s___nullptr
mov r8d, 0x39b
call fcn.1400c29f0
lea rax, str.char_traits::copy_overlapped_range
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__stringchar_traits.h
lea r9, str.__s2_____s1____s2_____s1__n
mov r8d, 0x134
call fcn.1400c29f0
int3
Function at 0x140071af0
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 [0x140129038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.1400728a0
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x14013c440]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x140071b4e
jnp 0x140071bb4
ucomisd xmm0, xmm6
jne 0x140071b5a
jnp 0x140071cc9
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1401105a0]
subpd xmm1, xmmword [0x1401105b0]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x140111b48]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14008f1f0
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
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 [0x14013c450]
mov ecx, dword [0x140138ecc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140071cd0
mov eax, dword [0x14013c460]
mov ecx, dword [0x140138ecc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140071d0a
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 [0x14013c458]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x140111b40]
ucomisd xmm2, xmm1
ja 0x140071b4e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x14013c448]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x1401105a0]
subpd xmm0, xmmword [0x1401105b0]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x14013c440], xmm0
jmp 0x140071b4e
xor eax, eax
jmp 0x140071b8c
lea rcx, [0x14013c450]
call fcn.14008dea0
cmp dword [0x14013c450], 0xffffffff
jne 0x140071bfd
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14013c448], rdx
lea rcx, [0x14013c450]
call fcn.14008df38
jmp 0x140071bfd
lea rcx, [0x14013c460]
call fcn.14008dea0
cmp dword [0x14013c460], 0xffffffff
jne 0x140071c22
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x14013c458], rax
lea rcx, [0x14013c460]
call fcn.14008df38
jmp 0x140071c22
Function at 0x140072550
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14013c488]
mov ecx, dword [0x140138ecc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400725b0
mov rsi, qword [0x14013c480]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14008f1f0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14013c488]
call fcn.14008dea0
cmp dword [0x14013c488], 0xffffffff
jne 0x14007258c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140091340
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.14008dd4c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14013c4d0]
mov ecx, dword [0x140138ecc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140072670
lea r8, [0x14013c4a0]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140036ee0
mov qword [0x14013c480], rsi
lea rcx, [0x14013c488]
call fcn.14008df38
jmp 0x14007258c
lea rcx, [0x14013c4d0]
call fcn.14008dea0
cmp dword [0x14013c4d0], 0xffffffff
jne 0x140072641
xorps xmm0, xmm0
movups xmmword [0x14013c4c0], xmm0
movups xmmword [0x14013c4b0], xmm0
movups xmmword [0x14013c4a0], xmm0
lea rcx, [0x14013c4a0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14013c4d0]
call fcn.14008df38
jmp 0x140072641
Function at 0x1400812d0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x14008141d
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x14010cb00]
lea rdi, [rsp + 0x40]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi - 0x10], xmm0
movaps xmmword [rdi - 0x20], xmm0
lea r12, [rsp + 0x30]
lea rbx, [rcx + 0x108]
mov eax, dword [rcx + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rcx + 0x114], eax
mov rax, qword [rcx + 0xf8]
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r8, rsi
call qword [0x14014f008]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, r12
mov r8, rsi
call qword [0x14014f008]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [0x14014f008]
test r14, r14
je 0x1400813b3
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x1400813a3
lea r14, [rsi + 0xf8]
mov eax, dword [0x1401412e4]
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x140081421
call fcn.140003260
lea rax, [0x140001d60]
test r14, r14
je 0x1400813ee
lea rcx, section..text
mov qword [r14], rcx
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14008f1f0
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x140081400
bt eax, 9
jae 0x140081441
call fcn.140004350
lea rax, [0x140004820]
test r14, r14
je 0x1400813ee
lea rcx, [0x140004520]
jmp 0x1400813eb
call fcn.1400eba30
lea rax, [0x1400ec230]
test r14, r14
je 0x1400813ee
lea rcx, [0x1400eb8f0]
jmp 0x1400813eb

Function at 0x140081db0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x140081ddb
xor ecx, ecx
lea r9, [0x140117190]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rcx
cmp r8, rcx
jne 0x140081dc0
ret
Function at 0x140084610
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x140058ab0]
mov qword [rsp + 0x20], rax
lea rcx, [0x140142d50]
lea rdx, [0x140058930]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400846a4
cmp dword [0x140142d58], 0
jne 0x1400846a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x140142d5c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1400846a0
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14008f1f0
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x140084688
call fcn.1400a6a20
int3

Function at 0x140089300
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x140138de8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140089334
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x140089334
mov rax, qword [rax + rcx]
add rsp, 0x20
pop rsi
ret
xor eax, eax
jmp 0x14008932e
Function at 0x14008e574
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008e5be
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008e5be
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008e5be
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008e5be
cmp dword [rcx + 0x84], 0xe
jbe 0x14008e5be
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14008e5c0
xor al, al
add rsp, 0x28
ret

Function at 0x14008ea10
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x14008ea88
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x14008ea88
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x14008ea88
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x14008ea7c
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x14008ea9a
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14008ea6a
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x14008ea8a

Function at 0x1400a17b8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400a17ef
call fcn.1400a47fc
mov dword [rax], 0x16
call fcn.1400a6ac8
xor eax, eax
jmp 0x1400a187d
mov rdx, r9
mov rcx, r8
call fcn.1400a18a0
mov rbx, rax
test rax, rax
je 0x1400a187a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400a1910]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400a1867
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400a483c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400a184e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400a185d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140065dd0
jmp 0x1400a187a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400a1877
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a19e4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400a1b2c