joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467be0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x467d57
movzx edx, byte [rax]
test edx, edx
jne 0x467c14
nop dword [rax]
test r8b, r8b
jne 0x467c14
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x467c27
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x467d17
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x467d05
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x467cf7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x467c7d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x467cc0
mov eax, 1
cmp rax, rbx
ja 0x467cab
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call sym.runtime.panicSliceB
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x467cef
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x467cb3
mov rcx, r11
mov eax, r12d
jmp 0x467c82
mov rcx, rbx
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call sym.runtime.panicIndex
mov eax, r8d
mov rcx, rbx
call sym.runtime.panicSliceB
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x467d4d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x467d10
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x467c2d
mov eax, edx
mov rcx, rbx
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call sym.runtime.panicIndex
nop
int3

Function at 0x469260
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46930f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [sym.runtime.callers.func1]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x005d8d50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp sym.runtime.callers
Function at 0x46c760
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005d8b30], 0
je 0x46c76e
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

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

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

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

Disassembly:
cmp byte [0x005d8b30], 0
je 0x46c7d5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005d9160]
aesenc xmm0, xmmword [0x005d9170]
aesenc xmm0, xmmword [0x005d9180]
movq rax, xmm0
ret
jmp sym.runtime.memhash32Fallback

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

Disassembly:
cmp byte [0x005d8b30], 0
je 0x46c816
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005d9160]
aesenc xmm0, xmmword [0x005d9170]
aesenc xmm0, xmmword [0x005d9180]
movq rax, xmm0
ret
jmp sym.runtime.memhash64Fallback

Function at 0x46de80
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 [0x005d8d50]
mov rax, qword gs:[rax]
cmp rax, 0
je 0x46df1b
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 0x46e140
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 [0x005d8d50]
mov rax, qword gs:[rax]
cmp rax, 0
jne 0x46e1d7
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 0x46e5a0
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 0x46e5d4
mov rcx, 0x28
jmp 0x46e5df
shl rcx, 3
add rcx, 0x1480
mov qword [0x005d8d50], rcx
pop rbp
ret

Function at 0x4761f0
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
test rdx, 0xf
jne 0x47626a
mov rax, 0
nop word [rax + rax]
nop dword [rax]
movdqu xmm0, xmmword [rsi + rax]
movdqu xmm1, xmmword [rcx + rax]
pxor xmm0, xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rdx, rax
jne 0x476220
ret
sub rdx, 1
mov dil, byte [rsi + rdx]
mov al, byte [rcx + rdx]
xor dil, al
mov byte [rbx + rdx], dil
test rdx, 7
jne 0x476240
cmp rdx, 0
je 0x47628c
test rdx, 0xf
je 0x47620d
test rdx, 7
jne 0x476240
sub rdx, 8
mov rdi, qword [rsi + rdx]
mov rax, qword [rcx + rdx]
xor rdi, rax
mov qword [rbx + rdx], rdi
cmp rdx, 0x10
jge 0x47620d
ret
Function at 0x47ca80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x47cabf
jb 0x47cad4
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesenclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x47cb40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x47cc14
jb 0x47cc73
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call sym._expand_key_256a
aeskeygenassist xmm1, xmm0, 1
call sym._expand_key_256b
aeskeygenassist xmm1, xmm2, 2
call sym._expand_key_256a
aeskeygenassist xmm1, xmm0, 2
call sym._expand_key_256b
aeskeygenassist xmm1, xmm2, 4
call sym._expand_key_256a
aeskeygenassist xmm1, xmm0, 4
call sym._expand_key_256b
aeskeygenassist xmm1, xmm2, 8
call sym._expand_key_256a
aeskeygenassist xmm1, xmm0, 8
call sym._expand_key_256b
aeskeygenassist xmm1, xmm2, 0x10
call sym._expand_key_256a
aeskeygenassist xmm1, xmm0, 0x10
call sym._expand_key_256b
aeskeygenassist xmm1, xmm2, 0x20
call sym._expand_key_256a
aeskeygenassist xmm1, xmm0, 0x20
call sym._expand_key_256b
aeskeygenassist xmm1, xmm2, 0x40
call sym._expand_key_256a
jmp 0x47cce1
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call sym._expand_key_192a
aeskeygenassist xmm1, xmm2, 2
call sym._expand_key_192b
aeskeygenassist xmm1, xmm2, 4
call sym._expand_key_192a
aeskeygenassist xmm1, xmm2, 8
call sym._expand_key_192b
aeskeygenassist xmm1, xmm2, 0x10
call sym._expand_key_192a
aeskeygenassist xmm1, xmm2, 0x20
call sym._expand_key_192b
aeskeygenassist xmm1, xmm2, 0x40
call sym._expand_key_192a
aeskeygenassist xmm1, xmm2, 0x80
call sym._expand_key_192b
jmp 0x47cce1
aeskeygenassist xmm1, xmm0, 1
call sym._expand_key_128
aeskeygenassist xmm1, xmm0, 2
call sym._expand_key_128
aeskeygenassist xmm1, xmm0, 4
call sym._expand_key_128
aeskeygenassist xmm1, xmm0, 8
call sym._expand_key_128
aeskeygenassist xmm1, xmm0, 0x10
call sym._expand_key_128
aeskeygenassist xmm1, xmm0, 0x20
call sym._expand_key_128
aeskeygenassist xmm1, xmm0, 0x40
call sym._expand_key_128
aeskeygenassist xmm1, xmm0, 0x80
call sym._expand_key_128
aeskeygenassist xmm1, xmm0, 0x1b
call sym._expand_key_128
aeskeygenassist xmm1, xmm0, 0x36
call sym._expand_key_128
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x47ccee
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret
Function at 0x47fa80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47fb4a
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 [0x005d8d50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47fb2f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004b8e60]
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 0x47fb1e
mov edi, 1
lea rsi, [0x004b8e60]
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, [0x004fde88]
lea rsi, [0x004fd598]
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 0x48faa0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4901df
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x48facd
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x48fd51
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x48fd7d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004ff1c0]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004b8d60]
lea rbx, [0x004fdd20]
call sym.runtime.gopanic
inc rax
cmp rax, r8
jge 0x48fda2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x48fdd7
lea rdi, [0x004b8de0]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x48fac3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x48fdbb
jmp 0x48fd90
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 0x490380
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 0x490397
inc rax
cmp rax, 4
jge 0x4903af
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x490394
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4903c0
inc rax
cmp rax, 4
jge 0x4903ce
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4903f7
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 0x4903db
jmp 0x4903bd

