joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007fef0
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 0x14007ff48
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 0x140082cf0
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
xor edi, edi
cmp rax, 8
ja 0x140082d6f
mov rax, qword [0x1400a8008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x140082d6f
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140082d6d
add rax, rcx
movzx ecx, word [rax + 0x18]
cmp ecx, 0x20b
jne 0x140082d6d
movzx ebx, word [rax + 6]
test ebx, ebx
je 0x140082d6d
movzx ecx, word [rax + 0x14]
lea rdi, [rcx + rax]
add rdi, 0x18
nop dword [rax]
mov r8d, 8
mov rcx, rdi
mov rdx, rsi
call sym.strncmp
test eax, eax
je 0x140082d6f
add rdi, 0x28
dec ebx
jne 0x140082d50
xor edi, edi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

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

Disassembly:
mov rax, qword [0x1400a8008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x140082deb
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x140082deb
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x140082deb
movzx edx, word [rax + 6]
test edx, edx
je 0x140082deb
sub rcx, qword [0x1400a8008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140082dd8
add rax, 0x28
dec edx
je 0x140082deb
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140082dd0
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140082dd0
ret
xor eax, eax
ret

Function at 0x140082df0
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x1400a8008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140082e25
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140082e25
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140082e25
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x140082ea0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400a8008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x140082ecc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140082ecc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x140082ece
xor eax, eax
ret
Function at 0x140082f60
Capabilities:
Parse pe header

Disassembly:
push rsi
mov rdx, qword [0x1400a8008]
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x140082ffd
movsxd rax, dword [rdx + 0x3c]
cmp dword [rdx + rax], 0x4550
jne 0x140082ffd
add rax, rdx
movzx r8d, word [rax + 0x18]
cmp r8d, 0x20b
jne 0x140082ffd
mov r8d, dword [rax + 0x90]
test r8, r8
je 0x140082ffd
movzx r9d, word [rax + 6]
test r9, r9
je 0x140082ffd
movzx r10d, word [rax + 0x14]
shl r9d, 3
lea r9, [r9 + r9*4]
add r10, rax
add r10, 0x24
xor eax, eax
xor r11d, r11d
jmp 0x140082fd9
add r11, 0x28
cmp r9d, r11d
je 0x140082fff
mov esi, dword [r10 + r11]
cmp esi, r8d
ja 0x140082fd0
add esi, dword [r10 + r11 - 4]
cmp esi, r8d
jbe 0x140082fd0
add rdx, r8
add rdx, 0xc
xor eax, eax
cmp dword [rdx - 8], 0
jne 0x140083021
jmp 0x14008301c
xor eax, eax
pop rsi
ret
dec ecx
add rdx, 0x14
cmp dword [rdx - 8], 0
jne 0x140083021
cmp dword [rdx], 0
je 0x140082fff
test ecx, ecx
jg 0x140083010
mov eax, dword [rdx]
add rax, qword [0x1400a8008]
jmp 0x140082fff

Function at 0x140083090
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
cmp byte [0x1400d5cf3], 1
jne 0x1400830b1
cmp byte [0x1400d5cf2], 0
jne 0x1400830d0
jmp 0x140083102
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400d5cf3], 1
test rax, rax
setne byte [0x1400d5cf2]
je 0x140083102
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_init_local_cursor_p__context_p__n
mov rcx, rax
mov r8, rsi
mov r9, rdi
call dbg.fprintf
mov ecx, 2
call rbx
mov rcx, rax
call sym.fflush
lea r8, [0x1400d5208]
mov rcx, rsi
mov rdx, rdi
call method.libunwind::UnwindCursor_libunwind::LocalAddressSpace__libunwind::Registers_x86_64_.UnwindCursor_unw_context_t__libunwind::LocalAddressSpace_
mov rax, qword [rsi]
mov rax, qword [rax + 0x68]
mov rcx, rsi
xor edx, edx
call qword [0x1400b91b0]
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140083130
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x1400d5cf3], 1
jne 0x14008314c
cmp byte [0x1400d5cf2], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
test rax, rax
setne al
setne byte [0x1400d5cf2]
mov byte [0x1400d5cf3], 1
add rsp, 0x28
ret
Function at 0x140083350
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
mov rbx, rcx
cmp byte [0x1400d5cf3], 1
jne 0x140083375
cmp byte [0x1400d5cf2], 0
jne 0x140083394
jmp 0x1400833cd
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400d5cf3], 1
test rax, rax
setne byte [0x1400d5cf2]
je 0x1400833cd
mov r14, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call r14
mov qword [rsp + 0x20], rsi
lea rdx, str.libunwind:___unw_get_reg_cursor_p__regNum_d__value_p__n
mov rcx, rax
mov r8, rbx
mov r9d, edi
call dbg.fprintf
mov ecx, 2
call r14
mov rcx, rax
call sym.fflush
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov rcx, rbx
mov edx, edi
call qword [0x1400b91b0]
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x140083401
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov edx, edi
call qword [0x1400b91b0]
mov qword [rsi], rax
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140083410
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rbx, r8
mov edi, edx
mov rsi, rcx
cmp byte [0x1400d5cf3], 1
jne 0x140083435
cmp byte [0x1400d5cf2], 0
jne 0x140083454
jmp 0x14008348d
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400d5cf3], 1
test rax, rax
setne byte [0x1400d5cf2]
je 0x14008348d
mov r14, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call r14
mov qword [rsp + 0x20], rbx
lea rdx, str.libunwind:___unw_set_reg_cursor_p__regNum_d__value0x_llx__n
mov rcx, rax
mov r8, rsi
mov r9d, edi
call dbg.fprintf
mov ecx, 2
call r14
mov rcx, rax
call sym.fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x10]
mov rcx, rsi
mov edx, edi
call qword [0x1400b91b0]
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x140083530
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
mov rcx, rsi
mov edx, edi
mov r8, rbx
call qword [0x1400b91b0]
xor eax, eax
cmp edi, 0xffffffff
jne 0x140083530
mov rax, qword [rsi]
mov rax, qword [rax + 0x48]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [0x1400b91b0]
mov rax, qword [rsi]
mov rax, qword [rax + 0x68]
mov rcx, rsi
xor edx, edx
call qword [0x1400b91b0]
cmp qword [rsp + 0x50], 0
je 0x14008352e
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
mov edx, 0xfffffffe
call qword [0x1400b91b0]
add rax, qword [rsp + 0x50]
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x20]
mov rcx, rsi
mov edx, 0xfffffffe
mov r8, rax
mov rax, r9
call qword [0x1400b91b0]
xor eax, eax
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140083540
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
mov rbx, rcx
cmp byte [0x1400d5cf3], 1
jne 0x140083565
cmp byte [0x1400d5cf2], 0
jne 0x140083584
jmp 0x1400835bd
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400d5cf3], 1
test rax, rax
setne byte [0x1400d5cf2]
je 0x1400835bd
mov r14, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call r14
mov qword [rsp + 0x20], rsi
lea rdx, str.libunwind:___unw_get_fpreg_cursor_p__regNum_d__value_p__n
mov rcx, rax
mov r8, rbx
mov r9d, edi
call dbg.fprintf
mov ecx, 2
call r14
mov rcx, rax
call sym.fflush
mov rax, qword [rbx]
mov rax, qword [rax + 0x28]
mov rcx, rbx
mov edx, edi
call qword [0x1400b91b0]
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x1400835f2
mov rax, qword [rbx]
mov rax, qword [rax + 0x30]
mov rcx, rbx
mov edx, edi
call qword [0x1400b91b0]
movsd qword [rsi], xmm0
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140083600
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
movaps xmm6, xmm2
mov esi, edx
mov rdi, rcx
cmp byte [0x1400d5cf3], 1
jne 0x140083628
cmp byte [0x1400d5cf2], 0
jne 0x140083647
jmp 0x14008367f
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400d5cf3], 1
test rax, rax
setne byte [0x1400d5cf2]
je 0x14008367f
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rbx
movsd qword [rsp + 0x20], xmm6
lea rdx, str.libunwind:___unw_set_fpreg_cursor_p__regNum_d__value_g__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 [0x1400b91b0]
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x1400836b3
mov rax, qword [rdi]
mov rax, qword [rax + 0x38]
mov rcx, rdi
mov edx, esi
movaps xmm2, xmm6
call qword [0x1400b91b0]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400836c0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x1400d5cf3], 1
jne 0x1400836dd
cmp byte [0x1400d5cf2], 0
jne 0x1400836fc
jmp 0x14008372b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400d5cf3], 1
test rax, rax
setne byte [0x1400d5cf2]
je 0x14008372b
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_step_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 + 0x40]
mov r8, qword [0x1400b91b0]
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp r8
Function at 0x140083750
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x1400d5cf3], 1
jne 0x14008376d
cmp byte [0x1400d5cf2], 0
jne 0x14008378c
jmp 0x1400837bb
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400d5cf3], 1
test rax, rax
setne byte [0x1400d5cf2]
je 0x1400837bb
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_step_stage2_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 + 0x40]
mov r8, qword [0x1400b91b0]
mov rcx, rsi
mov dl, 1
add rsp, 0x28
pop rdi
pop rsi
jmp r8

Function at 0x1400837e0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
cmp byte [0x1400d5cf3], 1
jne 0x140083801
cmp byte [0x1400d5cf2], 0
jne 0x140083820
jmp 0x140083852
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400d5cf3], 1
test rax, rax
setne byte [0x1400d5cf2]
je 0x140083852
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 [0x1400b91b0]
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 0x140083880
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x1400d5cf3], 1
jne 0x14008389d
cmp byte [0x1400d5cf2], 0
jne 0x1400838bc
jmp 0x1400838eb
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400d5cf3], 1
test rax, rax
setne byte [0x1400d5cf2]
je 0x1400838eb
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 [0x1400b91b0]
mov eax, 0xffffe674
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140083910
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 [0x1400d5cf3], 1
jne 0x14008393b
cmp byte [0x1400d5cf2], 0
jne 0x14008395a
jmp 0x140083992
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400d5cf3], 1
test rax, rax
setne byte [0x1400d5cf2]
je 0x140083992
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 [0x1400b91b0]
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 0x1400839d0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov esi, edx
mov rdi, rcx
cmp byte [0x1400d5cf3], 1
jne 0x1400839f0
cmp byte [0x1400d5cf2], 0
jne 0x140083a0f
jmp 0x140083a41
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400d5cf3], 1
test rax, rax
setne byte [0x1400d5cf2]
je 0x140083a41
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 [0x1400b91b0]
movzx eax, al
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140083a60
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov esi, edx
mov rdi, rcx
cmp byte [0x1400d5cf3], 1
jne 0x140083a80
cmp byte [0x1400d5cf2], 0
jne 0x140083a9f
jmp 0x140083ad1
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400d5cf3], 1
test rax, rax
setne byte [0x1400d5cf2]
je 0x140083ad1
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 [0x1400b91b0]
mov rcx, rdi
mov edx, esi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp r8
Function at 0x140083af0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x1400d5cf3], 1
jne 0x140083b0d
cmp byte [0x1400d5cf2], 0
jne 0x140083b2c
jmp 0x140083b5b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400d5cf3], 1
test rax, rax
setne byte [0x1400d5cf2]
je 0x140083b5b
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 [0x1400b91b0]
movzx eax, al
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140083b80
Capabilities:
Query environment variable

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

Function at 0x140083bd0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x1400d5cf5], 1
jne 0x140083bec
cmp byte [0x1400d5cf4], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_DWARF
call sym.getenv
test rax, rax
setne al
setne byte [0x1400d5cf4]
mov byte [0x1400d5cf5], 1
add rsp, 0x28
ret
Function at 0x140084f60
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, [0x1400b36b6]
lea r8, str.SyntheticTemplateParamName
mov rcx, rax
call dbg.fprintf
mov eax, dword [rdi + 0x14]
mov edi, dword [rdi + 0x18]
cmp eax, 2
je 0x140084fd9
cmp eax, 1
je 0x140084fc0
test eax, eax
jne 0x140084ffe
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 0x140084ff0
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 0x140084ff0
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 0x140085071
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 0x14008506b
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 0x140085050
mov byte [rsi + 4], 0
jmp 0x14008508b
lea rcx, [0x1400b36cf]
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 0x140085600
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 0x1400856a5
mov rcx, qword [rbx]
test rcx, rcx
je 0x14008564f
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 0x14008567a
jmp 0x1400856a5
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 0x1400856a5
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 0x140085690
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 0x1400856ca
mov byte [rsi + 4], 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400856e0
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 0x14008574a
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 0x140085730
mov byte [rsi + 4], 0
test rdi, rdi
je 0x140085760
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 0x140085785
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 0x1400857a0
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, [0x1400b36b6]
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 0x14008581a
xor ebp, ebp
mov ecx, 2
call rbx
mov ecx, 0x20
mov rdx, rax
call sym.fputc
inc ebp
cmp ebp, dword [rsi]
jne 0x140085800
mov byte [rsi + 4], 0
test rdi, rdi
je 0x140085830
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 0x140085855
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 0x140085890
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 0x140085911
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 0x14008590b
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 0x1400858f0
mov byte [rdi + 4], 0
jmp 0x14008592b
lea rcx, [0x1400b36cf]
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