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

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1401d8720
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14004921d
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14019cee8
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140152d30
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140049250
cmp byte [rsi + 0x17], 0
jns 0x1400491ef
mov rcx, qword [rsi]
call fcn.14019cac4
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 0x14004921d
mov rcx, qword [rsp + 0x30]
call fcn.14019cac4
cmp edi, 0x103
setb al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x140049240
call fcn.14019f290
int3
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14004ecc0
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 [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x168], rax
mov sil, 1
test r8, r8
je 0x14004ed46
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 0x14004ed78
mov eax, dword [rsp + 0x30]
cmp rax, r12
je 0x14004ed75
add rbx, rax
sub rdi, rax
jne 0x14004ed07
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x14004ed60
call fcn.14019f290
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 [0x1402c9570], 2
jg 0x14004edc9
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.140205ad0
lea rcx, [rsp + 0x40]
lea rdx, [0x1402a0268]
mov r8d, 9
call fcn.140183370
mov rcx, rsi
call fcn.140205b40
xor esi, esi
jmp 0x14004ed46

Function at 0x14004ff60
Capabilities:
Clear file content

Disassembly:
push rsi
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x1402b7040]
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 0x14004ffe4
cmp qword [rsp + 0x160], 0
jne 0x14005007f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, eax
mov al, 1
test ecx, ecx
je 0x14005002e
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x14004ffdb
call fcn.14019f290
int3
add rsp, 0x170
pop rsi
ret
cmp dword [0x1402c9570], 2
jg 0x14005007f
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.140205ad0
lea rcx, [rsp + 0x38]
lea rdx, [0x1402a01de]
mov r8d, 0x10
jmp 0x140050072
cmp dword [0x1402c9570], 2
jg 0x14005007f
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.140205ad0
lea rcx, [rsp + 0x38]
lea rdx, [0x1402a01ef]
mov r8d, Ordinal_14
call fcn.140183370
mov rcx, rsi
call fcn.140205b40
xor eax, eax
jmp 0x14004ffc1
Function at 0x140054170
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x178], rax
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
lea rax, [0x140278198]
mov qword [rcx], rax
lea rax, [0x1402770c8]
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 0x1400542cb
test rcx, rcx
jne 0x1400542d0
mov qword [rsi + 0x20], rdi
cmp dword [0x1402c9570], 3
setl al
test rdi, rdi
sete cl
and cl, al
cmp cl, 1
je 0x1400542e4
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 0x1400542cb
test rcx, rcx
jne 0x1400542da
mov qword [rsi + 0x38], rdi
cmp dword [0x1402c9570], 3
setl al
test rdi, rdi
sete cl
and cl, al
cmp cl, 1
je 0x140054331
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400fa0e0]
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 0x14005437e
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x1400542bd
call fcn.14019f290
int3
mov rax, rsi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
call fcn.1401b795c
call fcn.1400f9fa0
jmp 0x1400541f9
call fcn.1400f9fa0
jmp 0x140054252
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.140205ad0
lea rcx, [rsp + 0x48]
lea rdx, str.CreateEvent
mov r8d, Ordinal_14
call fcn.140183370
mov rcx, rdi
call fcn.140205b40
jmp 0x140054218
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.140205ad0
lea rcx, [rsp + 0x48]
lea rdx, str.CreateEvent
mov r8d, Ordinal_14
call fcn.140183370
mov rcx, rdi
call fcn.140205b40
jmp 0x140054271
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.140133460
lea rbx, [rsp + 0x170]
mov rcx, rbx
mov rdx, rdi
call fcn.140207320
lea rdx, [0x140294cc8]
mov rcx, rbx
call fcn.1402211c0
mov rcx, rbx
call fcn.1401d9130
jmp 0x1400542a3
Function at 0x1400569f0
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 [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.140057390
mov rax, qword [rsi]
test rax, rax
je 0x140056a71
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x140056a78
lea rcx, [rsp + 0x28]
call fcn.140056ae0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x140056a61
call fcn.14019f290
int3
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x140056a40
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 0
jne 0x140056a9c
cmp byte [rbx + 0x27], 0
js 0x140056a91
lea rcx, [rbx + 0x10]
jmp 0x140056a95
mov rcx, qword [rbx + 0x10]
call r12
test al, 0x10
je 0x140056aa7
add rbx, 0x70
cmp rbx, r15
je 0x140056a40
jmp 0x140056a7f
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
jae 0x140056ac6
mov rcx, r14
mov rdx, rbx
call fcn.14021ce90
add r14, 0x68
mov qword [rdi + 8], r14
jmp 0x140056a9c
mov rcx, rdi
mov rdx, rbx
call fcn.14021cd30
mov r14, rax
jmp 0x140056ac0
Function at 0x1400581f0
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 [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movaps xmm0, xmmword [0x140275a70]
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.140133460
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.140108c50
mov qword [rsp + 0xa0], Ordinal_14
mov al, byte [0x1402c925b]
test al, al
jne 0x1400583b7
cmp byte [rbx + 0x17], 0
jns 0x140058288
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400583b0
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 0x1400582fd
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rbx, 0xffffffffffffffff
je 0x140058368
call fcn.1401074f0
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 0x140058333
call fcn.1401074f0
cmp qword [0x1402c9688], 0
je 0x14005836c
mov rcx, qword [0x1402c9688]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rsi
call qword [0x1402a7b00]
lea rcx, [rsp + 0x60]
call fcn.14014c910
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x140058357
call fcn.14019f290
int3
mov eax, edi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor esi, esi
jmp 0x1400582f5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14028e385]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400583e9
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400583aa
call qword [0x1402a7b00]
mov rcx, rax
xor edx, edx
call fcn.14003d980
jmp 0x14005831d
xor ecx, ecx
mov dl, 1
jmp 0x1400583a0
xor edi, edi
jmp 0x140058333
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.140203060
jmp 0x14005827f
xor ecx, ecx
jmp 0x14005839e
Function at 0x140058660
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 [0x1402b7040]
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 0x140058892
mov r14d, dword [rsp + 0x2c]
test r14d, r14d
je 0x140058892
mov rcx, r14
call fcn.14019ca88
mov rdi, rax
xor eax, eax
mov rcx, rdi
add rcx, rax
je 0x140058881
mov byte [rcx], 0
inc rax
cmp r14, rax
jne 0x1400586cd
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 0x14005888d
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov eax, dword [rdi]
test rax, rax
je 0x140058777
shl rax, 2
lea r14, [rax + rax*2]
mov rcx, r14
call fcn.14019ca88
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 0x1400587b3
test rbx, rbx
je 0x140058881
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 0x140058742
test rdi, rdi
je 0x140058784
mov rcx, rdi
call fcn.14019cac4
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x14005879b
call fcn.14019f290
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 0x140058825
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 0x140058883
sub rcx, r8
sar rcx, 2
imul rcx, r9
lea rbp, [rcx + rcx]
cmp rbp, rdx
ja 0x1400587f9
mov rbp, rdx
movabs rdx, 0xaaaaaaaaaaaaaaa
cmp rcx, rdx
cmovae rbp, rax
test rbp, rbp
je 0x1400587af
cmp rbp, rax
ja 0x140058888
lea rax, [rbp*4]
lea rcx, [rax + rax*2]
call fcn.14019ca88
lea r14, [rbx + rbx*2]
shl r14, 2
add r14, rax
je 0x140058881
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.1401d8080
mov rcx, qword [rsi]
mov qword [rsi], r14
mov qword [rsi + 0x10], rbp
test rcx, rcx
je 0x140058765
call fcn.14019cac4
jmp 0x140058765
ud2
call fcn.1401dca40
call fcn.1401dc2e0
test rdi, rdi
jne 0x1400588a5
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x140058784
mov rcx, rdi
call fcn.14019cac4
jmp 0x140058892
Function at 0x14005b4d0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rcx], 0
mov byte [rcx + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test rax, rax
je 0x14005b60b
lea rax, [rsp + 0x35]
mov byte [rax + 2], 0x15
lea rcx, str.ExitCodeWatcherThread
lea rdx, [rsp + 0x20]
cmp rdx, rcx
seta dl
cmp rax, rcx
setbe al
or al, dl
je 0x14005b609
lea rcx, [rsi + 0x10]
movups xmm0, xmmword [str.ExitCodeWatcherThread]
lea rdi, [rsp + 0x20]
movaps xmmword [rdi], xmm0
movabs rax, 0x6461657268547265
mov qword [rdi + 0xd], rax
mov byte [rdi + 0x15], 0
mov rdx, rdi
call fcn.14005b620
cmp byte [rdi + 0x17], 0
js 0x14005b60e
mov dword [rsi + 0x90], 0x103
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x98], 0
test rax, rax
je 0x14005b5c9
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x98]
inc rax
cmp rax, 2
jae 0x14005b5eb
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14005b5c1
mov qword [rsi + 0x98], rdi
call fcn.1401074f0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x14005b5e0
call fcn.14019f290
int3
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call fcn.1401074f0
mov rcx, qword [rsi + 0x98]
call fcn.140186080
mov qword [rsi + 0x98], 0
jmp 0x14005b5ab
ud2
int3
mov rcx, qword [rsp + 0x20]
call fcn.14019cac4
jmp 0x14005b563

