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

Disassembly:
sub rsp, 0x28
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x20
mov edx, 1
lea rcx, str.unexpected_cgo_bindm_on_Windows_n
mov r9, rax
call sym.fwrite
call sym.abort
nop
nop

Function at 0x1400c8190
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, [0x1411805e0]
call sym._cgo_maybe_run_preinit
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_EnterCriticalSection]
mov rcx, rbx
mov dword [0x1411805c0], 1
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_LeaveCriticalSection]
mov rcx, qword [0x1411805c8]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_SetEvent]
test eax, eax
je 0x1400c81d4
add rsp, 0x20
pop rbx
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x3b
mov edx, 1
lea rcx, str.runtime:_failed_to_signal_runtime_initialization_complete._n
mov r9, rax
call sym.fwrite
call sym.abort
nop
nop

Function at 0x1400c8310
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 0x18
call sym.malloc
test rax, rax
mov rcx, rax
je 0x1400c834a
mov rax, qword [rbx]
mov qword [rcx], rax
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rbx + 0x10]
mov qword [rcx + 0x10], rax
add rsp, 0x20
pop rbx
jmp dbg._cgo_sys_thread_start
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x2b
mov edx, 1
lea rcx, str.runtime_cgo:_out_of_memory_in_thread_start_n
mov r9, rax
call sym.fwrite
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400c83d0
Capabilities:
Create thread

Disassembly:
mov rdx, rcx
lea rcx, [dbg.threadentry]
jmp sym._cgo_beginthread

Function at 0x1400c8720
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x1400c8790
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x141180694]
test esi, esi
mov rbx, rcx
jle 0x1400c88c0
mov rax, qword [0x141180698]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400c87db
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400c8865
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400c87c0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x1400c88e2
mov rax, qword [0x141180698]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x141180698]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400c88c7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400c885e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400c8870
add dword [0x141180694], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x141180698]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400c885e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400c87e8
mov rax, qword [0x141180698]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400c8e50
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x141180700]
mov rcx, r12
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_EnterCriticalSection]
mov rbx, qword [0x1411806e0]
test rbx, rbx
je 0x1400c8eac
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 eax, eax
jne 0x1400c8ea3
test rsi, rsi
je 0x1400c8ea3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400c8e88
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_LeaveCriticalSection]

Function at 0x1400c90c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop

Function at 0x1400c90d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
Function at 0x1400c90e0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400c90f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400c9100
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400c9110
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x1400c915d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x1400c9154
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400c915f
add rax, 0x28
cmp rax, r9
jne 0x1400c9140
xor eax, eax
ret

Function at 0x1400c9160
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400c91f0
mov rdx, qword [0x1401d02b0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400c91de
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400c91de
cmp word [rax + 0x18], 0x20b
jne 0x1400c91de
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400c91f0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400c91c9
add rbx, 0x28
cmp rbx, rdi
je 0x1400c91f0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400c91c0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

Disassembly:
mov rdx, qword [0x1401d02b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400c9220
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400c9228
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400c9220
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400c927d
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]
cmp rcx, r8
mov rdx, r8
jb 0x1400c9274
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400c9220
add rax, 0x28
cmp rax, r9
jne 0x1400c9260
xor eax, eax
ret

Function at 0x1400c9280
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401d02b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400c929f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400c92a8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400c929f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1400c92c0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1401d02b0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400c92e0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400c92e8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400c92e0
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x1400c9330
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400c9327
test rcx, rcx
je 0x1400c92e0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400c9318
xor eax, eax
ret

Function at 0x1400c9340
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401d02b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400c935f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400c9368
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

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

Disassembly:
mov rdx, qword [0x1401d02b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400c93a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400c93a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400c93a0
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x1400c93a0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x1400c93f4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400c9400
add rdx, 0x28
cmp r9, rdx
jne 0x1400c93e0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x1401d02b0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400c9432
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400c9440
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400c9432
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400c9432
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x1400c9432
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x1400c9495
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400c94a8
add rdx, 0x28
cmp rdx, r10
jne 0x1400c9480
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400c94b7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400c94c7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400c949e
test ecx, ecx
jg 0x1400c94b0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1400cbbd0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
mov rax, rdx
shr rax, 0x2f
jne 0x1400cbc3a
mov rdx, rsi
shr rdx, 0x20
mov rax, qword [rdi + rdx*8 + 8]
test rax, rax
je 0x1400cbc3a
mov rbx, rsi
shr rbx, 0x14
mov rax, qword [rdi + rdx*8 + 8]
test rax, rax
je 0x1400cbc26
and ebx, 0xfff
cmp byte [rax + rbx], 0
je 0x1400cbc3a
mov rcx, rdi
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp method.__sanitizer::SizeClassAllocator32___sanitizer::AP32_.GetActuallyAllocatedSize_void_
mov rcx, rdi
call method.__sanitizer::TwoLevelMap_unsigned_char__32768ull__4096ull____sanitizer::LocalAddressSpaceView_.Create_unsigned_long_long__const
and ebx, 0xfff
cmp byte [rax + rbx], 0
jne 0x1400cbc14
mov rdx, qword [rdi + 0x40dc0]
lea rax, [rdx - 1]
test rax, rsi
jne 0x1400cbc5d
sub rsi, rdx
mov rcx, qword [rsi + 0x10]
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp method.__sanitizer.RoundUpTo_unsigned_long_long__unsigned_long_long_
mov qword [rsp + 0x20], 0
lea rcx, str....._sanitizer_common_sanitizer_allocator_secondary.h
lea r8, str.__IsAligned_p__page_size________0_
mov edx, 0x129
xor r9d, r9d
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
int3
Function at 0x1400cbc90
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov byte [rcx + 0x81008], 0
mov byte [rcx + 0x81009], 0
mov byte [rcx + 0x8100a], 0
mov byte [rcx + 0x8100b], 0
mov byte [rcx + 0x8100c], 0
mov byte [rcx + 0x8100d], 0
mov byte [rcx + 0x8100e], 0
mov byte [rcx + 0x8100f], 0
mov byte [rcx + 0x81010], 0
mov byte [rcx + 0x81011], 0
mov byte [rcx + 0x81012], 0
mov byte [rcx + 0x81013], 0
mov byte [rcx + 0x81014], 0
mov byte [rcx + 0x81015], 0
mov byte [rcx + 0x81016], 0
mov byte [rcx + 0x81017], 0
mov byte [rcx + 0x81018], 0
mov byte [rcx + 0x81019], 0
mov byte [rcx + 0x8101a], 0
mov byte [rcx + 0x8101b], 0
mov byte [rcx + 0x8101c], 0
mov byte [rcx + 0x8101d], 0
mov byte [rcx + 0x8101e], 0
mov byte [rcx + 0x8101f], 0
mov byte [rcx + 0x81020], 0
mov byte [rcx + 0x81021], 0
mov byte [rcx + 0x81022], 0
mov byte [rcx + 0x81023], 0
mov byte [rcx + 0x81024], 0
mov byte [rcx + 0x81025], 0
mov byte [rcx + 0x81026], 0
mov byte [rcx + 0x81027], 0
mov byte [rcx + 0x81028], 0
mov byte [rcx + 0x81029], 0
mov byte [rcx + 0x8102a], 0
mov byte [rcx + 0x8102b], 0
mov byte [rcx + 0x8102c], 0
mov byte [rcx + 0x8102d], 0
mov byte [rcx + 0x8102e], 0
mov byte [rcx + 0x8102f], 0
test r8, r8
jne 0x1400cbed3
mov rsi, rcx
mov byte [rcx], 0
xor eax, eax
nop
mov byte [rsi + rax + 8], 0
mov byte [rsi + rax + 9], 0
mov byte [rsi + rax + 0xa], 0
mov byte [rsi + rax + 0xb], 0
mov byte [rsi + rax + 0xc], 0
mov byte [rsi + rax + 0xd], 0
mov byte [rsi + rax + 0xe], 0
mov byte [rsi + rax + 0xf], 0
add rax, 8
cmp rax, 0x40000
jne 0x1400cbdc0
lea rax, [rsi + 0x40dc0]
lea r8, [rsi + 0x40050]
cmp rax, r8
cmova r8, rax
lea rcx, [rsi + 0x40040]
sub r8, rsi
add r8, 0xfffffffffffbffcf
and r8, 0xffffffffffffffd0
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, 0xfffffffffffbfdb8
nop dword [rax]
mov byte [rsi + rax + 0x81008], 0
mov byte [rsi + rax + 0x81009], 0
mov byte [rsi + rax + 0x8100a], 0
mov byte [rsi + rax + 0x8100b], 0
mov byte [rsi + rax + 0x8100c], 0
mov byte [rsi + rax + 0x8100d], 0
mov byte [rsi + rax + 0x8100e], 0
mov byte [rsi + rax + 0x8100f], 0
mov byte [rsi + rax + 0x81010], 0
mov byte [rsi + rax + 0x81011], 0
mov byte [rsi + rax + 0x81012], 0
mov byte [rsi + rax + 0x81013], 0
add rax, 0xc
jne 0x1400cbe30
mov rax, qword [0x140cb88e8]
test rax, rax
jne 0x1400cbeb8
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x34]
mov qword [0x140cb88e8], rax
mov qword [rsi + 0x40dc0], rax
lea rax, [rsi + 0x40dd0]
mov qword [rsi + 0x40dc8], rax
add rsp, 0x60
pop rsi
ret
mov qword [rsp + 0x20], 0
lea rcx, str....._sanitizer_common_sanitizer_allocator_primary32.h
lea r8, str.___heap_start______0_
mov edx, 0x7b
xor r9d, r9d
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
int3
Function at 0x1400cbf00
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r9
test r8, r8
mov edi, 1
cmovne rdi, r8
mov rax, rdi
add rax, r9
jae 0x1400cbf42
mov rdx, qword [str.SanitizerTool]
lea rcx, str.WARNING:__s:_CombinedAllocator_allocation_overflow:_0x_zx_bytes_with_0x_zx_alignment_requested_n
mov r8, rdi
mov r9, rsi
call method.__sanitizer.Report_char_const__..._
xor eax, eax
jmp 0x1400cc036
mov r14, rdx
mov r15, rcx
mov rax, rdi
cmp rsi, 9
jb 0x1400cbf5c
mov rcx, rdi
mov rdx, rsi
call method.__sanitizer.RoundUpTo_unsigned_long_long__unsigned_long_long_
cmp rsi, 0x20000
ja 0x1400cbf7f
cmp rax, 0x20000
ja 0x1400cbf7f
cmp rax, 0x100
ja 0x1400cbfaa
add rax, 0xf
shr rax, 4
jmp 0x1400cbfe3
lea rcx, [r15 + 0x40dc0]
add r15, 0x81008
mov rdx, r15
mov r8, rdi
mov r9, rsi
call fcn.1400cc3b0
cmp rsi, 9
jae 0x1400cc02d
jmp 0x1400cc036
bsr rdx, rax
xor rdx, 0x3f
mov cl, 0x3d
sub cl, dl
mov rbx, rax
shr rbx, cl
and ebx, 3
mov edi, 0xffffffff
shl edi, cl
not edi
and eax, edi
xor rdx, 0x3f
shl rdx, 2
or rdx, rbx
cmp eax, 1
sbb rdx, 0xffffffffffffffff
add rdx, 0xfffffffffffffff0
mov rax, rdx
test rax, rax
je 0x1400cc042
cmp rax, 0x36
jae 0x1400cc066
mov rbx, rax
shl rbx, 0xa
lea rdi, [r14 + rbx]
mov rcx, qword [r14 + rbx]
test rcx, rcx
je 0x1400cc0ae
lea rax, [rcx - 1]
mov qword [rdi], rax
mov rdx, qword [rdi + rcx*8 + 0x10]
mov rax, qword [rdi + rcx*8 + 0x18]
prefetchnta byte [rdx]
mov rcx, qword [r14 + rbx + 0x10]
lock add qword [r14 + 0xd810], rcx
cmp rsi, 9
jb 0x1400cc036
add rsi, 0xffffffffffffffff
and rsi, rax
jne 0x1400cc08a
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov qword [rsp + 0x20], 0
lea rcx, str....._sanitizer_common_sanitizer_allocator_local_cache.h
lea r8, str.__class_id_______0UL__
mov edx, 0xa0
xor r9d, r9d
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
mov qword [rsp + 0x20], 0x36
lea rcx, str....._sanitizer_common_sanitizer_allocator_local_cache.h
lea r8, str.__class_id_______kNumClasses__
mov edx, 0xa1
mov r9, rax
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
mov qword [rsp + 0x20], 0
lea rcx, str....._sanitizer_common_sanitizer_allocator_combined.h
lea r8, str.__reinterpret_cast_uptr__res____alignment___1_______0__
mov edx, 0x49
mov r9, rsi
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
mov rcx, r14
mov rdx, rdi
mov r8, r15
mov r9, rax
call method.__sanitizer::SizeClassAllocator32LocalCache___sanitizer::SizeClassAllocator32___sanitizer::AP32___.Refill___sanitizer::SizeClassAllocator32LocalCache___sanitizer::SizeClassAllocator32___sanitizer::AP32___::PerClass____sanitizer::SizeClassAllocator
test al, al
je 0x1400cc0cb
mov rcx, qword [rdi]
jmp 0x1400cc006
xor eax, eax
cmp rsi, 9
jae 0x1400cc02d
jmp 0x1400cc036
Function at 0x1400cc150
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0x18], rdx
mov al, byte [rdx]
cmp al, 0x25
je 0x1400cc17f
lea rcx, [rdi + 1]
nop dword [rax + rax]
test al, al
je 0x1400cc1da
movzx eax, byte [rcx]
add rcx, 1
cmp al, 0x25
jne 0x1400cc170
mov edx, 0x1000
xor ecx, ecx
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400cc1f1
mov rbx, rax
mov r8d, 0x1000
mov rcx, rdi
mov rdx, rax
call method.__sanitizer.SubstituteForFlagValue_char_const__char__unsigned_long_long_
mov rcx, qword [rsi + 8]
mov r8b, byte [rsi + 0x10]
mov rdx, rbx
call fcn.1400c4030
mov esi, eax
mov edx, 0x1000
mov rcx, rbx
call method.__sanitizer.UnmapOrDie_void__unsigned_long_long_
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi + 8]
mov r8b, byte [rsi + 0x10]
mov rdx, rdi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.1400c4030
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsp + 0x20], 0
lea rdx, str.FlagHandlerInclude
lea r8, str.allocate
mov ecx, 0x1000
mov r9d, eax
call method.__sanitizer.ReportMmapFailureAndDie_unsigned_long_long__char_const__char_const__unsigned_int__bool_
int3
Function at 0x1400cdd00
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
shr rax, 5
cmp r9, rax
jae 0x1400cde35
mov rax, qword [rdi]
lea rcx, [r9 + 1]
mov qword [rdi + 0x10], rcx
shl r9, 5
mov cl, byte [rsi]
mov byte [rax + r9], cl
mov cl, byte [rsi + 1]
mov byte [rax + r9 + 1], cl
mov cl, byte [rsi + 2]
mov byte [rax + r9 + 2], cl
mov cl, byte [rsi + 3]
mov byte [rax + r9 + 3], cl
mov cl, byte [rsi + 4]
mov byte [rax + r9 + 4], cl
mov cl, byte [rsi + 5]
mov byte [rax + r9 + 5], cl
mov cl, byte [rsi + 6]
mov byte [rax + r9 + 6], cl
mov cl, byte [rsi + 7]
mov byte [rax + r9 + 7], cl
mov cl, byte [rsi + 8]
mov byte [rax + r9 + 8], cl
mov cl, byte [rsi + 9]
mov byte [rax + r9 + 9], cl
mov cl, byte [rsi + 0xa]
mov byte [rax + r9 + 0xa], cl
mov cl, byte [rsi + 0xb]
mov byte [rax + r9 + 0xb], cl
mov cl, byte [rsi + 0xc]
mov byte [rax + r9 + 0xc], cl
mov cl, byte [rsi + 0xd]
mov byte [rax + r9 + 0xd], cl
mov cl, byte [rsi + 0xe]
mov byte [rax + r9 + 0xe], cl
mov cl, byte [rsi + 0xf]
mov byte [rax + r9 + 0xf], cl
mov cl, byte [rsi + 0x10]
mov byte [rax + r9 + 0x10], cl
mov cl, byte [rsi + 0x11]
mov byte [rax + r9 + 0x11], cl
mov cl, byte [rsi + 0x12]
mov byte [rax + r9 + 0x12], cl
mov cl, byte [rsi + 0x13]
mov byte [rax + r9 + 0x13], cl
mov cl, byte [rsi + 0x14]
mov byte [rax + r9 + 0x14], cl
mov cl, byte [rsi + 0x15]
mov byte [rax + r9 + 0x15], cl
mov cl, byte [rsi + 0x16]
mov byte [rax + r9 + 0x16], cl
mov cl, byte [rsi + 0x17]
mov byte [rax + r9 + 0x17], cl
mov cl, byte [rsi + 0x18]
mov byte [rax + r9 + 0x18], cl
mov cl, byte [rsi + 0x19]
mov byte [rax + r9 + 0x19], cl
mov cl, byte [rsi + 0x1a]
mov byte [rax + r9 + 0x1a], cl
mov cl, byte [rsi + 0x1b]
mov byte [rax + r9 + 0x1b], cl
mov cl, byte [rsi + 0x1c]
mov byte [rax + r9 + 0x1c], cl
mov cl, byte [rsi + 0x1d]
mov byte [rax + r9 + 0x1d], cl
mov cl, byte [rsi + 0x1e]
mov byte [rax + r9 + 0x1e], cl
mov cl, byte [rsi + 0x1f]
mov byte [rax + r9 + 0x1f], cl
add rsp, 0x28
pop rdi
pop rsi
ret
jne 0x1400cde57
add r9, 1
mov rcx, r9
call method.__sanitizer.RoundUpToPowerOfTwo_unsigned_long_long_
mov rcx, rdi
mov rdx, rax
call sym.__sanitizer::InternalMmapVectorNoCtor___sanitizer::Suppression_::Realloc_unsigned_long_long_
mov r9, qword [rdi + 0x10]
jmp 0x1400cdd21
mov qword [rsp + 0x20], rax
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__size_______capacity____
mov edx, 0x213
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
int3