joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140042900
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 0x140042942
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14004294a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14004295b
jmp 0x140042972
xor r10d, r10d
jmp 0x1400429fd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140042972
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140042989
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 0x1400429a9
add r11, r8
jmp 0x140042ada
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 0x140042a72
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 0x140042a20
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x140042a90
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140042aa2
jmp 0x140042abc
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x140042abc
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140042ad6
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 0x1400468d0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, r9
mov rdi, rcx
add r8, rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], r8
mov word [rsp + 0x50], 0
mov dword [rsp + 0x58], 1
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x40]
call sym._ZN98__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_I_GT__GT_9from_iter17he211f7c00e
mov rax, qword [rsp + 0xe0]
add rax, rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rax
mov word [rsp + 0x50], 0
mov dword [rsp + 0x58], 1
lea rcx, [rsp + 0x60]
lea rbx, [rsp + 0x40]
mov rdx, rbx
call sym._ZN98__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_I_GT__GT_9from_iter17he211f7c00e
mov rsi, qword [rsp + 0x78]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x20], rbx
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9d, 0x20019
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x1400469b2
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x14004698d
mov rcx, qword [rsp + 0x60]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1400469ab
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call sym.__rust_dealloc
xor ebx, ebx
jmp 0x140046a46
mov r14, qword [rsp + 0x40]
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x38], 0
mov rdi, qword [rsp + 0x60]
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
sete bl
mov r15d, dword [rsp + 0x38]
mov rcx, r14
call fcn.1402686ec
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x140046a28
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x140046a46
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call sym.__rust_dealloc
shl r15, 8
movzx eax, bl
or rax, r15
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14004ea60
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rdx
mov rdi, rcx
movups xmm0, xmmword [rdx + 0x20]
movups xmm1, xmmword [rdx + 0x30]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
mov rax, qword [rdx + 0x10]
movzx ebp, byte [rdx + 0x18]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x38], bpl
mov rax, qword [0x14037ba78]
movzx eax, byte [rax]
mov ecx, 0x5f0
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14004ecc6
mov rbx, rax
movabs r15, 0x800000000000000
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.msvcrt.dll_memset
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x20], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
nop dword [rax]
mov eax, 1
lock xadd qword [0x1403b8068], rax
mov r13, rax
xor r13, rcx
lea r11, [rdx + r13]
mov r14, r13
rol r14, 0x10
xor r14, r11
lea r12, [r14 + r8]
rol r14, 0x15
add r13, r9
mov r11, r13
xor r11, r10
rol r13, 0x20
xor rax, r12
add rax, r11
rol r11, 0xd
xor r12, r15
xor r11, rax
rol rax, 0x20
xor r12, r14
add r13, r12
rol r12, 0x10
xor r12, r13
add rax, r12
rol r12, 0x15
add r13, r11
rol r11, 0x11
xor r12, rax
xor r11, r13
rol r13, 0x20
xor rax, r15
add rax, r11
rol r11, 0xd
xor r11, rax
rol rax, 0x20
xor r13, 0xff
add r13, r12
rol r12, 0x10
xor r12, r13
add rax, r12
rol r12, 0x15
add r13, r11
rol r11, 0x11
xor r11, r13
rol r13, 0x20
xor r12, rax
add rax, r11
rol r11, 0xd
xor r11, rax
rol rax, 0x20
add r13, r12
rol r12, 0x10
xor r12, r13
add rax, r12
rol r12, 0x15
add r13, r11
rol r11, 0x11
xor r11, r13
rol r13, 0x20
xor r12, rax
add rax, r11
rol r11, 0xd
add r13, r12
rol r12, 0x10
xor r12, r13
rol r12, 0x15
xor r11, rax
add r13, r11
rol r11, 0x11
mov rax, r13
rol rax, 0x20
xor rax, r11
xor rax, r12
xor rax, r13
je 0x14004eb20
mov rcx, qword [rsi + 0x40]
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rdi + 0x128], xmm1
movups xmmword [rdi + 0x118], xmm0
mov rdx, qword [rsp + 0x28]
mov qword [rdi + 0x138], rdx
mov byte [rdi + 0x140], bpl
mov qword [rdi], 0
mov qword [rdi + 8], rbx
mov qword [rdi + 0x80], 0
mov qword [rdi + 0x88], rbx
mov rdx, qword [rsp + 0x20]
mov qword [rdi + 0x100], rdx
mov qword [rdi + 0x108], rax
mov qword [rdi + 0x110], rcx
mov rcx, qword [rsi + 0x48]
test rcx, rcx
je 0x14004ecb2
mov rdx, qword [rsi + 0x50]
test rdx, rdx
je 0x14004ecb2
mov r8d, 1
call sym.__rust_dealloc
mov rax, rdi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0x5f0
call dbg.handle_alloc_error
ud2

Function at 0x14004f2f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
lea rcx, sym.std::sys::common::thread_local::os_local::destroy_value::h75b8c1acbc27b7b4
jmp sym.std::sys::common::thread_local::os_local::Key_T_::get::h98a2e825774c6995
Function at 0x140053620
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, qword [rcx]
mov rsi, qword [rdi]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140053637
dec ecx
jmp 0x140053641
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
mov edx, 1
call fcn.14026861c
mov edx, 0x28
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140053669
dec ecx
jmp 0x140053673
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
xor esi, esi
xor edx, edx
call fcn.14026861c
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x1400536b0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, qword [rcx]
mov rsi, qword [rdi]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400536c7
dec ecx
jmp 0x1400536d1
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
mov edx, 1
call fcn.14026861c
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400536f9
dec ecx
jmp 0x140053703
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
xor esi, esi
xor edx, edx
call fcn.14026861c
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140056970
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rdx
mov rbx, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x1400569a1
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400569b6
cmp qword [rax + 8], 0
je 0x1400569b6
add rax, 0x10
jmp 0x140056aa9
mov rcx, rbx
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140056991
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x140056a8e
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140056aa7
mov rdi, rax
test rax, rax
jne 0x140056a1f
mov rax, qword [0x14037ba78]
movzx eax, byte [rax]
mov ecx, 0x28
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140056ac0
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 8], 0
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x140056ab1
dec ecx
mov rdx, rdi
call fcn.14026861c
test rsi, rsi
je 0x140056a57
mov rax, qword [rsi]
mov qword [rsi], 0
cmp rax, 1
jne 0x140056a57
mov r9, qword [rsi + 8]
movzx r8d, byte [rsi + 0x10]
movzx edx, byte [rsi + 0x11]
movzx eax, word [rsi + 0x16]
mov word [rsp + 0x2c], ax
mov eax, dword [rsi + 0x12]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsi + 0x18]
jmp 0x140056a61
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
mov qword [rdi + 8], 1
lea rax, [rdi + 0x10]
mov qword [rdi + 0x10], r9
mov byte [rdi + 0x18], r8b
mov byte [rdi + 0x19], dl
mov edx, dword [rsp + 0x28]
mov dword [rdi + 0x1a], edx
movzx edx, word [rsp + 0x2c]
mov word [rdi + 0x1e], dx
mov qword [rdi + 0x20], rcx
jmp 0x140056aa9
mov rcx, rbx
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x1400569d2
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, rbx
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
jmp 0x140056a17
mov ecx, 8
mov edx, 0x28
call dbg.handle_alloc_error
ud2
Function at 0x140056ae0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x140056b11
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140056b26
cmp qword [rax + 8], 0
je 0x140056b26
add rax, 0x10
jmp 0x140056bd0
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140056b01
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x140056bb5
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140056bce
mov rbx, rax
test rax, rax
jne 0x140056b87
mov rax, qword [0x14037ba78]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140056be4
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], 0
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x140056bd8
dec ecx
mov rdx, rbx
call fcn.14026861c
test rsi, rsi
je 0x140056ba1
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x140056ba3
mov rcx, qword [rsi + 8]
jmp 0x140056ba3
xor ecx, ecx
lea rax, [rbx + 0x10]
mov qword [rbx + 8], 1
mov qword [rbx + 0x10], rcx
jmp 0x140056bd0
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x140056b42
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
jmp 0x140056b7f
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2

Function at 0x1400580f0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [rcx]
mov rdi, qword [rsi]
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x140058107
dec ecx
jmp 0x140058111
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
mov edx, 1
call fcn.14026861c
cmp qword [rsi + 8], 0
je 0x14005814d
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx + 0x820]
lea rdx, [rax - 1]
mov qword [rcx + 0x820], rdx
cmp qword [rcx + 0x818], 0
jne 0x14005814d
cmp rax, 1
jne 0x14005814d
call sym.crossbeam_epoch::internal::Local::finalize::h72beafac4484a188
mov edx, 0x18
mov r8d, 8
mov rcx, rsi
call sym.__rust_dealloc
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x14005816b
dec ecx
jmp 0x140058175
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
xor esi, esi
xor edx, edx
call fcn.14026861c
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140059370
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
lea rcx, sym.std::sys::common::thread_local::os_local::destroy_value::h881601656ed136e3
jmp sym.std::sys::common::thread_local::os_local::Key_T_::get::h83a38308a2c53656
Function at 0x140059470
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x1400594a6
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400594bb
mov r14, rax
cmp qword [rax + 8], 0
je 0x1400594bb
add r14, 0x10
jmp 0x1400595b3
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140059493
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x140059597
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400595b0
mov rbx, rax
test rax, rax
jne 0x140059524
mov rax, qword [0x14037ba78]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400595d6
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], 0
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x1400595c7
dec ecx
mov rdx, rbx
call fcn.14026861c
test rsi, rsi
je 0x14005953a
mov rax, qword [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
jne 0x140059553
mov rax, qword [0x1403b8070]
cmp rax, 3
jne 0x1400595c0
lea rcx, [0x1403b8078]
call sym.crossbeam_epoch::internal::Local::register::ha9e726fc3a83f150
lea r14, [rbx + 0x10]
mov rcx, qword [rbx + 0x10]
cmp qword [rbx + 8], 0
mov qword [rbx + 8], 1
mov qword [rbx + 0x10], rax
je 0x1400595b3
mov rax, qword [rcx + 0x820]
lea rdx, [rax - 1]
mov qword [rcx + 0x820], rdx
cmp qword [rcx + 0x818], 0
jne 0x1400595b3
cmp rax, 1
jne 0x1400595b3
call sym.crossbeam_epoch::internal::Local::finalize::h72beafac4484a188
jmp 0x1400595b3
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x1400594d7
xor r14d, r14d
mov rax, r14
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call sym._ZN15crossbeam_epoch4sync9once_lock17OnceLock_LT_T_GT_10initialize17h2c29988a9010c92cE.llvm.16884549766834122640
jmp 0x140059547
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
jmp 0x14005951c
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x14005d030
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 0x14005d072
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14005d07a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14005d08b
jmp 0x14005d0a2
xor r10d, r10d
jmp 0x14005d12d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14005d0a2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14005d0b9
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 0x14005d0d9
add r11, r8
jmp 0x14005d20a
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 0x14005d1a2
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 0x14005d150
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x14005d1c0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x14005d1d2
jmp 0x14005d1ec
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14005d1ec
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14005d206
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 0x14005dab0
Capabilities:
Read file via mapping

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
add r8, rdx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x80], r8
mov word [rsp + 0x88], 0
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x78]
call sym._ZN98__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_I_GT__GT_9from_iter17hbae47aabca
mov rdx, qword [rsp + 0x50]
cmp rdx, qword [rsp + 0x48]
jne 0x14005db01
lea rcx, [rsp + 0x40]
call sym.alloc::raw_vec::RawVec_T_A_::reserve_for_push::h5c1ba5296fd6c610
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x40]
mov word [rax + rdx*2], 0
inc qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call sub.kernel32.dll_CreateFileW
mov rbx, rax
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14005db62
mov rcx, qword [rsp + 0x40]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
cmp rbx, 0xffffffffffffffff
je 0x14005dc03
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.kernel32.dll_CreateFileMappingW
mov rdi, rax
mov rcx, rbx
call fcn.1402681e4
test rdi, rdi
je 0x14005dc03
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_MapViewOfFile
test rax, rax
je 0x14005dc29
mov rbx, rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov r8d, 0x30
mov rcx, rax
call sub.kernel32.dll_VirtualQuery
mov rax, qword [rsp + 0x58]
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rdi
mov qword [rsi], 0
jmp 0x14005dc1b
call sym.std::sys::windows::os::errno::h92e81c83b4bbfeb7
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rax, rsi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
call sym.std::sys::windows::os::errno::h92e81c83b4bbfeb7
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rcx, rdi
call fcn.1402681e4
mov qword [rsi + 8], rbx
jmp 0x14005dc14

Function at 0x14005e1f0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
mov r14, qword [rdx + 8]
cmp r14, 2
jb 0x14005e25e
mov ebp, dword [rdx + 0x10]
mov r15, qword [rdx]
lea rdi, sym._ZN4core3ptr55drop_in_place_LT_pelite..rich_structure..RichRecord_GT_17h3584ceb040bb9803E.llvm.1890481901540292510
lea rbx, [rsp + 0x20]
nop dword [rax + rax]
mov eax, dword [r15]
xor eax, ebp
movzx ecx, ax
and eax, 0xffff0000
mov edx, dword [r15 + 4]
xor edx, ebp
shl rdx, 0x20
or rax, rdx
or rcx, rax
add r14, 0xfffffffffffffffe
mov qword [rsp + 0x20], rcx
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call sym.core::fmt::builders::DebugSet::entry::h81fb8ea589ff478a
add r15, 8
cmp r14, 1
ja 0x14005e220
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400619f0
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov rax, rcx
test r9, r9
je 0x140061a3e
mov ecx, dword [rdx + 0x3c]
lea r11, [rdx + rcx]
sub r9, qword [r11 + 0x30]
jb 0x140061ad9
mov r10d, dword [r11 + 0x50]
cmp r9, r10
ja 0x140061ad9
mov r10, qword [rsp + 0x70]
mov esi, r9d
add rsi, rdx
dec r10
test rsi, r10
je 0x140061a47
mov byte [rax + 8], 4
jmp 0x140061add
mov byte [rax + 8], 0
jmp 0x140061add
mov r10, qword [rsp + 0x68]
lea r12, [rdx + rcx]
add r12, 0x18
movzx ebx, word [r11 + 0x14]
add r12, rbx
movzx r11d, word [r11 + 6]
shl r11, 3
lea r15, [r11 + r11*4]
xor r14d, r14d
nop dword [rax]
cmp r15, r14
je 0x140061ad9
lea r13, [r12 + 0x28]
mov esi, dword [r12 + 8]
mov ebp, dword [r12 + 0xc]
mov r11d, dword [r12 + 0x10]
cmp esi, r11d
cmovbe esi, r11d
add r14, 0x28
mov edi, r9d
mov r12, r13
sub edi, ebp
jb 0x140061a70
add esi, ebp
mov r12, r13
sub esi, r9d
jbe 0x140061a70
add rcx, rbx
add rcx, rdx
mov ecx, dword [r14 + rcx + 4]
add r11d, ecx
jb 0x140061af1
cmp r11, r8
ja 0x140061af1
sub r11, rcx
sub r11, rdi
jb 0x140061af7
cmp r11, r10
jb 0x140061af7
add rdx, rcx
add rdx, rdi
mov qword [rax], rdx
mov qword [rax + 8], r11
jmp 0x140061ae4
mov byte [rax + 8], 1
mov qword [rax], 0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov byte [rax + 8], 8
jmp 0x140061add
cmp rsi, r10
mov cl, 2
sbb cl, 0
mov byte [rax + 8], cl
jmp 0x140061add

Function at 0x140061b10
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
mov r8d, 0x100
mov eax, 1
cmp rdx, 0x40
jb 0x140061c12
test cl, 3
je 0x140061b37
mov r8d, 0x400
jmp 0x140061c12
movzx r9d, word [rcx]
cmp r9d, 0x5a4d
jne 0x140061c0c
mov r9d, dword [rcx + 0x3c]
test r9b, 3
jne 0x140061b2c
cmp r9d, 0x1000000
jbe 0x140061b66
mov r8d, 0x700
jmp 0x140061c12
lea r11, [r9 + 0x88]
cmp r11, rdx
ja 0x140061c12
cmp dword [rcx + r9], 0x4550
jne 0x140061c0c
movzx esi, word [rcx + r9 + 0x18]
cmp esi, 0x20b
je 0x140061b9a
cmp esi, 0x10b
jne 0x140061c0c
mov edi, dword [rcx + r9 + 0x54]
cmp rdi, rdx
ja 0x140061c12
mov r10d, dword [rcx + r9 + 0x50]
cmp edi, r10d
ja 0x140061b5b
movzx esi, si
cmp esi, 0x20b
jne 0x140061c18
mov esi, dword [rcx + r9 + 0x84]
cmp esi, 0x10
mov edi, 0x10
cmovb edi, esi
shl edi, 3
add r11, rdi
cmp r11, rdx
ja 0x140061c12
movzx r11d, word [rcx + r9 + 6]
cmp r11, 0x60
ja 0x140061b5b
lea r11, [r11 + r11*4]
lea r11, [r9 + r11*8]
movzx ecx, word [rcx + r9 + 0x14]
add rcx, r11
add rcx, 0x18
cmp rcx, rdx
ja 0x140061c12
shl r10, 0x20
xor eax, eax
mov r8, r10
jmp 0x140061c12
mov r8d, 0x500
or rax, r8
pop rdi
pop rsi
ret
mov r8d, 0x600
jmp 0x140061c12