joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140044580
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400446e7
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x140044592
cmp edx, ecx
jne 0x1400446d5
nop word [rax + rax]
test rsi, rsi
jne 0x1400446d5
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x1400445f4
nop
call fcn.140063aa0
xorps xmm15, xmm15
mov r14, qword [0x140283810]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.1400444a0
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x1400446d0
mov rdx, qword [0x1402305e8]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x1400446c5
mov rcx, qword [0x1402305e0]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x140231250]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x140231250], rax
nop
mov edx, 1
lea rsi, [0x140231258]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x1400446b3
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1228], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x14010f8a6]
mov ebx, 0x28
nop
call fcn.1400359e0
mov rax, rsi
mov rcx, rdx
call fcn.140062260
call fcn.140034060
lea rax, [0x14010e9a6]
mov ebx, 0x23
call fcn.1400359e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.14005ffc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140044580
Function at 0x14004fac0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x14004fc37
movzx edx, byte [rax]
test edx, edx
jne 0x14004faf4
nop dword [rax]
test r8b, r8b
jne 0x14004faf4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x14004fb07
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x14004fbf7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x14004fbe5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x14004fbd7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x14004fb5d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x14004fba0
mov eax, 1
cmp rax, rbx
ja 0x14004fb8b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.140062320
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x14004fbcf
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x14004fb93
mov rcx, r11
mov eax, r12d
jmp 0x14004fb62
mov rcx, rbx
call fcn.140062260
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.140062260
mov eax, r8d
mov rcx, rbx
call fcn.140062320
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x14004fc2d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x14004fbf0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x14004fb0d
mov eax, edx
mov rcx, rbx
call fcn.140062260
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.140062260
nop
int3
Function at 0x1400571a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14005724f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
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 rsi, [0x1400572a0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
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.14005fe80
xorps xmm15, xmm15
mov r14, qword [0x140283810]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.14005ffc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.1400571a0
Function at 0x140061e00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x1402838e0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x1402835cd], 0
je 0x140061e36
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x140283ba0]
aesenc xmm0, xmmword [0x140283bb0]
aesenc xmm0, xmmword [0x140283bc0]
movq rax, xmm0
ret
jmp 0x140009dc0

Function at 0x1400bcca0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140228140]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400bccc0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400bccc8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400bccc0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1400bcd15
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400bcd0c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400bccc0
add rax, 0x28
cmp rax, r9
jne 0x1400bccf8
xor eax, eax
ret

Function at 0x1400bcd20
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140228140]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400bcd40
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400bcd48
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400bcd40
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1400bcdd0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140228140]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400bcdf0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400bcdf8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x6fa013a8
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
cmp dword [rbp + 0x18], 3
ja 0x6fa01407
cmp dword [rbp + 0x18], 2
jae 0x6fa01406
cmp dword [rbp + 0x18], 0
je 0x6fa01406
cmp dword [rbp + 0x18], 1
jne 0x6fa01407
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
lea r8, [sym.mydll.dll_ExecuteShellcode]
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
jmp 0x6fa01407
nop
mov eax, 1
add rsp, 0x30
pop rbp
ret

Function at 0x6fa015c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x6fa01630
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6fa1a064]
test esi, esi
mov rbx, rcx
jle 0x6fa01760
mov rax, qword [0x6fa1a068]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x6fa0167b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x6fa01705
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x6fa01660
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x6fa01782
mov rax, qword [0x6fa1a068]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x6fa1a068]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6fa01767
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6fa016fe
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x6fa01710
add dword [0x6fa1a064], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x6fa1a068]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6fa016fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x6fa01688
mov rax, qword [0x6fa1a068]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x6fa01b10
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x6fa1a0a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6fa1a080]
test rbx, rbx
je 0x6fa01b6c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x6fa01b63
test eax, eax
jne 0x6fa01b63
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6fa01b48
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x6fa01d80
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x6fa01d98
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x6fa01da0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x6fa01db0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x6fa01dfd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x6fa01df4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x6fa01dff
add rax, 0x28
cmp rax, r9
jne 0x6fa01de0
xor eax, eax
ret

