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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1800da1b0
sub rsp, rax
mov rax, qword [0x18019d440]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800f8b08
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800ecca3
mov rax, rbp
jmp 0x1800ecdab
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x3a2c30]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800fbde4
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x3a2c30]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800ecda7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800ecda7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800fbde4
test rax, rax
js 0x1800ecda7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800ecda7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800ecd99
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800ecd99
cmp byte [rcx], 0xd
jne 0x1800ecd7f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800ecd8e
cmp byte [rcx + 1], 0xa
jne 0x1800ecd8e
inc rcx
jmp 0x1800ecd8e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x19da30]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800ecd61
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800ecdab
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800d9fd0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800f99ec
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800f9a0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800e54f0
or eax, 0xffffffff
jmp 0x1800f9a0e
xor eax, eax
add rsp, 0x28
ret

Function at 0x1800f9b0c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800f9b22
mov al, 1
jmp 0x1800f9b82
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800f9b33
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800f9b80
mov ecx, dword [rcx + 0x18]
nop
call fcn.18010604c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800f9b80
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800f9b80
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800f9b80
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800f9b82
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800fb184
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1803a2c30]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1800fb1db
cmp word [rdx], r13w
jne 0x1800fb1db
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800fb1e0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800fb305
mov r11d, reloc.WS2_32.dll_listen
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1800fb326
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1800fb219
mov rdx, r9
mov word [rbx], cx
jmp 0x1800fb240
cmp r9, r8
jae 0x1800fb250
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1800fb1fa
jmp 0x1800fb305
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800fb2fa
cmp dword [rsp + 0x80], esi
je 0x1800fb2fa
lea r8, [0x1803a2c30]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1800fb2d2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1800fb2a2
mov word [rbx], r13w
jmp 0x1800fb302
mov ecx, reloc.WS2_32.dll_listen
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1800fb2af
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800fb302
cmp word [rsp + 0x70], r13w
jne 0x1800fb2df
cmp rbx, r14
je 0x1800fb29c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800fbdec
cmp word [rsp + 0x70], r13w
je 0x1800fb305
mov ecx, reloc.WS2_32.dll_listen
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1803a2c30]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800fb2ff
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800fb305
Function at 0x18010041c
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18010044c
xor eax, eax
jmp 0x18010050f
mov rbp, rbx
cmp word [rax], si
je 0x180100471
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180100458
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180100454
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800fed10
movsxd r14, eax
test eax, eax
jne 0x1801004af
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180100445
mov rcx, r14
call fcn.1800f7770
mov rdi, rax
test rax, rax
jne 0x1801004c8
xor ecx, ecx
call fcn.1800f6aec
jmp 0x1801004a4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800fed10
test eax, eax
jne 0x1801004f9
mov rcx, rdi
call fcn.1800f6aec
jmp 0x180100503
xor ecx, ecx
call fcn.1800f6aec
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18010052c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1801005b3
mov rsi, rbx
cmp word [rax], bp
je 0x180100572
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x18010055c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x180100558
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1800f7770
mov rdi, rax
test rax, rax
je 0x1801005a0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.18010b0a0
mov rbp, rdi
xor ecx, ecx
call fcn.1800f6aec
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180103828
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1800f4e20
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1801038c9
cmp ebx, dword [rsp + 0x30]
je 0x1801038c2
test esi, esi
je 0x1801038c2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18010389d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1801038aa
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x180103887
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1801038ae
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1801038cb
mov eax, 1
jmp 0x1801038cb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180107f7c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1800e1620
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x180108006
cmp byte [rbp - 0x21], r15b
je 0x180108001
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x18010803c
call fcn.1800f9268
test eax, eax
jne 0x180108028
cmp byte [rbp - 0x21], r15b
je 0x180108020
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x18010803c
cmp byte [rbp - 0x21], r15b
je 0x180108039
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1800e96c4
test eax, eax
jne 0x1801080dc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1800e1620
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x18010807b
cmp byte [rbp - 0x21], r15b
je 0x1801080b0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1801080b0
call fcn.1800f9268
test eax, eax
jne 0x18010809c
cmp byte [rbp - 0x21], r15b
je 0x180108095
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1801080b0
cmp byte [rbp - 0x21], r15b
je 0x1801080ad
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1800e96c4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1801080dc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1801080df
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1801080ed
mov rcx, rdi
call fcn.1800f6aec
cmp byte [rbp + 0x3f], r15b
je 0x1801080fc
mov rcx, qword [rbp + 0x27]
call fcn.1800f6aec
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x180108f78
Capabilities:
Clear file content

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
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1800fbdec
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800fbdec
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1801090c8
cmp rax, 0xffffffffffffffff
je 0x1801090c8
xor edi, edi
test rbp, rbp
jle 0x180109073
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800fafec
mov rbx, rax
test rax, rax
jne 0x180109000
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180109069
mov edx, 0x8000
mov ecx, r14d
call fcn.180108dfc
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1800fa734
cmp eax, 0xffffffff
je 0x180109049
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180109010
mov edx, r15d
mov ecx, r14d
call fcn.180108dfc
jmp 0x180109069
cmp byte [rsi + 0x38], dil
je 0x180109060
cmp dword [rsi + 0x34], 5
jne 0x180109060
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x180109069
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800f6aec
jmp 0x1801090dc
jns 0x1801090dc
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800fbdec
cmp rax, 0xffffffffffffffff
jne 0x180109094
cmp byte [rsi + 0x30], dil
je 0x1801090dc
mov edi, dword [rsi + 0x2c]
jmp 0x1801090dc
mov ecx, r14d
call fcn.18010604c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1801090dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1801090dc
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1801090d5
mov eax, dword [rsi + 0x2c]
jmp 0x1801090da
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800fbdec
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x180109640
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180109668
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180109668
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400012d7
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1401ee950]
mov dword [rax], 1
mov rax, qword [0x1401ee960]
mov dword [rax], 1
mov rax, qword [0x1401ee970]
mov dword [rax], 1
mov rax, qword [0x1401ee8c0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140001328
mov eax, 0
jmp 0x1400013d5
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140001354
mov eax, 0
jmp 0x1400013d5
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000137a
cmp eax, 0x20b
je 0x1400013a1
jmp 0x1400013d0
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000138d
mov eax, 0
jmp 0x1400013d5
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x1400013d5
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x1400013bc
mov eax, 0
jmp 0x1400013d5
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x1400013d5
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140004a26
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rcx
movabs rax, 0xeb1a4c480f2afad5
movabs rcx, 0xeb1a4c480f2afad5
xor rax, rcx
cmp rdx, rax
mov qword [rsp + 0x50], rdx
jge 0x140004b5d
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
xor eax, eax
sub rax, rdx
mov qword [rsp + 0x28], rax
mov edx, 1
call fcn.140019490
mov rax, qword [rsp + 0x48]
mov rcx, rax
add rcx, 8
mov qword [rsp + 0x30], rcx
mov rcx, qword [rax + 8]
mov rdx, qword [rax]
mov r8b, 0x2b
xor r8b, 6
mov byte [rcx + rdx + 8], r8b
mov rdx, qword [rax]
movabs rcx, 0xb503914c99c0abbd
movabs rax, 0xb503914c99c0abbc
xor rcx, rax
mov rax, rdx
add rax, rcx
mov qword [rsp + 0x38], rax
mov r8, rdx
xor r8, 0xffffffffffffffff
movabs rcx, 0x699843090488a4a7
movabs r9, 0x9667bcf6fb775b58
xor rcx, r9
and rcx, r8
movabs r8, 0xa9d21f65698029d7
movabs r9, 0x562de09a967fd628
xor r8, r9
movabs r9, 0xfb6da19ffe8f97f4
movabs r10, 0x4925e600170680b
xor r9, r10
xor r8, r9
and rdx, r8
or rcx, rdx
and rax, rcx
cmp rax, 0
jge 0x140004b39
call fcn.140007bb8
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x50], rax
jmp 0x140004b5d
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x48]
mov qword [r8], rdx
mov rcx, qword [rcx]
mov byte [rcx + rdx + 8], 0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
add rsp, 0x58
jmp fcn.140003980
Function at 0x14000a870
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x38], rcx
call fcn.14000a534
mov ecx, 0x40
mov edx, 8
call fcn.140012010
mov rcx, rax
mov rax, qword [rsp + 0x38]
mov rdx, qword [0x1401ee750]
mov qword [rcx], rdx
lea rdx, [0x1401e5500]
mov qword [rcx + 0x10], rdx
mov rdx, qword [rax]
mov qword [rsp + 0x48], rdx
mov rdx, qword [rax + 8]
mov qword [rsp + 0x50], rdx
mov qword [rax], 0
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x48]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x50]
mov qword [rcx + 0x20], rax
lea rdx, [0x1401e5500]
lea r8, [0x1401e550c]
lea r9, [0x1401e5515]
mov qword [rsp + 0x20], 0x773ab509
call fcn.140011f4f
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x40], rax
cmp rax, 0
je 0x14000aa38
mov ecx, dword [0x1401d8548]
mov edx, dword [0x1401d854c]
mov eax, ecx
and eax, edx
xor ecx, edx
or eax, ecx
mov edx, 0xcffab04d
xor edx, 0xa9298f7a
mov ecx, eax
or ecx, edx
xor ecx, 0xffffffff
mov edx, 0x194088e8
xor edx, 0xe6bf7717
xor eax, edx
mov edx, 0xffffffff
xor edx, 0x66d33f37
and eax, edx
mov edx, 0x3f1dcba3
xor edx, 0xc0e2345c
xor ecx, edx
xor eax, 0xffffffff
and ecx, eax
mov eax, ecx
and eax, 0xcdddacb5
xor eax, 0xffffffff
mov edx, 0xb9968c34
xor edx, 0x744b2081
and ecx, edx
xor ecx, 0xffffffff
xor eax, 0xffffffff
xor ecx, 0xffffffff
or eax, ecx
sub eax, 0x6fe1b1d2
mov ecx, 0xe1fc55bb
xor ecx, 0xcb49612d
sub eax, ecx
mov ecx, 0xaae8cc23
xor ecx, 0xc5097df1
add eax, ecx
cmp eax, 0x445094f8
je 0x14000aa3e
mov rdx, qword [rsp + 0x40]
mov eax, dword [0x1401d8550]
xor eax, 0xe117be42
mov ecx, dword [0x1401d8554]
xor ecx, 0xfb813157
or eax, ecx
mov ecx, 0x5edae34c
xor ecx, 0x5edae34c
mov r8d, 0x36485e1a
xor r8d, 0x11cb8169
sub ecx, r8d
add eax, ecx
and eax, 0x3522d7fc
sub eax, 0x64e9f9ce
movabs rcx, 0x4000000000000000
and rcx, qword [rdx]
cmp rcx, 0
sete cl
mov byte [rsp + 0x37], cl
cmp eax, 0x1e45e3a8
jbe 0x14000a9b5
mov al, byte [rsp + 0x37]
test al, 1
jne 0x14000aa2e
jmp 0x14000aa38
mov rcx, qword [rsp + 0x40]
call fcn.14000dddb
nop
add rsp, 0x58
pop rax
ret
jns 0x14000aa3c
invalid
Function at 0x14000c4b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x10
lea rbp, [rsp + 0x10]
mov eax, dword [0x1401d85e8]
mov ecx, 0x96a1ad9e
xor ecx, 0x171caf48
xor eax, ecx
mov r8d, dword [0x1401d85ec]
xor r8d, 0xc9bda605
mov r9d, r8d
xor r9d, 0xffffffff
mov edx, eax
and edx, r9d
mov ecx, eax
or ecx, r9d
mov r9d, 0x2d4376a7
xor r9d, 0xd2bc8958
xor ecx, r9d
imul ecx, edx
mov edx, eax
and edx, r8d
or eax, r8d
imul eax, edx
add eax, ecx
mov edx, 0xcc99d5b
xor edx, 0xcc99d5a
mov ecx, eax
add ecx, edx
xor eax, 0xffffffff
or eax, 0x9fec6e46
add eax, ecx
mov ecx, 0xd8f82403
xor ecx, 0xdaef24b2
add eax, ecx
imul eax, eax, 0x92c85265
mov ecx, 0xa82a7326
xor ecx, 0xd95f1861
cmp eax, ecx
je 0x14000c5d2
mov eax, dword [0x1401d85f0]
mov ecx, eax
xor ecx, 0x12102010
mov edx, dword [0x1401d85f4]
xor eax, 0x9400
mov r8d, edx
not r8d
and eax, r8d
or ecx, edx
not eax
and eax, ecx
or eax, 0x1a00802
and eax, 0x13b0bc12
add eax, 0x4aa71286
mov dword [rbp - 4], eax
mov eax, 0xc2b74af7
mov dword [rbp - 8], eax
mov eax, 0x10
call fcn.1401d7280
sub rsp, rax
mov rcx, rsp
mov rax, qword [0x1401e54c0]
mov qword [rcx], rax
mov rax, qword [0x1401e54c8]
mov qword [rcx + 8], rax
sub rsp, 0x20
call fcn.14000a870
mov ecx, dword [rbp - 8]
mov eax, dword [rbp - 4]
add rsp, 0x20
cmp eax, ecx
jae 0x14000c54b
mov rsp, rbp
pop rbp
ret
xchg edx, eax
invalid

Function at 0x14000dea0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], rcx
mov rax, rcx
add rax, 0x10
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x30], rax
cmp rax, 0
je 0x14000dede
mov rcx, qword [rsp + 0x30]
call fcn.14000dddb
mov rax, qword [rsp + 0x28]
mov qword [rax], 0
mov ecx, dword [0x1401d8668]
sub ecx, dword [0x1401d866c]
mov eax, ecx
and eax, 0x859c5bf
xor ecx, 0x859c5bf
or eax, ecx
imul eax, eax, 0xea17fc36
add eax, 0x155304d8
mov ecx, 0xb626620f
xor ecx, 0xdc939677
sub eax, ecx
sub eax, 0x155304d8
cmp eax, 0xde3d6152
jae 0x14000dfc0
mov rdx, qword [rsp + 0x20]
mov eax, dword [0x1401d8670]
mov r8d, dword [0x1401d8674]
mov ecx, eax
and ecx, r8d
shl ecx, 1
add eax, r8d
sub eax, ecx
add eax, 0x38a6a46c
mov ecx, 0xefde4b74
xor ecx, 0x87e38b7a
sub eax, ecx
mov ecx, 0x31918f43
xor ecx, 0x9372b2f
sub eax, ecx
mov ecx, eax
xor ecx, 0x8554cbe2
mov r8d, 0x3cdcc6f4
xor r8d, 0xb9880d16
mov r9d, 0xb4835f7
xor r9d, 0xf4b7ca08
xor r8d, r9d
and eax, r8d
shl eax, 1
sub eax, ecx
mov ecx, 0x586c1e9
xor ecx, 0xa2b0c0fe
xor eax, ecx
mov ecx, 0x45cf2f4
xor ecx, 0x1abcb79f
mov qword [rdx], 0
mov qword [rdx + 8], 0
cmp eax, ecx
jb 0x14000df21
add rsp, 0x38
ret
lahf
or dword [rbp - 0xa7166d], 0x1f0fffff
add byte [rax], 0
add byte [rax], al
Function at 0x14001a880
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rcx
mov eax, dword [0x1401d8bc8]
mov ecx, dword [0x1401d8bcc]
xor ecx, 0xf354cc0c
add eax, ecx
xor eax, 0x68de71b0
mov ecx, 0x43790bd
xor ecx, 0x99f9f6fc
or eax, ecx
mov ecx, 0xfc9ec982
xor ecx, 0x7f0e42fc
xor eax, ecx
cmp eax, 0xe218e340
ja 0x14001aae4
mov eax, dword [0x1401d8bd0]
mov ecx, dword [0x1401d8bd4]
xor ecx, 0x35f567d3
xor edx, edx
div ecx
add eax, 0x782291b0
mov ecx, eax
xor ecx, 0x62217d5c
and eax, 0x1dde82a3
add eax, eax
sub eax, ecx
add eax, 0x9fa0b41c
mov dword [rbp - 0x18], eax
mov eax, 0xf607f1fc
mov dword [rbp - 0x1c], eax
mov eax, 0x10
call fcn.1401d7280
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x30], rax
sub rsp, 0x20
call fcn.14000a534
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp - 8]
mov qword [rbp - 0x28], rcx
mov rcx, qword [rax]
sub rsp, 0x20
call fcn.14001ab00
mov ecx, dword [rbp - 0x1c]
add rsp, 0x20
mov dl, al
mov eax, dword [rbp - 0x18]
mov byte [rbp - 0x11], dl
cmp eax, ecx
ja 0x14001a8d0
mov al, byte [rbp - 0x11]
test al, 1
jne 0x14001a96b
jmp 0x14001aad4
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 8]
mov rax, qword [rax]
mov rdx, qword [rax]
mov qword [rcx], rdx
mov rax, qword [rax + 8]
mov qword [rcx + 8], rax
sub rsp, 0x20
call fcn.1400ca164
mov rax, qword [rbp - 0x28]
add rsp, 0x20
cmp byte [rax + 0x60], 0
jne 0x14001aadf
mov eax, dword [0x1401d8bd8]
mov ecx, 0xebf1557
xor ecx, 0xd6d3478a
xor eax, ecx
mov ecx, dword [0x1401d8bdc]
xor ecx, 0xffffffff
add eax, ecx
add eax, 1
mov ecx, 0xa463221e
xor edx, edx
div ecx
add eax, 0x576a224d
mov edx, eax
xor edx, 0xffffffff
and edx, 0x66d4d496
mov r8d, 0xffffffff
xor r8d, 0x66d4d496
mov ecx, eax
and ecx, r8d
imul ecx, edx
mov edx, eax
and edx, 0x66d4d496
or eax, 0x66d4d496
imul eax, edx
add eax, ecx
cmp eax, 0xb1d45cbb
jae 0x14001aaed
mov rax, qword [rbp - 8]
mov ecx, dword [0x1401d8be0]
xor ecx, 0xeba02c11
mov r8d, dword [0x1401d8be4]
mov r9d, 0x4a3a59a0
xor r9d, 0xb5c5a65f
mov edx, ecx
xor edx, r9d
mov r9d, r8d
xor r9d, 0xffffffff
and edx, r9d
or ecx, r8d
xor ecx, 0xffffffff
xor edx, 0xffffffff
xor ecx, 0xffffffff
and edx, ecx
add edx, 0x9e25f5e8
mov ecx, 0x3d7667bc
xor ecx, 0x5aea40f2
add edx, ecx
mov ecx, 0xfa7badba
xor ecx, 0x645e5852
sub edx, ecx
mov ecx, 0xb9fb7e3b
xor ecx, 0x921ab5b0
xor edx, ecx
mov ecx, edx
and ecx, 0xfab0eb3
or edx, 0xfab0eb3
add ecx, edx
mov dword [rbp - 0x34], ecx
mov ecx, 0xf9ed72f5
xor ecx, 0x4f930864
mov dword [rbp - 0x38], ecx
mov rcx, qword [rax]
movabs rdx, 0xab1f688c407d186
movabs rax, 0xab1f688c407d18e
xor rdx, rax
sub rsp, 0x20
call fcn.14000de70
mov ecx, dword [rbp - 0x38]
mov eax, dword [rbp - 0x34]
add rsp, 0x20
cmp eax, ecx
jbe 0x14001aa0b
jmp 0x14001aad4
mov rax, qword [rbp - 8]
mov rcx, qword [rbp - 0x10]
mov qword [rax], rcx
mov rsp, rbp
pop rbp
ret
invalid
sub ecx, dword [rbx + 0x6c]
and al, 0xe9
adc eax, 0x66ffffff
nop dword cs:[rax + rax]