joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c0360
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test r8, r8
je 0x100c03da
mov r11, rdx
mov rdx, qword [rsp + 0x70]
mov ebp, ecx
shr ebp, 8
lea r8, [r11 + r8*2]
xor eax, eax
mov rbx, r11
movzx edi, byte [r11 + 1]
add r11, 2
lea r10, [rax + rdi]
cmp byte [rbx], bpl
jne 0x100c03d0
cmp r10, rax
jb 0x100c046d
cmp r10, rdx
ja 0x100c0481
add rax, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x100c03d2
lea rsi, [rbx + 1]
cmp byte [rax + rbx], cl
mov rbx, rsi
jne 0x100c03b0
jmp 0x100c0442
ja 0x100c03da
mov rax, r10
cmp r11, r8
jne 0x100c0380
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x100c0446
mov rsi, qword [rsp + 0x78]
add rdx, rsi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea rbx, [rsi + 1]
movzx edi, byte [rsi]
test dil, dil
js 0x100c0420
mov rsi, rbx
sub ecx, edi
jns 0x100c0439
jmp 0x100c0448
cmp rbx, rdx
je 0x100c0453
movzx ebp, byte [rsi + 1]
add rsi, 2
and edi, 0x7f
shl edi, 8
or edi, ebp
sub ecx, edi
js 0x100c0448
xor al, 1
cmp rsi, rdx
jne 0x100c0400
jmp 0x100c0448
xor eax, eax
jmp 0x100c0448
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x10575be9]
lea r8, [0x10577f70]
mov edx, 0x2b
call dbg.panic
ud2
lea r8, [0x10577f58]
mov rcx, rax
mov rdx, r10
call dbg.slice_index_order_fail
ud2
lea r8, [0x10577f58]
mov rcx, r10
call dbg.slice_end_index_len_fail
ud2
Function at 0x100d9a20
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]

Function at 0x100d9a90
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x105a7264]
mov r12, rcx
test ebx, ebx
jle 0x100d9bc0
mov rax, qword [0x105a7268]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x100d9adc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x100d9b63
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x100d9ac0
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x100d9be2
mov rax, qword [0x105a7268]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x105a7268]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x100d9bc7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x100d9b5c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x100d9b70
add dword [0x105a7264], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x105a7268]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100d9b5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x100d9ae7
mov rax, qword [0x105a7268]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x100d9e90
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x105a72a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x105a7280]
test rbx, rbx
je 0x100d9ee4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x100d9edb
test r12, r12
je 0x100d9edb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x100d9ec0
lea rcx, [0x105a72a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x100da100
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x100da118
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x100da120
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x100da130
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
mov r8, rdx
lea rdx, [rax + rcx]
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x100da17c
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov ecx, dword [rax + 0xc]
mov rdx, rcx
cmp rcx, r8
ja 0x100da173
add edx, dword [rax + 8]
cmp rdx, r8
ja 0x100da17e
add rax, 0x28
cmp rax, r9
jne 0x100da160
xor eax, eax
ret

Function at 0x100da180
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sub.msvcrt.dll_strlen
cmp rax, 8
ja 0x100da210
mov rdx, qword [0x10589d60]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x100da1fe
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x100da1fe
cmp word [rax + 0x18], 0x20b
jne 0x100da1fe
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x100da210
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x100da1e9
add r12, 0x28
cmp r12, rsi
je 0x100da210
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x100da1e0
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

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

Disassembly:
mov rdx, qword [0x10589d60]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x100da240
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x100da248
ret
cmp word [r8 + 0x18], 0x20b
jne 0x100da240
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x100da295
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x100da28c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x100da240
add rax, 0x28
cmp rax, r9
jne 0x100da278
xor eax, eax
ret

Function at 0x100da2a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x10589d60]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x100da2c0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x100da2c8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x100da2c0
movzx r8d, word [rax + 6]
mov eax, r8d
ret
Function at 0x100da2e0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x10589d60]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x100da300
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x100da308
ret
cmp word [rdx + 0x18], 0x20b
jne 0x100da300
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x100da348
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x100da33f
test rcx, rcx
je 0x100da300
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x100da330
xor eax, eax
ret

Function at 0x100da350
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x10589d60]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x100da370
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x100da378
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

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

Disassembly:
mov rax, qword [0x10589d60]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x100da3b0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x100da3b8
mov eax, r8d
ret
cmp word [rdx + 0x18], 0x20b
jne 0x100da3b0
sub rcx, rax
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x100da3b0
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x100da3f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x100da408
add rax, 0x28
cmp r9, rax
jne 0x100da3e0
xor r8d, r8d
mov eax, r8d
ret
mov r8d, dword [rax + 0x24]
not r8d
shr r8d, 0x1f
mov eax, r8d
ret

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

Disassembly:
mov r11, qword [0x10589d60]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x100da442
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x100da450
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x100da442
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x100da442
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x100da442
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x100da49d
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x100da4b0
add rdx, 0x28
cmp r10, rdx
jne 0x100da488
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x100da4bf
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x100da4cf
mov edx, dword [rax + 0xc]
test edx, edx
je 0x100da4a6
test ecx, ecx
jg 0x100da4b8
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x100dc840
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r10d, 8
mov r11d, dword [rsp + 0x30]
mov rax, rcx
mov ecx, dword [rcx + 0xb94]
and edx, dword [rax + 0xb98]
sub r10d, ecx
shl edx, cl
mov ecx, r10d
shr r8d, cl
add edx, r8d
lea rdx, [rdx + rdx*2]
shl rdx, 9
lea r10, [rax + rdx + 0xb9c]
mov eax, dword [rsp + 0x38]
add eax, 0x100
test r9b, r9b
jne 0x100dc8c8
mov r9, qword [0x10589e60]
xor r8d, r8d
nop dword [rax]
mov ecx, eax
shr eax, 1
and ecx, 1
mov edx, eax
movzx edx, word [r10 + rdx*2]
neg ecx
and ecx, 0x7ff
xor edx, ecx
shr edx, 4
movzx edx, byte [r9 + rdx]
add r8d, edx
cmp eax, 1
jne 0x100dc898
mov eax, r8d
pop rbx
ret
mov r9, qword [0x10589e60]
mov ebx, 0x100
xor r8d, r8d
nop word [rax + rax]
add r11d, r11d
mov edx, eax
mov ecx, ebx
and ecx, r11d
shr edx, 8
add edx, ecx
mov ecx, eax
add eax, eax
add edx, ebx
shl ecx, 0x18
movzx edx, word [r10 + rdx*2]
sar ecx, 0x1f
and ecx, 0x7ff
xor edx, ecx
shr edx, 4
movzx edx, byte [r9 + rdx]
add r8d, edx
mov edx, r11d
xor edx, eax
not edx
and ebx, edx
cmp eax, 0xffff
jbe 0x100dc8e0
mov eax, r8d
pop rbx
ret
Function at 0x100ddef0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
mov r8, qword [0x10589e60]
mov ebx, dword [rcx + 0x4804]
mov eax, edx
movzx edx, word [rcx]
mov rbp, rax
mov dword [rcx + rax*4 + 0x4808], ebx
shr dx, 4
shl rbp, 4
mov r9, rdx
xor edx, 0x7f
add rax, rbp
and r9d, 0xfff
and edx, 0xfff
shl rax, 6
movzx r14d, byte [r8 + r9]
movzx r9d, byte [r8 + rdx]
lea rdi, [rcx + rax + 0x404]
movzx edx, word [rcx + 2]
shr dx, 4
mov r10, rdx
xor edx, 0x7f
and r10d, 0xfff
and edx, 0xfff
movzx esi, byte [r8 + r10]
movzx r10d, byte [r8 + rdx]
add esi, r9d
add r10d, r9d
test ebx, ebx
je 0x100de0d5
lea r12, [rbp + 4]
mov r13, rdi
xor r11d, r11d
nop dword [rax]
lea edx, [r11 + 8]
xor r9d, r9d
nop word [rax + rax]
mov r15d, edx
shr edx, 1
mov eax, edx
and r15d, 1
lea rax, [rcx + rax*2]
neg r15d
movzx eax, word [rax + r12]
and r15d, 0x7ff
xor eax, r15d
shr eax, 4
movzx eax, byte [r8 + rax]
add r9d, eax
cmp edx, 1
jne 0x100ddfa0
add r9d, r14d
add r11d, 1
add r13, 4
mov dword [r13 - 4], r9d
cmp ebx, r11d
jbe 0x100de0d5
cmp r11d, 7
jbe 0x100ddf90
cmp ebx, r11d
jbe 0x100de0d5
mov eax, r11d
add rbp, 0x104
lea r12, [rdi + rax*4]
nop word cs:[rax + rax]
mov edx, r11d
xor r9d, r9d
nop word cs:[rax + rax]
mov r13d, edx
shr edx, 1
mov eax, edx
and r13d, 1
lea rax, [rcx + rax*2]
neg r13d
movzx eax, word [rax + rbp]
and r13d, 0x7ff
xor eax, r13d
shr eax, 4
movzx eax, byte [r8 + rax]
add r9d, eax
cmp edx, 1
jne 0x100de020
add r9d, esi
lea eax, [r11 + 1]
add r12, 4
mov dword [r12 - 4], r9d
cmp ebx, eax
jbe 0x100de0d5
cmp eax, 0xf
ja 0x100de06e
mov r11d, eax
jmp 0x100de010
cmp ebx, eax
jbe 0x100de0d5
add rcx, 0x204
lea rdi, [rdi + rax*4]
add r11d, 0xf1
add ebx, 0xf0
nop word [rax + rax]
mov r9d, r11d
xor esi, esi
nop dword [rax]
mov edx, r9d
shr r9d, 1
and edx, 1
mov eax, r9d
movzx eax, word [rcx + rax*2]
neg edx
and edx, 0x7ff
xor eax, edx
shr eax, 4
movzx eax, byte [r8 + rax]
add esi, eax
cmp r9d, 1
jne 0x100de098
add esi, r10d
add r11d, 1
add rdi, 4
mov dword [rdi - 4], esi
cmp ebx, r11d
jne 0x100de090
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x100e0d90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push r14
push rdi
push rsi
push rbx
mov r10, rdx
not r8d
cmp rdx, 8
jbe 0x100e0e8e
test cl, 7
je 0x100e0dda
mov rdx, qword [0x10589df0]
lea rax, [rcx + r10]
nop dword [rax]
movzx r9d, byte [rcx]
add rcx, 1
mov r10, rax
sub r10, rcx
xor r9d, r8d
shr r8d, 8
movzx r9d, r9b
xor r8d, dword [rdx + r9*4]
test cl, 7
jne 0x100e0db8
mov rbx, r10
and r10d, 7
and rbx, 0xfffffffffffffff8
lea r14, [rbx + rcx]
cmp r14, rcx
jbe 0x100e0e8e
mov rdx, qword [0x10589df0]
mov r11, rcx
nop dword [rax]
mov r9d, dword [r11 + 4]
mov eax, dword [r11]
add r11, 8
mov edi, r9d
xor eax, r8d
movzx r8d, r9b
mov ebx, r9d
shr edi, 0x18
mov r8d, dword [rdx + r8*4 + 0xc00]
mov esi, eax
shr r9d, 0x10
xor r8d, dword [rdx + rdi*4]
movzx edi, al
shr esi, 0x10
movzx r9d, r9b
xor r8d, dword [rdx + rdi*4 + 0x1c00]
mov edi, eax
movzx esi, sil
movzx eax, ah
shr edi, 0x18
xor r8d, dword [rdx + rdi*4 + 0x1000]
movzx edi, bh
xor r8d, dword [rdx + rdi*4 + 0x800]
xor r8d, dword [rdx + r9*4 + 0x400]
xor r8d, dword [rdx + rax*4 + 0x1800]
xor r8d, dword [rdx + rsi*4 + 0x1400]
cmp r14, r11
ja 0x100e0e00
mov rax, rcx
not rax
lea rbx, [r14 + rax]
shr rbx, 3
lea rcx, [rcx + rbx*8 + 8]
test r10, r10
je 0x100e0ebc
mov rdx, qword [0x10589df0]
add r10, rcx
nop dword [rax]
movzx r9d, byte [rcx]
add rcx, 1
xor r9d, r8d
shr r8d, 8
movzx r9d, r9b
xor r8d, dword [rdx + r9*4]
cmp rcx, r10
jne 0x100e0ea0
mov eax, r8d
not eax
pop rbx
pop rsi
pop rdi
pop r14
ret

Function at 0x100e0ed0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
mov r10, rcx
mov rbx, rdx
not r8
cmp rdx, 4
jbe 0x100e0f9d
test cl, 3
je 0x100e0fd4
mov r11, qword [0x10589e00]
add rcx, rdx
nop dword [rax + rax]
movzx edx, byte [r10]
add r10, 1
mov rax, rcx
sub rax, r10
xor edx, r8d
shr r8, 8
movzx edx, dl
xor r8, qword [r11 + rdx*8]
test r10b, 3
jne 0x100e0f00
mov rsi, rax
and eax, 3
and rsi, 0xfffffffffffffffc
mov rbx, rax
add rsi, r10
cmp rsi, r10
jbe 0x100e0f9d
mov r11, qword [0x10589e00]
mov r9, r10
nop dword [rax]
mov edx, dword [r9]
add r9, 4
xor edx, r8d
shr r8, 0x20
mov eax, edx
movzx ecx, dl
shr eax, 0x18
mov rcx, qword [r11 + rcx*8 + 0x1800]
xor rcx, qword [r11 + rax*8]
movzx eax, dh
shr edx, 0x10
movzx edx, dl
xor r8, rcx
xor r8, qword [r11 + rax*8 + 0x1000]
xor r8, qword [r11 + rdx*8 + 0x800]
cmp rsi, r9
ja 0x100e0f48
mov rax, r10
not rax
add rsi, rax
shr rsi, 2
lea r10, [r10 + rsi*4 + 4]
test rbx, rbx
je 0x100e0fcb
mov r11, qword [0x10589e00]
lea rax, [r10 + rbx]
nop dword [rax]
movzx edx, byte [r10]
add r10, 1
xor edx, r8d
shr r8, 8
movzx edx, dl
xor r8, qword [r11 + rdx*8]
cmp r10, rax
jne 0x100e0fb0
mov rax, r8
not rax
pop rbx
pop rsi
ret
mov rax, rdx
jmp 0x100e0f22
Function at 0x100eded0
Capabilities:
Hash data with crc32

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbp, qword [sym.imp.msvcrt.dll__assert]
mov rdi, qword [0x10589df0]
mov r12, rbp
mov rbx, rcx
mov esi, edx
jmp 0x100edfaf
mov r8d, dword [rbx + 0x68]
cmp ecx, 2
jbe 0x100edfd0
cmp r8d, 1
je 0x100edff5
mov r8d, edx
add r8, qword [rbx]
add edx, dword [rbx + 0x14]
movzx eax, byte [r8]
mov r10d, edx
movzx edx, byte [r8 + 1]
mov r11, qword [rbx + 0x40]
xor edx, dword [rdi + rax*4]
movzx eax, byte [r8 + 2]
shl eax, 8
xor eax, edx
and eax, dword [rbx + 0x58]
and edx, 0x3ff
add eax, 0x400
lea rax, [r11 + rax*4]
mov r9d, dword [rax]
mov dword [r11 + rdx*4], r10d
mov edx, r10d
mov dword [rax], r10d
mov eax, dword [rbx + 0x54]
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 0x50]
mov dword [rsp + 0x30], eax
mov rax, qword [rbx + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rbx + 0x5c]
mov dword [rsp + 0x20], eax
call sym.bt_skip_func
mov eax, dword [rbx + 0x50]
add eax, 1
mov dword [rbx + 0x50], eax
cmp eax, dword [rbx + 0x54]
jne 0x100edf8c
mov dword [rbx + 0x50], 0
mov eax, dword [rbx + 0x18]
add eax, 1
mov dword [rbx + 0x18], eax
cmp eax, dword [rbx + 0x24]
ja 0x100ee020
add eax, dword [rbx + 0x14]
cmp eax, 0xffffffff
je 0x100ee045
sub esi, 1
je 0x100ee00c
mov eax, dword [rbx + 0x24]
mov edx, dword [rbx + 0x18]
mov r8d, dword [rbx + 0x60]
mov ecx, eax
sub ecx, edx
cmp r8d, ecx
ja 0x100edef8
mov ecx, r8d
jmp 0x100edf0f
test r8d, r8d
jne 0x100edff5
lea rdx, str.xz_5.2_src_liblzma_lz_lz_encoder_mf.c
mov r8d, 0x290
lea rcx, str.mf__action___LZMA_RUN
call qword [sym.imp.msvcrt.dll__assert]
mov edx, dword [rbx + 0x18]
mov eax, dword [rbx + 0x24]
add edx, 1
mov dword [rbx + 0x18], edx
cmp edx, eax
ja 0x100ee0b8
add dword [rbx + 0x28], 1
sub esi, 1
jne 0x100edfaf
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov r8d, 0x9c
lea rdx, str.xz_5.2_src_liblzma_lz_lz_encoder_mf.c
lea rcx, str.mf__read_pos___mf__write_pos
call rbp
mov eax, dword [rbx + 0x18]
add eax, dword [rbx + 0x14]
cmp eax, 0xffffffff
jne 0x100edfaa
mov ecx, dword [rbx + 0x54]
mov edx, dword [rbx + 0x6c]
not ecx
test edx, edx
je 0x100ee07a
mov r9, qword [rbx + 0x40]
xor eax, eax
nop word [rax + rax]
mov edx, eax
lea r8, [r9 + rdx*4]
mov edx, dword [r8]
cmp ecx, edx
jae 0x100ee0d8
sub edx, ecx
add eax, 1
mov dword [r8], edx
cmp eax, dword [rbx + 0x6c]
jb 0x100ee060
mov eax, dword [rbx + 0x70]
test eax, eax
je 0x100ee0aa
mov r9, qword [rbx + 0x48]
xor eax, eax
nop word [rax + rax]
mov edx, eax
lea r8, [r9 + rdx*4]
mov edx, dword [r8]
cmp ecx, edx
jae 0x100ee0f0
sub edx, ecx
add eax, 1
mov dword [r8], edx
cmp eax, dword [rbx + 0x70]
jb 0x100ee090
sub dword [rbx + 0x14], ecx
jmp 0x100edfaa
mov r8d, 0xb5
lea rdx, str.xz_5.2_src_liblzma_lz_lz_encoder_mf.c
lea rcx, str.mf__read_pos___mf__write_pos
call r12
jmp 0x100ee003
mov dword [r8], 0
add eax, 1
cmp dword [rbx + 0x6c], eax
ja 0x100ee060
jmp 0x100ee07a
mov dword [r8], 0
add eax, 1
cmp dword [rbx + 0x70], eax
ja 0x100ee090
sub dword [rbx + 0x14], ecx
jmp 0x100edfaa
Function at 0x100ee910
Capabilities:
Hash data with crc32

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
mov r13d, dword [rcx + 0x18]
mov r14d, dword [rcx + 0x60]
mov rsi, rdx
mov edx, dword [rcx + 0x24]
mov r12, rcx
mov eax, edx
sub eax, r13d
cmp r14d, eax
jbe 0x100ee945
mov r14d, eax
cmp eax, 2
jbe 0x100eea90
mov ebx, r13d
add rbx, qword [r12]
mov rdx, qword [0x10589df0]
movzx ecx, byte [rbx]
mov r8, qword [r12 + 0x40]
movzx eax, byte [rbx + 1]
add r13d, dword [r12 + 0x14]
xor eax, dword [rdx + rcx*4]
mov edi, r13d
mov edx, eax
and eax, 0x3ff
lea rcx, [r8 + rax*4]
movzx eax, byte [rbx + 2]
sub edi, dword [rcx]
shl eax, 8
xor eax, edx
and eax, dword [r12 + 0x58]
add eax, 0x400
lea rax, [r8 + rax*4]
mov r9d, dword [rax]
mov dword [rcx], r13d
mov dword [rax], r13d
mov eax, dword [r12 + 0x54]
cmp eax, edi
jbe 0x100ee9af
mov ebp, edi
mov rdx, rbx
movzx ecx, byte [rbx]
sub rdx, rbp
cmp byte [rdx], cl
je 0x100eea18
mov ecx, dword [r12 + 0x50]
mov r8, qword [r12 + 0x48]
mov r10, rsi
mov edx, 2
mov dword [rsp + 0x38], eax
mov eax, dword [r12 + 0x5c]
mov dword [rsp + 0x48], edx
mov edx, r13d
mov dword [rsp + 0x30], ecx
mov ecx, r14d
mov qword [rsp + 0x28], r8
mov r8, rbx
mov qword [rsp + 0x40], r10
mov dword [rsp + 0x20], eax
call sym.hc_find_func
mov rcx, r12
sub rax, rsi
mov r13, rax
sar r13, 3
call sym.move_pos
mov eax, r13d
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
cmp r14d, 1
jbe 0x100eeac0
test r14d, r14d
js 0x100eeb60
cmp r14d, 2
je 0x100eeb89
mov rax, rbx
mov edx, 2
sub rax, rbp
add rax, 2
jmp 0x100eea60
add edx, 1
add rax, 1
cmp r14d, edx
jbe 0x100eeb90
movzx ecx, byte [rax + rbp]
cmp byte [rax], cl
je 0x100eea50
sub edi, 1
mov dword [rsi], edx
mov eax, dword [r12 + 0x54]
lea r10, [rsi + 8]
mov ecx, dword [r12 + 0x50]
mov r8, qword [r12 + 0x48]
mov dword [rsi + 4], edi
jmp 0x100ee9c1
mov eax, dword [rcx + 0x68]
test eax, eax
je 0x100eeb30
add r13d, 1
mov dword [r12 + 0x18], r13d
cmp r13d, edx
ja 0x100eeb10
add dword [r12 + 0x28], 1
xor r13d, r13d
jmp 0x100eea00
sub edi, 1
mov dword [rsp + 0x5c], r9d
mov r8d, 0x2e
lea rdx, [0x105558a0]
lea rcx, [0x105558c6]
call qword [sym.imp.msvcrt.dll__assert]
mov dword [rsi], 2
mov r8, qword [r12 + 0x48]
mov edx, 2
mov ecx, dword [r12 + 0x50]
mov r9d, dword [rsp + 0x5c]
mov dword [rsi + 4], edi
mov eax, dword [r12 + 0x54]
lea r10, [rsi + 8]
jmp 0x100ee9c1
mov r8d, 0xb5
lea rdx, str.xz_5.2_src_liblzma_lz_lz_encoder_mf.c
lea rcx, str.mf__read_pos___mf__write_pos
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x100eeaa9
lea rdx, str.xz_5.2_src_liblzma_lz_lz_encoder_mf.c
mov r8d, 0x133
lea rcx, str.mf__action___LZMA_RUN
call qword [sym.imp.msvcrt.dll__assert]
mov r13d, dword [r12 + 0x18]
mov edx, dword [r12 + 0x24]
jmp 0x100eea9b
mov dword [rsp + 0x5c], r9d
mov r8d, 0x2f
lea rdx, [0x105558a0]
lea rcx, [0x105558d3]
call qword [sym.imp.msvcrt.dll__assert]
mov r9d, dword [rsp + 0x5c]
jmp 0x100eea35
mov edx, 2
nop
sub edi, 1
mov r8, qword [r12 + 0x48]
mov ecx, dword [r12 + 0x50]
mov dword [rsi], edx
mov dword [rsi + 4], edi
cmp r14d, edx
jne 0x100eeaff
mov dword [r8 + rcx*4], r9d
mov rcx, r12
mov r13d, 1
call sym.move_pos
jmp 0x100eea00