joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b2d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140015b70
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140015b70
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14000b340
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14017e0a4]
mov rbx, rcx
test esi, esi
jle 0x14000b470
mov rax, qword [0x14017e0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000b38b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000b415
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000b370
mov rcx, rbx
call fcn.14000bdb0
mov rdi, rax
test rax, rax
je 0x14000b492
mov rax, qword [0x14017e0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000bef0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14017e0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000b477
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000b40e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14000b420
add dword [0x14017e0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14017e0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000b40e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000b2d0
nop dword [rax]
xor esi, esi
jmp 0x14000b398
mov rax, qword [0x14017e0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000b2d0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000b2d0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000ba20
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14017e100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14017e0e0]
test rbx, rbx
je 0x14000ba7c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000ba73
test eax, eax
jne 0x14000ba73
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000ba58
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14000bdb0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140154e70]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000bdd0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000bdd8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000bdd0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000be2d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000be24
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000bdd0
add rax, 0x28
cmp rax, r9
jne 0x14000be10
xor eax, eax
ret

Function at 0x14000be30
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140154e70]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000be4f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000be58
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000be4f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000bef0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140154e70]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000bf0f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000bf18
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400ff5f0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400ff600]
mov dword [rax], 1
mov rax, qword [0x1400ff610]
mov dword [rax], 1
mov rax, qword [0x1400ff5e0]
mov dword [rax], 1
mov rax, qword [0x1400ff330]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x1400ff5d0]
mov dword [0x14010f020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010c0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x1400ff450]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1400ff410]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x1400ff1d0]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067
Function at 0x14001bfa0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
lea rcx, str.COLUMNS
call sym.getenv
mov rcx, rax
test rax, rax
je 0x14001bfd0
call sym.atoi
test eax, eax
jle 0x14001bfd0
add rsp, 0x28
ret
mov eax, 0x7fffffff
add rsp, 0x28
ret

Function at 0x14001bfe0
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test edx, edx
je 0x14001c000
sub edx, 1
test edx, edx
jle 0x14001c01e
mov dword [rbx + 0x80], edx
add rsp, 0x20
pop rbx
ret
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0xc0]
call sym.fileno
mov ecx, eax
call sym.isatty
test eax, eax
jne 0x14001c030
mov edx, 0x7fffffff
mov dword [rbx + 0x80], edx
add rsp, 0x20
pop rbx
ret
lea rcx, str.COLUMNS
call sym.getenv
mov rcx, rax
test rax, rax
je 0x14001c058
call sym.atoi
test eax, eax
jle 0x14001c058
lea edx, [rax - 1]
jmp 0x14001bfef
mov edx, 0x7ffffffe
jmp 0x14001bff3
Function at 0x14001c060
Capabilities:
Query environment variable

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov ecx, 0x48
mov esi, edx
call sym.xmalloc
xor edx, edx
mov qword [rbx], rax
mov rcx, rax
call method.pretty_printer.pretty_printer_int_
mov byte [rbx + 0x4c], 0
pxor xmm0, xmm0
movsxd rcx, esi
mov dword [rbx + 0x50], esi
shl rcx, 2
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x3c], xmm0
call sym.xmalloc
mov qword [rbx + 0x58], rax
mov rcx, rax
test esi, esi
jle 0x14001c0c2
mov r8d, esi
xor edx, edx
shl r8, 2
call sym.memset
mov rax, qword [rbx]
mov byte [rbx + 0x7c], 0
mov rcx, rbx
lea rsi, [sym.default_diagnostic_starter_diagnostic_context__diagnostic_info_]
mov edx, dword [rax + 0x28]
call sym.diagnostic_set_caret_max_width_diagnostic_context__int_
lea rax, [sym.default_diagnostic_start_span_fn_diagnostic_context__expanded_location_]
movq xmm0, rsi
mov dword [rbx + 0x84], 0x5e5e5e
movq xmm1, rax
lea rax, [sym.default_diagnostic_finalizer_diagnostic_context__diagnostic_info__diagnostic_t_]
mov qword [rbx + 0x88], 0
lea rcx, str.GCC_EXTRA_DIAGNOSTIC_OUTPUT
punpcklqdq xmm0, xmm1
mov byte [rbx + 0x9a], 0
mov word [rbx + 0x90], 0
mov dword [rbx + 0x94], 0
mov word [rbx + 0x98], 0
mov dword [rbx + 0x9c], 0
mov qword [rbx + 0xb0], rax
mov qword [rbx + 0xc8], 0
mov dword [rbx + 0xf8], 0
mov qword [rbx + 0x100], 0
mov qword [rbx + 0xf0], 0
mov dword [rbx + 0x108], 0
mov qword [rbx + 0x110], 0
mov word [rbx + 0x118], 0
movups xmmword [rbx + 0xa0], xmm0
pxor xmm0, xmm0
movups xmmword [rbx + 0xb8], xmm0
movups xmmword [rbx + 0xd0], xmm0
call sym.getenv
mov rsi, rax
test rax, rax
je 0x14001c1d3
lea rdx, str.fixits_v1
mov rcx, rax
call sym.strcmp
test eax, eax
jne 0x14001c230
mov dword [rbx + 0x11c], 1
movabs rax, 0x100000000
pxor xmm0, xmm0
mov qword [rbx + 0x128], 8
mov qword [rbx + 0x120], rax
lea rax, [sym.default_diagnostic_final_cb_diagnostic_context_]
mov qword [rbx + 0x130], 0
mov qword [rbx + 0x138], 0
mov qword [rbx + 0x150], rax
mov qword [rbx + 0x160], 0
movups xmmword [rbx + 0x140], xmm0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rdx, str.fixits_v2
mov rcx, rsi
call sym.strcmp
test eax, eax
jne 0x14001c1d3
mov dword [rbx + 0x11c], 2
jmp 0x14001c1d3
Function at 0x14001f690
Capabilities:
Query environment variable

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rcx, str.GCC_COLORS
call sym.getenv
mov rbp, rax
test rax, rax
je 0x14001f804
movzx edi, byte [rax]
xor eax, eax
test dil, dil
je 0x14001f809
lea r14, [rbp + 1]
xor r13d, r13d
xor esi, esi
xor r12d, r12d
jmp 0x14001f6f8
test r12, r12
je 0x14001f6f0
cmp dil, 0x3b
je 0x14001f6f0
sub edi, 0x30
cmp dil, 9
ja 0x14001f804
movzx edi, byte [r14]
add r14, 1
lea rax, [r14 - 1]
test dil, dil
je 0x14001f730
cmp dil, 0x3a
je 0x14001f730
cmp dil, 0x3d
jne 0x14001f6d8
cmp rax, rbp
je 0x14001f804
test r12, r12
jne 0x14001f804
sub rax, rbp
mov r12, r14
mov rsi, rax
jmp 0x14001f6f0
mov rcx, qword [0x140090080]
test r12, r12
je 0x14001f7f0
sub rax, r12
lea rbx, [0x140090080]
mov r13, rax
test rcx, rcx
je 0x14001f785
lea rbx, [0x140090080]
jmp 0x14001f76d
mov rcx, qword [rbx + 0x18]
add rbx, 0x18
test rcx, rcx
je 0x14001f785
movzx eax, byte [rbx + 0x10]
cmp rax, rsi
jne 0x14001f760
mov r8, rsi
mov rdx, rbp
call sym.memcmp
test eax, eax
jne 0x14001f760
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001f7dc
test r12, r12
je 0x14001f7dc
cmp byte [rbx + 0x11], 0
jne 0x14001f820
lea rcx, [r13 + 7]
call sym.xmalloc
mov r8, r13
mov rdx, r12
mov rdi, rax
mov eax, 0x5b1b
mov word [rdi], ax
lea rcx, [rdi + 2]
call sym.memcpy
lea rax, [rdi + r13 + 2]
mov qword [rbx + 8], rdi
mov dword [rax], 0x4b5b1b6d
mov byte [rax + 4], 0
mov byte [rbx + 0x11], 1
movzx edi, byte [r14 - 1]
test dil, dil
je 0x14001f804
mov rbp, r14
xor r12d, r12d
jmp 0x14001f6f0
sub rax, rbp
mov rsi, rax
test rcx, rcx
jne 0x14001f752
test dil, dil
jne 0x14001f7e1
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
call sym.free
jmp 0x14001f79d

Function at 0x14001f8d0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x38
cmp ecx, 1
je 0x14001f91f
cmp ecx, 2
jne 0x14001f900
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
jbe 0x14001f910
xor eax, eax
add rsp, 0x38
ret
test ecx, ecx
je 0x14001f8f6
jmp sym.colorize_init_diagnostic_color_rule_t___clone_cold_
lea rdx, [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x14001f8f6
add rsp, 0x38
jmp sym.parse_gcc_colors__

Function at 0x14001f930
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp ecx, 1
je 0x14001f958
and ecx, 0xfffffffd
jne 0x14001f950
xor edx, edx
mov eax, edx
add rsp, 0x28
ret
jmp sym.determine_url_format_diagnostic_url_rule_t___clone_cold_
lea rcx, str.GCC_URLS
call sym.getenv
test rax, rax
je 0x14001f9a0
cmp byte [rax], 0
je 0x14001f93e
movzx edx, byte [rax]
cmp edx, 0x6e
je 0x14001f990
cmp edx, 0x73
jne 0x14001f981
cmp byte [rax + 1], 0x74
je 0x14001f9b8
mov edx, 2
jmp 0x14001f940
cmp byte [rax + 1], 0x6f
jne 0x14001f976
cmp byte [rax + 2], 0
je 0x14001f93e
jmp 0x14001f976
lea rcx, str.TERM_URLS
call sym.getenv
test rax, rax
jne 0x14001f969
jmp 0x14001f981
cmp byte [rax + 2], 0
mov edx, 1
je 0x14001f940
jmp 0x14001f981
Function at 0x140026300
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rdi, rcx
mov rbp, rdx
mov rsi, r8
test r8, r8
je 0x14002636a
mov r12, qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, r8
lea r13, [rsp + 0x3c]
jmp 0x140026339
mov eax, dword [rsp + 0x3c]
sub rbx, rax
je 0x14002636a
mov r8d, 0xffffffff
mov rdx, rsi
mov r9, r13
mov rcx, rdi
mov qword [rsp + 0x20], 0
cmp rbx, r8
cmovbe r8, rbx
sub rdx, rbx
add rdx, rbp
mov dword [rsp + 0x3c], r8d
call r12
test eax, eax
jne 0x140026330
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x140027100
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [rcx + 8]
mov rbx, qword [rsi + 0xb0]
mov rdi, rcx
mov rax, qword [rbx + 0x18]
mov ebp, edx
cmp qword [rbx + 0x20], rax
je 0x140027240
lea rdx, [rax + 1]
mov qword [rbx + 0x18], rdx
mov byte [rax], 0
mov rax, qword [rsi + 0xb0]
mov rdx, qword [rdi + 8]
mov rbx, qword [rax + 0x10]
mov rsi, qword [rdx + 0xc0]
movzx eax, byte [rbx]
test al, al
je 0x1400271f4
lea r12, [0x1400ec410]
jmp 0x140027193
jle 0x1400271b0
sub eax, 0x7b
cmp al, 2
ja 0x14002717d
test bpl, bpl
je 0x14002717d
nop
mov rdx, rsi
mov ecx, 0x5c
call sym.fputc
movsx ecx, byte [rbx]
mov rdx, rsi
add rbx, 1
call sym.fputc
movzx eax, byte [rbx]
test al, al
je 0x1400271f0
cmp al, 0x22
je 0x140027170
jle 0x1400271c0
cmp al, 0x5c
jne 0x140027160
cmp byte [rbx + 1], 0
jne 0x140027170
jmp sym.pp_write_text_as_dot_label_to_stream_pretty_printer__bool___clone_cold_
and eax, 0xfffffffd
cmp al, 0x3c
jne 0x14002717d
jmp 0x140027169
cmp al, 0xa
jne 0x1400271e0
mov r9, rsi
mov r8d, 2
mov edx, 1
mov rcx, r12
call sym.fwrite
jmp 0x140027170
cmp al, 0x20
je 0x140027169
jmp 0x14002717d
mov rdx, qword [rdi + 8]
mov rcx, qword [rdx + 0xb0]
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 8], rax
jae 0x14002720b
cmp rax, qword [rcx + 0x20]
jb 0x140027230
mov rdx, rax
call sym._obstack_free
mov rdx, qword [rdi + 8]
mov dword [rdx + 0xc8], 0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov qword [rcx + 0x18], rax
jmp 0x140027217
mov edx, 1
mov rcx, rbx
call sym._obstack_newchunk
mov rax, qword [rbx + 0x18]
jmp 0x140027128
Function at 0x140027260
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [rcx + 8]
mov rbx, qword [rsi + 0xb0]
mov rdi, rcx
mov rax, qword [rbx + 0x18]
cmp qword [rbx + 0x20], rax
je 0x1400273d0
lea rdx, [rax + 1]
mov qword [rbx + 0x18], rdx
mov byte [rax], 0
mov rax, qword [rsi + 0xb0]
mov rbx, qword [rax + 0x10]
mov rax, qword [rdi + 8]
movsx ecx, byte [rbx]
mov rsi, qword [rax + 0xc0]
test cl, cl
je 0x140027334
lea r13, str.lt_
lea r12, str.gt_
lea rbp, str.quot_
jmp 0x1400272ff
cmp cl, 0x26
jne 0x1400273b0
mov r9, rsi
mov r8d, 5
mov edx, 1
lea rcx, str.amp_
call sym.fwrite
movsx ecx, byte [rbx + 1]
add rbx, 1
test cl, cl
je 0x140027330
cmp cl, 0x3c
je 0x140027390
jg 0x140027370
cmp cl, 0x22
jne 0x1400272d0
mov rcx, rbp
mov r9, rsi
mov r8d, 6
add rbx, 1
mov edx, 1
call sym.fwrite
movsx ecx, byte [rbx]
test cl, cl
jne 0x1400272ff
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0xb0]
mov rdx, qword [rcx + 0x10]
cmp qword [rcx + 8], rdx
jae 0x14002734b
cmp rdx, qword [rcx + 0x20]
jb 0x1400273c0
call sym._obstack_free
mov rax, qword [rdi + 8]
mov dword [rax + 0xc8], 0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
cmp cl, 0x3e
jne 0x1400273b0
mov r9, rsi
mov r8d, 4
mov edx, 1
mov rcx, r12
call sym.fwrite
jmp 0x1400272f3
mov r9, rsi
mov r8d, 4
mov edx, 1
mov rcx, r13
call sym.fwrite
jmp 0x1400272f3
mov rdx, rsi
call sym.fputc
jmp 0x1400272f3
mov qword [rcx + 0x18], rdx
jmp 0x140027354
mov edx, 1
mov rcx, rbx
call sym._obstack_newchunk
mov rax, qword [rbx + 0x18]
jmp 0x140027288

Function at 0x14002a650
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
call sym.feof
test eax, eax
je 0x14002a670
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x10]
call sym.ferror
test eax, eax
jne 0x14002a666
mov rcx, rbx
call method.file_cache_slot.maybe_grow__
mov rax, qword [rbx + 0x30]
mov rcx, qword [rbx + 0x18]
mov edx, 1
mov r8, qword [rbx + 0x28]
mov r9, qword [rbx + 0x10]
add rcx, rax
sub r8, rax
call sym.fread
mov rcx, qword [rbx + 0x10]
mov rsi, rax
call sym.ferror
test eax, eax
jne 0x14002a666
add qword [rbx + 0x30], rsi
test rsi, rsi
setne al
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x14002a980
Capabilities:
Read file on windows

Disassembly:
cmp qword [rcx + 0x10], 0
je 0x14002a9a8
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x14002a9a0
cmp rax, qword [rcx + 0x28]
je 0x14002a9a0
sub rax, 1
cmp qword [rcx + 0x38], rax
jb 0x14002a9a8
jmp method.file_cache_slot.read_data__
xor eax, eax
ret
Function at 0x14003cd40
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
movzx r12d, word [rdx + 0x4e]
and r12w, 0xf000
mov r13, rcx
mov rbp, rdx
mov r15d, r8d
mov r14, r9
cmp r12w, 0x3000
je 0x14003ce88
mov ecx, 0x2010
mov esi, 0x2000
cmp r12w, 0x8000
jne 0x14003cd8d
mov rsi, qword [rdx + 0x60]
lea rcx, [rsi + 0x10]
call sym.xmalloc
xor ebx, ebx
mov rdi, rax
nop word [rax + rax]
mov ecx, dword [rbp + 0x80]
mov r8d, esi
lea rdx, [rdi + rbx]
sub r8d, ebx
call sym.read
cdqe
test rax, rax
jle 0x14003cde0
add rbx, rax
cmp rsi, rbx
jne 0x14003cda0
cmp r12w, 0x8000
je 0x14003cde2
add rsi, rsi
mov rcx, rdi
lea rdx, [rsi + 0x10]
call sym.xrealloc
mov rdi, rax
jmp 0x14003cda0
jne 0x14003ce60
cmp r12w, 0x8000
sete dl
test r13, r13
setne al
test dl, al
je 0x14003cdfe
cmp rsi, rbx
jne 0x14003ceb0
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rbx
mov rdx, r14
mov rcx, r13
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x30]
lea r9, [rsi + 0x10]
mov r8, rdi
mov qword [rsp + 0x28], rax
call sym._cpp_convert_input
test rax, rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x8a]
setne cl
mov edx, ecx
and eax, 0xfffffffb
shl edx, 2
or eax, edx
mov byte [rbp + 0x8a], al
mov eax, ecx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test r13, r13
je 0x14003ce79
mov r8, qword [rbp + 8]
mov r9d, r15d
mov edx, 3
mov rcx, r13
call sym.cpp_errno_filename_cpp_reader__cpp_diagnostic_level__char_const__unsigned_int_
mov rcx, rdi
call sym.free
xor ecx, ecx
jmp 0x14003ce48
test rcx, rcx
je 0x14003ce81
mov rax, qword [rdx + 8]
lea r9, str._s_is_a_block_device
mov edx, 3
mov qword [rsp + 0x20], rax
call sym.cpp_error_at_cpp_reader__cpp_diagnostic_level__unsigned_int__char_const__::_
xor ecx, ecx
jmp 0x14003ce48
mov rax, qword [rbp + 8]
lea r9, str._s_is_shorter_than_expected
mov r8d, r15d
xor edx, edx
mov rcx, r13
mov qword [rsp + 0x20], rax
call sym.cpp_error_at_cpp_reader__cpp_diagnostic_level__unsigned_int__char_const__::_
jmp 0x14003cdfe
Function at 0x14003e5d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r12d, dword [rsp + 0x90]
mov rbx, rcx
mov rdi, rdx
mov ebp, r8d
mov esi, r9d
cmp r9d, 3
je 0x14003e648
call sym.search_path_head_cpp_reader__char_const__int__include_type_
mov r8, rax
test rax, rax
je 0x14003e633
cmp esi, 4
mov dword [rsp + 0x28], r12d
mov r9d, ebp
mov rdx, rdi
sete al
sete r13b
mov rcx, rbx
movzx eax, al
add eax, eax
mov dword [rsp + 0x20], eax
call sym._cpp_find_file
test rax, rax
jne 0x14003e69a
test r13b, r13b
je 0x14003e69a
xor eax, eax
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rdx, qword [rcx + 0x1e8]
mov rax, qword [rcx + 0x1c0]
cmp rax, qword [rdx + 0x10]
je 0x14003e663
mov dword [rax - 0x20], 0
mov r8d, ebp
mov r9d, 3
mov rdx, rdi
mov rcx, rbx
call sym.search_path_head_cpp_reader__char_const__int__include_type_
mov r8, rax
test rax, rax
je 0x14003e633
mov dword [rsp + 0x28], r12d
mov r9d, ebp
mov rdx, rdi
mov rcx, rbx
mov dword [rsp + 0x20], 0
call sym._cpp_find_file
mov r9d, r12d
mov r8d, esi
mov rdx, rax
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym._cpp_stack_file

Function at 0x14003ec50
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x48
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov rcx, qword [rcx + 0x128]
mov qword [rsp + 0x28], 0
call sym.htab_elements
mov rcx, qword [rbx + 0x128]
lea r8, [rsp + 0x20]
lea rdx, [sym.report_missing_guard_void__void_]
mov qword [rsp + 0x30], rax
call sym.htab_traverse
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14003ed32
mov rdx, qword [rsp + 0x30]
lea r9, [sym.report_missing_guard_cmp_void_const__void_const_]
mov r8d, 8
call sym.qsort
mov ecx, 2
mov rsi, qword [sym.__acrt_iob_func]
call rsi
mov r8d, 0x2b
mov edx, 1
lea rcx, str.Multiple_include_guards_may_be_useful_for:_n
mov r9, rax
call sym.fwrite
cmp qword [rsp + 0x30], 0
je 0x14003ed27
xor ebx, ebx
nop word [rax + rax]
mov ecx, 2
call rsi
mov rdx, rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + rbx*8]
add rbx, 1
call sym.fputs
mov ecx, 2
call rsi
mov ecx, 0xa
mov rdx, rax
call sym.putc
cmp rbx, qword [rsp + 0x30]
jb 0x14003ecf0
mov rcx, qword [rsp + 0x28]
call sym.free
nop
add rsp, 0x48
pop rbx
pop rsi
ret
Function at 0x14003ede0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rax, qword [rcx + 0x28]
mov edi, dword [rax + 0x3c]
mov rax, qword [rcx + 0x1c0]
mov rsi, rdx
mov rdx, qword [rcx + 0x1e8]
mov rbx, rcx
cmp rax, qword [rdx + 0x10]
je 0x14003ee0f
mov dword [rax - 0x20], 0
movzx eax, byte [rsi]
cmp al, 0x2f
sete dl
cmp al, 0x5c
sete cl
or dl, cl
jne 0x14003ee50
test al, al
je 0x14003ee2a
cmp byte [rsi + 1], 0x3a
je 0x14003ee50
xor r8d, r8d
lea rdx, [0x1400f5db3]
mov rcx, rbx
call sym.make_cpp_dir_cpp_reader__char_const__int_
mov r8, rax
test rax, rax
jne 0x14003ee57
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
lea r8, [rbx + 0xe0]
mov dword [rsp + 0x28], edi
xor r9d, r9d
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x20], 0
call sym._cpp_find_file
mov r9d, edi
mov r8d, 3
mov rcx, rbx
mov rdx, rax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp sym._cpp_stack_file

Function at 0x14003ee90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 0x28]
mov esi, dword [rax + 0x3c]
movzx eax, byte [rdx]
mov rbx, rcx
cmp al, 0x2f
je 0x14003ef10
cmp al, 0x5c
je 0x14003ef10
test al, al
je 0x14003eeb5
cmp byte [rdx + 1], 0x3a
je 0x14003ef10
mov r8, qword [rbx + 0xd8]
test r8, r8
je 0x14003ef20
mov dword [rsp + 0x28], esi
mov r9d, 1
mov rcx, rbx
mov dword [rsp + 0x20], 2
call sym._cpp_find_file
test rax, rax
jne 0x14003eef0
xor eax, eax
add rsp, 0x38
pop rbx
pop rsi
ret
mov r9d, esi
mov r8d, 4
mov rdx, rax
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp sym._cpp_stack_file
lea r8, [rbx + 0xe0]
jmp 0x14003eec1
mov r9, rdx
lea r8, str.no_include_path_in_which_to_search_for__s
mov edx, 3
mov rcx, rbx
call sym.cpp_error_cpp_reader__cpp_diagnostic_level__char_const__::_
xor eax, eax
add rsp, 0x38
pop rbx
pop rsi
ret