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

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x1401297d8]
test ecx, ecx
je 0x1401082e1
dec ecx
call fcn.140123ccc
cmp rax, 2
jb 0x14010826c
cmp byte [rax + 8], 0
jne 0x1401082d2
mov ecx, dword [0x1401297d8]
test ecx, ecx
je 0x1401082f4
dec ecx
call fcn.140123ccc
cmp rax, 1
je 0x1401082d8
test rax, rax
jne 0x1401082cc
mov rax, qword [0x1401c1748]
movzx eax, byte [rax]
mov r8d, 0x10
xor edx, edx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h54baaa069cfd9f2e
test rax, rax
je 0x14010831d
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h5a628db256e6f7e2
mov qword [rax], rcx
mov byte [rax + 8], 0
mov ecx, dword [0x1401297d8]
test ecx, ecx
je 0x140108307
dec ecx
mov rdx, rax
mov rsi, rax
call fcn.140123cd4
mov rax, rsi
mov word [rax + 8], 1
add rax, 9
jmp 0x1401082da
xor eax, eax
add rsp, 0x28
pop rsi
pop rbp
ret
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h5a628db256e6f7e2
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x14010825b
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h5a628db256e6f7e2
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x140108278
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h5a628db256e6f7e2
mov rsi, rax
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
mov rax, rsi
jmp 0x1401082be
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::hd693885652fa1428
int3
Function at 0x140108330
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov rsi, rcx
mov ecx, dword [0x1401297f8]
test ecx, ecx
je 0x14010844c
dec ecx
call fcn.140123ccc
cmp rax, 2
jb 0x140108365
cmp qword [rax + 8], 0
jne 0x140108440
mov ecx, dword [0x1401297f8]
test ecx, ecx
je 0x14010845f
dec ecx
call fcn.140123ccc
cmp rax, 1
je 0x1401083ff
test rax, rax
jne 0x1401083e5
mov qword [rbp - 0x10], 0
lea rax, sym.std::sys::thread_local::os_local::destroy_value::ha1aef5e955f5f394
mov qword [rbp - 0x18], rax
mov rax, qword [0x1401c1748]
movzx eax, byte [rax]
mov r8d, 0x18
xor edx, edx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h54baaa069cfd9f2e
test rax, rax
je 0x14010848b
mov rcx, qword [rbp - 8]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rax], xmm0
mov ecx, dword [0x1401297f8]
test ecx, ecx
je 0x140108472
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.140123cd4
mov rax, rdi
test rsi, rsi
je 0x140108403
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x140108405
mov rcx, qword [rsi + 8]
jmp 0x140108405
xor eax, eax
jmp 0x140108444
xor ecx, ecx
mov r8, qword [rax + 8]
mov rdx, qword [rax + 0x10]
mov qword [rbp - 0x18], r8
mov qword [rbp - 0x10], rdx
mov qword [rax + 8], 1
mov qword [rax + 0x10], rcx
test r8, r8
je 0x140108440
test rdx, rdx
je 0x140108440
lock dec qword [rdx]
jne 0x140108440
lea rcx, [rbp - 0x10]
mov rsi, rax
call sym._ZN5alloc4sync16Arc_LT_T_C_A_GT_9drop_slow17hf2862ae8173c2487E.llvm.16992393060595779045
mov rax, rsi
add rax, 0x10
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::ha1aef5e955f5f394
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x14010834f
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::ha1aef5e955f5f394
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x140108375
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::ha1aef5e955f5f394
mov rdi, rax
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
mov rax, rdi
jmp 0x1401083d7
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::hd693885652fa1428
ud2
Function at 0x1401084c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rsi, rcx
mov ecx, dword [0x140129818]
test ecx, ecx
je 0x1401085bd
dec ecx
call fcn.140123ccc
cmp rax, 2
jb 0x1401084f5
cmp qword [rax + 8], 0
jne 0x1401085ad
mov ecx, dword [0x140129818]
test ecx, ecx
je 0x1401085d0
dec ecx
call fcn.140123ccc
cmp rax, 1
je 0x1401085b3
test rax, rax
jne 0x140108569
mov rax, qword [0x1401c1748]
movzx eax, byte [rax]
mov r8d, 0x20
xor edx, edx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h54baaa069cfd9f2e
test rax, rax
je 0x1401085fc
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h5a628db256e6f7e2
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x140129818]
test ecx, ecx
je 0x1401085e3
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.140123cd4
mov rax, rdi
test rsi, rsi
je 0x140108582
mov rcx, qword [rsi]
movups xmm0, xmmword [rsi + 8]
mov qword [rsi], 0
cmp rcx, 1
je 0x1401085a1
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
mov edx, 0x10
mov rsi, rax
call sub.bcryptprimitives.dll_ProcessPrng
mov rax, rsi
movaps xmm0, xmmword [rbp - 0x10]
mov qword [rax + 8], 1
movups xmmword [rax + 0x10], xmm0
add rax, 0x10
jmp 0x1401085b5
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h5a628db256e6f7e2
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x1401084df
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h5a628db256e6f7e2
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x140108505
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h5a628db256e6f7e2
mov rdi, rax
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
mov rax, rdi
jmp 0x14010855b
mov ecx, 8
mov edx, 0x20
call sym.alloc::alloc::handle_alloc_error::hd693885652fa1428
int3
Function at 0x140108610
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov rsi, rcx
mov ecx, dword [0x140129838]
test ecx, ecx
je 0x14010872c
dec ecx
call fcn.140123ccc
cmp rax, 2
jb 0x140108645
cmp qword [rax + 8], 0
jne 0x140108720
mov ecx, dword [0x140129838]
test ecx, ecx
je 0x14010873f
dec ecx
call fcn.140123ccc
cmp rax, 1
je 0x1401086df
test rax, rax
jne 0x1401086c5
mov qword [rbp - 0x10], 0
lea rax, sym.std::sys::thread_local::os_local::destroy_value::hb43234836f7f391f
mov qword [rbp - 0x18], rax
mov rax, qword [0x1401c1748]
movzx eax, byte [rax]
mov r8d, 0x18
xor edx, edx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h54baaa069cfd9f2e
test rax, rax
je 0x14010876b
mov rcx, qword [rbp - 8]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rax], xmm0
mov ecx, dword [0x140129838]
test ecx, ecx
je 0x140108752
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.140123cd4
mov rax, rdi
test rsi, rsi
je 0x1401086e3
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x1401086e5
mov rcx, qword [rsi + 8]
jmp 0x1401086e5
xor eax, eax
jmp 0x140108724
xor ecx, ecx
mov r8, qword [rax + 8]
mov rdx, qword [rax + 0x10]
mov qword [rbp - 0x18], r8
mov qword [rbp - 0x10], rdx
mov qword [rax + 8], 1
mov qword [rax + 0x10], rcx
test r8, r8
je 0x140108720
test rdx, rdx
je 0x140108720
lock dec qword [rdx]
jne 0x140108720
lea rcx, [rbp - 0x10]
mov rsi, rax
call sym._ZN5alloc4sync16Arc_LT_T_C_A_GT_9drop_slow17h5b4d1ff3152dafd5E.llvm.16992393060595779045
mov rax, rsi
add rax, 0x10
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::hb43234836f7f391f
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x14010862f
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::hb43234836f7f391f
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x140108655
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::hb43234836f7f391f
mov rdi, rax
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
mov rax, rdi
jmp 0x1401086b7
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::hd693885652fa1428
ud2

Function at 0x140109c48
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 0x140109c4f
test al, 1
je 0x140109c6e
test al, 2
jne 0x140109c86
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1401981b8]
mov edx, 0x23
call sym.core::panicking::panic::hf6fd3ad2f9225230
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1401981f8]
mov edx, 0x25
call sym.core::panicking::panic::hf6fd3ad2f9225230
int3
Function at 0x14010b413
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14010b42c
dec ecx
add rsp, 0x28
jmp fcn.140123ccc
mov rcx, rax
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x14010b423

Function at 0x14010b438
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14010b459
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.140123cd4
mov rcx, rax
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x14010b44c

Function at 0x1401113b4
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
call sym.__tokio::io::poll_evented::PollEvented_E__as_core::ops::deref::Deref_::deref::hbca6ffeba90cfd3b
mov rcx, rax
mov edx, ebx
add rsp, 0x20
pop rbx
jmp sym.std::net::tcp::TcpStream::set_nodelay::hb78cc09013e0ab96

Function at 0x14011a802
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14011a81b
dec ecx
add rsp, 0x28
jmp fcn.140123ccc
mov rcx, rax
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x14011a812

Function at 0x14011a827
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14011a848
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.140123cd4
mov rcx, rax
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h76a98b32ece36886
mov ecx, eax
jmp 0x14011a83b
Function at 0x140125310
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call 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 rbx, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x140125380
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x1401e4214]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x140125530
mov rax, qword [0x1401e4218]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x1401253cc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140125457
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x1401253b0
mov rcx, r12
call sym.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x14012558d
mov rax, qword [0x1401e4218]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1401e4218]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140125572
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140125450
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1401254e0
add dword [0x1401e4214], 1
cmp ebx, 8
jae 0x140125488
test bl, 4
jne 0x140125540
test ebx, ebx
je 0x140125479
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x140125560
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x140125479
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x1401254ba
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x1401e4218]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140125450
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
xor edi, edi
jmp 0x1401253d7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x140125479
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x140125479
mov rax, qword [0x1401e4218]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call sym.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call sym.__report_error
nop
nop dword [rax]
Function at 0x140125aa0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1401e4280]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401e4260]
test rbx, rbx
je 0x140125af4
mov rdi, qword [sym.imp.kernel32.dll_TlsGetValue]
mov rsi, qword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140125aeb
test r12, r12
je 0x140125aeb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140125ad0
lea rcx, [0x1401e4280]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140125d20
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x140125d30
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x140125d40
Capabilities:
Enumerate pe sections

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

Function at 0x140125e30
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x1401c16c0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140125ea9
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140125ea9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x140125ea6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x140125e9d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140125ea9
add r8, 0x28
cmp r8, r9
jne 0x140125e88
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x140125f90
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1401c16c0]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x140125fff
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140125fff
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x140125ffd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140125ff4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140126008
add rax, 0x28
cmp rax, r9
jne 0x140125fe0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x140126020
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x1401c16c0]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x140126098
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140126098
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x140126098
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140126098
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x14012608c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x1401260a0
add rdx, 0x28
cmp rdx, r10
jne 0x140126078
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x1401260b0
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x1401260be
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140126095
test r8d, r8d
jg 0x1401260a8
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x140001070
Capabilities:
Check for time delay via queryperformancecounter
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xor ebx, ebx
mov r9d, ebx
nop dword [rax]
mov eax, 0xcccccccd
mov dword [rsp + 0x20], ebx
mul r9d
mov r8d, r9d
mov ecx, ebx
shr edx, 2
lea eax, [rdx + rdx*4]
sub r8d, eax
nop word [rax + rax]
mov eax, dword [rsp + 0x20]
mov edx, r8d
xor edx, ecx
inc ecx
add edx, eax
mov dword [rsp + 0x20], edx
cmp ecx, 0x237
jl 0x1400010d0
inc r9d
cmp r9d, 0x2694
jl 0x1400010b0
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x28]
sub rax, qword [rsp + 0x30]
imul rax, rax, 0xf4240
cqo
idiv qword [rsp + 0x38]
mov r8, rax
movabs rax, 0x4ec4ec4ec4ec4ec5
mul r8
lea rsi, [r8 + r8]
movabs rax, 0x3521cfb2b78c1353
shr rdx, 2
imul rcx, rdx, 0xd
sub rsi, rcx
lea rcx, str.Computed_time:__llu_microseconds_n
mul rsi
mov rax, rsi
mov rdi, rsi
sub rax, rdx
shr rax, 1
add rax, rdx
mov rdx, rsi
shr rax, 5
imul rax, rax, 0x35
sub rdi, rax
add rdi, 0x44c
call fcn.140001010
mov rdx, rdi
lea rcx, str.Dynamic_threshold:__llu_n
call fcn.140001010
test sil, 2
jne 0x1400011b1
movabs rax, 0xaaaaaaaaaaaaaaab
mul rsi
shr rdx, 1
lea rax, [rdx + rdx*2]
sub rdi, rax
add rdi, rsi
cmp rsi, rdi
ja 0x1400011b1
lea rcx, str.Critical_operations_are_being_triggered..._n
jmp 0x1400011dc
mov dword [rsp + 0x20], ebx
nop word [rax + rax]
mov eax, dword [rsp + 0x20]
add eax, ebx
add ebx, 2
mov dword [rsp + 0x20], eax
cmp ebx, 0xf6
jl 0x1400011c0
lea rcx, str.Executing_harmless_routines._n
call fcn.140001010
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140001210
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140001ad0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b1a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b1a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b1a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b1a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b1a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b1c
xor al, al
add rsp, 0x28
ret
Function at 0x140029b84
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d124
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d124
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029cd4
cmp rax, 0xffffffffffffffff
je 0x140029cd4
xor edi, edi
test rbp, rbp
jle 0x140029c7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fda4
mov rbx, rax
test rax, rax
jne 0x140029c0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029c75
mov edx, 0x8000
mov ecx, r14d
call fcn.14001aac0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001de00
cmp eax, 0xffffffff
je 0x140029c55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029c1c
mov edx, r15d
mov ecx, r14d
call fcn.14001aac0
jmp 0x140029c75
cmp byte [rsi + 0x38], dil
je 0x140029c6c
cmp dword [rsi + 0x34], 5
jne 0x140029c6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029c75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b404
jmp 0x140029ce8
jns 0x140029ce8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d124
cmp rax, 0xffffffffffffffff
jne 0x140029ca0
cmp byte [rsi + 0x30], dil
je 0x140029ce8
mov edi, dword [rsi + 0x2c]
jmp 0x140029ce8
mov ecx, r14d
call fcn.1400195f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029ce8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029ce8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029ce1
mov eax, dword [rsi + 0x2c]
jmp 0x140029ce6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d124
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ade0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002ae08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002ae08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001d0c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001d56
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001d56
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001d56
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001d56
cmp dword [rcx + 0x84], 0xe
jbe 0x140001d56
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001d58
xor al, al
add rsp, 0x28
ret