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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400c46c0]
mov dword [rax], 1
mov rax, qword [0x1400c46d0]
mov dword [rax], 1
mov rax, qword [0x1400c46e0]
mov dword [rax], 1
mov rax, qword [0x1400c4680]
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 0x14000c380
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 0x14000d052
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400ef168]
test eax, eax
je 0x14000d0ea
lea rax, [0x1400ef140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400ef170]
mov qword [rbp - 8], rax
jmp 0x14000d0ce
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 0x14000d0c2
cmp qword [rbp - 0x10], 0
je 0x14000d0c2
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 0x14000d088
lea rax, [0x1400ef140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000d0eb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14000d1f0
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 0x14000d218
mov eax, 0
jmp 0x14000d266
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 0x14000d241
mov eax, 0
jmp 0x14000d266
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 0x14000d261
mov eax, 0
jmp 0x14000d266
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14000d26c
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 0x14000d2ea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14000d2e1
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 0x14000d2e1
mov rax, qword [rbp - 8]
jmp 0x14000d2ff
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 0x14000d2b4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140019d44
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 [0x1400c4610]
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 0x140019da8
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 0x14001a058
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 [0x1400c4610]
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 0x14001a0fb
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 0x14001a117
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 [0x1400c4610]
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 0x14001a15e
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 0x14001a30d
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [0x1400c4610]
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 0x14001a346
mov rax, qword [rbp - 8]
jmp 0x14001a36e
mov ecx, 0x640
call sym.__MCF_malloc_0
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14001a362
mov eax, 0
jmp 0x14001a36e
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.__MCF_thread_attach_foreign
add rsp, 0x30
pop rbp
ret
Function at 0x14001bddd
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [0x1400ba570]
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 0x14001be63
cmp qword [rbp - 8], 0xffffffffffffff81
je 0x14001be63
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 [0x1400ba570]
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 0x14001be64
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14001c2f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
cmp ecx, 1
ja 0x14001c326
lock sub dword [rdx - 0x60], 1
jne 0x14001c320
mov rax, qword [rdx - 0x48]
lea rbx, [rdx + 0x40]
test rax, rax
je 0x14001c313
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 0x14001c480
Capabilities:
Write file on windows

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

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov edx, 1
mov rbx, rcx
lock cmpxchg qword [0x1400bac60], rdx
jne 0x14001cd85
mov rax, qword [0x1400bac68]
mov r11, qword [rbx - 0x10]
lea r9, [rbx - 0x10]
test rax, rax
je 0x14001cd30
lea r8, [r9 + r11]
cmp r8, rax
jb 0x14001cd30
mov rdx, qword [rax + 8]
cmp rax, r8
je 0x14001cd60
lea r10, [0x1400bac68]
test rdx, rdx
jne 0x14001ccf3
jmp 0x14001cd0b
mov rcx, qword [rdx + 8]
lea r10, [rax + 8]
mov rax, rdx
test rcx, rcx
je 0x14001cd08
mov rdx, rcx
cmp rdx, r8
jb 0x14001cce0
cmp r8, rdx
jne 0x14001cd08
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 0x14001cd58
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 0x14001cd3b
mov qword [rbx - 8], rax
mov qword [0x1400bac68], r9
mov eax, 1
xor edx, edx
lock cmpxchg qword [0x1400bac60], rdx
jne 0x14001cd74
add rsp, 0x20
pop rbx
ret
add rdx, r11
mov qword [rax], rdx
jmp 0x14001cd3b
add r11, qword [rax]
mov qword [rbx - 8], rdx
mov qword [rbx - 0x10], r11
mov qword [0x1400bac68], r9
jmp 0x14001cd3b
lea rcx, [0x1400bac60]
add rsp, 0x20
pop rbx
jmp sym._MCF_mutex_unlock_slow
xor edx, edx
lea rcx, [0x1400bac60]
call sym._MCF_mutex_lock_slow
jmp 0x14001cc9e

Function at 0x14001db40
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 0x14001db6c
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x14001e6d0
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x1400bd410], 0
jne 0x14001e7d3
mov byte [0x1400bd410], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x14001e7a8
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 0x14001e799
call rsi
mov rcx, rbx
mov rdx, rax
call sym.fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x1400be5a1]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x1400b78d7
jmp 0x1400b78cf
call rsi
mov rcx, rdi
mov rdx, rax
call sym.fputs
jmp 0x14001e767
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 0x1400b78ca
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 0x14007d650
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 0x14007d698
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x14007d66a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140090150
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 0x140090178
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 0x1400901c0
cdqe
add rsi, rax
sub rbx, rax
jne 0x140090190
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x1400901cc
call rbp
cmp dword [rax], 4
je 0x140090190
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 0x1400a07a0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov rcx, rdx
test rdx, rdx
js 0x1400a07b8
add rsp, 0x28
jmp sym.operator_new_unsigned_long_long_
call method.std.__throw_bad_alloc__
nop
nop
nop

