joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140767058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1407671df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140767089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14076706f
add dl, dl
jne 0x140767096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407670f6
xor eax, eax
add dl, dl
jne 0x1407670a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407671ad
add dl, dl
jne 0x1407670b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407670c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407670d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407670dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407670ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14076707e
mov eax, 1
add dl, dl
jne 0x140767106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140767113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407670fb
sub eax, ebx
mov ebx, 1
jne 0x14076714c
mov ecx, 1
add dl, dl
jne 0x14076712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14076713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140767123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14076707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140767168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140767175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14076715d
cmp eax, 0x7d00
jae 0x14076719b
cmp eax, 0x500
jb 0x140767196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14076707e
cmp eax, 0x7f
ja 0x14076719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14076707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407671d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14076707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
cmp byte [rcx], 0x15
jne 0x1400013d9
movzx eax, byte [rcx + 8]
cmp eax, 0xd
je 0x1400013e5
cmp eax, 8
jne 0x140001421
mov rax, qword [rcx + 0x18]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x28], rcx
mov rax, qword [rcx + 0x20]
mov qword [rbp - 0x20], rax
test rax, rax
je 0x1400013fa
mov rdi, qword [rbp - 0x20]
neg rdi
mov rax, qword [rbp - 0x10]
lea rsi, [rax + 8]
mov ecx, 1
jmp 0x140001398
mov rcx, qword [rbp - 0x18]
lea rax, [rdi + rcx]
inc rax
inc rcx
add rsi, 0x20
cmp rax, 1
je 0x1400013fa
mov qword [rbp - 0x18], rcx
movzx eax, byte [rsi - 8]
cmp eax, 0xd
je 0x1400013c0
cmp eax, 8
jne 0x140001380
mov rcx, rsi
call fcn.14002aaf0
jmp 0x140001380
mov rdx, qword [rsi]
test rdx, rdx
je 0x140001380
mov rcx, qword [rsi + 8]
mov r8d, 1
call fcn.14005db50
jmp 0x140001380
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.1400015a0
mov rdx, qword [rcx + 0x10]
test rdx, rdx
je 0x140001421
mov rcx, qword [rcx + 0x18]
mov r8d, 1
jmp 0x140001415
mov rax, qword [rbp - 0x28]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x140001421
shl rdx, 5
mov r8d, 8
mov rcx, qword [rbp - 0x10]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.14005db50
nop
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x140057ae0
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
sub rsp, 0x98
lea rbp, [rsp + 0x80]
movaps xmmword [rbp], xmm6
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
lea rax, str.____Creating_a_new_thread..._n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm6, xmm6
movups xmmword [rbp - 0x20], xmm6
lea rcx, [rbp - 0x38]
call fcn.1400bc3b0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140057970]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call sub.kernel32.dll_CreateThread
test rax, rax
je 0x140057c1f
mov rsi, rax
mov rcx, rax
mov edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
lea rax, str.____FINISHED._n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
movups xmmword [rbp - 0x20], xmm6
lea rcx, [rbp - 0x38]
call fcn.1400bc3b0
lea rax, str.Press_Enter_to_exit..._n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
movups xmmword [rbp - 0x20], xmm6
lea rcx, [rbp - 0x38]
call fcn.1400bc3b0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 0
call fcn.1400bb850
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x38]
call fcn.1400bb880
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
test rax, rax
je 0x140057bfc
lea rcx, [rbp - 0x48]
call fcn.140056c10
mov rcx, rsi
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x140057c47
mov rcx, qword [rbp - 0x30]
mov r8d, 1
call fcn.14005db50
jmp 0x140057c47
lea rax, str.Failed_to_create_the_thread__n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
movups xmmword [rbp - 0x20], xmm6
lea rcx, [rbp - 0x38]
call fcn.1400bc4c0
movaps xmm6, xmmword [rbp]
add rsp, 0x98
pop rsi
pop rbp
ret
Function at 0x14005d950
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14005d992
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14005d99a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14005d9ab
jmp 0x14005d9c2
xor r10d, r10d
jmp 0x14005da4d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14005d9c2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14005d9d9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14005d9f9
add r11, r8
jmp 0x14005db2b
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14005dac2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14005da70
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14005dae0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x14005daf2
jmp 0x14005db0d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14005db0d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14005db27
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x140062330
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rcx
mov r15, r8
shr r15, 2
lea rsi, [r15 + r15*2]
mov eax, 1
cmp r8, 4
jb 0x14006240a
test rsi, rsi
js 0x140062425
mov rbx, rdx
mov r14d, 1
mov edx, 1
mov rcx, rsi
call fcn.14005db70
test rax, rax
je 0x140062428
mov rcx, rax
add rcx, 2
xor r8d, r8d
nop dword [rax + rax]
movzx r9d, byte [rbx + r8*4]
movzx r10d, byte [rbx + r8*4 + 1]
movzx r11d, byte [rbx + r8*4 + 2]
movzx ebp, byte [rbx + r8*4 + 3]
lea rdx, [r8 + 1]
xor r9d, 0xff
xor r10d, 0xff
xor r11d, 0xff
xor ebp, 0xff
imul r10d, ebp
imul r8d, r10d, 0x8081
shr r8d, 0x17
imul r11d, ebp
imul r10d, r11d, 0x8081
shr r10d, 0x17
imul ebp, r9d
imul r9d, ebp, 0x8081
shr r9d, 0x17
mov byte [rcx - 2], r9b
mov byte [rcx - 1], r8b
mov byte [rcx], r10b
add rcx, 3
mov r8, rdx
cmp r15, rdx
jne 0x140062390
mov qword [rdi], rsi
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rsi
mov rax, rdi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
mov rcx, r14
mov rdx, rsi
call fcn.1400ded50
int3

Function at 0x140068fd0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x80
mov rax, rdx
mov rsi, rcx
imul r9d, dword [rsp + 0xb8]
mov qword [rsp + 0x28], r8
mov ecx, r9d
shr ecx, 3
mov edx, r9d
and edx, 7
cmp edx, 1
sbb ecx, 0xffffffff
imul ecx, dword [rsp + 0xb0]
mov qword [rsp + 0x30], rcx
cmp rcx, r8
jne 0x1400690f6
mov qword [rsp + 0x20], r8
lea rcx, [rsp + 0x38]
mov dl, 1
mov r8d, r9d
mov r9, rax
call fcn.140060c60
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400690cb
mov rax, qword [rsp + 0x40]
mov r8, rax
cmp rcx, 8
jb 0x1400690ba
cmp rcx, 0x20
jae 0x140069051
xor edx, edx
jmp 0x140069095
mov rdx, rcx
and rdx, 0xffffffffffffffe0
xor r8d, r8d
pcmpeqd xmm0, xmm0
nop
movdqu xmm1, xmmword [rax + r8]
movdqu xmm2, xmmword [rax + r8 + 0x10]
pxor xmm1, xmm0
pxor xmm2, xmm0
movdqu xmmword [rax + r8], xmm1
movdqu xmmword [rax + r8 + 0x10], xmm2
add r8, 0x20
cmp rdx, r8
jne 0x140069060
cmp rcx, rdx
je 0x1400690cb
test cl, 0x18
je 0x1400690b4
mov r9, rcx
and r9, 0xfffffffffffffff8
lea r8, [rax + r9]
not qword [rax + rdx]
add rdx, 8
cmp r9, rdx
jne 0x1400690a0
cmp rcx, r9
jne 0x1400690ba
jmp 0x1400690cb
add rdx, rax
mov r8, rdx
add rax, rcx
nop dword [rax]
not byte [r8]
inc r8
cmp r8, rax
jne 0x1400690c0
mov rax, qword [rsp + 0x48]
mov qword [rsi + 0x18], rax
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi + 8], xmm0
movabs rax, 0x800000000000000a
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x80
pop rsi
ret
mov qword [rsp + 0x50], 0
lea rax, [0x1400ea390]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x50]
xor ecx, ecx
call fcn.1400dbf60
int3
Function at 0x1400b2880
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov r14, rdx
mov rsi, rcx
movups xmm0, xmmword [rdx + 0x38]
movups xmm1, xmmword [rdx + 0x48]
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x40], xmm0
mov rax, qword [rdx + 0x28]
movzx ebx, byte [rdx + 0x30]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], bl
movzx eax, byte [0x140123181]
mov ecx, 0x5f0
mov edx, 8
call fcn.14005db40
test rax, rax
mov qword [rbp - 8], r14
je 0x1400b2af0
mov rdi, rax
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [r14 + 0x60]
mov qword [rbp - 0x18], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
movabs r11, 0x800000000000000
mov r12d, 1
lock xadd qword [0x140123198], r12
mov r14, r12
xor r14, rcx
lea r15, [r14 + rdx]
mov rax, r14
rol rax, 0x10
xor rax, r15
lea r15, [rax + r8]
rol rax, 0x15
add r14, r9
mov r13, r14
xor r13, r10
rol r14, 0x20
xor r12, r15
add r12, r13
rol r13, 0xd
xor r15, r11
xor r13, r12
rol r12, 0x20
xor r15, rax
add r14, r15
rol r15, 0x10
xor r15, r14
add r12, r15
rol r15, 0x15
add r14, r13
rol r13, 0x11
xor r15, r12
xor r13, r14
rol r14, 0x20
xor r12, r11
add r12, r13
rol r13, 0xd
xor r13, r12
rol r12, 0x20
xor r14, 0xff
add r14, r15
rol r15, 0x10
xor r15, r14
add r12, r15
rol r15, 0x15
add r14, r13
rol r13, 0x11
xor r13, r14
rol r14, 0x20
xor r15, r12
add r12, r13
rol r13, 0xd
xor r13, r12
rol r12, 0x20
add r14, r15
rol r15, 0x10
xor r15, r14
add r12, r15
rol r15, 0x15
add r14, r13
rol r13, 0x11
xor r13, r14
rol r14, 0x20
xor r15, r12
add r12, r13
rol r13, 0xd
add r14, r15
rol r15, 0x10
xor r15, r14
rol r15, 0x15
xor r13, r12
add r14, r13
rol r13, 0x11
mov r12, r14
rol r12, 0x20
xor r12, r13
xor r12, r15
xor r12, r14
je 0x1400b2940
mov rcx, qword [rbp - 8]
mov rax, qword [rcx + 0x58]
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [rsi + 0x128], xmm1
movups xmmword [rsi + 0x118], xmm0
mov rdx, qword [rbp - 0x10]
mov qword [rsi + 0x138], rdx
mov byte [rsi + 0x140], bl
mov qword [rsi], 0
mov qword [rsi + 8], rdi
mov qword [rsi + 0x80], 0
mov qword [rsi + 0x88], rdi
mov rdx, qword [rbp - 0x18]
mov qword [rsi + 0x100], rdx
mov qword [rsi + 0x108], r12
mov qword [rsi + 0x110], rax
mov rdx, qword [rcx + 0x10]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x1400b2adc
test rdx, rdx
je 0x1400b2adc
mov rcx, qword [rcx + 0x18]
mov r8d, 1
call fcn.14005db50
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.1400ded70
ud2
Function at 0x1400b74a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
cmp r8, 0x80
jb 0x1400b76bd
movdqu xmm4, xmmword [rdx]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm1, xmmword [rdx + 0x30]
not ecx
movd xmm0, ecx
pxor xmm0, xmm4
add rdx, 0x40
add r8, 0xffffffffffffffc0
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x1400f6520]
nop word cs:[rax + rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm0
pclmulqdq xmm7, xmm5, 0x11
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmm6
pxor xmm0, xmm7
movdqu xmm6, xmmword [rdx + 0x10]
movdqu xmm7, xmmword [rdx + 0x20]
movdqu xmm8, xmmword [rdx + 0x30]
movdqa xmm9, xmm3
pclmulqdq xmm9, xmm4, 0
pxor xmm9, xmm6
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm9
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm7
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm1
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm8
pclmulqdq xmm1, xmm5, 0x11
pxor xmm1, xmm6
add rdx, 0x40
add r8, 0xffffffffffffffc0
cmp r8, 0x3f
ja 0x1400b7510
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm5, xmmword [0x1400f6530]
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm6
pxor xmm0, xmm3
movdqa xmm3, xmm0
pclmulqdq xmm3, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm3
pxor xmm0, xmm2
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
pxor xmm0, xmm1
cmp r8, 0x10
jb 0x1400b763a
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rdx]
add r8, 0xfffffffffffffff0
add rdx, 0x10
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
cmp r8, 0xf
ja 0x1400b7610
movdqa xmm1, xmmword [0x1400f6530]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
psrldq xmm0, 4
pxor xmm0, xmm3
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
pclmulqdq xmm2, xmmword [0x1400f6540], 0x10
pblendw xmm2, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm2, 0
pxor xmm1, xmm0
pextrd ecx, xmm1, 1
not ecx
test r8, r8
je 0x1400b76db
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
jmp fcn.1400b6f80
mov eax, ecx
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x1400ba250
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov ecx, dword [rbp - 0x10]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x50
pop rbp
ret
Function at 0x1400ba290
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1400ba330
jmp 0x1400ba31f
jae 0x1400ba3ef
cmp r8, 0x201
jae 0x1400ba330
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x1400ba387
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x1400ba35f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.1400ddae0
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x1400ba3b0
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1400ba45b
mov r8d, r13d
cmp r12, r8
jne 0x1400ba310
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400ba48f
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1400ba31f
jmp 0x1400ba330
cmp r14, r8
jb 0x1400ba4a9
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.1400bd880
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x1400ba444
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.14005db50
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x1400ba42f
jmp 0x1400ba444
lea rcx, str.internal_error:_entered_unreachable_code_rustc_b92758a9aef1cef7b79e2b72c3d8ba113e547f89library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.1400defb0
jmp 0x1400ba4be
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.1400df380
ud2
Function at 0x1400c3050
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1400fc6a0]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x1400c3088
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x1400c30df
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0xc0000011
jne 0x1400c30ec
xor edx, edx
xor eax, eax
jmp 0x1400c3116
cmp eax, 0x103
je 0x1400c3120
test eax, eax
js 0x1400c30ff
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1400c3116
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.1400bd150
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1400b8480
mov ecx, 7
int 0x29
ud2

Function at 0x1400c3170
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1400fc6a0]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x1400c31a8
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400c3206
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x1400c3233
test eax, eax
js 0x1400c3212
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1400c3229
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.1400bd150
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1400b8480
mov ecx, 7
int 0x29
ud2
Function at 0x1400d8080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x1400d810a
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400d8100
cmp r11, r10
ja 0x1400d8186
cmp r10, rdx
ja 0x1400d8198
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x1400d8102
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400d80e0
jmp 0x1400d8167
ja 0x1400d810a
mov r11, r10
cmp rax, r8
jne 0x1400d80a7
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x1400d816b
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400d8140
mov r8, r10
sub ecx, r9d
jns 0x1400d815e
jmp 0x1400d816d
cmp r10, rdx
je 0x1400d817a
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1400d816d
xor al, 1
cmp r8, rdx
jne 0x1400d8120
jmp 0x1400d816d
xor eax, eax
jmp 0x1400d816d
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1400deeb0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400df390
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400df380
int3

Function at 0x1400dae78
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400daec2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400daec2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400daec2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400daec2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400daec2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400daec4
xor al, al
add rsp, 0x28
ret