joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a41e
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rbx, r9
mov r14, r8
mov rdi, rdx
mov r15, rcx
mov esi, dword [rsp + 0x180]
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0xf8], rax
movaps xmm6, xmmword [0x14015cb80]
lea rcx, [rsp + 0xe0]
movaps xmmword [rcx], xmm6
xor edx, edx
call fcn.1400a10e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, esi
je 0x14001a49a
lea rdx, [rsp + 0xe0]
mov ecx, esi
call fcn.140019204
test eax, eax
jns 0x14001a4bf
mov esi, eax
jmp 0x14001a643
lea rsi, [rsp + 0x50]
mov rcx, rsi
call fcn.14009de30
lea rcx, [rsp + 0xe0]
mov rdx, rsi
call fcn.14002fe80
mov rcx, rsi
call fcn.14002fe50
mov rsi, qword [rsp + 0x170]
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0xc0]
mov qword [r12 + 0x10], r13
movaps xmmword [r12], xmm6
mov rcx, r12
call fcn.1401052d0
mov qword [rsp + 0x20], r12
mov rcx, r15
mov rdx, r14
mov r8, rbx
mov r9, rsi
call fcn.1400195f1
test eax, eax
js 0x14001a684
mov rsi, qword [rsp + 0x178]
lea rbx, [rsp + 0xa0]
mov qword [rbx + 0x10], r13
movaps xmmword [rbx], xmm6
lea rcx, [rsp + 0xc0]
call fcn.1400e0bb0
mov rcx, rax
mov rdx, rbx
mov r8, rsi
call fcn.140065c00
lea rsi, [rsp + 0x50]
movaps xmmword [rsi + 0x40], xmm6
movaps xmmword [rsi + 0x30], xmm6
movaps xmmword [rsi + 0x20], xmm6
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
mov rcx, rsi
mov rdx, rbx
call fcn.140066190
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
call fcn.140105e90
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea rdx, [rsp + 0xe0]
mov rcx, rsi
call fcn.1400199cd
mov esi, eax
test eax, eax
js 0x14001a67d
mov rbx, qword [rsp + 0x188]
lea rcx, [rsp + 0xc0]
lea rdi, [rsp + 0x30]
mov rdx, rdi
call fcn.1401052e0
mov rcx, rdi
call fcn.140019db1
mov rcx, rdi
call fcn.140034620
mov r14, qword [rsp + 0x48]
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14001a5d3
call fcn.1400341c0
cmp qword [rbx], r14
je 0x14001a606
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rbx]
inc rax
cmp rax, 2
jae 0x14001a688
cmp r15, 2
jb 0x14001a5fe
mov qword [rbx], r14
call fcn.1400341c0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14001a61f
call fcn.1400341c0
mov rcx, rdi
call fcn.14002fd10
lea rcx, [rsp + 0x50]
call fcn.1400663d0
lea rcx, [rsp + 0xa0]
call fcn.140034620
lea rcx, [rsp + 0xc0]
call fcn.1401053c0
lea rcx, [rsp + 0xe0]
call fcn.14002fe50
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400a3c70
mov eax, esi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsp + 0x48]
jmp 0x14001a608
mov esi, eax
jmp 0x14001a636
call fcn.1400341c0
mov rcx, qword [rbx]
call fcn.14002fd10
mov qword [rbx], 0
jmp 0x14001a5f0
Function at 0x14001f080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx eax, byte [0x14019ac18]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x14001f0da
mov rsi, rcx
lea r14, [0x140164a10]
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x14015cb80]
lea rbx, [rsp + 0x20]
xor r12d, r12d
jmp 0x14001f127
xor edi, edi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a3c70
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor edi, edi
jmp 0x14001f106
xor ebp, ebp
test al, al
jns 0x14001f10f
call fcn.1400a27ec
test bpl, bpl
jne 0x14001f0dc
inc r12
movzx eax, byte [0x14019ac18]
xor rax, 3
cmp r12, rax
jae 0x14001f0da
mov rdx, r12
shl rdx, 4
add rdx, r14
mov qword [rsp + 0x30], r15
movaps xmmword [rsp + 0x20], xmm6
mov rcx, rbx
call fcn.14002fff0
movzx eax, byte [rsp + 0x37]
mov edx, eax
and edx, 0x7f
test al, al
mov rcx, qword [rsp + 0x20]
mov r8, rbx
cmovs rdx, qword [rsp + 0x28]
cmovs r8, rcx
mov r9, qword [rsi + 8]
cmp r9, rdx
mov r10, rdx
cmovb r10, r9
test r10, r10
js 0x14001f1ab
cmp rdx, r9
ja 0x14001f104
mov bpl, 1
test rdx, rdx
je 0x14001f100
mov r9, qword [rsi]
xor r10d, r10d
movzx r11d, word [r9 + r10*2]
cmp r11w, word [r8 + r10*2]
jne 0x14001f104
inc r10
cmp rdx, r10
jne 0x14001f18b
mov rdi, rdx
jmp 0x14001f106
int3
Function at 0x14002fda0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
jne 0x14002fdb4
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
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 0x14002fdf0
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14002fde0
mov qword [rdi], rsi
call fcn.1400341c0
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.1400341c0
mov rcx, qword [rdi]
call fcn.14002fd10
mov qword [rdi], 0
jmp 0x14002fdce

Function at 0x14002fe80
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jae 0x14002fef9
cmp qword [rsi], r14
je 0x14002fed4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14002ff00
cmp r15, 2
jb 0x14002fecc
mov qword [rsi], r14
call fcn.1400341c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14002ff16
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400341c0
jmp 0x14002fea5
call fcn.1400341c0
mov rcx, qword [rsi]
call fcn.14002fd10
mov qword [rsi], 0
jmp 0x14002febe
call fcn.1400341c0
mov rcx, qword [rdi]
call fcn.14002fd10
mov qword [rdi], 0
jmp 0x14002feea
Function at 0x140034e40
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.140030150
mov qword [rsi], 0
test rax, rax
je 0x140034e93
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140034ec7
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140034e8b
mov qword [rsi], rbx
call fcn.1400341c0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.140034350
lea rcx, [rsi + 0x20]
call fcn.14003e3f0
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 rbp
pop rdi
pop rsi
ret
call fcn.1400341c0
mov rcx, qword [rsi]
call fcn.14002fd10
mov qword [rsi], 0
jmp 0x140034e79
Function at 0x14003a740
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 [0x140188028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.14003df10
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x14019acf0]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x14003a79e
jnp 0x14003a804
ucomisd xmm0, xmm6
jne 0x14003a7a6
jnp 0x14003a800
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1401680b0]
subpd xmm1, xmmword [0x1401680c0]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1401680d0]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a3c70
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 0x14003a7d8
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 [0x14019ad00]
mov ecx, dword [0x140197db4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003a921
mov eax, dword [0x14019ad10]
mov ecx, dword [0x140197db4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003a95b
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 [0x14019ad08]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1401680a8]
ucomisd xmm2, xmm1
ja 0x14003a79e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x14019acf8]
movq xmm2, rbx
punpckldq xmm2, xmmword [0x1401680b0]
subpd xmm2, xmmword [0x1401680c0]
movapd xmm0, xmm2
unpckhpd xmm0, xmm2
addsd xmm0, xmm2
divsd xmm0, xmm1
movsd qword [0x14019acf0], xmm0
jmp 0x14003a79e
lea rcx, [0x14019ad00]
call fcn.1400a2910
cmp dword [0x14019ad00], 0xffffffff
jne 0x14003a84d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14019acf8], rdx
lea rcx, [0x14019ad00]
call fcn.1400a29a8
jmp 0x14003a84d
lea rcx, [0x14019ad10]
call fcn.1400a2910
cmp dword [0x14019ad10], 0xffffffff
jne 0x14003a872
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x14019ad08], rax
lea rcx, [0x14019ad10]
call fcn.1400a29a8
jmp 0x14003a872
Function at 0x14003d3a0
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp rdx, 1
jne 0x14003d40b
mov rbx, qword [rsi + 8]
mov edi, 2
cmp rbx, 2
jae 0x14003d439
lea rbx, [rsi + 8]
lea rcx, [rdi*8]
call fcn.1400a27b0
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
jne 0x14003d404
mov qword [rbx], rdi
xor eax, eax
mov rcx, qword [rsi]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x14003d3e0
mov r8, qword [rsi + 0x10]
test r8, r8
jne 0x14003d443
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400a27ec
jmp 0x14003d3db
mov rdi, rdx
lea rax, [rdx - 1]
test rdx, rax
je 0x14003d422
mov rcx, rdi
call fcn.140029686
mov rdi, rax
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x14003d439
mov rax, rdi
shr rax, 0x3d
je 0x14003d3bf
jmp 0x14003d54c
cmp rdi, rbx
jae 0x14003d3fc
jmp 0x14003d551
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 0x14003d540
cmp rcx, rdi
jb 0x14003d4c1
mov rax, rcx
xor edx, edx
div rdi
mov rcx, rdx
mov rax, qword [rsi]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
test r10, r10
je 0x14003d3fc
lea r11, [rdi - 1]
jmp 0x14003d4f0
mov qword [rdx + rax*8], r8
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x14003d3fc
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x14003d53b
cmp rax, rdi
jb 0x14003d507
xor edx, edx
div rdi
mov rax, rdx
cmp rax, rcx
je 0x14003d536
mov rdx, qword [rsi]
cmp qword [rdx + rax*8], 0
je 0x14003d4da
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
jmp 0x14003d4de
and rax, r11
jmp 0x14003d507
lea rax, [rdi - 1]
and rcx, rax
jmp 0x14003d4c1
call fcn.1400e186d
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x14003d571
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14003d576
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1400d8590
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x140164618]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rbx, 3
jb 0x14003d629
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 0x14003d629
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 0x14003d634
mov rcx, rax
call fcn.140029686
mov rdx, rax
cmp rdi, rdx
cmova rdx, rdi
cmp rdx, rbx
jae 0x14003d3fc
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140105990
Function at 0x14003d770
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14019b0f8]
mov ecx, dword [0x140197db4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003d7ab
movzx eax, word [0x14019b0c8]
cmp eax, 9
jne 0x14003d7f3
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x14019b0f8]
call fcn.1400a2910
cmp dword [0x14019b0f8], 0xffffffff
jne 0x14003d795
xorps xmm0, xmm0
movups xmmword [0x14019b0e8], xmm0
movups xmmword [0x14019b0d8], xmm0
movups xmmword [0x14019b0c8], xmm0
lea rcx, [0x14019b0c8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14019b0f8]
call fcn.1400a29a8
jmp 0x14003d795
cmp eax, 5
jle 0x14003d804
cmp eax, 6
jne 0x14003d81b
mov eax, 2
jmp 0x14003d7a6
test eax, eax
je 0x14003d7a6
cmp eax, 5
je 0x14003d814
mov eax, 5
jmp 0x14003d7a6
mov eax, 3
jmp 0x14003d7a6
cmp eax, 0xc
jne 0x14003d80d
mov eax, 4
jmp 0x14003d7a6
Function at 0x140049500
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [0x14019fb70]
test al, 1
je 0x140049533
call fcn.140049600
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.14007ba80
test rsi, rsi
je 0x140049562
mov r14d, 0xffffffff
nop
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14004956c
add rdi, rbx
sub rsi, rbx
jne 0x140049540
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3

Function at 0x140049990
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx], rdx
je 0x1400499c2
mov ecx, dword [rdi + 0x2c]
call fcn.14004afa0
test rax, rax
je 0x140049a21
mov rbx, rax
mov rcx, qword [rsi + 8]
call fcn.14004b000
mov qword [rsi + 8], rbx
mov qword [rsi], rdi
mov rax, qword [rdi + 0x10]
lea rcx, [0x140125c80]
cmp rax, rcx
jne 0x140049a16
mov rax, qword [rsi + 8]
xorps xmm0, xmm0
movups xmmword [rax + 0x5c], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x14016e2d0]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x14016e2e0]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov eax, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
call qword [0x1401b0008]
jmp 0x140049a09
xor eax, eax
jmp 0x140049a0e
Function at 0x14004b110
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14004b139
xor eax, eax
xor r9d, r9d
nop word [rax + rax]
movzx r10d, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x14004b120
movzx eax, r9b
ret
xor eax, eax
ret
Function at 0x140050560
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x14008cfc0]
lea r8, [rsp + 0x20]
mov qword [r8], rax
lea rcx, [0x1401a1a60]
lea rdx, [0x14008cf50]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400505f2
cmp dword [0x1401a1a68], 0
jne 0x1400505ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x1401a1a6c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1400505ee
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a3c70
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x1400505d6
call fcn.1400bc130
int3

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

Disassembly:
mov eax, ecx
test r8, r8
je 0x140051bc6
xor ecx, ecx
lea r9, [0x140174330]
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 0x140051bab
ret
Function at 0x14005b300
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 0x14005b3fe
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140161e00]
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 0x14005b370
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x140161e10]
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 0x14005b48d
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 0x14005b463
movdqa xmm1, xmmword [0x140161e10]
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 [0x140161e20], 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 0x140061890
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15, r9
mov r14, r8
mov rsi, rdx
mov r12, rcx
mov rdi, qword [rsp + 0xd0]
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x5f]
mov byte [rbx], 0xaa
mov r13, qword [rcx + 8]
lea rdx, str.ReadValue
lea r8, str....._basewin_registry.cc
lea rbp, [rsp + 0x38]
mov rcx, rbp
mov r9d, 0x320
call fcn.1400341a0
mov rcx, rbx
mov rdx, rbp
mov r8, r13
mov r9d, 1
call fcn.14003a4d0
mov rcx, qword [r12 + 8]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov rcx, rbx
call fcn.1400215b0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400a3c70
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140061950
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1038
call fcn.1400a3c10
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x1030], rax
lea r14, [rsp + 0x830]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1400a5dc0
lea rax, [rsp + 0x2c]
mov dword [rax], 1
lea r9, [rsp + 0x28]
mov dword [r9], 0x800
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov rdx, rdi
mov r8, r14
call fcn.140061890
mov edi, eax
test eax, eax
jne 0x1400619f0
mov eax, dword [rsp + 0x2c]
cmp eax, 1
jne 0x140061a0f
lea rcx, [rsp + 0x830]
call fcn.1400c5964
lea rdx, [rsp + 0x830]
mov rcx, rsi
mov r8, rax
call fcn.1400607ee
xor edi, edi
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400a3c70
mov eax, edi
add rsp, 0x1038
pop rbx
pop rdi
pop rsi
pop r14
ret
cmp eax, 2
jne 0x140061a68
lea rdi, [rsp + 0x30]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a5dc0
lea rcx, [rsp + 0x830]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x28], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x140061a61
lea rcx, [rsp + 0x30]
call fcn.1400c5964
lea rdx, [rsp + 0x30]
jmp 0x1400619e3
mov edi, 0xea
jmp 0x1400619f0
mov edi, 0x3f4
jmp 0x1400619f0