joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002982c
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001ce24
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001ce24
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002997c
cmp rax, 0xffffffffffffffff
je 0x14002997c
xor edi, edi
test rbp, rbp
jle 0x140029927
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f738
mov rbx, rax
test rax, rax
jne 0x1400298b4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002991d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a758
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001db00
cmp eax, 0xffffffff
je 0x1400298fd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400298c4
mov edx, r15d
mov ecx, r14d
call fcn.14001a758
jmp 0x14002991d
cmp byte [rsi + 0x38], dil
je 0x140029914
cmp dword [rsi + 0x34], 5
jne 0x140029914
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002991d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b4ec
jmp 0x140029990
jns 0x140029990
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001ce24
cmp rax, 0xffffffffffffffff
jne 0x140029948
cmp byte [rsi + 0x30], dil
je 0x140029990
mov edi, dword [rsi + 0x2c]
jmp 0x140029990
mov ecx, r14d
call fcn.140018c10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029990
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029990
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029989
mov eax, dword [rsi + 0x2c]
jmp 0x14002998e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001ce24
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002aa80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002aaa8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002aaa8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1407618c4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1407618ce
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1407618f7
pop rbp
sub rbp, 0x33
sub rbp, 0x7618c4
sub rsp, 0x20
jmp 0x140761916
mov rax, 0x7618c4
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0xffffffffbe17b7c8
xor byte [rax], dl
inc rax
dec rcx
jne 0x140761935
jmp 0x14076194c
add byte [rcx + 0x21], 0x43
hlt
Function at 0x140009620
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r8
call fcn.1400364d0
test eax, eax
js 0x140009884
mov ecx, dword [rbx + 0xf0]
lea eax, [rcx*4]
movsxd r9, eax
test eax, eax
jle 0x1400096b3
lea r8, [rbx + 8]
xor r10d, r10d
lea r8, [r8 + r9*4]
lea rax, [rbx + 8]
nop dword [rax]
mov edx, dword [rax - 8]
add r10, 4
mov ecx, dword [r8 - 8]
lea r8, [r8 - 0x10]
mov dword [rax - 8], ecx
lea rax, [rax + 0x10]
mov ecx, dword [r8 + 0xc]
sub r9, 4
mov dword [r8 + 8], edx
mov edx, dword [rax - 0x14]
mov dword [rax - 0x14], ecx
mov ecx, dword [r8 + 0x10]
mov dword [r8 + 0xc], edx
mov edx, dword [rax - 0x10]
mov dword [rax - 0x10], ecx
mov ecx, dword [r8 + 0x14]
mov dword [r8 + 0x10], edx
mov edx, dword [rax - 0xc]
mov dword [rax - 0xc], ecx
mov dword [r8 + 0x14], edx
cmp r10, r9
jl 0x140009660
mov ecx, dword [rbx + 0xf0]
mov r11d, 1
cmp ecx, r11d
jle 0x140009882
mov qword [rsp + 0x30], rdi
lea r10, [rbx + 4]
lea rdi, [0x140000000]
nop dword [rax]
nop word [rax + rax]
mov r9d, dword [r10 + 0x10]
lea r10, [r10 + 0x10]
mov edx, dword [r10 - 4]
inc r11d
movzx eax, byte [r10 - 3]
movzx ecx, byte [rdi + rax*4 + 0x679e0]
mov eax, edx
shr rax, 0x18
mov r8d, dword [rdi + rcx*4 + 0x66de0]
movzx eax, byte [rdi + rax*4 + 0x679e0]
xor r8d, dword [rdi + rax*4 + 0x675e0]
movzx eax, dl
movzx ecx, byte [rdi + rax*4 + 0x679e0]
movzx eax, byte [r10 - 2]
xor r8d, dword [rdi + rcx*4 + 0x669e0]
movzx ecx, byte [rdi + rax*4 + 0x679e0]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x671e0]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [r10 - 4], r8d
movzx edx, byte [rdi + rcx*4 + 0x679e0]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x671e0]
movzx eax, byte [rdi + rcx*4 + 0x679e0]
xor r8d, dword [rdi + rax*4 + 0x66de0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x679e0]
movzx eax, r9b
mov r9d, dword [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0x675e0]
movzx ecx, byte [rdi + rax*4 + 0x679e0]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x669e0]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [r10], r8d
movzx edx, byte [rdi + rcx*4 + 0x679e0]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x671e0]
movzx eax, byte [rdi + rcx*4 + 0x679e0]
xor r8d, dword [rdi + rax*4 + 0x66de0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x679e0]
movzx eax, r9b
mov r9d, dword [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0x675e0]
movzx ecx, byte [rdi + rax*4 + 0x679e0]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x669e0]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [r10 + 4], r8d
movzx edx, byte [rdi + rcx*4 + 0x679e0]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x671e0]
movzx eax, byte [rdi + rcx*4 + 0x679e0]
xor r8d, dword [rdi + rax*4 + 0x66de0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x679e0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x675e0]
movzx ecx, byte [rdi + rax*4 + 0x679e0]
xor r8d, dword [rdi + rcx*4 + 0x669e0]
mov dword [r10 + 8], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x1400096e0
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400234f8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002325c
Function at 0x140034560
Capabilities:
Check http status code

