joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a4c50
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 0x1400a4d4e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x14018d100]
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 0x1400a4cc0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x14018d110]
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 0x1400a4ddd
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 0x1400a4db3
movdqa xmm1, xmmword [0x14018d110]
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 [0x14018d120], 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 0x1400a5650
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400a5698
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 0x1400a56a1
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400a5688
mov qword [rdi], rsi
call fcn.1400b7e50
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.1400b7e50
mov rcx, qword [rdi]
call fcn.1400aa7b0
mov qword [rdi], 0
jmp 0x1400a5676
Function at 0x1400aa0e0
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp rdx, 1
jne 0x1400aa14b
mov rbx, qword [rsi + 8]
mov edi, 2
cmp rbx, 2
jae 0x1400aa179
lea rbx, [rsi + 8]
lea rcx, [rdi*8]
call fcn.1400d83e8
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
jne 0x1400aa144
mov qword [rbx], rdi
xor eax, eax
mov rcx, qword [rsi]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x1400aa120
mov r8, qword [rsi + 0x10]
test r8, r8
jne 0x1400aa1a5
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400d8424
jmp 0x1400aa11b
mov rdi, rdx
lea rax, [rdx - 1]
test rdx, rax
je 0x1400aa162
mov rcx, rdi
call fcn.1400a6090
mov rdi, rax
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x1400aa179
mov rax, rdi
shr rax, 0x3d
je 0x1400aa0ff
call fcn.140110060
cmp rdi, rbx
jae 0x1400aa13c
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x1400aa2a7
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x1400aa2ac
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 0x1400aa221
cmp rcx, rdi
jb 0x1400aa228
mov rax, rcx
xor edx, edx
div rdi
mov rcx, rdx
jmp 0x1400aa228
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 0x1400aa13c
lea r11, [rdi - 1]
jmp 0x1400aa28e
mov qword [rdx + rax*8], r8
jmp 0x1400aa27c
and rax, r11
cmp rax, rcx
je 0x1400aa279
mov rdx, qword [rsi]
cmp qword [rdx + rax*8], 0
je 0x1400aa241
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 0x1400aa13c
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x1400aa247
cmp rax, rdi
jb 0x1400aa24a
xor edx, edx
div rdi
mov rax, rdx
jmp 0x1400aa24a
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1400f3d7c
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x14018c060]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rbx, 3
jb 0x1400aa35f
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 0x1400aa35f
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 0x1400aa36a
mov rcx, rax
call fcn.1400a6090
mov rdx, rax
cmp rdi, rdx
cmova rdx, rdi
cmp rdx, rbx
jae 0x1400aa13c
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140135890
Function at 0x1400aaa00
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 [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.1400aad30
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x1401cf0c8]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1400aaa5e
jnp 0x1400aaac4
ucomisd xmm0, xmm6
jne 0x1400aaa66
jnp 0x1400aaac0
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x14018b250]
subpd xmm1, xmmword [0x14018b260]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x140193c80]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d9910
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 0x1400aaa98
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 [0x1401cf0d8]
mov ecx, dword [0x1401c31c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400aabd9
mov eax, dword [0x1401cf0e8]
mov ecx, dword [0x1401c31c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400aac13
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 [0x1401cf0e0]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x140193c78]
ucomisd xmm2, xmm1
ja 0x1400aaa5e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x1401cf0d0]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x14018b250]
subpd xmm0, xmmword [0x14018b260]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x1401cf0c8], xmm0
jmp 0x1400aaa5e
lea rcx, [0x1401cf0d8]
call fcn.1400d8540
cmp dword [0x1401cf0d8], 0xffffffff
jne 0x1400aab0d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401cf0d0], rdx
lea rcx, [0x1401cf0d8]
call fcn.1400d85d8
jmp 0x1400aab0d
lea rcx, [0x1401cf0e8]
call fcn.1400d8540
cmp dword [0x1401cf0e8], 0xffffffff
jne 0x1400aab32
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x1401cf0e0], rax
lea rcx, [0x1401cf0e8]
call fcn.1400d85d8
jmp 0x1400aab32
Function at 0x1400ab3a0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x1401869f0]
lea r12, [rsp + 0x60]
movaps xmmword [r12 + 0x30], xmm0
movaps xmmword [r12 + 0x20], xmm0
movaps xmmword [r12 + 0x10], xmm0
movaps xmmword [r12], xmm0
lea rdx, str.Read
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x42
call fcn.1400b7e30
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.1400ae1b0
mov ebp, 0xffffffff
test r14, r14
js 0x1400ab49c
test esi, esi
js 0x1400ab49c
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.1400c12f0
test al, al
jne 0x1400ab4e2
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400ab4ca
mov ebp, dword [rsp + 0x2c]
test ebp, ebp
js 0x1400ab4dd
lea rcx, [rsp + 0x30]
call fcn.1400c1380
lea rcx, [rsp + 0x60]
call fcn.1400ae3f0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400d9910
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp eax, 0x26
setne bpl
neg ebp
jmp 0x1400ab492
int3
mov r9d, esi
lea rdx, str.File::Read
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1401408e0
jmp 0x1400ab454

Function at 0x1400ab500
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x1401869f0]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x5f
call fcn.1400b7e30
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400ae1b0
test esi, esi
js 0x1400ab609
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.1400c12f0
test al, al
jne 0x1400ab628
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400ab615
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x1400ab610
lea rcx, [rsp + 0x30]
call fcn.1400c1380
lea rcx, [rsp + 0x50]
call fcn.1400ae3f0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400d9910
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x1400ab5de
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x1400ab5d4
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1401408e0
jmp 0x1400ab5a4
Function at 0x1400ab650
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x1401869f0]
lea r12, [rsp + 0x60]
movaps xmmword [r12 + 0x30], xmm0
movaps xmmword [r12 + 0x20], xmm0
movaps xmmword [r12 + 0x10], xmm0
movaps xmmword [r12], xmm0
lea rdx, str.Write
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x7f
call fcn.1400b7e30
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.1400ae1b0
mov ebp, 0xffffffff
test r14, r14
js 0x1400ab749
test esi, esi
js 0x1400ab749
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.1400c12f0
test al, al
jne 0x1400ab777
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
lea r14, [rsp + 0x2c]
mov dword [r14], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor ebp, ebp
cmp eax, 1
sbb ebp, ebp
or ebp, dword [r14]
lea rcx, [rsp + 0x30]
call fcn.1400c1380
lea rcx, [rsp + 0x60]
call fcn.1400ae3f0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400d9910
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r9d, esi
lea rdx, str.File::Write
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1401408e0
jmp 0x1400ab700
Function at 0x1400bb580
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.1400ab260
mov qword [rsi], 0
test rax, rax
je 0x1400bb5d3
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400bb607
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400bb5cb
mov qword [rsi], rbx
call fcn.1400b7e50
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.1400b8740
lea rcx, [rsi + 0x20]
call fcn.1400c1310
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.1400b7e50
mov rcx, qword [rsi]
call fcn.1400aa7b0
mov qword [rsi], 0
jmp 0x1400bb5b9
Function at 0x1400c0b60
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r9, 0x30
ja 0x1400c0c39
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 0x1400c0c3d
xor eax, eax
lea rcx, [0x14019a2d0]
nop
movzx edx, byte [rax + rcx]
xor byte [rsp + rax + 0x20], dl
inc rax
cmp rax, 0x30
jne 0x1400c0bb0
lea rdi, [rsi + 0xf8]
mov ecx, 1
call fcn.1400c01a0
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x1400c0c55
call fcn.140003260
lea rax, [0x140001d60]
test rdi, rdi
je 0x1400c0c00
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.1400d9910
mov eax, esi
add rsp, 0x58
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x1400c0c23
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r9, rax
je 0x1400c0ba5
jmp 0x1400c0c3f
bt eax, 9
jae 0x1400c0c75
call fcn.140004350
lea rax, [0x140004820]
test rdi, rdi
je 0x1400c0c00
lea rcx, [0x140004520]
jmp 0x1400c0bfd
call fcn.14013f2d0
lea rax, [0x14013fad0]
test rdi, rdi
je 0x1400c0c00
lea rcx, [0x14013f1b0]
jmp 0x1400c0bfd

Function at 0x1400c0e70
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401cf4a0]
mov ecx, dword [0x1401c31c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c0ed0
mov rsi, qword [0x1401cf498]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400d9910
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401cf4a0]
call fcn.1400d8540
cmp dword [0x1401cf4a0], 0xffffffff
jne 0x1400c0eac
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400dba50
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.1400d83e8
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1401cf4e8]
mov ecx, dword [0x1401c31c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c0f90
lea r8, [0x1401cf4b8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14005b2e0
mov qword [0x1401cf498], rsi
lea rcx, [0x1401cf4a0]
call fcn.1400d85d8
jmp 0x1400c0eac
lea rcx, [0x1401cf4e8]
call fcn.1400d8540
cmp dword [0x1401cf4e8], 0xffffffff
jne 0x1400c0f61
xorps xmm0, xmm0
movups xmmword [0x1401cf4d8], xmm0
movups xmmword [0x1401cf4c8], xmm0
movups xmmword [0x1401cf4b8], xmm0
lea rcx, [0x1401cf4b8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401cf4e8]
call fcn.1400d85d8
jmp 0x1400c0f61
Function at 0x1400c76f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x1400c771b
xor ecx, ecx
lea r9, [0x14019abe0]
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 0x1400c7700
ret
Function at 0x1400ca8e0
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 0x1400ca97a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400ca964
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400ca941
mov qword [rsi], rdi
call fcn.1400b7e50
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 0x1400ca97e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400b7e50
mov rcx, qword [rsi]
call fcn.1400aa7b0
mov qword [rsi], 0
jmp 0x1400ca92f
mov byte [rsi + 8], 0
int3

Function at 0x1400cc670
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x14006b4c0]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401cf760]
lea rdx, [0x14006b360]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400cc704
cmp dword [0x1401cf768], 0
jne 0x1400cc700
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x1401cf76c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1400cc700
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400d9910
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x1400cc6e8
call fcn.1400edda0
int3
Function at 0x1400d8b4c
Capabilities:
Parse pe header

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

Function at 0x1400d8fe0
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 0x1400d9058
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1400d9058
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 0x1400d9058
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400d904c
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1400d906a
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400d903a
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 0x1400d905a

Function at 0x1400e7df8
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 0x1400e7e2f
call fcn.1400eb14c
mov dword [rax], 0x16
call fcn.1400edf5c
xor eax, eax
jmp 0x1400e7ebd
mov rdx, r9
mov rcx, r8
call fcn.1400e7ee0
mov rbx, rax
test rax, rax
je 0x1400e7eba
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400e7f50]
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 0x1400e7ea7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400eb18c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400e7e8e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400e7e9d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14009c890
jmp 0x1400e7eba
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400e7eb7
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 0x1400e8024
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400e816c
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400e81db
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400e81db
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400e81db
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400e81db
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400e81db
cmp dword [rcx + 0x84], 0xe
jbe 0x1400e81db
cmp dword [rcx + 0xf8], 0
je 0x1400e81db
mov ecx, ebx
call fcn.1400e80a4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400e8300
nop
cmp dword [rbp + 0x20], 0
je 0x1400e8229
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400e8138
int3