joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400da3d0
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 [0x140219028]
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 [0x1402319d0]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1400da428
jnp 0x1400da48e
ucomisd xmm0, xmm6
jne 0x1400da430
jnp 0x1400da48a
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1401f3950]
subpd xmm1, xmmword [0x1401f3960]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1401f7d68]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14012ec00
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 0x1400da462
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 [0x1402319e0]
mov ecx, dword [0x140228d28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400da5a3
mov eax, dword [0x1402319f0]
mov ecx, dword [0x140228d28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400da5dd
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 [0x1402319e8]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1401f7d60]
ucomisd xmm2, xmm1
ja 0x1400da428
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x1402319d8]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x1401f3950]
subpd xmm0, xmmword [0x1401f3960]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x1402319d0], xmm0
jmp 0x1400da428
lea rcx, [0x1402319e0]
call fcn.14012c340
cmp dword [0x1402319e0], 0xffffffff
jne 0x1400da4d7
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1402319d8], rdx
lea rcx, [0x1402319e0]
call fcn.14012c3a8
jmp 0x1400da4d7
lea rcx, [0x1402319f0]
call fcn.14012c340
cmp dword [0x1402319f0], 0xffffffff
jne 0x1400da4fc
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x1402319e8], rax
lea rcx, [0x1402319f0]
call fcn.14012c3a8
jmp 0x1400da4fc
Function at 0x1400fba60
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jb 0x1400fba8c
call fcn.1400b90a0
mov qword [rsi], 0
test r15, r15
je 0x1400fbac6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400fbb96
cmp r12, 2
jb 0x1400fbabe
mov qword [rsi], r15
call fcn.1400b90a0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
cmp byte [rdi + 0x1f], 0
jns 0x1400fbb35
mov r14, qword [rdi + 8]
mov rbx, qword [rdi + 0x10]
cmp rbx, 0xa
jbe 0x1400fbb49
movabs r15, 0x7ffffffffffffff7
cmp rbx, r15
ja 0x1400fbc10
mov rax, rbx
and rax, 0xfffffffffffffffc
add rax, 4
mov r12, rbx
or r12, 3
cmp r12, 0xb
cmove r12, rax
inc r12
js 0x1400fbc0b
lea rcx, [r12 + r12]
call fcn.14012c264
mov rcx, rax
mov qword [rsi + 8], rax
add r15, 9
or r15, r12
mov qword [rsi + 0x18], r15
mov qword [rsi + 0x10], rbx
jmp 0x1400fbb4c
lea rax, [rdi + 8]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
jmp 0x1400fbb73
mov byte [rsi + 0x1f], bl
cmp rcx, r14
ja 0x1400fbb62
lea rax, [rcx + rbx*2]
add rax, 2
cmp rax, r14
ja 0x1400fbc15
inc rbx
add rbx, rbx
mov rdx, r14
mov r8, rbx
call fcn.140130690
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400b90a0
mov r14, qword [rsi]
cmp qword [0x140231c98], 0
je 0x1400fbbca
mov rcx, qword [0x140231c98]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x140243008]
mov qword [rsi], 0
jmp 0x1400fbab0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140200139]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400fbc18
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400fbc05
call qword [0x140243008]
mov rcx, rax
xor edx, edx
call fcn.140026ae0
jmp 0x1400fbba8
xor ecx, ecx
mov dl, 1
jmp 0x1400fbbfe
call fcn.140167880
call fcn.140167880
int3
xor ecx, ecx
jmp 0x1400fbbfc
Function at 0x140109860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
test r8, r8
je 0x14010997a
mov rcx, qword [rcx + 8]
movsxd r9, dword [rcx + 0x3c]
cmp dword [rcx + r9 + 0x84], 0
je 0x14010997a
add r9, rcx
xor eax, eax
cmp word [r9 + 0x14], 0x78
jb 0x140109973
add r9, 0x88
je 0x140109973
mov eax, dword [r9]
test rax, rax
je 0x14010997a
add rax, rcx
je 0x14010997a
cmp rdx, 0xffff
jbe 0x14010996d
mov r10d, dword [rax + 0x20]
lea r9, [rcx + r10]
test r10, r10
cmove r9, r10
mov r10d, dword [rax + 0x18]
lea r10, [r9 + r10*4]
lea r11, [rdx + 1]
mov rsi, r9
jmp 0x140109906
xor ebp, ebp
lea rdi, [rsi + rdi*2]
movzx ebp, bpl
movzx ebx, byte [rbx]
lea r14, [rdi + 4]
cmp ebp, ebx
cmovg rsi, r14
cmovs r10, rdi
cmp bpl, bl
je 0x140109952
cmp rsi, r10
je 0x14010997a
mov rdi, r10
sub rdi, rsi
mov rbx, rdi
sar rbx, 2
shr rdi, 0x3f
add rdi, rbx
and rdi, 0xfffffffffffffffe
mov r14d, dword [rsi + rdi*2]
lea rbx, [rcx + r14]
test r14, r14
cmove rbx, r14
mov bpl, byte [rdx]
test bpl, bpl
je 0x1401098e6
mov r14, r11
cmp bpl, byte [rbx]
jne 0x1401098e8
inc rbx
mov bpl, byte [r14]
inc r14
test bpl, bpl
jne 0x14010993d
jmp 0x1401098e6
mov edx, dword [rax + 0x24]
add rcx, rdx
test rdx, rdx
cmove rcx, rdx
sub rdi, r9
sar rdi, 1
movzx edx, word [rcx + rdi]
add dx, word [rax + 0x10]
mov word [r8], dx
mov al, 1
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
xor eax, eax
jmp 0x140109973
Function at 0x140110630
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x14011072e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x1401f5500]
nop dword [rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm4, 0
movdqa xmm8, xmm2
pclmulqdq xmm8, xmm4, 0
movdqa xmm9, xmm1
pclmulqdq xmm9, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
movdqu xmm10, xmmword [rcx]
pxor xmm10, xmm6
pxor xmm0, xmm10
movdqu xmm6, xmmword [rcx + 0x10]
pxor xmm6, xmm7
pxor xmm3, xmm6
movdqu xmm6, xmmword [rcx + 0x20]
pxor xmm6, xmm8
pxor xmm2, xmm6
movdqu xmm6, xmmword [rcx + 0x30]
pxor xmm6, xmm9
pxor xmm1, xmm6
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x1401106a0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x1401f5510]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp rdx, 0x10
jb 0x1401107bd
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x140110793
movdqa xmm1, xmmword [0x1401f5510]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x1401f5520], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x140112040
Capabilities:
Hash data using sha256

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
mov rsi, r8
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x98], rax
xorps xmm0, xmm0
lea rdi, [rsp + 0x48]
movups xmmword [rdi + 0x34], xmm0
movups xmmword [rdi + 0x28], xmm0
movups xmmword [rdi + 0x18], xmm0
movups xmmword [rdi + 8], xmm0
movups xmmword [rdi - 8], xmm0
movaps xmm0, xmmword [0x140200150]
movups xmmword [rdi - 0x28], xmm0
movaps xmm0, xmmword [0x140200160]
movups xmmword [rdi - 0x18], xmm0
mov dword [rdi + 0x44], 0x20
test rdx, rdx
je 0x1401120fc
mov r14, rdx
mov rbx, rcx
lea eax, [rdx*8]
mov rcx, rdx
shr rcx, 0x1d
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x40], eax
mov r8, rdx
cmp rdx, 0x40
jb 0x1401120e9
shr r8, 6
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140071840
mov r8, r14
and r8, 0x3f
je 0x1401120fc
and r14, 0xffffffffffffffc0
add rbx, r14
mov r14d, r8d
mov dword [rsp + 0x88], r14d
mov rcx, rdi
mov rdx, rbx
call fcn.140130690
mov eax, dword [rsp + 0x88]
lea rcx, [rax + 1]
mov ebx, dword [rsp + 0x8c]
mov ebp, dword [rsp + 0x40]
mov r14d, dword [rsp + 0x44]
mov byte [rsp + rax + 0x48], 0x80
cmp rax, 0x38
jae 0x1401121dc
cmp rcx, 0x38
je 0x14011213f
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.140130d40
bswap r14d
lea rcx, [rsp + 0x20]
mov dword [rcx + 0x60], r14d
bswap ebp
mov dword [rcx + 0x64], ebp
mov r8d, 1
mov rdx, rdi
call fcn.140071840
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi], xmm0
mov dword [rdi + 0x40], 0
lea eax, [rbx - 0x21]
cmp eax, 0xffffffe3
jb 0x140112195
shr ebx, 2
xor eax, eax
mov ecx, dword [rsp + rax*4 + 0x20]
bswap ecx
mov dword [rsi + rax*4], ecx
inc rax
cmp rbx, rax
jne 0x140112184
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14012ec00
mov rax, rsi
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
cmp eax, 0x3f
je 0x1401121f4
mov r8d, 0x3f
sub r8, rax
add rcx, rdi
xor edx, edx
call fcn.140130d40
lea rcx, [rsp + 0x20]
mov r8d, 1
mov rdx, rdi
call fcn.140071840
xor ecx, ecx
jmp 0x14011212c
Function at 0x140113690
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140231968]
mov ecx, dword [0x140228d28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401136f0
mov rsi, qword [0x140231960]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14012ec00
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140231968]
call fcn.14012c340
cmp dword [0x140231968], 0xffffffff
jne 0x1401136cc
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140130d40
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.14012c264
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1402319b0]
mov ecx, dword [0x140228d28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401137b0
lea r8, [0x140231980]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14002c070
mov qword [0x140231960], rsi
lea rcx, [0x140231968]
call fcn.14012c3a8
jmp 0x1401136cc
lea rcx, [0x1402319b0]
call fcn.14012c340
cmp dword [0x1402319b0], 0xffffffff
jne 0x140113781
xorps xmm0, xmm0
movups xmmword [0x1402319a0], xmm0
movups xmmword [0x140231990], xmm0
movups xmmword [0x140231980], xmm0
lea rcx, [0x140231980]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1402319b0]
call fcn.14012c3a8
jmp 0x140113781
Function at 0x14011c9f0
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp rcx, 1
jne 0x14011ca6c
mov rdi, qword [0x140231748]
mov esi, 2
cmp rdi, 2
jae 0x14011caa1
lea rcx, [rsi*8]
call fcn.14012c264
mov rcx, qword [0x140231740]
mov qword [0x140231740], rax
test rcx, rcx
jne 0x14011ca65
mov qword [0x140231748], rsi
xor eax, eax
mov rcx, qword [0x140231740]
mov qword [rcx + rax*8], 0
inc rax
cmp rsi, rax
jne 0x14011ca3b
mov r8, qword [0x140231750]
test r8, r8
jne 0x14011cad0
add rsp, 0x28
pop rdi
pop rsi
ret
call fcn.14012c25c
jmp 0x14011ca32
mov rsi, rcx
lea rax, [rcx - 1]
test rcx, rax
je 0x14011ca83
mov rcx, rsi
call fcn.1400eec80
mov rsi, rax
mov rdi, qword [0x140231748]
cmp rsi, rdi
jbe 0x14011caa1
mov rax, rsi
shr rax, 0x3d
je 0x14011ca12
jmp 0x14011cccd
cmp rsi, rdi
jae 0x14011ca5e
mov rax, qword [0x140231758]
test rax, rax
jns 0x14011cbe5
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14011cbea
mov rcx, qword [r8 + 8]
mov rax, rsi
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, rsi
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 0x14011cb48
cmp rcx, rsi
jb 0x14011cb4f
mov rax, rcx
xor edx, edx
div rsi
mov rcx, rdx
jmp 0x14011cb4f
lea rax, [rsi - 1]
and rcx, rax
mov rax, qword [0x140231740]
lea rdx, [0x140231750]
mov qword [rax + rcx*8], rdx
mov r10, qword [r8]
test r10, r10
je 0x14011ca5e
lea r11, [rsi - 1]
jmp 0x14011cbcc
mov qword [rdx + rax*8], r8
jmp 0x14011cbba
and rax, r11
cmp rax, rcx
je 0x14011cbb7
mov rdx, qword [0x140231740]
cmp qword [rdx + rax*8], 0
je 0x14011cb73
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [0x140231740]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [0x140231740]
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 0x14011ca5e
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x14011cb79
cmp rax, rsi
jb 0x14011cb7c
xor edx, edx
div rsi
mov rax, rdx
jmp 0x14011cb7c
cvtsi2ss xmm0, rax
divss xmm0, dword [0x140231760]
call fcn.14014a954
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1401f45f0]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rdi, 3
jb 0x14011cca0
mov rcx, rdi
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, rdi
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 0x14011cca0
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 0x14011ccab
mov rcx, rax
call fcn.1400eec80
mov rdx, rax
cmp rsi, rdx
cmova rdx, rsi
cmp rdx, rdi
jae 0x14011ca5e
lea rcx, [0x140231740]
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14018efa0
int3
Function at 0x14011cce0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov ebx, ecx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x140231a00]
mov ecx, dword [0x140228d28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14011cecc
mov rsi, qword [0x1402319f8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14011cf0e
movzx ebx, bl
dec ebx
or ebx, 1
cmp byte [0x1402319b4], 0
mov eax, 8
mov ecx, 1
cmove ecx, eax
xor ebp, ebp
add ebx, dword [0x1402319b8]
mov dword [0x1402319b8], ebx
cmovne ebp, ecx
mov eax, dword [0x1402319bc]
cmp ebp, eax
je 0x14011ceab
test eax, eax
je 0x14011ce3c
mov rax, qword [0x140228618]
lea rcx, [0x14012ac60]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x14011cf1b
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14011cf7c
imul rax, rax, 0xf4240
cqo
idiv qword [0x140231a18]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x140231a08]
xor edx, edx
cmp rax, rcx
setns dl
movabs r8, 0x7fffffffffffffff
add r8, rdx
sub rax, rcx
cmovo rax, r8
movabs rdx, 0x8000000000000001
lea r8, [rax + rdx]
mov rcx, qword [0x1402319c0]
cmp r8, 2
jb 0x14011cf3d
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x1402319c0], rax
mov ecx, dword [0x1402319bc]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x1402319bc], ebp
test ebx, ebx
je 0x14011ceab
mov rax, qword [0x140228618]
lea rcx, [0x14012ac60]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x14011cf2c
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14011cf55
imul rax, rax, 0xf4240
cqo
idiv qword [0x140231a18]
mov qword [0x140231a08], rax
mov ecx, dword [0x1402319bc]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14012ec00
mov al, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x140231a00]
call fcn.14012c340
cmp dword [0x140231a00], 0xffffffff
jne 0x14011cd1e
mov ecx, 8
call fcn.14012c264
mov qword [rax], 0
mov qword [0x1402319f8], rax
lea rcx, [0x140231a00]
call fcn.14012c3a8
jmp 0x14011cd1e
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14011cd36
mov rcx, rdi
call qword [0x140243008]
mov rax, qword [rdi]
jmp 0x14011cdd0
mov rcx, rdi
call qword [0x140243008]
mov rax, qword [rdi]
jmp 0x14011ce98
cmp rcx, rax
je 0x14011ce29
add rcx, rdx
cmp rcx, 1
ja 0x14011ce29
jmp 0x14011cfa3
mov rcx, qword [0x140231a18]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14011ce98
mov rcx, qword [0x140231a18]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14011cdcb
int3
Function at 0x14012b360
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push rdi
mov rdx, qword [rcx]
mov r9, qword [rcx + 8]
mov r8, r9
sub r8, rdx
je 0x14012b3f7
mov rax, r8
shr rax, 2
neg r9
xor r9, rdx
cmp r9, 0xffffffffffffffff
je 0x14012b3f2
mov r10, r8
and r10, 0xfffffffffffffffe
xor r9d, r9d
lea r11, [0x1401fa930]
nop dword [rax]
movzx esi, al
movzx edi, byte [rdx + r9]
xor edi, esi
shr eax, 8
xor eax, dword [r11 + rdi*4]
movzx esi, al
movzx edi, byte [rdx + r9 + 1]
xor edi, esi
shr eax, 8
xor eax, dword [r11 + rdi*4]
add r9, 2
cmp r10, r9
jne 0x14012b3a0
test r8b, 1
je 0x14012b3ec
movzx r8d, al
movzx edx, byte [rdx + r9]
xor edx, r8d
lea r8, [0x1401fa930]
shr eax, 8
xor eax, dword [r8 + rdx*4]
mov dword [rcx + 0x18], eax
pop rdi
pop rsi
ret
xor r9d, r9d
jmp 0x14012b3cc
xor eax, eax
jmp 0x14012b3ec
sub rsp, 0x28
movapd xmmword [rsp + 0x10], xmm7
movapd xmmword [rsp], xmm6
mov r11, qword [r8]
mov r10, qword [r8 + 8]
mov rax, r10
sub rax, r11
sar rax, 2
lea r9, [rax - 1]
cmp r9, 2
jb 0x1401921b8
cvtsi2sd xmm0, ecx
cvtsi2sd xmm1, edx
add rax, 0xfffffffffffffffd
movq xmm2, rax
punpckldq xmm2, xmmword [0x1401f3950]
subpd xmm2, xmmword [0x1401f3960]
haddpd xmm2, xmm2
mov ecx, 1
movdqa xmm3, xmmword [0x1401f3950]
movapd xmm4, xmmword [0x1401f3960]
movsd xmm5, qword [0x1401e1fc0]
mov rdx, qword [r8]
mov r10, qword [r8 + 8]
sub r10, rdx
sar r10, 2
cmp r10, rcx
jbe 0x1401921da
movq xmm6, rax
punpckldq xmm6, xmm3
subpd xmm6, xmm4
haddpd xmm6, xmm6
lea r10, [rcx - 1]
movq xmm7, r10
punpckldq xmm7, xmm3
subpd xmm7, xmm4
haddpd xmm7, xmm7
mulsd xmm6, xmm0
mulsd xmm7, xmm1
addsd xmm7, xmm6
divsd xmm7, xmm2
addsd xmm7, xmm5
cvttsd2si r10d, xmm7
mov dword [rdx + rcx*4], r10d
dec rax
inc rcx
cmp rcx, r9
jne 0x140192150
mov r11, qword [r8]
mov r10, qword [r8 + 8]
cmp r10, r11
je 0x1401921dd
mov dword [r10 - 4], 0x7fffffff
mov rcx, r8
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
add rsp, 0x28
jmp 0x14012b360
int3
int3

Function at 0x14012de24
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 0x14012de9c
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x14012de9c
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 0x14012de9c
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x14012de90
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x14012deae
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14012de7e
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 0x14012de9e