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

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1400041f8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000421e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140004220
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140004279
test ecx, ecx
jle 0x140004259
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140004279
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140004279
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x1400042a0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400042c2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400042d8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400042f4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400042f6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004332
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400043ce
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000436d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400043ae
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400043ce
cmp rbx, rax
ja 0x140004380
test rbx, rbx
je 0x1400043ce
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140004830
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000485d
xor eax, eax
jmp 0x1400049c9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004897
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140004897
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400049c9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400049bc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400048da
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140004905
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400049c1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140004974
sub eax, 1
je 0x140004974
cmp eax, 2
jne 0x1400049bc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400049c1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400049a2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400049bc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400049c1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140006160
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140004e80
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140004f53
cmp byte [rcx + 0x71], 0
je 0x140004f53
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140004f4f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140004f14
sub eax, 1
je 0x140004f18
cmp eax, 2
jne 0x140004f4f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140006160
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140004f46
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140004f4f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140004efc
xor al, al
jmp 0x140004efc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140006160
add rsp, 0x60
pop rbx
ret

Function at 0x140006ae0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006b2a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006b2a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006b2a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006b2a
cmp dword [rcx + 0x84], 0xe
jbe 0x140006b2a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140006b2c
xor al, al
add rsp, 0x28
ret
Function at 0x14070058c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140700596
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1407005bf
pop rbp
sub rbp, 0x33
sub rbp, 0x70058c
sub rsp, 0x20
jmp 0x1407005de
mov rax, 0x70058c
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0x18932b86
xor byte [rax], dl
inc rax
dec rcx
jne 0x1407005fd
jmp 0x140700614
invalid

Function at 0x141b4c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141b4c1df
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 0x141b4c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b4c06f
add dl, dl
jne 0x141b4c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b4c0f6
xor eax, eax
add dl, dl
jne 0x141b4c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b4c1ad
add dl, dl
jne 0x141b4c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b4c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b4c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b4c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141b4c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141b4c07e
mov eax, 1
add dl, dl
jne 0x141b4c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b4c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b4c0fb
sub eax, ebx
mov ebx, 1
jne 0x141b4c14c
mov ecx, 1
add dl, dl
jne 0x141b4c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141b4c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b4c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b4c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141b4c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141b4c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b4c15d
cmp eax, 0x7d00
jae 0x141b4c19b
cmp eax, 0x500
jb 0x141b4c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b4c07e
cmp eax, 0x7f
ja 0x141b4c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b4c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141b4c1d2
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 0x141b4c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003e5d
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov esi, dword [0x14016b150]
test esi, esi
je 0x140003edd
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
cmp rax, 1
ja 0x140003ed2
je 0x140003ed0
mov ebx, 1
lock xadd qword [0x14016b130], rbx
test rbx, rbx
je 0x140003eed
mov ecx, 0x10
mov edx, 8
call fcn.140040b7a
mov rdi, rax
mov qword [rax], rbx
mov dword [rax + 8], esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
mov rbx, rax
mov ecx, esi
mov rdx, rdi
call sub.kernel32.dll_TlsSetValue
test rbx, rbx
je 0x140003ed2
mov rcx, rbx
call fcn.1400103d8
jmp 0x140003ed2
xor edi, edi
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x14016b138]
call fcn.140079770
mov esi, eax
jmp 0x140003e70
lea rax, [0x140186358]
lea rcx, [rsp + 0x20]
mov qword [rcx], rax
mov qword [rcx + 8], 1
mov qword [rcx + 0x10], 8
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea rdx, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.8_srcutilpool.rsC:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.8_srcutilprefilter_aho_corasick.rs
call fcn.14002c9f0
int3

Function at 0x1400048ad
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x14000e5ef
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
mov rdi, rdx
mov rsi, rcx
movabs r13, 0x8000000000000000
lea rbx, [rdx + 0x48]
lea r14, [rsp + 0x70]
mov r8d, 0xa8
mov rcx, r14
mov rdx, rbx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov qword [rdi + 0x48], r13
lea rax, [r13 + 1]
cmp qword [r14], rax
jne 0x14000e7b7
cmp qword [rsp + 0x78], r13
jne 0x14000e659
mov r15, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
jmp 0x14000e780
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x78]
mov rcx, qword [rax + 0x30]
mov qword [rsp + 0x60], rcx
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
mov bpl, byte [rdi + 0xf7]
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
lea r9, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_2.2.0_srczipcrypto.rs
mov r8d, 0xb
mov rcx, r14
mov rdx, r15
call fcn.1400b30ba
mov byte [rax], bpl
mov ecx, dword [rsp + 0x60]
mov r11d, dword [rsp + 0x58]
mov eax, dword [rsp + 0x5c]
xor edx, edx
lea r8, [0x140191f58]
mov r9d, 0xff
cmp r15, rdx
je 0x14000e72f
mov r10b, byte [r14 + rdx]
mov esi, ecx
or esi, 3
mov ebp, esi
and ebp, 0xfffffffe
mov r12d, r11d
shr r12d, 8
xor r11b, r10b
movzx r11d, r11b
xor r12d, dword [r8 + r11*4]
imul ebp, esi
mov r11d, r12d
and r12d, r9d
add r12d, eax
imul eax, r12d, 0x8088405
inc eax
mov esi, eax
shr esi, 0x18
mov r12d, ecx
and ecx, r9d
xor ecx, esi
shr ebp, 8
shr r12d, 8
xor r12d, dword [r8 + rcx*4]
xor bpl, r10b
mov byte [r14 + rdx], bpl
inc rdx
mov ecx, r12d
jmp 0x14000e6ce
lea r12, [rsp + 0x48]
mov dword [r12 + 0x18], ecx
mov dword [r12 + 0x10], r11d
mov dword [r12 + 0x14], eax
mov rcx, r12
mov rdx, r14
mov r8, r15
call fcn.140005559
mov r14, rax
mov r15, qword [r12]
mov rbp, qword [r12 + 8]
mov rcx, qword [r12 - 0x18]
mov rdx, qword [r12 - 0x10]
call fcn.1400747f4
test r14, r14
mov rsi, qword [rsp + 0x28]
je 0x14000e780
and qword [rsi], 0
mov qword [rsi + 8], r14
jmp 0x14000e7a3
mov rcx, rbx
call fcn.14000fec8
lea rax, [r13 + 1]
mov qword [rdi + 0x48], rax
mov qword [rdi + 0x50], r13
mov qword [rdi + 0x58], r15
mov qword [rdi + 0x60], rbp
mov qword [rsi], 5
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.internal_error:_entered_unreachable_codeC:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001fzopfli_0.8.1_srcutil.rs
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_2.2.0_srcwrite.rs
mov edx, 0x28
call fcn.14002d650
int3
Function at 0x1400230a3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x248
mov esi, r9d
mov r15, rcx
mov rcx, rdx
mov rdx, r8
call fcn.14000500f
mov rcx, rax
call fcn.140012432
movabs r12, 0x8000000000000000
test rax, rax
je 0x140023131
mov rdi, rdx
mov qword [rsp + 0x68], rdx
and qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 1
and qword [rsp + 0x60], 0
lea r14, [rsp + 0x140]
mov rcx, r14
call fcn.140099440
cmp dword [r14], 2
jne 0x140023139
mov rax, qword [rsp + 0x148]
lea rcx, [rsp + 0x100]
mov qword [rcx], rax
mov qword [rcx - 8], 1
jmp 0x1400231fa
mov qword [r15], r12
jmp 0x140023777
mov rbx, qword [rsp + 0x178]
lea r8, [rsp + 0xf8]
and qword [r8], 0
mov rcx, rdi
xor edx, edx
mov r9d, 1
call sub.kernel32.dll_SetFilePointerEx
test eax, eax
je 0x1400231da
mov byte [rsp + 0x2f], sil
xor esi, esi
sub rbx, qword [rsp + 0xf8]
cmovae rsi, rbx
test rsi, rsi
je 0x140023265
cmp rsi, 9
mov r13d, 8
cmovae r13, rsi
mov rdx, r13
not rdx
shr rdx, 0x3f
lea r9, [rsp + 0x140]
and qword [r9 + 8], 0
lea rdi, [rsp + 0xf8]
mov rcx, rdi
mov r8, r13
call fcn.1400366a0
cmp qword [rdi], 0
je 0x1400236e2
mov qword [rsp + 0x140], 1
movabs rax, 0x2600000003
jmp 0x14002374a
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
lea rcx, [rsp + 0x148]
mov qword [rcx - 8], 1
mov qword [rcx], rax
call fcn.1400784a0
mov r13, qword [rsp + 0x50]
mov edi, 0x2000
mov dword [rsp + 0x40], 0
cmp r13, 0x20
jae 0x140023259
lea rcx, [rsp + 0x68]
lea rdx, [rsp + 0x50]
call case.0x14009b7b3.107
mov rcx, rax
mov rax, rdx
test rcx, rcx
jne 0x14002373e
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x2f], sil
mov qword [rsp + 0x30], r15
test rax, rax
je 0x1400235be
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
jmp 0x1400232af
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x2f], sil
jmp 0x1400232a5
mov r13, qword [rsp + 0x50]
lea rdi, [rsi + 0x400]
mov eax, edi
and eax, 0x1fff
mov ecx, 0x2000
mov edx, 0x2000
sub rdx, rax
add rdi, rdx
setb al
test al, 1
cmovne rdi, rcx
mov al, 1
mov dword [rsp + 0x40], eax
test rsi, rsi
je 0x14002371b
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r15
xor esi, esi
mov r14, r13
lea rax, [rsp + 0x68]
mov r12, qword [rax]
xor r15d, r15d
lea rbp, [rsp + 0xf8]
lea rdi, [rsp + 0x140]
lea rbx, [0x140170360]
mov qword [rsp + 0x48], r13
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r13
mov al, 1
mov dword [rsp + 0x40], eax
cmp rsi, 0xfffffffffffffbff
jbe 0x14002378c
mov qword [rsp + 0x30], r15
mov eax, 0x2000
mov qword [rsp + 0x38], rax
jmp 0x1400232aa
mov sil, byte [rsp + 0x2f]
jmp 0x140023211
lea rdi, [rsi + 0x400]
mov rax, rdi
and rax, 0x1fff
jne 0x140023278
jmp 0x1400232a0
Function at 0x14002b29c
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret

Function at 0x140030bc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140030c40
cmp r10, r11
jb 0x140030cb7
cmp r10, rdx
ja 0x140030cc9
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140030c42
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140030c20
jmp 0x140030ca4
ja 0x140030c4a
mov r11, r10
cmp rax, r8
jne 0x140030bee
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140030c80
mov rdi, r8
sub ecx, edx
jns 0x140030c9b
jmp 0x140030ca6
cmp r8, rsi
je 0x140030cd8
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140030ca6
xor al, 1
cmp rdi, rsi
jne 0x140030c60
jmp 0x140030ca6
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14002e8e0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14002d370
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.14002ea60
int3
Function at 0x140032e5e
Capabilities:
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r9, r8
mov rax, rdx
not ecx
lea rdi, [0x14017c488]
mov ebx, 0xff
lea rsi, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.4.2_src_baseline.rs
cmp r9, 0x40
jb 0x140032f8e
mov r14d, 4
sub r14, 1
jb 0x140032e83
cmp r9, 0xf
jbe 0x140032fbb
movzx edx, byte [rax + 0xf]
movzx r8d, byte [rax + 0xe]
mov ebp, dword [rdi + r8*4 + 0x400]
xor ebp, dword [rdi + rdx*4]
movzx edx, byte [rax + 0xd]
xor ebp, dword [rdi + rdx*4 + 0x800]
movzx edx, byte [rax + 0xc]
xor ebp, dword [rdi + rdx*4 + 0xc00]
movzx edx, byte [rax + 0xb]
xor ebp, dword [rdi + rdx*4 + 0x1000]
movzx edx, byte [rax + 0xa]
xor ebp, dword [rdi + rdx*4 + 0x1400]
movzx edx, byte [rax + 9]
xor ebp, dword [rdi + rdx*4 + 0x1800]
movzx edx, byte [rax + 8]
xor ebp, dword [rdi + rdx*4 + 0x1c00]
movzx edx, byte [rax + 7]
xor ebp, dword [rdi + rdx*4 + 0x2000]
movzx edx, byte [rax + 6]
xor ebp, dword [rdi + rdx*4 + 0x2400]
movzx edx, byte [rax + 5]
xor ebp, dword [rdi + rdx*4 + 0x2800]
movzx edx, byte [rax + 4]
xor ebp, dword [rdi + rdx*4 + 0x2c00]
mov edx, ecx
shr edx, 0x18
movzx r8d, byte [rax + 3]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3000]
mov edx, ecx
shr edx, 0x10
and edx, ebx
movzx r8d, byte [rax + 2]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3400]
mov edx, ecx
shr edx, 8
and edx, ebx
movzx r8d, byte [rax + 1]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3800]
and ecx, ebx
movzx edx, byte [rax]
xor edx, ecx
xor ebp, dword [rdi + rdx*4 + 0x3c00]
mov rcx, rax
mov rdx, r9
mov r8, rsi
call fcn.1400334a1
mov r9, rdx
mov ecx, ebp
jmp 0x140032e93
xor edx, edx
cmp r9, rdx
je 0x140032fac
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x140032f90
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.4.2_src_baseline.rs
mov ecx, 0xf
mov rdx, r9
call fcn.14002caa0
int3