joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140124750
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x141288f20]
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 0x140124773
lea rax, [0x141288f28]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x1a]
jmp 0x1401247bb
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x1401247b8
lea rax, [0x141288f60]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x19]
jmp 0x1401247eb
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x1401247e8
xor ecx, ecx
mov byte [0x141288f79], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x141288f82], rdx
lea r8, [0x141288f20]
lea rbx, [0x141288f7a]
mov qword [0x141288f92], rdx
mov qword [0x141288fa2], rdx
mov qword [0x141288fb2], rdx
xor edx, edx
mov qword [0x141288f7a], rax
mov qword [0x141288f8a], rax
mov qword [0x141288f9a], rax
mov qword [0x141288faa], rax
mov byte [0x141288fba], 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 0x1401249c6
lea rcx, [0x141288f60]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x140124911
lea rsi, [0x141288e60]
lea r8, [0x141288fba]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x1401248bd
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x1401248b0
lea rcx, [0x141288f60]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x1401249b3
lea rcx, [0x140124660]
mov qword [0x141288e60], 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 [0x141288e60]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x5b
lea rdx, [0x141288f60]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x141288fba]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x1401249e6
nop dword [rax]
cmp byte [rax], 0x41
jne 0x140124963
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x140124950
mov rax, rdx
mov qword [0x141288e60], rax
lea rsi, [0x141288e60]
jmp 0x140124989
cmp rdx, rsi
je 0x1401248ef
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x140124980
cmp rdx, rsi
je 0x1401248ef
mov qword [rdx + 8], rsi
lea rcx, [0x140124660]
call sub.msvcrt.dll__onexit
jmp 0x1401248ef
lea rcx, str.failed_to_add_string_to_atom_table_n
call fcn.1401245d0
xor eax, eax
jmp 0x140124908
lea rcx, str.failed_to_to_lock_creation_mutex_n
call fcn.1401245d0
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.1401245d0
xor eax, eax
jmp 0x14012496f
Function at 0x1401294d0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
xor edi, edi
lea r14, [rsp + 0x20]
mov r15, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x140129514
mov ecx, 0x100000
call fcn.1401314f0
mov edx, 0x10000
mov rcx, rbx
call fcn.1400ef340
add rdi, 1
cmp rdi, 0x8000
je 0x140129540
mov rbx, qword [rsi + rdi*8 + 0x400010]
test rbx, rbx
je 0x140129507
mov rdx, qword [0x140dc0558]
test rdx, rdx
jne 0x1401294f0
mov rcx, r14
call r15
mov edx, dword [rsp + 0x24]
mov qword [0x140dc0558], rdx
jmp 0x1401294f0
mov byte [rsi + 0x400008], 0
lea rdi, [rsi + 0x400010]
test dil, 8
jne 0x14012957d
lea rax, [rdi + 0x40000]
lea r8, [rdi + 0x10]
cmp rax, r8
cmova r8, rax
sub r8, rdi
add r8, 0xf
and r8, 0xfffffffffffffff0
mov rcx, rdi
xor edx, edx
call sub.msvcrt.dll_memset
jmp 0x1401295cc
xor eax, eax
nop
mov byte [rsi + rax + 0x400010], 0
mov byte [rsi + rax + 0x400011], 0
mov byte [rsi + rax + 0x400012], 0
mov byte [rsi + rax + 0x400013], 0
mov byte [rsi + rax + 0x400014], 0
mov byte [rsi + rax + 0x400015], 0
mov byte [rsi + rax + 0x400016], 0
mov byte [rsi + rax + 0x400017], 0
add rax, 8
cmp rax, 0x40000
jne 0x140129580
test sil, 8
jne 0x140129601
lea rax, [rdi + 0x40000]
lea r8, [rdi - 0x400000]
cmp rax, r8
cmova r8, rax
sub r8, rdi
add r8, 0x40001f
and r8, 0xfffffffffffffff0
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
jmp 0x140129657
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
mov byte [rsi + rax], 0
mov byte [rsi + rax + 1], 0
mov byte [rsi + rax + 2], 0
mov byte [rsi + rax + 3], 0
mov byte [rsi + rax + 4], 0
mov byte [rsi + rax + 5], 0
mov byte [rsi + rax + 6], 0
mov byte [rsi + rax + 7], 0
mov byte [rsi + rax + 8], 0
mov byte [rsi + rax + 9], 0
mov byte [rsi + rax + 0xa], 0
mov byte [rsi + rax + 0xb], 0
add rax, 0xc
cmp rax, 0x440010
jne 0x140129610
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140129760
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 0x140129782
mov byte [r15], 0
mov r8d, dword [r12 + 8]
xor esi, esi
test r8, r8
je 0x140129989
mov rbp, qword [r12]
test rbp, rbp
je 0x140129989
movabs rax, 0xc6a4a7935bd1e995
movabs rdx, 0x35253c9ade8f4ca8
imul rdx, r8
movabs rbx, 0x9747b28c9747b28c
xor rbx, rdx
cmp r8d, 1
jne 0x1401297ce
xor edi, edi
jmp 0x140129825
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 0x1401297e0
test r8b, 1
je 0x14012984c
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 0x1401298f3
mov esi, ebp
mov ebp, ebp
mov rdx, rbp
shr rdx, 0x10
mov rax, qword [r14 + rdx*8 + 0x400010]
test rax, rax
je 0x1401298e2
movzx edx, bp
shl rdx, 4
mov ebp, dword [rax + rdx + 8]
cmp qword [rax + rdx], rdi
jne 0x1401298b0
jmp 0x140129989
mov qword [rsp + 0x28], rcx
call fcn.140134a40
mov rcx, qword [rsp + 0x28]
jmp 0x1401298cc
mov rbp, rcx
mov qword [rsp + 0x28], r15
mov rcx, rbx
call fcn.1401299d0
mov r15d, eax
cmp eax, r13d
je 0x140129933
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov rcx, r14
mov edx, r15d
mov r9, rdi
call fcn.140134e60
test eax, eax
je 0x140129933
mov esi, eax
mov dword [rbx], r15d
jmp 0x140129989
mov esi, 1
lock xadd dword [r14 + 0x400000], esi
add esi, 1
js 0x14012999c
mov r13, rbx
mov rdx, rsi
shr rdx, 0x10
mov rbx, qword [r14 + rdx*8 + 0x400010]
test rbx, rbx
je 0x1401299c3
movzx ebp, si
shl rbp, 4
lea rcx, [rbx + rbp]
mov r8, r12
mov r9, rdi
call fcn.1401129e0
mov dword [rbx + rbp + 8], r15d
mov dword [r13], esi
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140129989
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.1400d9910
mov rcx, rbp
call fcn.140134a40
mov rbx, rax
jmp 0x14012995d
Function at 0x14012a9e0
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 0x14012aa4a
mov rdx, rsi
shr rdx, 0x20
mov rax, qword [rdi + rdx*8 + 8]
test rax, rax
je 0x14012aa4a
mov rbx, rsi
shr rbx, 0x14
mov rax, qword [rdi + rdx*8 + 8]
test rax, rax
je 0x14012aa36
and ebx, 0xfff
cmp byte [rax + rbx], 0
je 0x14012aa4a
mov rcx, rdi
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp 0x14012c3b0
mov rcx, rdi
call fcn.140134c00
and ebx, 0xfff
cmp byte [rax + rbx], 0
jne 0x14012aa24
mov rdx, qword [rdi + 0x40dc0]
lea rax, [rdx - 1]
test rax, rsi
jne 0x14012aa6d
sub rsi, rdx
mov rcx, qword [rsi + 0x10]
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.1401314f0
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.1400d9910
int3
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rax, rdx
shr rax, 0x2f
jne 0x14012c474
mov rsi, rdx
mov rdi, rcx
mov rbx, rdx
shr rbx, 0x20
mov rax, qword [rcx + rbx*8 + 8]
test rax, rax
je 0x14012c474
shr rsi, 0x14
mov rax, qword [rdi + rbx*8 + 8]
test rax, rax
je 0x14012c45d
and esi, 0xfff
cmp byte [rax + rsi], 0
je 0x14012c474
mov rax, qword [rdi + rbx*8 + 8]
test rax, rax
je 0x14012c42b
mov rax, qword [rdi + rbx*8 + 8]
test rax, rax
je 0x14012c498
movzx edx, byte [rax + rsi]
mov eax, 0x200
cmp rdx, 0x35
je 0x14012c455
cmp dl, 0x10
ja 0x14012c433
shl rdx, 4
jmp 0x14012c452
xor edx, edx
shl rdx, 4
jmp 0x14012c452
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.140134c00
and esi, 0xfff
cmp byte [rax + rsi], 0
jne 0x14012c3f9
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.1400d9910
mov rcx, rdi
mov rdx, rbx
call fcn.140134c00
movzx edx, byte [rax + rsi]
mov eax, 0x200
cmp rdx, 0x35
jne 0x14012c420
jmp 0x14012c455
Function at 0x14012aaa0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
lea rax, [rcx + 0x81008]
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
mov qword [rcx + 0x81008], rax
mov qword [rcx + 0x81010], rax
test r8, r8
jne 0x14012ad03
mov rsi, rcx
mov byte [rcx], 0
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
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 0x14012abf0
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 0x14012ac60
mov rax, qword [0x140dc0558]
test rax, rax
jne 0x14012ace8
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x34]
mov qword [0x140dc0558], 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.1400d9910
int3
Function at 0x14012ad30
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 0x14012ad72
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.140105bf0
xor eax, eax
jmp 0x14012ae65
mov r14, rdx
mov r15, rcx
mov rax, rdi
cmp rsi, 9
jb 0x14012ad8c
mov rcx, rdi
mov rdx, rsi
call fcn.1401314f0
cmp rsi, 0x20000
ja 0x14012adaf
cmp rax, 0x20000
ja 0x14012adaf
cmp rax, 0x100
ja 0x14012adda
add rax, 0xf
shr rax, 4
jmp 0x14012ae13
lea rcx, [r15 + 0x40dc0]
add r15, 0x81008
mov rdx, r15
mov r8, rdi
mov r9, rsi
call fcn.14012b1e0
cmp rsi, 9
jae 0x14012ae5c
jmp 0x14012ae65
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 0x14012ae71
cmp rax, 0x36
jae 0x14012ae95
mov rbx, rax
shl rbx, 0xa
lea rdi, [r14 + rbx]
mov rcx, qword [r14 + rbx]
test rcx, rcx
je 0x14012aedd
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]
add qword [r14 + 0xd810], rcx
cmp rsi, 9
jb 0x14012ae65
add rsi, 0xffffffffffffffff
and rsi, rax
jne 0x14012aeb9
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.1400d9910
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.1400d9910
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.1400d9910
mov rcx, r14
mov rdx, rdi
mov r8, r15
mov r9, rax
call fcn.14012edd0
test al, al
je 0x14012aefa
mov rcx, qword [rdi]
jmp 0x14012ae36
xor eax, eax
cmp rsi, 9
jae 0x14012ae5c
jmp 0x14012ae65
Function at 0x14012c8f0
Capabilities:
Get system information on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
test rdx, rdx
je 0x14012caa8
mov rdi, rdx
mov rsi, rcx
mov r9, qword [rcx + 0x10]
cmp r9, rdx
ja 0x14012cacc
shl rdi, 5
mov rdx, qword [0x140dc0558]
test rdx, rdx
jne 0x14012c93b
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x2c]
mov qword [0x140dc0558], rdx
mov rcx, rdi
call fcn.1401314f0
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 0x14012cae9
mov rbx, rax
mov rcx, qword [rsi]
mov rdi, qword [rsi + 0x10]
shl rdi, 5
je 0x14012ca8e
lea rax, [rcx + rdi]
cmp rbx, rax
jae 0x14012c9c0
lea rax, [rbx + rdi]
cmp rcx, rax
jae 0x14012c9c0
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 0x14012c990
jmp 0x14012ca8b
add rdi, 0xffffffffffffffe0
mov rdx, rdi
shr rdx, 5
add rdx, 1
mov eax, edx
and eax, 3
cmp rdi, 0x60
jae 0x14012c9de
xor edi, edi
jmp 0x14012ca48
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 0x14012c9f0
test rax, rax
je 0x14012ca8b
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 0x14012ca70
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
call fcn.1400ef340
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, 0x245
xor r9d, r9d
call fcn.1400d9910
mov qword [rsp + 0x20], rdi
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__size________new_capacity__
mov edx, 0x246
call fcn.1400d9910
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.1401061c0
int3
Function at 0x14012fdd0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov ebp, edx
mov r14, rcx
mov dword [rcx + 0x10], edx
test edx, edx
je 0x14012fe14
mov eax, ebp
lea rbx, [rax*8]
shl rax, 4
lea rsi, [rax + rax*2]
mov rdi, qword [0x140dc0558]
test rdi, rdi
je 0x14012fe20
lea rbx, [rbx + rbx*2]
cmp rsi, rdi
jbe 0x14012fe43
jmp 0x14012fecd
mov qword [r14], 0
jmp 0x14012ff15
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rsp + 0x2c]
mov qword [0x140dc0558], rdi
lea rbx, [rbx + rbx*2]
cmp rsi, rdi
ja 0x14012fecd
test rdi, rdi
jne 0x14012fe5e
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rsp + 0x2c]
mov qword [0x140dc0558], rdi
cmp rbx, rdi
ja 0x14012ff27
mov rax, rdi
or rax, rbx
shr rax, 0x20
je 0x14012fe7d
mov rax, rdi
xor edx, edx
div rbx
jmp 0x14012fe83
mov eax, edi
xor edx, edx
div ebx
bsr rcx, rax
shl rbx, cl
mov eax, dword [r14 + 0x10]
shl eax, cl
mov dword [r14 + 0x10], eax
shl rax, 3
lea rax, [rax + rax*2]
cmp rbx, rax
jne 0x14012ff4b
lea r15, [rbx + rbx]
test rdi, rdi
jne 0x14012fec4
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rsp + 0x2c]
mov qword [0x140dc0558], rdi
cmp r15, rdi
jbe 0x14012ff6b
test rdi, rdi
jne 0x14012fee8
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rsp + 0x2c]
mov qword [0x140dc0558], rdi
mov rcx, rbx
mov rdx, rdi
call fcn.1401314f0
mov rdi, rax
xor ecx, ecx
mov rdx, rax
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x14012ff8b
mov qword [r14], rax
test ebp, ebp
setne al
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov qword [rsp + 0x20], 0
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__x_______0U__
mov edx, 0x191
xor r9d, r9d
call fcn.1400d9910
mov qword [rsp + 0x20], rax
lea rcx, str....._sanitizer_common_sanitizer_dense_map.h
lea r8, str.__Size______sizeof_BucketT___NumBuckets__
mov edx, 0x2af
mov r9, rbx
call fcn.1400d9910
mov qword [rsp + 0x20], rdi
lea rcx, str....._sanitizer_common_sanitizer_dense_map.h
lea r8, str.__Size__2_______GetPageSizeCached____
mov edx, 0x2b0
mov r9, r15
call fcn.1400d9910
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsp + 0x20], 0
lea rdx, str.DenseMap
lea r8, str.allocate
mov rcx, rdi
mov r9d, eax
call fcn.1401061c0
int3
Function at 0x14012ffb0
Capabilities:
Get system information on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rcx
mov ebx, dword [rcx + 0x10]
mov r14, qword [rcx]
cmp edx, 0x41
mov r9d, 0x40
cmovae r9d, edx
lea eax, [r9 - 1]
test r9d, eax
jne 0x14012ffdd
mov rdx, r9
jmp 0x14013000f
bsr rax, r9
xor rax, 0x3f
mov ecx, eax
neg cl
mov esi, 1
mov edx, 1
shl rdx, cl
cmp rdx, r9
jbe 0x1401300e5
xor al, 0x3f
mov ecx, eax
shl rsi, cl
cmp rsi, r9
jae 0x140130102
mov rcx, rdi
call fcn.14012fdd0
mov rax, qword [rdi]
test rax, rax
je 0x1401300c1
test r14, r14
je 0x140130076
shl rbx, 3
lea rbx, [rbx + rbx*2]
lea r8, [r14 + rbx]
mov rcx, rdi
mov rdx, r14
call fcn.140128aa0
mov rdx, qword [0x140dc0558]
test rdx, rdx
jne 0x140130061
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x2c]
mov qword [0x140dc0558], rdx
mov rcx, rbx
call fcn.1401314f0
mov rcx, r14
mov rdx, rax
call fcn.1400ef340
jmp 0x1401300b7
mov qword [rdi + 8], 0
mov ecx, dword [rdi + 0x10]
lea r9d, [rcx - 1]
and r9d, ecx
jne 0x14013011f
test rcx, rcx
je 0x1401300b7
lea rcx, [rcx + rcx*2]
lea rcx, [rax + rcx*8]
nop dword [rax + rax]
mov dword [rax], 0xffffffff
mov qword [rax + 8], 0xffffffffffffffff
add rax, 0x18
cmp rax, rcx
jne 0x1401300a0
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsp + 0x20], 0
lea rcx, str....._sanitizer_common_sanitizer_dense_map.h
lea r8, str.__Buckets______0_
mov edx, 0x289
xor r9d, r9d
call fcn.1400d9910
mov qword [rsp + 0x20], rdx
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__size________1ULL_____up__1____
mov edx, 0x1b9
call fcn.1400d9910
mov qword [rsp + 0x20], rsi
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__size________1ULL____up___
mov edx, 0x1ba
call fcn.1400d9910
mov qword [rsp + 0x20], 0
lea rcx, str....._sanitizer_common_sanitizer_dense_map.h
lea r8, str.___getNumBuckets_____getNumBuckets_____1________0__
mov edx, 0x10f
call fcn.1400d9910
int3