joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f4e60
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rdi, rdx
mov r15, rcx
test rdx, rdx
je 0x4f4ea7
mov rax, 0xffffffffffffffff
nop word cs:[rax + rax]
nop dword [rax + rax]
cmp byte [rdi + rax + 1], 0
lea rax, [rax + 1]
jne 0x4f4e90
cmp rax, 0xf9d
jae 0x4f508a
mov r14, qword [r15]
mov al, 1
xchg byte [r14], al
test al, al
jne 0x4f4ff9
mov rcx, qword [r15 + 8]
lea rax, [rcx + 1]
cmp rax, 3
ja 0x4f4fc5
cmp rax, 1
je 0x4f4fc5
mov qword [r15 + 8], 0xffffffffffffffff
mov eax, 2
test rdi, rdi
je 0x4f4fe1
cmp byte [rdi], 0x73
jne 0x4f4f48
mov bl, 0x73
mov edx, 1
lea rcx, str.stderr
nop dword [rax]
test bl, bl
je 0x4f4fe1
movzx ebx, byte [rdi + rdx]
lea rsi, [rdx + 1]
cmp bl, byte [rdx + rcx]
mov rdx, rsi
je 0x4f4f00
mov dl, 0x73
mov eax, 1
lea rcx, str.stdout
mov ebx, 1
nop dword [rax + rax]
test dl, dl
je 0x4f4fe1
movzx edx, byte [rdi + rbx]
lea rsi, [rbx + 1]
cmp dl, byte [rbx + rcx]
mov rbx, rsi
je 0x4f4f30
lea rsi, [r15 + 0x10]
lea r8, [0x00676e36]
mov edx, 0x1000
mov rcx, rsi
mov r9, rdi
call fcn.004d4d70
cmp byte [r15 + 0x10], 0
je 0x4f4fe5
lea rdi, [r15 + 0x11]
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov r12, qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x4f4f96
mov rcx, rsi
xor edx, edx
call r12
test eax, eax
je 0x4f5028
mov byte [rdi], bl
add rdi, 1
movzx ebx, byte [rdi]
cmp bl, 0x2f
je 0x4f4fb0
cmp bl, 0x5c
je 0x4f4fb0
test bl, bl
jne 0x4f4f92
jmp 0x4f4fe5
mov byte [rdi], 0
mov rcx, rsi
call r13
cmp eax, 0xffffffff
je 0x4f4f80
and eax, 0x10
jne 0x4f4f90
jmp 0x4f4f80
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r15 + 8], 0xffffffffffffffff
mov eax, 2
test rdi, rdi
jne 0x4f4ee9
mov qword [r15 + 8], rax
mov byte [r14], 0
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor esi, esi
mov rbx, qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x4f5007
add esi, 1
cmp esi, 0x63
ja 0x4f5010
pause
jmp 0x4f5014
xor ecx, ecx
call rbx
cmp byte [r14], 0
jne 0x4f5004
mov al, 1
xchg byte [r14], al
test al, al
jne 0x4f5004
jmp 0x4f4eb7
mov qword [rsp + 0x20], 0
lea rdx, str.ERROR:_Cant_create_directory:
mov ecx, 2
mov r8d, 0x1f
xor r9d, r9d
call fcn.004ef320
mov r8, 0xffffffffffffffff
nop word cs:[rax + rax]
nop dword [rax]
cmp byte [r15 + r8 + 0x11], 0
lea r8, [r8 + 1]
jne 0x4f5060
mov qword [rsp + 0x20], 0
mov ecx, 2
mov rdx, rsi
xor r9d, r9d
call fcn.004ef320
call fcn.004cd070
movsx edx, byte [rdi]
movsx r8d, byte [rdi + 1]
movsx r9d, byte [rdi + 2]
movsx eax, byte [rdi + 3]
movsx ecx, byte [rdi + 4]
movsx ebx, byte [rdi + 5]
movsx esi, byte [rdi + 6]
movsx edi, byte [rdi + 7]
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea rcx, str.ERROR:_Path_is_too_long:__c_c_c_c_c_c_c_c..._n
call fcn.004e5610
call fcn.004cd070
int3
Function at 0x4f7710
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_CreateEventA]
test rax, rax
mov qword [0x01638170], rax
je 0x4f7745
lea rcx, [0x01638180]
add rsp, 0x28
jmp qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_InitializeCriticalSection]
mov ecx, 2
call qword [fcn.004f9370]
mov r8d, 0x3d
mov edx, 1
lea rcx, str.runtime:_failed_to_create_runtime_initialization_wait_event._n
mov r9, rax
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop

Function at 0x4f80d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x016387c4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x4f8258
mov rax, qword [0x016387c8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x4f811c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x4f81a5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x4f8100
mov rcx, rbx
call fcn.004f8d70
test rax, rax
mov r12, rax
je 0x4f828d
mov rax, qword [0x016387c8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.004f8ea0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x016387c8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4f8270
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x4f819e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x4f8200
add dword [0x016387c4], 1
cmp edi, 8
jae 0x4f81d3
test dil, 4
jne 0x4f8244
test edi, edi
je 0x4f81c8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x4f825f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x4f81c8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x4f81ec
jmp 0x4f81c8
add rsi, qword [0x016387c8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4f819e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00505f20
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x4f81c8
xor esi, esi
jmp 0x4f8127
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x4f81c8
mov rax, qword [0x016387c8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.00505f20
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.00505f20
nop
nop dword [rax]
Function at 0x4f89e0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x01638aa0]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_EnterCriticalSection]
mov rbx, qword [0x01638a80]
test rbx, rbx
je 0x4f8a34
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x4f8a2b
test rsi, rsi
je 0x4f8a2b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4f8a10
lea rcx, [0x01638aa0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_LeaveCriticalSection]

Function at 0x4f8d70
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00678600]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x4f8ddd
mov rcx, r8
call fcn.004f8c50
test eax, eax
je 0x4f8ddd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x4f8ddd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x4f8dd4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4f8ddf
add rax, 0x28
cmp rax, r9
jne 0x4f8dc0
xor eax, eax
add rsp, 0x28
ret
Function at 0x4fa230
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 0x4fa274
mov ecx, 0x100000
call fcn.00502250
mov edx, 0x10000
mov rcx, rbx
call fcn.004ced60
add rdi, 1
cmp rdi, 0x8000
je 0x4fa2a0
mov rbx, qword [rsi + rdi*8 + 0x400010]
test rbx, rbx
je 0x4fa267
mov rdx, qword [0x01170498]
test rdx, rdx
jne 0x4fa250
mov rcx, r14
call r15
mov edx, dword [rsp + 0x24]
mov qword [0x01170498], rdx
jmp 0x4fa250
mov byte [rsi + 0x400008], 0
lea rdi, [rsi + 0x400010]
test dil, 8
jne 0x4fa2dd
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 0x4fa32c
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 0x4fa2e0
test sil, 8
jne 0x4fa361
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 0x4fa3b7
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 0x4fa370
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x4fa4c0
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 0x4fa4e2
mov byte [r15], 0
mov r8d, dword [r12 + 8]
xor esi, esi
test r8, r8
je 0x4fa6e9
mov rbp, qword [r12]
test rbp, rbp
je 0x4fa6e9
movabs rax, 0xc6a4a7935bd1e995
movabs rdx, 0x35253c9ade8f4ca8
imul rdx, r8
movabs rbx, 0x9747b28c9747b28c
xor rbx, rdx
cmp r8d, 1
jne 0x4fa52e
xor edi, edi
jmp 0x4fa585
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 0x4fa540
test r8b, 1
je 0x4fa5ac
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 0x4fa653
mov esi, ebp
mov ebp, ebp
mov rdx, rbp
shr rdx, 0x10
mov rax, qword [r14 + rdx*8 + 0x400010]
test rax, rax
je 0x4fa642
movzx edx, bp
shl rdx, 4
mov ebp, dword [rax + rdx + 8]
cmp qword [rax + rdx], rdi
jne 0x4fa610
jmp 0x4fa6e9
mov qword [rsp + 0x28], rcx
call fcn.005057a0
mov rcx, qword [rsp + 0x28]
jmp 0x4fa62c
mov rbp, rcx
mov qword [rsp + 0x28], r15
mov rcx, rbx
call fcn.004fa730
mov r15d, eax
cmp eax, r13d
je 0x4fa693
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov rcx, r14
mov edx, r15d
mov r9, rdi
call fcn.00505bc0
test eax, eax
je 0x4fa693
mov esi, eax
mov dword [rbx], r15d
jmp 0x4fa6e9
mov esi, 1
lock xadd dword [r14 + 0x400000], esi
add esi, 1
js 0x4fa6fc
mov r13, rbx
mov rdx, rsi
shr rdx, 0x10
mov rbx, qword [r14 + rdx*8 + 0x400010]
test rbx, rbx
je 0x4fa723
movzx ebp, si
shl rbp, 4
lea rcx, [rbx + rbp]
mov r8, r12
mov r9, rdi
call fcn.004f2400
mov dword [rbx + rbp + 8], r15d
mov dword [r13], esi
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x4fa6e9
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.004b9330
mov rcx, rbp
call fcn.005057a0
mov rbx, rax
jmp 0x4fa6bd
Function at 0x4fb740
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 0x4fb7aa
mov rdx, rsi
shr rdx, 0x20
mov rax, qword [rdi + rdx*8 + 8]
test rax, rax
je 0x4fb7aa
mov rbx, rsi
shr rbx, 0x14
mov rax, qword [rdi + rdx*8 + 8]
test rax, rax
je 0x4fb796
and ebx, 0xfff
cmp byte [rax + rbx], 0
je 0x4fb7aa
mov rcx, rdi
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp 0x4fd110
mov rcx, rdi
call fcn.00505960
and ebx, 0xfff
cmp byte [rax + rbx], 0
jne 0x4fb784
mov rdx, qword [rdi + 0x40dc0]
lea rax, [rdx - 1]
test rax, rsi
jne 0x4fb7cd
sub rsi, rdx
mov rcx, qword [rsi + 0x10]
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.00502250
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.004b9330
int3
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rax, rdx
shr rax, 0x2f
jne 0x4fd1d4
mov rsi, rdx
mov rdi, rcx
mov rbx, rdx
shr rbx, 0x20
mov rax, qword [rcx + rbx*8 + 8]
test rax, rax
je 0x4fd1d4
shr rsi, 0x14
mov rax, qword [rdi + rbx*8 + 8]
test rax, rax
je 0x4fd1bd
and esi, 0xfff
cmp byte [rax + rsi], 0
je 0x4fd1d4
mov rax, qword [rdi + rbx*8 + 8]
test rax, rax
je 0x4fd18b
mov rax, qword [rdi + rbx*8 + 8]
test rax, rax
je 0x4fd1f8
movzx edx, byte [rax + rsi]
mov eax, 0x200
cmp rdx, 0x35
je 0x4fd1b5
cmp dl, 0x10
ja 0x4fd193
shl rdx, 4
jmp 0x4fd1b2
xor edx, edx
shl rdx, 4
jmp 0x4fd1b2
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.00505960
and esi, 0xfff
cmp byte [rax + rsi], 0
jne 0x4fd159
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.004b9330
mov rcx, rdi
mov rdx, rbx
call fcn.00505960
movzx edx, byte [rax + rsi]
mov eax, 0x200
cmp rdx, 0x35
jne 0x4fd180
jmp 0x4fd1b5
Function at 0x4fb800
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 0x4fba63
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 0x4fb950
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 0x4fb9c0
mov rax, qword [0x01170498]
test rax, rax
jne 0x4fba48
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x34]
mov qword [0x01170498], 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.004b9330
int3
Function at 0x4fba90
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 0x4fbad2
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.004e5610
xor eax, eax
jmp 0x4fbbc5
mov r14, rdx
mov r15, rcx
mov rax, rdi
cmp rsi, 9
jb 0x4fbaec
mov rcx, rdi
mov rdx, rsi
call fcn.00502250
cmp rsi, 0x20000
ja 0x4fbb0f
cmp rax, 0x20000
ja 0x4fbb0f
cmp rax, 0x100
ja 0x4fbb3a
add rax, 0xf
shr rax, 4
jmp 0x4fbb73
lea rcx, [r15 + 0x40dc0]
add r15, 0x81008
mov rdx, r15
mov r8, rdi
mov r9, rsi
call fcn.004fbf40
cmp rsi, 9
jae 0x4fbbbc
jmp 0x4fbbc5
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 0x4fbbd1
cmp rax, 0x36
jae 0x4fbbf5
mov rbx, rax
shl rbx, 0xa
lea rdi, [r14 + rbx]
mov rcx, qword [r14 + rbx]
test rcx, rcx
je 0x4fbc3d
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 0x4fbbc5
add rsi, 0xffffffffffffffff
and rsi, rax
jne 0x4fbc19
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.004b9330
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.004b9330
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.004b9330
mov rcx, r14
mov rdx, rdi
mov r8, r15
mov r9, rax
call fcn.004ffb30
test al, al
je 0x4fbc5a
mov rcx, qword [rdi]
jmp 0x4fbb96
xor eax, eax
cmp rsi, 9
jae 0x4fbbbc
jmp 0x4fbbc5
Function at 0x4fd650
Capabilities:
Get system information on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
test rdx, rdx
je 0x4fd808
mov rdi, rdx
mov rsi, rcx
mov r9, qword [rcx + 0x10]
cmp r9, rdx
ja 0x4fd82c
shl rdi, 5
mov rdx, qword [0x01170498]
test rdx, rdx
jne 0x4fd69b
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x2c]
mov qword [0x01170498], rdx
mov rcx, rdi
call fcn.00502250
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 0x4fd849
mov rbx, rax
mov rcx, qword [rsi]
mov rdi, qword [rsi + 0x10]
shl rdi, 5
je 0x4fd7ee
lea rax, [rcx + rdi]
cmp rbx, rax
jae 0x4fd720
lea rax, [rbx + rdi]
cmp rcx, rax
jae 0x4fd720
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 0x4fd6f0
jmp 0x4fd7eb
add rdi, 0xffffffffffffffe0
mov rdx, rdi
shr rdx, 5
add rdx, 1
mov eax, edx
and eax, 3
cmp rdi, 0x60
jae 0x4fd73e
xor edi, edi
jmp 0x4fd7a8
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 0x4fd750
test rax, rax
je 0x4fd7eb
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 0x4fd7d0
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
call fcn.004ced60
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.004b9330
mov qword [rsp + 0x20], rdi
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__size________new_capacity__
mov edx, 0x246
call fcn.004b9330
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.004e5be0
int3