Function at 0x1400a3190
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
movabs rcx, 0x3fffffffffffffff
mov rax, qword [rdx]
cmp rcx, rax
jb 0x1400a31eb
lea r9, [rax + 1]
cmp r8, rax
jae 0x1400a31c9
add r8, r8
cmp rax, r8
jae 0x1400a31c9
cmp rcx, r8
jae 0x1400a31d8
movabs r9, 0x4000000000000000
mov qword [rdx], rcx
mov rcx, r9
add rsp, 0x28
jmp sym.operator_new_unsigned_long_long_
lea r9, [r8 + 1]
mov qword [rdx], r8
mov rcx, r9
add rsp, 0x28
jmp sym.operator_new_unsigned_long_long_
lea rcx, [0x1400bf950]
call method.std.__throw_length_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400a49e0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov rax, rdx
shr rax, 0x3e
jne 0x1400a4a00
lea rcx, [rdx + rdx]
add rsp, 0x28
jmp sym.operator_new_unsigned_long_long_
test rdx, rdx
js 0x1400a4a10
call method.std.__throw_bad_alloc__
nop word [rax + rax]
call method.std.__throw_bad_array_new_length__
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400a6f80
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
movabs rax, 0x1fffffffffffffff
mov rcx, qword [rdx]
cmp rax, rcx
jb 0x1400a6fe1
cmp r8, rcx
jb 0x1400a6fb0
add rcx, 1
add rcx, rcx
add rsp, 0x28
jmp sym.operator_new_unsigned_long_long_
add r8, r8
cmp rcx, r8
jae 0x1400a6f9b
cmp rax, r8
jae 0x1400a6fd8
movabs rcx, 0x4000000000000000
mov qword [rdx], rax
add rsp, 0x28
jmp sym.operator_new_unsigned_long_long_
mov qword [rdx], r8
lea rcx, [r8 + 1]
jmp 0x1400a6f9f
lea rcx, str.basic_string::_M_create
call method.std.__throw_length_error_char_const_
nop
nop
nop
Function at 0x1400b7090
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov eax, 1
test rcx, rcx
cmovne rax, rcx
mov rbx, rax
mov rcx, rbx
call sym.malloc
test rax, rax
je 0x1400b70b7
add rsp, 0x20
pop rbx
ret
call method.std.get_new_handler__
test rax, rax
je sym.operator_new_unsigned_long_long___clone_cold_
call rax
jmp 0x1400b70a4

Function at 0x1400b7250
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1400b7275
call sym.__cxa_begin_catch
movabs rax, 0xb8b1aabcbcd4d500
add rax, qword [rbx]
cmp rax, 1
jbe 0x1400b727a
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 0x1400b7290
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 0x1400b7390
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, qword [0x1400bac70]
mov rdx, qword [0x1400bac78]
add rdx, rax
cmp rcx, rdx
jae 0x1400b73b0
cmp rax, rcx
jae 0x1400b73b0
jmp sym._anonymous_namespace_::pool::free_void___clone_constprop0_
jmp sym.free

Function at 0x1400b73c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, qword [0x1400bac70]
mov rdx, qword [0x1400bac78]
add rdx, rax
sub rcx, 0xa0
cmp rcx, rdx
jae 0x1400b73f0
cmp rax, rcx
jae 0x1400b73f0
jmp sym._anonymous_namespace_::pool::free_void___clone_constprop0_
jmp sym.free

Function at 0x1400b7710
Capabilities:
Write file on windows

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

Function at 0x1400b7720
Capabilities:
Write file on windows

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

Function at 0x1400b7730
Capabilities:
Write file on windows

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

Function at 0x1400b7740
Capabilities:
Write file on windows

Disassembly:
call sym.abort
call sym.__cxa_begin_catch
call method.std.terminate__
nop
Function at 0x1400b7750
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 0x1400b77d7
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 0x1400b77f5
lea rbx, [0x1400c6780]
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 0x1400b77fa
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 [0x1400c42a0]
add rax, 0x10
mov qword [rcx], rax
call sym.__cxa_throw
add rbx, 0x90
jmp 0x1400b7766
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 0x1400b7810
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 0x1400b7830
Capabilities:
Write file on windows

Disassembly:
mov ecx, 8
call sym.__cxa_allocate_exception
lea r8, [method.std::bad_alloc.bad_alloc__]
lea rdx, [0x1400c73f0]
mov rcx, rax
mov rax, qword [0x1400c4570]
add rax, 0x10
mov qword [rcx], rax
call sym.__cxa_throw
nop
nop

Function at 0x1400b7860
Capabilities:
Write file on windows

Disassembly:
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x1400b78dc
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 0x1400b78ca
Function at 0x1400b8ea0
Capabilities:
Query environment variable

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
pxor xmm0, xmm0
lea rcx, str.GLIBCXX_TUNABLES
mov qword [0x1400bac60], 0
mov qword [0x1400bac78], 0
movabs rdi, 0x2e78786362696c67
movabs r12, 0x6c6f6f705f68652e
movups xmmword [0x1400bac68], xmm0
call sym.getenv
mov dword [rsp + 0x40], 0
mov rbx, rax
lea rax, str.obj_size
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], rax
lea rax, str.obj_count
mov qword [rsp + 0x48], 9
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x100
test rbx, rbx
jne 0x1400b8f4d
jmp 0x1400b8ff4
mov rcx, rbx
mov edx, 0x3a
call sym.strchr
mov rbx, rax
test rax, rax
je 0x1400b8fb0
xor eax, eax
cmp byte [rbx], 0x3a
sete al
add rbx, rax
cmp qword [rbx], rdi
jne 0x1400b8f38
cmp qword [rbx + 7], r12
jne 0x1400b8f38
cmp byte [rbx + 0xf], 0x2e
jne 0x1400b8f38
add rbx, 0x10
lea rbp, [rsp + 0x30]
lea r13, [rsp + 0x60]
mov rsi, qword [rbp]
mov rcx, qword [rbp + 8]
test rsi, rsi
je 0x1400b8f93
mov r8, rsi
mov rdx, rbx
call sym.memcmp
test eax, eax
jne 0x1400b8f9d
cmp byte [rbx + rsi], 0x3d
je 0x1400b902a
add rbp, 0x18
cmp rbp, r13
jne 0x1400b8f77
jmp 0x1400b8f38
mov eax, dword [rsp + 0x58]
mov edx, 0x1000
mov ecx, 6
cmp eax, edx
cmovle edx, eax
mov eax, dword [rsp + 0x40]
test eax, eax
cmove eax, ecx
movsxd rbx, eax
movsxd rax, edx
add rbx, 0x26
imul rbx, rax
shl rbx, 3
mov qword [0x1400bac78], rbx
jne 0x1400b9004
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov qword [0x1400bac78], 0x16000
mov ebx, 0x16000
mov rcx, rbx
call sym.malloc
mov qword [0x1400bac70], rax
test rax, rax
je 0x1400b9061
xor edx, edx
mov qword [0x1400bac68], rax
mov qword [rax], rbx
mov qword [rax + 8], rdx
jmp 0x1400b8fe7
lea rdx, [rsp + 0x28]
lea rcx, [rbx + rsi + 1]
xor r8d, r8d
call sym.strtoul
mov rbx, qword [rsp + 0x28]
movzx edx, byte [rbx]
cmp dl, 0x3a
je 0x1400b9051
test dl, dl
jne 0x1400b8f38
test eax, eax
js 0x1400b8f38
mov dword [rbp + 0x10], eax
jmp 0x1400b8f38
xor ecx, ecx
mov qword [0x1400bac78], rcx
jmp 0x1400b8fe7