joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005de00
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
cmp byte [0x1400a7d03], 1
jne 0x14005de21
cmp byte [0x1400a7d02], 0
jne 0x14005de40
jmp 0x14005de72
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400a7d03], 1
test rax, rax
setne byte [0x1400a7d02]
je 0x14005de72
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, str.libunwind:___unw_get_proc_info_cursor_p__info_p__n
mov rcx, rax
mov r8, rdi
mov r9, rsi
call dbg.fprintf
mov ecx, 2
call rbx
mov rcx, rax
call sym.fflush
mov rax, qword [rdi]
mov rax, qword [rax + 0x48]
mov rcx, rdi
mov rdx, rsi
call qword [0x140090d40]
xor ecx, ecx
cmp qword [rsi + 8], 0
mov eax, 0xffffe66b
cmovne eax, ecx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x14005dea0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x1400a7d03], 1
jne 0x14005debd
cmp byte [0x1400a7d02], 0
jne 0x14005dedc
jmp 0x14005df0b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400a7d03], 1
test rax, rax
setne byte [0x1400a7d02]
je 0x14005df0b
mov rdi, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rdi
lea rdx, str.libunwind:___unw_resume_cursor_p__n
mov rcx, rax
mov r8, rsi
call dbg.fprintf
mov ecx, 2
call rdi
mov rcx, rax
call sym.fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x50]
mov rcx, rsi
call qword [0x140090d40]
mov eax, 0xffffe674
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x14005df30
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
cmp byte [0x1400a7d03], 1
jne 0x14005df5b
cmp byte [0x1400a7d02], 0
jne 0x14005df7a
jmp 0x14005dfb2
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400a7d03], 1
test rax, rax
setne byte [0x1400a7d02]
je 0x14005dfb2
mov r15, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call r15
mov dword [rsp + 0x20], edi
lea rdx, str.libunwind:___unw_get_proc_name_cursor_p__buf_p__bufLen_lu__n
mov rcx, rax
mov r8, r14
mov r9, rbx
call dbg.fprintf
mov ecx, 2
call r15
mov rcx, rax
call sym.fflush
mov rax, qword [r14]
mov rax, qword [rax + 0x60]
mov rcx, r14
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [0x140090d40]
xor ecx, ecx
test al, al
mov eax, 0xffffe674
cmovne eax, ecx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14005dff0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov esi, edx
mov rdi, rcx
cmp byte [0x1400a7d03], 1
jne 0x14005e010
cmp byte [0x1400a7d02], 0
jne 0x14005e02f
jmp 0x14005e061
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400a7d03], 1
test rax, rax
setne byte [0x1400a7d02]
je 0x14005e061
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, str.libunwind:___unw_is_fpreg_cursor_p__regNum_d__n
mov rcx, rax
mov r8, rdi
mov r9d, esi
call dbg.fprintf
mov ecx, 2
call rbx
mov rcx, rax
call sym.fflush
mov rax, qword [rdi]
mov rax, qword [rax + 0x28]
mov rcx, rdi
mov edx, esi
call qword [0x140090d40]
movzx eax, al
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x14005e080
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov esi, edx
mov rdi, rcx
cmp byte [0x1400a7d03], 1
jne 0x14005e0a0
cmp byte [0x1400a7d02], 0
jne 0x14005e0bf
jmp 0x14005e0f1
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400a7d03], 1
test rax, rax
setne byte [0x1400a7d02]
je 0x14005e0f1
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, str.libunwind:___unw_regname_cursor_p__regNum_d__n
mov rcx, rax
mov r8, rdi
mov r9d, esi
call dbg.fprintf
mov ecx, 2
call rbx
mov rcx, rax
call sym.fflush
mov rax, qword [rdi]
mov rax, qword [rax + 0x70]
mov r8, qword [0x140090d40]
mov rcx, rdi
mov edx, esi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp r8

Function at 0x14005e110
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x1400a7d03], 1
jne 0x14005e12d
cmp byte [0x1400a7d02], 0
jne 0x14005e14c
jmp 0x14005e17b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400a7d03], 1
test rax, rax
setne byte [0x1400a7d02]
je 0x14005e17b
mov rdi, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rdi
lea rdx, str.libunwind:___unw_is_signal_frame_cursor_p__n
mov rcx, rax
mov r8, rsi
call dbg.fprintf
mov ecx, 2
call rdi
mov rcx, rax
call sym.fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x58]
mov rcx, rsi
call qword [0x140090d40]
movzx eax, al
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x14005e1a0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x1400a7d01], 1
jne 0x14005e1bc
cmp byte [0x1400a7d00], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_UNWINDING
call sym.getenv
test rax, rax
setne al
setne byte [0x1400a7d00]
mov byte [0x1400a7d01], 1
add rsp, 0x28
ret

Function at 0x14005e1f0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x1400a7d05], 1
jne 0x14005e20c
cmp byte [0x1400a7d04], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_DWARF
call sym.getenv
test rax, rax
setne al
setne byte [0x1400a7d04]
mov byte [0x1400a7d05], 1
add rsp, 0x28
ret
Function at 0x14005e590
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call sym..weak._Znwy.default.__clang_call_terminate
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [method.std::__1.__libcpp_beginthreadex_thunk_abi:ne180100__void_]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14005e5e8
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x14005f9e0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
add dword [rcx], 2
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, [0x14008b246]
lea r8, str.SyntheticTemplateParamName
mov rcx, rax
call dbg.fprintf
mov eax, dword [rdi + 0x14]
mov edi, dword [rdi + 0x18]
cmp eax, 2
je 0x14005fa59
cmp eax, 1
je 0x14005fa40
test eax, eax
jne 0x14005fa7e
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str.TemplateParamKind::Type
mov edx, 0x17
jmp 0x14005fa70
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str.TemplateParamKind::NonType
mov edx, 0x1a
jmp 0x14005fa70
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str.TemplateParamKind::Template
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sym.fwrite
movzx ebx, byte [rsi + 4]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
test bl, bl
je 0x14005faf1
mov ecx, 0x2c
mov rdx, rax
call sym.fputc
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0xa
mov rdx, rax
call sym.fputc
cmp dword [rsi], 0
je 0x14005faeb
xor ebx, ebx
mov r14, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
nop word cs:[rax + rax]
mov ecx, 2
call r14
mov ecx, 0x20
mov rdx, rax
call sym.fputc
inc ebx
cmp ebx, dword [rsi]
jne 0x14005fad0
mov byte [rsi + 4], 0
jmp 0x14005fb0b
lea rcx, [0x14008b25f]
mov edx, 2
mov r8d, 1
mov r9, rax
call sym.fwrite
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, str._llu
mov rcx, rax
mov r8, rdi
call dbg.fprintf
mov ecx, 2
call rbx
mov ecx, 0x29
mov rdx, rax
call sym.fputc
add dword [rsi], 0xfffffffe
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140060080
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rdx]
mov r14, qword [rdx + 8]
inc dword [rcx]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x7b
mov rdx, rax
call sym.fputc
test r14, r14
je 0x140060125
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400600cf
mov rdx, rsi
call sym.void__anonymous_namespace_::itanium_demangle::Node::visit_std::__1::reference_wrapper__anonymous_namespace_::DumpVisitor____std::__1::reference_wrapper__anonymous_namespace_::DumpVisitor___const
cmp r14, 1
jne 0x1400600fa
jmp 0x140060125
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sym.fwrite
cmp r14, 1
je 0x140060125
shl r14, 3
mov r15d, 8
nop word cs:[rax + rax]
mov rdx, qword [rbx + r15]
mov rcx, rsi
call sym.void__anonymous_namespace_::DumpVisitor::printWithComma__anonymous_namespace_::itanium_demangle::Node_const___anonymous_namespace_::itanium_demangle::Node_const_
add r15, 8
cmp r14, r15
jne 0x140060110
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x7d
mov rdx, rax
call sym.fputc
dec dword [rsi]
cmp qword [rdi + 8], 0
je 0x14006014a
mov byte [rsi + 4], 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140060160
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
mov ecx, 0x2c
mov rdx, rax
call sym.fputc
mov ecx, 2
call rbx
mov ecx, 0xa
mov rdx, rax
call sym.fputc
cmp dword [rsi], 0
je 0x1400601ca
xor ebp, ebp
nop word cs:[rax + rax]
mov ecx, 2
call rbx
mov ecx, 0x20
mov rdx, rax
call sym.fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x1400601b0
mov byte [rsi + 4], 0
test rdi, rdi
je 0x1400601e0
mov rcx, rdi
mov rdx, rsi
call sym.void__anonymous_namespace_::itanium_demangle::Node::visit_std::__1::reference_wrapper__anonymous_namespace_::DumpVisitor____std::__1::reference_wrapper__anonymous_namespace_::DumpVisitor___const
jmp 0x140060205
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sym.fwrite
mov byte [rsi + 4], 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x140060220
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rsi, rcx
mov r14, qword [rdx]
add dword [rcx], 2
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, [0x14008b246]
lea r8, str.DotSuffix
mov rcx, rax
call dbg.fprintf
mov rdi, qword [r14 + 0x18]
movups xmm0, xmmword [r14 + 0x20]
movaps xmmword [rsp + 0x20], xmm0
mov ecx, 2
call rbx
mov ecx, 0xa
mov rdx, rax
call sym.fputc
cmp dword [rsi], 0
je 0x14006029a
xor ebp, ebp
mov ecx, 2
call rbx
mov ecx, 0x20
mov rdx, rax
call sym.fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140060280
mov byte [rsi + 4], 0
test rdi, rdi
je 0x1400602b0
mov rcx, rdi
mov rdx, rsi
call sym.void__anonymous_namespace_::itanium_demangle::Node::visit_std::__1::reference_wrapper__anonymous_namespace_::DumpVisitor____std::__1::reference_wrapper__anonymous_namespace_::DumpVisitor___const
jmp 0x1400602d5
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sym.fwrite
mov byte [rsi + 4], 1
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sym.void__anonymous_namespace_::DumpVisitor::printWithComma_std::__1::basic_string_view_char__std::__1::char_traits_char______std::__1::basic_string_view_char__std::__1::char_traits_char____
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x29
mov rdx, rax
call sym.fputc
add dword [rsi], 0xfffffffe
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x140060310
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
movzx ebx, byte [rcx + 4]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
test bl, bl
je 0x140060391
mov ecx, 0x2c
mov rdx, rax
call sym.fputc
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0xa
mov rdx, rax
call sym.fputc
cmp dword [rdi], 0
je 0x14006038b
xor ebx, ebx
mov r14, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
nop word cs:[rax + rax]
mov ecx, 2
call r14
mov ecx, 0x20
mov rdx, rax
call sym.fputc
inc ebx
cmp ebx, dword [rdi]
jne 0x140060370
mov byte [rdi + 4], 0
jmp 0x1400603ab
lea rcx, [0x14008b25f]
mov edx, 2
mov r8d, 1
mov r9, rax
call sym.fwrite
mov rdi, qword [rsi]
mov esi, dword [rsi + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.__.s_
mov rcx, rax
mov r8d, esi
mov r9, rdi
call dbg.fprintf
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400603e0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rdi, qword [rdx]
add dword [rcx], 2
mov r14, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call r14
lea rdx, [0x14008b246]
lea r8, str.VendorExtQualType
mov rcx, rax
call dbg.fprintf
mov rbx, qword [rdi + 0x18]
movups xmm0, xmmword [rdi + 0x20]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rdi + 0x30]
mov ecx, 2
call r14
mov ecx, 0xa
mov rdx, rax
call sym.fputc
cmp dword [rsi], 0
je 0x14006046b
xor ebp, ebp
nop word cs:[rax + rax]
mov ecx, 2
call r14
mov ecx, 0x20
mov rdx, rax
call sym.fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140060450
mov byte [rsi + 4], 0
test rbx, rbx
je 0x140060481
mov rcx, rbx
mov rdx, rsi
call sym.void__anonymous_namespace_::itanium_demangle::Node::visit_std::__1::reference_wrapper__anonymous_namespace_::DumpVisitor____std::__1::reference_wrapper__anonymous_namespace_::DumpVisitor___const
jmp 0x1400604a6
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sym.fwrite
mov byte [rsi + 4], 1
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sym.void__anonymous_namespace_::DumpVisitor::printWithComma_std::__1::basic_string_view_char__std::__1::char_traits_char______std::__1::basic_string_view_char__std::__1::char_traits_char____
mov rcx, rsi
mov rdx, rdi
call sym.void__anonymous_namespace_::DumpVisitor::printWithComma__anonymous_namespace_::itanium_demangle::Node_const___anonymous_namespace_::itanium_demangle::Node_const_
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x29
mov rdx, rax
call sym.fputc
add dword [rsi], 0xfffffffe
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x1400604f0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [rdx]
add dword [rcx], 2
mov r14, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call r14
lea rdx, [0x14008b246]
lea r8, str.QualType
mov rcx, rax
call dbg.fprintf
mov rbx, qword [rdi + 0x18]
mov edi, dword [rdi + 0x14]
mov ecx, 2
call r14
mov ecx, 0xa
mov rdx, rax
call sym.fputc
cmp dword [rsi], 0
je 0x14006056b
xor ebp, ebp
nop dword [rax + rax]
mov ecx, 2
call r14
mov ecx, 0x20
mov rdx, rax
call sym.fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140060550
mov byte [rsi + 4], 0
test rbx, rbx
je 0x140060581
mov rcx, rbx
mov rdx, rsi
call sym.void__anonymous_namespace_::itanium_demangle::Node::visit_std::__1::reference_wrapper__anonymous_namespace_::DumpVisitor____std::__1::reference_wrapper__anonymous_namespace_::DumpVisitor___const
jmp 0x1400605a6
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sym.fwrite
mov byte [rsi + 4], 1
mov rcx, rsi
mov edx, edi
call sym.void__anonymous_namespace_::DumpVisitor::printWithComma__anonymous_namespace_::itanium_demangle::Qualifiers___anonymous_namespace_::itanium_demangle::Qualifiers_
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x29
mov rdx, rax
call sym.fputc
add dword [rsi], 0xfffffffe
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x1400605e0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov esi, edx
mov rdi, rcx
movzx ebx, byte [rcx + 4]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
test bl, bl
je 0x14006076b
mov ecx, 0x2c
mov rdx, rax
call sym.fputc
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0xa
mov rdx, rax
call sym.fputc
cmp dword [rdi], 0
je 0x14006065b
xor ebx, ebx
mov r14, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
nop dword [rax + rax]
mov ecx, 2
call r14
mov ecx, 0x20
mov rdx, rax
call sym.fputc
inc ebx
cmp ebx, dword [rdi]
jne 0x140060640
mov byte [rdi + 4], 0
test esi, esi
je 0x14006078d
test sil, 1
je 0x1400606c0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str.QualConst
mov edx, 9
mov r8d, 1
mov r9, rax
call sym.fwrite
and esi, 0xfffffffe
je 0x140060761
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, [0x14008b2bb]
mov edx, 3
mov r8d, 1
mov r9, rax
call sym.fwrite
test sil, 2
je 0x140060715
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str.QualVolatile
mov edx, 0xc
mov r8d, 1
mov r9, rax
call sym.fwrite
and esi, 0xfffffffd
je 0x140060761
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, [0x14008b2bb]
mov edx, 3
mov r8d, 1
mov r9, rax
call sym.fwrite
test sil, 4
je 0x140060761
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str.QualRestrict
mov edx, 0xc
mov r8d, 1
mov r9, rax
call sym.fwrite
test esi, 0xfffffffb
je 0x140060761
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, [0x14008b2bb]
mov edx, 3
jmp 0x1400607a4
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14008b25f]
mov edx, 2
mov r8d, 1
mov r9, rax
call sym.fwrite
test esi, esi
jne 0x140060667
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str.QualNone
mov edx, 8
mov r8d, 1
mov r9, rax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp sym.fwrite
Function at 0x1400607c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rdi, qword [rdx]
add dword [rcx], 2
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, [0x14008b246]
lea r8, str.ConversionOperatorType
mov rcx, rax
call dbg.fprintf
mov rdi, qword [rdi + 0x18]
mov ecx, 2
call rbx
mov ecx, 0xa
mov rdx, rax
call sym.fputc
cmp dword [rsi], 0
je 0x14006083a
xor ebp, ebp
nop word cs:[rax + rax]
mov ecx, 2
call rbx
mov ecx, 0x20
mov rdx, rax
call sym.fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140060820
mov byte [rsi + 4], 0
test rdi, rdi
je 0x140060850
mov rcx, rdi
mov rdx, rsi
call sym.void__anonymous_namespace_::itanium_demangle::Node::visit_std::__1::reference_wrapper__anonymous_namespace_::DumpVisitor____std::__1::reference_wrapper__anonymous_namespace_::DumpVisitor___const
jmp 0x140060875
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sym.fwrite
mov byte [rsi + 4], 1
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x29
mov rdx, rax
call sym.fputc
add dword [rsi], 0xfffffffe
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x1400608a0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rsi, rcx
mov r14, qword [rdx]
add dword [rcx], 2
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, [0x14008b246]
lea r8, str.PostfixQualifiedType
mov rcx, rax
call dbg.fprintf
mov rdi, qword [r14 + 0x18]
movups xmm0, xmmword [r14 + 0x20]
movaps xmmword [rsp + 0x20], xmm0
mov ecx, 2
call rbx
mov ecx, 0xa
mov rdx, rax
call sym.fputc
cmp dword [rsi], 0
je 0x14006091a
xor ebp, ebp
mov ecx, 2
call rbx
mov ecx, 0x20
mov rdx, rax
call sym.fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140060900
mov byte [rsi + 4], 0
test rdi, rdi
je 0x140060930
mov rcx, rdi
mov rdx, rsi
call sym.void__anonymous_namespace_::itanium_demangle::Node::visit_std::__1::reference_wrapper__anonymous_namespace_::DumpVisitor____std::__1::reference_wrapper__anonymous_namespace_::DumpVisitor___const
jmp 0x140060955
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sym.fwrite
mov byte [rsi + 4], 1
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sym.void__anonymous_namespace_::DumpVisitor::printWithComma_std::__1::basic_string_view_char__std::__1::char_traits_char______std::__1::basic_string_view_char__std::__1::char_traits_char____
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x29
mov rdx, rax
call sym.fputc
add dword [rsi], 0xfffffffe
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x140060a70
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
mov ecx, 0x2c
mov rdx, rax
call sym.fputc
mov ecx, 2
call rbx
mov ecx, 0xa
mov rdx, rax
call sym.fputc
cmp dword [rsi], 0
je 0x140060ada
xor ebp, ebp
nop word cs:[rax + rax]
mov ecx, 2
call rbx
mov ecx, 0x20
mov rdx, rax
call sym.fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140060ac0
mov byte [rsi + 4], 0
test rdi, rdi
je 0x140060af0
mov rcx, rdi
mov rdx, rsi
call sym.void__anonymous_namespace_::itanium_demangle::Node::visit_std::__1::reference_wrapper__anonymous_namespace_::DumpVisitor____std::__1::reference_wrapper__anonymous_namespace_::DumpVisitor___const
jmp 0x140060b15
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sym.fwrite
mov byte [rsi + 4], 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x140060c10
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rsi, rcx
mov r14, qword [rdx]
add dword [rcx], 2
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, [0x14008b246]
lea r8, str.AbiTagAttr
mov rcx, rax
call dbg.fprintf
mov rdi, qword [r14 + 0x18]
movups xmm0, xmmword [r14 + 0x20]
movaps xmmword [rsp + 0x20], xmm0
mov ecx, 2
call rbx
mov ecx, 0xa
mov rdx, rax
call sym.fputc
cmp dword [rsi], 0
je 0x140060c8a
xor ebp, ebp
mov ecx, 2
call rbx
mov ecx, 0x20
mov rdx, rax
call sym.fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140060c70
mov byte [rsi + 4], 0
test rdi, rdi
je 0x140060ca0
mov rcx, rdi
mov rdx, rsi
call sym.void__anonymous_namespace_::itanium_demangle::Node::visit_std::__1::reference_wrapper__anonymous_namespace_::DumpVisitor____std::__1::reference_wrapper__anonymous_namespace_::DumpVisitor___const
jmp 0x140060cc5
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str._null_
mov edx, 6
mov r8d, 1
mov r9, rax
call sym.fwrite
mov byte [rsi + 4], 1
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sym.void__anonymous_namespace_::DumpVisitor::printWithComma_std::__1::basic_string_view_char__std::__1::char_traits_char______std::__1::basic_string_view_char__std::__1::char_traits_char____
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 0x29
mov rdx, rax
call sym.fputc
add dword [rsi], 0xfffffffe
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret