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

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
xor r15d, r15d
lea r12, [0x140000000]
movzx eax, byte [r15 + r12 + 0xac090]
mov edi, eax
mov r8d, eax
shr edi, 5
mov r11d, eax
shr r8d, 6
mov ebp, edi
lea edx, [rax + rax]
shr r11d, 7
xor edx, eax
and ebp, 4
mov r10d, edi
mov r9d, r8d
and edi, 1
and r10d, 2
imul ecx, edi, 0x1b000000
and r8d, 1
lea ebx, [rdx + rdx]
and r9d, 2
lea edx, [rdx*4]
xor ebx, eax
xor edx, eax
shl ebx, 0x19
shl edx, 8
mov esi, eax
xor rbx, rcx
mov r14d, eax
imul ecx, r10d, 0x1b000000
xor rbx, rcx
imul ecx, r8d, 0x1b000000
xor rbx, rcx
imul ecx, r9d, 0x1b000000
xor rbx, rcx
imul ecx, ebp, 0x1b000000
xor rbx, rcx
imul ecx, r11d, 0x1b000000
xor rbx, rcx
imul ecx, edi, 0x11b00
xor rdx, rcx
imul ecx, r10d, 0x11b00
xor rdx, rcx
imul ecx, r8d, 0x11b00
xor rdx, rcx
imul ecx, r9d, 0x11b00
xor rdx, rcx
imul ecx, ebp, 0x11b00
xor rdx, rcx
imul ecx, edi, 0x11b0000
or rbx, rdx
lea edx, [rax*8]
xor edx, eax
lea eax, [rax*4]
shl edx, 0x10
xor eax, r14d
xor rdx, rcx
imul ecx, r10d, 0x11b0000
xor rdx, rcx
imul ecx, ebp, 0x11b0000
xor rdx, rcx
imul ecx, edi, 0x11b
or rbx, rdx
lea edx, [rax + rax]
xor rdx, rcx
imul ecx, r10d, 0x11b
xor rdx, rcx
imul ecx, ebp, 0x11b
xor rdx, rcx
imul ecx, r11d, 0x11b
xor rdx, rcx
xor rdx, rsi
or rdx, rbx
shl rdx, 0x20
or rdx, rbx
or rdx, rsi
mov qword [r12 + r15*8 + 0xd1a50], rdx
inc r15
cmp r15, 0x100
jl 0x140093f27
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov byte [0x1400d2251], 1
pop r15
pop r14
pop r12
ret

Function at 0x140094090
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r11d, r11d
lea rbx, [0x140000000]
movzx r9d, byte [r11 + rbx + 0xabf90]
mov edx, r9d
shr edx, 7
imul r10d, edx, 0x1b000000
lea r8d, [r9 + r9]
imul ecx, edx, 0x11b
mov eax, r8d
shl eax, 0x18
xor r10, rax
mov eax, r9d
shl eax, 8
or eax, r9d
shl eax, 8
or r10, rax
mov eax, r8d
xor rcx, rax
xor rcx, r9
or rcx, r10
shl rcx, 0x20
or rcx, r10
mov qword [rbx + r11*8 + 0xd1240], rcx
inc r11
cmp r11, 0x100
jl 0x14009409f
and qword [0x1400d1a48], 0
and qword [0x1400d1a40], 0
mov rbx, qword [rsp + 8]
mov byte [0x1400d2250], 1
ret
Function at 0x140095b40
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400cb168]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, r8
mov rdi, rdx
mov ecx, dword [0x1400d28c0]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1400d2260], ecx
jg 0x140095c22
mov eax, ebx
cmp rbx, rax
jne 0x140095be4
xor ecx, ecx
test rbx, rbx
setne cl
xor eax, eax
test ebx, ebx
setne al
cmp ecx, eax
jne 0x140095be4
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [0x1400d2258]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x140095c65
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14009d8e0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov ecx, 0x5b6
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.GenerateBlock_size
lea rcx, [rsp + 0x20]
call fcn.14004d2f0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140095870
lea rdx, [0x1400c7248]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [0x1400d2260]
call fcn.14009daf0
cmp dword [0x1400d2260], 0xffffffff
jne 0x140095b8c
lea rcx, [0x1400d2258]
call fcn.140095784
lea rcx, [0x1400a1f3c]
call fcn.14009e03c
nop
lea rcx, [0x1400d2260]
call fcn.14009da84
jmp 0x140095b8c
mov ecx, eax
call fcn.140095ca8
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [0x1400aab28]
lea rcx, [rsp + 0x20]
call fcn.14004d2f0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140095870
lea rdx, [0x1400c7248]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x1400970ac
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp r8, 8
jb 0x14009711f
mov rbp, r8
shr rbp, 3
imul rax, rbp, 0xfffffffffffffff8
add rdi, rax
mov r8d, 8
lea rcx, [rsp + 0x58]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 8
lea rcx, [rsp + 0x50]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x50]
add rsi, 8
xor rax, qword [rsp + 0x58]
add rbx, 8
or r14, rax
sub rbp, 1
jne 0x1400970de
mov rcx, r14
shr rcx, 0x20
or ecx, r14d
mov edx, ecx
mov eax, ecx
shr edx, 8
or edx, ecx
shr eax, 0x10
and edx, 0xff00
or edx, eax
movzx eax, cl
shr edx, 8
or edx, eax
test rdi, rdi
je 0x140097161
sub rsi, rbx
movzx ecx, byte [rsi + rbx]
movzx eax, byte [rbx]
inc rbx
xor ecx, eax
or edx, ecx
sub rdi, 1
jne 0x14009714d
mov rbx, qword [rsp + 0x40]
test edx, edx
mov rbp, qword [rsp + 0x48]
sete al
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14009717c
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
je 0x140097242
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov r15d, 4
mov rdi, r8
mov rsi, rdx
mov r14, rcx
cmp rbx, r15
jb 0x14009720d
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r15
lea rcx, [rsp + 0x20]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r15
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x68]
lea rdx, [rsp + 0x24]
xor eax, dword [rsp + 0x20]
mov r8, r15
mov rcx, r14
mov dword [rsp + 0x24], eax
call sub.VCRUNTIME140.dll_memcpy
add r14, r15
add rsi, r15
add rdi, r15
sub rbp, 1
jne 0x1400971c2
test rbx, rbx
je 0x14009722a
sub rsi, rdi
sub r14, rdi
mov al, byte [rsi + rdi]
xor al, byte [rdi]
mov byte [r14 + rdi], al
inc rdi
sub rbx, 1
jne 0x140097218
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x140097244
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400972f1
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, r8
mov r14d, 4
mov rsi, rdx
mov rdi, rcx
cmp rbx, r14
jb 0x1400972c9
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r14
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r14
lea rcx, [rsp + 0x60]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x60]
lea rdx, [rsp + 0x20]
xor eax, dword [rsp + 0x68]
mov r8, r14
mov rcx, rdi
mov dword [rsp + 0x20], eax
call sub.VCRUNTIME140.dll_memcpy
add rdi, r14
add rsi, r14
sub rbp, 1
jne 0x140097281
test rbx, rbx
je 0x1400972df
sub rsi, rdi
mov al, byte [rsi + rdi]
xor byte [rdi], al
inc rdi
sub rbx, 1
jne 0x1400972d1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14009d23c
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm1, xmmword [rcx]
mov r9d, 4
shl edx, 2
mov r8, rcx
movdqu xmm0, xmmword [rcx + rdx*4]
movdqu xmmword [rcx], xmm0
movdqu xmmword [rcx + rdx*4], xmm1
add edx, 0xfffffffc
cmp edx, r9d
jbe 0x14009d28b
aesimc xmm0, xmmword [r8 + rdx*4]
mov ecx, r9d
add r9d, 4
aesimc xmm1, xmmword [r8 + rcx*4]
movdqu xmmword [r8 + rcx*4], xmm0
movdqu xmmword [r8 + rdx*4], xmm1
add edx, 0xfffffffc
cmp r9d, edx
jb 0x14009d262
mov eax, r9d
aesimc xmm0, xmmword [r8 + rax*4]
movdqu xmmword [r8 + rax*4], xmm0
ret

