joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14014be30
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x3c], r9d
test r8, r8
je 0x14014bf4d
mov rbp, rcx
mov rcx, r8
mov r14, r8
call sub.msvcrt.dll_strlen
mov rdi, rax
test rax, rax
je 0x14014bf4d
mov edx, 0x100
mov ecx, 1
xor esi, esi
xor ebx, ebx
call sub.msvcrt.dll_calloc
mov r12d, 0x100
lea r13, [rsp + 0x4c]
mov r15, rax
nop
mov r8d, r12d
lea rdx, [r15 + rbx]
mov r9, r13
mov rcx, rbp
mov dword [rsp + 0x4c], 0
sub r8d, esi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [rsp + 0x4c]
test edx, edx
jle 0x14014bf60
test eax, eax
je 0x14014bf64
add esi, edx
lea ebx, [rsi + 1]
cmp ebx, r12d
jl 0x14014bef6
mov rcx, r15
nop dword [rax + rax]
add r12, r12
mov rdx, r12
call sub.msvcrt.dll_realloc
mov rcx, rax
cmp ebx, r12d
jge 0x14014bee0
mov r15, rax
movsxd rbx, esi
cmp esi, edi
jl 0x14014be90
mov rcx, rbx
mov r8, rdi
mov rdx, r14
sub rcx, rdi
add rcx, r15
call qword [sym.imp.msvcrt.dll__strnicmp]
test eax, eax
jne 0x14014be90
cmp byte [rsp + 0x3c], 0
je 0x14014bf7e
sub esi, edi
cmp qword [rsp + 0x30], 0
movsxd rdx, esi
mov byte [r15 + rdx], 0
je 0x14014bfae
mov rax, qword [rsp + 0x30]
mov dword [rax], esi
add rdx, 1
jne 0x14014bf96
test r15, r15
je 0x14014bf4d
mov rcx, r15
call sub.msvcrt.dll_free
add rsp, 0x58
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test eax, eax
jne 0x14014bf1a
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14014bf45
mov dword [rax], 0
mov rcx, r15
call sub.msvcrt.dll_free
jmp 0x14014bf4d
cmp qword [rsp + 0x30], 0
mov byte [r15 + rbx], 0
je 0x14014bfae
mov rax, qword [rsp + 0x30]
lea rdx, [rbx + 1]
mov dword [rax], esi
add rsp, 0x58
mov rcx, r15
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sub.msvcrt.dll_realloc
movsxd rdx, dword [pe_dos_header]
jmp 0x14014bf3a
Function at 0x14014f100
Capabilities:
Encode data using xor

Disassembly:
push r12
mov r10, rcx
mov r11, rdx
xor r9d, r9d
push rbp
push rdi
push rsi
push rbx
mov qword [rcx], 0
mov qword [rcx + 8], 0
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0
nop
movzx ecx, word [r11 + r9*2 + 0x200]
movzx edx, word [r11 + r9*2]
movzx ebx, word [r11 + r9*2 + 0x400]
movzx r12d, word [r11 + r9*2 + 0x600]
mov r8d, edx
imul edx, edx, 0x554f
mov eax, r8d
shr edx, 0x10
sub eax, edx
shr ax, 1
add eax, edx
shr ax, 0xd
lea edx, [rax + rax*2]
shl edx, 0xc
add eax, edx
sub r8d, eax
mov eax, ecx
imul ecx, ecx, 0x554f
mov edx, eax
sub r8w, 0x1800
mov edi, r8d
sar di, 0xf
shr ecx, 0x10
sub edx, ecx
shr dx, 1
add edx, ecx
shr dx, 0xd
lea ecx, [rdx + rdx*2]
shl ecx, 0xc
add edx, ecx
mov ecx, ebx
imul ebx, ebx, 0x554f
sub eax, edx
mov edx, ecx
sub ax, 0x1800
mov ebp, eax
shr ebx, 0x10
sar bp, 0xf
sub edx, ebx
shr dx, 1
add edx, ebx
shr dx, 0xd
lea ebx, [rdx + rdx*2]
shl ebx, 0xc
add edx, ebx
sub ecx, edx
mov edx, r12d
sub cx, 0x1800
mov ebx, edx
mov esi, ecx
sar si, 0xf
imul r12d, r12d, 0x554f
add eax, ebp
add r8d, edi
xor eax, ebp
xor r8d, edi
add ecx, esi
xor ecx, esi
lea eax, [rax + r8 - 0x3001]
shr r12d, 0x10
add eax, ecx
mov ecx, r9d
sub ebx, r12d
and ecx, 7
shr bx, 1
add ebx, r12d
shr bx, 0xd
lea r12d, [rbx + rbx*2]
shl r12d, 0xc
add ebx, r12d
sub edx, ebx
sub dx, 0x1800
mov ebx, edx
sar bx, 0xf
add edx, ebx
xor edx, ebx
add eax, edx
mov edx, r9d
add r9, 1
shr edx, 3
shr ax, 0xf
shl eax, cl
or byte [r10 + rdx], al
cmp r9, 0x100
jne 0x14014f130
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x14014f5b0
Capabilities:
Encode data using xor

