joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140073c90
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 [0x1400b5118]
test ecx, ecx
je 0x140073cbf
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140073cd8
cmp byte [rax + 8], 0
je 0x140073cd8
add rax, 9
jmp 0x140073d80
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::h7d7bf06adc6e12db
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140073cb0
mov ecx, dword [0x1400b5118]
test ecx, ecx
je 0x140073d61
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140073d7e
mov rdi, rax
test rax, rax
jne 0x140073d3e
mov rax, qword [0x1400e1348]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140073d97
mov rdi, rax
lea rax, dbg.destroy_value_u8_
mov qword [rdi], rax
mov byte [rdi + 8], 0
mov ecx, dword [0x1400b5118]
test ecx, ecx
je 0x140073d87
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
xor ecx, ecx
test rsi, rsi
je 0x140073d54
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 0x140073d80
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::h7d7bf06adc6e12db
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140073cf3
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::h7d7bf06adc6e12db
mov ecx, eax
jmp 0x140073d36
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
ud2
Function at 0x140073db0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400b5138]
test ecx, ecx
je 0x140073eac
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140073de2
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x140073ea6
mov ecx, dword [0x1400b5138]
test ecx, ecx
je 0x140073ed5
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140073ef2
mov rdi, rax
test rax, rax
jne 0x140073e58
mov rax, qword [0x1400e1348]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140073f11
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 [0x1400b5138]
test ecx, ecx
je 0x140073efe
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x140073ece
mov rax, qword [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
je 0x140073ece
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
test rdx, rdx
je 0x140073ea6
test rcx, rcx
je 0x140073ea6
lock dec qword [rcx]
jne 0x140073ea6
lea rcx, [rsp + 0x30]
call dbg.drop_slow<std::sync::mpmc::context::Inner, alloc::alloc::Global>
add rdi, 0x10
jmp 0x140073ef4
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::h7d7bf06adc6e12db
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140073dd4
jmp 0x140073de2
call sym.std::sync::mpmc::context::Context::new::h897acfebdbebe8ec
jmp 0x140073e6e
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::h7d7bf06adc6e12db
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140073e01
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h7d7bf06adc6e12db
mov ecx, eax
jmp 0x140073e50
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x140073f30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400b5158]
test ecx, ecx
je 0x140074032
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140073f62
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x14007402c
mov ecx, dword [0x1400b5158]
test ecx, ecx
je 0x140074054
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140074071
mov rdi, rax
test rax, rax
jne 0x140073fd8
mov rax, qword [0x1400e1348]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140074090
mov rdi, rax
lea rax, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x1400b5158]
test ecx, ecx
je 0x14007407d
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x140073ff2
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x140073ff4
mov rax, qword [rsi + 8]
jmp 0x140073ff4
xor eax, eax
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
test rdx, rdx
je 0x14007402c
test rcx, rcx
je 0x14007402c
lock dec qword [rcx]
jne 0x14007402c
lea rcx, [rsp + 0x30]
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>, alloc::alloc::Global>
add rdi, 0x10
jmp 0x140074073
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call sym.std::sys::windows::thread_local_key::StaticKey::init::h7d7bf06adc6e12db
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140073f54
jmp 0x140073f62
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call sym.std::sys::windows::thread_local_key::StaticKey::init::h7d7bf06adc6e12db
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140073f81
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call sym.std::sys::windows::thread_local_key::StaticKey::init::h7d7bf06adc6e12db
mov ecx, eax
jmp 0x140073fd0
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x1400740b0
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 [0x1400b5178]
test ecx, ecx
je 0x1400740e3
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400740fc
mov rcx, rax
cmp qword [rax + 8], 0
je 0x1400740fc
add rcx, 0x10
jmp 0x1400741f9
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h7d7bf06adc6e12db
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x1400740d0
mov ecx, dword [0x1400b5178]
test ecx, ecx
je 0x1400741da
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400741f7
mov rdi, rax
test rax, rax
jne 0x140074172
mov rax, qword [0x1400e1348]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140074216
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 [0x1400b5178]
test ecx, ecx
je 0x140074203
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x14007418f
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
mov qword [rsi], 0
cmp rcx, 1
je 0x1400741c4
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 0x1400741bf
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x1400741c4
call dbg.fallback_rng
mov qword [rdi + 8], 1
lea rcx, [rdi + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rdx
jmp 0x1400741f9
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h7d7bf06adc6e12db
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14007411b
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::h7d7bf06adc6e12db
mov ecx, eax
jmp 0x14007416a
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
ud2
Function at 0x1400a8540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1400a85ba
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 0x1400a85b0
cmp r11, r10
ja 0x1400a8653
cmp r10, rdx
ja 0x1400a8667
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1400a85b2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400a8590
jmp 0x1400a8627
ja 0x1400a85ba
mov r11, r10
cmp rax, r8
jne 0x1400a8562
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1400a862b
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 0x1400a8600
mov r8, r10
sub ecx, r9d
jns 0x1400a861e
jmp 0x1400a862d
cmp r10, rdx
je 0x1400a8639
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1400a862d
xor al, 1
cmp r8, rdx
jne 0x1400a85e0
jmp 0x1400a862d
xor eax, eax
jmp 0x1400a862d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1400d4561]
lea r8, [0x1400d63d0]
mov edx, 0x2b
call dbg.panic
ud2
lea r8, [0x1400d63e8]
mov rcx, r11
mov rdx, r10
call dbg.slice_index_order_fail
ud2
lea r8, [0x1400d63e8]
mov rcx, r10
call dbg.slice_end_index_len_fail
ud2
Function at 0x1400b3c90
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 0x1400b3d00
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400f2274]
mov rbx, rcx
test esi, esi
jle 0x1400b3e30
mov rax, qword [0x1400f2278]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400b3d4b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400b3dd5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400b3d30
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400b3e52
mov rax, qword [0x1400f2278]
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 [0x1400f2278]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400b3e37
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400b3dce
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400b3de0
add dword [0x1400f2274], 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 [0x1400f2278]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400b3dce
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 0x1400b3d58
mov rax, qword [0x1400f2278]
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 0x1400b43e0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400f22e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400f22c0]
test rbx, rbx
je 0x1400b443c
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 0x1400b4433
test eax, eax
jne 0x1400b4433
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400b4418
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 0x1400b4650
Capabilities:
Parse pe header

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

Function at 0x1400b4680
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 0x1400b46cd
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 0x1400b46c4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400b46cf
add rax, 0x28
cmp rax, r9
jne 0x1400b46b0
xor eax, eax
ret

Function at 0x1400b46d0
Capabilities:
Parse pe header

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

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

Function at 0x1400b47f0
Capabilities:
Parse pe header

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

Disassembly:
mov r8, qword [0x1400e1290]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400b4850
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400b4858
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400b4850
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400b48a0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400b4897
test rcx, rcx
je 0x1400b4850
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1400b4888
xor eax, eax
ret

Function at 0x1400b48b0
Capabilities:
Parse pe header

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

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

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

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

Disassembly:
mov r11, qword [0x1400e1290]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400b49a2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400b49b0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400b49a2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400b49a2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400b49a2
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 0x1400b4a05
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400b4a18
add rdx, 0x28
cmp r10, rdx
jne 0x1400b49f0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400b4a27
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400b4a37
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400b4a0e
test ecx, ecx
jg 0x1400b4a20
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0xc539f0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xc539fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xc53a0d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xc539f5
lea eax, [rcx + 1]
jmp 0xc53a1b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xc53a2e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xc53a14
sub eax, 3
jb 0xc53a4e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xc53a9d
sar eax, 1
movsxd rbp, eax
jb 0xc53a84
jmp 0xc53a5c
add ebx, ebx
jne 0xc53a5a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xc53a84
inc ecx
add ebx, ebx
jne 0xc53a6a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xc53a84
call r11
adc ecx, ecx
add ebx, ebx
jne 0xc53a7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xc53a6c
add ecx, 2
jmp 0xc53a89
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00c539b2
jmp 0xc539fd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x4bd400
mov dl, 0xa7
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xc53ae9
cmp rsi, rcx
jae 0xc53af1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xc53ad0
cmp al, 0x8f
ja 0xc53ad0
cmp byte [rsi - 2], 0xf
je 0xc53ad6
sub al, 0xe8
cmp al, 1
ja 0xc53aba
cmp rsi, rcx
jae 0xc53af1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xc53ac0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xc53af1
lodsb al, byte [rsi]
jmp 0xc53ad0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x848000]
mov eax, dword [rdi]
or eax, eax
je 0xc53b4e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x853000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xc53afe
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xc53b48
mov qword [rbx], rax
add rbx, 8
jmp 0xc53b1e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xc53b92
cmp al, 0xef
ja 0xc53b7a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xc53b5a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xc53b69
mov eax, dword [rdi]
add rdi, 4
jmp 0xc53b69
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xc53be6
sub rsp, 0xffffffffffffff80
jmp 0x4616e0
Function at 0x140008838
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x14007a060], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x140008898
movdqa xmm0, xmmword [0x140058a50]
movdqa xmm1, xmmword [0x140058a40]
movdqa xmmword [0x14006ede0], xmm0
movdqa xmm0, xmmword [0x140058a20]
movdqa xmmword [0x14006edf0], xmm1
movdqa xmm1, xmmword [0x140058a30]
movdqa xmmword [0x14006ee00], xmm0
movdqa xmmword [0x14006ee10], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.140043260
xor edx, edx
mov qword [rbx + 0x110], rdx
mov byte [rbx + 0x118], dl
mov rcx, qword [rbx + 0xf8]
lea rax, [0x140058a00]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x1400088b4
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret

Function at 0x14000a6e0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14006e368]
xor rax, rsp
mov qword [rbp - 8], rax
mov dil, dl
mov rbx, rcx
lea rax, [rcx + 0x400]
xor esi, esi
mov qword [rax + 0x10], rsi
cmp qword [rax + 0x18], 8
jb 0x14000a722
mov rax, qword [rax]
mov word [rax], si
mov byte [rcx + 0x3f1], sil
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rbp - 0x28], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x14000a742
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.1400033a4
nop
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], si
mov qword [rbp - 0x50], rsi
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x28]
call fcn.14003158c
test al, al
je 0x14000a7c9
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x28]
call fcn.14003158c
test al, al
je 0x14000a7c9
lea rdx, [rbp - 0x48]
mov rcx, rbx
test dil, dil
je 0x14000a7b8
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
call fcn.14000a9dc
jmp 0x14000a786
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
call fcn.14000a0e4
jmp 0x14000a786
test dil, dil
jne 0x14000a7d7
mov rcx, rbx
call fcn.14000a80c
nop
lea rcx, [rbp - 0x48]
call fcn.140003250
nop
lea rcx, [rbp - 0x28]
call fcn.140003250
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140041030
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret