joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003a50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov r14, rcx
mov rdi, r8
mov ecx, 0x10
mov rsi, rdx
call fcn.140023fac
mov rbx, rax
test rax, rax
jne 0x140003a87
mov eax, 0x708
jmp 0x140003acc
mov qword [rsp + 0x28], 0
lea r8, [0x140009fc0]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
mov qword [rax], rsi
xor ecx, ecx
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r14], rax
test rax, rax
jne 0x140003aca
mov rcx, rbx
call fcn.140023f98
mov eax, 0x3eb
jmp 0x140003acc
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x14000d220
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x14008d558]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x140
lea rcx, [rsp + 0x30]
call fcn.1400158a0
lea rbp, [0x140077578]
mov qword [rsp + 0x28], rbx
mov r9, rdi
mov qword [rsp + 0x20], rbp
lea r8, [0x14007757c]
mov ecx, 0x104
lea rdx, [rsp + 0x170]
call fcn.14000d850
mov ecx, pe_nt_image_headers64
call fcn.140023fac
mov rbx, rax
test rax, rax
je 0x14000d2ab
xor edx, edx
mov r8d, pe_nt_image_headers64
mov rcx, rax
call fcn.1400158a0
test rbx, rbx
je 0x14000d400
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x14000d3d7
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x5c]
mov r9, rdi
mov qword [rsp + 0x28], rax
lea r8, [0x14007757c]
lea rdx, [rsp + 0x170]
mov qword [rsp + 0x20], rbp
mov ecx, 0x104
call fcn.14000d850
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000d382
bt eax, 0xa
jae 0x14000d382
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000d370
bt eax, 0xa
jae 0x14000d370
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000d363
test al, 0x10
je 0x14000d363
lea rcx, [rsp + 0x170]
call fcn.140025f9c
jmp 0x14000d370
lea rcx, [rsp + 0x170]
call fcn.140024ba4
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x140
call fcn.1400158a0
cmp byte [rsp + 0x5c], 0
jne 0x14000d3a6
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x14000d2e0
cmp byte [rsp + 0x5c], 0
je 0x14000d3de
lea rcx, [rbx + 8]
mov r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
call fcn.140025d24
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov rcx, rsi
call fcn.140025d24
cmp byte [rsp + 0x5c], 0
jne 0x14000d400
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x14000d3f4
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbx], 0xffffffffffffffff
mov rcx, rbx
call fcn.140023f98
xor eax, eax
jmp 0x14000d403
mov rax, rbx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140014190
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000d430
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14008d558]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000d488
bt eax, 0xa
jae 0x14000d488
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000d475
test al, 0x10
je 0x14000d475
mov rcx, rbx
call fcn.140025f9c
jmp 0x14000d47d
mov rcx, rbx
call fcn.140024ba4
test eax, eax
je 0x14000d488
mov ecx, 0x1f
jmp 0x14000d497
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140041fa8
mov ecx, eax
xor eax, eax
test ecx, ecx
sete al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140014190
add rsp, 0x60
pop rbx
ret