Function at 0x6fa01e00
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x6fa01e90
mov rdx, qword [0x6fa17210]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x6fa01e7e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x6fa01e7e
cmp word [rax + 0x18], 0x20b
jne 0x6fa01e7e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x6fa01e90
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x6fa01e69
add rbx, 0x28
cmp rbx, rdi
je 0x6fa01e90
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x6fa01e60
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x6fa01ea0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x6fa17210]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x6fa01ec0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x6fa01ec8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x6fa01ec0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x6fa01f1d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6fa01f14
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6fa01ec0
add rax, 0x28
cmp rax, r9
jne 0x6fa01f00
xor eax, eax
ret
Function at 0x6fa01f20
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x6fa17210]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x6fa01f3f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x6fa01f48
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x6fa01f3f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x6fa01f60
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x6fa17210]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x6fa01f80
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x6fa01f88
ret
cmp word [rdx + 0x18], 0x20b
jne 0x6fa01f80
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x6fa01fd0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x6fa01fc7
test rcx, rcx
je 0x6fa01f80
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x6fa01fb8
xor eax, eax
ret

Function at 0x6fa01fe0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x6fa17210]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x6fa01fff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x6fa02008
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x6fa02020
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x6fa17210]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x6fa02040
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x6fa02048
ret
cmp word [r8 + 0x18], 0x20b
jne 0x6fa02040
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x6fa02040
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x6fa02094
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x6fa020a0
add rdx, 0x28
cmp r9, rdx
jne 0x6fa02080
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x6fa020b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x6fa17210]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x6fa020d2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x6fa020e0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x6fa020d2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x6fa020d2
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x6fa020d2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x6fa02135
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x6fa02148
add rdx, 0x28
cmp r10, rdx
jne 0x6fa02120
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x6fa02157
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x6fa02167
mov edx, dword [rax + 0xc]
test edx, edx
je 0x6fa0213e
test ecx, ecx
jg 0x6fa02150
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14000b6f0
Capabilities:
Check if file exists
Delete file

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, 0x60
xor edi, edi
mov dword [rax - 0x40], 3
lea rbp, [0x140029720]
mov qword [rax - 0x48], rdi
lea rsi, [0x14002fd30]
mov qword [rax - 0x30], rbp
mov r14d, 0x414
mov qword [rax - 0x38], rsi
lea rcx, [rax - 0x48]
mov word [rax - 0x28], r14w
mov dword [rax - 0x24], edi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x18], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b7aa
test al, 0x10
je 0x14000b7aa
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b750
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
sub rsp, 0x28
mov rcx, qword [0x140031d30]
test rcx, rcx
je 0x14000b80b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b7fe
mov rcx, qword [0x140031d30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x140031d30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fd08], 0
je 0x14000b81d
add rsp, 0x28
jmp 0x14000b6f0
add rsp, 0x28
ret
Function at 0x14000b7d0
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

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, 0x60
xor edi, edi
mov dword [rax - 0x40], 3
lea rbp, [0x140029720]
mov qword [rax - 0x48], rdi
lea rsi, [0x14002fd30]
mov qword [rax - 0x30], rbp
mov r14d, 0x414
mov qword [rax - 0x38], rsi
lea rcx, [rax - 0x48]
mov word [rax - 0x28], r14w
mov dword [rax - 0x24], edi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x18], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b7aa
test al, 0x10
je 0x14000b7aa
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b750
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
sub rsp, 0x28
mov rcx, qword [0x140031d30]
test rcx, rcx
je 0x14000b80b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b7fe
mov rcx, qword [0x140031d30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x140031d30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fd08], 0
je 0x14000b81d
add rsp, 0x28
jmp 0x14000b6f0
add rsp, 0x28
ret
Function at 0x140007870
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400078cd
lea rbx, [0x140032b70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400078b4
cmp r10, 2
jb 0x1400078b4
cmp byte [r9], r8b
jne 0x1400078b4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140007890
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000790f
lea rbx, [0x140032b70]
cmp r8b, 0x23
jne 0x1400078f3
cmp byte [r9], r8b
jne 0x1400078f3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400078e0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140007a50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140007a6a
mov qword [r8], 0
lea rdx, [0x14003801c]
call fcn.140007920
mov rbx, rax
test rax, rax
jne 0x140007a8a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140007b63
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140007b63
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140007b63
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140007b63
cmp rdi, 0xffffffffffffffff
je 0x140007b63
mov rax, qword [0x14003f818]
test rax, rax
je 0x140007b00
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140007b63
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140007b50
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14003f818]
test rax, rax
je 0x140007b45
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140007b6c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140007b5e
mov qword [r14], rdi
mov rax, rsi
jmp 0x140007b6e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140009fd0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r8, [0x140032b70]
movsxd rcx, dword [rcx + 0xe8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x14003f818]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x14000a065
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001b7e0
mov eax, ebx
add rsp, 0x20
pop rbx
ret