Function at 0x49b9a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x49ba4c
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 [0x005d8d50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x49ba13
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 0x49ba26
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
inc rcx
cmp rbx, rcx
jle 0x49ba39
movzx edi, byte [rax + rcx]
cmp dil, sil
jne 0x49ba23
mov byte [rax + rcx], dl
jmp 0x49ba23
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 0x140987058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1409871df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140987089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14098706f
add dl, dl
jne 0x140987096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409870f6
xor eax, eax
add dl, dl
jne 0x1409870a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409871ad
add dl, dl
jne 0x1409870b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409870c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409870d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409870dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409870ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14098707e
mov eax, 1
add dl, dl
jne 0x140987106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140987113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409870fb
sub eax, ebx
mov ebx, 1
jne 0x14098714c
mov ecx, 1
add dl, dl
jne 0x14098712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14098713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140987123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14098707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140987168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140987175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14098715d
cmp eax, 0x7d00
jae 0x14098719b
cmp eax, 0x500
jb 0x140987196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14098707e
cmp eax, 0x7f
ja 0x14098719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14098707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409871d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14098707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000416c
Capabilities:
Open clipboard

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1400041c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx r9d, ax
or r9d, 0x80070000
test eax, eax
cmovle r9d, eax
test r9d, r9d
jns 0x1400041c9
mov rcx, qword [str.___a_]
lea rbx, str.___a_
cmp rcx, rbx
je 0x140004297
test byte [rcx + 0x1c], 1
je 0x140004297
mov edx, 0x18
jmp 0x140004287
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x14000421c
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x14000421c
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, qword [str.___a_]
lea rbx, str.___a_
cmp rcx, rbx
je 0x140004297
test byte [rcx + 0x1c], 1
je 0x140004297
mov edx, 0x19
mov r9d, edi
jmp 0x140004287
mov rcx, qword [str.___a_]
lea rbx, str.___a_
cmp rcx, rbx
je 0x14000424a
test byte [rcx + 0x1c], 4
je 0x14000424a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140054e88]
mov edx, 0x1a
call fcn.140002150
call qword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x140004297
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx r9d, ax
or r9d, 0x80070000
test eax, eax
cmovle r9d, eax
test r9d, r9d
jns 0x140004297
mov rcx, qword [str.___a_]
cmp rcx, rbx
je 0x140004297
test byte [rcx + 0x1c], 1
je 0x140004297
mov edx, 0x1b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140054e88]
call fcn.140002534
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140006af4
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rbx, rcx
cmp qword [0x140075278], 0
jne 0x140006bfd
mov edi, 0x40
mov ecx, edi
call fcn.1400407e0
mov qword [rsp + 0x58], rax
mov r8b, 1
mov rdx, rbx
mov rcx, rax
call fcn.140006080
nop
mov rbx, qword [0x140075278]
mov qword [0x140075278], rax
test rbx, rbx
je 0x140006b5a
mov rcx, rbx
call fcn.140006170
mov edx, edi
mov rcx, rbx
call fcn.140040794
nop
jmp 0x140006b64
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call fcn.140006960
lea rdx, str._n_n______________________________________________________________________________________n
lea rcx, [0x14005144c]
call fcn.140006cb0
lea rdi, [0x140051454]
mov rbx, qword [rsp + 0x58]
test rbx, rbx
cmovne rdi, rbx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r8, rdi
mov rdx, rax
lea rcx, str.MpCmdRun:_Command_Line:__s_n_Start_Time:__s_n_n
call fcn.140006cb0
test rbx, rbx
je 0x140006bfd
mov rcx, rbx
call qword [sym.imp.mpclient.dll_MpFreeMemory]
jmp 0x140006bfd
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140006e48
Capabilities:
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
and qword [rax + 0x10], 0
mov r8, rcx
lea rdx, str._ls.bak
lea rcx, [rax + 0x10]
call fcn.14003b888
mov ebx, eax
test eax, eax
jns 0x140006e8f
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140006e88
call fcn.140040784
mov eax, ebx
jmp 0x140006f68
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.140012ff0
mov edi, eax
cmp eax, 0x80070001
jle 0x140006f15
lea ecx, [rax + 0x7ff8fffc]
cmp ecx, 0x7ff8fffb
jbe 0x140006f15
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140006f04
call fcn.140038cd4
mov edi, eax
test eax, eax
jns 0x140006f04
lea rax, str.___a_
mov rcx, qword [str.___a_]
cmp rcx, rax
je 0x140006f59
test byte [rcx + 0x1c], 1
je 0x140006f59
mov edx, 0x1b
mov r9d, edi
lea r8, [0x1400515d8]
mov rcx, qword [rcx + 0x10]
call fcn.140002534
jmp 0x140006f59
test rbx, rbx
je 0x140006f11
mov rcx, rbx
call fcn.140040784
xor eax, eax
jmp 0x140006f68
lea rax, str.___a_
mov rcx, qword [str.___a_]
cmp rcx, rax
je 0x140006f4b
test byte [rcx + 0x1c], 1
je 0x140006f4b
mov edx, 0x1a
mov qword [rsp + 0x20], rbx
mov r9d, edi
lea r8, [0x1400515d8]
mov rcx, qword [rcx + 0x10]
call fcn.140006000
mov edx, edi
lea rcx, str.ERROR:_UtilDeletePathSafe___failed___X__n
call fcn.140006cb0
test rbx, rbx
je 0x140006f66
mov rcx, rbx
call fcn.140040784
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14000c030
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbp
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
and qword [rsp + 0x50], 0
mov rsi, rdx
mov ebp, ecx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r8, rax
lea rdx, str._ls__Reinvoke
lea rcx, [rsp + 0x50]
call fcn.14003b888
mov edi, eax
test eax, eax
js 0x14000c105
mov rcx, qword [rsp + 0x50]
mov r8, rsi
mov edx, ebp
call fcn.14000bf24
mov edi, eax
test eax, eax
jns 0x14000c0d0
mov rcx, qword [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x14000c0ba
test byte [rcx + 0x1c], 1
je 0x14000c0ba
mov r9, qword [rsp + 0x50]
lea r8, [0x140054b10]
mov rcx, qword [rcx + 0x10]
mov edx, 0xc
mov dword [rsp + 0x20], edi
call fcn.140002410
mov rdx, qword [rsp + 0x50]
lea rcx, str.ERROR:_RunWithRestrictedPriv__s__Failed__X_n
mov r8d, edi
call fcn.140006cb0
jmp 0x14000c105
mov rcx, qword [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x14000c103
test byte [rcx + 0x1c], 4
je 0x14000c103
mov r9, qword [rsp + 0x50]
lea r8, [0x140054b10]
mov rcx, qword [rcx + 0x10]
mov edx, 0xd
call fcn.1400022ac
xor edi, edi
cmp qword [rsp + 0x50], 0
je 0x14000c117
mov rcx, qword [rsp + 0x50]
call fcn.140040784
mov rbp, qword [rsp + 0x40]
mov eax, edi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret