joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004f1d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1400d7618]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x34], 0
mov rcx, qword [rcx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14004f24b
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x14004f24b
cmp dword [rsp + 0x38], 4
jne 0x14004f24b
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140083c20
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret

Function at 0x14004f270
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140083bb0
sub rsp, rax
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1400d7618]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea rsi, [rsp + 0x840]
mov r8d, 0x800
mov rcx, rsi
mov dl, 0xaa
call fcn.140086a50
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x38], 0x800
mov rcx, qword [rbx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x3c]
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14004f359
mov eax, dword [rsp + 0x3c]
cmp eax, 2
je 0x14004f30b
mov edi, 0x3f4
cmp eax, 1
jne 0x14004f359
lea rdx, [rsp + 0x840]
jmp 0x14004f34f
lea rsi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rsi
mov dl, 0xaa
call fcn.140086a50
lea rcx, [rsp + 0x840]
mov rdx, rsi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xffffffff
mov edi, 0xea
cmp eax, 0x3ff
ja 0x14004f359
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.14002068a
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140083c20
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140050840
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
mov eax, ecx
test r8, r8
je 0x1400508bc
cmp r8, 1
jne 0x140050852
xor ecx, ecx
jmp 0x14005089e
mov r9, r8
and r9, 0xfffffffffffffffe
xor ecx, ecx
lea r10, [0x1400b68e0]
nop word cs:[rax + rax]
nop dword [rax]
movzx r11d, al
movzx esi, byte [rdx + rcx]
xor esi, r11d
shr eax, 8
xor eax, dword [r10 + rsi*4]
movzx r11d, al
movzx esi, byte [rdx + rcx + 1]
xor esi, r11d
shr eax, 8
xor eax, dword [r10 + rsi*4]
add rcx, 2
cmp r9, rcx
jne 0x140050870
test r8b, 1
je 0x1400508bc
movzx r8d, al
movzx ecx, byte [rdx + rcx]
xor ecx, r8d
lea rdx, [0x1400b68e0]
shr eax, 8
xor eax, dword [rdx + rcx*4]
pop rsi
ret
Function at 0x140052800
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov rsi, rcx
mov rax, qword [0x1400d7618]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [0x1400b8090]
mov qword [rcx], rax
add rcx, 8
call fcn.140033f80
lea rcx, [rsi + 0x10]
call fcn.140033f80
mov byte [rsi + 0x18], 0
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], 0
call fcn.140033f80
mov byte [rsi + 0x48], 0
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], 0
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov dword [rsi + 0xd0], 0x3f800000
mov dword [rsi + 0xd8], 0
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], 0x3f800000
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], 0x3f800000
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov qword [rsi + 0x150], 0
mov dword [rsi + 0x158], 0x3f800000
movups xmmword [rsi + 0x160], xmm6
movups xmmword [rsi + 0x170], xmm6
mov dword [rsi + 0x180], 0x3f800000
mov qword [rsi + 0x1a0], 0
movups xmmword [rsi + 0x188], xmm6
mov dword [rsi + 0x198], 0
mov eax, dword [0x1400b9ed8]
mov qword [rsi + 0x1a8], rax
lea rcx, [rsi + 0x1b0]
call fcn.140060f80
movups xmmword [rsi + 0x2e0], xmm6
mov qword [rsi + 0x2f0], 0
lea rcx, [rsi + 0x2f8]
xor edx, edx
call fcn.14005ae70
lea rcx, [rsi + 0x300]
xor edx, edx
call fcn.14005ae70
lea rcx, [rsi + 0x308]
xor edx, edx
call fcn.14005ae70
movups xmmword [rsi + 0x310], xmm6
movups xmmword [rsi + 0x320], xmm6
mov dword [rsi + 0x330], 0x3f800000
movups xmmword [rsi + 0x338], xmm6
movups xmmword [rsi + 0x348], xmm6
movups xmmword [rsi + 0x358], xmm6
movups xmmword [rsi + 0x361], xmm6
movups xmmword [rsi + 0x378], xmm6
movups xmmword [rsi + 0x388], xmm6
call fcn.140004c40
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x198], eax
cdqe
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x190], rax
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.14002cf80
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14002cfd0
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x130], rax
mov rcx, rdi
call fcn.14002cf30
mov rcx, rsi
call fcn.140052aa0
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
je 0x140052a4a
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
call fcn.14005ed90
mov qword [rsp + 0x28], 0
lea r8, str.TraceLog
lea r9, [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call fcn.14005ef00
mov qword [0x1400dcbf0], rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140083c20
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x140058220
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rax, qword [0x1400d7618]
xor rax, rsp
mov qword [rsp + 0x28], rax
test rdx, rdx
je 0x1400582b8
mov rsi, rdx
mov rdi, rcx
mov r13d, 0xffffffff
lea r14, str..._.._base_rand_util_win.cc
lea r15, str.success
lea r12, [rsp + 0x20]
jmp 0x140058278
add rdi, rbx
sub rsi, rbx
je 0x1400582b8
cmp rsi, r13
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x140058270
mov rcx, r12
mov rdx, r14
mov r8d, 0x20
mov r9, r15
call fcn.1400348a0
mov rcx, r12
call fcn.140034930
mov rcx, r12
call fcn.140034940
jmp 0x140058270
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140083c20
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14005a8a0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1400d896c]
cmp ecx, 0xffffffff
je 0x14005a8c3
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
add eax, 0xffffffff
cmp eax, 2
setb al
jmp 0x14005a8c5
xor eax, eax
add rsp, 0x28
ret

Function at 0x14005a8d0
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov r14, rdx
mov r15, rcx
mov rax, qword [0x1400d7618]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, dword [0x1400d896c]
cmp ecx, 0xffffffff
je 0x14005a905
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14005a90a
call fcn.14005ab20
mov eax, dword [0x1400de478]
mov ecx, dword [0x1400db698]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005aad6
mov rbx, qword [0x1400de470]
mov rcx, rbx
call fcn.140033f90
mov rcx, qword [0x1400dcc60]
add rcx, 1
mov edx, 0x100
lea rax, [0x1400dcc70]
nop word cs:[rax + rax]
nop
movzx edi, cl
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x14005a98a
lea edi, [rcx + 1]
movzx edi, dil
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x14005a98a
add rcx, 2
add rdx, 0xfffffffffffffffe
jne 0x14005a960
jmp 0x14005a9af
lea rcx, [rax + rsi*8]
mov dword [rcx], 1
lea rcx, [rdi + rdi*2]
mov qword [rax + rcx*8 + 8], r14
mov qword [0x1400dcc60], rdi
mov dword [r15], edi
mov eax, dword [rax + rcx*8 + 0x10]
mov dword [r15 + 4], eax
movabs r14, 0xaaaaaaaaaaaaaaaa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [rsp + 0x30], r14
mov edi, dword [r15]
cmp edi, 0xffffffff
je 0x14005a9da
mov qword [rsp + 0x30], 0
jmp 0x14005aa42
mov ecx, 0xffffffff
call fcn.140034130
mov rdi, rax
mov ecx, 0xffffffff
call fcn.140034130
lea rdx, str.slot____kInvalidSlotValue
lea rcx, [rsp + 0x30]
mov r8, rax
mov r9, rdi
call fcn.140034590
cmp qword [rsp + 0x30], 0
je 0x14005aa3f
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea rdi, [rsp + 0x28]
lea r9, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x197
call fcn.140034960
mov rcx, rdi
call fcn.140034930
mov rcx, rdi
call fcn.140034940
mov edi, dword [r15]
mov qword [rsp + 0x30], r14
cmp edi, 0xff
jg 0x14005aa5a
mov qword [rsp + 0x30], 0
jmp 0x14005aabc
mov ecx, 0x100
call fcn.140034130
mov rsi, rax
mov ecx, edi
call fcn.140034130
lea rdx, str.slot____kThreadLocalStorageSize
lea rcx, [rsp + 0x30]
mov r8, rax
mov r9, rsi
call fcn.140034590
cmp qword [rsp + 0x30], 0
je 0x14005aabc
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
lea r9, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x198
call fcn.140034960
mov rcx, rsi
call fcn.140034930
mov rcx, rsi
call fcn.140034940
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140083c20
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [0x1400de478]
call fcn.1400839b0
cmp dword [0x1400de478], 0xffffffff
jne 0x14005a92f
mov ecx, 8
call fcn.1400837ac
mov rbx, rax
mov rcx, rax
call fcn.140033f80
mov qword [0x1400de470], rbx
lea rcx, [0x1400de478]
call fcn.140083a48
jmp 0x14005a92f
Function at 0x14005ab20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.140083bb0
sub rsp, rax
mov rax, qword [0x1400d7618]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x1400d896c]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
jne 0x14005ac1a
lea rcx, [rsp + 0x2c]
call fcn.140066180
test al, al
jne 0x14005ab9b
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea r9, str.PlatformThreadLocalStorage::AllocTLS_key_
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0xd1
call fcn.1400348a0
mov rcx, rsi
call fcn.140034930
mov rcx, rsi
call fcn.140034940
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
jne 0x14005abf8
lea rcx, [rsp + 0x2c]
call fcn.140066180
test al, al
je 0x14005abb9
cmp dword [rsp + 0x2c], 0xffffffff
jne 0x14005abea
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea r9, str.PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0xdb
call fcn.1400348a0
mov rcx, rsi
call fcn.140034930
mov rcx, rsi
call fcn.140034940
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
mov eax, 0xffffffff
lock cmpxchg dword [0x1400d896c], ecx
mov ecx, dword [rsp + 0x2c]
je 0x14005ac1a
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1400d896c]
mov dword [rsp + 0x2c], ecx
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
and esi, 3
je 0x14005ac98
xor ecx, ecx
call fcn.140034130
mov rdi, rax
mov ecx, esi
call fcn.140034130
lea rdx, str.GetTlsVectorStateAndValue_key___TlsVectorState::kUninitialized
lea rcx, [rsp + 0x30]
mov r8, rax
mov r9, rdi
call fcn.140034590
cmp qword [rsp + 0x30], 0
je 0x14005aca1
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x20]
lea r9, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0xed
call fcn.140034960
mov rcx, rsi
call fcn.140034930
mov rcx, rsi
call fcn.140034940
jmp 0x14005aca1
mov qword [rsp + 0x30], 0
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.140086a50
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.14008383c
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.1400865f0
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140083c20
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret

Function at 0x14005ade0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x1400d896c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14005ae10
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x14005ae10
mov rax, qword [rax + rcx]
jmp 0x14005ae12
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x14005ae20
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1400d896c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
jne 0x14005ae48
test rdi, rdi
je 0x14005ae61
call fcn.14005ab20
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x14005d090
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1400d7618]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 0xffffffff
cmp r8, rax
mov ebx, 0xffffffff
cmovb ebx, r8d
lea r9, [rsp + 0x3c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005d19c
lea r14, str.bytes_read___static_cast_DWORD___1_
lea r15, [rsp + 0x30]
mov r13, qword [sym.imp.KERNEL32.dll_GetFileType]
mov r12, qword [sym.imp.KERNEL32.dll_ReadFile]
lea rbp, [rsp + 0x28]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], rax
mov edx, dword [rsp + 0x3c]
mov rcx, r15
mov r8d, 0xffffffff
mov r9, r14
call fcn.14005d042
cmp qword [rsp + 0x30], 0
je 0x14005d15f
mov rcx, rbp
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
mov r8d, 0x7e
mov r9, r15
call fcn.140034960
mov rcx, rbp
call fcn.140034930
mov rcx, rbp
call fcn.140034940
mov eax, dword [rsp + 0x3c]
test eax, eax
jne 0x14005d1b4
mov rcx, rdi
call r13
cmp eax, 3
jne 0x14005d1b0
mov dword [rsp + 0x3c], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
lea r9, [rsp + 0x3c]
call r12
test eax, eax
jne 0x14005d10b
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x14005d1b6
mov eax, dword [rsp + 0x3c]
mov esi, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140083c20
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14005d831
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rdi, rcx
mov rax, qword [0x1400d7618]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.14005d760
test rax, rax
jne 0x14005d8c8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
jne 0x14005d8c8
mov ecx, 2
call fcn.140044070
test al, al
je 0x14005d8c6
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xf4
mov r9d, 2
call fcn.140045050
lea rcx, [rsp + 0x38]
lea rdx, [0x1400b8820]
mov r8d, 0xc
call fcn.14000482c
mov rcx, rsi
call fcn.140045140
xor esi, esi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140083c20
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret
Function at 0x140066180
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140066199
mov dword [rsi], eax
mov al, 1
jmp 0x14006619b
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x140066b88
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
jmp 0x140082f0c
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x1400d7618]
xor rax, rsp
mov qword [rsp + 0x198], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x140082f3b
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140082f74
and eax, 0x410
cmp eax, 0x410
jne 0x140082f74
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140083c20
mov rcx, rsi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
jmp 0x140083072
test byte [rsi], 1
mov rcx, rbx
je 0x140082f80
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x140083055
mov ecx, 2
call fcn.140044070
test al, al
je 0x140083053
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x94
mov r9d, 2
call fcn.140045050
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.14000482c
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
test dl, 1
cmovne rbx, qword [rsi + 0x10]
mov rdi, rax
lea rdx, [rsp + 0x28]
mov qword [rdx], rbx
cmovne rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.14002ae20
movzx r8d, byte [rsi]
test r8b, 1
je 0x140083028
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x140083030
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.14000482c
test byte [rsp + 0x38], 1
je 0x140083049
mov rcx, qword [rsp + 0x48]
call fcn.140083808
lea rcx, [rsp + 0x50]
call fcn.140045140
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140083c20
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x1400d7618]
xor rax, rsp
mov qword [rsp + 0x198], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x1400830a1
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dil, 1
test eax, eax
jne 0x140083176
mov ecx, 2
call fcn.140044070
test al, al
je 0x140083174
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x2f
mov r9d, 2
call fcn.140045050
lea rcx, [rsp + 0x60]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.14000482c
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
test dl, 1
cmovne rbx, qword [rsi + 0x10]
mov rdi, rax
lea rdx, [rsp + 0x28]
mov qword [rdx], rbx
cmovne rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.14002ae20
movzx r8d, byte [rsi]
test r8b, 1
je 0x140083149
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x140083151
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.14000482c
test byte [rsp + 0x38], 1
je 0x14008316a
mov rcx, qword [rsp + 0x48]
call fcn.140083808
lea rcx, [rsp + 0x50]
call fcn.140045140
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140083c20
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
Function at 0x140066c60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140066c80
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
repz ret

Function at 0x140066cc0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140066ce0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
repz ret

Function at 0x140066d20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140066d43
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
repz ret

Function at 0x140066da0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140066dc3
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
repz ret

Function at 0x140066e20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140066e49
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
repz ret