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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
lea rax, [0x2d93da1a0]
mov rdi, rcx
mov rsi, rdx
lea rcx, [rsp + 0x20]
mov edx, 0xfa0
mov qword [rsp + 0x38], rax
lea r12, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
call fcn.2d934c1e0
mov rax, qword [rsp + 0x20]
mov rbp, qword [0x2d9401050]
mov qword [rsp + 0x40], rax
mov rbx, rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
test rbx, rbx
jle 0x2d9343b60
nop word [rax + rax]
mov rax, qword [rsp + 0x48]
mov r9, rsi
mov r8d, 0xfa0
mov edx, 1
lea rcx, [rax + 8]
call sub.msvcrt.dll_fread
mov rbx, rax
cmp rax, 0xfa0
je 0x2d9343af0
mov rcx, rsi
call sub.msvcrt.dll_ferror
test eax, eax
je 0x2d9343a47
mov rcx, rsi
call fcn.2d93431f0
cmp byte [rbp], 0
jne 0x2d9343bb0
test rbx, rbx
js 0x2d9343b98
lea rsi, [rsp + 0x40]
mov rdx, rbx
mov rcx, rsi
call fcn.2d93475d0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.2d9347380
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jle 0x2d9343acc
mov rcx, rbx
mov rax, qword [rsp + 0x48]
add rcx, 1
jo 0x2d9343bba
test rcx, rcx
js 0x2d9343bc4
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
lea r9, [r8 + rdx + 8]
mov r8, rcx
lea rdx, [rax + 8]
mov rcx, r9
call fcn.2d93d8588
add rbx, qword [rsp + 0x30]
jo 0x2d9343bba
mov qword [rsp + 0x30], rbx
mov rcx, rsi
call fcn.2d93464c0
movdqu xmm0, xmmword [rsp + 0x30]
mov rax, rdi
movups xmmword [rdi], xmm0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp byte [rbp], 0
jne 0x2d9343bb0
mov rdx, qword [rsp + 0x40]
mov rcx, r12
call fcn.2d9347380
mov rbx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
test rbx, rbx
jle 0x2d9343b60
mov rcx, rbx
add rcx, 1
jo 0x2d9343b75
test rcx, rcx
js 0x2d9343b80
mov r8, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
add rdx, 8
lea rax, [r8 + rax + 8]
mov r8, rcx
mov rcx, rax
call fcn.2d93d8588
add rbx, qword [rsp + 0x30]
jo 0x2d9343b75
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jg 0x2d9343a08
nop dword [rax]
lea rdx, [rbx - 1]
xor ecx, ecx
lea rsi, [rsp + 0x40]
call fcn.2d934b440
jmp 0x2d9343acc
call fcn.2d9346660
jmp 0x2d9343b4e
movabs r8, 0x7fffffffffffffff
xor edx, edx
call fcn.2d9346cf0
jmp 0x2d9343b4e
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.2d9346cf0
nop dword [rax]
lea rsi, [rsp + 0x40]
jmp 0x2d9343acc
call fcn.2d9346660
jmp 0x2d9343acc
movabs r8, 0x7fffffffffffffff
xor edx, edx
call fcn.2d9346cf0
jmp 0x2d9343acc
Function at 0x2d9343be0
Capabilities:
Read file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov qword [rsp + 0x30], 0
mov rdi, rcx
mov rsi, rdx
mov rbx, r8
mov qword [rsp + 0x38], 0
test r8, r8
js 0x2d9343ce0
lea r13, [rsp + 0x20]
mov rdx, r8
mov rcx, r13
call fcn.2d934c1e0
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rdx, rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
test rdx, rdx
jle 0x2d9343d40
mov rax, qword [rsp + 0x38]
mov r9, rsi
mov r8, rbx
mov edx, 1
lea rcx, [rax + 8]
call sub.msvcrt.dll_fread
mov rbp, rax
cmp rbx, rax
je 0x2d9343c73
mov rcx, rsi
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x2d9343d00
mov r14, qword [0x2d9401050]
cmp byte [r14], 0
jne 0x2d9343cbb
mov rcx, rsi
call sub.msvcrt.dll_fgetc
mov rdx, rsi
mov ecx, eax
mov r12d, eax
call sub.msvcrt.dll_ungetc
cmp byte [r14], 0
jne 0x2d9343cbb
test r12d, r12d
jns 0x2d9343d50
cmp rbx, rbp
jle 0x2d9343cbb
test rbp, rbp
js 0x2d9343d20
lea rcx, [rsp + 0x30]
mov rdx, rbp
call fcn.2d93475d0
movdqu xmm0, xmmword [rsp + 0x30]
mov rax, rdi
movups xmmword [rdi], xmm0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.2d9346cf0
jmp 0x2d9343cbb
mov rcx, rsi
call fcn.2d93431f0
mov r14, qword [0x2d9401050]
cmp byte [r14], 0
je 0x2d9343c80
jmp 0x2d9343cbb
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbp
call fcn.2d9346cf0
jmp 0x2d9343cbb
sub rdx, 1
xor ecx, ecx
call fcn.2d934b440
jmp 0x2d9343cbb
mov qword [rsp + 0x40], 0
mov rdx, rsi
mov rcx, r13
mov qword [rsp + 0x48], 0
call fcn.2d9343990
movdqu xmm1, xmmword [rsp + 0x20]
cmp byte [r14], 0
movups xmmword [rsp + 0x40], xmm1
jne 0x2d9343dd4
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.2d9347380
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jle 0x2d9343dd4
mov rcx, rbx
mov rdx, qword [rsp + 0x48]
add rcx, 1
jo 0x2d9343de3
test rcx, rcx
js 0x2d9343df0
mov r8, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
add rdx, 8
lea rax, [r8 + rax + 8]
mov r8, rcx
mov rcx, rax
call fcn.2d93d8588
add rbx, qword [rsp + 0x30]
jo 0x2d9343de3
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x40]
call fcn.2d93464c0
jmp 0x2d9343cbb
call fcn.2d9346660
jmp 0x2d9343dd4
movabs r8, 0x7fffffffffffffff
xor edx, edx
call fcn.2d9346cf0
jmp 0x2d9343dd4
Function at 0x2d9344150
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rax, [0x2d93da17b]
pxor xmm0, xmm0
mov rbp, qword [rcx]
mov r13, qword [rcx + 8]
test rbp, rbp
mov qword [rsp + 0xb8], rdx
lea rdx, [r13 + 8]
lea r12, [rsp + 0x30]
mov rdi, r8
cmove rdx, rax
mov rcx, r12
movups xmmword [rsp + 0x40], xmm0
lea r15, [rsp + 0x40]
movups xmmword [rsp + 0x50], xmm0
lea r14, [rsp + 0x50]
call fcn.2d9343060
mov rbx, qword [0x2d9401050]
movdqu xmm1, xmmword [rsp + 0x30]
cmp byte [rbx], 0
movups xmmword [rsp + 0x40], xmm1
jne 0x2d9344258
lea rdx, [0x2d93da18b]
mov rcx, r12
call fcn.2d9343060
movdqu xmm2, xmmword [rsp + 0x30]
cmp byte [rbx], 0
movups xmmword [rsp + 0x50], xmm2
jne 0x2d9344258
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.msvcrt.dll__wfopen]
mov rcx, r14
mov rsi, rax
call fcn.2d9343040
cmp byte [rbx], 0
jne 0x2d9344258
mov rcx, r15
call fcn.2d9343040
cmp byte [rbx], 0
jne 0x2d9344258
test rsi, rsi
je 0x2d9344280
test rdi, rdi
jle 0x2d9344358
mov rcx, qword [rsp + 0xb8]
mov r9, rsi
mov r8, rdi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x2d9344270
movzx edi, byte [rbx]
mov rcx, rsi
mov byte [rbx], 0
call sub.msvcrt.dll_fclose
cmp byte [rbx], 0
jne 0x2d9344258
mov byte [rbx], dil
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
call fcn.2d93431f0
jmp 0x2d9344242
mov edx, 8
mov ecx, 0x40
lea rsi, [0x2d93da163]
call fcn.2d9347850
mov rcx, r12
lea rdx, [rbp + 0xd]
mov rbx, rax
mov rax, qword [0x2d9400df0]
mov qword [rbx + 0x10], rsi
mov qword [rbx], rax
call fcn.2d9347640
mov rdi, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
movabs rdx, 0x6f20746f6e6e6163
movabs rcx, 0x203a6e65706f20
mov r12, rdi
lea rax, [rdi + r14 + 8]
add r12, 0xd
mov qword [rax], rdx
mov qword [rax + 6], rcx
jo 0x2d93443a0
test rbp, rbp
jle 0x2d9344381
mov rcx, rbp
add rcx, 1
jo 0x2d9344390
test rcx, rcx
js 0x2d9344370
lea rax, [r12 + r14 + 8]
mov r8, rcx
lea rdx, [r13 + 8]
mov rcx, rax
call fcn.2d93d8588
add rbp, r12
jo 0x2d9344390
mov qword [rbx + 0x18], rbp
mov rdx, rsi
mov rcx, rbx
lea r9, str.io.nim
mov qword [rbx + 0x20], r14
lea r8, str.writeFile
mov qword [rbx + 8], 0
mov qword [rsp + 0x20], 0x381
call fcn.2d9349640
jmp 0x2d9344258
lea rdx, [rdi - 1]
xor ecx, ecx
call fcn.2d934b440
movzx edi, byte [rbx]
jmp 0x2d9344245
movabs r8, 0x7fffffffffffffff
xor edx, edx
call fcn.2d9346cf0
mov rbp, r12
jmp 0x2d934431e
call fcn.2d9346660
jmp 0x2d9344381
call fcn.2d9346660
mov r12, rdi
jmp 0x2d93442ea

Function at 0x2d9344660
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 0x2d934467f
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 fcn.2d93d8528
Function at 0x2d9351670
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
test rax, rax
jle 0x2d93516d0
lea r8, [rax + rdx + 8]
lea rcx, [rdx + 8]
xor eax, eax
nop word [rax + 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 0x2d9351690
lea rax, [rax + rax*8]
mov rdx, rax
shr rdx, 0xb
xor rdx, rax
mov rax, rdx
shl rax, 0xf
add rax, rdx
ret
xor eax, eax
ret

Function at 0x2d9354040
Capabilities:
Hash data using murmur3

Disassembly:
push rbx
sub rsp, 0x20
mov r8, rdx
sar rdx, 0x3f
mov r10, rcx
shr rdx, 0x3e
mov r11, r8
lea rax, [r8 + rdx]
and eax, 3
sub rax, rdx
sub r11, rax
cmp r8, 3
jle 0x2d935419a
mov rax, qword [0x2d9401050]
mov edx, dword [rcx]
cmp byte [rax], 0
jne 0x2d9354181
xor r9d, r9d
mov ecx, 4
jmp 0x2d93540a1
cmp r8, rcx
jle 0x2d9354178
mov edx, dword [r10 + rcx]
add rcx, 4
imul eax, edx, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r9d
rol eax, 0xd
lea r9d, [rax + rax*4 - 0x19ab949c]
cmp r11, rcx
jg 0x2d9354090
mov rax, r8
and eax, 3
je 0x2d93541a9
lea rbx, [rax - 1]
mov r11, rbx
add r11, rcx
js 0x2d935418c
cmp r8, r11
jle 0x2d935418c
movzx edx, byte [r10 + r11]
test rbx, rbx
je 0x2d935412f
sub rax, 2
mov r11, rax
add r11, rcx
js 0x2d935418c
cmp r8, r11
jle 0x2d935418c
movzx r11d, byte [r10 + r11]
shl edx, 8
or edx, r11d
test rax, rax
je 0x2d935412f
test rcx, rcx
js 0x2d9354189
cmp r8, rcx
jle 0x2d9354189
movzx eax, byte [r10 + rcx]
shl edx, 8
or edx, eax
imul edx, edx, 0xcc9e2d51
rol edx, 0xf
mov rax, qword [0x2d9401050]
cmp byte [rax], 0
jne 0x2d9354181
imul edx, edx, 0x1b873593
xor r9d, r8d
xor r9d, edx
mov eax, r9d
shr eax, 0x10
xor eax, r9d
imul eax, eax, 0x85ebca6b
mov edx, eax
shr edx, 0xd
xor edx, eax
imul edx, edx, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
jmp 0x2d9354183
lea rdx, [r8 - 1]
call fcn.2d934b440
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov r11, rcx
lea rdx, [r8 - 1]
mov rcx, r11
call fcn.2d934b440
jmp 0x2d9354181
test rax, rax
jle 0x2d93541ad
xor ecx, ecx
xor r9d, r9d
jmp 0x2d93540cf
xor edx, edx
jmp 0x2d9354144
xor r9d, r9d
xor edx, edx
jmp 0x2d9354138
sub rsp, 0x28
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
test rdx, rdx
js 0x2d93541e8
lea rcx, [rax + 8]
test rax, rax
cmove rcx, rax
add rsp, 0x28
jmp 0x2d9354040
lea rax, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, rax
call fcn.2d934ddf0
xor eax, eax
add rsp, 0x28
ret
Function at 0x2d93541c0
Capabilities:
Hash data using murmur3

Disassembly:
push rbx
sub rsp, 0x20
mov r8, rdx
sar rdx, 0x3f
mov r10, rcx
shr rdx, 0x3e
mov r11, r8
lea rax, [r8 + rdx]
and eax, 3
sub rax, rdx
sub r11, rax
cmp r8, 3
jle 0x2d935419a
mov rax, qword [0x2d9401050]
mov edx, dword [rcx]
cmp byte [rax], 0
jne 0x2d9354181
xor r9d, r9d
mov ecx, 4
jmp 0x2d93540a1
cmp r8, rcx
jle 0x2d9354178
mov edx, dword [r10 + rcx]
add rcx, 4
imul eax, edx, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r9d
rol eax, 0xd
lea r9d, [rax + rax*4 - 0x19ab949c]
cmp r11, rcx
jg 0x2d9354090
mov rax, r8
and eax, 3
je 0x2d93541a9
lea rbx, [rax - 1]
mov r11, rbx
add r11, rcx
js 0x2d935418c
cmp r8, r11
jle 0x2d935418c
movzx edx, byte [r10 + r11]
test rbx, rbx
je 0x2d935412f
sub rax, 2
mov r11, rax
add r11, rcx
js 0x2d935418c
cmp r8, r11
jle 0x2d935418c
movzx r11d, byte [r10 + r11]
shl edx, 8
or edx, r11d
test rax, rax
je 0x2d935412f
test rcx, rcx
js 0x2d9354189
cmp r8, rcx
jle 0x2d9354189
movzx eax, byte [r10 + rcx]
shl edx, 8
or edx, eax
imul edx, edx, 0xcc9e2d51
rol edx, 0xf
mov rax, qword [0x2d9401050]
cmp byte [rax], 0
jne 0x2d9354181
imul edx, edx, 0x1b873593
xor r9d, r8d
xor r9d, edx
mov eax, r9d
shr eax, 0x10
xor eax, r9d
imul eax, eax, 0x85ebca6b
mov edx, eax
shr edx, 0xd
xor edx, eax
imul edx, edx, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
jmp 0x2d9354183
lea rdx, [r8 - 1]
call fcn.2d934b440
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov r11, rcx
lea rdx, [r8 - 1]
mov rcx, r11
call fcn.2d934b440
jmp 0x2d9354181
test rax, rax
jle 0x2d93541ad
xor ecx, ecx
xor r9d, r9d
jmp 0x2d93540cf
xor edx, edx
jmp 0x2d9354144
xor r9d, r9d
xor edx, edx
jmp 0x2d9354138
sub rsp, 0x28
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
test rdx, rdx
js 0x2d93541e8
lea rcx, [rax + 8]
test rax, rax
cmove rcx, rax
add rsp, 0x28
jmp 0x2d9354040
lea rax, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, rax
call fcn.2d934ddf0
xor eax, eax
add rsp, 0x28
ret
Function at 0x2d9368cb0
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbx, qword [rcx]
mov rdi, qword [rcx + 8]
mov rsi, rbx
cmp rdi, rbx
jl 0x2d9368d70
mov rax, qword [0x2d9401050]
movzx eax, byte [rax]
sub rdi, rbx
jne 0x2d9368cf0
test al, al
jne 0x2d9368ddc
mov rax, rsi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
mov rcx, qword [0x2d940e130]
mov r8, qword [0x2d940e138]
cmp rdi, 0xffffffffffffffff
je 0x2d9368dd8
test al, al
jne 0x2d9368ddc
mov rax, 0xffffffffffffffff
xor edx, edx
div rdi
lea rax, [r8 + rcx]
xor r8, rcx
ror rcx, 9
mov rsi, rdx
mov r9, r8
xor rcx, r8
ror r8, 0x1c
shl r9, 0xe
xor rcx, r9
add rsi, rax
jb 0x2d9368d1c
lea r9, [rdi + 1]
xor edx, edx
div r9
mov qword [0x2d940e130], rcx
mov qword [0x2d940e138], r8
lea rsi, [rdx + rbx]
mov rax, rsi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
movdqu xmm0, xmmword [0x2d93df240]
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
call fcn.2d9341de0
mov rax, qword [0x2d9401050]
cmp byte [rax], 0
jne 0x2d9368ddc
sub rdi, rbx
je 0x2d9368ce1
mov rcx, qword [0x2d940e130]
mov r8, qword [0x2d940e138]
cmp rdi, 0xffffffffffffffff
jne 0x2d9368d10
lea rdx, [rcx + r8]
xor r8, rcx
ror rcx, 9
mov rax, r8
xor rcx, r8
ror r8, 0x1c
shl rax, 0xe
xor rcx, rax
jmp 0x2d9368d49
test al, al
je 0x2d9368db4
xor esi, esi
mov rax, rsi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret

Function at 0x2d9369140
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov r9, rcx
test rcx, rcx
js 0x2d93691c0
mov rax, qword [0x2d9401050]
movzx eax, byte [rax]
je 0x2d93691d1
mov rcx, qword [0x2d940e130]
mov r8, qword [0x2d940e138]
test al, al
jne 0x2d93691d1
mov rax, 0xffffffffffffffff
xor edx, edx
div r9
lea rax, [r8 + rcx]
xor r8, rcx
ror rcx, 9
mov r11, rdx
mov r10, r8
xor rcx, r8
ror r8, 0x1c
shl r10, 0xe
xor rcx, r10
add r11, rax
jb 0x2d9369176
mov qword [0x2d940e130], rcx
xor edx, edx
lea rcx, [r9 + 1]
div rcx
mov qword [0x2d940e138], r8
mov rax, rdx
add rsp, 0x28
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
call fcn.2d9346cf0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x2d938cd20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rbx
test rdx, rdx
lea r11, [rdx + 7]
mov r9, rdx
mov eax, r8d
cmovns r11, rdx
sar r11, 3
cmp rdx, 7
jle 0x2d938ce0c
mov rdx, qword [0x2d9401050]
cmp byte [rdx], 0
jne 0x2d938ce09
xor r10d, r10d
lea r8, [0x2d93e34a0]
nop dword [rax + rax]
mov ebx, dword [rcx + r10*8 + 4]
xor eax, dword [rcx + r10*8]
add r10, 1
mov edx, ebx
movzx esi, bl
shr edx, 0x18
mov edx, dword [r8 + rdx*4]
xor edx, dword [r8 + rsi*4 + 0xc00]
movzx esi, al
xor edx, dword [r8 + rsi*4 + 0x1c00]
mov esi, eax
shr esi, 0x18
xor edx, dword [r8 + rsi*4 + 0x1000]
movzx esi, bh
shr ebx, 0x10
movzx ebx, bl
xor edx, dword [r8 + rsi*4 + 0x800]
xor edx, dword [r8 + rbx*4 + 0x400]
movzx ebx, ah
shr eax, 0x10
movzx eax, al
xor edx, dword [r8 + rbx*4 + 0x1800]
xor edx, dword [r8 + rax*4 + 0x1400]
mov eax, edx
cmp r11, r10
jg 0x2d938cd60
shl r11, 3
cmp r9, r11
jle 0x2d938ce09
add r11, rcx
lea r8, [0x2d93e34a0]
add rcx, r9
nop dword [rax + rax]
movzx edx, byte [r11]
add r11, 1
xor edx, eax
shr eax, 8
movzx edx, dl
xor eax, dword [r8 + rdx*4]
cmp r11, rcx
jne 0x2d938cdf0
pop rbx
pop rsi
ret
xor r11d, r11d
jmp 0x2d938cdd6
Function at 0x2d93a90a0
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 0x2d93a92e0
lea r8, [rdx - 0x80]
movdqu xmm4, xmmword [0x2d93f7c70]
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 0x2d93a9100
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 [0x2d93f7c60]
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 0x2d93a9261
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 0x2d93a9261
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 0x2d93a9261
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 [0x2d93f7ca0]
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 [0x2d93f7c80]
psrldq xmm0, 4
pand xmm1, xmm2
pclmulqdq xmm1, xmmword [0x2d93f7c90], 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 0x2d93a91a2
Function at 0x2d93a92f0
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, [0x2d93f7cc0]
sar r8, 3
cmp rdx, 7
jle 0x2d93a93c0
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
xor edx, dword [rcx + rsi*4 + 0x800]
xor edx, dword [rcx + rbx*4 + 0x400]
movzx ebx, ah
shr eax, 0x10
movzx eax, al
xor edx, dword [rcx + rbx*4 + 0x1800]
xor edx, dword [rcx + rax*4 + 0x1400]
mov eax, edx
cmp r8, r11
jg 0x2d93a9320
shl r8, 3
cmp r10, r8
jle 0x2d93a93b8
add r8, r9
lea rcx, [0x2d93f7cc0]
add r9, r10
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 0x2d93a93a0
pop rbx
pop rsi
ret
xor r8d, r8d
jmp 0x2d93a938e
Function at 0x2d93cb420
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x2d9401050]
nop dword [rax]
cmp word [rcx], 0x5a4d
jne 0x2d93cb461
movsxd rdx, dword [rcx + 0x3c]
lea eax, [rdx - 0x41]
cmp eax, 0x3be
ja 0x2d93cb461
mov qword [rsp + 0x30], rcx
call fcn.2d93b2420
cmp byte [rbx], 0
jne 0x2d93cb473
cmp dword [rax], 0x4550
mov rcx, qword [rsp + 0x30]
je 0x2d93cb47b
mov edx, 1
call fcn.2d93b2430
cmp byte [rbx], 0
mov rcx, rax
je 0x2d93cb430
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rax, rcx
jmp 0x2d93cb475

Function at 0x2d93ce3b0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rbx, rcx
lea rax, [rbp + 0x28]
mov ecx, 2
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
mov qword [rbp - 8], rax
call fcn.2d93d7db0
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 [rbp - 8]
mov ecx, 2
call fcn.2d93d7db0
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 0x2d93ce420
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
movsxd rsi, dword [0x2d940ef84]
mov rbx, rcx
test esi, esi
jle 0x2d93ce550
mov rax, qword [0x2d940ef88]
xor r9d, r9d
add rax, 0x18
nop dword [rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x2d93ce46b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x2d93ce4f3
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x2d93ce450
mov rcx, rbx
call fcn.2d93cecc0
mov rdi, rax
test rax, rax
je 0x2d93ce572
mov rax, qword [0x2d940ef88]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.2d93cee00
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x2d940ef88]
lea rdx, [rbp - 0x30]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x2d93ce557
mov eax, dword [rbp - 0xc]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x2d93ce4ec
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x2d93ce500
add dword [0x2d940ef84], 1
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 2
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x2d940ef88]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x2d93ce4ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.2d93ce3b0
nop word [rax + rax]
xor esi, esi
jmp 0x2d93ce478
mov rax, qword [0x2d940ef88]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.2d93ce3b0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.2d93ce3b0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x2d93ce8f0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
lea r13, [0x2d940efc0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x2d940efa0]
test rbx, rbx
je 0x2d93ce955
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, dword [rbx]
call r12
mov rsi, rax
call rdi
test rsi, rsi
je 0x2d93ce94c
test eax, eax
jne 0x2d93ce94c
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x2d93ce930
mov rcx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

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

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

Function at 0x2d93ced40
Capabilities:
Parse pe header

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

Function at 0x2d93cee00
Capabilities:
Parse pe header

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