joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013c60
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
push r11
mov r11, qword [r14 + 0x10]
add r14, 0x18
mov r15, qword [r14]
mov r12, r15
add r12, 0x10
mov r14, qword [r12]
push rax
mov r12, qword [r14 + 0x30]
cmp r12, 0
je 0x140013cba
invalid
mov r15, qword [r14 + 0x60]
mov rax, qword [r15]
and eax, 0xdf00df
mov r15, qword [r15 + 0xb]
add r15d, eax
shr r15d, 2
sub r15d, 0xc914cd2
cmp r15, 0
je 0x140013cc2
mov r14, qword [r14]
jmp 0x140013c8b
mov r14d, dword [r12 + 0x3c]
add r14, r12
add r14, 0x10
mov r15d, dword [r14 + 0x78]
add r15, r12
push r10
mov eax, dword [r15 + 0x20]
add rax, r12
mov r10d, dword [rax]
add r10, r12
mov r14d, dword [r10 + 0xb]
sub r14d, 0x746365
cmp r14d, 0
jne 0x140013cf7
jmp 0x140013d05
inc rax
inc rax
inc rax
inc rax
jmp 0x140013cde
mov r14d, dword [r15 + 0x20]
sub rax, r14
sub rax, r12
shr eax, 1
mov r14d, dword [r15 + 0x24]
add r14, rax
add r14, r12
mov eax, dword [r14]
mov r14d, dword [r15 + 0x1c]
shl eax, 0x10
shr eax, 0xe
add r14, r12
add r14, rax
mov eax, dword [r14]
add rax, r12
mov r14d, 0xda000
add r14, r11
push r12
push r11
push r14
push r10
push r10
push rax
mov rcx, r14
mov r9, rsp
mov r8d, 0x40
mov edx, 0xb8000
call rax
pop r15
pop r10
pop r10
pop r14
pop r11
mov r12d, 0x5ba5
push rax
movabs r15, 0x3ae00
mov eax, 0x14
imul r12, rax
movabs rax, 0x4d2d
add rax, r11
add r12, rax
call fcn.140013dbc
mov r12d, 0xb3411
movabs r14, 0x11a000
add r12, r11
mov r15d, 0x3b30
add r14, r11
call fcn.140013dbc
pop rax
jmp 0x140013de2
mov r12d, 0x8000000
mov r15d, 0x309
movabs r14, 0xda000
mov eax, 5
imul r15d, eax
add r15d, 0xd3
add r14, r11
sub r14, r15
mov r15, r14
test dword [rdi + 0x2b], 0x11bc41fc
or byte [rbx], 0
Function at 0x140005eac
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp dword [0x14005a138], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x140005f08
movaps xmm0, xmmword [0x14003c8e0]
movaps xmm1, xmmword [0x14003c8f0]
movdqa xmmword [0x140046e10], xmm0
movaps xmm0, xmmword [0x14003c900]
movdqa xmmword [0x140046e00], xmm1
movaps xmm1, xmmword [0x14003c910]
movdqa xmmword [0x140046df0], xmm0
movdqa xmmword [0x140046de0], xmm1
xor edx, edx
mov r8d, pe_nt_image_headers64
call fcn.14002d190
xor r11d, r11d
mov qword [rbx + 0x110], r11
mov byte [rbx + 0x118], r11b
mov rcx, qword [rbx + 0xf8]
lea rax, [0x14003c820]
mov eax, dword [r11 + rax]
mov dword [r11 + rcx], eax
add r11, 4
cmp r11, 0x20
jl 0x140005f26
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
shl edi, 0x10
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140008734
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
xor r13d, r13d
mov sil, dl
mov rdi, rcx
mov word [rcx + 0x83ca], r13w
mov byte [rcx + 0x83c1], r13b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
mov bpl, 1
jmp 0x14000879b
cmp bpl, r13b
jne 0x14000878b
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
cmp sil, r13b
je 0x140008786
call fcn.1400085c8
jmp 0x14000878b
call fcn.14000832c
mov rcx, qword [rsp + 0x40]
call fcn.14002cfac
mov bpl, r13b
mov rcx, r12
lea rdx, [rsp + 0x40]
call fcn.140006954
mov r12, rax
cmp rax, r13
jne 0x14000876d
cmp sil, r13b
jne 0x1400087ba
mov rcx, rdi
call fcn.140006d2c
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x1400087d0
Capabilities:
Query environment variable

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rsi, rcx
lea rcx, [0x14003cb10]
call fcn.14002dd48
mov rbx, rax
test rax, rax
je 0x14000885e
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
and qword [rsp + 0x28], rax
and qword [rsp + 0x30], rax
and qword [rsp + 0x38], rax
and qword [rsp + 0x40], rax
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.1400011f4
nop
mov r8, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
mov rdx, rdi
mov rcx, rbx
call fcn.14002110c
mov rdx, rdi
mov rcx, rsi
call fcn.1400086cc
nop
test rdi, rdi
je 0x14000885e
mov rcx, rdi
call fcn.14002cfac
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140008c5c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x140045948]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rax, rdx
mov rbx, r8
mov rdi, rcx
lea rdx, [rsp + 0x40]
mov r8d, 0x400
mov rcx, rax
call fcn.14001f23c
call fcn.14002e064
add rax, 0x30
cmp rdi, rax
jne 0x140008cb0
cmp byte [0x140047e3c], 0
jne 0x140008ccf
call fcn.14002e064
add rax, 0x60
cmp rdi, rax
jne 0x140008d86
cmp byte [0x140047e3d], 0
je 0x140008d86
call fcn.14002e064
add rax, 0x30
sub rdi, rax
neg rdi
sbb ecx, ecx
add ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x20], rbx
lea rbx, [0x140049640]
mov esi, 0x1800
lea r8, [rsp + 0x40]
mov rcx, rbx
xor r9d, r9d
mov rdx, rsi
mov rbp, rax
call fcn.14002d43c
cmp dword [0x140047e38], 3
jne 0x140008d32
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
mov rdx, rbx
not rcx
lea r8d, [rcx + rcx - 2]
jmp 0x140008d71
mov r8, rsi
lea rsi, [0x140047e40]
mov rcx, rbx
mov rdx, rsi
call fcn.1400210b8
cmp dword [0x140047e38], 1
je 0x140008d5c
mov rdx, rsi
mov rcx, rsi
call qword [sym.imp.USER32.dll_CharToOemA]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasb al, byte [rdi]
mov rdx, rsi
not rcx
lea r8, [rcx - 1]
and qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140008ded
mov qword [rsp + 0x20], rbx
lea rbx, [0x140049640]
lea r8, [rsp + 0x40]
xor r9d, r9d
mov edx, 0x1800
mov rcx, rbx
call fcn.14002d43c
call fcn.14002e064
xor ecx, ecx
add rax, 0x60
cmp rdi, rax
setne cl
add ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
or rcx, 0xffffffffffffffff
mov rdi, rbx
mov r11, rax
xor eax, eax
lea r9, [rsp + 0x34]
and qword [rsp + 0x20], rax
repne scasw ax, word [rdi]
mov rdx, rbx
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14002d160
mov rbx, qword [rsp + 0x888]
add rsp, 0x850
pop rdi
pop rsi
pop rbp
ret

Function at 0x140009650
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [rcx + 4], 0
mov r8, rcx
jne 0x140009697
xor r9d, r9d
mov r10d, r9d
mov r11d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
and cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x140009665
inc r9d
mov dword [r8], r10d
add r8, 4
cmp r9d, 0x100
jb 0x14000965c
repz ret
Function at 0x140009710
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10, r8
mov rbx, rdx
mov r11d, ecx
lea rsi, [0x14004ee40]
test r8, r8
je 0x140009759
test bl, 7
je 0x140009759
movzx ecx, byte [rbx]
movzx eax, r11b
inc rbx
xor rcx, rax
mov eax, r11d
mov r11d, dword [rsi + rcx*4]
shr eax, 8
xor r11d, eax
sub r10, 1
jne 0x140009734
cmp r10, 8
jb 0x140009806
mov rdi, r10
shr rdi, 3
mov rax, rdi
imul rax, rax, 0xfffffffffffffff8
add r10, rax
xor r11d, dword [rbx]
mov r9d, dword [rbx + 4]
add rbx, 8
mov eax, r9d
shr eax, 0x10
movzx edx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr eax, 0x18
movzx ecx, al
mov eax, r9d
xor r8d, dword [rsi + rcx*4]
shr eax, 8
movzx ecx, al
mov eax, r11d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr eax, 0x18
movzx ecx, al
mov eax, r11d
xor r8d, dword [rsi + rcx*4 + 0x1000]
shr eax, 0x10
movzx ecx, al
mov eax, r11d
xor r8d, dword [rsi + rcx*4 + 0x1400]
shr eax, 8
movzx ecx, al
movzx eax, r9b
xor r8d, dword [rsi + rcx*4 + 0x1800]
xor r8d, dword [rsi + rax*4 + 0xc00]
movzx eax, r11b
mov r11d, r8d
xor r11d, dword [rsi + rax*4 + 0x1c00]
sub rdi, 1
jne 0x140009774
test r10, r10
je 0x14000982b
movzx ecx, byte [rbx]
movzx eax, r11b
inc rbx
xor rcx, rax
mov eax, r11d
mov r11d, dword [rsi + rcx*4]
shr eax, 8
xor r11d, eax
sub r10, 1
jne 0x14000980b
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, r11d
ret

Function at 0x14000999c
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdx
mov r9, rcx
test r8, r8
je 0x140009a4e
mov eax, 0x1234
add word [r9 + 0x10b8], ax
mov dx, word [r9 + 0x10b8]
mov rax, rdx
shr rax, 1
movzx eax, al
movzx ecx, word [r9 + rax*4 + 0xba4]
mov rax, rdx
xor word [r9 + 0x10ba], cx
shr rax, 1
movzx eax, al
movzx ecx, word [r9 + rax*4 + 0xba6]
sub word [r9 + 0x10bc], cx
movzx eax, word [r9 + 0x10bc]
mov ecx, 1
xor ax, dx
mov word [r9 + 0x10b8], ax
movzx eax, word [r9 + 0x10be]
ror ax, cl
xor ax, word [r9 + 0x10ba]
ror ax, cl
xor word [r9 + 0x10b8], ax
mov word [r9 + 0x10be], ax
movzx eax, word [r9 + 0x10b8]
shr ax, 8
xor byte [r10], al
inc r10
sub r8, 1
jne 0x1400099ab
repz ret

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

Disassembly:
mov r8, rcx
lea r9, [rdx + 1]
mov r10d, 4
movzx eax, byte [r9 - 1]
mov edx, dword [r8 + rax*4 + 0xba4]
xor dword [r8 + 0x10a4], edx
movzx eax, byte [r9]
add r9, 4
mov ecx, dword [r8 + rax*4 + 0xba4]
xor dword [r8 + 0x10a8], ecx
movzx eax, byte [r9 - 3]
mov ecx, dword [r8 + rax*4 + 0xba4]
xor dword [r8 + 0x10ac], ecx
movzx eax, byte [r9 - 2]
mov ecx, dword [r8 + rax*4 + 0xba4]
xor dword [r8 + 0x10b0], ecx
sub r10, 1
jne 0x140009a5d
repz ret
Function at 0x140009dd8
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x200
mov rax, qword [0x140045948]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rbp, qword [rsp + 0x260]
mov r14d, 0x40
mov r13, r9
mov r12, r8
mov rbx, rdx
mov rsi, rcx
cmp rdx, r14
jbe 0x140009e5c
lea rcx, [rsp + 0x100]
call fcn.14001e8a0
lea rcx, [rsp + 0x100]
mov r8, rbx
mov rdx, rsi
call fcn.14001eb2c
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x100]
call fcn.14001ebf0
lea rsi, [rsp + 0x1b0]
lea ebx, [r14 - 0x20]
xor edi, edi
mov dl, 0x36
mov r8, rdi
cmp rbx, rdi
jbe 0x140009e8e
lea rax, [rsp + 0x170]
mov r9, rsi
sub r9, rax
lea rcx, [rsp + r8 + 0x170]
inc r8
mov al, byte [r9 + rcx]
xor al, dl
mov byte [rcx], al
cmp r8, rbx
jb 0x140009e76
cmp rbx, r14
jae 0x140009ea6
mov r8, r14
lea rcx, [rsp + rbx + 0x170]
sub r8, rbx
call fcn.14002d190
lea rcx, [rsp + 0x20]
call fcn.14001e8a0
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x20]
mov r8, r14
call fcn.14001eb2c
lea rcx, [rsp + 0x20]
mov r8, r13
mov rdx, r12
call fcn.14001eb2c
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x20]
call fcn.14001ebf0
lea rcx, [rsp + 0x90]
call fcn.14001e8a0
mov dl, 0x5c
cmp rbx, rdi
jbe 0x140009f1d
lea rax, [rsp + 0x170]
sub rsi, rax
lea rcx, [rsp + rdi + 0x170]
inc rdi
mov al, byte [rsi + rcx]
xor al, dl
mov byte [rcx], al
cmp rdi, rbx
jb 0x140009f06
cmp rbx, r14
jae 0x140009f35
mov r8, r14
lea rcx, [rsp + rbx + 0x170]
sub r8, rbx
call fcn.14002d190
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x90]
mov r8, r14
call fcn.14001eb2c
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x90]
mov r8d, 0x20
call fcn.14001eb2c
lea rcx, [rsp + 0x90]
mov rdx, rbp
call fcn.14001ebf0
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.14002d160
add rsp, 0x200
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140009f9c
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x120
mov rax, qword [0x140045948]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rdi, qword [rsp + 0x180]
mov rsi, qword [rsp + 0x188]
mov rbp, qword [rsp + 0x190]
mov rax, r8
mov r8d, 0x40
mov r12, rcx
cmp r9, r8
mov r13, rdx
lea rcx, [rsp + 0xa0]
cmovb r8, r9
mov rdx, rax
mov rbx, r9
call fcn.14002d490
lea rax, [rsp + 0x58]
lea r9, [rbx + 4]
lea r8, [rsp + 0xa0]
mov rdx, r13
mov rcx, r12
mov qword [rsp + 0x20], rax
mov byte [rsp + rbx + 0xa0], 0
mov byte [rsp + rbx + 0xa1], 0
mov byte [rsp + rbx + 0xa2], 0
mov byte [rsp + rbx + 0xa3], 1
call fcn.140009dd8
mov r14d, 0x20
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x58]
mov r8, r14
call fcn.14002d490
mov r11d, dword [rsp + 0x198]
lea eax, [r14 - 0x10]
dec r11d
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rbp
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r11d
lea rsi, [rsp + 0x40]
lea rdi, [rsp + 0x30]
lea ebp, [rax - 0xd]
cmp dword [rdi], 0
jbe 0x14000a0ed
mov ebx, dword [rdi]
lea rax, [rsp + 0xf0]
lea r8, [rsp + 0x58]
mov r9, r14
mov rdx, r13
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.140009dd8
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0xf0]
mov r8, r14
call fcn.14002d490
xor r11d, r11d
mov rcx, r14
mov al, byte [rsp + r11 + 0x58]
inc r11
xor byte [rsp + r11 + 0x77], al
sub rcx, 1
jne 0x14000a0d4
sub rbx, 1
jne 0x14000a099
mov rcx, qword [rsi]
lea rdx, [rsp + 0x78]
mov r8, r14
call fcn.14002d490
add rdi, 4
add rsi, 8
sub rbp, 1
jne 0x14000a092
lea edx, [rbp + 0x44]
lea rcx, [rsp + 0xa0]
call fcn.14001cf34
lea rcx, [rsp + 0x78]
mov rdx, r14
call fcn.14001cf34
lea rcx, [rsp + 0x58]
mov rdx, r14
call fcn.14001cf34
lea rcx, [rsp + 0xf0]
mov rdx, r14
call fcn.14001cf34
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.14002d160
add rsp, 0x120
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000a530
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
mov ebx, dword [rcx + 0x10a4]
mov r11d, dword [rcx + 0x10a8]
mov esi, dword [rdx + 8]
mov ebp, dword [rdx + 0xc]
xor r11d, dword [rdx + 4]
xor esi, dword [rcx + 0x10ac]
xor ebp, dword [rcx + 0x10b0]
mov edi, ebx
mov r9, rdx
xor edi, dword [rdx]
xor r13d, r13d
mov r10, rcx
lea r14d, [r13 + 0x20]
mov rax, r13
mov edx, ebp
inc r13
and eax, 3
rol edx, 0xb
mov r8d, dword [r10 + rax*4 + 0x10a4]
add edx, esi
xor edx, r8d
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx r12d, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 8
shl ecx, 8
movzx eax, al
or r12d, ecx
movzx ecx, dl
movzx eax, byte [rax + r10 + 0xfa4]
shl r12d, 8
mov edx, esi
or r12d, eax
movzx eax, byte [rcx + r10 + 0xfa4]
shl r12d, 8
or r12d, eax
xor r12d, edi
ror edx, 0xf
mov edi, esi
xor edx, ebp
mov esi, r12d
add edx, r8d
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx r8d, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 8
shl ecx, 8
or r8d, ecx
movzx eax, al
movzx ecx, dl
movzx eax, byte [rax + r10 + 0xfa4]
shl r8d, 8
or r8d, eax
movzx eax, byte [rcx + r10 + 0xfa4]
shl r8d, 8
or r8d, eax
xor r8d, r11d
sub r14, 1
mov r11d, ebp
mov ebp, r8d
jne 0x14000a581
xor ebx, r12d
mov rdx, r9
mov rcx, r10
mov dword [r9], ebx
mov eax, dword [r10 + 0x10a8]
xor eax, r8d
mov dword [r9 + 4], eax
mov eax, dword [r10 + 0x10ac]
xor eax, edi
mov dword [r9 + 8], eax
xor r11d, dword [r10 + 0x10b0]
mov dword [r9 + 0xc], r11d
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
jmp fcn.140009a50
Function at 0x14000a6b8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov rax, qword [0x140045948]
xor rax, rsp
mov qword [rsp + 0x30], rax
movdqu xmm0, xmmword [rdx]
mov ebx, dword [rcx + 0x10a4]
mov edi, dword [rdx]
mov r11d, dword [rcx + 0x10a8]
mov esi, dword [rdx + 8]
mov ebp, dword [rdx + 0xc]
movdqu xmmword [rsp + 0x20], xmm0
xor r11d, dword [rdx + 4]
xor esi, dword [rcx + 0x10ac]
mov r12d, 0x1f
xor edi, ebx
xor ebp, dword [rcx + 0x10b0]
mov r9, rdx
mov r10, rcx
mov r14, r12
mov rax, r14
mov edx, ebp
dec r14
and eax, 3
rol edx, 0xb
mov r8d, dword [r10 + rax*4 + 0x10a4]
add edx, esi
xor edx, r8d
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx r13d, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 8
shl ecx, 8
movzx eax, al
or r13d, ecx
movzx ecx, dl
movzx eax, byte [rax + r10 + 0xfa4]
shl r13d, 8
mov edx, esi
or r13d, eax
movzx eax, byte [rcx + r10 + 0xfa4]
shl r13d, 8
or r13d, eax
xor r13d, edi
ror edx, 0xf
mov edi, esi
xor edx, ebp
mov esi, r13d
add edx, r8d
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx r8d, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 8
shl ecx, 8
or r8d, ecx
movzx eax, al
movzx ecx, dl
movzx eax, byte [rax + r10 + 0xfa4]
shl r8d, 8
or r8d, eax
movzx eax, byte [rcx + r10 + 0xfa4]
shl r8d, 8
or r8d, eax
xor r8d, r11d
sub r12d, 1
mov r11d, ebp
mov ebp, r8d
jns 0x14000a71d
xor ebx, r13d
lea rdx, [rsp + 0x20]
mov rcx, r10
mov dword [r9], ebx
mov eax, dword [r10 + 0x10a8]
xor eax, r8d
mov dword [r9 + 4], eax
mov eax, dword [r10 + 0x10ac]
xor eax, edi
mov dword [r9 + 8], eax
xor r11d, dword [r10 + 0x10b0]
mov dword [r9 + 0xc], r11d
call fcn.140009a50
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14002d160
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x14000a85c
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140045948]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp dword [rcx], 2
mov rdi, rdx
mov rbx, rcx
mov esi, 0x20
jne 0x14000a8db
mov eax, dword [rcx + 4]
lea r9d, [rsi - 0x1c]
lea r8, [r11 - 0x38]
mov dword [rsp + 0x30], eax
lea rax, [r11 - 0x30]
mov rdx, rsi
mov rcx, rdi
mov qword [r11 - 0x48], rax
call fcn.140009dd8
xor r11d, r11d
lea r8, [rsp + 0x38]
mov dword [rbx + 4], r11d
mov edx, r11d
movzx eax, byte [r8]
mov ecx, r11d
inc r11d
and ecx, 3
inc r8
shl ecx, 3
shl eax, cl
xor edx, eax
cmp r11d, esi
jb 0x14000a8bc
mov dword [rbx + 4], edx
cmp dword [rbx], 3
jne 0x14000a90d
lea rax, [rsp + 0x38]
lea r8, [rbx + 4]
mov r9, rsi
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140009dd8
lea rcx, [rbx + 4]
lea rdx, [rsp + 0x38]
mov r8, rsi
call fcn.14002d490
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002d160
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000eef4
Capabilities:
Move file

Disassembly:
push rsi
push rdi
push r12
mov eax, 0x5070
call fcn.14003a300
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x5098], rbx
mov qword [rsp + 0x50a0], rbp
mov rax, qword [0x140045948]
xor rax, rsp
mov qword [rsp + 0x5060], rax
mov rbx, rcx
mov r12d, 0x800
mov r8d, r12d
lea rdx, [rsp + 0x4060]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
xor ebp, ebp
cmp eax, ebp
je 0x14000f119
cmp eax, r12d
jae 0x14000f119
mov r8d, r12d
lea rdx, [rsp + 0x3060]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
cmp eax, ebp
je 0x14000f115
cmp eax, r12d
jae 0x14000f115
lea rcx, [rsp + 0x4060]
call fcn.140013c20
mov rsi, rax
lea rcx, [rsp + 0x3060]
call fcn.140013c20
mov rdi, rax
cmp word [rax], bp
je 0x14000f111
mov rdx, rax
mov rcx, rsi
call fcn.140021464
cmp eax, ebp
je 0x14000f111
mov rcx, rbx
call fcn.140013c20
mov rcx, rax
mov rdx, rdi
call fcn.140021464
cmp eax, ebp
jne 0x14000f111
mov ax, bp
mov word [rsp + 0x1060], ax
mov edi, ebp
cmp ax, bp
jne 0x14000f05e
mov r8, r12
mov rdx, rbx
lea rcx, [rsp + 0x1060]
call fcn.14001efc0
lea rcx, [rsp + 0x1060]
call fcn.140013c20
mov rcx, rax
mov r9d, edi
lea r8, str.rtmp_d
mov rdx, r12
call fcn.140019504
lea rcx, [rsp + 0x1060]
call fcn.1400104f4
cmp al, bpl
je 0x14000f03f
mov eax, ebp
mov word [rsp + 0x1060], ax
jmp 0x14000f047
mov ax, word [rsp + 0x1060]
add edi, 0x7b
cmp edi, 0x2710
jl 0x14000efe7
cmp ax, bp
jne 0x14000f05e
xor al, al
jmp 0x14000f11b
mov r8, r12
mov rdx, rbx
lea rcx, [rsp + 0x2060]
call fcn.14001efc0
mov r8, r12
mov rdx, rsi
lea rcx, [rsp + 0x2060]
call fcn.140013e08
lea rdx, [rsp + 0x1060]
lea rcx, [rsp + 0x2060]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, ebp
jne 0x14000f0a2
xor al, al
jmp 0x14000f11b
lea rcx, [rsp + 0x30]
call fcn.14000f274
nop
mov dil, bpl
mov rcx, rbx
call fcn.1400104f4
cmp al, bpl
jne 0x14000f0d3
mov r8d, 0x12
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000f470
mov dil, al
lea rdx, [rsp + 0x2060]
lea rcx, [rsp + 0x1060]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp dil, bpl
je 0x14000f103
lea rcx, [rsp + 0x30]
call fcn.14000f5d0
lea rcx, [rsp + 0x30]
call fcn.14000f638
nop
lea rcx, [rsp + 0x30]
call fcn.14000f94c
mov al, 1
jmp 0x14000f11b
xor al, al
jmp 0x14000f11b
xor al, al
jmp 0x14000f11b
xor al, al
mov rcx, qword [rsp + 0x5060]
xor rcx, rsp
call fcn.14002d160
lea r11, [rsp + 0x5070]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x14000f66c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor edi, edi
mov rbp, r8
mov r15, rdx
mov rsi, rcx
cmp r8, rdi
jne 0x14000f69f
mov al, 1
jmp 0x14000f811
cmp dword [rcx + 0x14], 1
jne 0x14000f6b4
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsi + 8], rax
mov r12b, dil
mov dword [rsp + 0x70], edi
cmp dword [rsi + 0x14], edi
je 0x14000f711
mov rbx, rdi
cmp rbp, rdi
jbe 0x14000f73b
mov r8d, 0x4000
mov eax, ebp
mov rcx, rbp
sub rcx, rbx
sub eax, ebx
lea rdx, [rbx + r15]
cmp rcx, r8
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x70]
cmovb r8d, eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sete r12b
cmp r12b, dil
je 0x14000f73b
add rbx, 0x4000
cmp rbx, rbp
jb 0x14000f6c8
jmp 0x14000f732
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x70]
mov r8d, ebp
mov rdx, r15
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sete r12b
cmp r12b, dil
jne 0x14000f80a
cmp byte [rsi + 0x1c], dil
je 0x14000f80a
cmp dword [rsi + 0x14], edi
jne 0x14000f80a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rsi]
mov rcx, rsi
mov edi, eax
call qword [rdx + 0x20]
lea rcx, [rsi + 0x26]
mov r13, rax
call fcn.14000fe40
mov ecx, edi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rbx, rbp
jbe 0x14000f7a5
mov rcx, r13
mov ebx, 0xffffffff
sub rcx, rbp
cmp rcx, rbx
ja 0x14000f7a5
lea rax, [r13 + rbp]
cmp rax, rbx
jbe 0x14000f7a5
lea rdx, [rsi + 0x26]
lea rcx, [0x140050e70]
call fcn.14000b2e0
lea rdx, [rsi + 0x26]
lea rcx, [0x140050e70]
xor r8d, r8d
call fcn.14000b31c
xor edi, edi
cmp al, dil
je 0x14000f7f8
mov ecx, dword [rsp + 0x70]
mov rax, rcx
cmp rcx, rbp
jae 0x14000f6b4
cmp ecx, edi
jbe 0x14000f6b4
mov rbx, qword [rsi]
mov rcx, rsi
call qword [rbx + 0x20]
mov ecx, dword [rsp + 0x70]
xor r8d, r8d
sub rax, rcx
mov rcx, rsi
mov rdx, rax
call qword [rbx + 0x18]
jmp 0x14000f6b4
lea r8, [rsi + 0x26]
lea rcx, [0x140050e70]
xor edx, edx
call fcn.14000b4d0
mov byte [rsi + 0x10], 1
mov al, r12b
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14000f900
Capabilities:
Clear file content

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