joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c610
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rdi
push rsi
push rbx
mov r8, rdx
mov rax, rdx
mov rdx, rcx
add r8, 0x10
movzx r9d, byte [rax]
mov byte [rcx], r9b
movzx r9d, byte [rax + 1]
mov byte [rcx + 1], r9b
movzx r9d, byte [rax + 2]
mov byte [rcx + 2], r9b
movzx r9d, byte [rax + 3]
mov byte [rcx + 3], r9b
add rax, 4
add rcx, 4
cmp rax, r8
jne 0x14000c620
mov r11d, 4
lea rbx, [0x1401aa680]
lea rsi, [0x1401aa560]
jmp 0x14000c690
xor r9b, byte [rax]
mov byte [rax + 0x10], r9b
xor r8b, byte [rax + 1]
mov byte [rax + 0x11], r8b
xor r10b, byte [rax + 2]
mov byte [rax + 0x12], r10b
xor cl, byte [rax + 3]
mov byte [rax + 0x13], cl
add r11d, 1
add rdx, 4
cmp r11d, 0x2c
je 0x14000c6e2
mov rax, rdx
movzx r9d, byte [rdx + 0xc]
movzx r8d, byte [rdx + 0xd]
movzx r10d, byte [rdx + 0xe]
movzx ecx, byte [rdx + 0xf]
test r11b, 3
jne 0x14000c665
movzx r8d, r8b
movzx edi, byte [rbx + r8]
movzx r10d, r10b
movzx r8d, byte [rbx + r10]
movzx ecx, cl
movzx r10d, byte [rbx + rcx]
movzx r9d, r9b
movzx ecx, byte [rbx + r9]
mov r9d, r11d
shr r9d, 2
mov r9d, r9d
xor dil, byte [rsi + r9]
mov r9d, edi
jmp 0x14000c665
pop rbx
pop rsi
pop rdi
ret

Function at 0x14000c6e6
Capabilities:
Encode data using xor

Disassembly:
shl rcx, 4
and ecx, 0xff0
add r8, rcx
lea rcx, [rdx + 4]
lea r10, [rdx + 0x14]
lea rax, [rcx - 4]
mov rdx, r8
movzx r9d, byte [rdx]
xor byte [rax], r9b
add rax, 1
add rdx, 1
cmp rax, rcx
jne 0x14000c702
add r8, 4
add rcx, 4
cmp rcx, r10
jne 0x14000c6fb
ret

Function at 0x14000c724
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea rdx, [rcx + 0x10]
lea r9, [rcx + 0x14]
lea r8, [0x1401aa680]
lea rax, [rdx - 0x10]
movzx ecx, byte [rax]
movzx ecx, byte [r8 + rcx]
mov byte [rax], cl
add rax, 4
cmp rax, rdx
jne 0x14000c737
add rdx, 1
cmp rdx, r9
jne 0x14000c733
ret

Function at 0x14000c765
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea rdx, [rcx + 0x10]
lea r9, [rcx + 0x14]
lea r8, [0x1401aa580]
lea rax, [rdx - 0x10]
movzx ecx, byte [rax]
movzx ecx, byte [r8 + rcx]
mov byte [rax], cl
add rax, 4
cmp rax, rdx
jne 0x14000c778
add rdx, 1
cmp rdx, r9
jne 0x14000c774
ret
Function at 0x1400177e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x1401d7574]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x140017990
mov rax, qword [0x1401d7578]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14001782c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1400178b7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x140017810
mov rcx, r12
call fcn.140018290
mov rbp, rax
test rax, rax
je 0x1400179ed
mov rax, qword [0x1401d7578]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.1400183c0
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1401d7578]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400179d2
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400178b0
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140017940
add dword [0x1401d7574], 1
cmp ebx, 8
jae 0x1400178e8
test bl, 4
jne 0x1400179a0
test ebx, ebx
je 0x1400178d9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x1400179c0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x1400178d9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x14001791a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x1401d7578]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400178b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140017770
xor edi, edi
jmp 0x140017837
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x1400178d9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x1400178d9
mov rax, qword [0x1401d7578]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.140017770
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140017770
nop
nop dword [rax]
Function at 0x140017f00
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1401d75e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401d75c0]
test rbx, rbx
je 0x140017f54
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140017f4b
test r12, r12
je 0x140017f4b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140017f30
lea rcx, [0x1401d75e0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140018290
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x1401afd80]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140018309
mov rcx, r10
call fcn.140018160
test eax, eax
je 0x140018309
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x140018306
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x1400182fd
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140018309
add r8, 0x28
cmp r8, r9
jne 0x1400182e8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x140018600
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [0x1401d75c8]
mov edi, ecx
mov rsi, rdx
test eax, eax
jne 0x140017f90
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x18
mov ecx, 1
call sub.msvcrt.dll_calloc
mov rbx, rax
test rax, rax
je 0x140017fe3
mov dword [rax], edi
lea rcx, [0x1401d75e0]
mov qword [rax + 8], rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1401d75c0]
lea rcx, [0x1401d75e0]
mov qword [0x1401d75c0], rbx
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
or eax, 0xffffffff
jmp 0x140017f86
push r12
push rbx
sub rsp, 0x28
mov rbx, rcx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, eax
cmp eax, 0xffffffff
je 0x140018630
mov rdx, r12
mov dword [rbx], eax
add rsp, 0x28
pop rbx
pop r12
jmp 0x140023cf0
add rsp, 0x28
pop rbx
pop r12
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
test rdx, rdx
jne 0x140023d00
xor eax, eax
ret
jmp 0x140017f70

Function at 0x140018670
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
sub rsp, 0x28
mov r12d, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, r12d
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r13d
mov r12, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x28
pop r12
pop r13
ret

Function at 0x1400186b0
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400186c8
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x14000d194
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0x10
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d1a1
mov byte [rcx + 0x14], r10b
ret

Function at 0x14000d1f4
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0xc
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d201
mov byte [rcx + 0x10], r10b
ret

Function at 0x14000d21c
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0x7b
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d229
mov byte [rcx + 0x7f], r10b
ret

Function at 0x14000d244
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 0xc
jb 0x14000d24b
mov byte [rcx + 0x10], 0
ret

Function at 0x14000d26c
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0x1d
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d279
mov byte [rcx + 0x21], r10b
ret

Function at 0x14000d2cc
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0x12
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d2d9
mov byte [rcx + 0x16], r10b
ret

Function at 0x14000d348
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0x43
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d355
mov byte [rcx + 0x47], r10b
ret

Function at 0x14000d38c
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x14
jb 0x14000d393
mov byte [rcx + 0x18], 0
ret

Function at 0x14000d3b4
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 8
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d3c1
mov byte [rcx + 0xc], r10b
ret

Function at 0x14000d3dc
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0x39
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d3e9
mov byte [rcx + 0x3d], r10b
ret

Function at 0x14000d404
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 8
jb 0x14000d40b
mov byte [rcx + 0xc], 0
ret

Function at 0x14000d42c
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x17
jb 0x14000d433
mov byte [rcx + 0x1b], 0
ret
Function at 0x14000d454
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0x31
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d461
mov byte [rcx + 0x35], r10b
ret

Function at 0x14000d498
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0x14
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d4a5
mov byte [rcx + 0x18], r10b
ret

Function at 0x14000d4c0
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x39
jb 0x14000d4c7
mov byte [rcx + 0x3d], 0
ret

Function at 0x14000d4e8
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0x1c
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d4f5
mov byte [rcx + 0x20], r10b
ret

Function at 0x14000d52c
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x13
jb 0x14000d533
mov byte [rcx + 0x17], 0
ret

Function at 0x14000d554
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0x11
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d561
mov byte [rcx + 0x15], r10b
ret

Function at 0x14000d598
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x43
jb 0x14000d59f
mov byte [rcx + 0x47], 0
ret

Function at 0x14000d5c0
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x7b
jb 0x14000d5c7
mov byte [rcx + 0x7f], 0
ret

Function at 0x14000d604
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 0xe
jb 0x14000d60b
mov byte [rcx + 0x12], 0
ret

Function at 0x14000d648
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 0xa
jb 0x14000d64f
mov byte [rcx + 0xe], 0
ret

Function at 0x14000d68c
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 3
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d699
mov byte [rcx + 7], r10b
ret

Function at 0x14000d6b4
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 7
jb 0x14000d6bb
mov byte [rcx + 0xb], 0
ret
Function at 0x14000d6f8
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 9
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d705
mov byte [rcx + 0xd], r10b
ret

Function at 0x14000d720
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 7
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d72d
mov byte [rcx + 0xb], r10b
ret

