joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140163d10
Capabilities:
Check mutex on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14039d330]
test eax, eax
je 0x140163d28
mov eax, 1
add rsp, 0x28
ret
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rdi, rax
test rax, rax
jne 0x140163d4e
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov qword [rsp + 0x30], rbx
mov rbx, rax
xchg qword [0x14039d338], rbx
test rbx, rbx
je 0x140163d9f
mov rax, rbx
mov rcx, rdi
xchg qword [0x14039d338], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x14039d330]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov eax, dword [0x14039d330]
test eax, eax
jne 0x140163dd9
lea rcx, [0x1403a6f00]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor edx, edx
lea rcx, [0x1403a6f40]
mov r8d, 0x120
call sub.VCRUNTIME140.dll_memset
call fcn.140163bf0
mov dword [0x14039d330], 1
xor eax, eax
mov rcx, rdi
xchg qword [0x14039d338], rax
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x14017ca70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.1401ddd50
sub rsp, rax
add rsp, 0x28
jmp 0x14017ca70
push rbx
mov eax, 0x20
call fcn.1401ddd50
sub rsp, rax
mov rbx, r8
call fcn.14017ccc0
test eax, eax
js 0x14017ccae
mov eax, dword [rbx + 0xf0]
xor r10d, r10d
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x14017cafd
lea r8, [rbx + 8]
lea r8, [r8 + r9*4]
lea rax, [rbx + 8]
nop
mov edx, dword [rax - 8]
add r10, 4
mov ecx, dword [r8 - 8]
lea r8, [r8 - 0x10]
mov dword [rax - 8], ecx
lea rax, [rax + 0x10]
mov ecx, dword [r8 + 0xc]
sub r9, 4
mov dword [r8 + 8], edx
mov edx, dword [rax - 0x14]
mov dword [rax - 0x14], ecx
mov ecx, dword [r8 + 0x10]
mov dword [r8 + 0xc], edx
mov edx, dword [rax - 0x10]
mov dword [rax - 0x10], ecx
mov ecx, dword [r8 + 0x14]
mov dword [r8 + 0x10], edx
mov edx, dword [rax - 0xc]
mov dword [rax - 0xc], ecx
mov dword [r8 + 0x14], edx
cmp r10, r9
jl 0x14017cab0
mov r11d, 1
cmp dword [rbx + 0xf0], r11d
jle 0x14017ccac
mov qword [rsp + 0x30], rdi
lea r10, [rbx + 2]
lea rdi, [0x140000000]
mov r8d, dword [r10 + 0xe]
lea r10, [r10 + 0x10]
mov eax, r8d
inc r11d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x289140]
movzx eax, byte [r10 - 1]
mov r9d, dword [rdi + rdx*4 + 0x289d40]
movzx ecx, byte [rdi + rax*4 + 0x289140]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x28a540]
movzx ecx, byte [rdi + rax*4 + 0x289140]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0x28a940]
movzx ecx, byte [rdi + rax*4 + 0x289140]
movzx eax, byte [r10 + 3]
xor r9d, dword [rdi + rcx*4 + 0x28a140]
movzx edx, byte [rdi + rax*4 + 0x289140]
movzx eax, byte [r10 + 4]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov r8d, dword [rdi + rdx*4 + 0x28a540]
movzx ecx, byte [rdi + rax*4 + 0x289140]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x28a140]
movzx ecx, byte [rdi + rax*4 + 0x289140]
movzx eax, r9b
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0x289d40]
movzx ecx, byte [rdi + rax*4 + 0x289140]
movzx eax, byte [r10 + 7]
xor r8d, dword [rdi + rcx*4 + 0x28a940]
movzx edx, byte [rdi + rax*4 + 0x289140]
movzx eax, byte [r10 + 8]
mov dword [r10 + 2], r8d
mov r8d, dword [rdi + rdx*4 + 0x28a540]
movzx ecx, byte [rdi + rax*4 + 0x289140]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x28a140]
movzx ecx, byte [rdi + rax*4 + 0x289140]
movzx eax, r9b
mov r9d, dword [r10 + 0xa]
xor r8d, dword [rdi + rcx*4 + 0x289d40]
movzx ecx, byte [rdi + rax*4 + 0x289140]
movzx eax, byte [r10 + 0xb]
xor r8d, dword [rdi + rcx*4 + 0x28a940]
movzx edx, byte [rdi + rax*4 + 0x289140]
movzx eax, byte [r10 + 0xc]
mov dword [r10 + 6], r8d
mov r8d, dword [rdi + rdx*4 + 0x28a540]
movzx ecx, byte [rdi + rax*4 + 0x289140]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x28a140]
movzx ecx, byte [rdi + rax*4 + 0x289140]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x289d40]
movzx ecx, byte [rdi + rax*4 + 0x289140]
xor r8d, dword [rdi + rcx*4 + 0x28a940]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x14017cb20
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14017d980
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x30
call fcn.1401ddd50
sub rsp, rax
mov rdi, r8
mov r14, rdx
mov r8, qword [rsp + 0xa0]
mov r15, rcx
mov ebx, dword [r8]
mov dword [rsp + 0x80], ebx
test ebx, ebx
je 0x14017d9f8
mov rdx, qword [rsp + 0x98]
nop dword [rax]
test rdi, rdi
je 0x14017d9f1
mov eax, ebx
dec rdi
movzx ecx, byte [rax + rdx]
xor cl, byte [r15]
inc r15
mov byte [r14], cl
inc r14
inc ebx
and ebx, 0xf
jne 0x14017d9d0
mov dword [rsp + 0x80], ebx
mov rcx, qword [rsp + 0x90]
mov esi, 0xc
movzx r13d, byte [rcx + 0xc]
lea r12, [rcx + 0xc]
mov r10, qword [rsp + 0xa8]
shl r13d, 8
movzx eax, byte [rcx + 0xd]
lea ebp, [rsi - 0xb]
or r13d, eax
movzx eax, byte [rcx + 0xe]
shl r13d, 8
or r13d, eax
movzx eax, byte [rcx + 0xf]
shl r13d, 8
or r13d, eax
cmp rdi, 0x10
jb 0x14017db1d
mov eax, 0x10000000
mov ebx, esi
nop dword [rax + rax]
mov rsi, rdi
shr rsi, 4
cmp rsi, rax
cmova rsi, rax
add r13d, esi
mov eax, r13d
cmp rax, rsi
jae 0x14017da6f
sub rsi, rax
xor r13d, r13d
mov qword [rsp + 0x20], rcx
mov r8, rsi
mov rcx, r15
mov rdx, r14
call r10
mov rcx, qword [rsp + 0x90]
mov eax, r13d
shr eax, 0x18
mov byte [r12], al
mov eax, r13d
shr eax, 0x10
mov byte [rcx + 0xd], al
mov eax, r13d
shr eax, 8
mov byte [rcx + 0xe], al
mov byte [rcx + 0xf], r13b
test r13d, r13d
jne 0x14017dadd
mov r8d, ebx
mov ecx, ebp
mov rdx, r12
nop word [rax + rax]
movzx eax, byte [rdx - 1]
lea rdx, [rdx - 1]
add ecx, eax
mov byte [rdx], cl
shr ecx, 8
add r8d, 0xffffffff
jne 0x14017dac0
mov rcx, qword [rsp + 0x90]
mov r9, qword [rsp + 0x88]
mov eax, 0x10000000
mov r10, qword [rsp + 0xa8]
shl rsi, 4
sub rdi, rsi
add r14, rsi
add r15, rsi
cmp rdi, 0x10
jae 0x14017da50
mov ebx, dword [rsp + 0x80]
mov esi, 0xc
mov r8, qword [rsp + 0xa0]
test rdi, rdi
je 0x14017dbd2
mov rax, qword [rsp + 0x98]
xor edx, edx
mov qword [rsp + 0x20], rcx
mov r8, rbp
mov rcx, rax
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov rdx, rax
call r10
mov rcx, qword [rsp + 0x90]
inc r13d
mov eax, r13d
shr eax, 0x18
mov byte [r12], al
mov eax, r13d
shr eax, 0x10
mov byte [rcx + 0xd], al
mov eax, r13d
shr eax, 8
mov byte [rcx + 0xe], al
mov byte [rcx + 0xf], r13b
test r13d, r13d
jne 0x14017db99
nop dword [rax + rax]
movzx eax, byte [r12 - 1]
lea r12, [r12 - 1]
add ebp, eax
mov byte [r12], bpl
shr ebp, 8
add esi, 0xffffffff
jne 0x14017db80
mov rdx, qword [rsp + 0x98]
nop dword [rax]
nop word [rax + rax]
mov ecx, ebx
inc ebx
movzx eax, byte [rcx + r15]
xor al, byte [rcx + rdx]
mov byte [rcx + r14], al
sub rdi, 1
jne 0x14017dbb0
mov rax, qword [rsp + 0xa0]
mov dword [rax], ebx
jmp 0x14017dbd5
mov dword [r8], ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14017e2a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
mov eax, 0x20
call fcn.1401ddd50
sub rsp, rax
cmp qword [rcx + 0x38], 0
mov rbx, r8
mov r14, rdx
mov rsi, rcx
je 0x14017e2df
mov eax, 0xfffffffe
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rcx, qword [rcx + 0x30]
movabs rax, 0x2000000000000000
add rcx, rbx
cmp rcx, rax
ja 0x14017e3b0
cmp rcx, rbx
jb 0x14017e3b0
mov qword [rsp + 0x38], rdi
mov edi, dword [rsi + 0x174]
mov qword [rsi + 0x30], rcx
test edi, edi
je 0x14017e344
test rbx, rbx
je 0x14017e333
movzx eax, byte [r14]
dec rbx
mov ecx, edi
inc r14
xor byte [rcx + rsi + 0x40], al
inc edi
and edi, 0xf
jne 0x14017e315
jmp 0x14017e337
test edi, edi
jne 0x14017e392
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0x40]
call fcn.14017f700
mov qword [rsp + 0x30], rbp
mov rbp, rbx
and rbp, 0xfffffffffffffff0
je 0x14017e36b
lea rdx, [rsi + 0x60]
mov r9, rbp
lea rcx, [rsi + 0x40]
mov r8, r14
call fcn.14017f530
add r14, rbp
sub rbx, rbp
mov rbp, qword [rsp + 0x30]
test rbx, rbx
je 0x14017e392
mov edi, ebx
lea rcx, [rsi + 0x40]
sub r14, rsi
nop
movzx eax, byte [r14 + rcx - 0x40]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rbx, 1
jne 0x14017e380
mov dword [rsi + 0x174], edi
xor eax, eax
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rbx, qword [rsp + 0x40]
or eax, 0xffffffff
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14017f530
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov rsi, rcx
lea r14, [r8 + 0xe]
sub rsi, r8
lea r13, [0x14028ae70]
mov r12, r9
mov rbp, rdx
mov r11, rcx
nop word [rax + rax]
movzx eax, byte [r11 + 0xf]
mov rdi, r14
movzx ecx, byte [r14 + 1]
mov r15d, 0xf
xor rcx, rax
mov r9, rcx
and ecx, 0xf
add rcx, rcx
and r9, 0xfffffffffffffff0
mov r8, qword [rbp + rcx*8]
mov rcx, qword [rbp + rcx*8 + 8]
mov rax, r8
mov rdx, rcx
shr r8, 4
and edx, 0xf
shl rax, 0x3c
shr rcx, 4
or rax, rcx
mov rbx, qword [r13 + rdx*8]
xor rbx, r8
xor rbx, qword [r9 + rbp]
xor rax, qword [r9 + rbp + 8]
nop word [rax + rax]
movzx ecx, byte [rdi]
mov r9, rbx
movzx edx, byte [rsi + rdi]
lea rdi, [rdi - 1]
xor rdx, rcx
shr rbx, 4
mov rcx, rax
shl r9, 0x3c
shr rax, 4
and ecx, 0xf
or r9, rax
mov r10, rdx
and r10, 0xfffffffffffffff0
and edx, 0xf
add rdx, rdx
mov r8, qword [r13 + rcx*8]
xor r8, rbx
xor r9, qword [rbp + rdx*8 + 8]
xor r8, qword [rbp + rdx*8]
mov rcx, r9
and ecx, 0xf
shr r9, 4
mov rax, r8
shr r8, 4
shl rax, 0x3c
or rax, r9
mov rbx, qword [r13 + rcx*8]
xor rax, qword [r10 + rbp + 8]
xor rbx, r8
xor rbx, qword [r10 + rbp]
sub r15, 1
jne 0x14017f5d0
mov rdx, rbx
mov byte [r11 + 7], bl
shr rdx, 0x20
add r14, 0x10
mov ecx, edx
mov byte [r11 + 3], dl
shr ecx, 0x18
sub rsi, 0x10
mov byte [r11], cl
mov ecx, edx
shr ecx, 0x10
mov byte [r11 + 1], cl
mov ecx, edx
shr ecx, 8
mov rdx, rax
mov byte [r11 + 2], cl
mov ecx, ebx
shr ecx, 0x18
mov byte [r11 + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [r11 + 5], cl
mov ecx, ebx
shr ecx, 8
mov byte [r11 + 6], cl
shr rdx, 0x20
mov ecx, edx
mov byte [r11 + 0xb], dl
shr ecx, 0x18
mov byte [r11 + 8], cl
mov ecx, edx
shr ecx, 0x10
mov byte [r11 + 9], cl
mov ecx, edx
shr ecx, 8
mov byte [r11 + 0xa], cl
mov ecx, eax
shr ecx, 0x18
mov byte [r11 + 0xc], cl
mov ecx, eax
shr ecx, 0x10
mov byte [r11 + 0xd], cl
mov ecx, eax
shr ecx, 8
mov byte [r11 + 0xe], cl
mov byte [r11 + 0xf], al
sub r12, 0x10
jne 0x14017f570
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x14017f700
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
movzx eax, byte [rcx + 0xf]
lea r14, [0x14028ae70]
mov r10d, eax
mov rdi, rdx
and eax, 0xf
and r10, 0xfffffffffffffff0
add rax, rax
mov esi, 0xe
mov r9, qword [rdx + rax*8]
mov r8, qword [rdx + rax*8 + 8]
mov r11, r9
mov rax, r8
shr r9, 4
and eax, 0xf
shl r11, 0x3c
shr r8, 4
or r11, r8
mov rbx, qword [r14 + rax*8]
xor rbx, r9
xor rbx, qword [r10 + rdx]
xor r11, qword [r10 + rdx + 8]
nop word [rax + rax]
movzx edx, byte [rsi + rcx]
mov rax, r11
shr r11, 4
mov r9, rbx
shr rbx, 4
and eax, 0xf
shl r9, 0x3c
mov r10d, edx
or r9, r11
and r10, 0xfffffffffffffff0
and edx, 0xf
mov r8, qword [r14 + rax*8]
add rdx, rdx
xor r8, rbx
xor r9, qword [rdi + rdx*8 + 8]
xor r8, qword [rdi + rdx*8]
mov rax, r9
and eax, 0xf
shr r9, 4
mov r11, r8
shr r8, 4
shl r11, 0x3c
or r11, r9
mov rbx, qword [r14 + rax*8]
xor r11, qword [r10 + rdi + 8]
xor rbx, r8
xor rbx, qword [r10 + rdi]
sub rsi, 1
jns 0x14017f770
mov rsi, qword [rsp + 0x10]
mov rdx, rbx
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
shr rdx, 0x20
mov eax, edx
mov byte [rcx + 3], dl
shr eax, 0x18
mov byte [rcx], al
mov eax, edx
shr eax, 0x10
mov byte [rcx + 1], al
mov eax, edx
shr eax, 8
mov rdx, r11
mov byte [rcx + 2], al
mov eax, ebx
shr eax, 0x18
mov byte [rcx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [rcx + 5], al
mov eax, ebx
shr eax, 8
mov byte [rcx + 6], al
shr rdx, 0x20
mov eax, edx
mov byte [rcx + 7], bl
mov rbx, qword [rsp + 8]
shr eax, 0x18
mov byte [rcx + 8], al
mov eax, edx
shr eax, 0x10
mov byte [rcx + 9], al
mov eax, edx
shr eax, 8
mov byte [rcx + 0xa], al
mov eax, r11d
shr eax, 0x18
mov byte [rcx + 0xc], al
mov eax, r11d
shr eax, 0x10
mov byte [rcx + 0xd], al
mov eax, r11d
shr eax, 8
mov byte [rcx + 0xe], al
mov byte [rcx + 0xb], dl
mov byte [rcx + 0xf], r11b
ret

Function at 0x140183630
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x38
call fcn.1401ddd50
sub rsp, rax
cmp dword [rsp + 0x68], 0
je 0x140183659
lea rax, [0x140181c00]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.14017d5b0
lea rax, [0x140180d60]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.14017d2e0
Function at 0x1401859f9
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140185bea
push rbx
mov eax, 0xd0
call fcn.1401ddd50
sub rsp, rax
mov rax, qword [0x140375828]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xe8], rbp
mov rbx, rdx
mov qword [rsp + 0xf0], rsi
lea rbp, [r8 - 1]
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0xc8], r14
lea r14, [rcx + 0xc]
shr rbp, 3
mov qword [rsp + 0xc0], r15
inc rbp
lea r15, [rcx + 0x14]
nop word [rax + rax]
movzx eax, byte [rbx + 1]
mov rcx, r14
movzx edi, byte [rbx]
movzx esi, byte [rbx + 4]
lea rbx, [rbx + 8]
shl eax, 8
or edi, eax
movzx eax, byte [rbx - 6]
shl eax, 0x10
or edi, eax
movzx eax, byte [rbx - 5]
shl eax, 0x18
or edi, eax
movzx eax, byte [rbx - 3]
shl eax, 8
or esi, eax
mov dword [rsp + 0x20], edi
movzx eax, byte [rbx - 2]
shl eax, 0x10
or esi, eax
mov dword [rsp + 0x28], edi
movzx eax, byte [rbx - 1]
and byte [r14], 0xdf
and byte [r15], 0xbf
or byte [r14], 0x40
or byte [r15], 0x20
shl eax, 0x18
or esi, eax
mov dword [rsp + 0x24], esi
mov dword [rsp + 0x2c], esi
call fcn.140136e60
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140136bb0
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.1401350e0
mov rcx, r15
call fcn.140136e60
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140136bb0
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.1401350e0
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x24]
xor r8d, edi
xor edi, dword [rsp + 0x28]
xor edx, esi
xor esi, dword [rsp + 0x2c]
mov eax, edi
mov byte [r14], dil
shr eax, 8
mov byte [r14 + 1], al
mov eax, edi
shr eax, 0x10
mov byte [r14 + 2], al
mov eax, edx
shr eax, 8
shr edi, 0x18
mov byte [r14 + 3], dil
mov byte [r14 + 4], dl
mov byte [r14 + 5], al
mov eax, edx
shr eax, 0x10
mov byte [r14 + 6], al
mov eax, r8d
shr eax, 8
shr edx, 0x18
mov byte [r14 + 7], dl
mov byte [r15], r8b
mov byte [r15 + 1], al
mov eax, r8d
shr eax, 0x10
mov byte [r15 + 2], al
shr r8d, 0x18
mov byte [r15 + 3], r8b
mov byte [r15 + 4], sil
mov eax, esi
shr eax, 8
mov byte [r15 + 5], al
mov eax, esi
shr eax, 0x10
shr esi, 0x18
mov byte [r15 + 6], al
mov byte [r15 + 7], sil
sub rbp, 1
jne 0x140185a60
mov r15, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xf0]
mov rbp, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401dd140
add rsp, 0xd0
pop rbx
ret
Function at 0x1401c5860
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x20
call fcn.1401ddd50
sub rsp, rax
mov r9d, dword [rdx + 8]
mov rsi, rdx
cmp r9d, dword [r8 + 8]
mov rdi, r8
mov rbx, rcx
cmovge rdi, rdx
cmovge rsi, r8
mov edx, dword [rdi + 8]
cmp edx, dword [rcx + 0xc]
jg 0x1401c589e
mov rax, rcx
jmp 0x1401c58a3
call fcn.1400e9d00
test rax, rax
jne 0x1401c58b8
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor eax, eax
cmp dword [rsi + 8], eax
jle 0x1401c58e5
xor r9d, r9d
mov rcx, qword [rsi]
lea r9, [r9 + 8]
mov rdx, qword [rdi]
inc eax
mov r8, qword [r9 + rdx - 8]
xor r8, qword [r9 + rcx - 8]
mov rcx, qword [rbx]
mov qword [r9 + rcx - 8], r8
cmp eax, dword [rsi + 8]
jl 0x1401c58c2
cmp eax, dword [rdi + 8]
jge 0x1401c591b
movsxd rcx, eax
lea r8, [rcx*8]
nop word [rax + rax]
mov rcx, qword [rdi]
lea r8, [r8 + 8]
mov rdx, qword [rbx]
inc eax
mov rcx, qword [r8 + rcx - 8]
mov qword [r8 + rdx - 8], rcx
cmp eax, dword [rdi + 8]
jl 0x1401c5900
mov edx, dword [rdi + 8]
mov dword [rbx + 8], edx
test edx, edx
jle 0x1401c5947
lea eax, [rdx - 1]
movsxd rcx, eax
mov rax, qword [rbx]
lea r8, [rax + rcx*8]
mov rax, qword [r8]
lea r8, [r8 - 8]
test rax, rax
jne 0x1401c5944
dec edx
test edx, edx
jg 0x1401c5932
mov dword [rbx + 8], edx
cmp dword [rbx + 8], 0
jne 0x1401c5954
mov dword [rbx + 0x10], 0
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1401d41c0
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1401d4209
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, rax
call fcn.1401dbde0
test eax, eax
jne 0x1401d4203
mov rcx, rbx
call fcn.1401d3fb0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x48]
xor r8d, r8d
xor edx, edx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x1401db8f0
add rsp, 0x20
pop rbx
ret
call fcn.1401cc6d0
int3
push rbx
sub rsp, 0x20
mov rax, r8
mov rbx, rcx
mov r8, rdx
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jne 0x1401db915
add rsp, 0x20
pop rbx
ret
mov r8, rbx
lea rdx, str.SHCreateDirectory__S__failed
mov ecx, eax
call fcn.1401dc4a0
int3

Function at 0x1401d4f50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov edi, r9d
mov rsi, rcx
call fcn.1401d52a0
lea rax, vtable.vcfoundation::thread::Thread.0
mov qword [rsi + 0x30], 0xffffffffffffffff
mov qword [rsi], rax
lea rbx, [rsi + 0x38]
lea rax, vtable.vcfoundation::thread::Thread.1.0
mov dword [rbx], 0
mov rcx, rsi
mov qword [rsi + 0x10], rax
call fcn.1401c9c80
mov r9, rsi
mov qword [rsp + 0x28], rbx
lea r8, [0x1401d5270]
mov dword [rsp + 0x20], 0
mov edx, edi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rbx, qword [rsp + 0x40]
mov qword [rsi + 0x30], rax
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1401d67c0
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rbx, rcx
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.1401dbe20
nop
mov rdi, qword [rbx + 0x50]
cmp rdi, 0xffffffffffffffff
jne 0x1401d67fc
lea rcx, str.Process_not_launched
call fcn.1401cc260
nop
lea rcx, [rsp + 0x40]
call fcn.1401dbe40
mov edx, 0x8f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1401da860
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
movsxd rbx, edx
mov r13, rcx
xor ebp, ebp
mov qword [rax + 8], rbp
xorps xmm0, xmm0
movdqu xmmword [rax - 0x40], xmm0
mov qword [rax - 0x30], rbp
mov rdx, rbx
lea r8, [rax + 8]
lea rcx, [rax - 0x40]
call fcn.1401dad00
nop
lea r15d, [rbx - 1]
lea r14, [r13 + 8]
mov rbx, qword [r14]
mov r12, qword [r13 + 0x10]
sub r12, rbx
add r12, 7
shr r12, 3
cmp rbx, qword [r13 + 0x10]
cmova r12, rbp
mov rsi, qword [rsp + 0x28]
test r12, r12
je 0x1401da93c
nop dword [rax]
mov rdi, qword [rbx]
test rdi, rdi
je 0x1401da930
nop dword [rax + rax]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ecx, eax
shl ecx, 9
not ecx
add eax, ecx
mov ecx, eax
shr ecx, 0xe
xor ecx, eax
imul edx, ecx, 0x11
mov eax, edx
shr eax, 0xa
xor edx, eax
and edx, r15d
movsxd rcx, edx
mov rdx, qword [rdi]
mov rax, qword [rsi + rcx*8]
mov qword [rdi], rax
mov qword [rsi + rcx*8], rdi
mov rdi, rdx
test rdx, rdx
jne 0x1401da8f0
add rbx, 8
inc rbp
cmp rbp, r12
jne 0x1401da8e0
lea rax, [rsp + 0x28]
cmp r14, rax
je 0x1401da967
mov rax, qword [r14]
mov qword [r14], rsi
mov rsi, rax
mov rax, qword [rsp + 0x30]
mov qword [r14 + 8], rax
mov rcx, qword [r14 + 0x10]
mov rax, qword [rsp + 0x38]
mov qword [r14 + 0x10], rax
jmp 0x1401da96c
mov rcx, qword [rsp + 0x38]
mov rax, qword [r14 + 8]
sub rax, qword [r14]
sar rax, 3
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1402b04e8]
cvttsd2si eax, xmm0
mov dword [r13 + 0x24], eax
mov dword [r13 + 0x20], r15d
test rsi, rsi
je 0x1401daa0a
sub rcx, rsi
sar rcx, 3
movabs rax, 0x1fffffffffffffff
cmp rcx, rax
jbe 0x1401da9b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rax, [rcx*8]
cmp rax, 0x1000
jb 0x1401daa02
test sil, 0x1f
je 0x1401da9d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rsi - 8]
cmp rax, rsi
jb 0x1401da9e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rsi, rax
cmp rsi, 8
jae 0x1401da9f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rsi, 0x27
jbe 0x1401da9ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rsi, rax
mov rcx, rsi
call fcn.1401dd1a0
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x1401db2f0
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test rax, rax
je 0x1401db304
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1402b0690]
call fcn.1401dc6e0
int3