joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bfff0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
movabs rbx, 0x8000000000000000
lea rcx, [rbp - 0x28]
call sym.std::sys::pal::windows::to_u16s::inner::hbb51883a1ae0978b
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
cmp rcx, rbx
jne 0x1400c002e
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], rbx
jmp 0x1400c0054
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rdx
lea rcx, [rbp - 0x10]
lea rdx, [rbp - 0x40]
call sym.std::sys::pal::windows::args::from_wide_to_user_path::hcbaeed1edf546d7c
mov r14, qword [rbp - 0x10]
cmp r14, rbx
jne 0x1400c006d
lea rcx, [rbp - 8]
call sym.core::ptr::drop_in_place_std::io::error::Error_::h3466fc80fe41233f
mov qword [rsi], rbx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov rdi, qword [rbp - 8]
mov r15, qword [rbp]
mov rcx, rdi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x1400c008f
mov qword [rsi], r14
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r15
jmp 0x1400c0060
mov qword [rsi], rbx
test r14, r14
je 0x1400c0060
mov rcx, qword [0x1401490c0]
xor edx, edx
mov r8, rdi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
jmp fcn.1400d78a4
Function at 0x1400c1ae0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rdi, r8
mov r14, rdx
mov rbx, rcx
movzx eax, byte [0x140149110]
mov edx, 0x10
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h1ca289f3d44bb24b
test rax, rax
je 0x1400c1bb7
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [sym.std::sys::pal::windows::thread::Thread::new::thread_start::h1fa3f65b5133b815]
xor edi, edi
xor ecx, ecx
mov rdx, rbx
mov r9, rax
call sub.kernel32.dll_CreateThread
mov rdx, rax
test rax, rax
jne 0x1400c1ba9
mov rdi, qword [rsi]
mov r14, qword [rsi + 8]
mov rax, qword [r14]
test rax, rax
je 0x1400c1b61
mov rcx, rdi
call rax
cmp qword [r14 + 8], 0
je 0x1400c1b84
cmp qword [r14 + 0x10], 0x11
jb 0x1400c1b73
mov rdi, qword [rdi - 8]
mov rcx, qword [0x1401490c0]
xor edx, edx
mov r8, rdi
call fcn.1400d78a4
mov rcx, qword [0x1401490c0]
xor edx, edx
mov r8, rsi
call fcn.1400d78a4
call sub.kernel32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
ud2
Function at 0x1400c1f70
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10a8
call sym.___chkstk_ms
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1010], xmm6
mov rsi, rdx
mov r14, rcx
lea r13, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, r13
xor edx, edx
call sub.msvcrt.dll_memset
xorps xmm6, xmm6
lea r12, [rbp + 0x1004]
lea rdi, [sym.std::sys::pal::windows::pipe::AnonPipe::alertable_io_internal::callback::h5da267c70eb56f29]
lea rbx, [rbp + 0xfc0]
mov qword [rbp + 0xfe8], r14
mov dword [rbp + 0x1004], 0
movaps xmmword [rbp + 0xfc0], xmm6
mov qword [rbp + 0xfd0], 0
mov qword [rbp + 0xfd8], r12
mov qword [rsp + 0x20], rdi
mov rcx, r14
mov rdx, r13
mov r8d, 0x1000
mov r9, rbx
call sub.kernel32.dll_ReadFileEx
test eax, eax
je 0x1400c21a6
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.kernel32.dll_SleepEx
cmp dword [rbp + 0x1004], 0
je 0x1400c2020
mov eax, dword [rbp + 0x1008]
mov r15d, dword [rbp + 0x100c]
mov rcx, rax
shl rcx, 0x20
or rcx, 2
xor edx, edx
test eax, eax
setne dl
cmovne r15, rcx
mov qword [rbp + 0xff0], rdx
mov qword [rbp + 0xff8], r15
jne 0x1400c21cb
test r15, r15
je 0x1400c2177
cmp r15, 0x1000
ja 0x1400c2344
xor r14d, r14d
nop dword [rax + rax]
mov r8d, r15d
sub r8d, r14d
lea rdx, [r14 + rbp]
add rdx, 0xffffffffffffffb0
mov dword [rbp + 0x1004], 0
movaps xmmword [rbp + 0xfc0], xmm6
mov qword [rbp + 0xfd0], 0
mov qword [rbp + 0xfd8], r12
mov qword [rsp + 0x20], rdi
mov rcx, rsi
mov r9, rbx
call sub.kernel32.dll_WriteFileEx
test eax, eax
je 0x1400c214c
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.kernel32.dll_SleepEx
cmp dword [rbp + 0x1004], 0
je 0x1400c20e0
mov ecx, dword [rbp + 0x1008]
mov eax, dword [rbp + 0x100c]
mov rdx, rcx
shl rdx, 0x20
or rdx, 2
xor r8d, r8d
test ecx, ecx
setne r8b
cmove rdx, rax
mov qword [rbp + 0xff0], r8
mov qword [rbp + 0xff8], rdx
jne 0x1400c216b
add r14, rax
cmp r14, r15
je 0x1400c2140
jbe 0x1400c2090
jmp 0x1400c2330
mov r14, qword [rbp + 0xfe8]
jmp 0x1400c1fd1
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 0xff0], 1
mov qword [rbp + 0xff8], rax
lea rcx, [rbp + 0xff8]
call sym.core::ptr::drop_in_place_std::io::error::Error_::h3466fc80fe41233f
call sub.kernel32.dll_GetLastError
mov r15d, eax
shl r15, 0x20
or r15, 2
mov qword [rbp + 0xff0], 1
mov qword [rbp + 0xff8], r15
mov rcx, r15
mov eax, ecx
and eax, 3
shr rcx, 0x20
cmp eax, 2
jne 0x1400c21f0
call sym.std::sys::pal::windows::decode_error_kind::hdc0cfabf5bb02582
cmp ecx, 0x28
lea r8, str.library_std_src_syspalwindowspipe.rs
mov rcx, r14
mov rdx, r15
call sym.core::slice::index::slice_index_order_fail::h786748ba81f41b02
jmp 0x1400c2358
lea r8, str.library_std_src_syspalwindowspipe.rs
mov edx, 0x1000
mov rcx, r15
call sym.core::slice::index::slice_end_index_len_fail::hdaa9bbd2fcad4cbb
ud2
Function at 0x1400c90d0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400c90d7
test al, 1
je 0x1400c90f6
test al, 2
jne 0x1400c910e
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140112da0]
mov edx, 0x23
call sym.core::panicking::panic::h82631201f060ca88
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140112de0]
mov edx, 0x25
call sym.core::panicking::panic::h82631201f060ca88
int3

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov esi, dword [0x1400da128]
test esi, esi
je 0x1400cacc5
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
cmp rax, 1
ja 0x1400cacba
je 0x1400cacb8
call sym.tokio::runtime::park::ParkThread::new::hc7a65759c36bd6ca
mov rbx, rax
mov al, byte [0x140149110]
mov edx, 0x10
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h1ca289f3d44bb24b
test rax, rax
je 0x1400cacd5
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 fcn.1400d7974
test rbx, rbx
je 0x1400cacba
mov rcx, rbx
call sym._ZN4core3ptr119drop_in_place_LT_alloc..boxed..Box_LT_std..sys..thread_local..os..Value_LT_tokio..runtime..park..ParkThread_GT_
jmp 0x1400cacba
xor edi, edi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, sym.std::sys::thread_local::os::destroy_value::h6a8c994416131cd2
call sym.std::sys::thread_local::key::windows::LazyKey::init::h597144e332ffcf99
mov esi, eax
jmp 0x1400cac5b
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
int3

Function at 0x1400cd906
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
cmp rcx, 0xffffffffffffffff
je 0x1400cd94e
movzx eax, dl
lea r9, [rsp + 0x34]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400cd93c
xor eax, eax
jmp 0x1400cd949
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
lea rcx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.40.0_src_io_poll_evented.rs
call sym.core::option::unwrap_failed::h38ae581b954ce070
int3
Function at 0x1400cdbb5
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov r13, r8
mov rdi, rdx
lea r12, [rsp + 0x32]
lea rbx, [rsp + 0x42]
mov r15, qword [rcx + 8]
mov r14, qword [rcx + 0x10]
mov esi, 0x7fffffff
cmp r9, rsi
cmovb rsi, r9
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x48], rax
lea rax, [r15 + 0x80]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x28]
mov rdx, r15
mov r8, rdi
mov r9b, 1
call sym.tokio::runtime::io::registration::Registration::poll_ready::h6347f1978d8f6004
mov al, byte [rsp + 0x31]
cmp al, 3
je 0x1400cdd20
mov rbp, qword [rsp + 0x28]
cmp al, 2
je 0x1400cdd19
mov cl, byte [rsp + 0x30]
movzx edx, word [r12 + 4]
mov word [rbx + 4], dx
mov edx, dword [r12]
mov dword [rbx], edx
mov qword [rsp + 0x38], rbp
mov byte [rsp + 0x40], cl
mov byte [rsp + 0x41], al
cmp r14, 0xffffffffffffffff
je 0x1400cdd40
mov rcx, r14
mov rdx, r13
mov r8d, esi
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
jne 0x1400cdd27
call sub.ws2_32.dll_WSAGetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, rbp
call sym.std::io::error::Error::kind::h58f73e445c83dc12
cmp al, 0xd
jne 0x1400cdcf1
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400cdcf1
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x1400cdd4c
mov rsi, r14
mov r14, rbx
mov rbx, rdi
mov rdi, r12
mov r12, r13
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call sym.mio::sys::windows::selector::SelectorInner::reregister::hb66a2c52f1a18192
test rax, rax
je 0x1400cdcdd
mov r13, rax
mov rcx, rbp
call sym.core::ptr::drop_in_place_std::io::error::Error_::h187050109ff62a2d
mov rbp, r13
mov r13, r12
mov r12, rdi
mov rdi, rbx
mov rbx, r14
mov r14, rsi
mov rsi, qword [rsp + 0x20]
mov rcx, rbp
call sym.std::io::error::Error::kind::h58f73e445c83dc12
cmp al, 0xd
jne 0x1400cdd19
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x38]
call sym.tokio::runtime::io::scheduled_io::ScheduledIo::clear_readiness::h1e2aacc3ed09e30f
mov rcx, rbp
call sym.core::ptr::drop_in_place_std::io::error::Error_::h187050109ff62a2d
jmp 0x1400cdc03
mov eax, 1
jmp 0x1400cdd2c
mov eax, 2
jmp 0x1400cdd2c
movsxd rbp, eax
xor eax, eax
mov rdx, rbp
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.40.0_src_io_poll_evented.rs
call sym.core::option::unwrap_failed::h38ae581b954ce070
ud2

Function at 0x1400cde8c
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov edi, dword [rcx + 0x40]
mov edx, 1
mov ecx, edi
call fcn.1400d7974
mov rcx, rsi
call sym._ZN4core3ptr119drop_in_place_LT_alloc..boxed..Box_LT_std..sys..thread_local..os..Value_LT_tokio..runtime..context..Context_GT_
mov ecx, edi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400d7974
Function at 0x1400cdef1
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov edi, dword [rcx + 8]
mov edx, 1
mov ecx, edi
call fcn.1400d7974
mov rcx, rsi
call sym._ZN4core3ptr119drop_in_place_LT_alloc..boxed..Box_LT_std..sys..thread_local..os..Value_LT_tokio..runtime..park..ParkThread_GT_
mov ecx, edi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400d7974

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rbx, rcx
mov esi, dword [0x1400da148]
test esi, esi
je 0x1400ce03d
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
cmp rax, 1
ja 0x1400ce032
je 0x1400cdfa0
test rbx, rbx
je 0x1400cdfa7
lea rcx, [rbx + 8]
cmp qword [rbx], 0
mov qword [rbx], 0
lea rax, [0x140114470]
cmovne rax, rcx
jmp 0x1400cdfae
xor edi, edi
jmp 0x1400ce032
lea rax, [0x140114470]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmm3, xmmword [rax + 0x30]
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov al, byte [0x140149110]
mov edx, 0x48
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h1ca289f3d44bb24b
test rax, rax
je 0x1400ce050
mov rdi, rax
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmm2, xmmword [rsp + 0x40]
movaps xmm3, xmmword [rsp + 0x50]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov dword [rax + 0x40], esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
mov rbx, rax
mov ecx, esi
mov rdx, rdi
call fcn.1400d7974
test rbx, rbx
je 0x1400ce032
mov rcx, rbx
call sym._ZN4core3ptr119drop_in_place_LT_alloc..boxed..Box_LT_std..sys..thread_local..os..Value_LT_tokio..runtime..context..Context_GT_
mov rax, rdi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
lea rcx, sym.std::sys::thread_local::os::destroy_value::h4801214be2da6e23
call sym.std::sys::thread_local::key::windows::LazyKey::init::h597144e332ffcf99
mov esi, eax
jmp 0x1400cdf69
mov ecx, 8
mov edx, 0x48
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
int3
Function at 0x1400d83e0
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 sym.__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 sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x1400d8450
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401491a4]
mov rbx, rcx
test esi, esi
jle 0x1400d8580
mov rax, qword [0x1401491a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400d849b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400d8525
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400d8480
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400d85a2
mov rax, qword [0x1401491a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401491a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400d8587
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400d851e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400d8530
add dword [0x1401491a4], 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 [0x1401491a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400d851e
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400d84a8
mov rax, qword [0x1401491a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400d8b30
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140149200]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401491e0]
test rbx, rbx
je 0x1400d8b8c
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 0x1400d8b83
test eax, eax
jne 0x1400d8b83
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400d8b68
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 0x1400d8da0
Capabilities:
Parse pe header

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

Function at 0x1400d8dd0
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 0x1400d8e1d
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 0x1400d8e14
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400d8e1f
add rax, 0x28
cmp rax, r9
jne 0x1400d8e00
xor eax, eax
ret

Function at 0x1400d8e20
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400d8eb0
mov rdx, qword [0x14013a460]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400d8e9e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400d8e9e
cmp word [rax + 0x18], 0x20b
jne 0x1400d8e9e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400d8eb0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400d8e89
add rbx, 0x28
cmp rbx, rdi
je 0x1400d8eb0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400d8e80
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 0x1400d8ec0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14013a460]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400d8ee0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400d8ee8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400d8ee0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400d8f3d
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 0x1400d8f34
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400d8ee0
add rax, 0x28
cmp rax, r9
jne 0x1400d8f20
xor eax, eax
ret

Function at 0x1400d8f40
Capabilities:
Parse pe header

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

Disassembly:
mov r8, qword [0x14013a460]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400d8fa0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400d8fa8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400d8fa0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400d8ff0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400d8fe7
test rcx, rcx
je 0x1400d8fa0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1400d8fd8
xor eax, eax
ret

Function at 0x1400d9000
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x14013a460]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400d9060
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400d9068
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400d9060
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400d9060
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 0x1400d90b4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400d90c0
add rdx, 0x28
cmp rdx, r9
jne 0x1400d90a0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x14013a460]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400d90f2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400d9100
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400d90f2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400d90f2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400d90f2
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 0x1400d9155
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400d9168
add rdx, 0x28
cmp r10, rdx
jne 0x1400d9140
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400d9177
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400d9187
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400d915e
test ecx, ecx
jg 0x1400d9170
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14043f390
Capabilities:
Encode data using xor

Disassembly:
int1
or eax, 0x764ba8a7
cmpsd dword [rsi], dword [rdi]
movabs byte [0x5f3ddbeff8661669], al
call 0x19fece07a
cwde
xor ebp, edi
sar edx, cl
invalid
Function at 0x14044b4b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140708460]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14044b4d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14044b4d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14044b4d0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14044b52d
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 0x14044b524
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14044b4d0
add rax, 0x28
cmp rax, r9
jne 0x14044b510
xor eax, eax
ret

Function at 0x14044b530
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140708460]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14044b54f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14044b558
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14044b54f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14044b5f0
Capabilities:
Parse pe header

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