Disassembly:
push r15
mov eax, 1
lea r15, [0x1402cd580]
push r14
push r13
push r12
push rbp
push rdi
push rsi
mov rsi, rcx
mov ecx, r8d
push rbx
shl rax, cl
mov ecx, 0xa
lea rdi, [rax - 1]
sub ecx, r8d
sub rsp, 0x68
mov qword [rsp + 0xb8], rdx
mov edx, 1
lea rbp, [rsp + 0x58]
add rax, qword [rsp + 0xb8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb8]
shl edx, cl
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x2c], 0
mov qword [rsp + 0x30], rdi
movabs rdi, 0x7fffffffffffffff
mov rax, qword [rsp + 0x40]
sub rax, qword [rsp + 0xb8]
mov qword [rsp + 0x38], rax
xor r14d, r14d
xor r12d, r12d
nop word [rax + rax]
mov r8d, 8
mov rdx, rbp
mov rcx, rsi
call fcn.1401115a0
mov r13, qword [rsp + 0x58]
mov rcx, rsi
mov rdx, rbp
movabs rax, 0xee2ec827d20d54a8
mov r8d, 8
mov rbx, r13
and r13, rdi
add r13, rax
shr rbx, 0x3f
call fcn.1401115a0
mov r10, qword [rsp + 0x58]
shr r13, 0x3f
xor r8d, r8d
mov ecx, 1
and r10, rdi
nop word [rax + rax]
mov rdx, r10
sub rdx, qword [r15 + rcx*8]
mov eax, r13d
shr rdx, 0x3f
xor eax, 1
xor edx, 1
and eax, edx
or r13d, edx
neg eax
and eax, ecx
add rcx, 1
or r8d, eax
cmp rcx, 0x1b
jne 0x14014f6a0
mov eax, ebx
add r14d, 1
neg eax
xor eax, r8d
add eax, ebx
add r12d, eax
cmp dword [rsp + 0x28], r14d
ja 0x14014f648
lea eax, [r12 + 0x7f]
cmp eax, 0xfe
ja 0x14014f63c
mov eax, r12d
mov rcx, qword [rsp + 0x38]
and eax, 1
cmp qword [rsp + 0x30], rcx
jne 0x14014f740
cmp dword [rsp + 0x2c], eax
je 0x14014f63c
mov ebx, r12d
mov rax, qword [rsp + 0x40]
mov byte [rax], bl
add rax, 1
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x48], rax
jne 0x14014f62a
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor dword [rsp + 0x2c], eax
mov ebx, r12d
jmp 0x14014f714
Function at 0x140157600
Capabilities:
Encode data using xor

Disassembly:
neg r9d
test r8, r8
je 0x140157810
lea r11, [rdx + 1]
mov r10, rcx
lea rax, [r8 - 1]
sub r10, r11
cmp r10, 0xe
jbe 0x1401577e0
cmp rax, 6
jbe 0x1401577e0
push rbp
mov rbp, rsp
push rsi
push rbx
and rsp, 0xfffffffffffffff0
cmp rax, 0xe
jbe 0x140157811
movd xmm1, r9d
mov r10, r8
xor eax, eax
punpcklbw xmm1, xmm1
and r10, 0xfffffffffffffff0
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
nop dword [rax]
movdqu xmm3, xmmword [rcx + rax]
movdqu xmm0, xmmword [rdx + rax]
pxor xmm0, xmm3
pand xmm0, xmm1
pxor xmm0, xmm3
movups xmmword [rcx + rax], xmm0
add rax, 0x10
cmp r10, rax
jne 0x140157660
mov rax, r8
and rax, 0xfffffffffffffff0
test r8b, 0xf
je 0x1401577d8
mov rbx, r8
sub rbx, rax
lea r10, [rbx - 1]
cmp r10, 6
jbe 0x1401576ec
mov r10d, r9d
lea rsi, [rcx + rax]
movzx r11d, r9b
movq xmm0, qword [rdx + rax]
shl r10d, 8
movq xmm1, qword [rsi]
or r10d, r11d
movd xmm5, r10d
pxor xmm0, xmm1
mov r10, rbx
pshuflw xmm2, xmm5, 0
and r10, 0xfffffffffffffff8
pand xmm0, xmm2
add rax, r10
pxor xmm0, xmm1
movq qword [rsi], xmm0
cmp rbx, r10
je 0x1401577d8
lea r11, [rcx + rax]
movzx r10d, byte [rdx + rax]
movzx ebx, byte [r11]
xor r10d, ebx
and r10d, r9d
xor r10d, ebx
mov byte [r11], r10b
lea r10, [rax + 1]
cmp r8, r10
jbe 0x1401577d8
add r10, rcx
movzx r11d, byte [rdx + rax + 1]
movzx ebx, byte [r10]
xor r11d, ebx
and r11d, r9d
xor r11d, ebx
mov byte [r10], r11b
lea r10, [rax + 2]
cmp r8, r10
jbe 0x1401577d8
add r10, rcx
movzx r11d, byte [rdx + rax + 2]
movzx ebx, byte [r10]
xor r11d, ebx
and r11d, r9d
xor r11d, ebx
mov byte [r10], r11b
lea r10, [rax + 3]
cmp r8, r10
jbe 0x1401577d8
add r10, rcx
movzx r11d, byte [rdx + rax + 3]
movzx ebx, byte [r10]
xor r11d, ebx
and r11d, r9d
xor r11d, ebx
mov byte [r10], r11b
lea r10, [rax + 4]
cmp r8, r10
jbe 0x1401577d8
add r10, rcx
movzx r11d, byte [rdx + rax + 4]
movzx ebx, byte [r10]
xor r11d, ebx
and r11d, r9d
xor r11d, ebx
mov byte [r10], r11b
lea r10, [rax + 5]
cmp r8, r10
jbe 0x1401577d8
add r10, rcx
movzx r11d, byte [rdx + rax + 5]
movzx ebx, byte [r10]
xor r11d, ebx
and r11d, r9d
xor r11d, ebx
mov byte [r10], r11b
lea r10, [rax + 6]
cmp r8, r10
jbe 0x1401577d8
add r10, rcx
movzx esi, byte [rdx + rax + 6]
movzx ecx, byte [r10]
xor esi, ecx
mov eax, esi
and eax, r9d
xor eax, ecx
mov byte [r10], al
lea rsp, [rbp - 0x10]
pop rbx
pop rsi
pop rbp
ret
xor eax, eax
nop word [rax + rax]
movzx r11d, byte [rcx + rax]
movzx r10d, byte [rdx + rax]
xor r10d, r11d
and r10d, r9d
xor r10d, r11d
mov byte [rcx + rax], r10b
add rax, 1
cmp r8, rax
jne 0x1401577e8
ret
ret
mov rbx, r8
xor eax, eax
jmp 0x1401576a4
Function at 0x14015c460
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14015c660
lea rax, [r8 - 1]
mov r10, rcx
mov r11, rdx
cmp rax, 0xe
jbe 0x14015c663
mov rdx, r8
xor eax, eax
pxor xmm0, xmm0
and rdx, 0xfffffffffffffff0
nop word [rax + rax]
movdqu xmm1, xmmword [r10 + rax]
movdqu xmm2, xmmword [r11 + rax]
add rax, 0x10
pxor xmm1, xmm2
por xmm0, xmm1
cmp rax, rdx
jne 0x14015c490
movdqa xmm1, xmm0
mov r9, r8
psrldq xmm1, 8
and r9, 0xfffffffffffffff0
por xmm0, xmm1
movdqa xmm1, xmm0
psrldq xmm1, 4
por xmm0, xmm1
movdqa xmm1, xmm0
psrldq xmm1, 2
por xmm0, xmm1
movdqa xmm1, xmm0
psrldq xmm1, 1
por xmm0, xmm1
movd eax, xmm0
test r8b, 0xf
je 0x14015c66d
xor eax, eax
ret
xor eax, eax
xor r9d, r9d
jmp fcn.14015c4f6
movzx eax, al
neg rax
shr rax, 0x3f
ret
Function at 0x14015dcd0
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbx
xor r8d, r8d
mov ebx, ecx
xor edx, edx
mov r9d, 1
sub rsp, 0x40
mov dword [rsp + 0x20], 0xf0000000
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x14015dd10
mov eax, dword [rsp + 0x34]
xor edx, edx
add rsp, 0x40
div ebx
pop rbx
mov eax, edx
ret
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x34]
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x14015dcf9
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [rsp + 0x34]
xor edx, edx
add rsp, 0x40
div ebx
pop rbx
mov eax, edx
ret

Function at 0x14015dd50
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push r12
xor r8d, r8d
mov r12d, edx
mov r9d, 1
push rbx
xor edx, edx
mov rbx, rcx
sub rsp, 0x48
mov dword [rsp + 0x20], 0xf0000000
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x14015dd90
add rsp, 0x48
mov eax, 1
pop rbx
pop r12
ret
mov rcx, qword [rsp + 0x38]
mov r8, rbx
mov edx, r12d
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x14015dd7f
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
add rsp, 0x48
xor eax, eax
pop rbx
pop r12
ret

Function at 0x14015dde0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
push rbx
lea rbx, [0x1403ee7a0]
mov rcx, rbx
and rsp, 0xfffffffffffffff0
sub rsp, 0xa0
call sub.msvcrt.dll_strlen
mov r8, rax
mov rax, rbx
cmp r8, 3
jbe 0x14015de18
mov rbx, qword [rbp - 8]
leave
ret
xor r8d, r8d
mov byte [rsp + 0x90], 0
movabs rax, 0x4552415754464f53
movabs rdx, 0x6f736f7263694d5c
mov qword [rsp + 0x50], rax
mov r9d, 0x20019
movabs rax, 0x6f646e69575c7466
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x58], rdx
movabs rdx, 0x65727275435c7377
mov qword [rsp + 0x60], rax
movabs rax, 0x6f6973726556746e
mov qword [rsp + 0x68], rdx
movabs rdx, 0x726f6c7078455c6e
mov qword [rsp + 0x70], rax
movabs rax, 0x6c6c6568535c7265
mov qword [rsp + 0x78], rdx
movabs rdx, 0x737265646c6f4620
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x88], rdx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov r8d, eax
xor eax, eax
test r8d, r8d
jne 0x14015de0b
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rbx
xor edx, edx
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x44], 0x104
mov r9d, 2
lea r8, [0x1403e01da]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rbx, qword [rbp - 8]
leave
ret
Function at 0x1401aa150
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x48
mov qword [rsp + 0x70], r8
test r8, r8
je 0x1401aa200
mov r12, rdx
test rdx, rdx
je 0x1401aa200
mov rbx, rcx
mov r8d, 1
lea rcx, [rsp + 0x70]
mov edx, 8
mov r9, qword [rbx + 0x118]
call sub.msvcrt.dll_fwrite
cmp rax, 1
jne 0x1401aa1c0
mov r9, qword [rbx + 0x118]
mov rdx, qword [rsp + 0x70]
mov r8d, 1
mov rcx, r12
call sub.msvcrt.dll_fwrite
cmp rax, 1
jne 0x1401aa231
xor eax, eax
add rsp, 0x48
pop rbx
pop r12
ret
lea rax, [rbx + 0x10]
mov r9d, 7
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x30], rax
mov rax, qword [rbx]
lea r8, str.dap_chain_cell
mov qword [rsp + 0x28], rax
lea rax, str.Cant_write_atom_data_size_from_cell_0x_016llX_in___s_
mov qword [rsp + 0x20], rax
call fcn.14005aec0
mov eax, 0xfffffffe
jmp 0x1401aa1b8
lea rax, [0x1402aa122]
mov r9d, 8
lea r8, str.dap_chain_cell
mov edx, 0x127
mov qword [rsp + 0x20], rax
lea rcx, str.s_file_atom_add
call fcn.14005aec0
mov eax, 0xffffffff
jmp 0x1401aa1b8
lea rax, [rbx + 0x10]
mov r9d, 7
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x30], rax
mov rax, qword [rbx]
lea r8, str.dap_chain_cell
mov qword [rsp + 0x28], rax
lea rax, str.Cant_write_data_from_cell_0x_016llX_to_the_file___s_
mov qword [rsp + 0x20], rax
call fcn.14005aec0
mov eax, 0xfffffffd
jmp 0x1401aa1b8
Function at 0x1401aa270
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
push rsi
push rbx
mov rbx, rcx
lea rsi, [rbx + 0x10]
and rsp, 0xfffffffffffffff0
sub rsp, 0x70
mov rcx, qword [rcx + 0x118]
test rcx, rcx
je 0x1401aa3de
xor edx, edx
mov r8d, 2
call sub.msvcrt.dll_fseek
mov rcx, qword [rbx + 0x118]
call sub.msvcrt.dll_ftell
cmp eax, 0x25
jg 0x1401aa3a8
movabs rax, 0xfa340bef153eba48
mov byte [rsp + 0x64], 0
mov r9, qword [rbx + 0x118]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx]
mov r8d, 1
mov edx, 0x25
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x4d], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
mov rax, qword [rax + 0x10]
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x55], rax
call sub.msvcrt.dll_fwrite
mov qword [rsp + 0x30], rsi
cmp rax, 1
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
jne 0x1401aa378
lea rax, str.Initialized_file_storage_for_cell_0x_016llX____s__
mov r9d, 2
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea r8, str.dap_chain_cell
call fcn.14005aec0
mov rcx, qword [rbx + 0x118]
call sub.msvcrt.dll_fflush
xor eax, eax
lea rsp, [rbp - 0x10]
pop rbx
pop rsi
pop rbp
ret
lea rax, str.Cant_init_file_storage_for_cell_0x_016llX____s__
mov r9d, 7
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea r8, str.dap_chain_cell
call fcn.14005aec0
mov eax, 0xffffffff
jmp 0x1401aa36a
mov rax, qword [rbx]
mov qword [rsp + 0x28], rsi
mov r9d, 7
xor edx, edx
lea r8, str.dap_chain_cell
xor ecx, ecx
mov qword [rsp + 0x30], rax
lea rax, str.Chain_cell___s__0x_016llX_is_already_not_empty_
mov qword [rsp + 0x20], rax
call fcn.14005aec0
mov eax, 0xfffffffd
jmp 0x1401aa36a
mov rax, qword [rbx]
mov qword [rsp + 0x28], rsi
mov r9d, 7
xor edx, edx
lea r8, str.dap_chain_cell
mov qword [rsp + 0x30], rax
lea rax, str.Chain_cell___s__0x_016llX_not_opened
mov qword [rsp + 0x20], rax
call fcn.14005aec0
mov eax, 0xfffffffe
jmp 0x1401aa36a
Function at 0x1401eec80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r14
push r13
mov r13d, r8d
push r12
push rdi
push rsi
mov rsi, rdx
push rbx
mov rbx, rcx
sub rsp, 0x48
call fcn.1400f4340
mov rcx, rax
mov r12, rax
call fcn.140100d20
mov rcx, rbx
mov r14, rax
call fcn.140100d20
mov rdi, rax
test rbx, rbx
je 0x1401eeccf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1401eeccf
test al, 0x10
jne 0x1401eedc8
test rsi, rsi
je 0x1401eecea
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1401eecea
test al, 0x80
jne 0x1401eee28
mov rcx, r12
sub rdi, r14
call sub.msvcrt.dll_free
mov rcx, rsi
call fcn.140035ff0
mov r12, rax
test rax, rax
je 0x1401eeee8
mov rcx, r12
call fcn.140036200
test rax, rax
je 0x1401eed94
cmp byte [rax + 8], 0x2e
lea rdx, [rax + 8]
jne 0x1401eed30
cmp byte [rdx + 1], 0
je 0x1401eed09
nop word cs:[rax + rax]
cmp byte [rax + 8], 0x2e
je 0x1401eedb0
xor r8d, r8d
mov rcx, rsi
call fcn.1400740f0
mov r14, rax
test rax, rax
je 0x1401eed5f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1401eed5f
test al, 0x10
jne 0x1401eee10
test r13d, r13d
je 0x1401eee50
lea rdx, [r14 + rdi]
mov r8, r14
mov ecx, r13d
call fcn.1401eea20
test al, al
je 0x1401eee50
mov rcx, r14
call sub.msvcrt.dll_free
mov rcx, r12
call fcn.140036200
test rax, rax
jne 0x1401eed16
mov rcx, r12
call fcn.140036450
add rsp, 0x48
mov eax, 1
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
ret
cmp byte [rdx + 1], 0x2e
jne 0x1401eed36
cmp byte [rdx + 2], 0
je 0x1401eed09
jmp 0x1401eed36
test r13d, r13d
jne 0x1401eee98
lea rax, str.Failed_to_add_directory_to_tar
mov qword [rsp + 0x20], rax
mov r9d, 7
xor edx, edx
xor ecx, ecx
lea r8, str.file_utils
call fcn.14005aec0
mov rcx, r12
call sub.msvcrt.dll_free
xor eax, eax
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
ret
test r13d, r13d
jne 0x1401eeeb8
lea rax, str.Failed_to_add_directory_to_tar
jmp 0x1401eee57
test r13d, r13d
je 0x1401eee43
mov r8, rsi
mov rdx, r12
mov ecx, r13d
call fcn.1401eea20
test al, al
jne 0x1401eef18
lea rax, str.Failed_to_add_file_to_tar
jmp 0x1401eedd8
lea rax, str.Failed_to_add_file_to_tar
mov qword [rsp + 0x20], rax
mov r9d, 7
xor edx, edx
xor ecx, ecx
lea r8, str.file_utils
call fcn.14005aec0
mov rcx, r12
call fcn.140036450
mov rcx, r14
call sub.msvcrt.dll_free
add rsp, 0x48
xor eax, eax
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
ret
mov r8, rbx
mov rdx, r12
mov ecx, r13d
call fcn.1401ee880
test al, al
jne 0x1401eecea
jmp 0x1401eedd1
lea rdx, [r14 + rdi]
mov r8, r14
mov ecx, r13d
call fcn.1401ee880
test al, al
je 0x1401eee19
mov r8d, r13d
mov rdx, r14
mov rcx, rbx
call fcn.1401eec80
jmp 0x1401eed7f
lea rax, str.Failed_to_open_input_directory
mov r9d, 7
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea r8, str.file_utils
call fcn.14005aec0
xor eax, eax
jmp 0x1401eedfd
mov rcx, r12
mov byte [rsp + 0x3f], al
call sub.msvcrt.dll_free
movzx eax, byte [rsp + 0x3f]
jmp 0x1401eedfd
Function at 0x1401fad60
Capabilities:
Encode data using xor

Disassembly:
mov r9d, 0x1f
mov r8d, r8d
jmp fcn.14012a570

Function at 0x1401fc230
Capabilities:
Encode data using xor

Disassembly:
mov r9d, 0x1f
mov r8d, r8d
jmp fcn.140127ed0
Function at 0x140206320
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
and rsp, 0xfffffffffffffff0
test edx, edx
je 0x14020646a
lea eax, [rdx - 1]
cmp eax, 2
jbe 0x14020646c
mov r8d, edx
movdqa xmm4, xmmword [0x1402d0bc0]
movdqa xmm3, xmmword [0x1402d0bd0]
mov rax, rcx
shr r8d, 2
sub r8d, 1
shl r8, 4
lea r8, [rcx + r8 + 0x10]
nop dword [rax + rax]
movdqu xmm1, xmmword [rax]
add rax, 0x10
movdqa xmm0, xmm1
movdqa xmm2, xmm1
psrld xmm0, 8
psrld xmm2, 0x10
pslld xmm0, 0x10
pslld xmm2, 8
pand xmm2, xmm3
pand xmm0, xmm4
pxor xmm0, xmm2
movdqa xmm2, xmm1
pslld xmm2, 0x18
psrld xmm1, 0x18
pxor xmm1, xmm2
pxor xmm0, xmm1
movups xmmword [rax - 0x10], xmm0
cmp rax, r8
jne 0x140206368
mov eax, edx
and eax, 0xfffffffc
test dl, 3
je 0x14020646a
sub edx, eax
cmp edx, 1
je 0x14020643a
movq xmm2, qword [0x1402d0bc0]
mov r8d, eax
movq xmm3, qword [0x1402d0bd0]
lea r8, [rcx + r8*4]
movq xmm1, qword [r8]
movdqa xmm0, xmm1
psrld xmm0, 8
pslld xmm0, 0x10
pand xmm0, xmm2
movdqa xmm2, xmm1
psrld xmm2, 0x10
pslld xmm2, 8
pand xmm2, xmm3
pxor xmm0, xmm2
movdqa xmm2, xmm1
pslld xmm2, 0x18
psrld xmm1, 0x18
pxor xmm1, xmm2
pxor xmm0, xmm1
movq qword [r8], xmm0
mov r8d, edx
and r8d, 0xfffffffe
add eax, r8d
cmp edx, r8d
je 0x14020646a
lea r8, [rcx + rax*4]
mov eax, dword [r8]
mov edx, eax
mov ecx, eax
mov r9d, eax
shr eax, 8
shl edx, 8
shl ecx, 0x18
and eax, 0xff00
shr r9d, 0x18
and edx, 0xff0000
xor ecx, r9d
xor edx, ecx
xor eax, edx
mov dword [r8], eax
leave
ret
xor eax, eax
jmp 0x1402063c5
Function at 0x14020b280
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
mov r12d, r8d
push rbp
mov ebp, r9d
push rdi
push rsi
mov rsi, rcx
push rbx
mov ebx, edx
sub rsp, 0x28
mov rdi, qword [rsp + 0x80]
test edx, edx
je 0x14020b2b1
mov r8d, edx
xor edx, edx
shl r8, 2
call sub.msvcrt.dll_memset
test r12d, r12d
je 0x14020b2fe
xor r13d, r13d
nop dword [rax]
mov rcx, rdi
call fcn.14010ce00
xor edx, edx
mov ecx, eax
shr ax, 1
movzx eax, ax
div ebx
mov edx, edx
lea rdx, [rsi + rdx*4]
mov eax, dword [rdx]
and eax, 1
lea r8d, [rax - 1]
xor eax, 1
add r13d, eax
lea eax, [rcx + rcx]
and eax, 2
sub eax, 1
and eax, r8d
add eax, dword [rdx]
mov dword [rdx], eax
cmp r12d, r13d
ja 0x14020b2c0
test ebp, ebp
je 0x14020b354
xor r12d, r12d
nop dword [rax]
mov rcx, rdi
call fcn.14010ce00
xor edx, edx
mov ecx, eax
shr ax, 1
movzx eax, ax
div ebx
mov edx, edx
lea rdx, [rsi + rdx*4]
mov r8d, dword [rdx]
mov eax, r8d
sar eax, 1
or eax, r8d
and eax, 1
lea r9d, [rax - 1]
xor eax, 1
add r12d, eax
lea eax, [rcx*4]
and eax, 4
sub eax, 2
and eax, r9d
add eax, r8d
mov dword [rdx], eax
cmp ebp, r12d
ja 0x14020b308
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x14020c610
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
mov rdi, rdx
push rsi
mov rsi, rcx
push rbx
sub rsp, 0x18
mov eax, dword [rcx]
mov ecx, dword [rdi]
mov r15, qword [rsp + 0xa0]
mov r13d, dword [rsp + 0x88]
mov r10d, dword [rsp + 0x90]
mov edx, dword [rsp + 0x80]
imul r13d, eax
imul r10d, ecx
imul eax, dword [rsp + 0x98]
imul ecx, r15d
add r13d, r10d
imul r13d, edx
lea r12d, [rax + rcx]
lea rax, [r9*4 - 4]
imul r12d, edx
lea rbx, [rsi + rax]
add rax, rdi
mov qword [rsp], rbx
and r13d, 0x7fffffff
mov qword [rsp + 8], rax
and r12d, 0x7fffffff
test r9, r9
je 0x14020c878
xor edx, edx
xor r11d, r11d
xor r10d, r10d
nop dword [rax + rax]
mov eax, dword [rsi + r10*4]
mov ebp, dword [rdi + r10*4]
mov rcx, qword [rsp + 0x88]
mov r14, qword [rsp + 0x90]
mov ebx, dword [r8 + r10*4]
imul rcx, rax
imul r14, rbp
imul rax, qword [rsp + 0x98]
imul rbp, r15
add rcx, r14
add rcx, r11
mov r11, rbx
imul r11, r13
add rax, rbp
imul rbx, r12
add rdx, rax
add r11, rcx
add rdx, rbx
test r10, r10
je 0x14020c858
mov eax, r11d
sar r11, 0x1f
and eax, 0x7fffffff
mov dword [rsi + r10*4 - 4], eax
mov eax, edx
sar rdx, 0x1f
and eax, 0x7fffffff
mov dword [rdi + r10*4 - 4], eax
add r10, 1
cmp r9, r10
jne 0x14020c6a8
mov rax, qword [rsp]
xor ebp, ebp
mov dword [rax], r11d
mov rax, qword [rsp + 8]
shr r11, 0x3f
mov r12, r11
mov r10d, r11d
mov dword [rax], edx
xor eax, eax
mov ecx, eax
nop dword [rax + rax]
mov eax, dword [rsi + rbp*4]
mov rbx, rbp
sub eax, ecx
sub eax, dword [r8 + rbp*4]
lea rbp, [rbp + 1]
shr eax, 0x1f
mov ecx, eax
cmp r9, rbp
jne 0x14020c750
mov r11d, 1
mov ebp, r12d
xor ecx, ecx
sub r11d, eax
neg ebp
mov eax, r10d
or r11d, r12d
shr ebp, 1
neg r11d
nop dword [rax]
mov r10d, dword [rsi + rcx*4]
mov r9, rcx
sub r10d, eax
mov eax, dword [r8 + rcx*4]
xor eax, ebp
and eax, r11d
sub r10d, eax
mov eax, r10d
and eax, 0x7fffffff
mov dword [rsi + rcx*4], eax
mov eax, r10d
add rcx, 1
shr eax, 0x1f
cmp rbx, r9
jne 0x14020c788
mov rax, rdx
xor ecx, ecx
xor r11d, r11d
shr rax, 0x3f
mov edx, ecx
mov r10d, eax
nop dword [rax]
mov ecx, dword [rdi + r11*4]
sub ecx, edx
sub ecx, dword [r8 + r11*4]
mov edx, ecx
mov rcx, r11
add r11, 1
shr edx, 0x1f
cmp rcx, rbx
jne 0x14020c7d0
mov ecx, edx
mov edx, 1
mov r11d, eax
sub edx, ecx
neg r11d
xor ecx, ecx
or edx, eax
shr r11d, 1
mov eax, r10d
neg edx
nop word cs:[rax + rax]
mov r10d, dword [rdi + rcx*4]
mov r9, rcx
sub r10d, eax
mov eax, dword [r8 + rcx*4]
xor eax, r11d
and eax, edx
sub r10d, eax
mov eax, r10d
and eax, 0x7fffffff
mov dword [rdi + rcx*4], eax
mov eax, r10d
add rcx, 1
shr eax, 0x1f
cmp r9, rbx
jne 0x14020c810
add rsp, 0x18
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
sar r11, 0x1f
sar rdx, 0x1f
cmp r9, 1
je 0x14020c72d
mov r10d, 1
jmp 0x14020c6a8
mov rax, qword [rsp + 8]
mov dword [rbx], 0
mov dword [rax], 0
jmp 0x14020c840