joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140066b40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x1400a90d8]
test ecx, ecx
je 0x140066b6f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140066b88
cmp byte [rax + 8], 0
je 0x140066b88
add rax, 9
jmp 0x140066c30
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::hbbaa8a327f37e8b1
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140066b60
mov ecx, dword [0x1400a90d8]
test ecx, ecx
je 0x140066c11
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140066c2e
mov rdi, rax
test rax, rax
jne 0x140066bee
mov rax, qword [0x14077f748]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140066c47
mov rdi, rax
lea rax, dbg.destroy_value_u8_
mov qword [rdi], rax
mov byte [rdi + 8], 0
mov ecx, dword [0x1400a90d8]
test ecx, ecx
je 0x140066c37
dec ecx
mov rdx, rdi
call fcn.1400a67c4
xor ecx, ecx
test rsi, rsi
je 0x140066c04
cmp byte [rsi], 0
mov byte [rsi], 0
movzx eax, byte [rsi + 1]
cmove eax, ecx
mov ecx, eax
lea rax, [rdi + 9]
mov byte [rdi + 8], 1
mov byte [rdi + 9], cl
jmp 0x140066c30
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::hbbaa8a327f37e8b1
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140066ba3
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::hbbaa8a327f37e8b1
mov ecx, eax
jmp 0x140066be6
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
int3
Function at 0x140066c60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x1400a90f8]
test ecx, ecx
je 0x140066c8f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140066ca8
cmp byte [rax + 8], 0
je 0x140066ca8
add rax, 9
jmp 0x140066d50
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::hbbaa8a327f37e8b1
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140066c80
mov ecx, dword [0x1400a90f8]
test ecx, ecx
je 0x140066d31
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140066d4e
mov rdi, rax
test rax, rax
jne 0x140066d0e
mov rax, qword [0x14077f748]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140066d67
mov rdi, rax
lea rax, dbg.destroy_value_u8_
mov qword [rdi], rax
mov byte [rdi + 8], 0
mov ecx, dword [0x1400a90f8]
test ecx, ecx
je 0x140066d57
dec ecx
mov rdx, rdi
call fcn.1400a67c4
xor ecx, ecx
test rsi, rsi
je 0x140066d24
cmp byte [rsi], 0
mov byte [rsi], 0
movzx eax, byte [rsi + 1]
cmove eax, ecx
mov ecx, eax
lea rax, [rdi + 9]
mov byte [rdi + 8], 1
mov byte [rdi + 9], cl
jmp 0x140066d50
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::hbbaa8a327f37e8b1
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140066cc3
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::hbbaa8a327f37e8b1
mov ecx, eax
jmp 0x140066d06
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
int3
Function at 0x140066d80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400a9118]
test ecx, ecx
je 0x140066e7c
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140066db2
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x140066e76
mov ecx, dword [0x1400a9118]
test ecx, ecx
je 0x140066ea5
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140066ec2
mov rdi, rax
test rax, rax
jne 0x140066e28
mov rax, qword [0x14077f748]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140066ee1
mov rdi, rax
lea rax, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x1400a9118]
test ecx, ecx
je 0x140066ece
dec ecx
mov rdx, rdi
call fcn.1400a67c4
test rsi, rsi
je 0x140066e9e
mov rax, qword [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
je 0x140066e9e
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
test rdx, rdx
je 0x140066e76
test rcx, rcx
je 0x140066e76
lock dec qword [rcx]
jne 0x140066e76
lea rcx, [rsp + 0x30]
call dbg.drop_slow<std::sync::mpmc::context::Inner, alloc::alloc::Global>
add rdi, 0x10
jmp 0x140066ec4
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::hbbaa8a327f37e8b1
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140066da4
jmp 0x140066db2
call sym.std::sync::mpmc::context::Context::new::h48f4e4f2a2bbad0a
jmp 0x140066e3e
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::hbbaa8a327f37e8b1
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140066dd1
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::hbbaa8a327f37e8b1
mov ecx, eax
jmp 0x140066e20
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
int3
Function at 0x140066f00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400a9138]
test ecx, ecx
je 0x140067002
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140066f32
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x140066ffc
mov ecx, dword [0x1400a9138]
test ecx, ecx
je 0x140067024
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140067041
mov rdi, rax
test rax, rax
jne 0x140066fa8
mov rax, qword [0x14077f748]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140067060
mov rdi, rax
lea rax, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x1400a9138]
test ecx, ecx
je 0x14006704d
dec ecx
mov rdx, rdi
call fcn.1400a67c4
test rsi, rsi
je 0x140066fc2
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x140066fc4
mov rax, qword [rsi + 8]
jmp 0x140066fc4
xor eax, eax
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
test rdx, rdx
je 0x140066ffc
test rcx, rcx
je 0x140066ffc
lock dec qword [rcx]
jne 0x140066ffc
lea rcx, [rsp + 0x30]
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>, alloc::alloc::Global>
add rdi, 0x10
jmp 0x140067043
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::hbbaa8a327f37e8b1
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140066f24
jmp 0x140066f32
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::hbbaa8a327f37e8b1
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140066f51
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::hbbaa8a327f37e8b1
mov ecx, eax
jmp 0x140066fa0
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
int3
Function at 0x140067070
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400a9158]
test ecx, ecx
je 0x1400670a3
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400670bc
mov rcx, rax
cmp qword [rax + 8], 0
je 0x1400670bc
add rcx, 0x10
jmp 0x1400671b9
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::hbbaa8a327f37e8b1
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140067090
mov ecx, dword [0x1400a9158]
test ecx, ecx
je 0x14006719a
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400671b7
mov rdi, rax
test rax, rax
jne 0x140067132
mov rax, qword [0x14077f748]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400671d6
mov rdi, rax
lea rax, dbg.destroy_value_core::cell::Cell__usize__bool___
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x1400a9158]
test ecx, ecx
je 0x1400671c3
dec ecx
mov rdx, rdi
call fcn.1400a67c4
test rsi, rsi
je 0x14006714f
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
mov qword [rsi], 0
cmp rcx, 1
je 0x140067184
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x14006717f
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x140067184
call dbg.fallback_rng
mov qword [rdi + 8], 1
lea rcx, [rdi + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rdx
jmp 0x1400671b9
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::hbbaa8a327f37e8b1
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400670db
xor ecx, ecx
mov rax, rcx
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::hbbaa8a327f37e8b1
mov ecx, eax
jmp 0x14006712a
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
int3
Function at 0x14009bc40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14009bcba
mov rax, rdx
mov rdx, qword [rsp + 0x70]
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 0x14009bcb0
cmp r11, r10
ja 0x14009bd45
cmp r10, rdx
ja 0x14009bd57
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14009bcb2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14009bc90
jmp 0x14009bd27
ja 0x14009bcba
mov r11, r10
cmp rax, r8
jne 0x14009bc62
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14009bd2b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14009bd00
mov r8, r10
sub ecx, r9d
jns 0x14009bd1e
jmp 0x14009bd2d
cmp r10, rdx
je 0x14009bd39
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14009bd2d
xor al, 1
cmp r8, rdx
jne 0x14009bce0
jmp 0x14009bd2d
xor eax, eax
jmp 0x14009bd2d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1407747a8]
call sym.core::option::unwrap_failed::he3c2cd0918eb9f85
lea r8, str.Gw_
mov rcx, r11
mov rdx, r10
call dbg.slice_index_order_fail
lea r8, str.Gw_
mov rcx, r10
call dbg.slice_end_index_len_fail
int3
Function at 0x1400a7600
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, 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 rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x1400a7670
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14078e234]
mov rbx, rcx
test esi, esi
jle 0x1400a77a0
mov rax, qword [0x14078e238]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400a76bb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400a7745
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400a76a0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400a77c2
mov rax, qword [0x14078e238]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14078e238]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400a77a7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400a773e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400a7750
add dword [0x14078e234], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14078e238]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400a773e
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 esi, esi
jmp 0x1400a76c8
mov rax, qword [0x14078e238]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400a7d50
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14078e2a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14078e280]
test rbx, rbx
je 0x1400a7dac
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400a7da3
test eax, eax
jne 0x1400a7da3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400a7d88
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400a7fc0
Capabilities:
Parse pe header

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

Function at 0x1400a7ff0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400a803d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400a8034
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400a803f
add rax, 0x28
cmp rax, r9
jne 0x1400a8020
xor eax, eax
ret

Function at 0x1400a8040
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400a80d0
mov rdx, qword [0x14077f660]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400a80be
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400a80be
cmp word [rax + 0x18], 0x20b
jne 0x1400a80be
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400a80d0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400a80a9
add rbx, 0x28
cmp rbx, rdi
je 0x1400a80d0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400a80a0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

Disassembly:
mov rdx, qword [0x14077f660]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400a8100
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400a8108
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400a8100
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400a815d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400a8154
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400a8100
add rax, 0x28
cmp rax, r9
jne 0x1400a8140
xor eax, eax
ret

Function at 0x1400a8160
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14077f660]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400a817f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400a8188
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400a817f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1400a81a0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14077f660]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400a81c0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400a81c8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400a81c0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400a8210
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400a8207
test rcx, rcx
je 0x1400a81c0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1400a81f8
xor eax, eax
ret

Function at 0x1400a8220
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x14077f660]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400a8280
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400a8288
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400a8280
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400a8280
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400a82d4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400a82e0
add rdx, 0x28
cmp rdx, r9
jne 0x1400a82c0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x14077f660]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400a8312
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400a8320
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400a8312
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400a8312
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400a8312
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400a8375
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400a8388
add rdx, 0x28
cmp r10, rdx
jne 0x1400a8360
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400a8397
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400a83a7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400a837e
test ecx, ecx
jg 0x1400a8390
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140002630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov al, byte [rsp + 0x67]
mov r10b, al
xor r10b, 1
mov byte [rsp + 0x67], r10b
cmp r9d, 0
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x44], r9d
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rcx
mov byte [rsp + 0x2f], al
jne 0x140002687
mov rax, qword [rsp + 0x58]
imul rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], rax
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
xor ecx, ecx
mov edx, ecx
mov ecx, dword [rsp + 0x44]
mov r8d, ecx
mov r9d, r8d
mov r8d, eax
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x10], rdx
mov rax, qword [rsp + 0x10]

Function at 0x1400026b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
and al, 0x10
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x28]
mov r8d, 0x100
add ecx, 1
mov qword [rsp + 8], rax
mov eax, ecx
mov dword [rsp + 4], edx
cdq
idiv r8d
movsxd r9, edx
mov r10, qword [rsp + 0x30]
mov r11b, byte [r10 + r9]
movzx ecx, r11b
invalid
invalid

Function at 0x1400026e8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, esi
mov dword [rsp], edx
cdq
idiv r8d
movsxd rdi, edx
mov bl, byte [r10 + rdi]
mov bp, word [rsp + 0x56]
imul bp, word [rsp + 0x56]
mov word [rsp + 0x56], bp
mov byte [r10 + r9], bl
mov byte [r10 + rdi], r11b
movzx r8d, byte [r10 + r9]
add r8d, ecx
mov byte [rsp + 0x67], 0x9b
and r8d, 0xff
mov r11b, 0x44
mov bl, byte [rsp + 0x2f]
mov al, bl
mul r11b
mov byte [rsp + 0x67], al
mov ecx, r8d
mov r9d, ecx
mov al, byte [r10 + r9]
mov r9, qword [rsp + 0x38]
mov rdi, qword [rsp + 8]

Function at 0x140002748
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor al, byte [r9 + rdi]
mov r14, qword [rsp + 0x48]
mov byte [r14 + rdi], al
add rdi, 1
mov r15, qword [rsp + 0x18]
cmp rdi, r15
mov ecx, dword [rsp]
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x10], rdi
je 0x14000266a
jmp 0x1400026ad

Function at 0x140002780
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x20
lea rax, [fcn.140002780]
mov qword [rsp + 0x18], 0x330210ae
mov qword [rsp + 8], rax
jmp 0x1400027e7
mov ax, word [rsp + 0x16]
sub ax, word [rsp + 0x16]
mov rcx, qword [rsp + 0x18]
xor rcx, 0xffffffffccfde0ae
mov word [rsp + 0x16], ax
mov rdx, qword [rsp]
add rdx, rcx
and rdx, 0xfffffffffffff000
mov qword [rsp + 8], rdx
jmp 0x1400027e7
mov rax, qword [rsp]
add rsp, 0x20
ret
mov rax, qword [rsp]
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
je 0x1400027cb
jmp 0x14000279b
mov rax, qword [rsp + 8]
cmp word [rax], 0x5a4d
mov qword [rsp], rax
je 0x1400027d4
jmp 0x14000279b

Function at 0x140002c10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
pop rsp
and al, 0x2c
div r11d
mov edx, edx
mov esi, edx
mov rdi, qword [rsp + 0x30]
movzx edx, byte [rdi + rsi]
mov ebx, dword [rsp + 0x58]
add ebx, 0x87d7262f
mov ebp, dword [rsp]
add ebp, r10d
add ebp, edx
mov eax, ebp
cdq
Function at 0x140002c38
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
idiv ebx
movsxd rsi, edx
mov r14, qword [rsp + 0x20]
mov r15b, byte [r14 + rsi]
mov byte [r14 + rcx], r15b
mov byte [r14 + rsi], r9b
mov r8w, word [rsp + 0x46]
add rcx, 1
and r8w, 0xe
mov word [rsp + 0x46], r8w
cmp rcx, 0x100
mov qword [rsp + 8], rcx
mov dword [rsp + 4], edx
jne 0x140002bcd
mov eax, dword [rsp + 0x5c]
add eax, 0x1d76967a
mov dword [rsp + 0x5c], eax
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400035fc
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffff8bd0014c
adc byte [rcx + 0x33], al
adc eax, dword [rcx + rax - 0x36]