Disassembly:
mov r11, rsp
push r14
sub rsp, 0xa0
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x14007a080]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rdi, rcx
xor sil, sil
lea rdx, [0x14006dc40]
lea rcx, [r11 - 0x30]
call fcn.140009480
nop
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rsp + 0x88]
movups xmmword [rsp + 0x68], xmm1
movdqa xmm0, xmmword [0x14006f290]
movdqu xmmword [rsp + 0x88], xmm0
mov byte [rsp + 0x78], sil
xor ecx, ecx
call fcn.140035500
mov r8d, eax
mov r14d, 1
mov r9d, r14d
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140035640
nop
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x140034637
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034632
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034762
call fcn.140015c34
cmp byte [rdi + 0x20], 0
je 0x140034726
lea rcx, [rsp + 0x78]
call fcn.140035420
nop
cmp qword [rax + 0x18], 0x10
jb 0x140034656
mov rax, qword [rax]
mov dword [rsp + 0x30], 0x4080000
lea r8, [0x14006dce0]
mov rdx, rax
mov rcx, qword [rdi + 0x30]
call fcn.1400508d0
mov rbx, rax
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x1400346b4
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400346af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003475c
call fcn.140015c34
movdqa xmm0, xmmword [0x14006f290]
movdqu xmmword [rsp + 0x88], xmm0
mov byte [rsp + 0x78], 0
test rbx, rbx
je 0x14003471e
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400507c0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x48], 4
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
mov edx, 0x20000013
mov rcx, rbx
call fcn.14003be40
movzx esi, sil
cmp dword [rsp + 0x40], 0xc8
cmove esi, r14d
mov rcx, rbx
call fcn.140007c00
mov rcx, rdi
call fcn.140035600
movzx eax, sil
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140015c10
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call fcn.14001a104
int3
call fcn.14001a104
int3
Function at 0x1400456f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x1030]
mov eax, 0x1130
call fcn.1400168d0
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x1150], rbx
mov qword [rsp + 0x1158], rdi
mov rax, qword [0x14007a080]
xor rax, rsp
mov qword [rbp + 0x1020], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
movdqa xmm0, xmmword [0x14006f290]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdx + r8], 0
jne 0x140045756
lea rcx, [rsp + 0x50]
call fcn.1400104b0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14003b660
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400457b8
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400457b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400459b5
call fcn.140015c34
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x420]
call fcn.140017cb0
xor edx, edx
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
sub r9, r8
je 0x140045805
lea rcx, [rbp + 0x420]
lea rax, [rbp + 0x420]
sub r8, rax
nop
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
inc edx
lea rcx, [rcx + 1]
movsxd rax, edx
cmp rax, r9
jb 0x1400457f0
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x820]
call fcn.140017cb0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0xc20]
call fcn.140017cb0
mov word [rbp + 0x40e], 0x3939
mov dword [rbp + 0x3f0], 0x37383843
mov dword [rbp + 0x3ff], 0x42324436
mov dword [rbp + 0x3f5], 0x44433234
mov word [rbp + 0x408], 0x4342
mov dword [rbp + 0x403], 0x42413436
mov word [rbp + 0x3fc], 0x3945
mov word [rbp + 0x3f9], 0x4132
mov byte [rbp + 0x410], 0
mov byte [rbp + 0x3fb], 0x37
mov byte [rbp + 0x3f4], 0x44
mov word [rbp + 0x40b], 0x3836
mov byte [rbp + 0x40a], 0x46
mov byte [rbp + 0x407], 0x43
mov byte [rbp + 0x3fe], 0x46
mov byte [rbp + 0x40d], 0x46
lea r8, [rbp + 0x3f0]
mov edx, 0x400
lea rcx, [rbp + 0xc20]
call fcn.14001a254
lea rcx, [rsp + 0x70]
call fcn.1400459e0
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0xc20]
lea rcx, [rsp + 0x70]
call fcn.140045a00
mov r9, qword [rsp + 0x38]
sub r9, qword [rsp + 0x30]
lea r8, [rbp + 0x820]
lea rdx, [rbp + 0x420]
lea rcx, [rsp + 0x70]
call fcn.140045ea0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea rax, [rbp + 0x830]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140045934
mov r8, rbx
lea rdx, [rbp + 0x830]
mov rcx, rdi
call fcn.1400104b0
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140045988
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045983
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400459af
call fcn.140015c34
mov rax, rdi
mov rcx, qword [rbp + 0x1020]
xor rcx, rsp
call fcn.140015c10
lea r11, [rsp + 0x1130]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14001a104
nop
call fcn.14001a104
nop
int3
Function at 0x140045ea0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x40
cmp byte [rcx + 8], 0
mov r14, r9
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x140045fb5
test r9, r9
je 0x140045f92
movsxd rcx, dword [rcx + 0x3d0]
xor edx, edx
mov rax, r9
div rcx
test rdx, rdx
jne 0x140045f92
mov rax, r9
mov qword [rsp + 0x68], r15
div rcx
xor r15d, r15d
test rax, rax
je 0x140045f7f
mov qword [rsp + 0x60], rbp
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400501d0
cmp byte [rbx + 8], 0
mov rax, rdi
je 0x140045fd8
mov ecx, dword [rbx + 0x3d0]
xor edx, edx
test ecx, ecx
jle 0x140045f48
lea r8, [rbx + 0x3f8]
sub r8, rdi
movzx ecx, byte [r8 + rax]
inc edx
xor byte [rax], cl
lea rax, [rax + 1]
mov ecx, dword [rbx + 0x3d0]
cmp edx, ecx
jl 0x140045f31
movsxd r8, ecx
mov rdx, rsi
lea rcx, [rbx + 0x3f8]
call fcn.140017850
movsxd rcx, dword [rbx + 0x3d0]
xor edx, edx
mov rax, r14
inc r15d
div rcx
add rsi, rcx
add rdi, rcx
movsxd rcx, r15d
cmp rcx, rax
jb 0x140045f00
mov rbp, qword [rsp + 0x60]
mov r15, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
mov rdx, qword [0x14007c760]
lea rcx, [rsp + 0x20]
call fcn.140012040
lea rdx, [0x140078ed0]
lea rcx, [rsp + 0x20]
call fcn.140017754
int3
mov rdx, qword [0x14007c758]
lea rcx, [rsp + 0x20]
call fcn.140012040
lea rdx, [0x140078ed0]
lea rcx, [rsp + 0x20]
call fcn.140017754
int3
mov rdx, qword [0x14007c758]
lea rcx, [rsp + 0x20]
call fcn.140012040
lea rdx, [0x140078ed0]
lea rcx, [rsp + 0x20]
call fcn.140017754
int3