Function at 0x14009e7d8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009e822
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009e822
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009e822
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009e822
cmp dword [rcx + 0x84], 0xe
jbe 0x14009e822
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14009e824
xor al, al
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x5c], 0
mov rbx, rcx
jne 0x14000105a
cmp dword [rcx + 8], 0
jne 0x14000106a
call fcn.1400e3480
mov edx, 1
mov r8d, 0x4000
mov dword [rax], 0
mov r9, qword [rbx + 0x60]
mov rcx, qword [rbx + 0x68]
call fcn.1400e3348
test eax, eax
mov dword [rbx + 8], eax
jne 0x140001063
mov rcx, qword [rbx + 0x60]
mov dword [rbx + 0x5c], 1
call fcn.1400e3100
test eax, eax
je 0x14000105a
mov dword [rbx + 0x58], 0xffffffff
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
mov rax, qword [rbx + 0x68]
mov qword [rbx], rax
mov rax, qword [rbx]
add dword [rbx + 8], 0xffffffff
movzx ecx, byte [rax]
add rax, 1
mov qword [rbx], rax
mov eax, ecx
add rsp, 0x20
pop rbx
ret

Function at 0x140001090
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov ebx, dword [rcx + 8]
mov rdi, rcx
cmp ebx, 2
jae 0x14000111f
test ebx, ebx
je 0x1400010b5
mov rax, qword [rcx]
mov rdx, qword [rcx + 0x68]
movzx eax, byte [rax]
mov byte [rdx], al
call fcn.1400e3480
mov ecx, ebx
mov edx, 1
mov dword [rax], 0
mov r9, qword [rdi + 0x60]
mov eax, 0x4000
sar eax, cl
mov rcx, rbx
add rcx, qword [rdi + 0x68]
movsxd r8, eax
call fcn.1400e3348
test eax, eax
mov rbx, rax
jne 0x1400010fc
mov rcx, qword [rdi + 0x60]
call fcn.1400e3100
test eax, eax
je 0x1400010fc
mov dword [rdi + 0x58], 0xffffffff
add dword [rdi + 8], ebx
mov ecx, dword [rdi + 8]
mov rax, qword [rdi + 0x68]
cmp ecx, 2
mov qword [rdi], rax
jae 0x14000111f
mov dword [rdi + 0x90], ecx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rdi]
cmp byte [rax], 0x1f
jne 0x140001235
cmp byte [rax + 1], 0x8b
jne 0x140001235
add dword [rdi + 8], 0xfffffffe
add rax, 2
mov rcx, rdi
mov qword [rdi], rax
mov qword [rsp + 0x30], rsi
call fcn.140001000
mov rcx, rdi
mov ebx, eax
call fcn.140001000
cmp ebx, 8
mov esi, eax
jne 0x14000121e
test al, 0xe0
jne 0x14000121e
mov ebx, 6
nop
mov rcx, rdi
call fcn.140001000
sub rbx, 1
jne 0x140001170
test sil, 4
je 0x1400011b6
mov rcx, rdi
call fcn.140001000
mov rcx, rdi
mov ebx, eax
call fcn.140001000
shl eax, 8
add ebx, eax
nop
nop
mov ecx, ebx
add ebx, 0xffffffff
test ecx, ecx
je 0x1400011b6
mov rcx, rdi
call fcn.140001000
cmp eax, 0xffffffff
jne 0x1400011a0
test sil, 8
je 0x1400011d1
nop
mov rcx, rdi
call fcn.140001000
test eax, eax
je 0x1400011d1
cmp eax, 0xffffffff
jne 0x1400011c0
test sil, 0x10
je 0x1400011e8
mov rcx, rdi
call fcn.140001000
test eax, eax
je 0x1400011e8
cmp eax, 0xffffffff
jne 0x1400011d7
test sil, 2
je 0x140001201
mov ebx, 2
mov rcx, rdi
call fcn.140001000
sub rbx, 1
jne 0x1400011f3
mov eax, dword [rdi + 0x5c]
mov rsi, qword [rsp + 0x30]
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
mov dword [rdi + 0x58], ecx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov dword [rdi + 0x58], 0xfffffffd
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov dword [rdi + 0x90], 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001320
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
test rcx, rcx
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
je 0x1400013f6
cmp byte [rcx + 0x94], 0x77
jne 0x1400013f6
test r8d, r8d
mov qword [rcx], rdx
mov dword [rcx + 8], r8d
je 0x1400013d0
nop
nop
cmp dword [rbx + 0x18], 0
jne 0x14000138d
mov rcx, qword [rbx + 0x70]
mov r9, qword [rbx + 0x60]
mov edx, 1
mov r8d, 0x4000
mov qword [rbx + 0x10], rcx
call fcn.1400de0e8
cmp rax, 0x4000
jne 0x1400013c9
mov dword [rbx + 0x18], eax
mov eax, dword [rbx + 8]
xor edx, edx
mov rcx, rbx
add dword [rbx + 0x9c], eax
mov eax, dword [rbx + 0x18]
add dword [rbx + 0xa0], eax
call fcn.1400019e0
mov ecx, dword [rbx + 8]
sub dword [rbx + 0x9c], ecx
mov ecx, dword [rbx + 0x18]
mov dword [rbx + 0x58], eax
sub dword [rbx + 0xa0], ecx
test eax, eax
jne 0x1400013d0
cmp dword [rbx + 8], eax
jne 0x140001360
jmp 0x1400013d0
mov dword [rbx + 0x58], 0xffffffff
mov ecx, dword [rbx + 0x78]
mov r8d, edi
mov rdx, rsi
call fcn.140003a50
sub edi, dword [rbx + 8]
mov dword [rbx + 0x78], eax
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, 0xfffffffe
add rsp, 0x20
pop rdi
ret

