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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
lea rax, [0x33e08a200]
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.33e00c920
mov rax, qword [rsp + 0x20]
mov rbp, qword [0x33e0ab970]
mov qword [rsp + 0x40], rax
mov rbx, rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
test rbx, rbx
jle 0x33e003db0
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 0x33e003d40
mov rcx, rsi
call sub.msvcrt.dll_ferror
test eax, eax
je 0x33e003c97
mov rcx, rsi
call fcn.33e003440
cmp byte [rbp], 0
jne 0x33e003e00
test rbx, rbx
js 0x33e003de8
lea rsi, [rsp + 0x40]
mov rdx, rbx
mov rcx, rsi
call fcn.33e007d10
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.33e007ac0
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jle 0x33e003d1c
mov rcx, rbx
mov rax, qword [rsp + 0x48]
add rcx, 1
jo 0x33e003e0a
test rcx, rcx
js 0x33e003e14
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.33e0881c8
add rbx, qword [rsp + 0x30]
jo 0x33e003e0a
mov qword [rsp + 0x30], rbx
mov rcx, rsi
call fcn.33e006c00
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 0x33e003e00
mov rdx, qword [rsp + 0x40]
mov rcx, r12
call fcn.33e007ac0
mov rbx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
test rbx, rbx
jle 0x33e003db0
mov rcx, rbx
add rcx, 1
jo 0x33e003dc5
test rcx, rcx
js 0x33e003dd0
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.33e0881c8
add rbx, qword [rsp + 0x30]
jo 0x33e003dc5
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jg 0x33e003c58
nop dword [rax]
lea rdx, [rbx - 1]
xor ecx, ecx
lea rsi, [rsp + 0x40]
call fcn.33e00bb80
jmp 0x33e003d1c
call fcn.33e006da0
jmp 0x33e003d9e
movabs r8, 0x7fffffffffffffff
xor edx, edx
call fcn.33e007430
jmp 0x33e003d9e
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.33e007430
nop dword [rax]
lea rsi, [rsp + 0x40]
jmp 0x33e003d1c
call fcn.33e006da0
jmp 0x33e003d1c
movabs r8, 0x7fffffffffffffff
xor edx, edx
call fcn.33e007430
jmp 0x33e003d1c
Function at 0x33e003e30
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 0x33e003f30
lea r13, [rsp + 0x20]
mov rdx, r8
mov rcx, r13
call fcn.33e00c920
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 0x33e003f90
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 0x33e003ec3
mov rcx, rsi
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x33e003f50
mov r14, qword [0x33e0ab970]
cmp byte [r14], 0
jne 0x33e003f0b
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 0x33e003f0b
test r12d, r12d
jns 0x33e003fa0
cmp rbx, rbp
jle 0x33e003f0b
test rbp, rbp
js 0x33e003f70
lea rcx, [rsp + 0x30]
mov rdx, rbp
call fcn.33e007d10
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.33e007430
jmp 0x33e003f0b
mov rcx, rsi
call fcn.33e003440
mov r14, qword [0x33e0ab970]
cmp byte [r14], 0
je 0x33e003ed0
jmp 0x33e003f0b
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbp
call fcn.33e007430
jmp 0x33e003f0b
sub rdx, 1
xor ecx, ecx
call fcn.33e00bb80
jmp 0x33e003f0b
mov qword [rsp + 0x40], 0
mov rdx, rsi
mov rcx, r13
mov qword [rsp + 0x48], 0
call fcn.33e003be0
movdqu xmm1, xmmword [rsp + 0x20]
cmp byte [r14], 0
movups xmmword [rsp + 0x40], xmm1
jne 0x33e004024
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.33e007ac0
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jle 0x33e004024
mov rcx, rbx
mov rdx, qword [rsp + 0x48]
add rcx, 1
jo 0x33e004033
test rcx, rcx
js 0x33e004040
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.33e0881c8
add rbx, qword [rsp + 0x30]
jo 0x33e004033
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x40]
call fcn.33e006c00
jmp 0x33e003f0b
call fcn.33e006da0
jmp 0x33e004024
movabs r8, 0x7fffffffffffffff
xor edx, edx
call fcn.33e007430
jmp 0x33e004024
Function at 0x33e0043a0
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, [0x33e08a1db]
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.33e0032b0
mov rbx, qword [0x33e0ab970]
movdqu xmm1, xmmword [rsp + 0x30]
cmp byte [rbx], 0
movups xmmword [rsp + 0x40], xmm1
jne 0x33e0044a8
lea rdx, [0x33e08a1eb]
mov rcx, r12
call fcn.33e0032b0
movdqu xmm2, xmmword [rsp + 0x30]
cmp byte [rbx], 0
movups xmmword [rsp + 0x50], xmm2
jne 0x33e0044a8
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.33e003290
cmp byte [rbx], 0
jne 0x33e0044a8
mov rcx, r15
call fcn.33e003290
cmp byte [rbx], 0
jne 0x33e0044a8
test rsi, rsi
je 0x33e0044d0
test rdi, rdi
jle 0x33e0045a8
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 0x33e0044c0
movzx edi, byte [rbx]
mov rcx, rsi
mov byte [rbx], 0
call sub.msvcrt.dll_fclose
cmp byte [rbx], 0
jne 0x33e0044a8
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.33e003440
jmp 0x33e004492
mov edx, 8
mov ecx, 0x40
lea rsi, [0x33e08a1c3]
call fcn.33e007f90
mov rcx, r12
lea rdx, [rbp + 0xd]
mov rbx, rax
mov rax, qword [0x33e0ab740]
mov qword [rbx + 0x10], rsi
mov qword [rbx], rax
call fcn.33e007d80
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 0x33e0045f0
test rbp, rbp
jle 0x33e0045d1
mov rcx, rbp
add rcx, 1
jo 0x33e0045e0
test rcx, rcx
js 0x33e0045c0
lea rax, [r12 + r14 + 8]
mov r8, rcx
lea rdx, [r13 + 8]
mov rcx, rax
call fcn.33e0881c8
add rbp, r12
jo 0x33e0045e0
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.33e009d80
jmp 0x33e0044a8
lea rdx, [rdi - 1]
xor ecx, ecx
call fcn.33e00bb80
movzx edi, byte [rbx]
jmp 0x33e004495
movabs r8, 0x7fffffffffffffff
xor edx, edx
call fcn.33e007430
mov rbp, r12
jmp 0x33e00456e
call fcn.33e006da0
jmp 0x33e0045d1
call fcn.33e006da0
mov r12, rdi
jmp 0x33e00453a

Function at 0x33e0048b0
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 0x33e0048cf
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.33e088168
Function at 0x33e011e70
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
test rax, rax
jle 0x33e011ed0
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 0x33e011e90
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 0x33e014320
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 0x33e01447a
mov rax, qword [0x33e0ab970]
mov edx, dword [rcx]
cmp byte [rax], 0
jne 0x33e014461
xor r9d, r9d
mov ecx, 4
jmp 0x33e014381
cmp r8, rcx
jle 0x33e014458
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 0x33e014370
mov rax, r8
and eax, 3
je 0x33e014489
lea rbx, [rax - 1]
mov r11, rbx
add r11, rcx
js 0x33e01446c
cmp r8, r11
jle 0x33e01446c
movzx edx, byte [r10 + r11]
test rbx, rbx
je 0x33e01440f
sub rax, 2
mov r11, rax
add r11, rcx
js 0x33e01446c
cmp r8, r11
jle 0x33e01446c
movzx r11d, byte [r10 + r11]
shl edx, 8
or edx, r11d
test rax, rax
je 0x33e01440f
test rcx, rcx
js 0x33e014469
cmp r8, rcx
jle 0x33e014469
movzx eax, byte [r10 + rcx]
shl edx, 8
or edx, eax
imul edx, edx, 0xcc9e2d51
rol edx, 0xf
mov rax, qword [0x33e0ab970]
cmp byte [rax], 0
jne 0x33e014461
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 0x33e014463
lea rdx, [r8 - 1]
call fcn.33e00bb80
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov r11, rcx
lea rdx, [r8 - 1]
mov rcx, r11
call fcn.33e00bb80
jmp 0x33e014461
test rax, rax
jle 0x33e01448d
xor ecx, ecx
xor r9d, r9d
jmp 0x33e0143af
xor edx, edx
jmp 0x33e014424
xor r9d, r9d
xor edx, edx
jmp 0x33e014418
sub rsp, 0x28
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
test rdx, rdx
js 0x33e0144c8
lea rcx, [rax + 8]
test rax, rax
cmove rcx, rax
add rsp, 0x28
jmp 0x33e014320
lea rax, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, rax
call fcn.33e00e490
xor eax, eax
add rsp, 0x28
ret
Function at 0x33e0144a0
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 0x33e01447a
mov rax, qword [0x33e0ab970]
mov edx, dword [rcx]
cmp byte [rax], 0
jne 0x33e014461
xor r9d, r9d
mov ecx, 4
jmp 0x33e014381
cmp r8, rcx
jle 0x33e014458
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 0x33e014370
mov rax, r8
and eax, 3
je 0x33e014489
lea rbx, [rax - 1]
mov r11, rbx
add r11, rcx
js 0x33e01446c
cmp r8, r11
jle 0x33e01446c
movzx edx, byte [r10 + r11]
test rbx, rbx
je 0x33e01440f
sub rax, 2
mov r11, rax
add r11, rcx
js 0x33e01446c
cmp r8, r11
jle 0x33e01446c
movzx r11d, byte [r10 + r11]
shl edx, 8
or edx, r11d
test rax, rax
je 0x33e01440f
test rcx, rcx
js 0x33e014469
cmp r8, rcx
jle 0x33e014469
movzx eax, byte [r10 + rcx]
shl edx, 8
or edx, eax
imul edx, edx, 0xcc9e2d51
rol edx, 0xf
mov rax, qword [0x33e0ab970]
cmp byte [rax], 0
jne 0x33e014461
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 0x33e014463
lea rdx, [r8 - 1]
call fcn.33e00bb80
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov r11, rcx
lea rdx, [r8 - 1]
mov rcx, r11
call fcn.33e00bb80
jmp 0x33e014461
test rax, rax
jle 0x33e01448d
xor ecx, ecx
xor r9d, r9d
jmp 0x33e0143af
xor edx, edx
jmp 0x33e014424
xor r9d, r9d
xor edx, edx
jmp 0x33e014418
sub rsp, 0x28
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
test rdx, rdx
js 0x33e0144c8
lea rcx, [rax + 8]
test rax, rax
cmove rcx, rax
add rsp, 0x28
jmp 0x33e014320
lea rax, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, rax
call fcn.33e00e490
xor eax, eax
add rsp, 0x28
ret
Function at 0x33e027140
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 0x33e027200
mov rax, qword [0x33e0ab970]
movzx eax, byte [rax]
sub rdi, rbx
jne 0x33e027180
test al, al
jne 0x33e02726c
mov rax, rsi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
mov rcx, qword [0x33e0b7130]
mov r8, qword [0x33e0b7138]
cmp rdi, 0xffffffffffffffff
je 0x33e027268
test al, al
jne 0x33e02726c
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 0x33e0271ac
lea r9, [rdi + 1]
xor edx, edx
div r9
mov qword [0x33e0b7130], rcx
mov qword [0x33e0b7138], r8
lea rsi, [rdx + rbx]
mov rax, rsi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
movdqu xmm0, xmmword [0x33e08c840]
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
call fcn.33e001de0
mov rax, qword [0x33e0ab970]
cmp byte [rax], 0
jne 0x33e02726c
sub rdi, rbx
je 0x33e027171
mov rcx, qword [0x33e0b7130]
mov r8, qword [0x33e0b7138]
cmp rdi, 0xffffffffffffffff
jne 0x33e0271a0
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 0x33e0271d9
test al, al
je 0x33e027244
xor esi, esi
mov rax, rsi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret

Function at 0x33e0275d0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov r9, rcx
test rcx, rcx
js 0x33e027650
mov rax, qword [0x33e0ab970]
movzx eax, byte [rax]
je 0x33e027661
mov rcx, qword [0x33e0b7130]
mov r8, qword [0x33e0b7138]
test al, al
jne 0x33e027661
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 0x33e027606
mov qword [0x33e0b7130], rcx
xor edx, edx
lea rcx, [r9 + 1]
div rcx
mov qword [0x33e0b7138], r8
mov rax, rdx
add rsp, 0x28
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
call fcn.33e007430
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x33e04c810
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 0x33e04c8fc
mov rdx, qword [0x33e0ab970]
cmp byte [rdx], 0
jne 0x33e04c8f9
xor r10d, r10d
lea r8, [0x33e090c60]
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 0x33e04c850
shl r11, 3
cmp r9, r11
jle 0x33e04c8f9
add r11, rcx
lea r8, [0x33e090c60]
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 0x33e04c8e0
pop rbx
pop rsi
ret
xor r11d, r11d
jmp 0x33e04c8c6
Function at 0x33e067370
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 0x33e0675b0
lea r8, [rdx - 0x80]
movdqu xmm4, xmmword [0x33e0a5350]
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 0x33e0673d0
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 [0x33e0a5340]
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 0x33e067531
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 0x33e067531
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 0x33e067531
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 [0x33e0a5380]
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 [0x33e0a5360]
psrldq xmm0, 4
pand xmm1, xmm2
pclmulqdq xmm1, xmmword [0x33e0a5370], 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 0x33e067472
Function at 0x33e0675c0
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, [0x33e0a53a0]
sar r8, 3
cmp rdx, 7
jle 0x33e067690
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 0x33e0675f0
shl r8, 3
cmp r10, r8
jle 0x33e067688
add r8, r9
lea rcx, [0x33e0a53a0]
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 0x33e067670
pop rbx
pop rsi
ret
xor r8d, r8d
jmp 0x33e06765e
Function at 0x33e07b090
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x33e0ab970]
nop dword [rax]
cmp word [rcx], 0x5a4d
jne 0x33e07b0d1
movsxd rdx, dword [rcx + 0x3c]
lea eax, [rdx - 0x41]
cmp eax, 0x3be
ja 0x33e07b0d1
mov qword [rsp + 0x30], rcx
call fcn.33e07ade0
cmp byte [rbx], 0
jne 0x33e07b0e3
cmp dword [rax], 0x4550
mov rcx, qword [rsp + 0x30]
je 0x33e07b0eb
mov edx, 1
call fcn.33e07adf0
cmp byte [rbx], 0
mov rcx, rax
je 0x33e07b0a0
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rax, rcx
jmp 0x33e07b0e5

Function at 0x33e07dff0
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.33e0879f0
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.33e0879f0
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 0x33e07e060
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 [0x33e0b7be4]
mov rbx, rcx
test esi, esi
jle 0x33e07e190
mov rax, qword [0x33e0b7be8]
xor r9d, r9d
add rax, 0x18
nop dword [rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x33e07e0ab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x33e07e133
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x33e07e090
mov rcx, rbx
call fcn.33e07e900
mov rdi, rax
test rax, rax
je 0x33e07e1b2
mov rax, qword [0x33e0b7be8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.33e07ea40
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x33e0b7be8]
lea rdx, [rbp - 0x30]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x33e07e197
mov eax, dword [rbp - 0xc]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x33e07e12c
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x33e07e140
add dword [0x33e0b7be4], 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 [0x33e0b7be8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x33e07e12c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.33e07dff0
nop word [rax + rax]
xor esi, esi
jmp 0x33e07e0b8
mov rax, qword [0x33e0b7be8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.33e07dff0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.33e07dff0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x33e07e530
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, [0x33e0b7c20]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x33e0b7c00]
test rbx, rbx
je 0x33e07e595
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 0x33e07e58c
test eax, eax
jne 0x33e07e58c
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x33e07e570
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 0x33e07e900
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x33e07e980
Capabilities:
Parse pe header

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

Function at 0x33e07ea40
Capabilities:
Parse pe header

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