joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002cf0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [fcn.140083bc0]
xor ebx, ebx
mov r12, rcx
mov rdi, rdx
test rdx, rdx
jle 0x140002d32
nop
mov rsi, qword [r12 + rbx*8]
mov ecx, 1
add rbx, 1
call rbp
xor r8d, r8d
mov rcx, rax
mov rdx, rsi
call fcn.140002ac0
cmp rbx, rdi
jne 0x140002d10
mov ecx, 1
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x1400861bc]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rbp
mov rcx, rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sub.msvcrt.dll_fflush

Function at 0x140002f50
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
xor ebx, ebx
mov rbp, rcx
mov ecx, 0xfa0
call fcn.14000bd10
mov rdi, rax
lea r12, [rax + 0x10]
test rax, rax
je 0x140003035
nop dword [rax]
mov rdx, qword [rdi]
test rdx, rdx
jg 0x140002f93
sub rdx, 1
xor ecx, ecx
call fcn.14000d4c0
mov r9, rbp
mov r8d, 0xfa0
mov edx, 1
mov rcx, r12
call sub.msvcrt.dll_fread
mov rsi, rax
cmp rax, 0xfa0
je 0x140003070
mov rcx, rbp
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x1400030d1
test rsi, rsi
js 0x1400030b8
mov rdx, rsi
mov rcx, rdi
call fcn.14000c400
mov rsi, rax
test rax, rax
je 0x1400030a0
mov rdx, qword [rax]
mov rcx, rbx
call fcn.14000c960
lea rdx, [rsi + 0x10]
mov rbx, rax
mov rax, qword [rax]
lea rcx, [rbx + rax + 0x10]
mov rax, qword [rsi]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [rsi]
add qword [rbx], rax
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, rbx
xor edx, edx
call fcn.14000c960
mov rbx, rax
mov rdx, 0xffffffffffffffff
xor ecx, ecx
call fcn.14000d4c0
mov r9, rbp
mov r8d, 0xfa0
mov edx, 1
mov ecx, 0x10
call sub.msvcrt.dll_fread
mov rsi, rax
cmp rax, 0xfa0
jne 0x140002fb8
jmp 0x140003028
mov rdx, qword [rdi]
mov rcx, rbx
call fcn.14000c960
mov r8, qword [rdi]
mov rdx, r12
mov rbx, rax
mov rax, qword [rax]
add r8, 1
lea rcx, [rbx + rax + 0x10]
call sub.msvcrt.dll_memcpy
mov rax, qword [rdi]
add qword [rbx], rax
jmp 0x140002f80
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14000c960
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rsi
call fcn.14000d320
jmp 0x140002fd1
mov rcx, rbp
call fcn.140002940
nop
nop word [rax + rax]
Function at 0x1400030e0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdi, rcx
mov rsi, rdx
test rdx, rdx
js 0x140003220
mov rcx, rsi
call fcn.14000bd10
mov rbx, rax
test rax, rax
je 0x140003248
mov rdx, qword [rax]
test rdx, rdx
jle 0x140003190
test rsi, rsi
js 0x1400031a4
lea rcx, [rbx + 0x10]
mov r9, rdi
mov r8, rsi
mov edx, 1
call sub.msvcrt.dll_fread
mov rcx, rdi
mov rbp, rax
cmp rsi, rax
je 0x1400031c0
call sub.msvcrt.dll_ferror
mov rcx, rdi
test eax, eax
jne 0x140003289
call sub.msvcrt.dll_fgetc
mov rdx, rdi
mov r12d, eax
mov ecx, eax
call sub.msvcrt.dll_ungetc
test r12d, r12d
jns 0x1400031d5
cmp rsi, rbp
jle 0x140003211
test rbp, rbp
js 0x140003270
mov rdx, rbp
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14000c400
sub rdx, 1
xor ecx, ecx
call fcn.14000d4c0
test rsi, rsi
jns 0x14000311e
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rsi
call fcn.14000d320
jmp 0x14000311e
call sub.msvcrt.dll_fgetc
mov rdx, rdi
mov esi, eax
mov ecx, eax
call sub.msvcrt.dll_ungetc
test esi, esi
js 0x140003211
mov rcx, rdi
call fcn.140002f50
mov rsi, rax
test rax, rax
je 0x140003258
mov rdx, qword [rax]
mov rcx, rbx
call fcn.14000c960
lea rdx, [rsi + 0x10]
mov rbx, rax
mov rax, qword [rax]
lea rcx, [rbx + rax + 0x10]
mov rax, qword [rsi]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [rsi]
add qword [rbx], rax
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rsi
call fcn.14000d320
mov rcx, rsi
call fcn.14000bd10
mov rbx, rax
test rax, rax
jne 0x14000310d
mov rdx, 0xffffffffffffffff
jmp 0x140003194
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14000c960
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbp
call fcn.14000d320
jmp 0x14000317a
call fcn.140002940
nop
nop
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
xor ecx, ecx
call qword [fcn.140083bc0]
cmp rbx, rax
je 0x1400032e3
mov rsi, qword [0x140085170]
mov rcx, rbx
call rsi
xor edx, edx
mov r8d, 2
mov rcx, rbx
mov rdi, rax
mov rbp, qword [0x140085178]
call rbp
mov rcx, rbx
call rsi
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call rbp
test rsi, rsi
jg 0x1400032f8
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140002f50
mov rdx, rsi
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400030e0
Function at 0x140003290
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdi, rcx
mov rsi, rdx
test rdx, rdx
js 0x140003220
mov rcx, rsi
call fcn.14000bd10
mov rbx, rax
test rax, rax
je 0x140003248
mov rdx, qword [rax]
test rdx, rdx
jle 0x140003190
test rsi, rsi
js 0x1400031a4
lea rcx, [rbx + 0x10]
mov r9, rdi
mov r8, rsi
mov edx, 1
call sub.msvcrt.dll_fread
mov rcx, rdi
mov rbp, rax
cmp rsi, rax
je 0x1400031c0
call sub.msvcrt.dll_ferror
mov rcx, rdi
test eax, eax
jne 0x140003289
call sub.msvcrt.dll_fgetc
mov rdx, rdi
mov r12d, eax
mov ecx, eax
call sub.msvcrt.dll_ungetc
test r12d, r12d
jns 0x1400031d5
cmp rsi, rbp
jle 0x140003211
test rbp, rbp
js 0x140003270
mov rdx, rbp
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14000c400
sub rdx, 1
xor ecx, ecx
call fcn.14000d4c0
test rsi, rsi
jns 0x14000311e
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rsi
call fcn.14000d320
jmp 0x14000311e
call sub.msvcrt.dll_fgetc
mov rdx, rdi
mov esi, eax
mov ecx, eax
call sub.msvcrt.dll_ungetc
test esi, esi
js 0x140003211
mov rcx, rdi
call fcn.140002f50
mov rsi, rax
test rax, rax
je 0x140003258
mov rdx, qword [rax]
mov rcx, rbx
call fcn.14000c960
lea rdx, [rsi + 0x10]
mov rbx, rax
mov rax, qword [rax]
lea rcx, [rbx + rax + 0x10]
mov rax, qword [rsi]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [rsi]
add qword [rbx], rax
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rsi
call fcn.14000d320
mov rcx, rsi
call fcn.14000bd10
mov rbx, rax
test rax, rax
jne 0x14000310d
mov rdx, 0xffffffffffffffff
jmp 0x140003194
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14000c960
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbp
call fcn.14000d320
jmp 0x14000317a
call fcn.140002940
nop
nop
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
xor ecx, ecx
call qword [fcn.140083bc0]
cmp rbx, rax
je 0x1400032e3
mov rsi, qword [0x140085170]
mov rcx, rbx
call rsi
xor edx, edx
mov r8d, 2
mov rcx, rbx
mov rdi, rax
mov rbp, qword [0x140085178]
call rbp
mov rcx, rbx
call rsi
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call rbp
test rsi, rsi
jg 0x1400032f8
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140002f50
mov rdx, rsi
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400030e0
Function at 0x140003cc0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x140003cdf
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sub.msvcrt.dll_fflush

Function at 0x140003d90
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.140083bc0]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
ret

Function at 0x140011d80
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
test rcx, rcx
je 0x140011ddb
mov r9, qword [rcx]
add rcx, 0x10
xor eax, eax
lea r8, [rcx + r9]
test r9, r9
jle 0x140011ddb
nop dword [rax]
movzx edx, byte [rcx]
add rcx, 1
add rdx, rax
mov rax, rdx
shl rax, 0xa
add rax, rdx
mov rdx, rax
shr rdx, 6
xor rax, rdx
cmp r8, rcx
jne 0x140011da0
lea rdx, [rax + rax*8]
mov rax, rdx
shr rax, 0xb
xor rax, rdx
mov rdx, rax
shl rdx, 0xf
add rdx, rax
mov rax, rdx
ret
Function at 0x1400138c0
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rsi, rdx
cmp rdx, 3
jle 0x140013a60
sar rdx, 0x3f
mov rdi, rsi
shr rdx, 0x3e
lea rax, [rsi + rdx]
and eax, 3
sub rax, rdx
mov rdx, rsi
sub rdi, rax
cmp rdi, rsi
cmovle rdx, rdi
xor r13d, r13d
xor r12d, r12d
mov eax, dword [rbx + r13]
add r13, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r12d
rol eax, 0xd
lea r12d, [rax + rax*4 - 0x19ab949c]
cmp r13, rdx
jl 0x140013908
lea rbp, [rsi - 1]
cmp rdi, r13
jle 0x140013975
nop dword [rax + rax]
mov rcx, r13
mov rdx, rbp
call fcn.14000d4c0
mov eax, dword [rbx + r13]
add r13, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r12d
rol eax, 0xd
lea r12d, [rax + rax*4 - 0x19ab949c]
cmp rdi, r13
jg 0x140013940
lea rax, [rdi - 1]
shr rax, 2
test rdi, rdi
lea r13, [rax*4 + 4]
mov eax, 4
cmovle r13, rax
mov rax, rsi
xor r14d, r14d
sar rax, 0x3f
shr rax, 0x3e
lea rdi, [rsi + rax]
and edi, 3
sub rdi, rax
test rdi, rdi
jle 0x140013a18
lea r15, [rsi - 1]
jmp 0x1400139cd
cmp rbp, rsi
jge 0x1400139eb
movzx eax, byte [rbx + rbp]
shl r14d, 8
or r14d, eax
test rdi, rdi
je 0x140013a06
sub rdi, 1
mov rbp, r13
add rbp, rdi
js 0x140013a6b
cmp rbp, rdi
jb 0x140013a6b
test rbp, rbp
jns 0x1400139b8
mov rdx, r15
mov rcx, rbp
shl r14d, 8
call fcn.14000d4c0
movzx eax, byte [rbx + rbp]
or r14d, eax
test rdi, rdi
jne 0x1400139cd
imul r14d, r14d, 0xcc9e2d51
rol r14d, 0xf
imul r14d, r14d, 0x1b873593
xor r12d, esi
mov eax, r12d
xor eax, r14d
mov r12d, eax
shr r12d, 0x10
xor r12d, eax
imul r12d, r12d, 0x85ebca6b
mov edx, r12d
shr edx, 0xd
xor edx, r12d
imul edx, edx, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor r13d, r13d
xor r12d, r12d
jmp 0x140013991
call fcn.140008dc0
jmp 0x1400139e6
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
test rcx, rcx
je 0x140013a9b
mov rdx, qword [rcx]
test rdx, rdx
js 0x140013ab0
add rbx, 0x10
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400138c0
lea rax, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, rax
call fcn.140010290
mov rdx, qword [rbx]
jmp 0x140013a97
Function at 0x140013a80
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rsi, rdx
cmp rdx, 3
jle 0x140013a60
sar rdx, 0x3f
mov rdi, rsi
shr rdx, 0x3e
lea rax, [rsi + rdx]
and eax, 3
sub rax, rdx
mov rdx, rsi
sub rdi, rax
cmp rdi, rsi
cmovle rdx, rdi
xor r13d, r13d
xor r12d, r12d
mov eax, dword [rbx + r13]
add r13, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r12d
rol eax, 0xd
lea r12d, [rax + rax*4 - 0x19ab949c]
cmp r13, rdx
jl 0x140013908
lea rbp, [rsi - 1]
cmp rdi, r13
jle 0x140013975
nop dword [rax + rax]
mov rcx, r13
mov rdx, rbp
call fcn.14000d4c0
mov eax, dword [rbx + r13]
add r13, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r12d
rol eax, 0xd
lea r12d, [rax + rax*4 - 0x19ab949c]
cmp rdi, r13
jg 0x140013940
lea rax, [rdi - 1]
shr rax, 2
test rdi, rdi
lea r13, [rax*4 + 4]
mov eax, 4
cmovle r13, rax
mov rax, rsi
xor r14d, r14d
sar rax, 0x3f
shr rax, 0x3e
lea rdi, [rsi + rax]
and edi, 3
sub rdi, rax
test rdi, rdi
jle 0x140013a18
lea r15, [rsi - 1]
jmp 0x1400139cd
cmp rbp, rsi
jge 0x1400139eb
movzx eax, byte [rbx + rbp]
shl r14d, 8
or r14d, eax
test rdi, rdi
je 0x140013a06
sub rdi, 1
mov rbp, r13
add rbp, rdi
js 0x140013a6b
cmp rbp, rdi
jb 0x140013a6b
test rbp, rbp
jns 0x1400139b8
mov rdx, r15
mov rcx, rbp
shl r14d, 8
call fcn.14000d4c0
movzx eax, byte [rbx + rbp]
or r14d, eax
test rdi, rdi
jne 0x1400139cd
imul r14d, r14d, 0xcc9e2d51
rol r14d, 0xf
imul r14d, r14d, 0x1b873593
xor r12d, esi
mov eax, r12d
xor eax, r14d
mov r12d, eax
shr r12d, 0x10
xor r12d, eax
imul r12d, r12d, 0x85ebca6b
mov edx, r12d
shr edx, 0xd
xor edx, r12d
imul edx, edx, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor r13d, r13d
xor r12d, r12d
jmp 0x140013991
call fcn.140008dc0
jmp 0x1400139e6
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
test rcx, rcx
je 0x140013a9b
mov rdx, qword [rcx]
test rdx, rdx
js 0x140013ab0
add rbx, 0x10
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400138c0
lea rax, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, rax
call fcn.140010290
mov rdx, qword [rbx]
jmp 0x140013a97
Function at 0x140026b90
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [rcx]
mov rdi, qword [rcx + 8]
mov rbx, rsi
cmp rdi, rsi
jge 0x140026bb2
lea rcx, [0x14008b820]
call fcn.140001d60
sub rdi, rsi
mov r8, rdi
je 0x140026c19
mov r9, qword [0x1400c9fc0]
mov rcx, qword [0x1400c9fc8]
cmp rdi, 0xffffffffffffffff
je 0x140026c28
mov rax, 0xffffffffffffffff
xor edx, edx
div rdi
lea rax, [rcx + r9]
xor rcx, r9
ror r9, 9
mov rdi, rdx
mov r10, rcx
xor r9, rcx
ror rcx, 0x1c
shl r10, 0xe
xor r9, r10
add rdi, rax
jb 0x140026bda
add r8, 1
xor edx, edx
mov qword [0x1400c9fc0], r9
div r8
mov qword [0x1400c9fc8], rcx
lea rbx, [rdx + rsi]
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov rax, r9
mov rdx, r9
add r9, rcx
xor rax, rcx
ror rdx, 9
lea rbx, [r9 + rsi]
mov r8, rax
xor rdx, rax
ror rax, 0x1c
shl r8, 0xe
mov qword [0x1400c9fc8], rax
mov rax, rbx
xor rdx, r8
mov qword [0x1400c9fc0], rdx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x140048490
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rbx
test rdx, rdx
mov eax, r8d
lea r8, [rdx + 7]
mov r9, rcx
cmovns r8, rdx
mov r10, rdx
xor r11d, r11d
lea rcx, [0x14008ff20]
sar r8, 3
cmp rdx, 7
jle 0x140048578
nop
mov ebx, dword [r9 + r11*8 + 4]
xor eax, dword [r9 + r11*8]
add r11, 1
mov esi, ebx
movzx edx, bl
shr esi, 0x18
mov edx, dword [rcx + rdx*4 + 0xc00]
xor edx, dword [rcx + rsi*4]
movzx esi, al
xor edx, dword [rcx + rsi*4 + 0x1c00]
mov esi, eax
shr esi, 0x18
xor edx, dword [rcx + rsi*4 + 0x1000]
movzx esi, bh
shr ebx, 0x10
movzx ebx, bl
mov esi, esi
xor edx, dword [rcx + rsi*4 + 0x800]
xor edx, dword [rcx + rbx*4 + 0x400]
movzx ebx, ah
shr eax, 0x10
movzx eax, al
mov ebx, ebx
xor edx, dword [rcx + rbx*4 + 0x1800]
xor edx, dword [rcx + rax*4 + 0x1400]
mov eax, edx
cmp r8, r11
jg 0x1400484c0
shl r8, 3
mov edx, 8
cmp r10, 7
cmovle r8, rdx
cmp r10, r8
jle 0x140048570
add r8, r9
lea rcx, [0x14008ff20]
add r9, r10
nop dword [rax]
movzx edx, byte [r8]
add r8, 1
xor edx, eax
shr eax, 8
movzx edx, dl
xor eax, dword [rcx + rdx*4]
cmp r9, r8
jne 0x140048558
pop rbx
pop rsi
ret
xor r8d, r8d
jmp 0x14004853f
Function at 0x1400647b0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
movups xmmword [rsp], xmm6
movups xmmword [rsp + 0x10], xmm7
movups xmmword [rsp + 0x20], xmm8
movdqu xmm6, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm5, xmmword [rcx + 0x30]
movd xmm0, r8d
lea rax, [rdx - 0x40]
pxor xmm0, xmm6
cmp rax, 0x3f
jle 0x1400649f0
lea r8, [rdx - 0x80]
movdqu xmm4, xmmword [0x1400a4f20]
lea rax, [rcx + 0x40]
mov rdx, r8
and rdx, 0xffffffffffffffc0
lea rdx, [rcx + rdx + 0x80]
nop dword [rax]
movdqu xmm7, xmm3
movdqu xmm6, xmm2
movdqu xmm1, xmm5
add rax, 0x40
movdqu xmm8, xmm0
pclmulqdq xmm7, xmm4, 0
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm8, xmm4, 0
pclmulqdq xmm5, xmm4, 0x11
pclmulqdq xmm1, xmm4, 0
pclmulqdq xmm0, xmm4, 0x11
pclmulqdq xmm3, xmm4, 0x11
pclmulqdq xmm2, xmm4, 0x11
pxor xmm0, xmm8
pxor xmm3, xmm7
pxor xmm2, xmm6
movdqu xmm8, xmmword [rax - 0x40]
pxor xmm1, xmm5
movdqu xmm7, xmmword [rax - 0x30]
movdqu xmm6, xmmword [rax - 0x20]
movdqu xmm5, xmmword [rax - 0x10]
pxor xmm0, xmm8
pxor xmm3, xmm7
pxor xmm2, xmm6
pxor xmm5, xmm1
cmp rax, rdx
jne 0x140064810
mov rax, r8
shr rax, 6
lea rdx, [rax + 2]
shl rax, 6
mov r9, rax
mov rax, r8
shl rdx, 6
sub rax, r9
movdqu xmm1, xmmword [0x1400a4f10]
movdqu xmm4, xmm0
pclmulqdq xmm4, xmm1, 0
pclmulqdq xmm0, xmm1, 0x11
pxor xmm0, xmm4
pxor xmm3, xmm0
movdqu xmm0, xmm3
pclmulqdq xmm3, xmm1, 0x11
pclmulqdq xmm0, xmm1, 0
pxor xmm3, xmm0
pxor xmm2, xmm3
movdqu xmm3, xmm2
pclmulqdq xmm2, xmm1, 0x11
pclmulqdq xmm3, xmm1, 0
movdqu xmm0, xmm2
pxor xmm0, xmm3
pxor xmm0, xmm5
cmp rax, 0xf
jle 0x140064971
movdqu xmm2, xmm0
movdqu xmm7, xmmword [rcx + rdx]
pclmulqdq xmm0, xmm1, 0x11
pclmulqdq xmm2, xmm1, 0
pxor xmm0, xmm2
pxor xmm0, xmm7
cmp rax, 0x1f
jle 0x140064971
movdqu xmm2, xmm0
movdqu xmm7, xmmword [rcx + rdx + 0x10]
pclmulqdq xmm0, xmm1, 0x11
pclmulqdq xmm2, xmm1, 0
pxor xmm0, xmm2
pxor xmm0, xmm7
cmp rax, 0x2f
jle 0x140064971
movdqu xmm2, xmm0
movdqu xmm3, xmmword [rcx + rdx + 0x20]
pclmulqdq xmm0, xmm1, 0x11
pclmulqdq xmm2, xmm1, 0
pxor xmm0, xmm2
pxor xmm0, xmm3
movdqu xmm2, xmm0
psrldq xmm0, 8
movups xmm6, xmmword [rsp]
movdqu xmm3, xmmword [0x1400a4f50]
pclmulqdq xmm2, xmm1, 0x10
movups xmm7, xmmword [rsp + 0x10]
movups xmm8, xmmword [rsp + 0x20]
pxor xmm2, xmm0
movdqu xmm1, xmm2
movdqu xmm0, xmm2
movdqu xmm2, xmmword [0x1400a4f30]
psrldq xmm0, 4
pand xmm1, xmm2
pclmulqdq xmm1, xmmword [0x1400a4f40], 0
pxor xmm1, xmm0
movdqu xmm0, xmm1
pand xmm0, xmm2
pclmulqdq xmm0, xmm3, 0x10
pand xmm0, xmm2
pclmulqdq xmm0, xmm3, 0
pxor xmm0, xmm1
pextrd eax, xmm0, 1
add rsp, 0x38
ret
mov edx, 0x40
jmp 0x1400648b2
Function at 0x140064a00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rbx
test rdx, rdx
mov eax, r8d
lea r8, [rdx + 7]
mov r9, rcx
cmovns r8, rdx
mov r10, rdx
xor r11d, r11d
lea rcx, [0x1400a4f60]
sar r8, 3
cmp rdx, 7
jle 0x140064ae8
nop
mov ebx, dword [r9 + r11*8 + 4]
xor eax, dword [r9 + r11*8]
add r11, 1
mov esi, ebx
movzx edx, bl
shr esi, 0x18
mov edx, dword [rcx + rdx*4 + 0xc00]
xor edx, dword [rcx + rsi*4]
movzx esi, al
xor edx, dword [rcx + rsi*4 + 0x1c00]
mov esi, eax
shr esi, 0x18
xor edx, dword [rcx + rsi*4 + 0x1000]
movzx esi, bh
shr ebx, 0x10
movzx ebx, bl
mov esi, esi
xor edx, dword [rcx + rsi*4 + 0x800]
xor edx, dword [rcx + rbx*4 + 0x400]
movzx ebx, ah
shr eax, 0x10
movzx eax, al
mov ebx, ebx
xor edx, dword [rcx + rbx*4 + 0x1800]
xor edx, dword [rcx + rax*4 + 0x1400]
mov eax, edx
cmp r8, r11
jg 0x140064a30
shl r8, 3
mov edx, 8
cmp r10, 7
cmovle r8, rdx
cmp r10, r8
jle 0x140064ae0
add r8, r9
lea rcx, [0x1400a4f60]
add r9, r10
nop dword [rax]
movzx edx, byte [r8]
add r8, 1
xor edx, eax
shr eax, 8
movzx edx, dl
xor eax, dword [rcx + rdx*4]
cmp r9, r8
jne 0x140064ac8
pop rbx
pop rsi
ret
xor r8d, r8d
jmp 0x140064aaf
Function at 0x140079b40
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140083bc0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140083bc0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140079bb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400d3e54]
mov rbx, rcx
test esi, esi
jle 0x140079ce0
mov rax, qword [0x1400d3e58]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140079bfb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140079c85
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140079be0
mov rcx, rbx
call fcn.14007a600
mov rdi, rax
test rax, rax
je 0x140079d02
mov rax, qword [0x1400d3e58]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14007a740
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400d3e58]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140079ce7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140079c7e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140079c90
add dword [0x1400d3e54], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400d3e58]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140079c7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140079b40
nop dword [rax]
xor esi, esi
jmp 0x140079c08
mov rax, qword [0x1400d3e58]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140079b40
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140079b40
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14007a270
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400d3ec0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400d3ea0]
test rbx, rbx
je 0x14007a2cc
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 eax, eax
jne 0x14007a2c3
test rsi, rsi
je 0x14007a2c3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14007a2a8
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 0x14007a600
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400adfa0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14007a620
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14007a628
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14007a620
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14007a67d
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]
mov rdx, r8
cmp rcx, r8
jb 0x14007a674
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14007a620
add rax, 0x28
cmp rax, r9
jne 0x14007a660
xor eax, eax
ret

Function at 0x14007a680
Capabilities:
Parse pe header

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

Function at 0x14007a740
Capabilities:
Parse pe header

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