joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140043e90
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rdx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, qword [rcx]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0x38]
mov qword [rdx], rax
or r8d, 8
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 1
mov edx, r8d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x140043f6d
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140043f6d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140043f69
call fcn.140113f90
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsi], 0
mov bpl, 1
test rbx, rbx
je 0x140043f42
cmp rbx, 0xffffffffffffffff
je 0x140043f74
call fcn.140113f90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsi], rbx
call fcn.140113f90
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], bpl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x140043f5d
call fcn.1401ac870
int3
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
xor ebx, ebx
jmp 0x140043f08
mov byte [rsi], 0
xor ebp, ebp
jmp 0x140043f42
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140043f3a

Function at 0x140046050
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x140046077
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400460b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400460d7
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401ac870
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.1400461a0
mov al, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x1400460cd
call fcn.1401ac870
int3
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1401a8160
test al, al
je 0x14004618d
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x265
mov r9d, 2
call fcn.14022a1d0
lea rcx, [rsp + 0x68]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.14018fa80
mov rdi, rax
movsx rax, byte [rsi + 0x17]
test rax, rax
jns 0x14004613a
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
lea rdx, [rsp + 0x30]
mov qword [rdx], rsi
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.14015b7d0
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x140046167
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.14018fa80
cmp byte [rsp + 0x57], 0
jns 0x140046183
mov rcx, qword [rsp + 0x40]
call fcn.1401a9dc4
lea rcx, [rsp + 0x58]
call fcn.14022a240
xor eax, eax
jmp 0x1400460b3
Function at 0x1400461a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x1400461c7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140046277
mov ecx, eax
mov al, 1
test cl, 0x10
je 0x140046203
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x1400461f9
call fcn.1401ac870
int3
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1401a8160
test al, al
je 0x140046270
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x255
mov r9d, 2
call fcn.14002e970
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14018fa80
mov rcx, rax
mov rdx, rsi
call fcn.14022b160
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.14018fa80
mov rcx, rdi
call fcn.140001aa0
xor eax, eax
jmp 0x1400461df
mov ecx, 2
call fcn.1401a8160
test al, al
je 0x140046270
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x251
mov r9d, 2
call fcn.14022a1d0
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14018fa80
mov rcx, rax
mov rdx, rsi
call fcn.14022b160
mov rcx, rdi
call fcn.14022a240
jmp 0x140046270
Function at 0x1400466d0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rsi, rcx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor ebx, ebx
mov ecx, 0x65c2937b
xor eax, eax
lock cmpxchg dword [rsi], ecx
jne 0x140046882
mov dword [0x1402eb5a8], ebx
lea rbp, [0x1402eb5a8]
movabs rax, 0x100000000
mov qword [0x1402eb6c8], rax
movaps xmm6, xmmword [0x140299a90]
lea rdi, [rsp + 0x20]
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
mov r14, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, rdi
call r14
mov eax, dword [rdi + 4]
mov ecx, dword [rdi + 0x28]
cmp eax, ecx
cmova ecx, eax
mov qword [0x1402eb6d0], rcx
mov r15d, 0x20
mov qword [0x1402eb6d8], r15
mov r12d, 0x40
mov qword [0x1402eb6e0], r12
mov dword [0x1402eb6e8], ebx
mov qword [0x1402eb5b0], rbx
lea rax, [0x1402eb5b0]
mov r13, 0xffffffffb37cc16a
xor rax, r13
mov qword [0x1402eb5b8], rax
mov qword [0x1402eb5c0], rbp
mov dword [0x1402eb5d0], ebx
lea rcx, [0x1402eb5d8]
mov r8d, 0xf0
xor edx, edx
call fcn.1401e5d50
mov dword [0x1402eb6f0], ebx
lea rbp, [0x1402eb6f0]
mov qword [0x1402eb810], rbx
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdi, [rsp + 0x20]
mov rcx, rdi
call r14
mov eax, dword [rdi + 4]
mov ecx, dword [rdi + 0x28]
cmp eax, ecx
cmova ecx, eax
mov qword [0x1402eb818], rcx
mov qword [0x1402eb820], r15
mov qword [0x1402eb828], r12
mov dword [0x1402eb830], ebx
mov qword [0x1402eb6f8], rbx
lea rax, [0x1402eb6f8]
xor rax, r13
mov qword [0x1402eb700], rax
mov qword [0x1402eb708], rbp
mov dword [0x1402eb718], ebx
lea rcx, [0x1402eb720]
mov r8d, 0xf0
xor edx, edx
call fcn.1401e5d50
mov eax, 0xdd
xchg dword [rsi], eax
cmp eax, 0x5a308d2
je 0x1400468a2
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x14004686c
call fcn.1401ac870
int3
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r9d, edx
lea r8, [0x14029f1e0]
mov rcx, rsi
mov edx, 3
call fcn.14005f540
test eax, eax
jne 0x140046855
jmp 0x14004670a
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401ac870
mov rcx, rsi
mov dl, 1
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1401e8ca0
Function at 0x140047b80
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1401e5d50
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, Ordinal_41
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140047c1f
cmp word [rsp + 0x70], 0
je 0x140047c1f
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1401aa1e8
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14015f7d0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x140047c11
call fcn.1401ac870
int3
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
xorps xmm0, xmm0
lea rcx, [rsp + 0x40]
movaps xmmword [rcx], xmm0
mov qword [rcx + 0x10], 0
call fcn.140049090
test al, al
jne 0x140047c6d
lea rax, [0x1402aadf8]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14015f7d0
cmp byte [rsp + 0x57], 0
jns 0x140047bf7
mov rcx, qword [rsp + 0x40]
call fcn.1401a9dc4
jmp 0x140047bf7
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
jmp 0x140047bf7

Function at 0x1400483e0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp dword [rcx + 0x10], 0
mov rcx, qword [rcx]
je 0x140048523
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rdi, qword [rsi + 0x30]
mov qword [rsi + 0x30], 0
test rdi, rdi
je 0x140048430
mov rcx, rdi
call fcn.140048560
mov rcx, rdi
call fcn.1401a9dc4
mov rcx, qword [rsi + 0x48]
mov qword [rsi + 0x48], 0
test rcx, rcx
je 0x140048448
xor edx, edx
call fcn.140001b10
mov rcx, qword [rsi + 0x38]
movabs rax, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x1402dd748]
je 0x140048519
mov rdi, qword [rsi + 0x30]
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
test rdi, rdi
jne 0x140048546
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jb 0x1400484b8
call fcn.140113f90
mov rdi, qword [rsi + 0x28]
cmp qword [0x14032e578], 0
je 0x1400484d8
mov rcx, qword [0x14032e578]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [0x1402cbd20]
mov qword [rsi + 0x28], 0
lea rcx, [rsi + 0x20]
call fcn.140032a80
lea rcx, [rsi + 0x18]
call fcn.140032a80
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14002fd10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1402b22fd]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004855b
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140048513
call qword [0x1402cbd20]
mov rcx, rax
xor edx, edx
call fcn.14003d8b0
jmp 0x14004849a
xor ecx, ecx
mov dl, 1
jmp 0x14004850c
call fcn.140004e70
jmp 0x140048466
test rcx, rcx
jne 0x1400483f6
cmp dword [rsi + 0x14], 0
jne 0x1400483f6
cmp qword [rsi + 8], 0
jne 0x1400483f6
jmp 0x14004840f
mov rcx, rdi
call fcn.140048560
mov rcx, rdi
call fcn.1401a9dc4
jmp 0x14004847a
xor ecx, ecx
jmp 0x14004850a
Function at 0x140049090
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1401e5d50
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14004914d
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1401aa1e8
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14015f7d0
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140049180
cmp byte [rsi + 0x17], 0
jns 0x14004911f
mov rcx, qword [rsi]
call fcn.1401a9dc4
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
mov byte [rsp + 0x5f], 0
mov word [rsp + 0x48], 0
cmp byte [rsp + 0x47], 0
jns 0x14004914d
mov rcx, qword [rsp + 0x30]
call fcn.1401a9dc4
cmp edi, 0x103
setb al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x140049170
call fcn.1401ac870
int3
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14004ebf0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x170
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x168], rax
mov sil, 1
test r8, r8
je 0x14004ec76
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov r12d, 0xffffffff
lea r15, [rsp + 0x30]
mov r13, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, r12
mov r8d, 0xffffffff
cmovb r8, rdi
mov dword [rsp + 0x30], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, r14
mov rdx, rbx
mov r9, r15
call r13
test eax, eax
je 0x14004eca8
mov eax, dword [rsp + 0x30]
cmp rax, r12
je 0x14004eca5
add rbx, rax
sub rdi, rax
jne 0x14004ec37
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x14004ec90
call fcn.1401ac870
int3
mov eax, esi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
int3
cmp dword [0x14032e460], 2
jg 0x14004ecf9
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, Ordinal_145
mov r9d, 2
call fcn.14022a1d0
lea rcx, [rsp + 0x40]
lea rdx, [0x1402c4218]
mov r8d, 9
call fcn.14018fa80
mov rcx, rsi
call fcn.14022a240
xor esi, esi
jmp 0x14004ec76

Function at 0x14004fe90
Capabilities:
Clear file content

Disassembly:
push rsi
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x168], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r8, [rsp + 0x160]
mov qword [r8], rax
xor edx, edx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14004ff14
cmp qword [rsp + 0x160], 0
jne 0x14004ffaf
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, eax
mov al, 1
test ecx, ecx
je 0x14004ff5e
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x14004ff0b
call fcn.1401ac870
int3
add rsp, 0x170
pop rsi
ret
cmp dword [0x14032e460], 2
jg 0x14004ffaf
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xf1
mov r9d, 2
call fcn.14022a1d0
lea rcx, [rsp + 0x38]
lea rdx, [0x1402c418e]
mov r8d, 0x10
jmp 0x14004ffa2
cmp dword [0x14032e460], 2
jg 0x14004ffaf
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xfb
mov r9d, 2
call fcn.14022a1d0
lea rcx, [rsp + 0x38]
lea rdx, [0x1402c419f]
mov r8d, Ordinal_14
call fcn.14018fa80
mov rcx, rsi
call fcn.14022a240
xor eax, eax
jmp 0x14004fef1
Function at 0x1400540b0
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x178], rax
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
lea rax, [0x14029c238]
mov qword [rcx], rax
lea rax, [0x14029b168]
mov qword [rcx + 0x18], rax
xor ecx, ecx
mov qword [rsi + 0x20], rcx
mov byte [rsi + 0x28], cl
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rcx
mov byte [rsi + 0x40], cl
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
mov rcx, qword [rsi + 0x20]
test rcx, rcx
setne al
cmp rcx, rdi
sete dl
and dl, al
cmp dl, 1
je 0x14005420b
test rcx, rcx
jne 0x140054210
mov qword [rsi + 0x20], rdi
cmp dword [0x14032e460], 3
setl al
test rdi, rdi
sete cl
and cl, al
cmp cl, 1
je 0x140054224
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
mov rcx, qword [rsi + 0x38]
test rcx, rcx
setne al
cmp rcx, rdi
sete dl
and dl, al
cmp dl, 1
je 0x14005420b
test rcx, rcx
jne 0x14005421a
mov qword [rsi + 0x38], rdi
cmp dword [0x14032e460], 3
setl al
test rdi, rdi
sete cl
and cl, al
cmp cl, 1
je 0x140054271
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140106b80]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
test rax, rax
je 0x1400542be
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x1400541fd
call fcn.1401ac870
int3
mov rax, rsi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
call fcn.1401c505c
call fcn.140106a40
jmp 0x140054139
call fcn.140106a40
jmp 0x140054192
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwin_session_end_watcher.cc
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov r8d, 0x5b
mov r9d, 2
call fcn.14022a1d0
lea rcx, [rsp + 0x48]
lea rdx, str.CreateEvent
mov r8d, Ordinal_14
call fcn.14018fa80
mov rcx, rdi
call fcn.14022a240
jmp 0x140054158
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwin_session_end_watcher.cc
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov r8d, 0x5e
mov r9d, 2
call fcn.14022a1d0
lea rcx, [rsp + 0x48]
lea rdx, str.CreateEvent
mov r8d, Ordinal_14
call fcn.14018fa80
mov rcx, rdi
call fcn.14022a240
jmp 0x1400541b1
lea rdx, str.Start
lea r8, str....._third_partycrashpadcrashpadutil_thread_thread_win.cc
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov r9d, reloc.WLDAP32.dll_Ordinal_27
call fcn.14013ff00
lea rbx, [rsp + 0x170]
mov rcx, rbx
mov rdx, rdi
call fcn.14022ba20
lea rdx, [0x1402b8c70]
mov rcx, rbx
call fcn.1402458c0
mov rcx, rbx
call fcn.1401e6760
jmp 0x1400541e3
Function at 0x140056930
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rdi, rdx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.1400572d0
mov rax, qword [rsi]
test rax, rax
je 0x1400569b1
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x1400569b8
lea rcx, [rsp + 0x28]
call fcn.140056a20
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x1400569a1
call fcn.1401ac870
int3
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x140056980
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 0
jne 0x1400569dc
cmp byte [rbx + 0x27], 0
js 0x1400569d1
lea rcx, [rbx + 0x10]
jmp 0x1400569d5
mov rcx, qword [rbx + 0x10]
call r12
test al, 0x10
je 0x1400569e7
add rbx, 0x70
cmp rbx, r15
je 0x140056980
jmp 0x1400569bf
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
jae 0x140056a06
mov rcx, r14
mov rdx, rbx
call fcn.140241590
add r14, 0x68
mov qword [rdi + 8], r14
jmp 0x1400569dc
mov rcx, rdi
mov rdx, rbx
call fcn.140241430
mov r14, rax
jmp 0x140056a00
Function at 0x140058130
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov esi, r8d
mov edi, edx
mov rbx, rcx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movaps xmm0, xmmword [0x140299a90]
lea r15, [rsp + 0x60]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x40]
mov rcx, r14
mov r9d, 0x20c
call fcn.14013ff00
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.1401156f0
mov qword [rsp + 0xa0], Ordinal_14
mov al, byte [0x14032e14b]
test al, al
jne 0x1400582f7
cmp byte [rbx + 0x17], 0
jns 0x1400581c8
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400582f0
test al, 0x10
cmove edi, esi
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 3
xor esi, esi
mov rcx, rbx
mov edx, edi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x14005823d
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rbx, 0xffffffffffffffff
je 0x1400582a8
call fcn.140113f90
mov rsi, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
setne dil
lea rax, [rsi + 1]
cmp rax, 2
jb 0x140058273
call fcn.140113f90
cmp qword [0x14032e578], 0
je 0x1400582ac
mov rcx, qword [0x14032e578]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rsi
call qword [0x1402cbd20]
lea rcx, [rsp + 0x60]
call fcn.1401593b0
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x140058297
call fcn.1401ac870
int3
mov eax, edi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor esi, esi
jmp 0x140058235
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1402b22fd]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140058329
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400582ea
call qword [0x1402cbd20]
mov rcx, rax
xor edx, edx
call fcn.14003d8b0
jmp 0x14005825d
xor ecx, ecx
mov dl, 1
jmp 0x1400582e0
xor edi, edi
jmp 0x140058273
movzx ecx, al
lea r9, [rsp + 0xb0]
mov qword [r9], r14
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0xa8]
mov qword [r8], rax
lea rdx, [rsp + 0xa0]
call fcn.140227760
jmp 0x1400581bf
xor ecx, ecx
jmp 0x1400582de
Function at 0x1400585a0
Capabilities:
Get token privileges

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [rcx]
lea r15, [rsp + 0x2c]
mov dword [r15], 0
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov edx, 3
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x1400587d2
mov r14d, dword [rsp + 0x2c]
test r14d, r14d
je 0x1400587d2
mov rcx, r14
call fcn.1401a9d88
mov rdi, rax
xor eax, eax
mov rcx, rdi
add rcx, rax
je 0x1400587c1
mov byte [rcx], 0
inc rax
cmp r14, rax
jne 0x14005860d
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov edx, 3
mov r8, rdi
mov r9d, r14d
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400587cd
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov eax, dword [rdi]
test rax, rax
je 0x1400586b7
shl rax, 2
lea r14, [rax + rax*2]
mov rcx, r14
call fcn.1401a9d88
mov rbx, rax
add r14, rax
mov qword [rsi], rax
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], r14
lea r15, [rdi + 0xc]
xor r12d, r12d
mov r13, qword [r15 - 8]
mov rcx, qword [rsi + 0x10]
cmp rbx, rcx
jae 0x1400586f3
test rbx, rbx
je 0x1400587c1
mov eax, dword [r15]
mov qword [rbx], r13
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsi + 8], rbx
inc r12
mov eax, dword [rdi]
add r15, 0xc
cmp r12, rax
jb 0x140058682
test rdi, rdi
je 0x1400586c4
mov rcx, rdi
call fcn.1401a9dc4
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x1400586db
call fcn.1401ac870
int3
mov rax, rsi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x140058765
movabs rax, 0x1555555555555555
mov r8, qword [rsi]
sub rbx, r8
sar rbx, 2
movabs r9, 0xaaaaaaaaaaaaaaab
imul rbx, r9
lea rdx, [rbx + 1]
cmp rdx, rax
ja 0x1400587c3
sub rcx, r8
sar rcx, 2
imul rcx, r9
lea rbp, [rcx + rcx]
cmp rbp, rdx
ja 0x140058739
mov rbp, rdx
movabs rdx, 0xaaaaaaaaaaaaaaa
cmp rcx, rdx
cmovae rbp, rax
test rbp, rbp
je 0x1400586ef
cmp rbp, rax
ja 0x1400587c8
lea rax, [rbp*4]
lea rcx, [rax + rax*2]
call fcn.1401a9d88
lea r14, [rbx + rbx*2]
shl r14, 2
add r14, rax
je 0x1400587c1
lea rcx, [rbp*2]
add rcx, rbp
lea rbp, [rax + rcx*4]
mov eax, dword [r15]
mov qword [r14], r13
mov dword [r14 + 8], eax
lea rbx, [r14 + 0xc]
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rdx
sub r14, r8
mov rcx, r14
call fcn.1401e56b0
mov rcx, qword [rsi]
mov qword [rsi], r14
mov qword [rsi + 0x10], rbp
test rcx, rcx
je 0x1400586a5
call fcn.1401a9dc4
jmp 0x1400586a5
ud2
call fcn.1401e9f80
call fcn.1401e9820
test rdi, rdi
jne 0x1400587e5
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x1400586c4
mov rcx, rdi
call fcn.1401a9dc4
jmp 0x1400587d2