joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001acf4
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea rdx, [rsp + 0x20]
mov rdi, rcx
call fcn.14001acc8
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x14001ad68
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001ad68
mov edx, 0x1d4c0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14001ad4c
mov eax, dword [rbx + 0x10]
mov edi, 1
mov dword [0x14005b1c0], eax
mov edx, edi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x14001ad6d
mov rcx, rdi
call fcn.14001adc4
mov rcx, rax
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edi, dword [rsp + 0x48]
jmp 0x14001ad6d
mov edi, 1
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14001adb7
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001adb7
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
mov rax, qword [rbx]
mov rax, qword [rax]
call qword [0x1400405a8]
or ecx, 0xffffffff
lock xadd dword [rbx + 0xc], ecx
cmp ecx, 1
jne 0x14001adb7
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [0x1400405a8]
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret

Function at 0x14001aef4
Capabilities:
Create thread
Resume thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x30
mov r9, qword [rcx]
lea r8, [0x14001afd0]
mov rsi, rdx
mov rdi, rcx
xor edx, edx
xor ecx, ecx
lea rax, [r9 + 0x10]
mov qword [r11 - 0x10], rax
mov dword [rsp + 0x20], 4
call fcn.140028bec
mov rcx, rax
test rax, rax
je 0x14001afaf
mov rax, qword [rdi]
mov rdx, rsi
mov qword [rax + 8], rcx
mov rcx, qword [rdi]
add rcx, 0x18
call fcn.14000bd00
mov rax, qword [rdi]
xor ecx, ecx
mov ebp, dword [rax + 0x10]
lea rax, [0x14005b0f0]
cmp dword [rax], 0
je 0x14001af7c
inc ecx
lea rdx, [0x14005b200]
add rax, 0x44
cmp rax, rdx
jl 0x14001af63
jmp 0x14001afa0
movsxd rax, ecx
lea r14, [0x14005b0b0]
imul rbx, rax, 0x44
mov r8, rsi
mov edx, 0x40
lea rcx, [rbx + r14]
call fcn.140027838
mov dword [rbx + r14 + 0x40], ebp
mov rcx, qword [rdi]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14167f9f0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14167fb77
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14167fa21
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14167fa07
add dl, dl
jne 0x14167fa2e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14167fa8e
xor eax, eax
add dl, dl
jne 0x14167fa3d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14167fb45
add dl, dl
jne 0x14167fa4e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14167fa5b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14167fa68
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14167fa75
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14167fa82
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14167fa16
mov eax, 1
add dl, dl
jne 0x14167fa9e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14167faab
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14167fa93
sub eax, ebx
mov ebx, 1
jne 0x14167fae4
mov ecx, 1
add dl, dl
jne 0x14167fac6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14167fad3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14167fabb
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14167fa16
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14167fb00
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14167fb0d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14167faf5
cmp eax, 0x7d00
jae 0x14167fb33
cmp eax, 0x500
jb 0x14167fb2e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14167fa16
cmp eax, 0x7f
ja 0x14167fb36
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14167fa16
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14167fb6a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14167fa16
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140005cf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140005d24
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140005d10
ret
Function at 0x14000de70
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000df35
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14000df35
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14000df4e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x14000df25
cmp byte [rcx], 0x5c
jne 0x14000df1e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x14000df1e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14000df0c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x14000df1b
test r8b, 0x10
jne 0x14000df1e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x14000df1e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.14000a570
test edi, edi
jne 0x14000de90
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14000a560
int3

Function at 0x14000ffc8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140010002
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140010007
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140010050
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400135a0]
cmp byte [rcx + rax], 0
je 0x140010050
dec r8
sub rdx, 1
jne 0x140010036
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140011a04
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140011a4e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140011a4e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140011a4e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140011a4e
cmp dword [rcx + 0x84], 0xe
jbe 0x140011a4e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140011a50
xor al, al
add rsp, 0x28
ret

Function at 0x7c00725c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rbp + 0xb8], 0
mov rax, qword [rbp + 0x90]
mov eax, dword [rbp + 0x90]
movzx ecx, word [rax]
mov eax, 0x1d77
mov rcx, qword [rbp + 0x10]
mov edx, dword [rcx + 4]
mov r8d, dword [rbp - 8]
clc
mov eax, dword [rbp + 4]
mov dword [rbp + 0x34], eax
cmp dword [rbp + 0x24], 0
jne 0x7c006d50
jmp 0x7c00727f
cmp ecx, 0x527c
jb 0x7c006c28
jmp 0x7c007238
mov eax, 0x6b8c
mov ecx, eax
cmp rcx, qword [rbp + 0xc8]
ja 0x7c006fe2
jmp 0x7c006a5c