Function at 0x14000d4c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14008d558]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rbx, r8
mov qword [rsp + 0x20], rbp
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000d536
bt eax, 0xa
jae 0x14000d536
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000d518
test al, 0x10
je 0x14000d518
mov rcx, rdi
call fcn.140025f9c
jmp 0x14000d520
mov rcx, rdi
call fcn.140024ba4
test eax, eax
je 0x14000d536
test rbx, rbx
je 0x14000d52f
mov dword [rbx], 0x1f
xor eax, eax
jmp 0x14000d5de
xorps xmm0, xmm0
lea rcx, [rsp + 0x28]
mov r9, 0xffffffffffffffff
mov r8, rsi
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
lea edx, [r9 + 0x21]
call fcn.140025d24
lea rdx, [0x140077570]
mov rcx, rsi
call fcn.14003efd0
test rax, rax
je 0x14000d5b7
mov edx, 0x63
mov rcx, rsi
call fcn.140015d64
test rax, rax
jne 0x14000d5b7
lea edx, [rax + 0x20]
lea rcx, [rsp + 0x28]
call fcn.14002559c
cmp rax, 0x20
jne 0x14000d59b
mov byte [rsp + 0x47], bpl
jmp 0x14000d5b7
mov r9, 0xffffffffffffffff
lea r8, [0x140077574]
lea rcx, [rsp + 0x28]
lea edx, [r9 + 0x21]
call fcn.14003d33c
lea r8, [rsp + 0x28]
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14003da6c
mov rcx, qword [rsp + 0x20]
test rbx, rbx
je 0x14000d5db
test rcx, rcx
cmovne eax, ebp
mov dword [rbx], eax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140014190
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000d600
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rdi
sub rsp, 0x170
mov rax, qword [0x14008d558]
xor rax, rsp
mov qword [rsp + 0x160], rax
xorps xmm0, xmm0
mov rdi, rcx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000d673
bt eax, 0xa
jae 0x14000d673
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000d65d
test al, 0x10
je 0x14000d65d
mov rcx, rdi
call fcn.140025f9c
jmp 0x14000d665
mov rcx, rdi
call fcn.140024ba4
test eax, eax
je 0x14000d673
mov eax, 0x1f
jmp 0x14000d7e7
mov rcx, rdi
mov qword [rsp + 0x188], rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000d6b7
bt eax, 0xa
jae 0x14000d6b7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000d6ab
test al, 0x10
je 0x14000d6ab
mov rcx, rdi
call fcn.140025f9c
jmp 0x14000d6b3
mov rcx, rdi
call fcn.140024ba4
test eax, eax
jne 0x14000d6ce
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140041fa8
mov ebx, eax
test eax, eax
je 0x14000d7dd
test rdi, rdi
jne 0x14000d6d7
xor ebx, ebx
jmp 0x14000d6e7
mov edx, 0x104
mov rcx, rdi
call fcn.14002559c
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.1400158a0
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rdi
mov edx, 0x104
call fcn.140025d24
lea rcx, [rbx - 2]
cmp rcx, 0x102
ja 0x14000d73b
cmp byte [rsp + rbx + 0x4f], 0x5c
jne 0x14000d73b
dec rbx
cmp rbx, 0x104
jae 0x14000d800
mov byte [rsp + rbx + 0x50], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000d77f
bt eax, 0xa
jae 0x14000d77f
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000d771
test al, 0x10
je 0x14000d771
lea rcx, [rsp + 0x50]
call fcn.140025f9c
jmp 0x14000d77b
lea rcx, [rsp + 0x50]
call fcn.140024ba4
test eax, eax
jne 0x14000d794
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140041fa8
mov ebx, eax
test eax, eax
je 0x14000d7dd
lea rcx, [rsp + 0x50]
call fcn.14004226c
mov ebx, eax
test eax, eax
je 0x14000d7dd
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call fcn.140015a40
mov rdi, rax
test rax, rax
je 0x14000d7dd
lea rcx, [rsp + 0x50]
mov byte [rax], 0
call fcn.14000d600
mov ebx, eax
test eax, eax
jne 0x14000d7dd
lea rcx, [rsp + 0x50]
mov byte [rdi], 0x5c
call fcn.14004226c
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140014190
add rsp, 0x170
pop rdi
ret
call fcn.1400142c4
int3
Function at 0x14000e320
Capabilities:
Check if file exists
Get file attributes
Hash data using sha256

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14008d558]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor dil, dil
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x14000e4f7
test rdx, rdx
je 0x14000e4f7
xorps xmm1, xmm1
xorps xmm0, xmm0
movups xmmword [rdx + 8], xmm1
movups xmmword [rdx + 0x18], xmm1
movups xmmword [rdx + 0x28], xmm1
movups xmmword [rdx + 0x38], xmm1
movups xmmword [rdx + 0x48], xmm1
movups xmmword [rdx + 0x58], xmm1
movups xmmword [rdx + 0x68], xmm1
mov dword [rdx], 0x40200100
mov dword [rdx + 4], 0x6a09e667
mov dword [rdx + 8], 0xbb67ae85
mov dword [rdx + 0xc], 0x3c6ef372
mov dword [rdx + 0x10], 0xa54ff53a
mov dword [rdx + 0x14], 0x510e527f
mov dword [rdx + 0x18], 0x9b05688c
mov dword [rdx + 0x1c], 0x1f83d9ab
mov dword [rdx + 0x20], 0x5be0cd19
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000e401
bt eax, 0xa
jae 0x14000e401
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000e3f1
test al, 0x10
je 0x14000e3f1
mov rcx, rbx
call fcn.140025f9c
jmp 0x14000e3f9
mov rcx, rbx
call fcn.140024ba4
test eax, eax
jne 0x14000e4ef
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140041fa8
test eax, eax
jne 0x14000e4ef
mov ecx, dword [rsp + 0x44]
test ecx, ecx
jle 0x14000e4ef
mov eax, 0x1000
mov qword [rsp + 0xb0], rbp
cmp ecx, eax
mov qword [rsp + 0x78], r14
cmovle eax, ecx
movsxd r14, eax
mov rcx, r14
call fcn.14000d810
mov rbp, rax
test rax, rax
je 0x14000e4e2
xor r8d, r8d
mov qword [rsp + 0x70], r15
lea rdx, [0x140077588]
mov rcx, rbx
call fcn.14000d4c0
mov r15, rax
test rax, rax
je 0x14000e4d5
movsxd rdi, dword [rsp + 0x44]
test rdi, rdi
je 0x14000e4be
nop dword [rax]
cmp rdi, r14
mov qword [rsp + 0x20], r15
mov rbx, r14
mov r8d, 1
cmovbe rbx, rdi
mov rdx, r14
mov r9, rbx
mov rcx, rbp
call fcn.14003ddac
cmp rax, rbx
jne 0x14000e4be
mov r8, rax
mov rdx, rbp
mov rcx, rsi
sub rdi, rax
call fcn.14000e1b0
test rdi, rdi
jne 0x14000e480
mov rcx, r15
call fcn.14003e5b8
mov rcx, r15
call fcn.14003df6c
test rdi, rdi
sete dil
mov rcx, rbp
call fcn.140023f98
mov r15, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xb0]
mov r14, qword [rsp + 0x78]
mov rcx, rsi
call fcn.14000de50
movzx eax, dil
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140014190
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x140011130
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x140011187
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x140011187
call fcn.140012db0
test eax, eax
je 0x140011187
cmp qword [rbx + 0x270], 0
je 0x140011187
mov rcx, qword [rbx + 0x28]
mov r8d, edi
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140012f50
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140012dc0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x48
mov rax, qword [0x14008d558]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor edi, edi
mov rbx, rcx
cmp dword [rcx + 0x210], edi
jne 0x140012df3
lea ecx, [rdi + 0x15]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
jmp 0x140012e7c
test rdx, rdx
jne 0x140012e05
lea ecx, [rdx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
jmp 0x140012e7c
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + 0x208]
cmp dword [rbx + 0x218], edi
jne 0x140012e26
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x140012e7c
mov qword [rsp + 0x40], rsi
lea rsi, [rbx + 0x228]
mov qword [rsi], rdi
mov qword [rsp + 0x20], rsi
mov qword [rbx + 0x230], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
test eax, eax
jne 0x140012e77
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x140012e75
mov rcx, qword [rbx + 0x208]
lea r9d, [rdi + 1]
lea r8, [rsp + 0x30]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
jmp 0x140012e77
mov eax, edi
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140014190
add rsp, 0x48
pop rdi
pop rbx
ret

Function at 0x140012f50
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x48
mov rax, qword [0x14008d558]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor edi, edi
mov rbx, rcx
cmp dword [rcx + 0x210], edi
jne 0x140012f83
lea ecx, [rdi + 0x15]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
jmp 0x14001300c
test rdx, rdx
jne 0x140012f95
lea ecx, [rdx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
jmp 0x14001300c
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + 0x208]
cmp dword [rbx + 0x218], edi
jne 0x140012fb6
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14001300c
mov qword [rsp + 0x40], rsi
lea rsi, [rbx + 0x250]
mov qword [rsi], rdi
mov qword [rsp + 0x20], rsi
mov qword [rbx + 0x258], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test eax, eax
jne 0x140013007
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x140013005
mov rcx, qword [rbx + 0x208]
lea r9d, [rdi + 1]
lea r8, [rsp + 0x30]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
jmp 0x140013007
mov eax, edi
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140014190
add rsp, 0x48
pop rdi
pop rbx
ret
Function at 0x1400132c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x140013422
test rdx, rdx
je 0x140013422
cmp dword [0x14008fc50], ebx
je 0x140013422
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x140013325
mov rax, qword [0x14008fcb0]
test rax, rax
je 0x140013325
xor r9d, r9d
lea edx, [rbx + 0x10]
xor r8d, r8d
call qword [0x14006d610]
mov qword [rdi + 8], rbx
mov rcx, qword [rdi]
test rcx, rcx
je 0x140013344
mov edx, 0xc350
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], rbx
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140013357
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x18], rbx
mov rdx, qword [rdi + 0x28]
test rdx, rdx
je 0x14001337a
mov rax, qword [0x14008fc78]
test rax, rax
je 0x14001337a
mov rcx, qword [rdi + 0x20]
call qword [0x14006d610]
mov qword [rdi + 0x28], rbx
mov rax, qword [0x14008fc68]
xor ecx, ecx
call qword [0x14006d610]
mov qword [rdi + 0x28], rax
test rax, rax
je 0x140013422
mov qword [rsp + 0x40], r14
xor r9d, r9d
mov r14d, 1
xor r8d, r8d
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x18], rax
test rax, rax
je 0x140013406
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov r9, rdi
mov qword [rsp + 0x28], rbx
lea r8, [0x140013cd0]
mov qword [rdi + 0x10], rsi
xor edx, edx
mov qword [rdi + 0x20], rbp
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi], rax
test rax, rax
je 0x140013406
mov rcx, qword [rdi + 0x18]
mov edx, 0xc350
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
cmove ebx, r14d
mov r14, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov eax, ebx
jmp 0x14001340d
Function at 0x14004c644
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14004c664
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140023ffc
or eax, 0xffffffff
jmp 0x14004c666
xor eax, eax
add rsp, 0x28
ret

Function at 0x14004c770
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14004c790
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140023ffc
or eax, 0xffffffff
jmp 0x14004c792
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001180
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, [0x14000f040]
mov r10, rax
sub rbx, rax
movabs rdi, 0x964fda6c0964fda7
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rcx, r8
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 1]
mov byte [r9 - 1], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [rbx + r9]
mov byte [r9], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 1]
mov byte [r9 + 1], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 2]
mov byte [r9 + 2], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 3]
mov byte [r9 + 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 6]
xor al, byte [rbx + r9 + 4]
mov byte [r9 + 4], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 7]
xor al, byte [rbx + r9 + 5]
mov byte [r9 + 5], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 8]
xor al, byte [rbx + r9 + 6]
mov byte [r9 + 6], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 + 7]
mov byte [r9 + 7], al
lea rcx, [r8 + 9]
mov rax, rdi
lea r9, [r9 + 0xe]
mul rcx
add r11d, 0xe
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xa]
xor al, byte [rbx + r9 - 6]
mov byte [r9 - 6], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xb]
xor al, byte [rbx + r9 - 5]
mov byte [r9 - 5], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xc]
xor al, byte [rbx + r9 - 4]
mov byte [r9 - 4], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xd]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r11d, 0xe
jb 0x1400011d0
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001400
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x72]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r10d, r10d
lea rsi, [0x14000f040]
mov r11, rax
sub rbx, rax
movabs rdi, 0x964fda6c0964fda7
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r10d
lea r9, [r9 + 2]
mov rax, rdi
mov rcx, r8
mul r8
add r10d, 2
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r10d, 0x7a
jb 0x140001450
mov rbx, qword [rsp + 0x30]
mov rax, r11
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400014c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, [0x14000f040]
mov r10, rax
sub rbx, rax
movabs rdi, 0x964fda6c0964fda7
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rcx, r8
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 1]
mov byte [r9 - 1], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [rbx + r9]
mov byte [r9], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 1]
mov byte [r9 + 1], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 2]
mov byte [r9 + 2], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 3]
mov byte [r9 + 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 6]
xor al, byte [rbx + r9 + 4]
mov byte [r9 + 4], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 7]
xor al, byte [rbx + r9 + 5]
mov byte [r9 + 5], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 8]
xor al, byte [rbx + r9 + 6]
mov byte [r9 + 6], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 + 7]
mov byte [r9 + 7], al
lea rcx, [r8 + 9]
mov rax, rdi
lea r9, [r9 + 0xb]
mul rcx
add r11d, 0xb
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xa]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r11d, 0xb
jb 0x140001510
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001770
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx - 6]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r10d, r10d
lea rsi, [0x14000f200]
mov r11, rax
sub rbx, rax
movabs rdi, 0x964fda6c0964fda7
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r10d
lea r9, [r9 + 2]
mov rax, rdi
mov rcx, r8
mul r8
add r10d, 2
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b4
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r10d, 2
jb 0x1400017c0
mov rbx, qword [rsp + 0x30]
mov rax, r11
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret