joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c7570
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 [0x0052c200]
test ecx, ecx
je 0x4c759f
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x4c75b8
cmp byte [rax + 8], 0
je 0x4c75b8
add rax, 9
jmp 0x4c7660
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x4c7590
mov ecx, dword [0x0052c200]
test ecx, ecx
je 0x4c7641
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x4c765e
mov rdi, rax
test rax, rax
jne 0x4c761e
mov rax, qword [0x005694a8]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x4c7677
mov rdi, rax
lea rax, dbg.destroy_value_u8_
mov qword [rdi], rax
mov byte [rdi + 8], 0
mov ecx, dword [0x0052c200]
test ecx, ecx
je 0x4c7667
dec ecx
mov rdx, rdi
call fcn.0052a788
xor ecx, ecx
test rsi, rsi
je 0x4c7634
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 0x4c7660
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x4c75d3
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
jmp 0x4c7616
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
ud2
Function at 0x4c7690
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 [0x0052c220]
test ecx, ecx
je 0x4c76bf
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x4c76d8
cmp byte [rax + 8], 0
je 0x4c76d8
add rax, 9
jmp 0x4c7780
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x4c76b0
mov ecx, dword [0x0052c220]
test ecx, ecx
je 0x4c7761
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x4c777e
mov rdi, rax
test rax, rax
jne 0x4c773e
mov rax, qword [0x005694a8]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x4c7797
mov rdi, rax
lea rax, dbg.destroy_value_u8_
mov qword [rdi], rax
mov byte [rdi + 8], 0
mov ecx, dword [0x0052c220]
test ecx, ecx
je 0x4c7787
dec ecx
mov rdx, rdi
call fcn.0052a788
xor ecx, ecx
test rsi, rsi
je 0x4c7754
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 0x4c7780
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x4c76f3
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
jmp 0x4c7736
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
ud2
Function at 0x4c77b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x0052c240]
test ecx, ecx
je 0x4c77e4
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x4c77fd
mov rbx, rax
cmp qword [rax + 8], 0
je 0x4c77fd
add rbx, 0x10
jmp 0x4c78d8
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x4c77d1
mov ecx, dword [0x0052c240]
test ecx, ecx
je 0x4c78b9
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x4c78d6
mov rdi, rax
test rax, rax
jne 0x4c786f
mov rax, qword [0x005694a8]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x4c78f6
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 [0x0052c240]
test ecx, ecx
je 0x4c78e3
dec ecx
mov rdx, rdi
call fcn.0052a788
test rsi, rsi
je 0x4c78b2
mov rax, qword [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
je 0x4c78b2
lea rbx, [rdi + 0x10]
mov rcx, qword [rdi + 0x10]
cmp qword [rdi + 8], 0
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
je 0x4c78d8
test rcx, rcx
je 0x4c78d8
lock dec qword [rcx]
jne 0x4c78d8
call dbg.drop_slow<std::sync::mpmc::context::Inner>
jmp 0x4c78d8
call sym.std::sync::mpmc::context::Context::new::h41ccdf60b269eb24
jmp 0x4c7885
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x4c781c
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
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::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
jmp 0x4c7867
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x4c7920
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x0052c260]
test ecx, ecx
je 0x4c7954
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x4c796d
mov rbx, rax
cmp qword [rax + 8], 0
je 0x4c796d
add rbx, 0x10
jmp 0x4c7a47
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______
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x4c7941
mov ecx, dword [0x0052c260]
test ecx, ecx
je 0x4c7a28
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x4c7a45
mov rdi, rax
test rax, rax
jne 0x4c79df
mov rax, qword [0x005694a8]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x4c7a65
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______
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x0052c260]
test ecx, ecx
je 0x4c7a52
dec ecx
mov rdx, rdi
call fcn.0052a788
test rsi, rsi
je 0x4c79f9
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x4c79fb
mov rax, qword [rsi + 8]
jmp 0x4c79fb
xor eax, eax
lea rbx, [rdi + 0x10]
mov rcx, qword [rdi + 0x10]
cmp qword [rdi + 8], 0
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
je 0x4c7a47
test rcx, rcx
je 0x4c7a47
lock dec qword [rcx]
jne 0x4c7a47
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>>
jmp 0x4c7a47
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______
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x4c798c
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
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______
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
jmp 0x4c79d7
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x4c7a90
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 [0x0052c280]
test ecx, ecx
je 0x4c7ac3
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x4c7adc
mov rcx, rax
cmp qword [rax + 8], 0
je 0x4c7adc
add rcx, 0x10
jmp 0x4c7bd9
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x4c7ab0
mov ecx, dword [0x0052c280]
test ecx, ecx
je 0x4c7bba
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x4c7bd7
mov rdi, rax
test rax, rax
jne 0x4c7b52
mov rax, qword [0x005694a8]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x4c7bf6
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 [0x0052c280]
test ecx, ecx
je 0x4c7be3
dec ecx
mov rdx, rdi
call fcn.0052a788
test rsi, rsi
je 0x4c7b6f
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
mov qword [rsi], 0
cmp rcx, 1
je 0x4c7ba4
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 0x4c7b9f
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x4c7ba4
call dbg.fallback_rng
mov qword [rdi + 8], 1
lea rcx, [rdi + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rdx
jmp 0x4c7bd9
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x4c7afb
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::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
jmp 0x4c7b4a
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
ud2
Function at 0x5112f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x51136a
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 0x511360
cmp r10, r11
jb 0x511403
cmp r10, rdx
ja 0x511417
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x511362
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x511340
jmp 0x5113d7
ja 0x51136a
mov r11, r10
cmp rax, r8
jne 0x511312
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x5113db
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 0x5113b0
mov r8, r10
sub ecx, r9d
jns 0x5113ce
jmp 0x5113dd
cmp r10, rdx
je 0x5113e9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x5113dd
xor al, 1
cmp r8, rdx
jne 0x511390
jmp 0x5113dd
xor eax, eax
jmp 0x5113dd
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x00559fe9]
lea r8, [0x0055c3a8]
mov edx, 0x2b
call dbg.panic
ud2
lea r8, [0x0055c390]
mov rcx, r11
mov rdx, r10
call dbg.slice_index_order_fail
ud2
lea r8, [0x0055c390]
mov rcx, r10
call dbg.slice_end_index_len_fail
ud2
Function at 0x52b250
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 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 rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__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 0x52b2c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x0058a674]
mov r12, rcx
test ebx, ebx
jle 0x52b3f0
mov rax, qword [0x0058a678]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x52b30c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x52b393
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x52b2f0
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x52b412
mov rax, qword [0x0058a678]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x0058a678]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.kernel32.dll_VirtualQuery]
test rax, rax
je 0x52b3f7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x52b38c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x52b3a0
add dword [0x0058a674], 1
add rsp, 0x50
pop rbx
pop rsi
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 rbx, qword [0x0058a678]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x52b38c
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 ebx, ebx
jmp 0x52b317
mov rax, qword [0x0058a678]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x52b8e0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0058a6e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0058a6c0]
test rbx, rbx
je 0x52b934
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 0x52b92b
test r12, r12
je 0x52b92b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x52b910
lea rcx, [0x0058a6e0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x52bb50
Capabilities:
Parse pe header

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

Function at 0x52bb80
Capabilities:
Enumerate pe sections

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

Function at 0x52bbd0
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x52bc60
mov rdx, qword [0x00569420]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x52bc4e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x52bc4e
cmp word [rax + 0x18], 0x20b
jne 0x52bc4e
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x52bc60
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x52bc39
add r12, 0x28
cmp r12, rsi
je 0x52bc60
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x52bc30
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

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

Disassembly:
mov rdx, qword [0x00569420]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x52bc90
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x52bc98
ret
cmp word [r8 + 0x18], 0x20b
jne 0x52bc90
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x52bce5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x52bcdc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x52bc90
add rax, 0x28
cmp rax, r9
jne 0x52bcc8
xor eax, eax
ret

Function at 0x52bcf0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x00569420]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x52bd10
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x52bd18
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x52bd10
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x52bd30
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x00569420]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x52bd50
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x52bd58
ret
cmp word [rdx + 0x18], 0x20b
jne 0x52bd50
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x52bd98
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x52bd8f
test rcx, rcx
je 0x52bd50
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x52bd80
xor eax, eax
ret
Function at 0x52bda0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x00569420]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x52bdc0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x52bdc8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

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

Disassembly:
mov rax, qword [0x00569420]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x52be00
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x52be08
mov eax, r8d
ret
cmp word [rdx + 0x18], 0x20b
jne 0x52be00
sub rcx, rax
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x52be00
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 0x52be44
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x52be58
add rax, 0x28
cmp r9, rax
jne 0x52be30
xor r8d, r8d
mov eax, r8d
ret
mov r8d, dword [rax + 0x24]
not r8d
shr r8d, 0x1f
mov eax, r8d
ret

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

Disassembly:
mov r11, qword [0x00569420]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x52be92
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x52bea0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x52be92
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x52be92
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x52be92
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x52beed
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x52bf00
add rdx, 0x28
cmp r10, rdx
jne 0x52bed8
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x52bf0f
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x52bf1f
mov edx, dword [rax + 0xc]
test edx, edx
je 0x52bef6
test ecx, ecx
jg 0x52bf08
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140026030
Capabilities:
Encode data using xor

Disassembly:
test r8d, r8d
je 0x14002614a
xchg rbx, rdx
mov qword [rsp + 0x10], rdx
xchg rdx, rbx
xchg rbp, r11
mov qword [rsp + 0x18], r11
xchg rbp, r11
nop
sub rsp, 8
mov qword [rsp], rsi
sub rsp, 0x20
xchg rdi, r8
mov qword [rsp + 0x30], r8
xchg r8, rdi
xchg r12, rdx
mov rbx, r12
xchg rdx, r12
mov rdi, rcx
mov esi, r8d
sub rdi, rdx
xchg rdx, rbp
mov rdx, rcx
xchg rbp, rdx
sub rdi, 0xffffffffffffff10
dec rsi
shr rsi, 4
inc rsi
nop dword [rax]
xchg rbx, rbp
movups xmm0, xmmword [rbp]
xchg rbp, rbx
xchg rdi, rbp
mov rdx, rdi
xchg rbp, rdi
xchg rbx, r13
mov rcx, r13
xchg r13, rbx
call fcn.140026830
mov ecx, 0x14a21a2c
xor ecx, 0x69247be7
sub ecx, 0x41340877
xor ecx, 0x64bc8534
sub ecx, 0x46f3480f
add ecx, 0x50c06b44
sub ecx, 0x3e95e64e
add ecx, 0x361d3ea1
xor ecx, 0x5a4357f8
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x1400260f9
sub rdi, 0x10
xchg rbp, r15
movups xmmword [r15 + 0xf0], xmm0
xchg r15, rbp
sub rsi, 1
jne 0x140026096
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
push rax
push rdx
push rbx
push rdx
push rdx
push rcx
xchg qword [rsp + 0x30], rsi
add rsp, 0x38
nop
add rsp, 8
jmp qword [rsp - 8]

Function at 0x140026160
Capabilities:
Encode data using xor

Disassembly:
xchg rbx, r14
mov qword [rsp + 8], r14
xchg rbx, r14
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
nop
mov qword [rsp - 8], rdi
sub rsp, 8
sub rsp, 0x20
mov edi, r8d
xchg rdx, rbx
mov rdx, rbx
xchg rdx, rbx
lea r9, [rcx + 0xf0]
xchg rcx, rdx
mov rsi, rdx
xchg rcx, rdx
test r8d, r8d
je 0x140026249
dec rdi
shr rdi, 3
shr rdi, 1
inc rdi
nop dword [rax]
nop word [rax + rax]
xchg r15, rax
mov r15, rbx
xchg r15, rax
sub r9, rbx
mov edx, 0x50952334
sub edx, 0x6990038
add edx, 0xff09850
sub edx, 0x4536b40e
xor edx, 0x7ea5282b
sub edx, 0x2b35292d
xor edx, 0x7e8a7ba
xor edx, 0x2230fe01
xor edx, 0x1b065c43
nop dword [rax + rax]
movzx ecx, byte [r9 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140026206
xchg rsi, rdx
mov rsi, rdx
xchg rdx, rsi
xchg r10, rbx
mov rcx, r10
xchg rbx, r10
call fcn.1400262f0
xchg r9, rbx
mov rbx, r9
xchg rbx, r9
add rbx, 0x10
sub rdi, 1
jne 0x1400261c2
movups xmm0, xmmword [r9]
xchg rbx, rbp
mov rbp, qword [rsp + 0x30]
xchg rbx, rbp
mov rbp, qword [rsp + 0x38]
xchg rsi, r12
movups xmmword [r12 + 0xf0], xmm0
xchg r12, rsi
xchg rsi, rdi
mov rdi, qword [rsp + 0x40]
xchg rsi, rdi
add rsp, 0x20
nop
xchg qword [rsp], rdi
add rsp, 8
ret
Function at 0x1400279b0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
xchg r8, rbx
mov qword [rsp + 8], r8
xchg rbx, r8
nop
mov qword [rsp - 8], rdi
sub rsp, 8
sub rsp, 0x10
xchg rbx, rdx
mov rdx, rbx
xchg rdx, rbx
mov r10, rcx
test r8b, 0xf
je 0x140027a03
xor al, al
xchg rbx, rcx
mov rcx, qword [rsp + 0x20]
xchg rbx, rcx
add rsp, 0x10
nop
add rsp, 8
xchg qword [rsp - 8], rdi
nop
add rsp, 8
jmp qword [rsp - 8]
xor edx, edx
test r8d, r8d
je 0x140027ac4
movdqa xmm2, xmmword [rsp]
nop
movdqu xmm1, xmmword [rdx + rbx]
test edx, edx
jne 0x140027a30
xchg r15, r10
movdqu xmm2, xmmword [r15 + 0x200]
xchg r10, r15
movdqa xmm0, xmm1
lea rax, [r10 + 0x1c0]
pxor xmm0, xmmword [r10 + 0x1d0]
mov ecx, 0x5f2e1d98
xor ecx, 0x1126f03e
xor ecx, 0x67547128
sub ecx, 0xbd96fe3
add ecx, 0x227e65bd
xor ecx, 0x41cc00f8
add ecx, 0x73f3cc77
xor ecx, 0x8db417
sub ecx, 0x754ceb03
nop dword [rax + rax]
aesdec xmm0, xmmword [rax]
lea rax, [rax - 0x10]
sub rcx, 1
jne 0x140027a7e
aesdeclast xmm0, xmmword [r10 + 0x1e0]
pxor xmm0, xmm2
movdqa xmm2, xmm1
xchg rdx, r12
movups xmmword [r12 + r9], xmm0
xchg rdx, r12
nop
add edx, 0x4c0ca7e5
sub edx, 0x4c0ca7d5
cmp edx, r8d
jb 0x140027a14
xchg rbx, r15
mov r15, qword [rsp + 0x20]
xchg r15, rbx
mov al, 0x42
sub al, 0x3f
xor al, 0x25
add al, 0x20
xor al, 0x2c
sub al, 0x46
xor al, 0x31
add al, 0x20
sub al, 0x34
add rsp, 0x10
push rcx
push rbx
push rdx
push rcx
xchg qword [rsp + 0x20], rdi
add rsp, 0x28
ret