joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140020290
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400202d7
movabs rcx, 0xf000000000000000
nop word cs:[rax + rax]
shl rax, 4
movzx r9d, word [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
add rdx, 2
cmp rdx, r8
jne 0x1400202b0
ret

Function at 0x140058b20
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call sym.__acrt_iob_func
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sym.fwrite
mov ecx, 2
call sym.__acrt_iob_func
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call dbg.vfprintf
call sym.abort
int3

Function at 0x14005a4c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
mov rdi, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rdi
lea rcx, str.libcabi:
mov edx, 0xb
mov r8d, 1
mov r9, rax
call sym.fwrite
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov ecx, 2
call rdi
mov r8, qword [rsp + 0x20]
mov rcx, rax
mov rdx, rsi
call dbg.vfprintf
mov ecx, 2
call rdi
mov ecx, 0xa
mov rdx, rax
call sym.fputc
call sym.abort
int3

Function at 0x14005ad10
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
call sym.logAPIs
test al, al
je 0x14005ad63
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:__Unwind_SetGR_context_p__reg_d__value0x_0llx__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 rcx, rbx
mov edx, edi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp sym.__unw_set_reg

Function at 0x14005adf0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
call sym.logAPIs
test al, al
je 0x14005ae38
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:__Unwind_SetIP_context_p__value0x_0llx__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 rcx, rdi
mov edx, 0xffffffff
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp sym.__unw_set_reg
Function at 0x14005e420
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 0x14005e49f
mov rax, qword [0x140083008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14005e49f
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14005e49d
add rax, rcx
movzx ecx, word [rax + 0x18]
cmp ecx, 0x20b
jne 0x14005e49d
movzx ebx, word [rax + 6]
test ebx, ebx
je 0x14005e49d
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 0x14005e49f
add rdi, 0x28
dec ebx
jne 0x14005e480
xor edi, edi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

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

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

Function at 0x14005e520
Capabilities:
Parse pe header

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

Function at 0x14005e5d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140083008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14005e5fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14005e5fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x14005e5fe
xor eax, eax
ret

Function at 0x14005e690
Capabilities:
Parse pe header

Disassembly:
push rsi
mov rdx, qword [0x140083008]
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x14005e72d
movsxd rax, dword [rdx + 0x3c]
cmp dword [rdx + rax], 0x4550
jne 0x14005e72d
add rax, rdx
movzx r8d, word [rax + 0x18]
cmp r8d, 0x20b
jne 0x14005e72d
mov r8d, dword [rax + 0x90]
test r8, r8
je 0x14005e72d
movzx r9d, word [rax + 6]
test r9, r9
je 0x14005e72d
movzx r10d, word [rax + 0x14]
shl r9, 3
lea r9, [r9 + r9*4]
add r10, rax
add r10, 0x24
xor eax, eax
xor r11d, r11d
jmp 0x14005e709
add r11, 0x28
cmp r9d, r11d
je 0x14005e72f
mov esi, dword [r10 + r11]
cmp esi, r8d
ja 0x14005e700
add esi, dword [r10 + r11 - 4]
cmp esi, r8d
jbe 0x14005e700
add rdx, r8
add rdx, 0xc
xor eax, eax
cmp dword [rdx - 8], 0
jne 0x14005e751
jmp 0x14005e74c
xor eax, eax
pop rsi
ret
dec ecx
add rdx, 0x14
cmp dword [rdx - 8], 0
jne 0x14005e751
cmp dword [rdx], 0
je 0x14005e72f
test ecx, ecx
jg 0x14005e740
mov eax, dword [rdx]
add rax, qword [0x140083008]
jmp 0x14005e72f
Function at 0x14005e790
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm12
movaps xmmword [rsp + 0x70], xmm11
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rsp + 0x50], xmm9
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm6
mov rdi, rdx
mov rsi, rcx
cmp byte [0x1400aab83], 1
jne 0x14005e7e3
cmp byte [0x1400aab82], 0
jne 0x14005e802
jmp 0x14005e834
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400aab83], 1
test rax, rax
setne byte [0x1400aab82]
je 0x14005e834
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 rax, method.libunwind::AbstractUnwindCursor.AbstractUnwindCursor__
mov qword [rsi], rax
lea rax, [0x1400aa1d8]
mov qword [rsi + 8], rax
lea rax, [rsi + 0x580]
lea rcx, [rsi + 0xb0]
xorps xmm0, xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x50], xmm0
movaps xmmword [rsi + 0x60], xmm0
movaps xmmword [rsi + 0x70], xmm0
movaps xmmword [rsi + 0x80], xmm0
movaps xmmword [rsi + 0x90], xmm0
mov qword [rsi + 0xa0], 0
movaps xmmword [rsi + 0x580], xmm0
movaps xmmword [rsi + 0x590], xmm0
movaps xmmword [rsi + 0x5a0], xmm0
movaps xmmword [rsi + 0x5b0], xmm0
movaps xmmword [rsi + 0x5c0], xmm0
movaps xmmword [rsi + 0x5d0], xmm0
movaps xmmword [rsi + 0x5e0], xmm0
movaps xmmword [rsi + 0x5f0], xmm0
movaps xmmword [rsi + 0x600], xmm0
movaps xmmword [rsi + 0x610], xmm0
movaps xmmword [rsi + 0x620], xmm0
movaps xmmword [rsi + 0x630], xmm0
movaps xmmword [rsi + 0x640], xmm0
movups xmmword [rsi + 0x649], xmm0
mov qword [rsi + 0x80], rcx
mov qword [rsi + 0x98], rax
mov rbx, qword [rdi]
mov r14, qword [rdi + 8]
mov r15, qword [rdi + 0x80]
movups xmm6, xmmword [rdi + 0x10]
movdqu xmm0, xmmword [rdi + 0x30]
pshufd xmm7, xmm0, 0x4e
movdqu xmm0, xmmword [rdi + 0x20]
pshufd xmm8, xmm0, 0x4e
movups xmm9, xmmword [rdi + 0x40]
movups xmm10, xmmword [rdi + 0x50]
movups xmm11, xmmword [rdi + 0x60]
movups xmm12, xmmword [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov dword [rsi + 0xe0], 0x10000b
mov qword [rsi + 0x128], rbx
movaps xmmword [rsi + 0x130], xmm6
mov qword [rsi + 0x140], r14
movdqu xmmword [rsi + 0x148], xmm7
movdqu xmmword [rsi + 0x158], xmm8
movups xmmword [rsi + 0x168], xmm9
movups xmmword [rsi + 0x178], xmm10
movups xmmword [rsi + 0x188], xmm11
movups xmmword [rsi + 0x198], xmm12
mov qword [rsi + 0x1a8], r15
mov rax, qword [rsi]
mov rax, qword [rax + 0x68]
mov rcx, rsi
xor edx, edx
call qword [0x1400b1008]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x50]
movaps xmm10, xmmword [rsp + 0x60]
movaps xmm11, xmmword [rsp + 0x70]
movaps xmm12, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14005e9f0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x1400aab83], 1
jne 0x14005ea0c
cmp byte [0x1400aab82], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
test rax, rax
setne al
setne byte [0x1400aab82]
mov byte [0x1400aab83], 1
add rsp, 0x28
ret

Function at 0x14005ea40
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 [0x1400aab83], 1
jne 0x14005ea65
cmp byte [0x1400aab82], 0
jne 0x14005ea84
jmp 0x14005eabd
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400aab83], 1
test rax, rax
setne byte [0x1400aab82]
je 0x14005eabd
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 [0x1400b1008]
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x14005eaf1
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov edx, edi
call qword [0x1400b1008]
mov qword [rsi], rax
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14005eb00
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rbx, r8
mov edi, edx
mov rsi, rcx
cmp byte [0x1400aab83], 1
jne 0x14005eb26
cmp byte [0x1400aab82], 0
jne 0x14005eb45
jmp 0x14005eb7e
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400aab83], 1
test rax, rax
setne byte [0x1400aab82]
je 0x14005eb7e
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 [0x1400b1008]
mov ebp, 0xffffe672
test al, al
je 0x14005ec1f
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
mov rcx, rsi
mov edx, edi
mov r8, rbx
call qword [0x1400b1008]
xor ebp, ebp
cmp edi, 0xffffffff
jne 0x14005ec1f
mov rax, qword [rsi]
mov rax, qword [rax + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call qword [0x1400b1008]
mov rax, qword [rsi]
mov rax, qword [rax + 0x68]
xor ebp, ebp
mov rcx, rsi
xor edx, edx
call qword [0x1400b1008]
cmp qword [rsp + 0x48], 0
je 0x14005ec1f
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
mov edx, 0xfffffffe
call qword [0x1400b1008]
add rax, qword [rsp + 0x48]
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x20]
mov rcx, rsi
mov edx, 0xfffffffe
mov r8, rax
mov rax, r9
call qword [0x1400b1008]
mov eax, ebp
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x14005ec30
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 [0x1400aab83], 1
jne 0x14005ec55
cmp byte [0x1400aab82], 0
jne 0x14005ec74
jmp 0x14005ecad
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400aab83], 1
test rax, rax
setne byte [0x1400aab82]
je 0x14005ecad
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 [0x1400b1008]
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x14005ece2
mov rax, qword [rbx]
mov rax, qword [rax + 0x30]
mov rcx, rbx
mov edx, edi
call qword [0x1400b1008]
movsd qword [rsi], xmm0
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14005ecf0
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 [0x1400aab83], 1
jne 0x14005ed18
cmp byte [0x1400aab82], 0
jne 0x14005ed37
jmp 0x14005ed6f
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400aab83], 1
test rax, rax
setne byte [0x1400aab82]
je 0x14005ed6f
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 [0x1400b1008]
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x14005eda3
mov rax, qword [rdi]
mov rax, qword [rax + 0x38]
mov rcx, rdi
mov edx, esi
movaps xmm2, xmm6
call qword [0x1400b1008]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret

Function at 0x14005edb0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x1400aab83], 1
jne 0x14005edcd
cmp byte [0x1400aab82], 0
jne 0x14005edec
jmp 0x14005ee1b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400aab83], 1
test rax, rax
setne byte [0x1400aab82]
je 0x14005ee1b
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 [0x1400b1008]
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp r8
Function at 0x14005ee40
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x1400aab83], 1
jne 0x14005ee5d
cmp byte [0x1400aab82], 0
jne 0x14005ee7c
jmp 0x14005eeab
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400aab83], 1
test rax, rax
setne byte [0x1400aab82]
je 0x14005eeab
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 [0x1400b1008]
mov rcx, rsi
mov dl, 1
add rsp, 0x28
pop rdi
pop rsi
jmp r8

Function at 0x14005eed0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
cmp byte [0x1400aab83], 1
jne 0x14005eef1
cmp byte [0x1400aab82], 0
jne 0x14005ef10
jmp 0x14005ef42
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400aab83], 1
test rax, rax
setne byte [0x1400aab82]
je 0x14005ef42
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 [0x1400b1008]
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 0x14005ef70
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x1400aab83], 1
jne 0x14005ef8d
cmp byte [0x1400aab82], 0
jne 0x14005efac
jmp 0x14005efdb
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400aab83], 1
test rax, rax
setne byte [0x1400aab82]
je 0x14005efdb
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 [0x1400b1008]
mov eax, 0xffffe674
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14005f000
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 [0x1400aab83], 1
jne 0x14005f02b
cmp byte [0x1400aab82], 0
jne 0x14005f04a
jmp 0x14005f082
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400aab83], 1
test rax, rax
setne byte [0x1400aab82]
je 0x14005f082
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 [0x1400b1008]
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 0x14005f0c0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov esi, edx
mov rdi, rcx
cmp byte [0x1400aab83], 1
jne 0x14005f0e0
cmp byte [0x1400aab82], 0
jne 0x14005f0ff
jmp 0x14005f131
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400aab83], 1
test rax, rax
setne byte [0x1400aab82]
je 0x14005f131
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 [0x1400b1008]
movzx eax, al
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x14005f150
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov esi, edx
mov rdi, rcx
cmp byte [0x1400aab83], 1
jne 0x14005f170
cmp byte [0x1400aab82], 0
jne 0x14005f18f
jmp 0x14005f1c1
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400aab83], 1
test rax, rax
setne byte [0x1400aab82]
je 0x14005f1c1
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 [0x1400b1008]
mov rcx, rdi
mov edx, esi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp r8
Function at 0x14005f1e0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x1400aab83], 1
jne 0x14005f1fd
cmp byte [0x1400aab82], 0
jne 0x14005f21c
jmp 0x14005f24b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400aab83], 1
test rax, rax
setne byte [0x1400aab82]
je 0x14005f24b
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 [0x1400b1008]
movzx eax, al
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x14005f270
Capabilities:
Query environment variable

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

Function at 0x14005f2c0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x1400aab85], 1
jne 0x14005f2dc
cmp byte [0x1400aab84], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_DWARF
call sym.getenv
test rax, rax
setne al
setne byte [0x1400aab84]
mov byte [0x1400aab85], 1
add rsp, 0x28
ret

Function at 0x14005f660
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:ue170006__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 0x14005f6b8
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 0x1400608d0
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, [0x14008cdcf]
lea r8, str.SyntheticTemplateParamName
mov rcx, rax
call dbg.fprintf
mov eax, dword [rdi + 0x14]
mov edi, dword [rdi + 0x18]
cmp eax, 2
je 0x140060930
cmp eax, 1
je 0x140060949
test eax, eax
jne 0x14006096e
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 0x140060960
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
jmp 0x140060960
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
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 0x1400609e1
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 0x1400609db
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 0x1400609c0
mov byte [rsi + 4], 0
jmp 0x1400609fb
lea rcx, [0x14008cde8]
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