Function at 0x140001410
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
sub rsp, 0x20
xor r12d, r12d
test rcx, rcx
mov ebp, edx
mov esi, r12d
mov rbx, rcx
je 0x14000150f
cmp byte [rcx + 0x94], 0x77
jne 0x14000150f
mov qword [rsp + 0x30], rdi
mov dword [rcx + 8], r12d
nop
mov edi, 0x4000
sub edi, dword [rbx + 0x18]
je 0x140001486
mov r9, qword [rbx + 0x60]
mov rcx, qword [rbx + 0x70]
mov r8d, edi
mov edx, 1
call fcn.1400de0e8
cmp eax, edi
jne 0x140001503
mov rax, qword [rbx + 0x70]
mov dword [rbx + 0x18], 0x4000
mov qword [rbx + 0x10], rax
test esi, esi
jne 0x1400014de
mov eax, dword [rbx + 0x18]
mov edx, ebp
mov rcx, rbx
add dword [rbx + 0xa0], eax
call fcn.1400019e0
mov ecx, dword [rbx + 0x18]
sub dword [rbx + 0xa0], ecx
test edi, edi
mov dword [rbx + 0x58], eax
jne 0x1400014b6
cmp eax, 0xfffffffb
jne 0x1400014b6
mov dword [rbx + 0x58], r12d
test ecx, ecx
jne 0x1400014c5
cmp dword [rbx + 0x58], 1
je 0x1400014c5
mov esi, r12d
jmp 0x1400014ca
mov esi, 1
mov eax, dword [rbx + 0x58]
test eax, eax
je 0x140001450
cmp eax, 1
je 0x140001450
mov eax, dword [rbx + 0x58]
cmp eax, 1
cmove eax, r12d
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
mov dword [rbx + 0x58], 0xffffffff
or eax, 0xffffffff
jmp 0x1400014e8
mov eax, 0xfffffffe
jmp 0x1400014ed
Function at 0x1400025c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, dword [rcx + 0x44]
mov rdi, rcx
mov qword [rsp + 0x30], rbp
nop
nop
mov edx, dword [rdi + 0x94]
mov esi, dword [rdi + 0x58]
mov eax, dword [rdi + 0x44]
sub esi, dword [rdi + 0x9c]
lea ecx, [rbx + rax - 0x106]
sub esi, edx
cmp edx, ecx
jb 0x14000267c
mov rcx, qword [rdi + 0x50]
mov r8, rbx
lea rdx, [rcx + rbx]
call fcn.1400dc430
mov r8d, dword [rdi + 0x74]
mov rax, qword [rdi + 0x68]
sub dword [rdi + 0x98], ebx
sub dword [rdi + 0x94], ebx
sub dword [rdi + 0x84], ebx
lea rdx, [rax + r8*2]
nop
movzx eax, word [rdx - 2]
sub rdx, 2
cmp eax, ebx
jb 0x140002640
sub eax, ebx
jmp 0x140002642
xor eax, eax
add r8d, 0xffffffff
mov word [rdx], ax
jne 0x140002630
mov rax, qword [rdi + 0x60]
mov edx, ebx
lea rcx, [rax + rbx*2]
nop
nop
nop
movzx eax, word [rcx - 2]
sub rcx, 2
cmp eax, ebx
jb 0x140002670
sub eax, ebx
jmp 0x140002672
xor eax, eax
add edx, 0xffffffff
mov word [rcx], ax
jne 0x140002660
add esi, ebx
mov rcx, qword [rdi]
cmp dword [rcx + 8], 0
je 0x1400026f7
mov edx, dword [rdi + 0x9c]
mov eax, dword [rdi + 0x94]
mov r8d, esi
add rdx, rax
add rdx, qword [rdi + 0x50]
call fcn.140002370
add dword [rdi + 0x9c], eax
mov r9d, dword [rdi + 0x9c]
cmp r9d, 3
jb 0x1400026e1
mov eax, dword [rdi + 0x94]
mov rdx, qword [rdi + 0x50]
mov ecx, dword [rdi + 0x80]
movzx r8d, byte [rax + rdx]
add eax, 1
mov dword [rdi + 0x70], r8d
movzx eax, byte [rax + rdx]
shl r8d, cl
xor r8d, eax
and r8d, dword [rdi + 0x7c]
mov dword [rdi + 0x70], r8d
cmp r9d, 0x106
jae 0x1400026f7
mov rax, qword [rdi]
cmp dword [rax + 8], 0
jne 0x1400025e0
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140007b5e
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140007b62
dec edx
test dl, 3
jne 0x140007b60
xor eax, eax
test edx, edx
jbe 0x140007b7d
movsxd rdx, edx
xor dword [rax + rcx], r8d
add rax, 4
cmp rax, rdx
jb 0x140007b70
ret

Function at 0x14000831e
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
xor r10d, r10d
mov r11, rcx
xor r9d, r9d
xor ecx, ecx
test edx, edx
jbe 0x140008371
mov eax, r8d
shr eax, 8
mov byte [rsp + 0x22], al
mov eax, r8d
mov byte [rsp + 0x23], r8b
shr eax, 0x10
shr r8d, 0x18
mov byte [rsp + 0x21], al
xor eax, eax
mov byte [rsp + 0x20], r8b
mov r8b, byte [rsp + rcx + 0x20]
inc eax
inc ecx
cmp rcx, 4
cmove rcx, r9
xor byte [r11 + r10], r8b
mov r10d, eax
cmp eax, edx
jb 0x140008355
add rsp, 0x28
ret
Function at 0x140011628
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x310
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140176810]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rsi, rcx
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x68]
call fcn.140011e64
nop
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
xor r14d, r14d
mov ecx, r14d
cmp rax, 0xffffffffffffffff
setne cl
lea r15d, [r14 + 7]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r14
mov word [rsp + 0x28], r14w
test ecx, ecx
je 0x1400117b8
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x58], r14
mov word [rsp + 0x48], r14w
cmp word [rbp - 0x24], r14w
jne 0x1400116d4
mov rax, r14
jmp 0x1400116dd
lea rcx, [rbp - 0x24]
call fcn.1400ded00
mov r8, rax
lea rdx, [rbp - 0x24]
lea rcx, [rsp + 0x48]
call fcn.140010250
nop
lea r8, [rsp + 0x48]
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.140011e64
mov rdi, rax
lea rax, [rsp + 0x28]
cmp rax, rdi
je 0x14001173c
cmp qword [rsp + 0x40], 8
jb 0x14001171f
mov rcx, qword [rsp + 0x28]
call fcn.1400400f0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r14
mov word [rsp + 0x28], r14w
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140010474
cmp qword [rbp - 0x60], 8
jb 0x14001174c
mov rcx, qword [rbp - 0x78]
call fcn.1400400f0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x68], r14
mov word [rbp - 0x78], r14w
cmp qword [rsp + 0x60], 8
jb 0x14001176b
mov rcx, qword [rsp + 0x48]
call fcn.1400400f0
test byte [rbp - 0x50], 4
jne 0x1400117a3
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1400117a3
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400116b8
cmp rbx, 0xffffffffffffffff
je 0x1400117c8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x40], 8
jb 0x1400117da
mov rcx, qword [rsp + 0x28]
call fcn.1400400f0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r14
mov word [rsp + 0x28], r14w
cmp qword [rbp - 0x80], 8
jb 0x1400117fb
mov rcx, qword [rsp + 0x68]
call fcn.1400400f0
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400dc400
mov rbx, qword [rsp + 0x350]
add rsp, 0x310
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140011d4c
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov byte [rax + 0x10], dl
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x140011d79
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x140011d8b
mov al, 1
jmp 0x140011e50
xor ebx, ebx
mov qword [rbp + 7], rbx
xor edx, edx
lea r8d, [rbx + 0x30]
lea rcx, [rbp + 0xf]
call fcn.1400ddc70
mov dword [rbp + 0xf], 3
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], rbx
cmp qword [rdi + 0x18], 8
jb 0x140011dbf
mov rcx, qword [rdi]
jmp 0x140011dc2
mov rcx, rdi
mov rax, qword [rdi + 0x10]
lea r9, [rcx + rax*2]
cmp qword [rdi + 0x18], 8
jb 0x140011dd4
mov rdi, qword [rdi]
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.140015fd0
mov word [rbp + 0x6f], bx
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
mov r8, qword [rbp - 9]
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x11]
call fcn.140014810
mov word [rbp + 0x6f], bx
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
mov r8, qword [rbp - 9]
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x11]
call fcn.140014810
mov rdi, qword [rbp - 0x11]
mov qword [rbp + 0x17], rdi
mov eax, 0x494
mov word [rbp + 0x27], ax
lea rcx, [rbp + 7]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete sil
test rdi, rdi
je 0x140011e4d
mov rcx, rdi
call fcn.1400400f0
mov al, sil
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400120a8
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
cmp qword [rcx + 0x10], rdi
jne 0x1400120c1
xor al, al
jmp 0x140012129
cmp qword [rcx + 0x18], 8
jb 0x1400120cb
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x1400120fb
cmp qword [rbx + 0x18], 8
jb 0x1400120e2
mov rcx, qword [rbx]
jmp 0x1400120e5
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1400120fb
mov rcx, rbx
call fcn.140012134
test al, al
je 0x1400120bd
cmp qword [rbx + 0x18], 8
jb 0x140012105
mov rbx, qword [rbx]
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, eax
test eax, eax
je 0x140012123
sub ecx, 0x50
je 0x140012123
cmp ecx, 0x67
jne 0x140012126
mov dil, 1
mov al, dil
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140012134
Capabilities:
Check if file exists
Delete file

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 8
mov rbx, rcx
jb 0x140012147
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x140012156
mov al, 1
jmp 0x14001216f
cmp qword [rbx + 0x18], 8
jb 0x140012160
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
sete al
add rsp, 0x20
pop rbx
ret