joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400260c0
Capabilities:
Delete file
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, qword [0x140231be8]
test rdi, rdi
je 0x140026110
lea rbx, [0x1401fa7a3]
mov rcx, rdi
mov rdx, rbx
call fcn.1401114c0
test al, al
jne 0x140026139
lea rdx, str.vmodule
mov rcx, rdi
call fcn.1401114c0
test al, al
jne 0x140026139
mov eax, dword [rsi]
mov dword [0x140228658], eax
test al, 1
jne 0x1400261f2
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14012ec00
mov al, 1
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rax, str.vmodule
lea r8, [rsp + 0x48]
mov qword [r8], rax
mov qword [r8 + 8], 7
lea r14, [rsp + 0x58]
mov rcx, rdi
mov rdx, r14
call fcn.1400dcc20
lea r8, [rsp + 0x20]
mov qword [r8], rbx
mov qword [r8 + 8], 1
lea rbx, [rsp + 0x30]
mov rcx, rdi
mov rdx, rbx
call fcn.1400dcc20
mov ecx, 0x20
call fcn.14012c264
mov rdi, rax
lea r9, [0x140231b60]
mov rcx, rax
mov rdx, rbx
mov r8, r14
call fcn.14019de10
cmp byte [rbx + 0x17], 0
jns 0x1400261b2
mov rcx, qword [rsp + 0x30]
call fcn.14012c25c
cmp byte [rsp + 0x6f], 0
jns 0x1400261c3
mov rcx, qword [rsp + 0x58]
call fcn.14012c25c
test rdi, rdi
je 0x140026110
xor eax, eax
lock cmpxchg qword [0x140231b70], rdi
je 0x140026110
mov rcx, rdi
call fcn.14019dee0
mov rcx, rdi
call fcn.14012c25c
jmp 0x140026110
mov rcx, qword [0x140231b68]
test rcx, rcx
jne 0x14002620c
mov rcx, qword [0x140231b58]
test rcx, rcx
je 0x140026230
jmp 0x140026252
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140231b68], 0
mov rcx, qword [0x140231b58]
test rcx, rcx
jne 0x140026252
and byte [0x140228658], 0xfe
mov ecx, 0x18
call fcn.14012c264
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x140231b58], rax
mov rdx, qword [rsi + 8]
call fcn.14005b420
cmp dword [rsi + 0x14], 0
jne 0x140026277
mov rcx, qword [0x140231b58]
cmp byte [rcx + 0x17], 0
jns 0x140026271
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14012ec00
nop
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1401923b0
Function at 0x1400269f0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rcx, rcx
je 0x140026ac9
mov rsi, rdx
mov rdi, rcx
lea rbx, [rsp + 0x40]
mov qword [rbx], 0
mov r15, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call r15
mov r14, rax
call r15
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x30], 2
mov rcx, rax
mov rdx, rdi
mov r8, r14
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
setne bl
je 0x140026acd
mov r14, qword [rsp + 0x40]
cmp qword [rsi], r14
je 0x140026a98
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140026ab3
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140026a90
mov qword [rsi], r14
call fcn.1400b90a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14012ec00
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400b90a0
mov rcx, qword [rsi]
call fcn.14011a250
mov qword [rsi], 0
jmp 0x140026a7e
mov bl, 1
jmp 0x140026a98
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140026a90

Function at 0x140027a80
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140228698]
cmp ecx, 0xffffffff
je 0x140027b5a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x140027b5a
mov eax, dword [0x1402338d0]
mov ecx, dword [0x140228d28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140027b64
mov rbx, qword [0x1402338c8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140027ba6
mov rax, qword [0x1402320b8]
inc rax
xor ecx, ecx
lea rdx, [0x1402320c0]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x140027bb3
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x1402338c0]
inc ecx
mov dword [0x1402338c0], ecx
mov dword [rax + 0x14], ecx
mov qword [0x1402320b8], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x140027bc8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14000f650
jmp 0x140027aaa
lea rcx, [0x1402338d0]
call fcn.14012c340
cmp dword [0x1402338d0], 0xffffffff
jne 0x140027acf
mov ecx, 8
call fcn.14012c264
mov qword [rax], 0
mov qword [0x1402338c8], rax
lea rcx, [0x1402338d0]
call fcn.14012c3a8
jmp 0x140027acf
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x140027ae7
inc rcx
cmp rcx, 0x100
jne 0x140027afa
jmp 0x140027b40
int3
Function at 0x14002be10
Capabilities:
Check if file exists

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov al, byte [rcx + 8]
cmp al, byte [rdx + 8]
je 0x14002be3b
test al, al
jne 0x14002be4c
test rsi, rsi
je 0x14002be5a
mov rcx, rsi
call fcn.140032350
mov byte [rsi + 8], 1
add rsp, 0x20
pop rsi
ret
test al, al
je 0x14002be35
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14002be60
mov rcx, rsi
call fcn.140035690
mov byte [rsi + 8], 0
jmp 0x14002be35
int3

Function at 0x14002be60
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, qword [rdx]
mov qword [rdx], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x14002be85
call fcn.1400b90a0
cmp qword [rsi], rbx
je 0x14002beb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14002bec1
cmp r14, 2
jb 0x14002beac
mov qword [rsi], rbx
call fcn.1400b90a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400b90a0
mov rcx, qword [rsi]
call fcn.14011a250
mov qword [rsi], 0
jmp 0x14002be9e

Function at 0x14002bf90
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ebx, 0xffffffff
cmp r8, rbx
cmovb rbx, r8
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002c031
mov r15, qword [sym.imp.KERNEL32.dll_GetFileType]
lea r14, [rsp + 0x2c]
mov r12, qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x14002c020
cmp eax, 0xffffffff
je 0x14002c06b
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14012ec00
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, rdi
call r15
cmp eax, 3
je 0x14002c045
mov eax, dword [rsp + 0x2c]
jmp 0x14002c000
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x14002c002
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
mov r9, r14
call r12
test eax, eax
jne 0x14002bff3
jmp 0x14002c031
int3
Function at 0x14002c840
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1058
call fcn.14012eba0
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x1050], rax
lea r14, [rsp + 0x850]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.140130d40
lea r9, [rsp + 0x4c]
mov dword [r9], 1
lea rax, [rsp + 0x48]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002c91b
mov eax, dword [rsp + 0x4c]
cmp eax, 1
jne 0x14002c99e
lea rbx, [rsp + 0x850]
mov rcx, rbx
call fcn.14012cc94
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x14002c981
cmp rdi, 0xa
jbe 0x14002c91f
movzx r9d, al
mov edx, 0xa
mov r8, rdi
sub r8, rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, rsi
call fcn.14000cfe0
jmp 0x14002c951
mov edi, eax
jmp 0x14002c953
mov rbx, rsi
test rdi, rdi
je 0x14002c940
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x850]
mov rcx, rbx
call fcn.140130690
mov al, byte [rsi + 0x17]
test al, al
js 0x14002c972
mov eax, edi
and al, 0x7f
mov byte [rsi + 0x17], al
mov word [rbx + rdi*2], 0
xor edi, edi
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.14012ec00
mov eax, edi
add rsp, 0x1058
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsi + 8], rdi
jmp 0x14002c94b
mov r9, qword [rsi + 8]
jmp 0x14002c8f3
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x14002c978
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x14002c922
cmp eax, 2
jne 0x14002ca41
lea rdi, [rsp + 0x50]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.140130d40
lea rcx, [rsp + 0x850]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x48], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x14002ca4b
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.14012cc94
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x14002ca20
cmp rdi, 0xa
ja 0x14002c8ea
mov rbx, rsi
test rdi, rdi
je 0x14002c940
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x50]
jmp 0x14002c935
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x14002c978
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x14002ca07
mov edi, 0x3f4
jmp 0x14002c953
mov edi, 0xea
jmp 0x14002c953
Function at 0x140032350
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov rbx, qword [rdx]
mov qword [rdx], rax
lea r14, [rbx + 1]
cmp r14, 2
jb 0x140032376
call fcn.1400b90a0
cmp qword [rsi], rbx
je 0x1400323a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400323b2
cmp r14, 2
jb 0x14003239d
mov qword [rsi], rbx
call fcn.1400b90a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400b90a0
mov rcx, qword [rsi]
call fcn.14011a250
mov qword [rsi], 0
jmp 0x14003238f

Function at 0x1400332a0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rcx]
inc rax
cmp rax, 1
ja 0x140033428
mov rbx, r9
mov edi, r8d
mov ebp, edx
mov rsi, rcx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov r14, rax
cmp qword [rsi], rax
je 0x140033327
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140033405
mov rax, r14
inc rax
cmp rax, 2
jb 0x14003331b
mov qword [rsi], r14
call fcn.1400b90a0
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
lea rax, [r14 + 1]
cmp rax, 1
jbe 0x140033450
xor r15d, r15d
lea rcx, [rsp + 0x30]
mov r8d, 0x90
xor edx, edx
call fcn.140130d40
test ebp, ebp
jne 0x1400333f0
mov ecx, 0xff
mov r15d, 0x408
mov dword [rsp + 0x58], 1
mov eax, r15d
mov dword [rsp + 0x2c], ecx
mov r15d, ecx
test rbx, rbx
je 0x140033381
or eax, 0x100
mov qword [rsp + 0xa0], rbx
or eax, 0x2000
mov dword [rsp + 0x40], eax
lea r8, [rsp + 0x30]
mov rcx, r14
mov edx, 9
mov r9d, 0x90
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
je 0x14003341e
not edi
and r15d, edi
lea r8, [rsp + 0x2c]
mov dword [r8], r15d
mov rcx, qword [rsi]
mov edx, 4
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
xor esi, esi
test eax, eax
je 0x14003341e
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14012ec00
mov eax, esi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp ebp, 1
jne 0x14003342f
mov ecx, 0xd8
mov r15d, 8
jmp 0x14003335d
call fcn.1400b90a0
mov rcx, qword [rsi]
call fcn.14011a250
mov qword [rsi], 0
jmp 0x140033307
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400333ce
mov esi, 0x4df
jmp 0x1400333ce
mov ecx, 0xc8
cmp ebp, 2
je 0x140033365
mov eax, 0
cmp ebp, 3
je 0x14003336f
jmp 0x14003338a
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14012ec00
nop
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x140035de0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov eax, r8d
mov rsi, rdx
mov rdx, qword [0x140219028]
xor rdx, rsp
mov qword [rsp + 0x40], rdx
mov rcx, qword [rcx]
movabs rdx, 0xaaaaaaaaaaaaaaaa
lea r8, [rsp + 0x38]
mov qword [r8], rdx
or r9d, 8
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], 2
mov edx, r9d
xor r8d, r8d
mov r9d, eax
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x140035eb2
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140035eb2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140035eae
call fcn.1400b90a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsi], 0
mov bpl, 1
test rbx, rbx
je 0x140035e91
cmp rbx, 0xffffffffffffffff
je 0x140035eb9
call fcn.1400b90a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsi], rbx
call fcn.1400b90a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], bpl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14012ec00
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
xor ebx, ebx
jmp 0x140035e57
mov byte [rsi], 0
xor ebp, ebp
jmp 0x140035e91
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140035e89
Function at 0x14003bd80
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x14003bda7
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14003bde1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14003be00
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14012ec00
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.14003bee0
mov sil, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14012ec00
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
cmp dword [0x140231b60], 2
jg 0x14003becd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x265
mov r9d, 2
call fcn.140192990
lea rcx, [rsp + 0x60]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140167320
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
js 0x14003be5b
and eax, 0x7f
jmp 0x14003be62
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rax
test rax, rax
js 0x14003bed4
test rsi, rsi
jne 0x14003be7b
test rax, rax
jne 0x14003bed7
lea rsi, [rsp + 0x38]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400dcf10
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14003be9d
and r8d, 0x7f
jmp 0x14003bea7
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.140167320
cmp byte [rsp + 0x4f], 0
jns 0x14003bec3
mov rcx, qword [rsp + 0x38]
call fcn.14012c25c
lea rcx, [rsp + 0x50]
call fcn.140192a10
xor esi, esi
jmp 0x14003bde4
int3
int3

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

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x170], rax
cmp byte [rcx + 0x17], 0
jns 0x14003bf07
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003bf35
mov dil, 1
test al, 0x10
je 0x14003bf96
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14012ec00
mov eax, edi
add rsp, 0x178
pop rdi
pop rsi
ret
cmp dword [0x140231b60], 2
jg 0x14003bf92
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x251
mov r9d, 2
call fcn.140192990
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140167320
mov rcx, rax
mov rdx, rsi
call fcn.14005a8e0
mov rcx, rdi
call fcn.140192a10
xor edi, edi
jmp 0x14003bf19
cmp dword [0x140231b60], 2
jg 0x14003bf92
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x255
mov r9d, 2
call fcn.1400066f0
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140167320
mov rcx, rax
mov rdx, rsi
call fcn.14005a8e0
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.140167320
mov rcx, rdi
call fcn.1400068f0
jmp 0x14003bf92
Function at 0x14003c150
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp dword [rcx + 0x10], 0
mov rcx, qword [rcx]
je 0x14003c303
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
movabs rbx, 0xfffffffc00000000
mov rdi, qword [rsi + 0x30]
mov qword [rsi + 0x30], 0
test rdi, rdi
je 0x14003c1f2
mov rcx, qword [rdi + 0x20]
mov rdx, rdi
call fcn.14003c5b0
test al, al
je 0x14003c1c2
lea rcx, [rdi + 8]
call fcn.14003c330
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003c1c2
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rdi + 0x20]
mov rax, rcx
and rax, rbx
cmp rax, qword [0x140219dc8]
je 0x14003c2da
mov qword [rdi + 0x20], 0
lea rcx, [rdi + 8]
call fcn.14003c330
mov rcx, rdi
call fcn.14012c25c
mov rdx, qword [rsi + 0x48]
mov qword [rsi + 0x48], 0
test rdx, rdx
je 0x14003c212
lea rcx, fcn.1400bcf10
xor r8d, r8d
call fcn.1400bbb30
mov rcx, qword [rsi + 0x38]
and rbx, rcx
cmp rbx, qword [0x140219dc8]
je 0x14003c2e4
mov rdi, qword [rsi + 0x30]
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
test rdi, rdi
jne 0x14003c2ee
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jb 0x14003c278
call fcn.1400b90a0
mov rdi, qword [rsi + 0x28]
cmp qword [0x140231c98], 0
je 0x14003c299
mov rcx, qword [0x140231c98]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [0x140243008]
mov qword [rsi + 0x28], 0
lea rcx, [rsi + 0x20]
call fcn.140035690
lea rcx, [rsi + 0x18]
call fcn.140035690
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400323d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140200139]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003c326
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14003c2d4
call qword [0x140243008]
mov rcx, rax
xor edx, edx
call fcn.140026ae0
jmp 0x14003c25a
xor ecx, ecx
mov dl, 1
jmp 0x14003c2cd
call fcn.1400ace30
jmp 0x14003c1d9
call fcn.1400ace30
jmp 0x14003c226
mov rcx, rdi
call fcn.14005ffb0
mov rcx, rdi
call fcn.14012c25c
jmp 0x14003c23a
test rcx, rcx
jne 0x14003c167
cmp dword [rsi + 0x14], 0
jne 0x14003c167
cmp qword [rsi + 8], 0
jne 0x14003c167
jmp 0x14003c180
xor ecx, ecx
jmp 0x14003c2cb
Function at 0x14003ce00
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x14003cf21
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x14003cf61
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr edi, 5
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x14003cf57
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
and al, dil
mov byte [r8 + 0x16], al
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x14003cf5b
xor ecx, ecx
mov eax, 0x80000007
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x14003cf69
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x14003cef4
mov dl, byte [r8 + 0x19]
jmp 0x14003cf50
xor r10d, r10d
jmp 0x14003ce5f
cmp byte [r8 + 0x1a], 0
je 0x14003cf54
xor ecx, ecx
mov eax, 0x40000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x14003cf54
cmp ecx, 0x666f736f
jne 0x14003cf54
cmp edx, 0x76482074
jne 0x14003cf54
mov byte [r8 + 0x19], 1
jmp 0x14003cf54
Function at 0x1400405b0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140130d40
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140040658
cmp word [rsp + 0x70], 0
je 0x140040658
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14012cc94
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1400f4ba0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14012ec00
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
jmp 0x140040627
xorps xmm0, xmm0
lea rcx, [rsp + 0x40]
movaps xmmword [rcx], xmm0
mov qword [rcx + 0x10], 0
call fcn.1400434d0
test al, al
jne 0x140040645
lea rax, [0x1401f982c]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1400f4ba0
cmp byte [rsp + 0x57], 0
jns 0x140040627
mov rcx, qword [rsp + 0x40]
call fcn.14012c25c
jmp 0x140040627