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

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rdi, rcx
mov esi, dword [0x1400a8070]
test esi, esi
je 0x140064699
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14006468e
je 0x14006462b
xor ebx, ebx
test rdi, rdi
je 0x14006462f
test byte [rdi], 1
mov qword [rdi], 0
mov eax, dword [rdi + 0x10]
cmove eax, ebx
mov r14d, 0
cmovne r14, qword [rdi + 8]
mov ebx, eax
jmp 0x140064632
xor eax, eax
jmp 0x14006468e
xor r14d, r14d
mov rax, qword [0x1400cfca8]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400646ba
mov qword [rax], r14
mov byte [rax + 8], bl
mov dword [rax + 0x10], esi
mov ecx, esi
mov rbx, rax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call fcn.1400a5414
test rdi, rdi
je 0x14006468b
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, sym.std::sys::thread_local::os::destroy_value::he060cb21e8ba39dd
call sym.std::sys::thread_local::key::windows::LazyKey::init::h9918f0af148d1982
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140064603
jmp 0x14006468e
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::hcd217d9ce9262906
int3

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

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, rcx
mov esi, dword [0x1400a8090]
test esi, esi
je 0x140064706
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140064721
add rax, 4
jmp 0x14006479a
lea rcx, sym.std::sys::thread_local::os::destroy_value::h38cc77a9443c8689
call sym.std::sys::thread_local::key::windows::LazyKey::init::h9918f0af148d1982
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x1400646fd
je 0x140064798
xor r14d, r14d
test rdi, rdi
je 0x140064739
cmp byte [rdi], 0
mov byte [rdi], 0
movzx eax, byte [rdi + 1]
cmovne r14d, eax
mov rax, qword [0x1400cfca8]
movzx eax, byte [rax]
mov ecx, 8
mov edx, 4
call sym.__rust_alloc
test rax, rax
je 0x1400647a7
mov rbx, rax
mov dword [rax], esi
add rax, 4
mov r15, rax
mov byte [rbx + 4], r14b
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rdx, rbx
call fcn.1400a5414
test rdi, rdi
je 0x140064793
mov edx, 8
mov r8d, 4
mov rcx, rdi
call sym.__rust_dealloc
mov rax, r15
jmp 0x14006479a
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov ecx, 4
mov edx, 8
call sym.alloc::alloc::handle_alloc_error::hcd217d9ce9262906
int3
Function at 0x1400647c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rdi, rcx
mov esi, dword [0x1400a80d0]
test esi, esi
je 0x140064892
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x140064889
je 0x14006480d
test rdi, rdi
je 0x140064811
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x140064813
mov rbx, qword [rdi + 8]
jmp 0x140064813
xor eax, eax
jmp 0x140064889
xor ebx, ebx
mov qword [rbp - 8], rbx
mov dword [rbp], esi
mov rax, qword [0x1400cfca8]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400648b3
mov qword [rax], rbx
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call fcn.1400a5414
test rdi, rdi
je 0x140064886
mov rax, qword [rdi]
test rax, rax
je 0x140064873
lock dec qword [rax]
jne 0x140064873
mov rcx, rdi
call sym.alloc::sync::Arc_T_A_::drop_slow::h399726f51cadc466
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, sym.std::sys::thread_local::os::destroy_value::hbe2e8671453ea6f0
call sym.std::sys::thread_local::key::windows::LazyKey::init::h9918f0af148d1982
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400647f1
jmp 0x140064889
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::hcd217d9ce9262906
ud2

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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, rcx
mov esi, dword [0x1400a8110]
test esi, esi
je 0x1400649a1
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x140064998
je 0x140064939
test rdi, rdi
je 0x14006493d
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x14006493f
mov rbx, qword [rdi + 8]
jmp 0x14006493f
xor eax, eax
jmp 0x140064998
xor ebx, ebx
mov rax, qword [0x1400cfca8]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400649c2
mov qword [rax], rbx
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call fcn.1400a5414
test rdi, rdi
je 0x140064995
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, sym.std::sys::thread_local::os::destroy_value::he14709d783b266f9
call sym.std::sys::thread_local::key::windows::LazyKey::init::h9918f0af148d1982
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14006491d
jmp 0x140064998
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::hcd217d9ce9262906
int3
Function at 0x1400649e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rdi, rcx
mov esi, dword [0x1400a8130]
test esi, esi
je 0x140064ab2
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x140064aa9
je 0x140064a2d
test rdi, rdi
je 0x140064a31
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x140064a33
mov rbx, qword [rdi + 8]
jmp 0x140064a33
xor eax, eax
jmp 0x140064aa9
xor ebx, ebx
mov qword [rbp - 8], rbx
mov dword [rbp], esi
mov rax, qword [0x1400cfca8]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140064ad3
mov qword [rax], rbx
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call fcn.1400a5414
test rdi, rdi
je 0x140064aa6
mov rax, qword [rdi]
test rax, rax
je 0x140064a93
lock dec qword [rax]
jne 0x140064a93
mov rcx, rdi
call sym.alloc::sync::Arc_T_A_::drop_slow::h4b81d876d0713add
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, sym.std::sys::thread_local::os::destroy_value::he6f17d5f203081bc
call sym.std::sys::thread_local::key::windows::LazyKey::init::h9918f0af148d1982
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140064a11
jmp 0x140064aa9
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::hcd217d9ce9262906
ud2

Function at 0x140068170
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
test rdx, rdx
je 0x14006818a
mov r8d, edx
and r8d, 3
cmp rdx, 4
jae 0x14006818e
xor eax, eax
jmp 0x140068205
xor eax, eax
pop rbp
ret
and rdx, 0xfffffffffffffffc
xor eax, eax
nop word cs:[rax + rax]
shl eax, 4
movzx r9d, byte [rcx]
add r9d, eax
mov eax, r9d
shr eax, 0x18
and eax, 0xfffffff0
xor eax, r9d
shl eax, 4
movzx r9d, byte [rcx + 1]
add r9d, eax
mov eax, r9d
shr eax, 0x18
and eax, 0xfffffff0
xor eax, r9d
shl eax, 4
movzx r9d, byte [rcx + 2]
add r9d, eax
mov eax, r9d
shr eax, 0x18
and eax, 0xfffffff0
xor eax, r9d
shl eax, 4
movzx r9d, byte [rcx + 3]
add rcx, 4
add r9d, eax
mov eax, r9d
shr eax, 0x18
and eax, 0xfffffff0
xor eax, r9d
add rdx, 0xfffffffffffffffc
jne 0x1400681a0
test r8, r8
je 0x14006822f
xor edx, edx
nop dword [rax]
shl eax, 4
movzx r9d, byte [rcx + rdx]
add r9d, eax
mov eax, r9d
shr eax, 0x18
and eax, 0xfffffff0
xor eax, r9d
inc rdx
cmp r8, rdx
jne 0x140068210
and eax, 0xfffffff
pop rbp
ret
Function at 0x140068240
Capabilities:
Hash data using djb2

Disassembly:
push rbp
mov rbp, rsp
test rdx, rdx
je 0x140068260
mov r8d, edx
and r8d, 7
cmp rdx, 8
jae 0x140068267
mov eax, 0x1505
jmp 0x1400682ed
mov eax, 0x1505
pop rbp
ret
and rdx, 0xfffffffffffffff8
mov eax, 0x1505
mov r9d, eax
shl r9d, 5
add r9d, eax
movzx eax, byte [rcx]
add eax, r9d
movzx r9d, byte [rcx + 1]
add r9d, eax
shl eax, 5
add r9d, eax
movzx eax, byte [rcx + 2]
add eax, r9d
shl r9d, 5
add eax, r9d
movzx r9d, byte [rcx + 3]
add r9d, eax
shl eax, 5
add r9d, eax
movzx eax, byte [rcx + 4]
add eax, r9d
shl r9d, 5
add eax, r9d
movzx r9d, byte [rcx + 5]
add r9d, eax
shl eax, 5
add r9d, eax
movzx r10d, byte [rcx + 6]
add r10d, r9d
shl r9d, 5
add r10d, r9d
movzx eax, byte [rcx + 7]
add eax, r10d
shl r10d, 5
add rcx, 8
add eax, r10d
add rdx, 0xfffffffffffffff8
jne 0x140068270
test r8, r8
je 0x140068319
xor edx, edx
nop word cs:[rax + rax]
mov r9d, eax
shl r9d, 5
add r9d, eax
movzx eax, byte [rcx + rdx]
add eax, r9d
inc rdx
cmp r8, rdx
jne 0x140068300
pop rbp
ret
Function at 0x14009f100
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
movzx eax, byte [rcx]
mov ecx, dword [rdx + 0x34]
test cl, 0x10
jne 0x14009f162
test cl, 0x20
jne 0x14009f1a4
mov r8d, eax
sar r8b, 7
mov ecx, eax
xor cl, r8b
sub cl, r8b
cmp cl, 0x64
jb 0x14009f215
add cl, cl
add cl, 0x38
movzx ecx, cl
lea r8, [0x1400c3ebe]
movzx ecx, word [rcx + r8]
mov word [rbp - 0x23], cx
mov r8d, 0x24
mov cl, 1
jmp 0x14009f220
lea r9, [rbp + 0x38]
xor r8d, r8d
mov ecx, eax
nop dword [rax + rax]
mov r10d, eax
and r10b, 0xf
shr cl, 4
lea r11d, [r10 + 0x30]
lea esi, [r10 + 0x57]
cmp r10b, 0xa
movzx r10d, r11b
movzx r11d, sil
cmovb r11d, r10d
mov byte [r9 - 1], r11b
dec r9
inc r8
cmp al, 0x10
mov eax, ecx
jae 0x14009f170
jmp 0x14009f1e2
lea r9, [rbp + 0x38]
xor r8d, r8d
mov ecx, eax
nop dword [rax]
mov r10d, eax
and r10b, 0xf
shr cl, 4
lea r11d, [r10 + 0x30]
lea esi, [r10 + 0x37]
cmp r10b, 0xa
movzx r10d, r11b
movzx r11d, sil
cmovb r11d, r10d
mov byte [r9 - 1], r11b
dec r9
inc r8
cmp al, 0x10
mov eax, ecx
jae 0x14009f1b0
mov ecx, pe_nt_image_headers64
sub rcx, r8
cmp rcx, 0x81
jae 0x14009f281
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r9
lea r8, str.0x0o0b00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899assertion_failed:_curr___19
mov r9d, 2
mov rcx, rdx
mov dl, 1
jmp 0x14009f271
mov r8d, 0x26
cmp cl, 0xa
jae 0x14009f22a
or cl, 0x30
mov byte [rbp + r8 - 0x48], cl
jmp 0x14009f243
movzx ecx, cl
lea r8, [0x1400c3ebe]
movzx ecx, word [r8 + rcx*2]
mov word [rbp - 0x23], cx
mov r8d, 0x25
lea rcx, [r8 + rbp]
add rcx, 0xffffffffffffffb8
mov r9d, 0x27
sub r9, r8
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rcx
not al
shr al, 7
mov r8d, 1
mov rcx, rdx
mov edx, eax
xor r9d, r9d
call sym.core::fmt::Formatter::pad_integral::hcd991e4585082cf6
nop
add rsp, 0xb8
pop rsi
pop rbp
ret
lea r8, str.core_src_fmt_num.rs
mov edx, pe_nt_image_headers64
call sym.core::slice::index::slice_start_index_len_fail::h419d9fe760474afb
int3
Function at 0x1400a61e0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rbx, rcx
lea rax, [rbp + 0x28]
mov ecx, 2
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
mov qword [rbp - 8], 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 [rbp - 8]
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 0x1400a6250
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
movsxd rsi, dword [0x1400e21f4]
mov rbx, rcx
test esi, esi
jle 0x1400a6380
mov rax, qword [0x1400e21f8]
xor r9d, r9d
add rax, 0x18
nop dword [rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400a629b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400a6323
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400a6280
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400a63a2
mov rax, qword [0x1400e21f8]
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 [0x1400e21f8]
lea rdx, [rbp - 0x30]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400a6387
mov eax, dword [rbp - 0xc]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400a631c
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400a6330
add dword [0x1400e21f4], 1
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 2
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400e21f8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400a631c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop word [rax + rax]
xor esi, esi
jmp 0x1400a62a8
mov rax, qword [0x1400e21f8]
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 0x1400a6930
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
lea r13, [0x1400e2260]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400e2240]
test rbx, rbx
je 0x1400a6995
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, dword [rbx]
call r12
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400a698c
test eax, eax
jne 0x1400a698c
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400a6970
mov rcx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400a6bd0
Capabilities:
Parse pe header

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

Function at 0x1400a6c00
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 0x1400a6c4d
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 0x1400a6c44
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400a6c4f
add rax, 0x28
cmp rax, r9
jne 0x1400a6c30
xor eax, eax
ret

Function at 0x1400a6c50
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x1400cfbf0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400a6d20
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400a6d28
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400a6d20
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400a6d7d
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 0x1400a6d74
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400a6d20
add rax, 0x28
cmp rax, r9
jne 0x1400a6d60
xor eax, eax
ret
Function at 0x1400a6d80
Capabilities:
Parse pe header

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

Function at 0x1400a6dc0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400cfbf0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400a6de0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400a6de8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400a6de0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400a6e30
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400a6e27
test rcx, rcx
je 0x1400a6de0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1400a6e18
xor eax, eax
ret

Function at 0x1400a6e40
Capabilities:
Parse pe header

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

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

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

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

Disassembly:
mov r11, qword [0x1400cfbf0]
xor r8d, r8d
cmp word [r11], 0x5a4d
mov r10d, ecx
jne 0x1400a6f34
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
cmp dword [rcx], 0x4550
je 0x1400a6f40
mov rax, r8
ret
cmp word [rcx + 0x18], 0x20b
jne 0x1400a6f34
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x1400a6f34
movzx edx, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rdx, [rcx + rdx + 0x18]
test r9w, r9w
je 0x1400a6f34
lea ecx, [r9 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rdx + 0xc]
mov rcx, r8
cmp rax, r8
jb 0x1400a6f8c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x1400a6fa0
add rdx, 0x28
cmp r9, rdx
jne 0x1400a6f78
xor r8d, r8d
mov rax, r8
ret
add rax, r11
jmp 0x1400a6fb0
sub r10d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x1400a6fbe
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400a6f95
test r10d, r10d
jg 0x1400a6fa8
mov r8d, dword [rax + 0xc]
add r8, r11
mov rax, r8
ret
Function at 0x1400047a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [rsp + 0x70]
lea rcx, [0x140003248]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x38], 0
je 0x1400047ed
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x38]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140004828
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x20]
call qword [rax]
mov qword [rsp + 0x48], rax
jmp 0x140004831
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14000486c
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [rax]
mov qword [rsp + 0x50], rax
jmp 0x140004875
mov qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x70]
call fcn.1400043b0
add rsp, 0x68
ret
Function at 0x140006ff0
Capabilities:
Terminate process

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdx, [0x140013534]
mov ecx, 0x1048
call fcn.14000f894
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400070c5
mov rdi, qword [rsp + 0x28]
xor eax, eax
mov ecx, 0x1048
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x28]
add rcx, 0x44
mov rdi, rcx
mov eax, 0xef
mov rcx, qword [rsp + 0x40]
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x140007076
mov rax, qword [rsp + 0x28]
mov byte [rax + 0x44], 0xba
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax]
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x28]
call qword [rax + 0x30]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1400070c3
mov r8d, dword [rsp + 0x30]
lea rdx, [0x140001ce0]
mov ecx, dword [rsp + 0x30]
call fcn.140004f80
mov ecx, 1
call qword [sym.imp.msvcrt.dll_exit]
jmp 0x1400070d1
lea rcx, [0x140001d20]
call fcn.140005070
add rsp, 0x50
pop rdi
ret