joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c6440
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 0x1400c653e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x1401eea50]
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 0x1400c64b0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x1401eea60]
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 0x1400c65cd
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 0x1400c65a3
movdqa xmm1, xmmword [0x1401eea60]
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 [0x1401eea70], 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 0x1400c7260
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400c72a8
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 0x1400c72b1
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400c7298
mov qword [rdi], rsi
call fcn.1400ec7c0
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.1400ec7c0
mov rcx, qword [rdi]
call fcn.1400df420
mov qword [rdi], 0
jmp 0x1400c7286
Function at 0x1400df5b0
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 [0x140216028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.1400df910
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x14022e808]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1400df60e
jnp 0x1400df674
ucomisd xmm0, xmm6
jne 0x1400df61a
jnp 0x1400df789
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1401f62b0]
subpd xmm1, xmmword [0x1401f62c0]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1401f62d0]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140110830
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 [0x14022e818]
mov ecx, dword [0x140226bdc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400df790
mov eax, dword [0x14022e828]
mov ecx, dword [0x140226bdc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400df7ca
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 [0x14022e820]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1401f62a8]
ucomisd xmm2, xmm1
ja 0x1400df60e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x14022e810]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x1401f62b0]
subpd xmm0, xmmword [0x1401f62c0]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x14022e808], xmm0
jmp 0x1400df60e
xor eax, eax
jmp 0x1400df64c
lea rcx, [0x14022e818]
call fcn.14010f440
cmp dword [0x14022e818], 0xffffffff
jne 0x1400df6bd
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14022e810], rdx
lea rcx, [0x14022e818]
call fcn.14010f4d8
jmp 0x1400df6bd
lea rcx, [0x14022e828]
call fcn.14010f440
cmp dword [0x14022e828], 0xffffffff
jne 0x1400df6e2
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x14022e820], rax
lea rcx, [0x14022e828]
call fcn.14010f4d8
jmp 0x1400df6e2
Function at 0x1400dfe00
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x140216028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x60]
mov qword [r12 + 0x40], r13
movaps xmm0, xmmword [0x1401ec750]
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.1400ec7a0
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.1400e2f30
mov ebp, 0xffffffff
test r14, r14
js 0x1400dff03
test esi, esi
js 0x1400dff03
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], 0
call fcn.1400f7cf0
test al, al
jne 0x1400dff46
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 0x1400dff33
mov ebp, dword [rsp + 0x2c]
test ebp, ebp
js 0x1400dff62
lea rcx, [rsp + 0x30]
call fcn.1400f7d80
lea rcx, [rsp + 0x60]
call fcn.1400e3170
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140110830
mov eax, ebp
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp eax, 0x26
setne bpl
neg ebp
jmp 0x1400dfef9
mov r9d, esi
lea rdx, str.File::Read
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140180bc0
jmp 0x1400dfebb
int3
Function at 0x1400dff70
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140216028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x50]
mov qword [r14 + 0x40], r12
movaps xmm0, xmmword [0x1401ec750]
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.1400ec7a0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400e2f30
test esi, esi
js 0x1400e0079
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0
call fcn.1400f7cf0
test al, al
jne 0x1400e0080
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 0x1400e009c
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x1400e00af
lea rcx, [rsp + 0x30]
call fcn.1400f7d80
lea rcx, [rsp + 0x50]
call fcn.1400e3170
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140110830
mov eax, esi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x1400e004c
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140180bc0
jmp 0x1400e0012
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x1400e0042
int3

Function at 0x1400e00c0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x140216028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x60]
mov qword [r12 + 0x40], r13
movaps xmm0, xmmword [0x1401ec750]
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.1400ec7a0
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.1400e2f30
mov ebp, 0xffffffff
test r14, r14
js 0x1400e01c0
test esi, esi
js 0x1400e01c0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], 0
call fcn.1400f7cf0
test al, al
jne 0x1400e01f0
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.1400f7d80
lea rcx, [rsp + 0x60]
call fcn.1400e3170
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140110830
mov eax, ebp
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r9d, esi
lea rdx, str.File::Write
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140180bc0
jmp 0x1400e0177
Function at 0x1400eb830
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
jb 0x1400eb85a
call fcn.1400ec7c0
cmp qword [rsi], r14
je 0x1400eb889
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400eb8a8
cmp r15, 2
jb 0x1400eb881
mov qword [rsi], r14
call fcn.1400ec7c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rdi + 8]
movups xmm1, xmmword [rdi + 0x18]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400ec7c0
mov rcx, qword [rsi]
call fcn.1400df420
mov qword [rsi], 0
jmp 0x1400eb873

Function at 0x1400ef680
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.1400dfcc0
mov qword [rsi], 0
test rax, rax
je 0x1400ef6d3
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400ef707
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400ef6cb
mov qword [rsi], rbx
call fcn.1400ec7c0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.1400ecf80
lea rcx, [rsi + 0x20]
call fcn.1400f7d10
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.1400ec7c0
mov rcx, qword [rsi]
call fcn.1400df420
mov qword [rsi], 0
jmp 0x1400ef6b9
Function at 0x1400efdf0
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 [0x140216028]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx eax, byte [0x14022eaf8]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x1400eff27
mov rsi, rcx
lea r14, [0x1401f7a30]
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x1401ec750]
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 0x1400eff5a
mov r13, qword [rax + r14 + 8]
mov byte [rsp + 0x47], r13b
cmp rbx, rdx
ja 0x1400efe8c
lea rax, [rsp + r13*2]
add rax, 0x30
cmp rax, rdx
ja 0x1400eff86
lea r8, [r13*2]
mov rcx, rbx
call fcn.1401122c0
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 0x1400efec0
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 0x1400effb2
cmp rdx, r9
ja 0x1400eff23
mov bpl, 1
test rdx, rdx
je 0x1400eff4f
mov r9, qword [rsi]
xor r10d, r10d
movzx r11d, word [r9 + r10*2]
cmp r11w, word [r8 + r10*2]
jne 0x1400eff23
inc r10
cmp rdx, r10
jne 0x1400efeea
mov rdi, rdx
test al, al
js 0x1400eff53
test bpl, bpl
jne 0x1400eff29
inc r12
movzx eax, byte [0x14022eaf8]
xor rax, 3
cmp r12, rax
jb 0x1400efe4e
jmp 0x1400eff27
xor ebp, ebp
jmp 0x1400eff01
xor edi, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140110830
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 0x1400eff01
call fcn.14010f324
jmp 0x1400eff05
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x136
call fcn.14014d850
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, 0x138
call fcn.14014d850
int3

Function at 0x1400f55e0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
mov dword [rcx], eax
mov qword [rcx + 8], rax
mov ecx, dword [rdx]
mov dword [rsi], ecx
mov dword [rdx], eax
mov rbx, qword [rdx + 8]
mov qword [rdx + 8], rax
lea r14, [rbx + 1]
cmp r14, 2
jb 0x1400f5611
call fcn.1400ec7c0
cmp qword [rsi + 8], rbx
je 0x1400f5643
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400f5650
cmp r14, 2
jb 0x1400f563b
mov qword [rsi + 8], rbx
call fcn.1400ec7c0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400ec7c0
mov rcx, qword [rsi + 8]
call fcn.1400df420
mov qword [rsi + 8], 0
jmp 0x1400f562c
Function at 0x1400f5670
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov eax, dword [rdx]
mov dword [rcx], eax
mov dword [rdx], 0
mov rbx, qword [rdx + 8]
mov qword [rdx + 8], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x1400f56a1
call fcn.1400ec7c0
cmp qword [rsi + 8], rbx
je 0x1400f56d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400f56e0
cmp r14, 2
jb 0x1400f56cb
mov qword [rsi + 8], rbx
call fcn.1400ec7c0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400ec7c0
mov rcx, qword [rsi + 8]
call fcn.1400df420
mov qword [rsi + 8], 0
jmp 0x1400f56bc

Function at 0x1400f5700
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 dword [rcx], 1
xor eax, eax
mov qword [rcx + 8], rax
mov r14, qword [rdx]
mov qword [rdx], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x1400f5732
call fcn.1400ec7c0
cmp qword [rsi + 8], r14
je 0x1400f5764
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400f577f
cmp r15, 2
jb 0x1400f575c
mov qword [rsi + 8], r14
call fcn.1400ec7c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1400f5797
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400ec7c0
mov rcx, qword [rsi + 8]
call fcn.1400df420
mov qword [rsi + 8], 0
jmp 0x1400f574d
call fcn.1400ec7c0
mov rcx, qword [rdi]
call fcn.1400df420
mov qword [rdi], 0
jmp 0x1400f5770
Function at 0x1400f6d00
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140216028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14022ed60]
mov ecx, dword [0x140226bdc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f6d60
mov rsi, qword [0x14022ed58]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140110830
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14022ed60]
call fcn.14010f440
cmp dword [0x14022ed60], 0xffffffff
jne 0x1400f6d3c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140112970
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.14010f2e8
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14022eda8]
mov ecx, dword [0x140226bdc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f6e20
lea r8, [0x14022ed78]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140081060
mov qword [0x14022ed58], rsi
lea rcx, [0x14022ed60]
call fcn.14010f4d8
jmp 0x1400f6d3c
lea rcx, [0x14022eda8]
call fcn.14010f440
cmp dword [0x14022eda8], 0xffffffff
jne 0x1400f6df1
xorps xmm0, xmm0
movups xmmword [0x14022ed98], xmm0
movups xmmword [0x14022ed88], xmm0
movups xmmword [0x14022ed78], xmm0
lea rcx, [0x14022ed78]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14022eda8]
call fcn.14010f4d8
jmp 0x1400f6df1
Function at 0x1400fd7d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x1400fd7fb
xor ecx, ecx
lea r9, [0x1401fdb60]
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 0x1400fd7e0
ret
Function at 0x140102000
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 0x14010209a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140102084
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140102061
mov qword [rsi], rdi
call fcn.1400ec7c0
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 0x14010209e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400ec7c0
mov rcx, qword [rsi]
call fcn.1400df420
mov qword [rsi], 0
jmp 0x14010204f
mov byte [rsi + 8], 0
int3

Function at 0x140103560
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140216028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x140095d30]
mov qword [rsp + 0x20], rax
lea rcx, [0x140234990]
lea rdx, [0x140095bb0]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1401035f4
cmp dword [0x140234998], 0
jne 0x1401035f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x14023499c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1401035f0
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140110830
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x1401035d8
call fcn.140124e30
int3
Function at 0x14010fa64
Capabilities:
Parse pe header

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

Function at 0x14010feec
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 0x14010ff64
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x14010ff64
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 0x14010ff64
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x14010ff58
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x14010ff76
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14010ff46
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 0x14010ff66

Function at 0x14011ed18
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 0x14011ed4f
call fcn.140122248
mov dword [rax], 0x16
call fcn.140124fec
xor eax, eax
jmp 0x14011eddd
mov rdx, r9
mov rcx, r8
call fcn.14011ee00
mov rbx, rax
test rax, rax
je 0x14011edda
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14011ee70]
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 0x14011edc7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140122288
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14011edae
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14011edbd
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400e02e0
jmp 0x14011edda
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14011edd7
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