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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x44b319
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x0044b360]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00451c80
xorps xmm15, xmm15
mov r14, qword [0x005b5530]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00451dc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0044b260
Function at 0x453e60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40302f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00408640
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00451dc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403000
cmp byte [0x005b532e], 0
je 0x453e75
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x450ec0
jmp 0x403000

Function at 0x453e80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005b55e0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005b532e], 0
je 0x453eb5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005b5920]
aesenc xmm0, xmmword [0x005b5930]
aesenc xmm0, xmmword [0x005b5940]
movq rax, xmm0
ret
jmp 0x408840

Function at 0x453ec0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005b55e0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005b532e], 0
je 0x453ef6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005b5920]
aesenc xmm0, xmmword [0x005b5930]
aesenc xmm0, xmmword [0x005b5940]
movq rax, xmm0
ret
jmp 0x4088a0

Function at 0x4558e0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x005b58a0]
mov qword [rsp + 8], rdx
lea r8d, [0x005b5344]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.00453da0
add rsp, 0x30
ret

Function at 0x455e20
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x455e4c
call fcn.00453da0
shl rcx, 3
add rcx, 0x1480
mov qword [0x005b5530], rcx
ret
Function at 0x493100
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x493118
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x493118
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x493120
xor eax, eax
ret
cmp rbx, 3
je 0x49312c
cmp rbx, 4
jne 0x493159
cmp al, 0x2c
ja 0x493146
lea ecx, [rax - 0x21]
cmp cl, 1
jbe 0x493156
cmp al, 0x24
je 0x493156
nop dword [rax]
cmp al, 0x26
jae 0x493156
jmp 0x493159
lea ecx, [rax - 0x3a]
cmp cl, 4
jbe 0x493156
cmp al, 0x5b
je 0x493156
cmp al, 0x5d
jne 0x493159
xor eax, eax
ret
cmp al, 0x2f
ja 0x493192
nop dword [rax]
cmp al, 0x26
ja 0x493171
cmp al, 0x24
je 0x4931b1
cmp al, 0x26
je 0x4931b1
jmp 0x49322b
lea ecx, [rax - 0x2b]
cmp cl, 1
jbe 0x4931b1
lea ecx, [rax - 0x2d]
nop dword [rax]
cmp cl, 1
jbe 0x493228
cmp al, 0x2f
je 0x4931b1
jmp 0x49322b
cmp al, 0x3d
ja 0x4931a9
lea ecx, [rax - 0x3a]
cmp cl, 1
jbe 0x4931b1
nop
cmp al, 0x3d
je 0x4931b1
jmp 0x49322b
lea ecx, [rax - 0x3f]
cmp cl, 1
ja 0x493220
cmp rbx, 2
jg 0x4931e7
cmp rbx, 1
je 0x4931e1
nop dword [rax]
cmp rbx, 2
jne 0x49322b
cmp al, 0x2f
je 0x4931d2
cmp al, 0x3b
je 0x4931d2
cmp al, 0x2c
jne 0x4931d9
mov ecx, 1
jmp 0x4931de
cmp al, 0x3f
sete cl
mov eax, ecx
ret
cmp al, 0x3f
sete al
ret
cmp rbx, 5
jne 0x49320a
cmp al, 0x40
je 0x4931f9
cmp al, 0x2f
je 0x4931f9
cmp al, 0x3f
jne 0x493202
mov ecx, 1
nop
jmp 0x493207
cmp al, 0x3a
sete cl
mov eax, ecx
ret
cmp rbx, 6
je 0x493219
cmp rbx, 7
jne 0x49322b
xor eax, eax
ret
mov eax, 1
ret
cmp al, 0x5f
je 0x493228
cmp al, 0x7e
jne 0x49322b
xor eax, eax
ret
cmp rbx, 7
jne 0x493241
cmp al, 0x21
je 0x49323d
lea ecx, [rax - 0x28]
cmp cl, 2
ja 0x493241
xor eax, eax
nop
ret
mov eax, 1
ret

Function at 0x140003cb4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140003ae0
Function at 0x140001734
Capabilities:
Encode data using xor

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

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

Disassembly:
cmp dword [rcx + 4], 0
mov r8, rcx
jne 0x1400017a7
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
test cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x140001775
mov dword [r8], r10d
inc r9d
add r8, 4
cmp r9d, 0x100
jb 0x14000176c
ret

Function at 0x140002264
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x14], 0
mov rbx, rcx
jne 0x14000229b
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x140002287
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14002e480]
cmp byte [rbx + 0x21], 0
je 0x14000229b
lea rcx, [rbx + 0x3a]
add rsp, 0x20
pop rbx
jmp fcn.14000309c
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400022a4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x14], 1
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jne 0x1400022d6
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx + 8], rax
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
mov r8d, esi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140002353
mov rcx, rbx
call fcn.1400023e0
test al, al
je 0x140002319
mov r8d, 0x4e20
cmp rsi, r8
jbe 0x140002319
mov rdx, rbp
mov rcx, rbx
call fcn.1400022a4
jmp 0x140002357
cmp dword [rbx + 0x14], 1
jne 0x14000232e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x14000232e
xor eax, eax
jmp 0x140002357
cmp dword [rbx + 0x14], 0
jne 0x14000234e
mov edi, 0x8000
cmp rsi, rdi
jbe 0x14000234e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x21
jne 0x14000234e
mov r8d, edi
jmp 0x14000230c
or eax, 0xffffffff
jmp 0x140002357
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140002ac0
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
Function at 0x140002adc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, r8
mov r15, rdx
mov rdi, rcx
test r8, r8
jne 0x140002b07
mov al, 1
jmp 0x140002c1f
cmp dword [rcx + 0x14], 1
lea r14, [rcx + 8]
jne 0x140002b1f
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [r14], rax
mov r13d, 0x4000
and dword [rsp + 0x70], 0
xor bpl, bpl
cmp dword [rdi + 0x14], 0
je 0x140002b79
xor ebx, ebx
test rsi, rsi
je 0x140002b9f
mov eax, esi
lea rdx, [rbx + r15]
sub eax, ebx
lea r9, [rsp + 0x70]
mov r8d, r13d
mov rcx, rsi
sub rcx, rbx
cmp rcx, r13
mov rcx, qword [r14]
cmovb r8d, eax
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sete bpl
jne 0x140002b9a
add rbx, r13
cmp rbx, rsi
jb 0x140002b3a
jmp 0x140002b9a
mov rcx, qword [r14]
lea r9, [rsp + 0x70]
and qword [rsp + 0x20], 0
mov r8d, esi
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sete bpl
test bpl, bpl
jne 0x140002c18
cmp byte [rdi + 0x22], 0
je 0x140002c18
cmp dword [rdi + 0x14], 0
jne 0x140002c18
xor r8d, r8d
lea rdx, [rdi + 0x3a]
lea rcx, [0x140065260]
call fcn.140001ab8
test al, al
je 0x140002c06
mov ecx, dword [rsp + 0x70]
cmp rcx, rsi
jae 0x140002b25
test ecx, ecx
je 0x140002b25
mov rbx, qword [rdi]
mov rcx, rdi
mov rax, qword [rbx + 0x28]
call qword [0x14002e480]
mov ecx, dword [rsp + 0x70]
xor r8d, r8d
sub rax, rcx
mov rcx, rdi
mov rdx, rax
mov rax, qword [rbx + 0x20]
call qword [0x14002e480]
jmp 0x140002b25
lea r8, [rdi + 0x3a]
xor edx, edx
lea rcx, [0x140065260]
call fcn.140001f90
mov byte [rdi + 0x10], 1
mov al, bpl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret

Function at 0x140003018
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x1030
call fcn.140019920
sub rsp, rax
mov rax, qword [0x14003e858]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x140003076
mov r8d, 0x800
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400044c8
test al, al
je 0x140003076
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov al, bl
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400198e0
mov rbx, qword [rsp + 0x1048]
add rsp, 0x1030
pop rdi
ret

Function at 0x14000309c
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x1030
call fcn.140019920
sub rsp, rax
mov rax, qword [0x14003e858]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
test eax, eax
jne 0x1400030fa
mov r8d, 0x800
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400044c8
test al, al
je 0x1400030fa
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
mov al, bl
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400198e0
mov rbx, qword [rsp + 0x1048]
add rsp, 0x1030
pop rdi
ret
Function at 0x140003134
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x1030
call fcn.140019920
sub rsp, rax
mov rax, qword [0x14003e858]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14000318d
mov r8d, 0x800
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400044c8
test al, al
je 0x14000318d
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400198e0
mov rbx, qword [rsp + 0x1048]
add rsp, 0x1030
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov eax, 0x1030
call fcn.140019920
sub rsp, rax
mov rax, qword [0x14003e858]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov ebp, r8d
mov sil, dl
mov rdi, rcx
call fcn.1400048a8
xor ebx, ebx
cmp word [rax], 0x2e
je 0x1400033da
cmp word [rax], 0x20
je 0x1400033da
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000340f
mov rcx, rdi
call fcn.140003134
cmp eax, 0xffffffff
jne 0x140003422
mov r8d, 0x800
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400044c8
test al, al
je 0x140003422
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140003422
test sil, sil
je 0x14000341e
mov edx, ebp
mov rcx, rdi
call fcn.140003630
xor eax, eax
jmp 0x14000343d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140003438
cmp eax, 3
sete bl
lea eax, [rbx + 1]
jmp 0x14000343d
mov eax, 2
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400198e0
mov rbx, qword [rsp + 0x1058]
add rsp, 0x1030
pop rdi
pop rsi
pop rbp
ret

Function at 0x140003630
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1030
call fcn.140019920
sub rsp, rax
mov rax, qword [0x14003e858]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov edi, edx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
test eax, eax
jne 0x140003697
mov r8d, 0x800
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400044c8
test al, al
je 0x140003697
mov edx, edi
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
mov al, bl
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400198e0
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140003984
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x1180]
mov eax, 0x1280
call fcn.140019920
sub rsp, rax
mov rax, qword [0x14003e858]
xor rax, rsp
mov qword [rbp + 0x1170], rax
mov rsi, rdx
lea rdx, [rsp + 0x20]
mov rdi, r8
mov rbx, rcx
mov r15d, 0x800
cmp rcx, 0xffffffffffffffff
jne 0x140003a35
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140003a51
mov r8d, r15d
lea rdx, [rbp + 0x170]
mov rcx, rsi
call fcn.1400044c8
test al, al
je 0x140003a0e
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140003a51
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 2]
test ecx, 0xffffffee
jne 0x140003a28
cmp eax, 0x13
je 0x140003a28
xor al, al
jmp 0x140003a2a
mov al, 1
mov byte [rdi + 0x1044], al
jmp 0x140003ae6
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140003a51
or rbx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne al
jmp 0x140003a2a
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call fcn.140008168
mov r8, r15
lea rdx, [rsp + 0x4c]
mov rcx, rdi
call fcn.1400049d8
mov eax, dword [rsp + 0x40]
lea rdx, [rsp + 0x34]
mov ecx, dword [rsp + 0x3c]
shl rcx, 0x20
add rcx, rax
mov eax, dword [rsp + 0x20]
mov dword [rdi + 0x1008], eax
mov rax, qword [rsp + 0x24]
mov qword [rdi + 0x1028], rax
mov rax, qword [rsp + 0x2c]
mov qword [rdi + 0x1030], rax
mov rax, qword [rsp + 0x34]
mov qword [rdi + 0x1000], rcx
lea rcx, [rdi + 0x1010]
mov qword [rdi + 0x1038], rax
call fcn.140008dd4
lea rcx, [rdi + 0x1018]
lea rdx, [rsp + 0x24]
call fcn.140008dd4
lea rcx, [rdi + 0x1020]
lea rdx, [rsp + 0x2c]
call fcn.140008dd4
and dword [rdi + 0x1040], 0
mov rax, rbx
mov rcx, qword [rbp + 0x1170]
xor rcx, rsp
call fcn.1400198e0
add rsp, 0x1280
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400044c8
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x1030
call fcn.140019920
sub rsp, rax
mov rax, qword [0x14003e858]
xor rax, rsp
mov qword [rsp + 0x1020], rax
xor r14d, r14d
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp word [rcx], r14w
je 0x14000467b
call fcn.14000469c
mov rcx, rbx
call fcn.14001e7d8
mov rcx, rbx
mov rbp, rax
call fcn.1400046cc
test al, al
je 0x1400045b0
mov rcx, rbx
call fcn.14000469c
test al, al
je 0x140004564
lea rax, [rbp + 4]
cmp rdi, rax
jbe 0x14000467b
mov r8, rdi
lea rdx, [0x14002e8e0]
mov rcx, rsi
call fcn.140008168
mov rdx, rbx
mov r8, rdi
mov rcx, rsi
call fcn.140008124
mov al, 1
jmp 0x14000467d
cmp word [rbx], 0x5c
jne 0x14000467b
cmp word [rbx + 2], 0x5c
jne 0x14000467b
lea rax, [rbp + 6]
cmp rdi, rax
jbe 0x14000467b
mov r8, rdi
lea rdx, [0x14002e8e0]
mov rcx, rsi
call fcn.140008168
mov r8, rdi
lea rdx, [0x14002e8f0]
mov rcx, rsi
call fcn.140008124
lea rdx, [rbx + 2]
jmp 0x140004552
lea rdx, [rsp + 0x20]
mov ecx, 0x7ff
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x7fe
ja 0x14000467b
cmp word [rbx], 0x5c
je 0x140004645
cmp word [rbx], 0x2f
je 0x140004645
mov edx, 0x800
lea rcx, [rsp + 0x20]
call fcn.140003fb0
lea rcx, [rsp + 0x20]
call fcn.14001e7d8
lea rcx, [rax + 4]
add rcx, rbp
cmp rdi, rcx
jbe 0x14000467b
mov r8, rdi
lea rdx, [0x14002e8e0]
mov rcx, rsi
call fcn.140008168
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140008124
cmp word [rbx], 0x2e
jne 0x14000454f
cmp word [rbx + 2], 0x5c
je 0x14000463c
cmp word [rbx + 2], 0x2f
jne 0x14000454f
add rbx, 4
jmp 0x14000454f
lea rax, [rbp + 6]
cmp rdi, rax
jbe 0x14000467b
mov r8, rdi
lea rdx, [0x14002e8e0]
mov rcx, rsi
call fcn.140008168
mov r8, rdi
mov word [rsp + 0x24], r14w
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140008124
jmp 0x14000454f
xor al, al
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400198e0
add rsp, 0x1030
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400061fc
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 + 0x45310], cl
inc ecx
cmp ecx, 0x100
jl 0x140006225
mov r9b, byte [rdi + rbp]
mov dl, 2
mov cl, r9b
mov byte [rsi + rdi*4 + 0x46011], r9b
mov byte [rsi + rdi*4 + 0x46010], r9b
mov byte [rsi + rdi*4 + 0x45c13], r9b
mov byte [rsi + rdi*4 + 0x45c10], r9b
mov byte [rsi + rdi*4 + 0x45813], r9b
mov byte [rsi + rdi*4 + 0x45812], r9b
mov byte [rsi + rdi*4 + 0x45412], r9b
mov byte [rsi + rdi*4 + 0x45411], r9b
call fcn.140006a14
mov dl, 3
mov byte [rsi + rdi*4 + 0x46013], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x45c12], al
mov byte [rsi + rdi*4 + 0x45811], al
mov byte [rsi + rdi*4 + 0x45410], al
call fcn.140006a14
movzx r9d, byte [rdi + rsi + 0x45310]
mov dl, 0xb
mov cl, r9b
mov byte [rsi + rdi*4 + 0x46012], al
mov byte [rsi + rdi*4 + 0x45c11], al
mov byte [rsi + rdi*4 + 0x45810], al
mov byte [rsi + rdi*4 + 0x45413], al
call fcn.140006a14
mov dl, 9
mov byte [rsi + rdi*4 + 0x47012], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x46c11], al
mov byte [rsi + rdi*4 + 0x46810], al
mov byte [rsi + rdi*4 + 0x46413], al
mov byte [rsi + r9*4 + 0x48012], al
mov byte [rsi + r9*4 + 0x47c11], al
mov byte [rsi + r9*4 + 0x47810], al
mov byte [rsi + r9*4 + 0x47413], al
call fcn.140006a14
mov dl, 0xd
mov byte [rsi + rdi*4 + 0x47010], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x46c13], al
mov byte [rsi + rdi*4 + 0x46812], al
mov byte [rsi + rdi*4 + 0x46411], al
mov byte [rsi + r9*4 + 0x48010], al
mov byte [rsi + r9*4 + 0x47c13], al
mov byte [rsi + r9*4 + 0x47812], al
mov byte [rsi + r9*4 + 0x47411], al
call fcn.140006a14
mov dl, 0xe
mov byte [rsi + rdi*4 + 0x47011], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x46c10], al
mov byte [rsi + rdi*4 + 0x46813], al
mov byte [rsi + rdi*4 + 0x46412], al
mov byte [rsi + r9*4 + 0x48011], al
mov byte [rsi + r9*4 + 0x47c10], al
mov byte [rsi + r9*4 + 0x47813], al
mov byte [rsi + r9*4 + 0x47412], al
call fcn.140006a14
mov byte [rsi + rdi*4 + 0x47013], al
mov byte [rsi + rdi*4 + 0x46c12], al
mov byte [rsi + rdi*4 + 0x46811], al
mov byte [rsi + rdi*4 + 0x46410], al
inc rdi
mov byte [rsi + r9*4 + 0x48013], al
mov byte [rsi + r9*4 + 0x47c12], al
mov byte [rsi + r9*4 + 0x47811], al
mov byte [rsi + r9*4 + 0x47410], al
cmp rdi, 0x100
jl 0x14000623c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000699c
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov r11, r8
mov r10, rdx
movdqu xmm1, xmmword [rcx + 8]
test r8, r8
je 0x140006a0e
mov rax, r10
add r10, 0x10
cmp byte [rcx + 1], 0
movdqu xmm0, xmmword [rax]
je 0x1400069c1
pxor xmm0, xmm1
movdqu xmm1, xmmword [rcx + 0x18]
movsxd rax, dword [rcx + 4]
pxor xmm1, xmm0
cmp rax, 1
jle 0x1400069ef
lea rdx, [rcx + 0x28]
lea r8, [rax - 1]
movdqu xmm0, xmmword [rdx]
lea rdx, [rdx + 0x10]
aesenc xmm1, xmm0
sub r8, 1
jne 0x1400069dc
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 0x1400069ac
movdqu xmmword [rcx + 8], xmm1
ret

Function at 0x140006a14
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r10b, r10b
mov r11b, dl
mov bl, cl
test dl, dl
je 0x140006a5c
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 0x140006a25
mov rbx, qword [rsp + 8]
mov al, r10b
ret

Function at 0x140006a68
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 [0x14003e858]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov esi, 1
mov rdi, rcx
cmp dword [rcx + 4], esi
jle 0x140006b4f
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 + 0x48010]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10 - 2]
xor r8b, byte [rcx + r15 + 0x47810]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10]
xor r8b, byte [rcx + r15 + 0x47410]
lea rcx, [r9 + rax*4]
xor r8b, byte [rcx + r15 + 0x47c10]
mov byte [r14 + r10], r8b
lea r10, [r10 + 4]
sub r11, 1
jne 0x140006ac6
inc r9
cmp r9, 4
jl 0x140006ab9
movsxd rcx, esi
lea r8d, [r11 + 0x10]
shl rcx, 4
lea rdx, [rsp + 0x20]
add rcx, 0x18
add rcx, rdi
call fcn.14001b6a0
inc esi
add rbp, 0x10
sub rbx, 0x10
cmp esi, dword [rdi + 4]
jl 0x140006ab6
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400198e0
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