joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006380
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14004ee80]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 7
jbe 0x1400063ab
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x140006441
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x14003c970]
movdqu xmmword [rsp + 0x30], xmm1
xor esi, esi
mov word [rsp + 0x20], si
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140008a1c
test al, al
je 0x140006403
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140006441
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000643c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006460
call fcn.140026a5c
mov eax, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140026b70
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call fcn.14002b2d4
int3

Function at 0x140006738
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x14004ee80]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14d, r8d
mov bpl, dl
mov rdi, rcx
call fcn.140008558
cmp ax, 0x2e
je 0x140006796
cmp ax, 0x20
je 0x140006796
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140006780
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
xor ebx, ebx
test eax, eax
jne 0x140006834
jmp 0x14000679a
xor ebx, ebx
mov esi, ebx
mov rcx, rdi
call fcn.140006380
cmp eax, 0xffffffff
jne 0x140006848
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x14003c970]
movdqu xmmword [rsp + 0x30], xmm1
mov word [rsp + 0x20], bx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140008a1c
test al, al
je 0x1400067f2
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rcx, qword [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140006830
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000682b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006885
call fcn.140026a5c
test esi, esi
je 0x140006848
test bpl, bpl
je 0x140006844
mov edx, r14d
mov rcx, rdi
call fcn.140006b64
xor eax, eax
jmp 0x140006863
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14000685e
cmp eax, 3
sete bl
lea eax, [rbx + 1]
jmp 0x140006863
mov eax, 2
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140026b70
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.14002b2d4
int3
Function at 0x140006b64
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14004ee80]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov esi, edx
mov rbx, rcx
cmp qword [rcx + 0x18], 7
jbe 0x140006b8e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor ebp, ebp
test eax, eax
setne dil
test eax, eax
jne 0x140006c2d
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x14003c970]
movdqu xmmword [rsp + 0x30], xmm1
mov word [rsp + 0x20], bp
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140008a1c
test al, al
je 0x140006bef
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rcx, qword [rsp + 0x20]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne dil
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140006c2d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006c28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006c4d
call fcn.140026a5c
mov al, dil
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140026b70
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
call fcn.14002b2d4
int3
Function at 0x140007004
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x14004ee80]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
cmp rcx, 0xffffffffffffffff
jne 0x14000711d
mov rcx, rdx
cmp qword [rdx + 0x18], 7
jbe 0x14000704e
mov rcx, qword [rdx]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000713e
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x14003c970]
movdqu xmmword [rsp + 0x30], xmm1
mov word [rsp + 0x20], r14w
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140008a1c
test al, al
je 0x1400070b2
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x1400070f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400070ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007250
call fcn.140026a5c
cmp rdi, 0xffffffffffffffff
jne 0x14000713e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 2]
test ecx, 0xffffffee
jne 0x140007113
cmp eax, 0x13
mov al, r14b
jne 0x140007115
mov al, 1
mov byte [rbx + 0x64], al
jmp 0x140007226
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000713e
or rdi, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne al
jmp 0x140007115
mov rdx, rsi
mov rcx, rbx
call fcn.140003520
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rcx, [rsp + 0x6c]
call fcn.14002b34c
mov r8, rax
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.1400012e0
nop
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140009710
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x1400071c7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400071c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000724a
call fcn.140026a5c
mov ecx, dword [rsp + 0x5c]
shl rcx, 0x20
mov eax, dword [rsp + 0x60]
add rcx, rax
mov qword [rbx + 0x20], rcx
mov eax, dword [rsp + 0x40]
mov dword [rbx + 0x28], eax
mov rax, qword [rsp + 0x44]
mov qword [rbx + 0x48], rax
mov rax, qword [rsp + 0x4c]
mov qword [rbx + 0x50], rax
mov rax, qword [rsp + 0x54]
mov qword [rbx + 0x58], rax
lea rcx, [rbx + 0x30]
lea rdx, [rsp + 0x54]
call fcn.14000fc2c
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x44]
call fcn.14000fc2c
lea rcx, [rbx + 0x40]
lea rdx, [rsp + 0x4c]
call fcn.14000fc2c
mov dword [rbx + 0x60], r14d
mov rax, rdi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140026b70
add rsp, 0x2a0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14002b2d4
int3
call fcn.14002b2d4
int3
Function at 0x1400083a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x140008445
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
and qword [rsp + 0x30], 0
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.1400013e4
nop
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
sub rcx, rdx
sar rcx, 1
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
mov rdx, qword [rsp + 0x20]
mov rcx, rdi
call fcn.140001c90
test ebx, ebx
setne bl
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140008443
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000843e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008450
call fcn.140026a5c
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call fcn.14002b2d4
int3

Function at 0x140009644
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 7
jbe 0x140009652
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x14000c00c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
lea rbp, str.cw
mov ecx, edi
lea rsi, [0x140000000]
mov rdx, rbp
movzx eax, byte [rdx]
inc rdx
mov byte [rax + rsi + 0x579b0], cl
inc ecx
cmp ecx, 0x100
jl 0x14000c035
mov r9b, byte [rdi + rbp]
mov dl, 2
mov cl, r9b
mov byte [rsi + rdi*4 + 0x586b1], r9b
mov byte [rsi + rdi*4 + 0x586b0], r9b
mov byte [rsi + rdi*4 + 0x582b3], r9b
mov byte [rsi + rdi*4 + 0x582b0], r9b
mov byte [rsi + rdi*4 + 0x57eb3], r9b
mov byte [rsi + rdi*4 + 0x57eb2], r9b
mov byte [rsi + rdi*4 + 0x57ab2], r9b
mov byte [rsi + rdi*4 + 0x57ab1], r9b
call fcn.14000c830
mov dl, 3
mov byte [rsi + rdi*4 + 0x586b3], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x582b2], al
mov byte [rsi + rdi*4 + 0x57eb1], al
mov byte [rsi + rdi*4 + 0x57ab0], al
call fcn.14000c830
movzx r9d, byte [rdi + rsi + 0x579b0]
mov dl, 0xb
mov cl, r9b
mov byte [rsi + rdi*4 + 0x586b2], al
mov byte [rsi + rdi*4 + 0x582b1], al
mov byte [rsi + rdi*4 + 0x57eb0], al
mov byte [rsi + rdi*4 + 0x57ab3], al
call fcn.14000c830
mov dl, 9
mov byte [rsi + rdi*4 + 0x596b2], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x592b1], al
mov byte [rsi + rdi*4 + 0x58eb0], al
mov byte [rsi + rdi*4 + 0x58ab3], al
mov byte [rsi + r9*4 + 0x5a6b2], al
mov byte [rsi + r9*4 + 0x5a2b1], al
mov byte [rsi + r9*4 + 0x59eb0], al
mov byte [rsi + r9*4 + 0x59ab3], al
call fcn.14000c830
mov dl, 0xd
mov byte [rsi + rdi*4 + 0x596b0], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x592b3], al
mov byte [rsi + rdi*4 + 0x58eb2], al
mov byte [rsi + rdi*4 + 0x58ab1], al
mov byte [rsi + r9*4 + 0x5a6b0], al
mov byte [rsi + r9*4 + 0x5a2b3], al
mov byte [rsi + r9*4 + 0x59eb2], al
mov byte [rsi + r9*4 + 0x59ab1], al
call fcn.14000c830
mov dl, 0xe
mov byte [rsi + rdi*4 + 0x596b1], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x592b0], al
mov byte [rsi + rdi*4 + 0x58eb3], al
mov byte [rsi + rdi*4 + 0x58ab2], al
mov byte [rsi + r9*4 + 0x5a6b1], al
mov byte [rsi + r9*4 + 0x5a2b0], al
mov byte [rsi + r9*4 + 0x59eb3], al
mov byte [rsi + r9*4 + 0x59ab2], al
call fcn.14000c830
mov byte [rsi + rdi*4 + 0x596b3], al
mov byte [rsi + rdi*4 + 0x592b2], al
mov byte [rsi + rdi*4 + 0x58eb1], al
mov byte [rsi + rdi*4 + 0x58ab0], al
inc rdi
mov byte [rsi + r9*4 + 0x5a6b3], al
mov byte [rsi + r9*4 + 0x5a2b2], al
mov byte [rsi + r9*4 + 0x59eb1], al
mov byte [rsi + r9*4 + 0x59ab0], al
cmp rdi, 0x100
jl 0x14000c04c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000c7b8
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov r11, r8
mov r10, rdx
movdqu xmm1, xmmword [rcx + 8]
test r8, r8
je 0x14000c828
mov rax, r10
add r10, 0x10
cmp byte [rcx + 1], 0
movdqu xmm0, xmmword [rax]
je 0x14000c7dc
xorps xmm0, xmm1
movdqu xmm1, xmmword [rcx + 0x18]
movsxd rax, dword [rcx + 4]
xorps xmm1, xmm0
cmp rax, 1
jle 0x14000c809
lea rdx, [rcx + 0x28]
lea r8, [rax - 1]
movdqu xmm0, xmmword [rdx]
lea rdx, [rdx + 0x10]
aesenc xmm1, xmm0
sub r8, 1
jne 0x14000c7f6
add rax, rax
movdqu xmm0, xmmword [rcx + rax*8 + 0x18]
mov rax, r9
add r9, 0x10
aesenclast xmm1, xmm0
movdqu xmmword [rax], xmm1
sub r11, 1
jne 0x14000c7c8
movdqu xmmword [rcx + 8], xmm1
ret

Function at 0x14000c830
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r10b, r10b
mov r11b, dl
mov bl, cl
test dl, dl
je 0x14000c878
mov al, r10b
xor al, bl
movzx r8d, al
test r11b, 1
movzx eax, r10b
cmove r8d, eax
mov al, bl
add al, al
mov r10b, r8b
mov r8b, bl
movzx edx, al
mov cl, dl
mov ebx, edx
xor cl, 0x1b
test r8b, r8b
movzx ecx, cl
cmovs ebx, ecx
shr r11b, 1
jne 0x14000c841
mov rbx, qword [rsp + 8]
mov al, r10b
ret

Function at 0x14000c884
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14004ee80]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov esi, 1
mov rdi, rcx
cmp dword [rcx + 4], esi
jle 0x14000c96b
lea rbx, [r11 - 0x38]
sub rbx, rcx
lea rbp, [rcx + 0x2a]
sub rbx, 0x2a
lea r15, [0x140000000]
xor r9d, r9d
mov r10, rbp
lea r14, [rbx + r9]
mov r11d, 4
movzx eax, byte [r10 + 1]
lea rdx, [r9 + rax*4]
movzx eax, byte [r10 - 1]
mov r8b, byte [rdx + r15 + 0x5a6b0]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10 - 2]
xor r8b, byte [rcx + r15 + 0x59eb0]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10]
xor r8b, byte [rcx + r15 + 0x59ab0]
lea rcx, [r9 + rax*4]
xor r8b, byte [rcx + r15 + 0x5a2b0]
mov byte [r10 + r14], r8b
lea r10, [r10 + 4]
sub r11, 1
jne 0x14000c8e2
inc r9
cmp r9, 4
jl 0x14000c8d5
movsxd rcx, esi
lea r8d, [r11 + 0x10]
shl rcx, 4
lea rdx, [rsp + 0x20]
add rcx, 0x18
add rcx, rdi
call fcn.140039ae0
inc esi
add rbp, 0x10
sub rbx, 0x10
cmp esi, dword [rdi + 4]
jl 0x14000c8d2
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140026b70
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14000cd78
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 r14
sub rsp, 0x20
mov r10, qword [0x14005aac0]
xor ebx, ebx
movzx ebp, r9b
mov r14b, r8b
mov rsi, rdx
mov rdi, rcx
test r10, r10
jne 0x14000ce17
cmp byte [0x14005aab8], bl
jne 0x14000ce17
lea rcx, str.Crypt32.dll
call fcn.14000eee0
mov qword [0x14005aab0], rax
test rax, rax
je 0x14000ce00
lea rdx, str.CryptProtectMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14005aab0]
lea rdx, str.CryptUnprotectMemory
mov qword [0x14005aac0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005aac8], rax
jmp 0x14000ce07
mov rax, qword [0x14005aac8]
mov r10, qword [0x14005aac0]
mov byte [0x14005aab8], 1
jmp 0x14000ce1e
mov rax, qword [0x14005aac8]
mov rdx, rsi
mov r8d, ebp
and rdx, 0xfffffffffffffff0
test r14b, r14b
je 0x14000ce6f
test r10, r10
je 0x14000ce8a
mov rcx, rdi
mov rax, r10
call qword [0x14003c4c8]
test eax, eax
jne 0x14000cea5
lea rdx, str.CryptProtectMemory_failed
lea rbx, [0x14006bde0]
mov rcx, rbx
call fcn.140004660
mov rcx, rbx
call fcn.1400049fc
mov edx, 2
mov rcx, rbx
call fcn.140004658
jmp 0x14000cea5
test rax, rax
je 0x14000ce8a
mov rcx, rdi
call qword [0x14003c4c8]
test eax, eax
jne 0x14000cea5
lea rdx, str.CryptUnprotectMemory_failed
jmp 0x14000ce49
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test rsi, rsi
je 0x14000cea5
lea ecx, [rax + 0x4b]
add cl, bl
xor byte [rdi + rbx], cl
inc rbx
cmp rbx, rsi
jb 0x14000ce95
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000d9d8
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x14004ee80]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov edi, dword [rcx + 0x18]
mov ebp, 0x38
mov r14, qword [rcx + 0x18]
and edi, 0x3f
shl r14, 3
mov rsi, rdx
mov rbx, rcx
mov byte [rdi + rcx + 0x20], 0x80
inc edi
cmp edi, ebp
je 0x14000da66
jbe 0x14000da51
lea edx, [rbp + 8]
cmp edi, edx
jae 0x14000da3b
sub edx, edi
mov ecx, edi
add rcx, 0x20
mov r8d, edx
add rcx, rbx
xor edx, edx
call fcn.14003a180
xor edi, edi
lea r8, [rbx + 0x20]
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000cf50
sub ebp, edi
mov ecx, edi
add rcx, 0x20
mov r8d, ebp
add rcx, rbx
xor edx, edx
call fcn.14003a180
mov rcx, r14
shr rcx, 0x20
call fcn.14002e2c4
mov ecx, r14d
mov dword [rbx + 0x58], eax
call fcn.14002e2c4
lea r8, [rbx + 0x20]
mov dword [rbx + 0x5c], eax
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000cf50
mov rdx, rbx
mov ecx, 5
sub rdx, rsi
mov eax, dword [rsi + rdx]
mov dword [rsi], eax
lea rsi, [rsi + 4]
sub rcx, 1
jne 0x14000da9f
and qword [rbx + 0x18], rcx
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov dword [rbx + 0x10], 0xc3d2e1f0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140026b70
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14000daf8
Capabilities:
Hash data using sha1

Disassembly:
and qword [rcx + 0x18], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x14000e16c
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp qword [rcx + 0x18], 7
jbe 0x14000e17f
mov rcx, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x14000e240
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
and qword [rsp + 0x30], 0
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.1400013e4
nop
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
sub r8, rdx
sar r8, 1
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14000e1cb
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r8, qword [rsp + 0x20]
test eax, eax
je 0x14000e200
mov rcx, qword [rsp + 0x28]
sub rcx, r8
sar rcx, 1
mov eax, eax
cmp rax, rcx
ja 0x14000e200
mov rdx, r8
mov rcx, rbx
call fcn.140001c90
mov bl, 1
mov r8, qword [rsp + 0x20]
jmp 0x14000e202
xor bl, bl
test r8, r8
je 0x14000e23e
mov rdx, qword [rsp + 0x30]
sub rdx, r8
sar rdx, 1
add rdx, rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x14000e236
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e246
mov rcx, r8
call fcn.140026a5c
mov al, bl
add rsp, 0x40
pop rbx
ret
call fcn.14002b2d4
int3
Function at 0x14000eee0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14004ee80]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
xor edi, edi
mov qword [rbp - 0x29], rdi
mov edx, 0x104
lea rcx, [rbp - 0x39]
call fcn.1400013e4
nop
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x39]
sub rdx, rcx
sar rdx, 1
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, 0x1000
test eax, eax
jne 0x14000ef51
mov ebx, edi
jmp 0x14000f0b7
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
movdqa xmm6, xmmword [0x14003c970]
movdqu xmmword [rbp - 0x11], xmm6
mov word [rbp - 0x21], di
movups xmmword [rbp + 0x1f], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2f], xmm1
mov rcx, rbx
call fcn.14002b34c
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x1f]
call fcn.1400012e0
nop
mov rbx, qword [rbp - 0x39]
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov rcx, rbx
call fcn.14002b34c
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.1400012e0
nop
lea r8, [rbp - 0x21]
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 1]
call fcn.140009268
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 7
jbe 0x14000f00e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, rsi
jb 0x14000f001
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f122
call fcn.140026a5c
movdqa xmm6, xmmword [0x14003c970]
movdqu xmmword [rbp + 0xf], xmm6
mov word [rbp - 1], di
mov rdx, qword [rbp + 0x37]
cmp rdx, 7
jbe 0x14000f053
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, rsi
jb 0x14000f04e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f128
call fcn.140026a5c
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 7
cmova rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
mov rdx, qword [rbp - 9]
cmp rdx, 7
jbe 0x14000f0a6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, rsi
jb 0x14000f0a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f12e
call fcn.140026a5c
movdqa xmm0, xmmword [0x14003c970]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], di
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x14000f0ef
mov rdx, qword [rbp - 0x29]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, rsi
jb 0x14000f0ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f11c
call fcn.140026a5c
mov rax, rbx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140026b70
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call fcn.14002b2d4
nop
call fcn.14002b2d4
nop
call fcn.14002b2d4
nop
call fcn.14002b2d4
int3
Function at 0x140015e4c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x14006b168], 0
je 0x140015e67
or eax, 0xffffffff
jmp 0x140015f6f
mov rax, qword [0x14005b018]
test rax, rax
jg 0x140015e87
dec rax
mov qword [0x14005b018], rax
and qword [0x14006b078], 0
jmp 0x140015e5f
mov rbx, qword [0x14006b078]
test rbx, rbx
jg 0x140015edb
mov rcx, qword [0x14006b068]
mov ebx, 0x2000
mov edx, ebx
call fcn.1400160ec
movsxd rcx, eax
mov qword [0x14006b078], rcx
test eax, eax
je 0x140015e7d
cmp rcx, 0xffffffffffffffff
je 0x140015f11
mov rax, qword [0x14006b068]
add qword [0x14006b0b8], rbx
mov qword [0x14006b070], rax
call fcn.14001576c
mov rbx, qword [0x14006b078]
mov rax, qword [0x14005b050]
test byte [rax + 0x90], 1
je 0x140015f54
cmp byte [0x14006b2ac], 0
je 0x140015f29
test rbx, rbx
je 0x140015f54
mov rdx, qword [0x14006b070]
lea rcx, [0x14006b2b8]
mov r8, rbx
call fcn.140019b44
jmp 0x140015f4d
lea rdx, [0x14006b870]
lea rcx, [0x14006bde0]
call fcn.1400048b0
jmp 0x140015e7d
mov rdi, qword [0x14006b070]
test rbx, rbx
je 0x140015f54
call fcn.140019894
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.140019a08
inc rdi
sub rbx, 1
jne 0x140015f35
mov rbx, qword [0x14006b078]
mov rax, qword [0x14006b070]
dec rbx
mov qword [0x14006b078], rbx
movzx eax, byte [rax]
inc qword [0x14006b070]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140019900
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004ee80]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov dil, r8b
mov rcx, rdx
call fcn.1400198b4
mov r8d, 0xc
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140039ae0
xor ebx, ebx
mov ecx, dword [0x14006b1f0]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rsp + rbx + 0x20], al
movzx ecx, byte [rsp + rbx + 0x20]
call fcn.140019a08
inc rbx
cmp rbx, 0xc
jl 0x14001993c
mov rax, qword [0x14005b050]
movzx ecx, byte [0x14006b0e7]
test byte [rax + 0x90], 2
movzx eax, byte [0x14006b0df]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x14001999a
or eax, 0xffffffff
jmp 0x1400199ef
test dil, dil
je 0x1400199ed
mov rbx, qword [0x14006b078]
mov rax, qword [0x14005b018]
mov rdi, qword [0x14006b070]
movsxd rcx, ebx
cmp rcx, rax
cmovg ebx, eax
test ebx, ebx
je 0x1400199ed
mov ecx, dword [0x14006b1f0]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.140019a08
inc rdi
sub ebx, 1
jne 0x1400199c1
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140026b70
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret