joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ee20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005f09ca], 0
je 0x46ee2e
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

Function at 0x46ee40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005f09ca], 0
je 0x46ee55
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback

Function at 0x46ee60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005f09ca], 0
je 0x46ee95
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005f1000]
aesenc xmm0, xmmword [0x005f1010]
aesenc xmm0, xmmword [0x005f1020]
movq rax, xmm0
ret
jmp sym.runtime.memhash32Fallback

Function at 0x46eea0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005f09ca], 0
je 0x46eed6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005f1000]
aesenc xmm0, xmmword [0x005f1010]
aesenc xmm0, xmmword [0x005f1020]
movq rax, xmm0
ret
jmp sym.runtime.memhash64Fallback

Function at 0x470560
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
xorps xmm15, xmm15
xor r14, r14
mov rax, qword [0x005f0bf0]
mov rax, qword gs:[rax]
cmp rax, 0
je 0x4705fb
mov r14, qword [rax]
sub rsp, 0x10
mov rax, rcx
mov rbx, rdx
call sym.runtime.sigtrampgo
add rsp, 0x10
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
pop rbp
ret
Function at 0x470820
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x28
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
mov rax, qword [0x005f0bf0]
mov rax, qword gs:[rax]
cmp rax, 0
jne 0x4708b7
int 3
mov r14, qword [rax]
sub rsp, 0x28
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], r9
call sym.runtime.sehhandler.abi0
mov eax, dword [rsp + 0x20]
add rsp, 0x28
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
add rsp, 0x28
pop rbp
ret

Function at 0x470c80
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x470cb4
mov rcx, 0x28
jmp 0x470cbf
shl rcx, 3
add rcx, 0x1480
mov qword [0x005f0bf0], rcx
pop rbp
ret
Function at 0x4893e0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x489b1f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x48940d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x489691
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4896bd
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x00510200]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004c6880]
lea rbx, [0x0050ec50]
call sym.runtime.gopanic
inc rax
cmp rax, r8
jge 0x4896e2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x489717
lea rdi, [0x004c6900]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x489403
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4896fb
jmp 0x4896d0
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.internal_bisect.Hash

Function at 0x489cc0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x489cd7
inc rax
cmp rax, 4
jge 0x489cef
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x489cd4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x489d00
inc rax
cmp rax, 4
jge 0x489d0e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x489d37
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x489d1b
jmp 0x489cfd
Function at 0x48f720
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48f7ea
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x005f0bf0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x48f7cf
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004c6980]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x48f7be
mov edi, 1
lea rsi, [0x004c6980]
call sym.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x0050edb8]
lea rsi, [0x0050e4d0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString

Function at 0x49fae0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x49fb8c
push rbp
mov rbp, rsp
sub rsp, 0x40
mov byte [rsp + 0x60], cl
mov byte [rsp + 0x61], dil
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], cl
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x005f0bf0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x49fb53
lea rax, [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call sym.runtime.stringtoslicebyte
movzx edx, byte [rsp + 0x61]
movzx esi, byte [rsp + 0x60]
xor ecx, ecx
jmp 0x49fb66
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
inc rcx
cmp rbx, rcx
jle 0x49fb79
movzx edi, byte [rax + rcx]
cmp dil, sil
jne 0x49fb63
mov byte [rax + rcx], dl
jmp 0x49fb63
mov rcx, rbx
mov rbx, rax
xor eax, eax
call sym.runtime.slicebytetostring
add rsp, 0x40
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], cl
mov byte [rsp + 0x19], dil
nop
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
movzx edi, byte [rsp + 0x19]
jmp sym.internal_filepathlite.replaceStringByte
Function at 0x140002944
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0xe0
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rbx, rcx
call qword [sym.imp.msvcrt.dll__fileno]
mov ecx, eax
call qword [sym.imp.msvcrt.dll__get_osfhandle]
cmp rax, 0xffffffffffffffff
je 0x140002a76
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140002830
test eax, eax
jne 0x140002a76
cmp dword [rsp + 0x20], eax
jne 0x140002a76
lea r8d, [rax + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, str.OutputEncoding
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, 1
mov dword [rsp + 0x20], ecx
test eax, eax
je 0x1400029d4
mov r8d, eax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.1400028b8
mov ecx, dword [rsp + 0x20]
jmp 0x1400029d6
xor eax, eax
test eax, eax
je 0x140002a20
lea rdx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_fgetpos]
test eax, eax
jne 0x140002a76
cmp qword [rsp + 0x28], 0
jne 0x140002a76
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__fileno]
mov ecx, eax
mov edx, 0x20000
call qword [sym.imp.msvcrt.dll__setmode]
lea rdx, [0x140004714]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_fwprintf]
jmp 0x140002a76
cmp ecx, 0xfde9
jne 0x140002a76
lea rdx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_fgetpos]
test eax, eax
jne 0x140002a76
cmp qword [rsp + 0x28], 0
jne 0x140002a76
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__fileno]
mov ecx, eax
mov edx, 0x8000
call qword [sym.imp.msvcrt.dll__setmode]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__fileno]
mov r8d, 3
lea rdx, [0x140004718]
mov ecx, eax
call qword [sym.imp.msvcrt.dll__write]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400031e0
add rsp, 0xe0
pop rbx
ret
Function at 0x140002a98
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0xf0], rax
xor r14d, r14d
mov r15, rdx
mov rdi, rcx
xor esi, esi
lea r12d, [r14 + 1]
mov ebx, r12d
mov dword [rsp + 0x40], ebx
call qword [sym.imp.msvcrt.dll_fflush]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__fileno]
mov ecx, eax
call qword [sym.imp.msvcrt.dll__get_osfhandle]
cmp rax, 0xffffffffffffffff
je 0x140002b0f
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002830
mov ebx, dword [rsp + 0x40]
test eax, eax
jne 0x140002b0f
test ebx, ebx
je 0x140002b28
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__fileno]
mov ecx, eax
mov edx, 0x20000
call qword [sym.imp.msvcrt.dll__setmode]
mov r14d, eax
mov r8d, 0x50
lea rdx, [rsp + 0x50]
lea rcx, str.OutputEncoding
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [rsp + 0x40], r12d
test eax, eax
je 0x140002b64
mov r8d, eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.1400028b8
mov r12d, dword [rsp + 0x40]
mov ebp, eax
jmp 0x140002b66
xor ebp, ebp
test ebx, ebx
jne 0x140002c3b
lea edx, [rbx + 0xd]
mov rcx, r15
call qword [sym.imp.msvcrt.dll_wcschr]
mov rcx, rdi
test rax, rax
je 0x140002b8f
call qword [sym.imp.msvcrt.dll__fileno]
mov edx, 0x8000
jmp 0x140002ba7
mov eax, ebp
neg eax
sbb ebx, ebx
and ebx, 0x1c000
call qword [sym.imp.msvcrt.dll__fileno]
lea edx, [rbx + 0x4000]
mov ecx, eax
call qword [sym.imp.msvcrt.dll__setmode]
mov r14d, eax
test ebp, ebp
jne 0x140002c3b
and qword [rsp + 0x38], rsi
or r9d, 0xffffffff
and qword [rsp + 0x30], rsi
mov r8, r15
and dword [rsp + 0x28], esi
xor edx, edx
and qword [rsp + 0x20], rsi
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
test eax, eax
je 0x140002c4e
mov rdx, rbx
lea ecx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x140002c4e
and qword [rsp + 0x38], 0
or r9d, 0xffffffff
and qword [rsp + 0x30], 0
mov r8, r15
mov dword [rsp + 0x28], ebx
xor edx, edx
mov ecx, r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__fileno]
lea r8d, [rbx - 1]
mov rdx, rsi
mov ecx, eax
call qword [sym.imp.msvcrt.dll__write]
jmp 0x140002c4e
mov r8, r15
lea rdx, [0x140004720]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_fwprintf]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_fflush]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__fileno]
mov ecx, eax
mov edx, r14d
call qword [sym.imp.msvcrt.dll__setmode]
test rsi, rsi
je 0x140002c79
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400031e0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140002fe0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140006bb0], rbx
je 0x14000302c
cmp rax, rbx
jne 0x14000301f
mov ebx, 1
mov esi, ebx
jmp 0x140003031
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140003004
mov ebx, 1
mov eax, dword [0x140006bb8]
cmp eax, ebx
jne 0x140003047
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400030ac
mov eax, dword [0x140006bb8]
test eax, eax
jne 0x1400030a6
mov dword [0x140006bb8], ebx
lea r15, [0x1400043c8]
lea rdi, [0x1400043b0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140003098
test eax, eax
jne 0x14000309c
cmp qword [rdi], 0
je 0x14000308d
mov rax, qword [rdi]
mov rcx, qword [vtable._SH_.0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000306e
test eax, eax
je 0x1400030ac
mov eax, 0xff
jmp 0x140003188
mov dword [0x140006044], ebx
mov eax, dword [0x140006bb8]
cmp eax, ebx
jne 0x1400030d3
lea rdx, [0x1400043a8]
lea rcx, [0x140004398]
call sub.msvcrt.dll__initterm
mov dword [0x140006bb8], 2
test esi, esi
jne 0x1400030e0
xor eax, eax
xchg qword [0x140006bb0], rax
cmp qword [0x140006bc0], 0
je 0x140003114
lea rcx, [0x140006bc0]
call fcn.140003540
test eax, eax
je 0x140003114
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140006bc0]
mov r9, qword [vtable._SH_.0]
call r9
mov r8, qword [0x140006058]
mov rdx, qword [0x140006050]
mov ecx, dword [0x140006048]
call fcn.1400011dc
mov dword [0x140006040], eax
cmp dword [0x140006060], 0
jne 0x140003144
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140006044], 0
jne 0x140003159
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140006040]
jmp 0x140003188
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1400035d4
add rsp, 0x28
jmp 0x140002fe0

Function at 0x14000342c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140003478
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140003470
cmp dword [rcx + 0x3c], edx
jl 0x140003470
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140003470
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140003478
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140029b84
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d124
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d124
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029cd4
cmp rax, 0xffffffffffffffff
je 0x140029cd4
xor edi, edi
test rbp, rbp
jle 0x140029c7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fda4
mov rbx, rax
test rax, rax
jne 0x140029c0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029c75
mov edx, 0x8000
mov ecx, r14d
call fcn.14001aac0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001de00
cmp eax, 0xffffffff
je 0x140029c55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029c1c
mov edx, r15d
mov ecx, r14d
call fcn.14001aac0
jmp 0x140029c75
cmp byte [rsi + 0x38], dil
je 0x140029c6c
cmp dword [rsi + 0x34], 5
jne 0x140029c6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029c75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b404
jmp 0x140029ce8
jns 0x140029ce8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d124
cmp rax, 0xffffffffffffffff
jne 0x140029ca0
cmp byte [rsi + 0x30], dil
je 0x140029ce8
mov edi, dword [rsi + 0x2c]
jmp 0x140029ce8
mov ecx, r14d
call fcn.1400195f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029ce8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029ce8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029ce1
mov eax, dword [rsi + 0x2c]
jmp 0x140029ce6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d124
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ade0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002ae08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002ae08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140686c00
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword gs:[0x60]
movabs r11, 0x686c70
movabs r10, 0x686c74
mov r9, qword [rax + 0x10]
xor eax, eax
movsxd rcx, dword [r9 + 0x3c]
movsxd r11, dword [r9 + r11]
add rcx, r9
mov r10d, dword [r9 + r10]
movzx r8d, word [rcx + 0x14]
add r8, rcx
cmp dword [r8 + 0x20], eax
jbe 0x140686c66
mov edx, eax
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r8 + 0x24]
inc eax
add rcx, rdx
inc rdx
xor byte [rcx + r9], r10b
cmp eax, dword [r8 + 0x20]
jb 0x140686c50
lea rax, [r9 + r11]
jmp rax
Function at 0x14000cd20
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14000cd2d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14000cd3d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14000cd25
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14000cd55
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14000cd42
sub eax, 3
jb 0x14000cd6f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14000cda6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14000cd96
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14000cd94
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14000cd83
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14000cce2
jmp 0x14000cd2d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1000
mov dl, 1
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14000cdf2
cmp rsi, rcx
jae 0x14000cdfa
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14000cdd9
cmp al, 0x8f
ja 0x14000cdd9
cmp byte [rsi - 2], 0xf
je 0x14000cddf
sub al, 0xe8
cmp al, 1
ja 0x14000cdc3
cmp rsi, rcx
jae 0x14000cdfa
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14000cdc9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14000cdfa
lodsb al, byte [rsi]
jmp 0x14000cdd9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xa000]
mov eax, dword [rdi]
or eax, eax
je 0x14000ce57
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xd1dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14000ce07
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14000ce51
mov qword [rbx], rax
add rbx, 8
jmp 0x14000ce27
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14000ce91
cmp al, 0xef
ja 0x14000ce83
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14000ce63
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14000ce72
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14000cee5
sub rsp, 0xffffffffffffff80
jmp 0x140001310
Function at 0x1400f9288
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1401490e0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x1403d27db]
call fcn.1400fa363
nop
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x14031a510]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x140149226
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x14014917a
mov dword [rbp + 0x160], 1
jmp 0x140149184
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x140149221
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x1401491fb
cmp qword [rbp + 0x198], 2
jb 0x1401491fb
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401491fb
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401491fb
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x140149145
jmp 0x1401492c0
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x1401492c0
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x140149297
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140149297
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140149297
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x140149226
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret