joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140035d10
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x1400f9288]
mov qword [rcx], rax
add rcx, 8
call fcn.140059420
lea rcx, [rsi + 0x10]
call fcn.140059420
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.140059420
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xd0], ebp
mov dword [rsi + 0xd8], ebx
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebp
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebp
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebp
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebp
mov qword [rsi + 0x198], rbx
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebx
mov eax, dword [0x140101014]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.14003dd80
movups xmmword [rsi + 0x2e0], xmm6
movups xmmword [rsi + 0x2f0], xmm6
mov dword [rsi + 0x300], ebp
movups xmmword [rsi + 0x308], xmm6
movups xmmword [rsi + 0x318], xmm6
movups xmmword [rsi + 0x328], xmm6
mov byte [rsi + 0x338], bl
mov dword [rsi + 0x33c], edi
mov byte [rsi + 0x340], bl
movups xmmword [rsi + 0x348], xmm6
mov qword [rsi + 0x358], rbx
call fcn.140018990
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov edx, dword [rsi + 0x1a0]
mov rax, qword [rsi + 0x1b0]
mov rcx, rax
shr rcx, 6
test dword [0x140101018], edx
je 0x140035f0b
cmp rax, 0x40
mov eax, 0x3e8
cmovb rcx, rax
call fcn.14006d920
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x140035f2f
call fcn.14003d8e0
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.14003d990
mov qword [0x14012c6f0], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
test dword [0x14010101c], edx
jne 0x140035f4d
test dword [0x140101020], edx
jne 0x140035f42
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.14003db20
jmp 0x140035ecc
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x140138008]
jmp 0x140035ed9
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x140035f24
cmp rax, 0x40
mov eax, 0x100
jmp 0x140035ec3
Function at 0x14003b900
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x14003ba51
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x1400f9dc0]
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 [0x140138008]
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 [0x140138008]
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 [0x140138008]
test r14, r14
je 0x14003b9e3
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x14003b9d3
lea r14, [rsi + 0xf8]
mov ecx, 1
call fcn.140069230
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x14003ba55
call fcn.140003260
lea rax, [0x140001d60]
test r14, r14
je 0x14003ba22
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.140080f00
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x14003ba34
bt eax, 9
jae 0x14003ba75
call fcn.140004350
lea rax, [0x140004820]
test r14, r14
je 0x14003ba22
lea rcx, [0x140004520]
jmp 0x14003ba1f
call fcn.1400dc930
lea rax, [0x1400dd130]
test r14, r14
je 0x14003ba22
lea rcx, [0x1400dc810]
jmp 0x14003ba1f
Function at 0x140041150
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 [0x140114028]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x140041120]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x14012ca90]
lea rdx, [0x140040fc0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140041260
cmp dword [0x14012ca98], 0
jne 0x140041250
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x14012ca9c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x1400411fc
mov ecx, 1
mov edx, 0x28
call fcn.14004fcd0
test rax, rax
je 0x140041250
mov r14, rax
mov ecx, dword [0x14012ca9c]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140041248
lea r15, [0x14012caa0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x14012cab0]
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.140080f00
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
call fcn.14004fc30
mov rcx, rsi
mov rax, rdi
call qword [0x140138008]
xor esi, esi
jmp 0x14004122c
call fcn.140094a5c
int3

Function at 0x140049950
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 [0x140123808]
cmp ecx, 0xffffffff
je 0x140049a2a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x140049a2a
mov eax, dword [0x14012e340]
mov ecx, dword [0x1401238c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140049a34
mov rbx, qword [0x14012e338]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140049a7a
mov rax, qword [0x14012cb28]
inc rax
xor ecx, ecx
lea rdx, [0x14012cb30]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x140049a87
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x14012e330]
inc ecx
mov dword [0x14012e330], ecx
mov dword [rax + 0x14], ecx
mov qword [0x14012cb28], 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 0x140049a9c
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140049aa0
jmp 0x14004997a
lea rcx, [0x14012e340]
call fcn.14007fbc4
cmp dword [0x14012e340], 0xffffffff
jne 0x14004999f
mov ecx, 8
call fcn.14007fa74
mov rbx, rax
mov rcx, rax
call fcn.140059420
mov qword [0x14012e338], rbx
lea rcx, [0x14012e340]
call fcn.14007fc5c
jmp 0x14004999f
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1400499b7
inc rcx
cmp rcx, 0x100
jne 0x1400499ca
jmp 0x140049a10
int3
Function at 0x140049aa0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.140080ea0
sub rsp, rax
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x140123808]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x140049b54
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140049bb7
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.140083020
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.14007fae4
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.140082970
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.140080f00
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.14004b1f0
test al, al
je 0x140049bba
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x140049b92
mov eax, 0xffffffff
lock cmpxchg dword [0x140123808], ecx
je 0x140049ad8
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x140123808]
mov dword [rsp + 0x2c], ecx
jmp 0x140049ad8
lea rcx, [rsp + 0x2c]
call fcn.14004b1f0
test al, al
je 0x140049bbd
cmp dword [rsp + 0x2c], 0xffffffff
je 0x140049bbd
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x140049b6b
int3
int3
int3

Function at 0x140049bd0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x140123808]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
je 0x140049c19
and rax, 0xfffffffffffffffc
je 0x140049c4c
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x140049c4c
mov rsi, qword [rax + rcx]
jmp 0x140049c4e
lea rdx, [0x14010510d]
lea r8, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r9d, 0x1f6
call fcn.14005fa50
movabs rdx, 0x141dd76000
mov rcx, rsi
call fcn.1400dc310
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140080f00
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x140049c70
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140123808]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140049cae
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 0x140049ca7
call fcn.140049aa0
jmp 0x140049c8e

Function at 0x14004b1f0
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 0x14004b205
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x140058f10
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14012bfd0]
mov ecx, dword [0x1401238c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140058f70
mov rsi, qword [0x14012bfc8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140080f00
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14012bfd0]
call fcn.14007fbc4
cmp dword [0x14012bfd0], 0xffffffff
jne 0x140058f4c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140083020
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.14007fa74
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14012c018]
mov ecx, dword [0x1401238c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140059030
lea r8, [0x14012bfe8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14002ca80
mov qword [0x14012bfc8], rsi
lea rcx, [0x14012bfd0]
call fcn.14007fc5c
jmp 0x140058f4c
lea rcx, [0x14012c018]
call fcn.14007fbc4
cmp dword [0x14012c018], 0xffffffff
jne 0x140059001
xorps xmm0, xmm0
movups xmmword [0x14012c008], xmm0
movups xmmword [0x14012bff8], xmm0
movups xmmword [0x14012bfe8], xmm0
lea rcx, [0x14012bfe8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14012c018]
call fcn.14007fc5c
jmp 0x140059001

Function at 0x140059170
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 0x14005920a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400591f4
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400591d1
mov qword [rsi], rdi
call fcn.14005fa70
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 0x14005920e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14005fa70
mov rcx, qword [rsi]
call fcn.140059080
mov qword [rsi], 0
jmp 0x1400591bf
mov byte [rsi + 8], 0
int3
Function at 0x1400593b0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400593f8
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 0x140059401
lea rax, [rsi + 1]
cmp rax, 2
jb case.default.0x1400593f1
mov qword [rdi], rsi
call fcn.14005fa70
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.14005fa70
mov rcx, qword [rdi]
call fcn.140059080
mov qword [rdi], 0
jmp 0x1400593d6
cmpsb byte [rsi], byte [rdi]
invalid
invalid
Function at 0x140063e50
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 [0x140114028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.140064410
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x14012c300]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x140063eae
jnp 0x140063f14
ucomisd xmm0, xmm6
jne 0x140063eb6
jnp 0x140063f10
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1400fa540]
subpd xmm1, xmmword [0x1400fa550]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1400fea28]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140080f00
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 0x140063ee8
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 [0x14012c310]
mov ecx, dword [0x1401238c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140064029
mov eax, dword [0x14012c320]
mov ecx, dword [0x1401238c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140064063
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 [0x14012c318]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1400fea20]
ucomisd xmm2, xmm1
ja 0x140063eae
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x14012c308]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x1400fa540]
subpd xmm0, xmmword [0x1400fa550]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x14012c300], xmm0
jmp 0x140063eae
lea rcx, [0x14012c310]
call fcn.14007fbc4
cmp dword [0x14012c310], 0xffffffff
jne 0x140063f5d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14012c308], rdx
lea rcx, [0x14012c310]
call fcn.14007fc5c
jmp 0x140063f5d
lea rcx, [0x14012c320]
call fcn.14007fbc4
cmp dword [0x14012c320], 0xffffffff
jne 0x140063f82
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x14012c318], rax
lea rcx, [0x14012c320]
call fcn.14007fc5c
jmp 0x140063f82
Function at 0x140065660
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp rdx, 1
jne 0x1400656cb
mov rbx, qword [rsi + 8]
mov edi, 2
cmp rbx, 2
jae 0x1400656f9
lea rbx, [rsi + 8]
lea rcx, [rdi*8]
call fcn.14007fa74
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
jne 0x1400656c4
mov qword [rbx], rdi
xor eax, eax
mov rcx, qword [rsi]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x1400656a0
mov r8, qword [rsi + 0x10]
test r8, r8
jne 0x140065725
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14007fab0
jmp 0x14006569b
mov rdi, rdx
lea rax, [rdx - 1]
test rdx, rax
je 0x1400656e2
mov rcx, rdi
call fcn.1400567f0
mov rdi, rax
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x1400656f9
mov rax, rdi
shr rax, 0x3d
je 0x14006567f
call fcn.1400b2b10
cmp rdi, rbx
jae 0x1400656bc
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x140065827
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14006582c
lea r10, [rsi + 0x10]
mov rcx, qword [r8 + 8]
mov rax, rdi
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, rdi
sub rax, rdx
movabs rdx, 0x3333333333333333
mov r9, rax
and r9, rdx
shr rax, 2
and rax, rdx
add rax, r9
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x1400657a1
cmp rcx, rdi
jb 0x1400657a8
mov rax, rcx
xor edx, edx
div rdi
mov rcx, rdx
jmp 0x1400657a8
lea rax, [rdi - 1]
and rcx, rax
mov rax, qword [rsi]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
test r10, r10
je 0x1400656bc
lea r11, [rdi - 1]
jmp 0x14006580e
mov qword [rdx + rax*8], r8
jmp 0x1400657fc
and rax, r11
cmp rax, rcx
je 0x1400657f9
mov rdx, qword [rsi]
cmp qword [rdx + rax*8], 0
je 0x1400657c1
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [rsi]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [rsi]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
mov rax, rcx
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x1400656bc
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x1400657c7
cmp rax, rdi
jb 0x1400657ca
xor edx, edx
div rdi
mov rax, rdx
jmp 0x1400657ca
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1400b1944
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1400fb350]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rbx, 3
jb 0x1400658df
mov rcx, rbx
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, rbx
sub rcx, rdx
movabs rdx, 0x3333333333333333
mov r8, rcx
shr r8, 2
and rcx, rdx
and r8, rdx
add r8, rcx
mov rcx, r8
shr rcx, 4
add rcx, r8
movabs rdx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
movabs rcx, 0x101010101010101
imul rcx, rdx
shr rcx, 0x38
cmp ecx, 1
ja 0x1400658df
lea rcx, [rax - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov edx, 1
shl rdx, cl
cmp rax, 2
cmovb rdx, rax
jmp 0x1400658ea
mov rcx, rax
call fcn.1400567f0
mov rdx, rax
cmp rdi, rdx
cmova rdx, rdi
cmp rdx, rbx
jae 0x1400656bc
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400d70d0
Function at 0x140069bf0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r9, 0x30
ja 0x140069cc9
mov rsi, rcx
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmm2, xmmword [rdx + 0x20]
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
test r9, r9
jne 0x140069ccd
xor eax, eax
lea rcx, [0x140100590]
nop
movzx edx, byte [rax + rcx]
xor byte [rsp + rax + 0x20], dl
inc rax
cmp rax, 0x30
jne 0x140069c40
lea rdi, [rsi + 0xf8]
mov ecx, 1
call fcn.140069230
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x140069ce5
call fcn.140003260
lea rax, [0x140001d60]
test rdi, rdi
je 0x140069c90
lea rcx, section..text
mov qword [rdi], rcx
mov qword [rsi + 0x100], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x108], xmm0
mov qword [rsi + 0x118], 1
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140080f00
mov eax, esi
add rsp, 0x58
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x140069cb3
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r9, rax
je 0x140069c35
jmp 0x140069ccf
bt eax, 9
jae 0x140069d05
call fcn.140004350
lea rax, [0x140004820]
test rdi, rdi
je 0x140069c90
lea rcx, [0x140004520]
jmp 0x140069c8d
call fcn.1400dc930
lea rax, [0x1400dd130]
test rdi, rdi
je 0x140069c90
lea rcx, [0x1400dc810]
jmp 0x140069c8d
Function at 0x140073ed0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x140041120]
mov qword [rsp + 0x20], rax
lea rcx, [0x14012ca90]
lea rdx, [0x140040fc0]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140073f64
cmp dword [0x14012ca98], 0
jne 0x140073f60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x14012ca9c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x140073f60
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140080f00
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x140073f48
call fcn.140094a5c
int3

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

Disassembly:
mov eax, ecx
test r8, r8
je 0x1400755fb
xor ecx, ecx
lea r9, [0x140104370]
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 0x1400755e0
ret