joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d3b00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
mov r15b, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x1400d3b6d
movzx edx, word [rbp + 0x60]
movzx r8d, r15b
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], r8d
mov word [rsp + 0x20], dx
mov rdx, rsi
mov r8, rdi
call qword [0x14012a4d0]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rsi], rdi
test al, al
jns 0x1400d3b4f
call fcn.140077d00
jmp 0x1400d3b4f
lea rbx, [rbp - 0x20]
mov rcx, r9
mov rdx, rbx
call fcn.14002c236
lea rdx, [0x140148598]
mov rcx, rbx
call fcn.14002eeba
mov r14, rax
mov rcx, qword [rbp - 0x20]
lea rax, [0x1401483b0]
cmp rcx, rax
je 0x1400d3bb9
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x1400d3bb9
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14012a4d0]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x14010db00]
movaps xmmword [rbx], xmm0
mov rax, qword [r14]
xor r15b, 1
movzx ecx, r15b
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, r14
mov rdx, rbx
call qword [0x14012a4d0]
movsx rax, byte [rbx + 0x17]
test rax, rax
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
mov r8, rax
cmovs r8, rdx
test r8, r8
je 0x1400d3b5f
test al, al
mov r14, rbx
cmovs r14, rcx
jmp 0x1400d3c5b
xor edi, edi
jmp 0x1400d3c39
lea rdx, [rcx + 2]
mov qword [rdi + 0x30], rdx
mov word [rcx], ax
cmp ax, 0xffff
jne 0x1400d3c2e
xor edi, edi
mov al, byte [rbp - 9]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add r14, 2
test al, al
mov r8, rbx
cmovs r8, rcx
movzx r9d, al
cmovs r9, rdx
lea r8, [r8 + r9*2]
cmp r14, r8
je 0x1400d3b5f
test rdi, rdi
je 0x1400d3c17
movzx eax, word [r14]
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
jne 0x1400d3c1b
mov rcx, qword [rdi]
mov r8, qword [rcx + 0x60]
mov rcx, rdi
mov edx, eax
mov rax, r8
call qword [0x14012a4d0]
jmp 0x1400d3c26
Function at 0x1400e39c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x14010db00]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x2ed
call fcn.14003ae50
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14003f6a0
cmp byte [rdi + 0x17], 0
jns 0x1400e3a42
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400e3ace
test al, 0x10
cmove esi, ebp
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x40]
mov qword [rbx], rax
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, esi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx], r14
mov rcx, rbx
mov rdx, rax
call fcn.14002b710
mov rax, qword [rbx]
inc rax
test rax, 0xfffffffffffffffe
setne bl
cmp rax, 2
jb 0x1400e3ace
call fcn.14003ae70
mov rcx, qword [rsp + 0x40]
call fcn.1400315d0
lea rcx, [rsp + 0x60]
call fcn.14003f720
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140079050
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400e3fa0
Capabilities:
Identify system language via api

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
mov qword [rsp + 0x38], r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x270], rax
movzx eax, word [rcx + 0x28]
mov word [rsp + 0x260], ax
movzx eax, word [rcx + 0x2a]
mov word [rsp + 0x262], ax
mov rsi, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call rsi
mov word [rsp + 0x264], ax
movzx eax, word [rbx + 0x2a]
mov word [rsp + 0x266], ax
movzx eax, word [rbx + 0x28]
mov word [rsp + 0x268], ax
mov bp, 0x4e4
mov word [rsp + 0x26a], bp
call rsi
mov word [rsp + 0x26c], ax
mov word [rsp + 0x26e], bp
mov esi, 2
lea r14, [rsp + 0x50]
lea r15, str.StringFileInfo_04x_04x_ls
lea r12, [rsp + 0x48]
lea r13, [rsp + 0x44]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1400ae900
movzx eax, word [rsp + rsi + 0x260]
movzx ecx, word [rsp + rsi + 0x25e]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
mov r9, r15
call fcn.1400e4120
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x44], 0xaaaaaaaa
mov rcx, qword [rbx + 0x20]
mov rdx, r14
mov r8, r12
mov r9, r13
call sub.VERSION.dll_VerQueryValueW
test eax, eax
setne al
mov rdx, qword [rsp + 0x48]
test rdx, rdx
setne cl
mov r8d, dword [rsp + 0x44]
test r8d, r8d
setne bpl
and bpl, cl
and bpl, al
cmp bpl, 1
je 0x1400e410c
add rsi, 4
cmp rsi, 0x12
jne 0x1400e404a
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140079050
mov eax, ebp
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
dec r8d
mov rcx, qword [rsp + 0x38]
call fcn.140031f70
jmp 0x1400e40e6
Function at 0x1400e58b0
Capabilities:
Set environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
movsx rax, byte [r8 + 0x17]
test rax, rax
jns 0x1400e58e5
mov rax, qword [r8 + 8]
mov r8, qword [r8]
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], rax
test rax, rax
js 0x1400e599a
je 0x1400e5903
test r8, r8
je 0x1400e59ad
lea rsi, [rsp + 0x70]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140033920
cmp byte [rsi + 0x17], 0
jns 0x1400e5920
mov rsi, qword [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x20]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x48]
mov rcx, rdi
call fcn.140033920
cmp byte [rdi + 0x17], 0
jns 0x1400e5945
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp byte [rsp + 0x5f], 0
jns 0x1400e5964
mov rcx, qword [rsp + 0x48]
call fcn.140077d00
cmp byte [rsp + 0x87], 0
jns 0x1400e5978
mov rcx, qword [rsp + 0x70]
call fcn.140077d00
test esi, esi
setne bl
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140079050
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140110299]
lea rdx, str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.1400bde54
lea rcx, [0x140110299]
lea rdx, str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1400bde54
int3
Function at 0x1400e6b71
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdx, qword [0x140149270]
test rdx, rdx
je 0x1400e6bf1
mov rcx, rdi
call fcn.140022056
mov dil, 1
test rsi, rsi
je 0x1400e6bc9
mov rdx, qword [0x140149278]
mov rcx, rsi
call fcn.140022056
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140079050
mov eax, edi
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 0x18
call fcn.140077cc4
mov rbx, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
xor r15d, r15d
mov qword [rax + 0x10], r15
mov qword [0x140149270], rax
mov ecx, 0x18
call fcn.140077cc4
mov r14, rax
movups xmmword [rax], xmm6
mov qword [rax + 0x10], r15
mov qword [0x140149278], rax
call fcn.14003d7c6
mov rax, qword [rax + 8]
mov r15, qword [rax + 0x10]
lea r12, str.user_data_dir
mov rcx, r12
call fcn.1400973f4
lea r13, [rsp + 0x38]
mov rcx, r13
mov rdx, r12
mov r8, rax
call fcn.14002fd1e
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r12, [rsp + 0x20]
mov rcx, r12
mov rdx, rax
call fcn.140025308
lea rbp, [rsp + 0x50]
mov rcx, rbp
mov rdx, r12
mov r8, r13
call fcn.14006336e
mov rcx, rbp
mov rdx, r15
mov r8, rbx
mov r9, r14
call fcn.1400e6539
mov ebx, eax
cmp byte [rbp + 0x17], 0
jns 0x1400e6ca8
mov rcx, qword [rsp + 0x50]
call fcn.140077d00
cmp byte [rsp + 0x37], 0
jns 0x1400e6cb9
mov rcx, qword [rsp + 0x20]
call fcn.140077d00
cmp byte [rsp + 0x4f], 0
jns 0x1400e6cca
mov rcx, qword [rsp + 0x38]
call fcn.140077d00
test bl, bl
je 0x1400e6cda
mov rdx, qword [0x140149270]
jmp 0x1400e6baa
xor edi, edi
jmp 0x1400e6bc9
Function at 0x1400e71ee
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x1400e7246
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140079050
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ebx, eax
mov edx, eax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x20]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x14010db00]
movaps xmmword [r14], xmm0
mov rcx, r14
xor r8d, r8d
call fcn.140055be8
cmp byte [r14 + 0x17], 0
jns 0x1400e727f
mov r14, qword [rsp + 0x20]
mov rcx, rdi
mov rdx, r14
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400e72a9
mov edx, eax
movsx rax, byte [rsp + 0x37]
test rax, rax
jns 0x1400e72a4
mov rax, qword [rsp + 0x28]
cmp rax, rdx
ja 0x1400e72d1
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
cmp byte [rsp + 0x37], 0
jns 0x1400e722c
mov rcx, qword [rsp + 0x20]
call fcn.140077d00
jmp 0x1400e722c
lea rdi, [rsp + 0x20]
mov rcx, rdi
xor r8d, r8d
call fcn.1400305e2
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
xorps xmm0, xmm0
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
jmp 0x1400e72b7

Function at 0x1400e72ff
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x17], 0
jns 0x1400e730c
mov rcx, qword [rcx]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x1400e7321
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rdi, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp byte [rcx + 0x17], 0
mov rsi, rcx
jns 0x1400e7349
mov rsi, qword [rdi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400e7410
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
lea rdx, [0x1401186c4]
mov rcx, rdi
mov r8, 0xffffffffffffffff
call fcn.1400e753e
cmp rax, 0xffffffffffffffff
jne 0x1400e7477
mov rcx, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x1400e73fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xb7
jne 0x1400e7461
lea r14, [rsp + 0x28]
mov rcx, r14
mov rdx, rsi
call fcn.140025308
cmp byte [r14 + 0x17], 0
jns 0x1400e73cd
mov r14, qword [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
cmp eax, 0xffffffff
setne al
and ebp, 0x10
shr ebp, 4
and bpl, al
cmp byte [rsp + 0x3f], 0
jns 0x1400e73f8
mov rcx, qword [rsp + 0x28]
call fcn.140077d00
test bpl, bpl
je 0x1400e7461
cmp byte [rsp + 0x57], 0
jns 0x1400e7447
mov rcx, qword [rsp + 0x40]
call fcn.140077d00
jmp 0x1400e7447
test al, 0x10
je 0x1400e742f
lea rcx, str._hs___ls_directory_exists___n
lea rdx, str.RecursiveDirectoryCreate
mov r8, rsi
call fcn.1400e74c5
mov dil, 1
jmp 0x1400e7447
lea rcx, str._hs___ls_directory_conflicts_with_an_existing_file.___n
lea rdx, str.RecursiveDirectoryCreate
mov r8, rsi
call fcn.1400e74c5
xor edi, edi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140079050
mov eax, edi
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea rcx, str.Failed_to_create_directory__ls__last_error_is__d_n
mov rdx, rsi
mov r8d, ebx
call fcn.1400e74c5
xor edi, edi
jmp 0x1400e73fd
lea rcx, [rsp + 0x67]
mov qword [rsp + 0x20], rcx
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rax
call fcn.1400301a8
movups xmm0, xmmword [rbx]
lea rcx, [rsp + 0x40]
movaps xmmword [rcx], xmm0
mov rax, qword [rbx + 0x10]
mov qword [rcx + 0x10], rax
call fcn.1400e7321
test al, al
jne 0x1400e738c
lea rcx, str.Failed_to_create_one_of_the_parent_directories
call fcn.1400e74c5
jmp 0x1400e7473

Function at 0x1400e74c5
Capabilities:
Print debug messages

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rcx
lea rdi, [rsp + 0x68]
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r9
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
call fcn.1400224a0
mov rcx, qword [rax]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
lea rdi, [0x140149290]
mov r8d, 0x400
mov rdx, rdi
mov r9, rsi
call fcn.14007b9d4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140079050
nop
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x1400e9890
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rsi, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rax, qword [0x140149b08]
test rax, rax
jne 0x1400e98d4
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x140149b08]
test rax, rax
je 0x1400e98c1
cmp eax, 2
jne 0x1400e992c
mov ecx, 2
call fcn.140039200
test al, al
je 0x1400e998f
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0x95
mov r9d, 2
call fcn.14005c850
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_failed_to_launch
mov r8d, 0x1d
call fcn.14002217e
mov rcx, rsi
call fcn.14005ccc0
jmp 0x1400e998f
mov eax, 1
lock xadd qword [0x140149b40], rax
inc rax
cmp rax, 2
jl 0x1400e9950
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140149ac8], eax
mov qword [0x140149ac0], rsi
mov rcx, qword [0x140139288]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140079050
xor eax, eax
add rsp, 0x158
pop rdi
pop rsi
ret

Function at 0x1400ea251
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1400ea27b
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400ea2b9
mov edi, eax
bt eax, 0xa
jae 0x1400ea2b1
test bl, bl
jne 0x1400ea2b1
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140079050
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
and edi, 0x10
shr edi, 4
jmp 0x1400ea294
mov ecx, 2
call fcn.140039200
test al, al
je 0x1400ea292
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x80
mov r9d, 2
call fcn.1400e4c40
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14002217e
mov rcx, rax
mov rdx, rsi
call fcn.14005d570
mov rcx, rdi
call fcn.1400e4cb0
jmp 0x1400ea292
Function at 0x1400ea31f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x1400ea346
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400ea376
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140079050
mov eax, esi
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140039200
test al, al
je 0x1400ea3d7
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x73
mov r9d, 2
call fcn.1400e4c40
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14002217e
mov rcx, rax
mov rdx, rsi
call fcn.14005d570
mov rcx, rdi
call fcn.1400e4cb0
xor esi, esi
jmp 0x1400ea35a

Function at 0x1400ea3de
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x1400ea405
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400ea420
and eax, 0x410
cmp eax, 0x410
je 0x1400ea4b8
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400ea42c
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x1400ea49c
mov ecx, 2
call fcn.140039200
test al, al
je 0x1400ea49a
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x93
mov r9d, 2
call fcn.1400e4c40
lea rcx, [rsp + 0x38]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.14002217e
mov rcx, rax
mov rdx, rsi
call fcn.14005d570
mov rcx, rdi
call fcn.1400e4cb0
xor edi, edi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140079050
mov eax, edi
add rsp, 0x168
pop rdi
pop rsi
ret
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140079050
mov rcx, rsi
add rsp, 0x168
pop rdi
pop rsi
jmp fcn.1400ea4d9

Function at 0x1400ea4d9
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1400ea501
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
test eax, eax
je 0x1400ea52f
test edi, edi
setne bl
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140079050
mov eax, ebx
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140039200
test al, al
je 0x1400ea50d
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x2f
mov r9d, 2
call fcn.1400e4c40
lea rcx, [rsp + 0x40]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.14002217e
mov rcx, rax
mov rdx, rsi
call fcn.14005d570
mov rcx, rbx
call fcn.1400e4cb0
jmp 0x1400ea50d
Function at 0x1400ee270
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x20], xmm6
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor eax, eax
movdqa xmm0, xmmword [rsi + rax]
pxor xmm0, xmmword [rdi + rax]
movdqa xmmword [rsi + rax], xmm0
add rax, 0x10
cmp rax, 0x80
jne 0x1400ee2a0
cmp rbx, 2
jb 0x1400ee388
lea r14, [rdi + 0x80]
mov r15d, 1
movdqa xmm6, xmmword [0x140121d10]
movdqa xmm7, xmmword [0x140121d20]
movdqa xmm8, xmmword [0x140121d30]
movdqa xmm9, xmmword [0x140121d40]
mov rcx, rsi
call fcn.1400eef60
xor eax, eax
movdqa xmm0, xmmword [rsi + rax]
movdqa xmm1, xmm0
pand xmm1, xmm6
pshufd xmm2, xmm0, 0x39
pand xmm2, xmm7
por xmm2, xmm1
pshufd xmm1, xmm0, 0x4e
pand xmm0, xmm8
movdqa xmm3, xmm0
pslldq xmm3, 4
psrldq xmm0, 0xc
por xmm0, xmm3
pand xmm1, xmm9
por xmm1, xmm0
por xmm1, xmm2
movdqa xmmword [rsi + rax], xmm1
add rax, 0x10
cmp rax, 0x80
jne 0x1400ee2fe
mov rcx, rsi
call fcn.1400ef440
xor eax, eax
movdqa xmm0, xmmword [rsi + rax]
pxor xmm0, xmmword [r14 + rax]
movdqa xmmword [rsi + rax], xmm0
add rax, 0x10
cmp rax, 0x80
jne 0x1400ee35c
inc r15
sub r14, 0xffffffffffffff80
cmp r15, rbx
jne 0x1400ee2f4
mov rcx, rsi
call fcn.1400eef60
xor eax, eax
movdqa xmm0, xmmword [0x140121d10]
movdqa xmm1, xmmword [0x140121d20]
movdqa xmm2, xmmword [0x140121d30]
movdqa xmm3, xmmword [0x140121d40]
movdqa xmm4, xmmword [rsi + rax]
movdqa xmm5, xmm4
pand xmm5, xmm0
pshufd xmm6, xmm4, 0x39
pand xmm6, xmm1
por xmm6, xmm5
pshufd xmm5, xmm4, 0x4e
pand xmm4, xmm2
movdqa xmm7, xmm4
pslldq xmm7, 4
psrldq xmm4, 0xc
por xmm4, xmm7
pand xmm5, xmm3
por xmm5, xmm4
por xmm5, xmm6
movdqa xmmword [rsi + rax], xmm5
add rax, 0x10
cmp rax, 0x80
jne 0x1400ee3b2
shl rbx, 7
add rdi, rbx
xor eax, eax
movdqa xmm0, xmmword [rsi + rax]
pxor xmm0, xmmword [rdi + rax]
movdqa xmmword [rsi + rax], xmm0
add rax, 0x10
cmp rax, 0x80
jne 0x1400ee40d
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400eec40
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x14010db00]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
test r9, r9
je 0x1400eeca8
xor edi, edi
cmp r9, 0x30
ja 0x1400eecca
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmm2, xmmword [rdx + 0x20]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx + 0x20], xmm2
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx], xmm0
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r9, rax
jne 0x1400eec98
mov r8d, 0x30
mov rcx, rsi
call fcn.14006a520
test eax, eax
je 0x1400eece0
mov qword [rsi + 0x118], 1
mov edi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140079050
mov eax, edi
add rsp, 0x58
pop rdi
pop rsi
ret
xor edi, edi
jmp 0x1400eecca