Function at 0x14005bda0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14005bdca
call fcn.1401074f0
cmp qword [rsi], r14
je 0x14005bdf9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14005be4f
cmp r15, 2
jb 0x14005bdf1
mov qword [rsi], r14
call fcn.1401074f0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14005be1e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1401074f0
mov rbx, qword [rdi]
cmp qword [0x1402c9688], 0
je 0x14005be68
mov rcx, qword [0x1402c9688]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [0x1402a7b00]
mov qword [rdi], 0
jmp 0x14005be0f
call fcn.1401074f0
mov rcx, qword [rsi]
call fcn.140186080
mov qword [rsi], 0
jmp 0x14005bde3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14028e385]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005bea9
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14005bea3
call qword [0x1402a7b00]
mov rcx, rax
xor edx, edx
call fcn.14003d980
jmp 0x14005be30
xor ecx, ecx
mov dl, 1
jmp 0x14005be9c
xor ecx, ecx
jmp 0x14005be9a
Function at 0x14005f090
Capabilities:
Check if file exists
Create thread

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rsi, rdx
mov rax, qword [rcx + 8]
mov r14d, 8
inc rax
cmp rax, 1
ja 0x14005f216
mov rdi, rcx
cmp qword [rcx + 0x18], 0
jne 0x14005f216
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov rbx, rax
mov r15, qword [rdi + 8]
cmp r15, rax
je 0x14005f124
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x14005f23b
mov rax, rbx
inc rax
cmp rax, 2
jb 0x14005f115
mov qword [rdi + 8], rbx
call fcn.1401074f0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r15, qword [rdi + 8]
mov rbx, r15
inc rbx
cmp rbx, 2
jb 0x14005f2d7
movabs r12, 0xfffffffc00000000
mov ecx, 0x20
call fcn.14019ca88
mov r14, rax
mov qword [rax], rax
mov qword [rax + 8], rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
mov ecx, Ordinal_26
call fcn.14019ca88
mov rbx, rax
mov rax, qword [rsi]
mov qword [rsi], 0
mov qword [rbx], r15
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r14
mov rax, r14
and rax, r12
cmp rax, qword [0x1402b9708]
je 0x14005f2e2
mov rcx, qword [rdi + 0x18]
mov rax, rcx
and rax, r12
cmp rax, qword [0x1402b9708]
je 0x14005f271
mov qword [rdi + 0x18], r14
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140047d60]
xor r14d, r14d
xor ecx, ecx
xor edx, edx
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r15, rax
cmp qword [rdi + 0x10], rax
je 0x14005f20d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi + 0x10]
inc rax
cmp rax, 2
jae 0x14005f256
mov rax, r15
inc rax
cmp rax, 2
jb 0x14005f201
mov qword [rdi + 0x10], r15
call fcn.1401074f0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r15, qword [rdi + 0x10]
inc r15
cmp r15, 1
jbe 0x14005f27b
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
jne 0x14005f2ef
mov eax, r14d
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1401074f0
mov rcx, qword [rdi + 8]
call fcn.140186080
mov qword [rdi + 8], 0
jmp 0x14005f100
call fcn.1401074f0
mov rcx, qword [rdi + 0x10]
call fcn.140186080
mov qword [rdi + 0x10], 0
jmp 0x14005f1ec
call fcn.140004e70
jmp 0x14005f1a2
mov rcx, qword [rdi + 0x18]
and r12, rcx
cmp r12, qword [0x1402b9708]
jne 0x14005f290
call fcn.140004e70
mov qword [rdi + 0x18], 0
test rbx, rbx
je 0x14005f2d7
mov rdi, qword [rbx + 0x10]
mov qword [rbx + 0x10], 0
test rdi, rdi
je 0x14005f2be
mov rcx, rdi
call fcn.1400f9c20
mov rcx, rdi
call fcn.14019cac4
mov rcx, qword [rbx + 8]
mov qword [rbx + 8], 0
test rcx, rcx
jne 0x14005f306
mov rcx, rbx
call fcn.14019cac4
mov r14d, 0x3b
jmp 0x14005f216
mov rcx, r14
call fcn.140004d30
jmp 0x14005f18b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov edx, 1
call qword [0x1402a7b00]
jmp 0x14005f229
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov edx, 1
call qword [0x1402a7b00]
jmp 0x14005f2cf
Function at 0x1400640d0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
mov edi, r8d
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [0x140275a70]
lea r15, [rsp + 0x50]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, str.WriteAtCurrentPos
lea r8, [0x140286da8]
lea r12, [rsp + 0x30]
mov rcx, r12
mov r9d, 0x9a
call fcn.140133460
xor esi, esi
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.14014ce00
test edi, edi
js 0x1400641b5
lea r15, [rsp + 0x30]
mov dword [r15], 0xaaaaaaaa
mov rcx, qword [r14]
mov qword [rsp + 0x20], 0
mov rdx, rbx
mov r8d, edi
mov r9, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sbb esi, esi
or esi, dword [r15]
lea rcx, [rsp + 0x50]
call fcn.14014c910
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x1400641a2
call fcn.14019f290
int3
mov eax, esi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14006417e

Function at 0x1400641d0
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [0x140275a70]
lea r15, [rsp + 0x50]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, [0x140286e5f]
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x1d9
call fcn.140133460
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.140108c50
mov qword [rsp + 0x98], Ordinal_14
mov al, byte [0x1402c925b]
test al, al
jne 0x140064304
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14006426d
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x140064279
mov rcx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x1400642cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x1400642a5
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x1400642ae
mov rbx, qword [rbx]
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
test rsi, rsi
je 0x1400642ce
test eax, eax
jne 0x1400642ce
jmp 0x140064336
mov dil, 1
lea rcx, [rsp + 0x50]
call fcn.14014c910
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x1400642f2
call fcn.14019f290
int3
mov eax, edi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
movzx ecx, al
lea r9, [rsp + 0xa8]
mov qword [r9], r14
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0xa0]
mov qword [r8], rax
lea rdx, [rsp + 0x98]
call fcn.140203060
jmp 0x140064261
mov ecx, ebp
call fcn.14000dfb0
cmp eax, 0xfffffffc
jne 0x140064347
call fcn.140202ee0
mov dword [rsi], eax
xor edi, edi
jmp 0x1400642ce