Function at 0x140047de0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov ebp, r8d
mov rdi, rcx
xor eax, eax
mov rdx, rcx
nop dword [rax]
nop word [rax + rax]
mov byte [rdx], al
lea rdx, [rdx + 1]
inc eax
cmp eax, 0x100
jl 0x140047e10
xor r11d, r11d
movzx esi, bpl
xor r8b, r8b
lea r14, [rcx + 0xff]
mov r10d, 0xff
lea r15, str.uwdiejeikaxrmaetzvhwgc
nop dword [rax]
xor ebx, ebx
mov r9d, 1
cmp r10d, r9d
jbe 0x140047e60
nop dword [rax]
lea r9d, [r9*2 + 1]
cmp r9d, r10d
jb 0x140047e50
nop dword [rax]
movzx ecx, r8b
lea eax, [r11 + 1]
movzx r8d, byte [rcx + rdi]
add r8b, byte [r11 + r15]
cmp eax, esi
jb 0x140047e78
add r8b, bpl
xor r11d, r11d
cmp eax, esi
cmovb r11d, eax
movzx eax, r8b
and eax, r9d
inc ebx
cmp ebx, 0xb
jbe 0x140047e96
xor edx, edx
div r10d
mov eax, edx
cmp eax, r10d
ja 0x140047e60
movzx edx, byte [r14]
movzx ecx, al
movzx eax, byte [rcx + rdi]
mov byte [r14], al
dec r14
mov byte [rcx + rdi], dl
sub r10d, 1
jne 0x140047e40
movzx eax, byte [rdi + 1]
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov byte [rdi + 0x100], al
movzx eax, byte [rdi + 3]
mov byte [rdi + 0x101], al
movzx eax, byte [rdi + 5]
mov byte [rdi + 0x102], al
movzx eax, byte [rdi + 7]
mov byte [rdi + 0x103], al
movzx eax, r8b
movzx ecx, byte [rax + rdi]
mov rax, rdi
mov byte [rdi + 0x104], cl
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
Function at 0x1400500d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r8, rcx
mov eax, 0xffffffff
movzx ecx, byte [rcx]
test cl, cl
je 0x14005017c
movzx edx, cl
lea r8, [r8 + 1]
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
movzx ecx, byte [r8]
test cl, cl
jne 0x1400500e3
not eax
ret
Function at 0x140008d90
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x14007d040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov rcx, qword [rcx + 0x128]
call fcn.1400020d8
xor edi, edi
mov rsi, rax
test rax, rax
je 0x140008ee1
mov ebp, 0x105
lea r14, [rbx + 0x1c]
mov r8d, ebp
mov qword [rsp + 0x20], rbp
mov rdx, r14
lea r9, [rax + 0x2c]
lea rcx, [rsp + 0x30]
call fcn.140039df4
test eax, eax
je 0x140008e1e
lea r9, [rsi + 0x234]
cmp word [r9], di
je 0x140008e16
mov r8d, ebp
mov qword [rsp + 0x20], rbp
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140039df4
test eax, eax
jne 0x140008ebe
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rbx + 0x10], rax
mov eax, dword [rsi]
test al, 0x40
je 0x140008e39
mov dword [rbx + 0x18], 0x2000
jmp 0x140008e5b
bt eax, 0xa
jae 0x140008e48
mov dword [rbx + 0x18], 0xc000
jmp 0x140008e5b
and al, 0x10
neg al
sbb eax, eax
and eax, 0xffffc000
add eax, 0x8000
mov dword [rbx + 0x18], eax
mov rcx, qword [rbx + 0x128]
call fcn.1400020d8
test rax, rax
je 0x140008eb0
add rax, 0x2c
mov ecx, 0x1505
lea rdx, [rax + 0x208]
jmp 0x140008e91
movzx r8d, word [rax]
add rax, 2
test r8d, r8d
je 0x140008e96
imul ecx, ecx, 0x21
add ecx, r8d
cmp rax, rdx
jne 0x140008e7e
btr ecx, 0x1f
mov dword [rbx + 4], ecx
mov rax, qword [rbx + 0x128]
mov dword [rax + 0x478], 1
jmp 0x140008eb7
mov dword [rbx + 4], 0x7fffffff
mov eax, 0x128
jmp 0x140008ed8
or dword [rbx + 4], 0xffffffff
movzx eax, di
mov byte [r14], 0x3f
mov byte [rbx + 0x1d], dil
mov qword [rbx + 0x10], 1
mov dword [rbx + 0x18], edi
mov dword [rbx], edi
mov rdi, rbx
mov word [rbx + 8], ax
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14002ed30
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rdx + 0x18], 0xf
mov rbx, rdx
mov rcx, rdx
jbe 0x14000928a
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000929e
test al, 0x10
je 0x14000929e
mov dil, 1
jmp 0x1400092a1
xor dil, dil
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400092d7
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400092d2
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400092f5
mov rcx, r8
call fcn.14002ed50
and qword [rbx + 0x10], 0
mov al, dil
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.14003a92c
int3
Function at 0x1400098d8
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14007d040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov qword [rsp + 0x48], rdx
mov r8, rdx
lea rdx, [rsp + 0x28]
call fcn.140009828
cmp qword [rax + 0x18], 7
jbe 0x140009910
mov rax, qword [rax]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140009931
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140009931
xor dil, dil
jmp 0x140009934
mov dil, 1
lea rcx, [rsp + 0x28]
call fcn.140008950
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140009975
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140009970
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400099a0
mov rcx, r8
call fcn.14002ed50
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov al, dil
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14002ed30
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
call fcn.14003a92c
int3
Function at 0x14000d2f0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000d310
xor eax, eax
jmp 0x14000d3f6
cmp qword [rcx + 0x68], 0
je 0x14000d321
call fcn.14000dba0
jmp 0x14000d3f6
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000d338
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000d33a
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000d36c
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14005a070
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000d3f0
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000d3a3
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14000d3cc
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14003a4c0
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x14000d3f0
cmp rdi, rbx
ja 0x14000d3aa
test rdi, rdi
je 0x14000d3f0
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call fcn.14003a4c0
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000fe1c
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x14007d040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rdx
mov qword [rbp - 0x31], rdx
mov dword [rbp - 9], 0x40
lea rcx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov r8, qword [rbp - 1]
shr r8, 0x14
lea r9, [rbp + 0x4c]
dec r9
movabs rax, 0xcccccccccccccccd
mul r8
shr rdx, 3
mov al, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x14000fe60
lea r8, [rbp + 0x4c]
mov rdx, r9
lea rcx, [rbp - 0x29]
call fcn.14001b588
nop
mov r9d, 5
lea r8, str.RAM:
lea rcx, [rbp - 0x29]
call fcn.14001b3d4
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x49], xmm1
and qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 4
lea rdx, str._MB_n
lea rcx, [rbp - 0x59]
call fcn.1400042b0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
and qword [rbx + 0x10], 0
and qword [rbx + 0x18], 0
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
and qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x14000ff60
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ff5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ffce
call fcn.14002ed50
movdqa xmm0, xmmword [0x140071730]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x14000ffa8
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ffa3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ffc8
call fcn.14002ed50
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14002ed30
mov rbx, qword [rsp + 0xe0]
add rsp, 0xd0
pop rbp
ret
call fcn.14003a92c
nop
call fcn.14003a92c
nop