joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400c2390]
mov dword [rax], 1
mov rax, qword [0x1400c23a0]
mov dword [rax], 1
mov rax, qword [0x1400c23b0]
mov dword [rax], 1
mov rax, qword [0x1400c2350]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001768
Capabilities:
Create process on windows
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0xa8
lea rbp, [rsp + 0xa0]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
lea rdx, [rbp - 0x80]
mov eax, 0
mov ecx, 0xe
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp - 0x80], 0x70
lea rax, str.runas
mov qword [rbp - 0x70], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp - 0x68], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x78], 0
mov dword [rbp - 0x50], 1
lea rax, [rbp - 0x80]
mov rcx, rax
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteExA]
call rax
test eax, eax
sete al
test al, al
je 0x140001867
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0x4c7
jne 0x140001825
lea rax, str.The_operation_was_cancelled_by_the_user.
mov rdx, rax
mov rax, qword [0x1400c1cf0]
mov rcx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____]
mov rdx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x14000185d
lea rax, str.Error_running_as_admin:
mov rdx, rax
mov rax, qword [0x1400c1cf0]
mov rcx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov eax, dword [rbp - 4]
mov edx, eax
call method.std::ostream.operator___unsigned_long_
mov rcx, rax
mov rax, qword [method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____]
mov rdx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
mov ecx, 1
call sym.exit
nop
add rsp, 0xa8
pop rdi
pop rbp
ret

Function at 0x140001872
Capabilities:
Delete registry key

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegDeleteTreeA]
call rax
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
je 0x1400018e4
cmp dword [rbp - 4], 2
je 0x1400018e4
lea rax, str.Error_deleting_registry_key:
mov rdx, rax
mov rax, qword [0x1400c1cf0]
mov rcx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov eax, dword [rbp - 4]
mov edx, eax
call method.std::ostream.operator___long_
mov rcx, rax
mov rax, qword [method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____]
mov rdx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
mov eax, 0
jmp 0x1400018e9
mov eax, 1
add rsp, 0x30
pop rbp
ret
Function at 0x14000bb40
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x14000c812
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400ed168]
test eax, eax
je 0x14000c8aa
lea rax, [0x1400ed140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400ed170]
mov qword [rbp - 8], rax
jmp 0x14000c88e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14000c882
cmp qword [rbp - 0x10], 0
je 0x14000c882
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14000c848
lea rax, [0x1400ed140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000c8ab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14000c9b0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14000c9d8
mov eax, 0
jmp 0x14000ca26
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000ca01
mov eax, 0
jmp 0x14000ca26
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14000ca21
mov eax, 0
jmp 0x14000ca26
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14000ca2c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14000caaa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14000caa1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14000caa1
mov rax, qword [rbp - 8]
jmp 0x14000cabf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14000ca74
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140018bb9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
lea rax, [rbp - 0x70]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rax, qword [rax]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x20]
mov qword [rax], rdx
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x78], rax
movzx eax, byte [rbp - 0x78]
and eax, 0xfffffffe
mov byte [rbp - 0x78], al
movzx eax, byte [rbp - 0x70]
shr al, 1
and eax, 0xf
mov edx, eax
movzx eax, byte [rbp - 0x70]
shr al, 1
and eax, 0xf
sub eax, 1
and eax, edx
and eax, 0xf
and eax, 0xf
lea edx, [rax + rax]
movzx eax, byte [rbp - 0x78]
and eax, 0xffffffe1
or eax, edx
mov byte [rbp - 0x78], al
mov rax, qword [rbp - 0x70]
shr rax, 9
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x58], 1
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x58]
cmp rdx, rax
cmovbe rax, rdx
mov qword [rbp - 8], rax
mov rax, qword [rbp - 0x70]
shr rax, 9
sub rax, qword [rbp - 8]
movabs rdx, 0x7fffffffffffff
and rax, rdx
shl rax, 9
mov rdx, rax
mov rax, qword [rbp - 0x78]
and eax, 0x1ff
or rax, rdx
mov qword [rbp - 0x78], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x78]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x30]
mov rax, qword [rax]
mov qword [rbp - 0x80], rax
mov rax, qword [rbp - 0x38]
mov rax, qword [rax]
mov qword [rbp - 0x40], rax
mov rcx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x28]
lea rdx, [rbp - 0x80]
mov rax, qword [rdx]
lock cmpxchg qword [r8], rcx
mov rcx, rax
sete al
test al, al
jne 0x140018cd4
mov qword [rdx], rcx
mov byte [rbp - 0x41], al
mov rdx, qword [rbp - 0x80]
mov rax, qword [rbp - 0x30]
mov qword [rax], rdx
movzx eax, byte [rbp - 0x41]
xor eax, 1
test al, al
jne 0x140018bee
movzx eax, byte [rbp - 0x70]
and eax, 0x1e
test al, al
je 0x140018d29
movzx eax, byte [rbp - 0x70]
shr al, 1
and eax, 0xf
movzx edx, al
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.do_spin_byte_ptr
mov qword [rbp - 0x60], rax
mov byte [rbp - 0x61], 1
movzx eax, byte [rbp - 0x61]
movzx edx, al
mov rax, qword [rbp - 0x60]
mov byte [rax], dl
mov rdx, qword [rbp - 8]
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.__MCF_batch_release_common
nop
add rsp, 0xa0
pop rbp
ret
Function at 0x1400194e4
Capabilities:
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
call sym._MCF_thread_self_tid
mov edx, eax
mov rax, qword [rbp - 8]
add rax, 4
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x14], edx
mov edx, dword [rbp - 0x14]
mov rax, qword [rbp - 0x10]
mov dword [rax], edx
fninit
mov rax, qword [0x1400c22e0]
mov rax, qword [rax]
mov eax, dword [rax + 0xc]
mov rdx, qword [rbp - 8]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
test eax, eax
jne 0x140019548
lea rax, str.do_win32_thread_thunk
mov rcx, rax
call sym.__MCF_runtime_failure
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp - 8]
mov rcx, rax
call rdx
mov eax, 0
add rsp, 0x40
pop rbp
ret
Function at 0x1400197f8
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax]
test eax, eax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 4]
test eax, eax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 8]
test rax, rax
mov rax, qword [0x1400c22e0]
mov rax, qword [rax]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
test rax, rax
call sym._MCF_thread_self_tid
mov rdx, qword [rbp + 0x10]
mov dword [rdx + 4], eax
mov rax, qword [rbp + 0x10]
add rax, 8
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, 0xffffffffffffffff
mov rdx, 0xfffffffffffffffe
mov rcx, 0xffffffffffffffff
mov rax, qword [sym.imp.ntdll.dll_NtDuplicateObject]
call rax
test eax, eax
jns 0x14001989b
lea rax, str.__MCF_thread_attach_foreign
mov rcx, rax
call sym.__MCF_runtime_failure
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400198b7
lea rax, str.__MCF_thread_attach_foreign
mov rcx, rax
call sym.__MCF_runtime_failure
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], 1
mov edx, dword [rbp - 0xc]
mov rax, qword [rbp - 8]
mov dword [rax], edx
mov rax, qword [0x1400c22e0]
mov rax, qword [rax]
mov eax, dword [rax + 0xc]
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
test eax, eax
jne 0x1400198fe
lea rax, str.__MCF_thread_attach_foreign
mov rcx, rax
call sym.__MCF_runtime_failure
mov rax, qword [rbp + 0x10]
add rsp, 0x50
pop rbp
ret

Function at 0x140019aad
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [0x1400c22e0]
mov rax, qword [rax]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
setne al
movzx eax, al
test eax, eax
je 0x140019ae6
mov rax, qword [rbp - 8]
jmp 0x140019b0e
mov ecx, 0x640
call sym.__MCF_malloc_0
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140019b02
mov eax, 0
jmp 0x140019b0e
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.__MCF_thread_attach_foreign
add rsp, 0x30
pop rbp
ret
Function at 0x14001b57d
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [0x1400b8230]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
je 0x14001b603
cmp qword [rbp - 8], 0xffffffffffffff81
je 0x14001b603
mov rax, qword [rbp - 8]
add rax, 0x20
mov r8d, 0
mov edx, 0
mov rcx, rax
call sym.__MCF_dtor_queue_finalize
mov rax, qword [rbp - 8]
add rax, 0x618
mov rcx, rax
call sym.__MCF_tls_table_finalize
mov rax, qword [0x1400b8230]
mov eax, dword [rax + 0xc]
mov rdx, 0xffffffffffffff81
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym._MCF_thread_drop_ref_nonnull
jmp 0x14001b604
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14001bad0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
cmp ecx, 1
ja 0x14001bb06
lock sub dword [rdx - 0x60], 1
jne 0x14001bb00
mov rax, qword [rdx - 0x48]
lea rbx, [rdx + 0x40]
test rax, rax
je 0x14001baf3
mov rcx, rbx
call rax
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.__cxa_free_exception
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rdx - 0x38]
call method.__cxxabiv1.__terminate_void______
nop

Function at 0x14001bc60
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
call rcx
nop
jmp method.__cxxabiv1.__terminate_void________clone_.cold_
Function at 0x14001c460
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov edx, 1
mov rbx, rcx
lock cmpxchg qword [0x1400b8920], rdx
jne 0x14001c565
mov rax, qword [0x1400b8928]
mov r11, qword [rbx - 0x10]
lea r9, [rbx - 0x10]
test rax, rax
je 0x14001c510
lea r8, [r9 + r11]
cmp r8, rax
jb 0x14001c510
mov rdx, qword [rax + 8]
cmp rax, r8
je 0x14001c540
lea r10, [0x1400b8928]
test rdx, rdx
jne 0x14001c4d3
jmp 0x14001c4eb
mov rcx, qword [rdx + 8]
lea r10, [rax + 8]
mov rax, rdx
test rcx, rcx
je 0x14001c4e8
mov rdx, rcx
cmp rdx, r8
jb 0x14001c4c0
cmp r8, rdx
jne 0x14001c4e8
mov rdx, qword [r8 + 8]
add r11, qword [r8]
mov qword [rax + 8], rdx
mov rax, qword [r10]
mov rdx, qword [rax]
lea rcx, [rax + rdx]
cmp r9, rcx
je 0x14001c538
mov rax, qword [rax + 8]
mov qword [rbx - 0x10], r11
mov qword [rbx - 8], rax
mov rax, qword [r10]
mov qword [rax + 8], r9
jmp 0x14001c51b
mov qword [rbx - 8], rax
mov qword [0x1400b8928], r9
mov eax, 1
xor edx, edx
lock cmpxchg qword [0x1400b8920], rdx
jne 0x14001c554
add rsp, 0x20
pop rbx
ret
add rdx, r11
mov qword [rax], rdx
jmp 0x14001c51b
add r11, qword [rax]
mov qword [rbx - 8], rdx
mov qword [rbx - 0x10], r11
mov qword [0x1400b8928], r9
jmp 0x14001c51b
lea rcx, [0x1400b8920]
add rsp, 0x20
pop rbx
jmp sym._MCF_mutex_unlock_slow
xor edx, edx
lea rcx, [0x1400b8920]
call sym._MCF_mutex_lock_slow
jmp 0x14001c47e

Function at 0x14001d2e0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x40]
mov rsi, rdx
mov rbx, rcx
mov edx, 1
mov rcx, rsi
call sym.fread
mov edx, 0xffffffff
test rax, rax
jle 0x14001d30c
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x14001de70
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x1400bb0d0], 0
jne 0x14001df73
mov byte [0x1400bb0d0], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x14001df48
mov rbx, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call sym.__cxa_demangle
mov ecx, 2
mov rsi, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov rdi, rax
call rsi
mov edx, 1
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r8d, 0x30
mov r9, rax
call sym.fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x14001df39
call rsi
mov rcx, rbx
mov rdx, rax
call sym.fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x1400bc271]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x1400b58c7
jmp 0x1400b58bf
call rsi
mov rcx, rdi
mov rdx, rax
call sym.fputs
jmp 0x14001df07
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sym.fwrite
nop
jmp 0x1400b58ba
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sym.fwrite
call sym.abort
nop
nop
nop
Function at 0x14007c9f0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.ucrtbase.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sym.fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sym.read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x14007ca38
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x14007ca0a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x14008f4f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x14008f518
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.ucrtbase.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x14008f560
cdqe
add rsi, rax
sub rbx, rax
jne 0x14008f530
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x14008f56c
call rbp
cmp dword [rax], 4
je 0x14008f530
lea rcx, str.random_device_could_not_be_read
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400b5260
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1400b5285
call sym.__cxa_begin_catch
movabs rax, 0xb8b1aabcbcd4d500
add rax, qword [rbx]
cmp rax, 1
jbe 0x1400b528a
call method.std.terminate__
mov rcx, qword [rbx - 0x38]
call method.__cxxabiv1.__terminate_void______
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400b52a0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rbx, rcx
call sym.__cxa_begin_catch
mov rax, qword [rbx - 0x10]
mov rcx, qword [rbx - 0x40]
mov rbp, qword [rbx - 0x18]
movsxd rsi, dword [rbx - 0x24]
mov qword [rsp + 0x30], rax
mov rdi, qword [rbx - 0x38]
call method.__cxxabiv1.__unexpected_void______
mov rcx, rax
jmp sym.__cxa_call_unexpected.cold

Function at 0x1400b53a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, qword [0x1400b8930]
mov rdx, qword [0x1400b8938]
add rdx, rax
cmp rcx, rdx
jae 0x1400b53c0
cmp rax, rcx
jae 0x1400b53c0
jmp sym._anonymous_namespace_::pool::free_void___clone_constprop0_
jmp sym.free

Function at 0x1400b53d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, qword [0x1400b8930]
mov rdx, qword [0x1400b8938]
add rdx, rax
sub rcx, 0xa0
cmp rcx, rdx
jae 0x1400b5400
cmp rax, rcx
jae 0x1400b5400
jmp sym._anonymous_namespace_::pool::free_void___clone_constprop0_
jmp sym.free

Function at 0x1400b5730
Capabilities:
Write file on windows

Disassembly:
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400b5740
Capabilities:
Write file on windows

Disassembly:
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400b5750
Capabilities:
Write file on windows

Disassembly:
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x1400b5760
Capabilities:
Write file on windows

Disassembly:
call sym.abort
call sym.__cxa_begin_catch
call method.std.terminate__
nop

Function at 0x1400b5770
Capabilities:
Write file on windows

Disassembly:
call sym.__cxa_begin_catch
call sym.__cxa_get_globals_fast
mov rbx, qword [rax]
test byte [rbx + 0x50], 1
je 0x1400b57f7
mov rbx, qword [rbx]
lea r12, [rsp + 0x20]
mov rdx, rbp
xor ecx, ecx
mov r8, r12
call sym.parse_lsda_header__Unwind_Context__unsigned_char_const__lsda_header_info_
mov rdx, qword [rbx - 0x90]
mov r9, rsi
mov r8, rbx
mov rcx, r12
call sym.check_exception_spec_lsda_header_info__std::type_info_const__void__long_long_
test al, al
jne 0x1400b5815
lea rbx, [0x1400c4440]
mov r9, rsi
xor r8d, r8d
mov rcx, r12
mov rdx, rbx
call sym.check_exception_spec_lsda_header_info__std::type_info_const__void__long_long_
test al, al
je 0x1400b581a
mov ecx, 8
call sym.__cxa_allocate_exception
lea r8, [method.std::bad_exception.bad_exception__]
mov rdx, rbx
mov rcx, rax
mov rax, qword [0x1400c1f70]
add rax, 0x10
mov qword [rcx], rax
call sym.__cxa_throw
add rbx, 0x90
jmp 0x1400b5786
call sym.__cxa_rethrow
mov rcx, rdi
call method.__cxxabiv1.__terminate_void______
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400b5830
Capabilities:
Write file on windows

Disassembly:
call sym.abort
mov rcx, rax
call sym.__cxa_begin_catch
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400b5850
Capabilities:
Write file on windows

Disassembly:
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x1400b58cc
call sym.__cxa_begin_catch
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sym.fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
call sym.abort
mov rcx, rdi
call sym.free
call sym.__cxa_rethrow
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x1400b58ba