joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f26ac
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 0x1400f26dc
xor eax, eax
jmp 0x1400f279f
mov rbp, rbx
cmp word [rax], si
je 0x1400f2701
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400f26e8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400f26e4
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.1400ecbbc
movsxd r14, eax
test eax, eax
jne 0x1400f273f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400f26d5
mov rcx, r14
call fcn.1400ea3c8
mov rdi, rax
test rax, rax
jne 0x1400f2758
xor ecx, ecx
call fcn.1400ea38c
jmp 0x1400f2734
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.1400ecbbc
test eax, eax
jne 0x1400f2789
mov rcx, rdi
call fcn.1400ea38c
jmp 0x1400f2793
xor ecx, ecx
call fcn.1400ea38c
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 0x1400f27bc
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 0x1400f2843
mov rsi, rbx
cmp word [rax], bp
je 0x1400f2802
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400f27ec
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400f27e8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400ea3c8
mov rdi, rax
test rax, rax
je 0x1400f2830
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400fa210
mov rbp, rdi
xor ecx, ecx
call fcn.1400ea38c
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 0x1400f58b4
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.1400ea7a0
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 0x1400f5955
cmp ebx, dword [rsp + 0x30]
je 0x1400f594e
test esi, esi
je 0x1400f594e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400f5929
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400f5936
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400f5913
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400f593a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400f5957
mov eax, 1
jmp 0x1400f5957
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400f5e8c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400f5eac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400d8d30
or eax, 0xffffffff
jmp 0x1400f5eae
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400f7e88
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14013c800]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400f7ed2
call fcn.1400d8d9c
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.1400d8dbc
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.1400d942c
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400c9120
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400f7edd
lea eax, [rbx + 1]
jmp 0x1400f7ebf
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1400f7ebd
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400f7ebf
Function at 0x1400f852c
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.1400d1660
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400f85b6
cmp byte [rbp - 0x21], r15b
je 0x1400f85b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400f85ec
call fcn.1400eae98
test eax, eax
jne 0x1400f85d8
cmp byte [rbp - 0x21], r15b
je 0x1400f85d0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400f85ec
cmp byte [rbp - 0x21], r15b
je 0x1400f85e9
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.1400d415c
test eax, eax
jne 0x1400f868c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400d1660
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400f862b
cmp byte [rbp - 0x21], r15b
je 0x1400f8660
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400f8660
call fcn.1400eae98
test eax, eax
jne 0x1400f864c
cmp byte [rbp - 0x21], r15b
je 0x1400f8645
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400f8660
cmp byte [rbp - 0x21], r15b
je 0x1400f865d
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.1400d415c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400f868c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400f868f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400f869d
mov rcx, rdi
call fcn.1400ea38c
cmp byte [rbp + 0x3f], r15b
je 0x1400f86ac
mov rcx, qword [rbp + 0x27]
call fcn.1400ea38c
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 0x1400f9dc0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400f9de8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400f9de8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400063b0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x140067634], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x140006410
movdqa xmm0, xmmword [0x140042a20]
movdqa xmm1, xmmword [0x140042a10]
movdqa xmmword [0x1400542c0], xmm0
movdqa xmm0, xmmword [0x1400429f0]
movdqa xmmword [0x1400542d0], xmm1
movdqa xmm1, xmmword [0x140042a00]
movdqa xmmword [0x1400542e0], xmm0
movdqa xmmword [0x1400542f0], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.14002ff20
xor edx, edx
mov qword [rbx + 0x110], rdx
mov byte [rbx + 0x118], dl
mov rcx, qword [rbx + 0xf8]
lea rax, [0x1400429d0]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x14000642c
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 0x14000724c
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov sil, dl
mov word [rcx + 0x83ca], r15w
mov rbx, rcx
mov byte [rcx + 0x83c1], r15b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
mov r14b, 1
jmp 0x1400072b3
test r14b, r14b
jne 0x1400072a3
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
test sil, sil
je 0x14000729e
call fcn.140007414
jmp 0x1400072a3
call fcn.140006fd0
mov rcx, qword [rsp + 0x40]
call fcn.140031988
mov rcx, rbp
mov r14b, r15b
lea rdx, [rsp + 0x40]
call fcn.140006928
mov rbp, rax
test rax, rax
jne 0x140007285
test sil, sil
jne 0x1400072d2
mov rcx, rbx
call fcn.1400072e8
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
Function at 0x140009370
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x140053890]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rax, rdx
mov rbx, r8
mov rdi, rcx
lea rdx, [rsp + 0x40]
mov rcx, rax
mov r8d, 0x400
call fcn.14001f070
mov ecx, 1
call fcn.140035008
xor ebp, ebp
cmp rdi, rax
jne 0x1400093c7
cmp byte [0x14005531c], bpl
jne 0x1400093e7
mov ecx, 2
call fcn.140035008
cmp rdi, rax
jne 0x1400094a1
cmp byte [0x14005531d], bpl
je 0x1400094a1
mov ecx, 1
call fcn.140035008
sub rdi, rax
neg rdi
sbb ecx, ecx
add ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdi, rax
call fcn.140004e4c
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x40]
mov esi, 0x1800
mov qword [rsp + 0x20], rbp
lea rbx, [0x140057b20]
mov r8d, esi
mov rcx, qword [rax]
mov rdx, rbx
call fcn.140033db8
cmp dword [0x140055318], 3
jne 0x140009452
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], bp
jne 0x140009440
add r8d, r8d
mov rdx, rbx
jmp 0x14000948c
mov r8, rsi
mov rcx, rbx
lea rsi, [0x14005ab20]
mov rdx, rsi
call fcn.1400213a4
cmp dword [0x140055318], 1
je 0x14000947c
mov rdx, rsi
mov rcx, rsi
call qword [sym.imp.USER32.dll_CharToOemA]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], bpl
jne 0x140009480
mov rdx, rsi
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14000950c
call fcn.140004e4c
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x40]
lea rbx, [0x140057b20]
mov qword [rsp + 0x20], rbp
mov r8d, 0x1800
mov rdx, rbx
mov rcx, qword [rax]
call fcn.140033db8
mov ecx, 2
call fcn.140035008
mov ecx, ebp
cmp rdi, rax
setne cl
add ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], bp
jne 0x1400094ec
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rbp
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14002d0f0
mov rbx, qword [rsp + 0x888]
add rsp, 0x850
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400097f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea rsi, [0x14005c330]
mov r10, r8
mov rbx, rdx
mov r11d, ecx
test r8, r8
je 0x140009839
test bl, 7
je 0x140009839
movzx ecx, byte [rbx]
inc rbx
movzx eax, r11b
xor rcx, rax
mov eax, r11d
shr eax, 8
mov r11d, dword [rsi + rcx*4]
xor r11d, eax
sub r10, 1
jne 0x140009814
cmp r10, 8
jb 0x1400098e3
mov rdi, r10
shr rdi, 3
imul rax, rdi, 0xfffffffffffffff8
add r10, rax
xor r11d, dword [rbx]
mov r9d, dword [rbx + 4]
add rbx, 8
mov eax, r9d
shr eax, 0x18
movzx edx, al
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr eax, 8
mov r8d, dword [rsi + rdx*4]
xor r8d, dword [rsi + rcx*4 + 0x400]
movzx ecx, al
mov eax, r11d
shr eax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
movzx ecx, al
mov eax, r11d
shr eax, 0x10
xor r8d, dword [rsi + rcx*4 + 0x1000]
movzx ecx, al
mov eax, r11d
shr eax, 8
xor r8d, dword [rsi + rcx*4 + 0x1400]
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 0x140009851
test r10, r10
je 0x140009908
movzx ecx, byte [rbx]
inc rbx
movzx eax, r11b
xor rcx, rax
mov eax, r11d
shr eax, 8
mov r11d, dword [rsi + rcx*4]
xor r11d, eax
sub r10, 1
jne 0x1400098e8
mov rbx, qword [rsp + 8]
mov eax, r11d
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

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

Disassembly:
cmp dword [rcx + 4], 0
mov r8, rcx
jne 0x140009983
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 0x140009951
mov dword [r8], r10d
inc r9d
add r8, 4
cmp r9d, 0x100
jb 0x140009948
ret

Function at 0x140009aec
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 [0x140053890]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp dword [rcx], 2
mov rdi, rdx
mov rbx, rcx
mov esi, 0x20
jne 0x140009b6c
mov eax, dword [rcx + 4]
lea r9d, [rsi - 0x1c]
mov dword [rsp + 0x30], eax
lea r8, [r11 - 0x38]
lea rax, [r11 - 0x30]
mov edx, esi
mov rcx, rdi
mov qword [r11 - 0x48], rax
call fcn.14000aca8
xor r8d, r8d
lea r10, [rsp + 0x38]
mov dword [rbx + 4], r8d
mov r9d, r8d
movzx eax, byte [r10]
mov ecx, r8d
and ecx, 3
inc r8d
shl ecx, 3
inc r10
shl eax, cl
xor r9d, eax
cmp r8d, esi
jb 0x140009b4b
mov dword [rbx + 4], r9d
cmp dword [rbx], 3
jne 0x140009b9f
lea rax, [rsp + 0x38]
mov r9, rsi
lea r8, [rbx + 4]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call fcn.14000aca8
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbx + 4], xmm0
movups xmmword [rbx + 0x14], xmm1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002d0f0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140009bc0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdx
mov r9, rcx
test r8, r8
je 0x140009c70
mov eax, 0x1234
add word [r9 + 0x10b8], ax
movzx edx, word [r9 + 0x10b8]
mov eax, edx
shr rax, 1
movzx eax, al
movzx ecx, word [r9 + rax*4 + 0xba4]
mov eax, edx
xor word [r9 + 0x10ba], cx
shr rax, 1
movzx eax, al
movzx ecx, word [r9 + rax*4 + 0xba6]
sub word [r9 + 0x10bc], cx
mov ecx, 1
movzx eax, word [r9 + 0x10bc]
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 0x140009bcf
ret

Function at 0x140009ca4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140053890]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, dword [rdx]
mov r15d, 0x1f
mov r11d, dword [rcx + 0x10a8]
mov r9, rdx
mov esi, dword [rdx + 8]
mov r10, rcx
movups xmm0, xmmword [rdx]
mov ebx, dword [rcx + 0x10a4]
mov r12d, r15d
xor r11d, dword [rdx + 4]
xor edi, ebx
xor esi, dword [rcx + 0x10ac]
mov ebp, dword [rdx + 0xc]
xor ebp, dword [rcx + 0x10b0]
movdqu xmmword [rsp + 0x20], xmm0
mov rax, r12
mov edx, ebp
and eax, 3
rol edx, 0xb
add edx, esi
dec r12
mov r8d, dword [r10 + rax*4 + 0x10a4]
xor edx, r8d
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx r14d, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
or r14d, ecx
movzx ecx, dl
shl r14d, 8
mov edx, esi
movzx eax, byte [rax + r10 + 0xfa4]
or r14d, eax
ror edx, 0xf
movzx eax, byte [rcx + r10 + 0xfa4]
xor edx, ebp
add edx, r8d
shl r14d, 8
or r14d, eax
mov eax, edx
shr eax, 0x10
xor r14d, edi
movzx eax, al
mov edi, esi
mov esi, r14d
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
shl r8d, 8
movzx ecx, dl
movzx eax, byte [rax + r10 + 0xfa4]
or r8d, eax
movzx eax, byte [rcx + r10 + 0xfa4]
shl r8d, 8
or r8d, eax
xor r8d, r11d
mov r11d, ebp
sub r15d, 1
mov ebp, r8d
jns 0x140009d08
xor ebx, r14d
lea rdx, [rsp + 0x20]
mov dword [r9], ebx
mov rcx, r10
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.14000abf4
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14002d0f0
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140009ed4
Capabilities:
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 r14
push r15
sub rsp, 0x20
mov ebx, dword [rcx + 0x10a4]
mov r9, rdx
mov r11d, dword [rcx + 0x10a8]
mov edi, ebx
mov esi, dword [rdx + 8]
mov r10, rcx
mov ebp, dword [rdx + 0xc]
xor edi, dword [rdx]
xor r11d, dword [rdx + 4]
xor esi, dword [rcx + 0x10ac]
xor ebp, dword [rcx + 0x10b0]
xor r15d, r15d
lea r12d, [r15 + 0x20]
mov rax, r15
mov edx, ebp
and eax, 3
rol edx, 0xb
add edx, esi
inc r15
mov r8d, dword [r10 + rax*4 + 0x10a4]
xor edx, r8d
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx r14d, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [rax + r10 + 0xfa4]
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
or r14d, ecx
movzx ecx, dl
shl r14d, 8
mov edx, esi
movzx eax, byte [rax + r10 + 0xfa4]
or r14d, eax
ror edx, 0xf
movzx eax, byte [rcx + r10 + 0xfa4]
xor edx, ebp
add edx, r8d
shl r14d, 8
or r14d, eax
mov eax, edx
shr eax, 0x10
xor r14d, edi
movzx eax, al
mov edi, esi
mov esi, r14d
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
shl r8d, 8
movzx ecx, dl
movzx eax, byte [rax + r10 + 0xfa4]
or r8d, eax
movzx eax, byte [rcx + r10 + 0xfa4]
shl r8d, 8
or r8d, eax
xor r8d, r11d
mov r11d, ebp
mov ebp, r8d
sub r12, 1
jne 0x140009f25
xor ebx, r14d
mov rdx, r9
mov dword [r9], ebx
mov rcx, r10
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 r15
pop r14
pop r12
jmp fcn.14000abf4

Function at 0x14000a1fc
Capabilities:
Encode data using xor

Disassembly:
xor r11d, r11d
mov r8, rdx
mov word [rcx + 0x10b5], r11w
mov byte [rcx + 0x10b4], r11b
mov al, byte [rdx]
test al, al
je 0x14000a248
mov dl, r11b
mov r9b, r11b
mov r10b, r11b
add dl, al
add r10b, al
xor r9b, al
rol dl, 1
inc r8
mov byte [rcx + 0x10b6], dl
mov byte [rcx + 0x10b4], r10b
mov byte [rcx + 0x10b5], r9b
mov al, byte [r8]
test al, al
jne 0x14000a220
ret
Function at 0x14000a24c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
add rcx, 0xba4
call fcn.14000993c
or r8, 0xffffffffffffffff
xor esi, esi
inc r8
cmp byte [rdi + r8], sil
jne 0x14000a273
mov rdx, rdi
or ecx, 0xffffffff
call fcn.1400097f0
mov word [rbx + 0x10b8], ax
shr eax, 0x10
mov word [rbx + 0x10ba], ax
mov dword [rbx + 0x10bc], esi
mov al, byte [rdi]
test al, al
je 0x14000a2e7
mov r8d, esi
mov r9d, esi
movzx edx, al
inc rdi
movzx ecx, al
movzx eax, word [rbx + rdx*4 + 0xba4]
xor ax, cx
xor r9w, ax
mov word [rbx + 0x10bc], r9w
movzx eax, word [rbx + rdx*4 + 0xba6]
add ax, cx
add r8w, ax
mov word [rbx + 0x10be], r8w
mov al, byte [rdi]
test al, al
jne 0x14000a2aa
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000abf4
Capabilities:
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
mov r9d, dword [rcx + 0x10a4]
lea r8, [rdx + 1]
mov r10d, dword [rcx + 0x10a8]
mov rdi, rdx
mov r11d, dword [rcx + 0x10ac]
mov rsi, rdx
mov ebx, dword [rcx + 0x10b0]
sub rdi, r8
sub rsi, r8
mov ebp, 4
sub rdx, r8
movzx eax, byte [rdi + r8]
xor r9d, dword [rcx + rax*4 + 0xba4]
mov dword [rcx + 0x10a4], r9d
movzx eax, byte [r8]
lea r8, [r8 + 4]
xor r10d, dword [rcx + rax*4 + 0xba4]
mov dword [rcx + 0x10a8], r10d
movzx eax, byte [rsi + r8 - 2]
xor r11d, dword [rcx + rax*4 + 0xba4]
mov dword [rcx + 0x10ac], r11d
movzx eax, byte [rdx + r8 - 1]
xor ebx, dword [rcx + rax*4 + 0xba4]
mov dword [rcx + 0x10b0], ebx
sub rbp, 1
jne 0x14000ac3a
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x14000ef38
Capabilities:
Move file

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x4f70]
mov eax, 0x5070
call fcn.14002d080
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x5098], rbx
mov qword [rsp + 0x50a0], rsi
mov qword [rsp + 0x50a8], rdi
mov rax, qword [0x140053890]
xor rax, rsp
mov qword [rbp + 0x4f60], rax
mov rbx, rcx
mov r15d, 0x800
mov r8d, r15d
lea rdx, [rbp + 0x2f60]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
lea edi, [r15 - 2]
cmp eax, edi
ja 0x14000f147
mov r8d, r15d
lea rdx, [rbp + 0x3f60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
dec eax
cmp eax, edi
ja 0x14000f147
lea rcx, [rbp + 0x2f60]
call fcn.140014a64
mov rsi, rax
lea rcx, [rbp + 0x3f60]
call fcn.140014a64
mov rdi, rax
xor r14d, r14d
cmp word [rax], r14w
je 0x14000f147
mov rdx, rax
mov rcx, rsi
call fcn.14002157c
test eax, eax
je 0x14000f147
mov rcx, rbx
call fcn.140014a64
mov rcx, rax
mov rdx, rdi
call fcn.14002157c
test eax, eax
jne 0x14000f147
movzx eax, r14w
mov word [rbp + 0xf60], ax
mov edi, r14d
test ax, ax
jne 0x14000f09f
mov r8, r15
mov rdx, rbx
lea rcx, [rbp + 0xf60]
call fcn.14001f364
lea rcx, [rbp + 0xf60]
call fcn.140014a64
mov rcx, rax
mov r9d, edi
lea r8, str.rtmp_d
mov rdx, r15
call fcn.140004e54
lea rcx, [rbp + 0xf60]
call fcn.1400101c0
test al, al
je 0x14000f084
mov eax, r14d
mov word [rbp + 0xf60], ax
jmp 0x14000f08b
movzx eax, word [rbp + 0xf60]
add edi, 0x7b
cmp edi, 0x2710
jl 0x14000f030
test ax, ax
je 0x14000f147
mov r8, r15
mov rdx, rbx
lea rcx, [rbp + 0x1f60]
call fcn.14001f364
mov r8, r15
mov rdx, rsi
lea rcx, [rbp + 0x1f60]
call fcn.140014b60
lea rdx, [rbp + 0xf60]
lea rcx, [rbp + 0x1f60]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14000f147
lea rcx, [rsp + 0x30]
call fcn.14000f178
nop
mov dil, r14b
mov rcx, rbx
call fcn.1400101c0
test al, al
jne 0x14000f10b
mov r8d, 0x12
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000f290
mov dil, al
lea rdx, [rbp + 0x1f60]
lea rcx, [rbp + 0xf60]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test dil, dil
je 0x14000f139
lea rcx, [rsp + 0x30]
call fcn.14000f228
lea rcx, [rsp + 0x30]
call fcn.14000f3bc
nop
lea rcx, [rsp + 0x30]
call fcn.14000f1b4
mov al, 1
jmp 0x14000f149
xor al, al
mov rcx, qword [rbp + 0x4f60]
xor rcx, rsp
call fcn.14002d0f0
lea r11, [rsp + 0x5070]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14000f3bc
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x14], 0
mov rbx, rcx
je 0x14000f3d3
xor al, al
add rsp, 0x20
pop rbx
ret
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x14000f3df
call fcn.14000f228
cmp byte [rbx + 0x1b], 0
je 0x14000f3cb
lea rcx, [rbx + 0x26]
add rsp, 0x20
pop rbx
jmp fcn.14001013c