joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140115510
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rsi, qword [0x1402ebfa0]
mov rax, qword [rsi]
test rax, rax
je 0x140115700
cmp qword [rax + 0x28], 0
jne 0x1401156e8
lea rcx, [0x1412e06b8]
cmp dword [rcx], 1
mov qword [rax + 0x28], rcx
je 0x1401156f5
call fcn.140114b20
mov rax, qword [rsi]
test rax, rax
je 0x140115590
cmp qword [rax + 0x30], 0
jne 0x1401155b0
lea rdx, [0x14013e528]
mov qword [rax + 0x30], rdx
mov rax, rdx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
je 0x1401155c4
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.140119830
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x140115560
test rax, rax
jne 0x1401155b0
call fcn.140119830
nop dword [rax]
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
jne 0x14011557e
call fcn.140114660
cmp qword [0x1412e4050], 0
mov rbx, rax
je 0x14011557e
test rax, rax
je 0x14011557e
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.14011b6d0
cmp eax, 1
je 0x14011576d
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r12, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, r12
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140129af6
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
mov rax, qword [rsi]
test rax, rax
je 0x140115748
cmp qword [rax + 0x30], 0
je 0x140115730
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140129af6
mov r12, rbx
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x14011554c
mov rax, qword [rsi]
jmp 0x140115559
call fcn.140119830
cmp qword [rax + 0x28], 0
mov rax, qword [rsi]
je 0x140115538
test rax, rax
jne 0x1401156e8
call fcn.140119830
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x14011554c
jmp 0x140115551
lea rdx, [0x14013e528]
mov qword [rax + 0x30], rdx
mov rax, rdx
jmp 0x1401156be
call fcn.140119830
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x140115730
test rax, rax
jne 0x1401156ba
call fcn.140119830
jmp 0x1401156ba
call fcn.1401149f0
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [0x1402ebfa0]
mov rdx, qword [rax]
lea rax, [0x1412e06c8]
mov qword [rdx + 0x10], rax
ret
Function at 0x1401196b0
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401196d0
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x140119718
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1401196c4
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140119705
Function at 0x140119830
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x1412e07a0]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
lea r9, [rsp + 0x30]
movzx eax, byte [rcx]
add rcx, 1
add rdx, 2
mov r8d, eax
and eax, 0xf
shr r8b, 4
add eax, 0x61
add r8d, 0x41
mov byte [rdx - 1], al
mov byte [rdx - 2], r8b
cmp rcx, r9
jne 0x140119853
lea rax, [0x1412e07a8]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x1a]
jmp 0x14011989b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140119898
lea rax, [0x1412e07e0]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x19]
jmp 0x1401198cb
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x1401198c8
xor ecx, ecx
mov byte [0x1412e07f9], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x1412e0802], rdx
lea r8, [0x1412e07a0]
lea rbx, [0x1412e07fa]
mov qword [0x1412e0812], rdx
mov qword [0x1412e0822], rdx
mov qword [0x1412e0832], rdx
xor edx, edx
mov qword [0x1412e07fa], rax
mov qword [0x1412e080a], rax
mov qword [0x1412e081a], rax
mov qword [0x1412e082a], rax
mov byte [0x1412e083a], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WaitForSingleObject]
test eax, eax
jne 0x140119aa6
lea rcx, [0x1412e07e0]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x1401199f1
lea rsi, [0x1412e06e0]
lea r8, [0x1412e083a]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x14011999d
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x140119990
lea rcx, [0x1412e07e0]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x140119a93
lea rcx, [0x140119740]
mov qword [0x1412e06e0], rsi
call sub.msvcrt.dll__onexit
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x1412e06e0]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x5b
lea rdx, [0x1412e07e0]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x1412e083a]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x140119ac6
nop dword [rax]
cmp byte [rax], 0x41
jne 0x140119a43
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x140119a30
mov rax, rdx
mov qword [0x1412e06e0], rax
lea rsi, [0x1412e06e0]
jmp 0x140119a69
cmp rdx, rsi
je 0x1401199cf
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x140119a60
cmp rdx, rsi
je 0x1401199cf
mov qword [rdx + 8], rsi
lea rcx, [0x140119740]
call sub.msvcrt.dll__onexit
jmp 0x1401199cf
lea rcx, str.failed_to_add_string_to_atom_table_n
call fcn.1401196b0
xor eax, eax
jmp 0x1401199e8
lea rcx, str.failed_to_to_lock_creation_mutex_n
call fcn.1401196b0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, str.failed_to_get_string_from_atom_n
call fcn.1401196b0
xor eax, eax
jmp 0x140119a4f
Function at 0x14011e6a0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r15, r8
mov r12, rdx
mov r14, rcx
test r8, r8
je 0x14011e6c2
mov byte [r15], 0
mov r8d, dword [r12 + 8]
xor esi, esi
test r8, r8
je 0x14011e8c9
mov rbp, qword [r12]
test rbp, rbp
je 0x14011e8c9
movabs rax, 0xc6a4a7935bd1e995
movabs rdx, 0x35253c9ade8f4ca8
imul rdx, r8
movabs rbx, 0x9747b28c9747b28c
xor rbx, rdx
cmp r8d, 1
jne 0x14011e70e
xor edi, edi
jmp 0x14011e765
mov edx, r8d
and edx, 0xfffffffe
xor edi, edi
nop word cs:[rax + rax]
mov rcx, qword [rbp + rdi*8]
imul rcx, rax
mov rsi, rcx
shr rsi, 0x2f
xor rsi, rcx
imul rsi, rax
xor rsi, rbx
imul rsi, rax
mov rcx, qword [rbp + rdi*8 + 8]
imul rcx, rax
mov rbx, rcx
shr rbx, 0x2f
xor rbx, rcx
imul rbx, rax
xor rbx, rsi
imul rbx, rax
add rdi, 2
cmp rdx, rdi
jne 0x14011e720
test r8b, 1
je 0x14011e78c
mov rdx, qword [rbp + rdi*8]
imul rdx, rax
mov rcx, rdx
shr rcx, 0x2f
xor rcx, rdx
imul rcx, rax
xor rcx, rbx
imul rcx, rax
mov rbx, rcx
mov ecx, dword [r12 + 0xc]
imul rcx, rax
mov rdx, rcx
shr rdx, 0x2f
xor rdx, rcx
imul rdx, rax
xor rdx, rbx
imul rdx, rax
mov rcx, rdx
shr rcx, 0x2f
xor rcx, rdx
imul rcx, rax
mov rdi, rcx
shr rdi, 0x2f
xor rdi, rcx
mov eax, edi
and eax, 0xfffff
lea rbx, [r14 + rax*4]
mov r13d, 0x7fffffff
and r13d, dword [r14 + rax*4]
lea rcx, [r14 + 0x400008]
mov ebp, r13d
nop word cs:[rax + rax]
nop dword [rax + rax]
test ebp, ebp
je 0x14011e833
mov esi, ebp
mov ebp, ebp
mov rdx, rbp
shr rdx, 0x10
mov rax, qword [r14 + rdx*8 + 0x400010]
test rax, rax
je 0x14011e822
movzx edx, bp
shl rdx, 4
mov ebp, dword [rax + rdx + 8]
cmp qword [rax + rdx], rdi
jne 0x14011e7f0
jmp 0x14011e8c9
mov qword [rsp + 0x28], rcx
call fcn.140129370
mov rcx, qword [rsp + 0x28]
jmp 0x14011e80c
mov rbp, rcx
mov qword [rsp + 0x28], r15
mov rcx, rbx
call fcn.14011e910
mov r15d, eax
cmp eax, r13d
je 0x14011e873
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov rcx, r14
mov edx, r15d
mov r9, rdi
call fcn.140129790
test eax, eax
je 0x14011e873
mov esi, eax
mov dword [rbx], r15d
jmp 0x14011e8c9
mov esi, 1
lock xadd dword [r14 + 0x400000], esi
add esi, 1
js 0x14011e8dc
mov r13, rbx
mov rdx, rsi
shr rdx, 0x10
mov rbx, qword [r14 + rdx*8 + 0x400010]
test rbx, rbx
je 0x14011e903
movzx ebp, si
shl rbp, 4
lea rcx, [rbx + rbp]
mov r8, r12
mov r9, rdi
call fcn.140107880
mov dword [rbx + rbp + 8], r15d
mov dword [r13], esi
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14011e8c9
mov byte [rax], 1
mov eax, esi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r9d, esi
and r9d, 0x7fffffff
mov qword [rsp + 0x20], rsi
lea rcx, str....._sanitizer_common_sanitizer_stackdepotbase.h
lea r8, str.__s__kUnlockMask______s__
mov edx, 0x8c
call fcn.1400ca810
mov rcx, rbp
call fcn.140129370
mov rbx, rax
jmp 0x14011e89d
Function at 0x14011f830
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 0x14011f89a
mov rdx, rsi
shr rdx, 0x20
mov rax, qword [rdi + rdx*8 + 8]
test rax, rax
je 0x14011f89a
mov rbx, rsi
shr rbx, 0x14
mov rax, qword [rdi + rdx*8 + 8]
test rax, rax
je 0x14011f886
and ebx, 0xfff
cmp byte [rax + rbx], 0
je 0x14011f89a
mov rcx, rdi
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp 0x140121290
mov rcx, rdi
call fcn.140129530
and ebx, 0xfff
cmp byte [rax + rbx], 0
jne 0x14011f874
mov rdx, qword [rdi + 0x40dc0]
lea rax, [rdx - 1]
test rax, rsi
jne 0x14011f8bd
sub rsi, rdx
mov rcx, qword [rsi + 0x10]
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.140125e20
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 fcn.1400ca810
int3
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rax, rdx
shr rax, 0x2f
jne 0x140121354
mov rsi, rdx
mov rdi, rcx
mov rbx, rdx
shr rbx, 0x20
mov rax, qword [rcx + rbx*8 + 8]
test rax, rax
je 0x140121354
shr rsi, 0x14
mov rax, qword [rdi + rbx*8 + 8]
test rax, rax
je 0x14012133d
and esi, 0xfff
cmp byte [rax + rsi], 0
je 0x140121354
mov rax, qword [rdi + rbx*8 + 8]
test rax, rax
je 0x14012130b
mov rax, qword [rdi + rbx*8 + 8]
test rax, rax
je 0x140121378
movzx edx, byte [rax + rsi]
mov eax, 0x200
cmp rdx, 0x35
je 0x140121335
cmp dl, 0x10
ja 0x140121313
shl rdx, 4
jmp 0x140121332
xor edx, edx
shl rdx, 4
jmp 0x140121332
lea ecx, [rdx - 0x10]
shr ecx, 2
mov eax, 0x100
shl rax, cl
mov rcx, rax
shr rcx, 2
and edx, 3
imul rdx, rcx
add rdx, rax
mov rax, rdx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, rdi
mov rdx, rbx
call fcn.140129530
and esi, 0xfff
cmp byte [rax + rsi], 0
jne 0x1401212d9
mov qword [rsp + 0x20], 0
lea rcx, str....._sanitizer_common_sanitizer_allocator_primary32.h
lea r8, str.__PointerIsMine_p_______0_
mov edx, 0xda
xor r9d, r9d
call fcn.1400ca810
mov rcx, rdi
mov rdx, rbx
call fcn.140129530
movzx edx, byte [rax + rsi]
mov eax, 0x200
cmp rdx, 0x35
jne 0x140121300
jmp 0x140121335
Function at 0x14011f8f0
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 0x14011fb33
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 0x14011fa20
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.msvcrt.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 0x14011fa90
mov rax, qword [0x140e17de8]
test rax, rax
jne 0x14011fb18
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x34]
mov qword [0x140e17de8], 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 fcn.1400ca810
int3
Function at 0x14011fb60
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 0x14011fba2
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 fcn.1400fa2d0
xor eax, eax
jmp 0x14011fc96
mov r14, rdx
mov r15, rcx
mov rax, rdi
cmp rsi, 9
jb 0x14011fbbc
mov rcx, rdi
mov rdx, rsi
call fcn.140125e20
cmp rsi, 0x20000
ja 0x14011fbdf
cmp rax, 0x20000
ja 0x14011fbdf
cmp rax, 0x100
ja 0x14011fc0a
add rax, 0xf
shr rax, 4
jmp 0x14011fc43
lea rcx, [r15 + 0x40dc0]
add r15, 0x81008
mov rdx, r15
mov r8, rdi
mov r9, rsi
call fcn.140120010
cmp rsi, 9
jae 0x14011fc8d
jmp 0x14011fc96
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 0x14011fca2
cmp rax, 0x36
jae 0x14011fcc6
mov rbx, rax
shl rbx, 0xa
lea rdi, [r14 + rbx]
mov rcx, qword [r14 + rbx]
test rcx, rcx
je 0x14011fd0e
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 0x14011fc96
add rsi, 0xffffffffffffffff
and rsi, rax
jne 0x14011fcea
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 fcn.1400ca810
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 fcn.1400ca810
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 fcn.1400ca810
mov rcx, r14
mov rdx, rdi
mov r8, r15
mov r9, rax
call fcn.1401234d0
test al, al
je 0x14011fd2b
mov rcx, qword [rdi]
jmp 0x14011fc66
xor eax, eax
cmp rsi, 9
jae 0x14011fc8d
jmp 0x14011fc96
Function at 0x140121740
Capabilities:
Get system information on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
test rdx, rdx
je 0x1401218f8
mov rdi, rdx
mov rsi, rcx
mov r9, qword [rcx + 0x10]
cmp r9, rdx
ja 0x14012191c
shl rdi, 5
mov rdx, qword [0x140e17de8]
test rdx, rdx
jne 0x14012178b
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x2c]
mov qword [0x140e17de8], rdx
mov rcx, rdi
call fcn.140125e20
mov r14, rax
xor ecx, ecx
mov rdx, rax
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x140121939
mov rbx, rax
mov rcx, qword [rsi]
mov rdi, qword [rsi + 0x10]
shl rdi, 5
je 0x1401218de
lea rax, [rcx + rdi]
cmp rbx, rax
jae 0x140121810
lea rax, [rbx + rdi]
cmp rcx, rax
jae 0x140121810
xor eax, eax
nop
movzx edx, byte [rcx + rax]
mov byte [rbx + rax], dl
movzx edx, byte [rcx + rax + 1]
mov byte [rbx + rax + 1], dl
movzx edx, byte [rcx + rax + 2]
mov byte [rbx + rax + 2], dl
movzx edx, byte [rcx + rax + 3]
mov byte [rbx + rax + 3], dl
add rax, 4
cmp rdi, rax
jne 0x1401217e0
jmp 0x1401218db
add rdi, 0xffffffffffffffe0
mov rdx, rdi
shr rdx, 5
add rdx, 1
mov eax, edx
and eax, 3
cmp rdi, 0x60
jae 0x14012182e
xor edi, edi
jmp 0x140121898
and rdx, 0xfffffffffffffffc
xor edi, edi
nop word cs:[rax + rax]
nop
movups xmm0, xmmword [rcx + rdi]
movups xmm1, xmmword [rcx + rdi + 0x10]
movups xmmword [rbx + rdi], xmm0
movups xmmword [rbx + rdi + 0x10], xmm1
movups xmm0, xmmword [rcx + rdi + 0x20]
movups xmm1, xmmword [rcx + rdi + 0x30]
movups xmmword [rbx + rdi + 0x20], xmm0
movups xmmword [rbx + rdi + 0x30], xmm1
movups xmm0, xmmword [rcx + rdi + 0x40]
movups xmm1, xmmword [rcx + rdi + 0x50]
movups xmmword [rbx + rdi + 0x40], xmm0
movups xmmword [rbx + rdi + 0x50], xmm1
movups xmm0, xmmword [rcx + rdi + 0x60]
movups xmm1, xmmword [rcx + rdi + 0x70]
movups xmmword [rbx + rdi + 0x60], xmm0
movups xmmword [rbx + rdi + 0x70], xmm1
sub rdi, 0xffffffffffffff80
add rdx, 0xfffffffffffffffc
jne 0x140121840
test rax, rax
je 0x1401218db
lea rdx, [rbx + rdi]
add rdx, 0x10
add rcx, rdi
add rcx, 0x10
shl rax, 5
xor edi, edi
nop word cs:[rax + rax]
nop dword [rax]
movups xmm0, xmmword [rcx + rdi - 0x10]
movups xmm1, xmmword [rcx + rdi]
movups xmmword [rdx + rdi - 0x10], xmm0
movups xmmword [rdx + rdi], xmm1
add rdi, 0x20
cmp rax, rdi
jne 0x1401218c0
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
call fcn.1400e37c0
mov qword [rsi], rbx
mov qword [rsi + 8], r14
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsp + 0x20], 0
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__new_capacity_______0__
mov edx, 0x250
xor r9d, r9d
call fcn.1400ca810
mov qword [rsp + 0x20], rdi
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__size________new_capacity__
mov edx, 0x251
call fcn.1400ca810
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsp + 0x20], 0
lea rdx, str.InternalMmapVector
lea r8, str.allocate
mov rcx, r14
mov r9d, eax
call fcn.1400fa8c0
int3
Function at 0x140121960
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 0x140121a95
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 0x140121ab7
add r9, 1
mov rcx, r9
call fcn.140120610
mov rcx, rdi
mov rdx, rax
call fcn.140121740
mov r9, qword [rdi + 0x10]
jmp 0x140121981
mov qword [rsp + 0x20], rax
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__size_______capacity____
mov edx, 0x213
call fcn.1400ca810
int3