Function at 0x14000d748
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 5
jb 0x14000d74f
mov byte [rcx + 9], 0
ret

Function at 0x14000d7fc
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 6
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d809
mov byte [rcx + 0xa], r10b
ret

Function at 0x14000d85c
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 5
mov r9, rax
mov dl, byte [r9]
mov r8d, dword [rcx]
xor r8b, dl
mov byte [r9], r8b
inc r9
sub r10, 1
jne 0x14000d869
mov byte [rcx + 9], r10b
ret

Function at 0x14000d8d8
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
mov dl, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8b, dl
mov byte [rax + r9], r8b
inc r9
cmp r9, 9
jb 0x14000d8df
mov byte [rcx + 0xd], 0
ret

Function at 0x14000e024
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.140024010
mov qword [rax], rbx
mov qword [rsp + 0x40], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14000e11c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14000e07b
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140012ab0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140050ed0]
xor rax, rsp
mov qword [rbp + 0x47], rax
call qword [0x140054380]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [0x140054418]
xor edi, edi
mov rbx, rax
test rax, rax
je 0x140012bf9
mov dword [rbp + 0x37], 0x7e
mov edx, edi
mov ecx, dword [rbp + 0x37]
xor cl, 0x6e
mov byte [rbp + 0x3b], cl
mov ecx, dword [rbp + 0x37]
inc cl
xor cl, 0x74
mov byte [rbp + 0x3c], cl
mov cl, 0x6c
mov eax, dword [rbp + 0x37]
add al, 2
xor al, 0x64
mov byte [rbp + 0x3d], al
mov eax, dword [rbp + 0x37]
add al, 3
xor al, cl
mov byte [rbp + 0x3e], al
mov eax, dword [rbp + 0x37]
add al, 4
xor al, cl
mov byte [rbp + 0x3f], al
mov eax, dword [rbp + 0x37]
add al, 5
xor al, 0x2e
mov byte [rbp + 0x40], al
mov eax, dword [rbp + 0x37]
add al, 6
xor al, 0x64
mov byte [rbp + 0x41], al
mov eax, dword [rbp + 0x37]
add al, 7
xor al, cl
mov byte [rbp + 0x42], al
mov eax, dword [rbp + 0x37]
add al, 8
xor al, cl
mov byte [rbp + 0x43], al
xor eax, eax
mov byte [rbp + 0x44], al
mov al, byte [rbp + 0x3b]
mov al, byte [rbp + rdx + 0x3b]
mov ecx, dword [rbp + 0x37]
add cl, dl
xor cl, al
mov byte [rbp + rdx + 0x3b], cl
inc rdx
cmp rdx, 9
jb 0x140012b66
lea rcx, [rbp + 0x3b]
mov byte [rbp + 0x44], dil
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r9d, 0x30
mov qword [rsp + 0x20], rdi
lea r8, [rbp + 7]
xor edx, edx
mov rcx, rbx
call qword [0x140054410]
test eax, eax
js 0x140012bf0
mov edx, dword [rbp + 0xf]
lea rax, [rbp - 1]
add edx, 0xbc
mov qword [rbp - 1], rdi
mov r9d, 2
mov word [rbp - 9], di
lea r8, [rbp - 9]
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140012bf0
cmp qword [rbp - 1], 2
jne 0x140012bf0
cmp word [rbp - 9], 0x70
jne 0x140012bf0
mov eax, 1
jmp 0x140012bfb
mov rcx, rbx
call qword [0x1400544b8]
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140023da0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140015ebc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1180]
mov eax, 0x1280
call fcn.140024cd0
sub rsp, rax
mov rax, qword [0x140050ed0]
xor rax, rsp
mov qword [rbp + 0x1170], rax
mov rsi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rbp + 0xf70]
mov r8d, 0x200
mov rdi, r9
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0xf60], 0x4f
mov cl, 0x5c
mov eax, dword [rbp + 0xf60]
xor al, cl
mov byte [rbp + 0xf64], al
mov eax, dword [rbp + 0xf60]
inc al
xor al, cl
mov byte [rbp + 0xf65], al
mov eax, dword [rbp + 0xf60]
add al, 2
xor al, 0x2e
mov byte [rbp + 0xf66], al
mov eax, dword [rbp + 0xf60]
add al, 3
xor al, cl
mov byte [rbp + 0xf67], al
mov eax, dword [rbp + 0xf60]
add al, 4
xor al, 0x70
mov byte [rbp + 0xf68], al
mov eax, dword [rbp + 0xf60]
add al, 5
xor al, 0x69
mov byte [rbp + 0xf69], al
mov eax, dword [rbp + 0xf60]
add al, 6
xor al, 0x70
mov byte [rbp + 0xf6a], al
mov eax, dword [rbp + 0xf60]
add al, 7
xor al, 0x65
mov byte [rbp + 0xf6b], al
mov eax, dword [rbp + 0xf60]
add al, 8
xor al, cl
mov byte [rbp + 0xf6c], al
mov eax, dword [rbp + 0xf60]
add al, 9
xor al, 0x25
mov byte [rbp + 0xf6d], al
mov eax, dword [rbp + 0xf60]
add al, 0xa
xor al, 0x73
mov byte [rbp + 0xf6e], al
xor eax, eax
mov byte [rbp + 0xf6f], al
xor edx, edx
mov al, byte [rbp + 0xf64]
mov al, byte [rbp + rdx + 0xf64]
mov ecx, dword [rbp + 0xf60]
add cl, dl
xor cl, al
mov byte [rbp + rdx + 0xf64], cl
inc rdx
cmp rdx, 0xb
jb 0x140015fd1
mov r9, rbx
mov byte [rbp + 0xf6f], 0
lea r8, [rbp + 0xf64]
mov edx, 0x1ff
lea rcx, [rbp + 0xf70]
call fcn.140015a70
and qword [rsp + 0x30], 0
lea rcx, [rbp + 0xf70]
and dword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001608f
xor edx, edx
lea rcx, [rsp + 0x4c]
mov r8d, 0x1014
call sub.VCRUNTIME140.dll_memset
mov rdx, rsi
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x48], 1
call fcn.140015c08
test eax, eax
jne 0x14001608f
mov r8d, 0x1020
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
jmp 0x140016094
mov eax, 1
mov rcx, qword [rbp + 0x1170]
xor rcx, rsp
call fcn.140023da0
mov rbx, qword [rsp + 0x12b0]
add rsp, 0x1280
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400160b8
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xf60]
mov eax, 0x1060
call fcn.140024cd0
sub rsp, rax
mov rax, qword [0x140050ed0]
xor rax, rsp
mov qword [rbp + 0xf50], rax
xor esi, esi
mov rbx, rcx
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x34], esi
cmp dword [rcx + 0x10], esi
je 0x14001623e
mov dword [rcx + 0x10], esi
cmp dword [rcx + 0xc], esi
jne 0x14001623e
movzx eax, word [rcx + 0x814]
lea r8d, [rsi + 0x10]
add ax, 0x18
mov word [rsp + 0x3e], dx
mov word [rsp + 0x48], ax
lea r9, [rsp + 0x30]
mov eax, dword [rcx + 8]
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx]
lea r14d, [rsi + 5]
mov dword [rsp + 0x40], 0x3000005
mov dword [rsp + 0x44], r8d
mov word [rsp + 0x4a], si
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x38], esi
mov word [rsp + 0x3c], si
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001623e
mov rcx, qword [rbx]
lea r9, [rsp + 0x30]
lea r8d, [rsi + 8]
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001623e
mov r8d, dword [rbx + 0x814]
lea rdx, [rbx + 0x14]
mov rcx, qword [rbx]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001623e
inc dword [rbx + 8]
lea rcx, [rsp + 0x50]
mov edi, 0x1000
xor edx, edx
mov r8d, edi
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx]
lea r9, [rsp + 0x34]
mov r8d, edi
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001623e
cmp word [rsp + 0x50], r14w
jne 0x14001623e
cmp byte [rsp + 0x52], 2
jne 0x14001623e
cmp byte [rsp + 0x53], 3
jne 0x14001623e
movzx edi, word [rsp + 0x58]
cmp edi, dword [rsp + 0x34]
jne 0x14001623e
cmp word [rsp + 0x64], si
jne 0x14001623e
add edi, 0xffffffe8
cmp edi, 0x800
ja 0x14001623e
mov r8d, edi
lea rcx, [rbx + 0x818]
lea rdx, [rsp + 0x68]
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov dword [rbx + 0x1018], edi
jmp 0x140016243
mov eax, 1
mov rcx, qword [rbp + 0xf50]
xor rcx, rsp
call fcn.140023da0
lea r11, [rsp + 0x1060]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret