joyce8/EMBER2024-capa huggingface dataset:
Function at 0x651070
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xae8
mov rbp, rsp
mov rsi, rcx
mov qword [rbp + 0x50], rdx
mov dword [rbp + 0x4c], r8d
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
lea rdi, [rbp + 0x2b8]
mov ecx, 0x105
rep movsq qword [rdi], qword [rsi]
nop
mov ecx, 8
mov rdx, qword [0x0063cad8]
call fcn.004117c0
mov rbx, rax
mov rcx, rbx
mov edx, dword [rbp + 0x4c]
xor r8, r8
call fcn.0040f5d0
mov rcx, rbx
call fcn.0040ea00
mov rcx, qword [rbp + 0x50]
mov rdx, rax
mov r8d, dword [rbp + 0x4c]
lea r9, [rbp + 0x2b4]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_ReadFile_1
test eax, eax
setne al
test al, al
jne 0x65118b
call sub.kernel32.dll_GetLastError_2
lea rcx, [rbp + 0x80]
mov edx, eax
call fcn.00435d20
lea rcx, [rbp + 0x88]
lea rdx, [0x00651354]
mov r8, qword [rbp + 0x80]
call fcn.004102f0
mov cx, 1
mov rdx, qword [rbp + 0x88]
call fcn.0047cfa0
mov rcx, rbx
xor rdx, rdx
xor r8, r8
call fcn.0040f5d0
mov rcx, rbx
mov rdx, qword [0x0063cad8]
call fcn.004117f0
jmp 0x651302
mov eax, dword [rbp + 0x4c]
cmp dword [rbp + 0x2b4], eax
je 0x651211
lea rcx, [rbp + 0x70]
mov edx, dword [rbp + 0x2b4]
call fcn.0042bdf0
lea rcx, [rbp + 0x68]
mov edx, dword [rbp + 0x4c]
mov edx, edx
call fcn.0042bdf0
lea rcx, [rbp + 0x78]
mov edx, 4
lea r8, [0x006513a4]
mov r9, qword [rbp + 0x70]
lea rax, [0x006513f4]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x28], rax
call fcn.00410420
mov cx, 1
mov rdx, qword [rbp + 0x78]
call fcn.0047cfa0
mov rcx, rbx
xor rdx, rdx
xor r8, r8
call fcn.0040f5d0
mov rcx, rbx
mov rdx, qword [0x0063cad8]
call fcn.004117f0
jmp 0x651302
mov rcx, rbx
call fcn.0040ea00
cmp dword [rax], 1
jne 0x65122f
cmp dword [rax + 0x28], 0x464d4520
jne 0x65122f
mov ecx, dword [rbp + 0x4c]
cmp dword [rax + 0x30], ecx
je 0x651251
mov rcx, rbx
xor rdx, rdx
xor r8, r8
call fcn.0040f5d0
mov rcx, rbx
mov rdx, qword [0x0063cad8]
call fcn.004117f0
jmp 0x651302
lea rcx, [rbp + 0x98]
mov edx, 0x218
xor r8, r8
call fcn.00408d50
mov byte [rbp + 0x98], 0x15
mov eax, 0x104
lea rcx, [rbp + 0x2b8]
lea rdx, [rbp + 0x9a]
mov r8d, eax
add r8d, r8d
movsxd r8, r8d
call fcn.00406200
mov qword [rbp + 0x2a8], rbx
lea rcx, [rbp + 0x8d6]
lea rdx, [rbp + 0x98]
mov r8d, 0x218
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov byte [rsp + 0x30], 0
call fcn.0063f4f0
test al, al
jne 0x651301
call sub.kernel32.dll_GetLastError_2
test eax, eax
je 0x651301
lea rcx, [rbp + 0x58]
mov edx, eax
call fcn.00435d20
lea rcx, [rbp + 0x60]
lea rdx, [0x00651408]
mov r8, qword [rbp + 0x58]
call fcn.004102f0
mov cx, 2
mov rdx, qword [rbp + 0x60]
call fcn.0047cfa0
nop
lea rcx, [rbp + 0x58]
mov edx, 7
call fcn.0040e160
lea rsp, [rbp + 0xae8]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x652440
Capabilities:
Copy file

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
mov rbp, rsp
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0x68], rdx
mov dword [rbp + 0x64], r8d
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xd8], r9
mov rcx, qword [rbp + 0xd8]
call fcn.0040e210
mov rcx, qword [rbp + 0xe0]
call fcn.0040e210
nop
mov rax, qword [rbp + 0x68]
test rax, rax
je 0x652603
mov eax, dword [rbp + 0x64]
cmp eax, 0x210
jne 0x652603
lea rcx, [rbp + 0x88]
mov rax, qword [0x00a8dd40]
mov rdx, qword [rax]
lea r8, [0x006526b0]
lea r9, [0x006526c4]
call fcn.00480810
lea rcx, [rbp + 0x90]
mov rax, qword [0x00a8ddd0]
mov rdx, qword [rax]
lea r8, [0x006526dc]
call fcn.004102f0
mov rcx, qword [rbp + 0x58]
lea rdx, [rbp + 0x98]
mov r8, qword [rbp + 0x90]
call fcn.00652200
cmp qword [rbp + 0x98], 0
jne 0x65253c
mov cx, 2
lea rdx, [0x00652708]
call fcn.0047cfa0
jmp 0x652603
mov rcx, qword [rbp + 0x98]
call fcn.0040feb0
mov rbx, rax
mov rcx, qword [rbp + 0x88]
call fcn.0040feb0
mov rcx, rbx
mov rdx, rax
or r8d, 0xffffffff
call sub.kernel32.dll_CopyFileW
test eax, eax
setne al
test al, al
jne 0x6525e4
call sub.kernel32.dll_GetLastError_2
lea rcx, [rbp + 0x70]
mov edx, eax
call fcn.00435d20
lea rcx, [rbp + 0x78]
mov edx, 7
lea r8, [0x0065274c]
mov r9, qword [rbp + 0x98]
lea rax, [0x00652794]
mov qword [rsp + 0x20], rax
lea rax, [0x006527a8]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x30], rax
lea rax, [0x00652794]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x70]
mov qword [rsp + 0x40], rax
call fcn.00410420
mov cx, 1
mov rdx, qword [rbp + 0x78]
call fcn.0047cfa0
jmp 0x652603
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0xd8]
mov r8, qword [rbp + 0xe0]
mov r9, qword [rbp + 0x88]
call fcn.00652010
nop
lea rcx, [rbp + 0x70]
mov edx, 2
call fcn.0040e160
lea rcx, [rbp + 0x88]
mov edx, 3
call fcn.0040e160
lea rcx, [rbp + 0xd8]
mov edx, 2
call fcn.0040e160
lea rsp, [rbp + 0xa8]
pop rbx
pop rbp
ret
Function at 0x654cd0
Capabilities:
Allocate or change rwx memory
Enumerate pe sections

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x40
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], r8
mov eax, dword [rdx + 0x38]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
movzx rax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rcx]
add rdi, rax
add rdi, 0x18
xor rbx, rbx
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
movzx r14d, word [rax + 6]
sub r14d, 1
cmp ebx, r14d
jg 0x654dc6
add r14d, 1
mov eax, dword [rdi + 0xc]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
add rcx, rax
mov rax, rcx
cmp dword [rdi + 0x10], 0
jne 0x654d7d
mov r13d, dword [rsp + 0x3c]
movsxd r13, r13d
test r13, r13
jle 0x654db6
mov rcx, rax
mov rdx, r13
mov r8d, 0x1000
mov r9d, 0x40
call sub.kernel32.dll_VirtualAlloc_1
mov rsi, rax
mov dword [rdi + 8], esi
mov rcx, rsi
mov rdx, r13
xor r8, r8
call fcn.00408d50
jmp 0x654db6
mov r13d, dword [rdi + 0x10]
mov rcx, rax
mov rdx, r13
mov r8d, 0x1000
mov r9d, 0x40
call sub.kernel32.dll_VirtualAlloc_1
mov rsi, rax
mov eax, dword [rdi + 0x14]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rdx, rsi
mov r8, r13
call fcn.00406200
mov dword [rdi + 8], esi
add rdi, 0x28
add ebx, 1
cmp ebx, r14d
jne 0x654d29
nop
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret

Function at 0x6552c0
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbp, rsp
mov rbx, rcx
mov rax, qword [rbx]
movabs rcx, 0xffffffff00000000
mov r13, qword [rax + 0x30]
and r13, rcx
mov rsi, qword [rbx]
add rsi, 0x108
xor rdi, rdi
mov rax, qword [rbx]
movzx r14d, word [rax + 6]
sub r14d, 1
cmp edi, r14d
jg 0x6553ec
add r14d, 1
xor rax, rax
mov ecx, dword [rsi + 0x24]
and ecx, 0x20000000
cmp ecx, 0x20000000
jne 0x655323
or eax, 0x10
mov ecx, dword [rsi + 0x24]
and ecx, 0x40000000
cmp ecx, 0x40000000
jne 0x655337
or eax, 2
mov ecx, dword [rsi + 0x24]
and ecx, 0x80000000
cmp ecx, 0x80000000
jne 0x65534b
or eax, 8
mov ecx, dword [rsi + 0x24]
and ecx, 0x4000000
cmp ecx, 0x4000000
jne 0x655362
or eax, 0x200
mov ecx, dword [rsi + 0x24]
and ecx, 0x2000000
cmp ecx, 0x2000000
jne 0x65538a
mov ecx, dword [rsi + 8]
or rcx, r13
mov edx, dword [rsi + 0x10]
mov r8d, 0x4000
call sub.kernel32.dll_VirtualFree_1
jmp 0x6553e0
mov ecx, dword [rsi + 0x10]
test rcx, rcx
jne 0x6553bc
mov edx, dword [rsi + 0x24]
and edx, 0x40
cmp edx, 0x40
jne 0x6553a5
mov rcx, qword [rbx]
mov ecx, dword [rcx + 0x20]
jmp 0x6553bc
mov edx, dword [rsi + 0x24]
and edx, 0x80
cmp edx, 0x80
jne 0x6553bc
mov rcx, qword [rbx]
mov ecx, dword [rcx + 0x24]
test rcx, rcx
jle 0x6553dc
mov edx, dword [rsi + 8]
or rdx, r13
mov r8, rcx
lea r9, [rbp + 0x2c]
mov rcx, rdx
mov rdx, r8
mov r8d, eax
call sub.kernel32.dll_VirtualProtect
add rsi, 0x28
add edi, 1
cmp edi, r14d
jne 0x65530c
nop
lea rsp, [rbp + 0x38]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret
Function at 0x66c1c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
movzx rcx, byte [rdx]
xor rax, rax
test rdx, rdx
je 0x66c1d7
mov eax, dword [rdx - 4]
mov r8b, 2
mov r9d, eax
mov eax, r8d
cmp al, r9b
ja 0x66c1fa
add r9b, 1
movzx r8, al
xor cl, byte [rdx + r8*2 - 2]
add al, 1
cmp al, r9b
jne 0x66c1e9
nop
mov rax, rbx
movzx rdx, cl
mov r8d, 2
mov rcx, rax
call fcn.0042bf90
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x68aaf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x48], rdx
mov rcx, qword [rbp + 0x48]
call fcn.0040e240
nop
mov rax, qword [rbp + 0x20]
movzx rax, byte [rax]
sub al, 1
cmp al, 0xff
je 0x68ab2b
test al, al
jne 0x68ac49
jmp 0x68ac26
mov rax, qword [rbp + 0x28]
cmp byte [rax + 0xf], 0
jne 0x68ab43
mov rax, qword [rbp + 0x28]
cmp byte [rax + 0xe], 0
je 0x68ac4a
lea rcx, [0x0068ac8c]
mov rdx, qword [rbp + 0x48]
call fcn.00685220
cmp al, 1
je 0x68ab6d
lea rcx, [0x0068aca0]
mov rdx, qword [rbp + 0x48]
call fcn.00685220
cmp al, 1
jne 0x68ab98
mov rax, qword [rbp + 0x20]
mov byte [rax], 1
lea rcx, [rax + 8]
mov rdx, qword [rbp + 0x48]
call fcn.0040e810
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x20]
mov dword [rcx + 4], eax
jmp 0x68ac49
mov rax, qword [rbp + 0x20]
cmp qword [rax + 8], 0
je 0x68ac01
mov rax, qword [rbp + 0x20]
lea rcx, [rax + 8]
mov rdx, qword [rbp + 0x48]
call fcn.0040eea0
lea rcx, [0x0068ac8c]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 8]
call fcn.00685220
cmp al, 1
je 0x68abe6
lea rcx, [0x0068aca0]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 8]
call fcn.00685220
cmp al, 1
jne 0x68ac49
mov rax, qword [rbp + 0x20]
mov byte [rax], 1
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x20]
mov dword [rcx + 4], eax
jmp 0x68ac49
mov rax, qword [rbp + 0x20]
lea rcx, [rax + 8]
mov rdx, qword [rbp + 0x48]
call fcn.0040e810
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x20]
mov dword [rcx + 4], eax
jmp 0x68ac49
mov rax, qword [rbp + 0x20]
lea rcx, [rax + 8]
mov rdx, qword [rbp + 0x48]
call fcn.0040eea0
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x20]
mov dword [rcx + 4], eax
nop
lea rcx, [rbp + 0x48]
call fcn.0040e0d0
lea rsp, [rbp + 0x30]
pop rbp
ret
Function at 0x68afc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x58], rdx
mov rcx, qword [rbp + 0x58]
call fcn.0040e240
nop
mov rax, qword [rbp + 0x20]
movzx rax, byte [rax]
sub al, 1
cmp al, 0xff
je 0x68b019
sub al, 4
test al, al
je 0x68b12b
sub al, 3
test al, al
jne 0x68b1f0
jmp 0x68b1cd
lea rcx, [0x0068b25c]
mov rdx, qword [rbp + 0x58]
call fcn.00685220
cmp al, 1
jne 0x68b05e
mov rax, qword [rbp + 0x28]
cmp byte [rax + 0x14], 0
je 0x68b1f1
mov rax, qword [rbp + 0x20]
mov byte [rax], 1
lea rcx, [rax + 8]
call fcn.0040e0d0
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x20]
mov dword [rcx + 4], eax
lea rcx, [0x0068b270]
mov rdx, qword [rbp + 0x58]
call fcn.00685220
cmp al, 1
jne 0x68b0dd
mov rax, qword [rbp + 0x28]
cmp byte [rax + 0x13], 0
je 0x68b1f1
mov rax, qword [rbp + 0x20]
mov byte [rax], 5
mov rcx, qword [0x009b4ca0]
mov rdx, qword [rbp + 0x58]
call fcn.00410a70
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x58]
mov r8d, 0xf
mov r9d, eax
sub r9d, 0xf
call fcn.0040f370
mov rax, qword [rbp + 0x20]
lea rcx, [rax + 8]
mov rdx, qword [rbp + 0x38]
mov r8, qword [0x009b4cb0]
call fcn.0040ef90
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x20]
mov dword [rcx + 4], eax
lea rcx, [0x0068b28c]
mov rdx, qword [rbp + 0x58]
call fcn.00685220
cmp al, 1
jne 0x68b1f0
mov rax, qword [rbp + 0x28]
cmp byte [rax + 0x13], 0
je 0x68b1f1
mov rax, qword [rbp + 0x20]
mov byte [rax], 7
lea rcx, [rax + 8]
call fcn.0040e0d0
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x20]
mov dword [rcx + 4], eax
jmp 0x68b1f0
lea rcx, [0x0068b2a0]
mov rdx, qword [rbp + 0x58]
call fcn.00685220
cmp al, 1
jne 0x68b1f0
mov rax, qword [rbp + 0x28]
cmp byte [rax + 0x15], 0
je 0x68b1f1
mov rax, qword [rbp + 0x20]
mov byte [rax], 6
mov rax, qword [rbp + 0x28]
cmp word [rax + 0x3000a0], 0
jne 0x68b17d
mov rax, qword [rbp + 0x20]
lea rcx, [rax + 8]
mov rdx, qword [0x009b4cc0]
call fcn.0040eea0
jmp 0x68b1b9
mov rcx, qword [0x009b4ca0]
mov rdx, qword [rbp + 0x58]
call fcn.00410a70
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x58]
mov r8d, 0xf
mov r9d, eax
sub r9d, 0xf
call fcn.0040f370
mov rax, qword [rbp + 0x20]
lea rcx, [rax + 8]
mov rdx, qword [rbp + 0x30]
call fcn.0040eea0
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x20]
mov dword [rcx + 4], eax
jmp 0x68b1f0
mov rax, qword [rbp + 0x20]
lea rcx, [rax + 8]
mov rdx, qword [rbp + 0x58]
call fcn.0040eea0
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x20]
mov dword [rcx + 4], eax
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040e190
lea rcx, [rbp + 0x58]
call fcn.0040e0d0
lea rsp, [rbp + 0x40]
pop rbp
ret
Function at 0x68d8f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov dword [rbp + 0x2c], r8d
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rdx
mov eax, 0x1d
mov ecx, dword [rbp + 0x2c]
cmp ecx, 4
jl 0x68d92f
mov ecx, dword [rbp + 0x2c]
sub ecx, 4
shl ecx, 4
add eax, ecx
add eax, 0x1a
jmp 0x68d932
add eax, 3
xor rcx, rcx
movsxd rdx, eax
mov r8d, 0x1000
mov r9d, 0x40
call sub.kernel32.dll_VirtualAlloc_1
mov r13, rax
mov rsi, r13
mov dword [rbp + 0x3c], 0
mov eax, dword [rbp + 0x2c]
cmp eax, 4
jl 0x68da44
mov eax, dword [rbp + 0x2c]
add eax, 1
mov ecx, 2
cdq
idiv ecx
add eax, eax
add eax, 1
add eax, eax
add eax, eax
add eax, eax
mov dword [rbp + 0x3c], eax
mov rdi, rsi
lea rcx, [0x009b53c8]
mov rdx, rsi
mov r8d, 0xf
call fcn.00406200
add rsi, 3
lea rcx, [rbp + 0x3c]
mov rdx, rsi
mov r8d, 4
call fcn.00406200
mov rsi, rdi
add rsi, 0xf
xor rbx, rbx
mov r14d, dword [rbp + 0x2c]
sub r14d, 5
cmp ebx, r14d
jg 0x68da43
add r14d, 1
mov rdi, rsi
lea rcx, [0x009b53d7]
mov rdx, rsi
mov r8d, 0x10
call fcn.00406200
add rsi, 4
mov eax, ebx
add eax, 5
add eax, eax
add eax, eax
add eax, eax
mov ecx, dword [rbp + 0x3c]
add ecx, eax
mov dword [rbp + 0x38], ecx
lea rcx, [rbp + 0x38]
mov rdx, rsi
mov r8d, 4
call fcn.00406200
add rsi, 8
mov eax, ebx
add eax, 5
add eax, eax
add eax, eax
add eax, eax
mov dword [rbp + 0x38], eax
lea rcx, [rbp + 0x38]
mov rdx, rsi
mov r8d, 4
call fcn.00406200
mov rsi, rdi
add rsi, 0x10
add ebx, 1
cmp ebx, r14d
jne 0x68d9cc
nop
mov rdi, rsi
lea rcx, [0x009b53e7]
mov rdx, rsi
mov r8d, 0x1d
call fcn.00406200
add rsi, 0xb
lea rcx, [rbp + 0x80]
mov rdx, rsi
mov r8d, 8
call fcn.00406200
add rsi, 0xa
lea rcx, [rbp + 0x88]
mov rdx, rsi
mov r8d, 8
call fcn.00406200
mov rsi, rdi
add rsi, 0x1d
mov eax, dword [rbp + 0x2c]
cmp eax, 4
jge 0x68dab8
lea rcx, [0x009b5404]
mov rdx, rsi
mov r8d, 3
call fcn.00406200
jmp 0x68dae5
lea rcx, [0x009b5407]
mov rdx, rsi
mov r8d, 0xb
call fcn.00406200
add rsi, 6
lea rcx, [rbp + 0x3c]
mov rdx, rsi
mov r8d, 4
call fcn.00406200
mov rax, r13
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret
Function at 0x68dff0
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
sub rsp, 0x28
mov rbp, rsp
mov rbx, rdx
lea rax, [rbx + rbp + 0xd8]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
call sub.kernel32.dll_CloseHandle_1
lea rax, [rbx + rbp + 0xf8]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
add rcx, 0x210
call sub.kernel32.dll_DeleteFileW
lea rsp, [rbp + 0x28]
pop rbx
pop rbp
ret

Function at 0x690e00
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
sub rsp, 0x2a0
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x2b0], rcx
mov qword [rbp + 0x2b8], rdx
mov rcx, qword [rbp + 0x2b8]
call fcn.0040e210
nop
lea rcx, [rbp + 0x48]
mov edx, 0x250
xor r8, r8
call fcn.00408d50
mov dword [rbp + 0x48], 0x1ff
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x2b8]
lea r8, [0x00690fec]
call fcn.004102f0
mov rcx, qword [rbp + 0x30]
call fcn.0040feb0
mov rcx, rax
lea rdx, [rbp + 0x48]
call sub.kernel32.dll_FindFirstFileW_1
mov qword [rbp + 0x298], rax
cmp qword [rbp + 0x298], 0xffffffffffffffff
je 0x690f45
nop
lea rcx, [rbp + 0x74]
call sub.kernel32.dll_lstrlenW_1
test eax, eax
je 0x690f1a
cmp word [rbp + 0x74], 0x2e
je 0x690f1a
mov eax, dword [rbp + 0x48]
and eax, 0x10
cmp eax, 0x10
je 0x690f1a
mov ecx, 0x10
mov rdx, qword [0x0068f8c0]
call fcn.004117c0
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 0x74]
mov r8d, 0x104
call fcn.0040ffb0
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x2b8]
mov r8, qword [rbp + 0x28]
call fcn.004102f0
mov rax, qword [rbp + 0x40]
mov ecx, dword [rbp + 0x60]
mov dword [rax + 0xc], ecx
mov rax, qword [rbp + 0x40]
mov ecx, dword [rbp + 0x5c]
mov dword [rax + 8], ecx
mov rax, qword [rbp + 0x2b0]
mov rcx, qword [rax + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.00468210
mov rcx, qword [rbp + 0x298]
lea rdx, [rbp + 0x48]
call sub.kernel32.dll_FindNextFileW
test eax, eax
setne al
test al, al
jne 0x690e95
nop
mov rcx, qword [rbp + 0x298]
call sub.kernel32.dll_FindClose_1
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.0040e160
lea rcx, [rbp + 0x2b8]
call fcn.0040e080
lea rsp, [rbp + 0x2a0]
pop rbp
ret

Function at 0x69e9c0
Capabilities:
Encode data using xor

Disassembly:
mov r8, rcx
xor rax, rax
xor rcx, rcx
sub edx, 1
cmp ecx, edx
jg 0x69ea02
add edx, 1
mov r9d, eax
and r9w, 0xf800
movzx r9d, r9w
shr r9d, 0xb
shl eax, 5
or r9w, ax
mov eax, r9d
movzx r9w, byte [r8]
xor ax, r9w
add r8, 1
add ecx, 1
cmp ecx, edx
jne 0x69e9d3
nop
ret
Function at 0x6b65d0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x24], 0xca
jne 0x6b661f
mov rcx, qword [rsp + 0x40]
call fcn.006b73e0
mov r11, qword [rsp + 0x40]
cmp dword [r11 + 0x58], 0
je 0x6b6613
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x24], 0xcf
mov eax, 1
jmp 0x6b6769
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x24], 0xcb
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x24], 0xcb
jne 0x6b6720
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x240]
cmp dword [rax + 0x20], 0
je 0x6b6708
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
je 0x6b6663
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x240]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x6b6688
xor eax, eax
jmp 0x6b6769
cmp dword [rsp + 0x20], 2
jne 0x6b6691
jmp 0x6b6708
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
je 0x6b6703
cmp dword [rsp + 0x20], 3
je 0x6b66ab
cmp dword [rsp + 0x20], 1
jne 0x6b6703
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov ecx, dword [rax + 8]
add ecx, 1
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov dword [rax + 8], ecx
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0xc]
cmp dword [rcx + 8], eax
jl 0x6b6703
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov ecx, dword [rax + 0xc]
mov rax, qword [rsp + 0x40]
add ecx, dword [rax + 0x1a4]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov dword [rax + 0xc], ecx
jmp 0x6b6647
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xac]
mov dword [rcx + 0xb4], eax
jmp 0x6b675f
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x24], 0xcc
je 0x6b675f
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov dword [rax + 0x28], 0x14
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x24]
mov dword [rcx + 0x2c], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov rcx, qword [rsp + 0x40]
call fcn.006b6780
add rsp, 0x38
ret
Function at 0x6b6780
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x24], 0xcc
je 0x6b67c6
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov r11, qword [rsp + 0x40]
mov dword [r11 + 0xa8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x24], 0xcc
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
cmp dword [rax + 0x10], 0
je 0x6b68cd
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x8c]
cmp dword [rcx + 0xa8], eax
jae 0x6b6891
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
je 0x6b6842
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xa8]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x8c]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xa8]
mov dword [rsp + 0x20], eax
mov r8, qword [rsp + 0x40]
add r8, 0xa8
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x228]
xor r9d, r9d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [rax + 8]
mov r11, qword [rsp + 0x40]
mov eax, dword [rsp + 0x20]
cmp dword [r11 + 0xa8], eax
jne 0x6b688c
xor eax, eax
jmp 0x6b68fb
jmp 0x6b67dc
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
mov rcx, qword [rsp + 0x40]
call qword [rax + 8]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov r11, qword [rsp + 0x40]
mov dword [r11 + 0xa8], 0
jmp 0x6b67c6
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x5c], 0
je 0x6b68e2
mov dword [rsp + 0x24], 0xce
jmp 0x6b68ea
mov dword [rsp + 0x24], 0xcd
mov rcx, qword [rsp + 0x40]
mov eax, dword [rsp + 0x24]
mov dword [rcx + 0x24], eax
mov eax, 1
add rsp, 0x38
ret