Function at 0x7c0159a8
Capabilities:
Encode data using xor

Disassembly:
sub byte [rdx], al
invalid
ja 0x7c015992
cmpsd dword [rsi], dword [rdi]
jb 0x7c0159ea
cmpsd dword [rsi], dword [rdi]
movsd dword [rdi], dword [rsi]
shr dword [rsp + rax + 0x481a1052], 1
sbb dword [rbp + 0x1a], ebp
mov ch, byte [rcx]
mov esi, 0x61edc34f
out dx, al
jrcxz 0x7c015a17
test byte [rbp - 0x1ed772af], bl
sbb eax, 0xcac3eeff
ror dword [rbx - 0x107e117f], cl
mov eax, 0xaa5cd577
leave
invalid
add ecx, dword [rax + rax*4 + 0x1e]
leave
imul edx, esi, 0x2c
invalid
sub al, 0xe5
adc bl, cl
xchg edi, eax
std
invalid

Function at 0x7c021084
Capabilities:
Encode data using add xor sub operations

Disassembly:
movabs dword [0x7f89676423370348], eax
in eax, dx
movabs eax, dword fs:[0x96d403ae9189ce3f]
mov eax, 0xa1a402ed
sub al, 0x98
and eax, 0x73a77fdf
int 0x57
cmp byte [rbp - 0x76], bh
xchg ecx, eax
push rax
sal dword [rdi - 0xe], cl
invalid

Function at 0x7c0210d0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
ficom dword [rdi - 0x4fa73a8c]
jge 0x7c0210e2
cmp byte [rcx + 0x5fe27603], ch
and dword [rcx], ebp
adc eax, dword [rax - 0x55]
stosd dword [rdi], eax
or byte [rdx + 0x45], cl
invalid
invalid
Function at 0x14000255c
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14005bec0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1400489f0]
movdqu xmmword [rsp + 0x58], xmm1
mov word [rsp + 0x48], si
mov rcx, rdx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdx, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
inc rdx
lea rcx, [rsp + 0x20]
call fcn.1400013c4
nop
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
sub r8, rdx
sar r8, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rbx, qword [rsp + 0x20]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
mov rcx, rbx
call fcn.14003683c
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.1400012c0
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14000264d
mov rax, qword [rsp + 0x30]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002647
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000266f
call fcn.140031bec
nop
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140031d00
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400367c4
nop
int3

Function at 0x140002c5c
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14005bec0]
xor rax, rsp
mov qword [rsp + 0x68], rax
or qword [rcx + 8], 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
xor r9d, r9d
mov byte [rcx + 0x30], 1
mov rdi, rdx
mov rbx, rcx
movups xmmword [rcx + 0x20], xmm0
xor ecx, ecx
lea edx, [r9 + 1]
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x28], rax
test rax, rax
je 0x140002d12
mov r8, rdi
lea rdx, str..pipe_
lea rcx, [rsp + 0x48]
call fcn.140002830
mov eax, dword [rbx]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
mov r9d, 1
mov edx, 0x40000003
cmova rcx, qword [rsp + 0x48]
xor r8d, r8d
and qword [rsp + 0x38], 0
mov dword [rsp + 0x30], eax
mov eax, 0x4000
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea rcx, [rsp + 0x48]
mov qword [rbx + 8], rax
call fcn.140001fa8
cmp qword [rbx + 8], 0xffffffffffffffff
setne al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140031d00
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x140002d94
Capabilities:
Read file on windows
Read pipe
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x14005bec0]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov r8, rsi
lea rdx, str..pipe_
lea rcx, [rsp + 0x50]
call fcn.140002830
cmp qword [rsp + 0x68], 7
lea rcx, [rsp + 0x50]
mov edx, 0xc0000000
cmova rcx, qword [rsp + 0x50]
xor r9d, r9d
and qword [rsp + 0x30], 0
xor r8d, r8d
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x140002e7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x140002e51
cmp qword [rsp + 0x68], 7
lea rcx, [rsp + 0x50]
mov edx, dword [rdi]
cmova rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x140002e51
lea rcx, [rsp + 0x50]
call fcn.140001fa8
jmp 0x140002dc5
lea rcx, [rsp + 0x50]
call fcn.140001fa8
xor al, al
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.140031d00
mov rbx, qword [rsp + 0x4b8]
add rsp, 0x480
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x50]
call fcn.140001fa8
mov rax, qword [rbx + 8]
cmp qword [rbx], rax
je 0x140002ebf
and qword [rsp + 0x28], 0
lea rax, [rsp + 0x44]
mov rcx, qword [rdi + 8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x140002f1b
cmp dword [rsp + 0x44], 0
je 0x140002f1b
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x44]
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x70]
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140002e5b
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x140002f1b
mov rdx, qword [rbx + 8]
lea r8, [rsp + 0x70]
mov r9d, eax
mov rcx, rbx
call fcn.1400028b0
mov rcx, qword [rbx + 8]
sub rcx, qword [rbx]
mov eax, dword [rdi + 4]
cmp rcx, rax
jbe 0x140002e89
jmp 0x140002e5b
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x48]
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x40]
mov r8d, 4
mov dword [rsp + 0x40], 1
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne al
jmp 0x140002e5d
Function at 0x140002f50
Capabilities:
Connect pipe
Read file on windows
Write file on windows
Write pipe

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x14005bec0]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rsi, [rcx + 0x10]
mov r14, rdx
mov rdi, rcx
mov rdx, rsi
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
xor ebx, ebx
test eax, eax
jne 0x140003024
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x140002fb3
mov rdx, qword [rdi + 8]
mov r8, rsi
mov rcx, rdi
call fcn.140002d30
test al, al
je 0x140003024
mov r8, qword [r14 + 8]
lea r9, [rsp + 0x30]
sub r8, qword [r14]
mov rdx, qword [r14]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140002fe8
mov rdx, qword [rdi + 8]
mov r8, rsi
mov rcx, rdi
call fcn.140002d30
test al, al
je 0x140003024
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000301e
mov rdx, qword [rdi + 8]
mov r8, rsi
mov rcx, rdi
call fcn.140002d30
test al, al
je 0x140003020
mov bl, 1
mov al, bl
jmp 0x140003026
xor al, al
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140031d00
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r14
pop rdi
pop rsi
ret
Function at 0x140008548
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x140067c00], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x1400085a8
movdqa xmm0, xmmword [0x140048bc0]
movdqa xmm1, xmmword [0x140048bb0]
movdqa xmmword [0x14005c9a0], xmm0
movdqa xmm0, xmmword [0x140048b90]
movdqa xmmword [0x14005c9b0], xmm1
movdqa xmm1, xmmword [0x140048ba0]
movdqa xmmword [0x14005c9c0], xmm0
movdqa xmmword [0x14005c9d0], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.1400456e0
xor edx, edx
mov qword [rbx + 0x110], rdx
mov byte [rbx + 0x118], dl
mov rcx, qword [rbx + 0xf8]
lea rax, [0x140048b70]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x1400085c4
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret

Function at 0x140009928
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14000994e
movzx r9d, byte [rdx]
inc rdx
movzx eax, cl
xor r9, rax
shr ecx, 8
lea rax, [0x14005c9e0]
xor ecx, dword [rax + r9*4]
sub r8, 1
jne 0x14000992d
mov eax, ecx
ret

Function at 0x140009ba8
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x14005bec0]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp dword [rcx], 2
lea rbx, [rcx + 4]
mov rsi, rdx
mov rdi, rcx
mov r14d, 0x20
jne 0x140009c3b
and qword [r11 - 0x58], 0
lea r9d, [r14 - 0x1c]
and qword [r11 - 0x60], 0
lea r8, [r11 - 0x48]
mov eax, dword [rbx]
mov edx, r14d
and qword [r11 - 0x68], 0
mov rcx, rsi
and qword [r11 - 0x70], 0
mov dword [rsp + 0x50], eax
lea rax, [r11 - 0x40]
mov qword [r11 - 0x78], rax
call fcn.14000a578
xor edx, edx
lea r9, [rsp + 0x58]
xor r8d, r8d
movzx eax, byte [r9]
mov ecx, r8d
and ecx, 3
inc r8d
shl ecx, 3
inc r9
shl eax, cl
xor edx, eax
cmp r8d, r14d
jb 0x140009c1d
mov dword [rbx], edx
cmp dword [rdi], 3
jne 0x140009c83
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
and qword [rsp + 0x38], 0
mov r9, r14
and qword [rsp + 0x30], 0
mov r8, rbx
and qword [rsp + 0x28], 0
mov rdx, r14
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14000a578
mov r8, r14
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.140045040
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140031d00
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret
Function at 0x14000a894
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x14005bec0]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rdi, qword [rbp + 0x180]
mov rax, r8
mov rsi, qword [rbp + 0x188]
mov r8d, 0x40
mov r14, qword [rbp + 0x190]
cmp r9, r8
mov r12, rdx
mov r15, rcx
cmovb r8, r9
lea rcx, [rbp + 0xa0]
mov rdx, rax
mov rbx, r9
call fcn.140045040
cmp rbx, 0x44
jae 0x14000aaef
lea rax, [rbx + 1]
mov byte [rbp + rbx + 0xa0], 0
cmp rax, 0x44
jae 0x14000aaef
mov byte [rbp + rax + 0xa0], 0
lea rax, [rbx + 2]
cmp rax, 0x44
jae 0x14000aaef
and qword [rsp + 0x40], 0
lea r9, [rbx + 4]
and qword [rsp + 0x38], 0
lea r8, [rbp + 0xa0]
and qword [rsp + 0x30], 0
mov rdx, r12
and qword [rsp + 0x28], 0
mov rcx, r15
mov byte [rbp + rax + 0xa0], 0
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov byte [rbp + rbx + 0xa3], 1
call fcn.14000a578
mov ebx, 0x20
lea rdx, [rbp + 0x60]
mov r8d, ebx
lea rcx, [rbp + 0x80]
call fcn.140045040
mov eax, dword [rbp + 0x198]
dec eax
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rsi
lea rdi, [rsp + 0x58]
mov qword [rsp + 0x78], r14
lea rsi, [rsp + 0x68]
mov dword [rsp + 0x58], eax
lea r14d, [rbx - 0x1d]
mov dword [rsp + 0x5c], 0x10
mov dword [rsp + 0x60], 0x10
mov byte [rsp + 0x51], 0
mov byte [rsp + 0x50], 0
cmp dword [rdi], 0
jbe 0x14000aa70
mov ebx, dword [rdi]
lea rax, [rsp + 0x50]
mov r9d, 0x20
mov qword [rsp + 0x40], rax
lea r8, [rbp + 0x60]
lea rax, [rbp - 0x80]
mov rdx, r12
mov qword [rsp + 0x38], rax
mov rcx, r15
lea rax, [rsp + 0x51]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
call fcn.14000a578
mov r8d, 0x20
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x60]
call fcn.140045040
xor eax, eax
lea ecx, [rax + 2]
movdqu xmm0, xmmword [rbp + rax + 0x80]
movdqu xmm1, xmmword [rbp + rax + 0x60]
lea rax, [rax + 0x10]
xorps xmm1, xmm0
movdqu xmmword [rbp + rax + 0x70], xmm1
sub rcx, 1
jne 0x14000aa41
sub rbx, 1
jne 0x14000a9df
lea ebx, [rcx + 0x20]
mov rcx, qword [rsi]
lea rdx, [rbp + 0x80]
mov r8, rbx
call fcn.140045040
add rdi, 4
add rsi, 8
sub r14, 1
jne 0x14000a9d4
lea edx, [r14 + 0x44]
lea rcx, [rbp + 0xa0]
call fcn.14001b468
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.14001b468
mov rdx, rbx
lea rcx, [rbp + 0x60]
call fcn.14001b468
mov rdx, rbx
lea rcx, [rbp + 0xf0]
call fcn.14001b468
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140031d00
add rsp, 0x220
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140032004
int3
Function at 0x1400116d0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x14], 0
mov rbx, rcx
jne 0x140011707
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x1400116f3
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140048528]
cmp byte [rbx + 0x21], 0
je 0x140011707
lea rcx, [rbx + 0x40]
add rsp, 0x20
pop rbx
jmp fcn.14001257c
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140011710
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
lea rsi, [rcx + 0x14]
mov rbp, r8
cmp dword [rsi], 1
mov r15, rdx
mov rbx, rcx
jne 0x14001174f
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx + 8], rax
lea r14, [rbx + 0x14]
jmp 0x140011752
mov r14, rsi
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x50]
and qword [rsp + 0x20], 0
mov r8d, ebp
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400117ce
mov rcx, rbx
call fcn.140011864
test al, al
je 0x140011795
mov r8d, 0x4e20
cmp rbp, r8
jbe 0x140011795
mov rdx, r15
mov rcx, rbx
call fcn.140011710
jmp 0x1400117d2
cmp dword [rsi], 1
jne 0x1400117a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x1400117a9
xor eax, eax
jmp 0x1400117d2
cmp dword [r14], 0
jne 0x1400117c9
mov edi, 0x8000
cmp rbp, rdi
jbe 0x1400117c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x21
jne 0x1400117c9
mov r8d, edi
jmp 0x140011788
or eax, 0xffffffff
jmp 0x1400117d2
mov eax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x140011b00
Capabilities:
Clear file content

Disassembly:
push rbx
sub rsp, 0x20
xor r8d, r8d
mov rbx, rcx
call fcn.140011b3c
test al, al
je 0x140011b34
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rax, qword [rbx]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [0x140048528]
add rsp, 0x20
pop rbx
ret

Function at 0x140012010
Capabilities:
Clear file content

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
add rsp, 0x28
ret