joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001000
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
movdqa xmm2, xmmword [0x180007d60]
xor eax, eax
cmp dword [0x18000a0a8], 5
mov r8, rcx
jl 0x180001148
movdqa xmm0, xmmword [0x180007d50]
lea rdx, [rcx + 8]
movdqa xmm3, xmmword [0x180007d20]
movdqa xmm4, xmmword [0x180007d30]
movdqa xmm5, xmmword [0x180007d40]
movdqa xmmword [rsp], xmm0
mov r9d, dword [rsp]
nop dword [rax + rax]
lea rcx, [rax + 2]
movq xmm0, rax
punpcklqdq xmm0, xmm0
lea rdx, [rdx + 0x10]
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm5
movd xmm0, r9d
andps xmm1, xmm0
movd xmm0, dword [rdx - 0x18]
xorps xmm1, xmm0
movq xmm0, rcx
punpcklqdq xmm0, xmm0
lea rcx, [rax + 4]
movd dword [rdx - 0x18], xmm1
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm5
movd xmm0, r9d
andps xmm1, xmm0
movd xmm0, dword [rdx - 0x14]
xorps xmm1, xmm0
movq xmm0, rcx
movd dword [rdx - 0x14], xmm1
lea rcx, [rax + 6]
punpcklqdq xmm0, xmm0
add rax, 8
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm5
movd xmm0, r9d
andps xmm1, xmm0
movd xmm0, dword [rdx - 0x10]
xorps xmm1, xmm0
movq xmm0, rcx
movd dword [rdx - 0x10], xmm1
lea rcx, [rax + 4]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, r9d
pshufb xmm1, xmm5
andps xmm1, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm1, xmm0
movd dword [rdx - 0xc], xmm1
cmp rcx, 0x1c
jb 0x180001050
cmp rax, 0x1c
jae 0x180001181
movabs r9, 0xbb2103bf0b4d771d
mov r10d, 0xff
nop dword [rax + rax]
movzx ecx, al
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
and dx, r10w
xor word [r8 + rax*2], dx
inc rax
cmp rax, 0x1c
jb 0x180001160
add rsp, 0x18
ret
Function at 0x180001994
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x240
xor r12d, r12d
mov r15d, r8d
xor eax, eax
mov rbx, rdx
mov rsi, rcx
lock cmpxchg qword [rcx], r12
je 0x1800019fb
or rdi, 0xffffffffffffffff
cmp rax, rdi
jne 0x1800019da
xor eax, eax
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
or rdi, 0xffffffffffffffff
mov qword [rbp + 0x188], r12
test r15b, 1
je 0x180001a1a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
jmp 0x180001b5f
bt qword [0x1800072e0], 0
lea rdx, str.LoadLibraryExW
lea rcx, [0x18000a058]
call fcn.1800018c8
mov r14, rax
test rax, rax
je 0x1800019d8
mov r13d, 2
test r13b, r15b
je 0x180001a51
mov r8d, r13d
jmp 0x180001b57
test r15b, 4
je 0x180001a5f
xor r8d, r8d
jmp 0x180001b57
bt qword [0x1800072c8], 0
lea rdx, str.AddDllDirectory
lea rcx, [0x18000a040]
call fcn.1800018c8
test rax, rax
jne 0x180001b51
bt qword [0x1800072c0], 0
lea rdx, str.LdrLoadDll
lea rcx, [0x18000a038]
call fcn.1800018c8
mov r15, rax
test rax, rax
je 0x1800019d8
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x102
ja 0x180001a57
mov rdx, rdi
mov rax, rbx
mov rcx, r12
test rbx, rbx
je 0x180001af7
cmp word [rax], r12w
je 0x180001af7
inc rcx
add rax, r13
sub rdx, 1
jne 0x180001ae5
add rcx, rcx
mov qword [rsp + 0x28], rbx
movzx eax, cx
lea r9, [rbp + 0x188]
mov edx, 0xffff
lea r8, [rsp + 0x20]
cmp rcx, rdx
cmova ax, dx
mov word [rsp + 0x20], ax
lea rax, [rcx + 2]
add cx, r13w
cmp rax, rdx
cmova cx, dx
xor edx, edx
mov word [rsp + 0x22], cx
lea rcx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
call r15
mov rax, qword [rbp + 0x188]
jmp 0x180001b66
mov r8d, 0x800
xor edx, edx
mov rcx, rbx
call r14
mov qword [rbp + 0x188], rax
test rax, rax
jne 0x180001b73
xchg qword [rsi], rdi
jmp 0x1800019d8
xchg qword [rsi], rax
test rax, rax
je 0x180001b88
mov rcx, qword [rbp + 0x188]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [rbp + 0x188]
jmp 0x1800019da
Function at 0x140014b38
Capabilities:
Parse pe header

Disassembly:
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 0x140014ba7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140014ba7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140014ba7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140014ba7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140014ba7
cmp dword [rcx + 0x84], 0xe
jbe 0x140014ba7
cmp dword [rcx + 0xf8], 0
je 0x140014ba7
mov ecx, ebx
call fcn.140014c58
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.140014a3c
nop
cmp dword [rbp + 0x20], 0
je 0x140014bf5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140014c00
int3
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x140014b38
Function at 0x140018308
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400d6910]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x1400d7268]
xor r11d, r11d
lea rdi, [0x1400bc14d]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x140018378
mov rax, 0xfffffffffffffffe
jmp 0x1400184c5
cmp word [r10 + 6], r11w
jne 0x1400183e7
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400183a2
test r14, r14
je 0x140018393
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1400184c5
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400183b0
mov r8b, 2
jmp 0x1400183ce
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400183be
mov r8b, 3
jmp 0x1400183ce
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400184ba
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x140018410
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400184ba
cmp bl, bpl
jb 0x1400184ba
cmp bl, r8b
jae 0x1400184ba
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x14001843d
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400184ba
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x14001841f
cmp r9, rbp
jae 0x140018469
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x14001836c
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400184ba
cmp edx, 0x110000
jae 0x1400184ba
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1400184ba
test r14, r14
je 0x1400184a8
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.1400184e4
jmp 0x1400184c5
mov rdx, rsi
mov rcx, r10
call fcn.1400184ec
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14001bf00
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140018500
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400d69c0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140018557
cmp word [rdx], r13w
jne 0x140018557
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001855c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001868d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400186ae
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140018595
mov rdx, r9
mov word [rbx], cx
jmp 0x1400185bc
cmp r9, r8
jae 0x1400185cc
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140018576
jmp 0x14001868d
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], si
mov r8d, r12d
mov dword [rsp + 0x80], esi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rsi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140018682
cmp dword [rsp + 0x80], esi
je 0x140018682
lea r8, [0x1400d69c0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001865a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001862a
mov word [rbx], r13w
jmp 0x14001868a
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140018637
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001868a
cmp word [rsp + 0x70], r13w
jne 0x140018667
cmp rbx, r14
je 0x140018624
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001a72c
cmp word [rsp + 0x70], r13w
je 0x14001868d
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400d69c0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140018687
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001868d
Function at 0x140021f35
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], 0
jmp 0x14001f618
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword gs:[0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
sub rax, 0x10
jmp 0x14001c293
Function at 0x140045e0c
Capabilities:
Timestomp file

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x1400d6910]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x38]
movups xmmword [rsp + 0x38], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rsi, str._bR_r_
test eax, eax
je 0x140045eb2
mov rcx, qword [rbx + 0x18]
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x140045ee9
mov rax, qword [str._bR_r_]
cmp rax, rsi
je 0x140045ee9
test byte [rax + 0x1c], 1
je 0x140045ee9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str._bR_r_]
lea r8, [0x1400c0968]
mov r9, qword [rbx + 8]
mov edx, 0x10
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.1400271f4
jmp 0x140045ee9
mov rax, qword [str._bR_r_]
cmp rax, rsi
je 0x140045ee9
test byte [rax + 0x1c], 1
je 0x140045ee9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str._bR_r_]
lea r8, [0x1400c0968]
mov edx, 0x11
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140028a8c
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x140045f33
mov rax, qword [str._bR_r_]
cmp rax, rsi
je 0x140045f33
test byte [rax + 0x1c], 1
je 0x140045f33
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str._bR_r_]
lea r8, [0x1400c0968]
mov r9, qword [rbx + 8]
mov edx, 0x12
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.1400271f4
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001bf00
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
Function at 0x140050550
Capabilities:
Compute adler32 checksum

Disassembly:
movzx r9d, cx
mov r10, rdx
shr ecx, 0x10
test rdx, rdx
jne 0x140050697
lea eax, [rdx + 1]
ret
cmp r8d, 0x15b0
jae 0x140050581
mov edx, r8d
sub r8d, r8d
cmp edx, 0x10
jl 0x14005065b
jmp 0x14005058d
mov edx, 0x15b0
add r8d, 0xffffea50
mov r11d, edx
shr r11, 4
mov eax, r11d
neg eax
shl eax, 4
add edx, eax
movzx eax, byte [r10]
add r9d, eax
movzx eax, byte [r10 + 1]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 2]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 3]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 4]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 5]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 6]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 7]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 8]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 9]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 0xa]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 0xb]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 0xc]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 0xd]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 0xe]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 0xf]
add ecx, r9d
add r10, 0x10
add r9d, eax
add ecx, r9d
sub r11, 1
jne 0x14005059e
test edx, edx
je 0x140050671
movzx eax, byte [r10]
inc r10
add r9d, eax
add ecx, r9d
sub edx, 1
jne 0x14005065f
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
test r8d, r8d
jne 0x140050567
shl ecx, 0x10
or ecx, r9d
mov eax, ecx
ret
Function at 0x1400a4eac
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400a4ec7
xor eax, eax
jmp 0x1400a4f10
call fcn.1400a86fc
mov ebx, eax
lea ecx, [rax + 0x7ff8fffe]
cmp ecx, 1
jbe 0x1400a4f0e
mov rcx, qword [str._bR_r_]
lea rax, str._bR_r_
cmp rcx, rax
je 0x1400a4f0e
test byte [rcx + 0x1c], 1
je 0x1400a4f0e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400c7cf0]
mov edx, 0x28
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.1400271f4
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a4fc8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdi, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400a5031
call fcn.1400a86fc
mov ebx, eax
lea ecx, [rax + 0x7ff8fffe]
cmp ecx, 1
jbe 0x1400a502d
mov rcx, qword [str._bR_r_]
lea rax, str._bR_r_
cmp rcx, rax
je 0x1400a502d
test byte [rcx + 0x1c], 1
je 0x1400a502d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400c7cf0]
mov edx, 0x22
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.1400271f4
mov eax, ebx
jmp 0x1400a5035
mov dword [rbx], eax
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a5040
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edx, 0x80
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400a509d
call fcn.1400a86fc
mov ebx, eax
mov rcx, qword [str._bR_r_]
lea rax, str._bR_r_
cmp rcx, rax
je 0x1400a5099
test byte [rcx + 0x1c], 1
je 0x1400a5099
mov rcx, qword [rcx + 0x10]
mov edx, 0x29
mov dword [rsp + 0x28], ebx
mov r9, rdi
mov dword [rsp + 0x20], 0x80
call fcn.1400a60f4
mov eax, ebx
jmp 0x1400a509f
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a584c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
and qword [rsp + 0x40], 0
mov rax, rdx
mov rbx, rcx
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1400a58ac
call fcn.1400a86fc
mov ebx, eax
mov rcx, qword [str._bR_r_]
lea rax, str._bR_r_
cmp rcx, rax
je 0x1400a58a8
test byte [rcx + 0x1c], 1
je 0x1400a58a8
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400c7cf0]
mov edx, 0x19
mov r9d, ebx
call fcn.140028a8c
mov eax, ebx
jmp 0x1400a58b6
mov rax, qword [rsp + 0x40]
mov qword [rbx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400a5e44
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edi, dword [rdx]
mov r10, r8
mov rbx, rdx
cmp rdi, qword [rdx]
je 0x1400a5e65
mov eax, 0x80070057
jmp 0x1400a5ee8
and qword [rdx], 0
lea r9, [rsp + 0x48]
and dword [rsp + 0x48], 0
mov rdx, r10
and qword [rsp + 0x20], 0
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400a5ed2
call fcn.1400a86fc
mov edi, eax
cmp eax, 0x80070026
jne 0x1400a5e9d
and qword [rbx], 0
jmp 0x1400a5ee6
mov rcx, qword [str._bR_r_]
lea rax, str._bR_r_
cmp rcx, rax
je 0x1400a5ece
test byte [rcx + 0x1c], 1
je 0x1400a5ece
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400c7cf0]
mov edx, 0x1a
mov r9d, edi
call fcn.140028a8c
mov eax, edi
jmp 0x1400a5ee8
cmp dword [rsp + 0x48], edi
jbe 0x1400a5edf
mov eax, 0x8000ffff
jmp 0x1400a5ee8
mov eax, dword [rsp + 0x48]
mov qword [rbx], rax
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a6034
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov eax, edx
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp rax, rdx
je 0x1400a605d
mov eax, 0x80070057
jmp 0x1400a60e3
mov r8d, edx
jmp 0x1400a607d
mov eax, dword [rsp + 0x48]
cmp eax, ebx
je 0x1400a60e1
test eax, eax
je 0x1400a60da
cmp eax, ebx
ja 0x1400a60da
sub ebx, eax
mov rcx, rsi
add rdi, rax
mov r8d, ebx
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
and dword [rsp + 0x48], 0
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400a6062
call fcn.1400a86fc
mov ebx, eax
test eax, eax
jns 0x1400a60e1
mov rcx, qword [str._bR_r_]
lea rax, str._bR_r_
cmp rcx, rax
je 0x1400a60d6
test byte [rcx + 0x1c], 1
je 0x1400a60d6
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400c7cf0]
mov edx, 0x17
mov r9d, ebx
call fcn.140028a8c
mov eax, ebx
jmp 0x1400a60e3
mov ebx, 0x8000ffff
jmp 0x1400a60a5
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400adde4
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov r8d, dword [rcx]
lea rsi, [rcx + 0x20]
and qword [rsp + 0x40], 0
lea rbx, [rcx + 0x60]
mov r14, rdx
mov rdi, rcx
mov ebp, 0x40
mov byte [r8 + rcx + 0x20], 0x80
inc r8d
cmp r8d, 0x38
jbe 0x1400ade5b
mov ecx, r8d
mov edx, ebp
add rcx, 0x20
sub edx, r8d
add rcx, rdi
call fcn.1400223f0
test byte [0x1400d6934], 0x42
lea r9, [rsp + 0x40]
mov r8d, ebp
mov rdx, rsi
mov rcx, rbx
jne 0x1400ade53
call fcn.1400ac56c
jmp 0x1400ade58
call fcn.1400ac928
xor r8d, r8d
mov ecx, r8d
mov edx, ebp
add rcx, 0x20
sub edx, r8d
add rcx, rdi
call fcn.1400223f0
mov rax, qword [rdi + 0x10]
lea r9, [rsp + 0x40]
shl rax, 3
mov r8, rbp
test byte [0x1400d6934], 0x42
mov rdx, rsi
bswap rax
mov qword [rdi + 0x58], rax
mov rcx, rbx
jne 0x1400ade9c
call fcn.1400ac56c
jmp 0x1400adea1
call fcn.1400ac928
mov rcx, rbx
mov r8d, 4
mov rax, qword [rcx]
lea rcx, [rcx + 8]
rol rax, 0x20
bswap rax
mov qword [r14], rax
lea r14, [r14 + 8]
sub r8, 1
jne 0x1400adeaa
mov edx, 0x80
mov rcx, rdi
call fcn.1400223f0
movups xmm0, xmmword [0x1400c8108]
mov rbp, qword [rsp + 0x50]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [0x1400c8118]
movups xmmword [rbx + 0x10], xmm1
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1401316c4
Capabilities:
Contain obfuscated stackstrings
Execute syscall
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov es, word [rdi]
add byte [rax], al
rcr esi, 0x9d
lea ebx, [rdi + 0x49fffff4]
dec eax
jge 0x140130543
jnp 0x14013146f
mov esp, dword [rsi - 3]
loope 0x1401316b5
jmp rcx
test dword [rbx], eax
add byte [rax], al
Function at 0x1400026c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1400f1040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov qword [rsp + 0x20], rdx
xor ebx, ebx
lea rdx, [rcx + 0xa68]
call fcn.1400034f0
mov rdi, rax
lea rdx, [rax + 0x10]
call fcn.1400037c0
movsxd rbp, eax
mov r15, rbp
test eax, eax
jne 0x1400027ef
mov eax, dword [str.q_A6i5]
mov dword [rsp + 0x20], eax
cmp dword [0x1400f1098], 2
jl 0x1400027a9
movdqa xmm3, xmmword [0x1400e0db0]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400e1220]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400e1220]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400e0e00]
psubd xmm3, xmm0
andps xmm3, xmmword [0x1400e0e20]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x1400e0e90]
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rsp + 0x20], xmm3
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400033d0
jmp 0x1400028f0
lea r8, [rsp + 0x20]
nop
mov eax, 0x4d4873ed
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx edx, bl
sub dl, cl
add dl, 0x33
xor byte [r8], dl
inc ebx
lea r8, [r8 + 1]
cmp ebx, 4
jl 0x1400027b0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400033d0
jmp 0x1400028f0
lea rdx, [rdi + 8]
call fcn.1400034f0
mov rdi, rax
mov eax, 2
mul r15
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call fcn.1400ba4f8
mov r14, rax
lea r9, [rbp*2]
mov r8, rax
mov rdx, rdi
lea rcx, [0x1401052e8]
call fcn.14000bb90
mov rdx, r14
lea ecx, [rbp - 1]
mov r8d, ebx
movzx ecx, cl
test ebp, ebp
cmovne r8d, ecx
and r8d, 3
lea eax, [rbp - 1]
cmp ebx, eax
jge 0x140002867
add r8d, 3
inc ebx
movzx eax, r8w
and ax, 7
add word [rdx], ax
add rdx, 2
jmp 0x140002849
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140001dd0
nop
mov rcx, r14
call fcn.1400ba4c4
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x38]
cmova rdx, qword [rsp + 0x38]
mov rcx, rsi
call fcn.1400035c0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1400028f0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ba4c4
mov rax, rsi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ba220
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ba60
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1400f1040]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
mov dword [rsp + 0x20], 0x238
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000bb63
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp qword [rbx + 0x18], 7
mov r8, rbx
jbe 0x14000babf
mov r8, qword [rbx]
lea rax, [rsp + 0x4c]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000bae4
add rax, 2
test ecx, ecx
jne 0x14000bad0
mov rcx, rdi
test edx, edx
jne 0x14000bafd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov dword [0x1401052e8], eax
jmp 0x14000bb65
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14000bb5a
nop dword [rax]
cmp qword [rbx + 0x18], 7
mov r8, rbx
jbe 0x14000bb1d
mov r8, qword [rbx]
lea rax, [rsp + 0x4c]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000bb44
add rax, 2
test ecx, ecx
jne 0x14000bb30
mov rcx, rdi
test edx, edx
je 0x14000baeb
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000bb10
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400ba220
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret