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

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400495a7
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400495e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140049600
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140192360
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.140049700
mov sil, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140192360
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14018df00
test al, al
je 0x1400496cb
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.1401f9570
lea rcx, [rsp + 0x68]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140172f40
mov rdi, rax
movsx rax, byte [rsi + 0x17]
test rax, rax
jns 0x140049663
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rax
test rax, rax
js 0x1400496d2
sete al
test rsi, rsi
setne cl
or cl, al
je 0x1400496e5
lea rsi, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140146a80
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x1400496a5
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.140172f40
cmp byte [rsp + 0x57], 0
jns 0x1400496c1
mov rcx, qword [rsp + 0x40]
call fcn.14018fb90
lea rcx, [rsp + 0x58]
call fcn.1401f95e0
xor esi, esi
jmp 0x1400495e4
lea rcx, [0x140275393]
lea rdx, str....._third_partylibc_srcinclude_string_view:318:_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.1401cf0c0
lea rcx, [0x140275393]
lea rdx, str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1401cf0c0
int3
Function at 0x140049700
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x140049727
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400497cd
mov dil, 1
test al, 0x10
je 0x140049759
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140192360
mov eax, edi
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14018df00
test al, al
je 0x1400497c6
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x255
mov r9d, 2
call fcn.140024610
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140172f40
mov rcx, rax
mov rdx, rsi
call fcn.1401fa420
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.140172f40
mov rcx, rdi
call fcn.14000b670
xor edi, edi
jmp 0x14004973d
mov ecx, 2
call fcn.14018df00
test al, al
je 0x1400497c6
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.1401f9570
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140172f40
mov rcx, rax
mov rdx, rsi
call fcn.1401fa420
mov rcx, rdi
call fcn.1401f95e0
jmp 0x1400497c6
Function at 0x140049e10
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 [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor ebx, ebx
mov ecx, 0x65c2937b
xor eax, eax
lock cmpxchg dword [rsi], ecx
jne 0x140049fb8
mov dword [0x1402c4b68], ebx
lea rbp, [0x1402c4b68]
movabs rax, 0x100000000
mov qword [0x1402c4c88], rax
movaps xmm6, xmmword [0x140270080]
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 [0x1402c4c90], rcx
mov r15d, 0x20
mov qword [0x1402c4c98], r15
mov r12d, 0x40
mov qword [0x1402c4ca0], r12
mov dword [0x1402c4ca8], ebx
mov qword [0x1402c4b70], rbx
lea rax, [0x1402c4b70]
mov r13, 0xffffffffb37cc16a
xor rax, r13
mov qword [0x1402c4b78], rax
mov qword [0x1402c4b80], rbp
mov dword [0x1402c4b90], ebx
lea rcx, [0x1402c4b98]
mov r8d, 0xf0
xor edx, edx
call fcn.1401ce350
mov dword [0x1402c4cb0], ebx
lea rbp, [0x1402c4cb0]
mov qword [0x1402c4dd0], 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 [0x1402c4dd8], rcx
mov qword [0x1402c4de0], r15
mov qword [0x1402c4de8], r12
mov dword [0x1402c4df0], ebx
mov qword [0x1402c4cb8], rbx
lea rax, [0x1402c4cb8]
xor rax, r13
mov qword [0x1402c4cc0], rax
mov qword [0x1402c4cc8], rbp
mov dword [0x1402c4cd8], ebx
lea rcx, [0x1402c4ce0]
mov r8d, 0xf0
xor edx, edx
call fcn.1401ce350
mov eax, 0xdd
xchg dword [rsi], eax
cmp eax, 0x5a308d2
je 0x140049fd8
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140192360
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, [0x1402769e0]
mov rcx, rsi
mov edx, 3
call fcn.1401d5480
test eax, eax
jne 0x140049f95
jmp 0x140049e4a
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140192360
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.1401d3bc0
Function at 0x14004b870
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp dword [rcx + 0x10], 0
mov rcx, qword [rcx]
je 0x14004b9bd
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 0x14004b8c0
mov rcx, rdi
call fcn.14004ba00
mov rcx, rdi
call fcn.14018fb90
mov rdx, qword [rsi + 0x48]
mov qword [rsi + 0x48], 0
test rdx, rdx
je 0x14004b8e0
lea rcx, fcn.14011fd50
xor r8d, r8d
call fcn.14011de30
mov rcx, qword [rsi + 0x38]
movabs rax, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x1402b6788]
je 0x14004b9b3
mov rdi, qword [rsi + 0x30]
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
test rdi, rdi
jne 0x14004b9e0
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jae 0x14004b93f
lea rcx, [rsi + 0x20]
call fcn.14002d380
lea rcx, [rsi + 0x18]
call fcn.14002d380
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140036e00
call fcn.140119350
mov rdi, qword [rsi + 0x28]
cmp qword [0x1402c6cc0], 0
je 0x14004b972
mov rcx, qword [0x1402c6cc0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [0x1402a4f40]
mov qword [rsi + 0x28], 0
jmp 0x14004b91f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140289f9f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004b9f5
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14004b9ad
call qword [0x1402a4f40]
mov rcx, rax
xor edx, edx
call fcn.1400445d0
jmp 0x14004b952
xor ecx, ecx
mov dl, 1
jmp 0x14004b9a6
call fcn.1400fdce0
jmp 0x14004b8fe
test rcx, rcx
jne 0x14004b886
cmp dword [rsi + 0x14], 0
jne 0x14004b886
cmp qword [rsi + 8], 0
jne 0x14004b886
jmp 0x14004b89f
mov rcx, rdi
call fcn.14004ba00
mov rcx, rdi
call fcn.14018fb90
jmp 0x14004b912
xor ecx, ecx
jmp 0x14004b9a4
Function at 0x14004d020
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1401ce350
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 0x14004d0b5
cmp word [rsp + 0x70], 0
je 0x14004d0b5
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14018ff68
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140177b70
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140192360
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.140051700
test al, al
jne 0x14004d103
lea rax, [0x140282b88]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140177b70
cmp byte [rsp + 0x57], 0
jns 0x14004d097
mov rcx, qword [rsp + 0x40]
call fcn.14018fb90
jmp 0x14004d097
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
jmp 0x14004d097
Function at 0x140051550
Capabilities:
Clear file content

Disassembly:
push rsi
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x1402b4040]
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 0x1400515cb
cmp qword [rsp + 0x160], 0
jne 0x140051666
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x140051615
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140192360
mov eax, esi
add rsp, 0x170
pop rsi
ret
cmp dword [0x1402c6bb8], 2
jg 0x140051666
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, 0xf2
mov r9d, 2
call fcn.1401f9570
lea rcx, [rsp + 0x38]
lea rdx, [0x14029bf2e]
mov r8d, 0x10
jmp 0x140051659
cmp dword [0x1402c6bb8], 2
jg 0x140051666
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, 0xfc
mov r9d, 2
call fcn.1401f9570
lea rcx, [rsp + 0x38]
lea rdx, [0x14029bf3f]
mov r8d, Ordinal_14
call fcn.140172f40
mov rcx, rsi
call fcn.1401f95e0
xor esi, esi
jmp 0x1400515b0

Function at 0x140051700
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1401ce350
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x1400517bd
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14018ff68
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140177b70
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400517f0
cmp byte [rsi + 0x17], 0
jns 0x14005178f
mov rcx, qword [rsi]
call fcn.14018fb90
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 0x1400517bd
mov rcx, qword [rsp + 0x30]
call fcn.14018fb90
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140192360
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140052bc0
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 [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x168], rax
mov sil, 1
test r8, r8
je 0x140052c46
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 0x140052c6e
mov eax, dword [rsp + 0x30]
cmp rax, r12
je 0x140052c6b
add rbx, rax
sub rdi, rax
jne 0x140052c07
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140192360
mov eax, esi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
int3
cmp dword [0x1402c6bb8], 2
jg 0x140052cbf
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.1401f9570
lea rcx, [rsp + 0x40]
lea rdx, [0x14029bfa8]
mov r8d, 9
call fcn.140172f40
mov rcx, rsi
call fcn.1401f95e0
xor esi, esi
jmp 0x140052c46
Function at 0x140055a60
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x178], rax
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
lea rax, [0x140272928]
mov qword [rcx], rax
lea rax, str._Z__
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 0x140055ba9
test rcx, rcx
jne 0x140055bae
mov qword [rsi + 0x20], rdi
cmp dword [0x1402c6bb8], 3
setl al
test rdi, rdi
sete cl
and cl, al
cmp cl, 1
je 0x140055bc2
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 0x140055ba9
test rcx, rcx
jne 0x140055bb8
mov qword [rsi + 0x38], rdi
cmp dword [0x1402c6bb8], 3
setl al
test rdi, rdi
sete cl
and cl, al
cmp cl, 1
je 0x140055c0f
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400f0290]
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 0x140055c5c
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140192360
mov rax, rsi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
call fcn.1401aa9a0
call fcn.1400f01b0
jmp 0x140055ae9
call fcn.1400f01b0
jmp 0x140055b3a
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.1401f9570
lea rcx, [rsp + 0x48]
lea rdx, str.CreateEvent
mov r8d, Ordinal_14
call fcn.140172f40
mov rcx, rdi
call fcn.1401f95e0
jmp 0x140055b08
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.1401f9570
lea rcx, [rsp + 0x48]
lea rdx, str.CreateEvent
mov r8d, Ordinal_14
call fcn.140172f40
mov rcx, rdi
call fcn.1401f95e0
jmp 0x140055b59
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.14012d160
lea rbx, [rsp + 0x170]
mov rcx, rbx
mov rdx, rdi
call fcn.1401fae90
lea rdx, [0x140290a08]
mov rcx, rbx
call fcn.1402159f0
mov rcx, rbx
call fcn.1401cf0d0
jmp 0x140055b8b
Function at 0x14005adc0
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 [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.14005b7c0
mov rax, qword [rsi]
test rax, rax
je 0x14005ae37
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x14005ae3e
lea rcx, [rsp + 0x28]
call fcn.14005aea0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140192360
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x14005ae10
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 0
jne 0x14005ae62
cmp byte [rbx + 0x27], 0
js 0x14005ae57
lea rcx, [rbx + 0x10]
jmp 0x14005ae5b
mov rcx, qword [rbx + 0x10]
call r12
test al, 0x10
je 0x14005ae6d
add rbx, 0x70
cmp rbx, r15
je 0x14005ae10
jmp 0x14005ae45
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
jae 0x14005ae8c
mov rcx, r14
mov rdx, rbx
call fcn.140211db0
add r14, 0x68
mov qword [rdi + 8], r14
jmp 0x14005ae62
mov rcx, rdi
mov rdx, rbx
call fcn.140211c70
mov r14, rax
jmp 0x14005ae86
Function at 0x140062b50
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x1402b4040]
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 0x140062c7f
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 0x140062c82
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.140062cb0
cmp byte [rdi + 0x17], 0
js 0x140062c95
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 0x140062c49
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x98]
inc rax
cmp rax, 2
jae 0x140062c61
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140062c41
mov qword [rsi + 0x98], rdi
call fcn.140119350
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140192360
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call fcn.140119350
mov rcx, qword [rsi + 0x98]
call fcn.14017d8b0
mov qword [rsi + 0x98], 0
jmp 0x140062c2b
int3
lea rcx, [0x140275393]
lea rdx, str....._third_partylibc_srcinclude__stringchar_traits.h:145:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
call fcn.1401cf0c0
mov rcx, qword [rsp + 0x20]
call fcn.14018fb90
jmp 0x140062be3

Function at 0x140062e30
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jb 0x140062e5c
call fcn.140119350
cmp qword [rsi], r15
je 0x140062e8b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140062eb6
cmp r12, 2
jb 0x140062e83
mov qword [rsi], r15
call fcn.140119350
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 0x140062f28
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140119350
mov r14, qword [rsi]
cmp qword [0x1402c6cc0], 0
je 0x140062ee7
mov rcx, qword [0x1402c6cc0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402a4f40]
mov qword [rsi], 0
jmp 0x140062e75
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140289f9f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140062f35
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140062f22
call qword [0x1402a4f40]
mov rcx, rax
xor edx, edx
call fcn.1400445d0
jmp 0x140062ec8
xor ecx, ecx
mov dl, 1
jmp 0x140062f1b
mov rcx, rdi
call fcn.140183290
jmp 0x140062ea5
xor ecx, ecx
jmp 0x140062f19
Function at 0x1400673c0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x140067409
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140067425
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140067401
mov qword [rsi], rdi
call fcn.140119350
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x140067497
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140119350
mov r14, qword [rsi]
cmp qword [0x1402c6cc0], 0
je 0x140067456
mov rcx, qword [0x1402c6cc0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402a4f40]
mov qword [rsi], 0
jmp 0x1400673ef
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140289f9f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14006749a
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140067491
call qword [0x1402a4f40]
mov rcx, rax
xor edx, edx
call fcn.1400445d0
jmp 0x140067437
xor ecx, ecx
mov dl, 1
jmp 0x14006748a
int3
xor ecx, ecx
jmp 0x140067488

Function at 0x1400678f0
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 [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [0x140270080]
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, [0x140282aa8]
lea r12, [rsp + 0x30]
mov rcx, r12
mov r9d, 0x97
call fcn.14012d160
xor esi, esi
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.140159f70
test edi, edi
js 0x1400679cb
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.140159a80
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140192360
mov eax, esi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14006799e
Function at 0x140067c80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x140270080]
lea rbx, [rsp + 0x40]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x211
call fcn.14012d160
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call fcn.14011b270
mov qword [rsp + 0x80], 0xa
mov al, byte [0x1402c68da]
test al, al
jne 0x140067d3d
cmp byte [rsi + 0x17], 0
jns 0x140067d07
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
lea rcx, [rsp + 0x40]
call fcn.140159a80
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140192360
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
movzx ecx, al
lea r9, [rsp + 0x90]
mov qword [r9], rdi
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0x88]
mov qword [r8], rax
lea rdx, [rsp + 0x80]
call fcn.1401f63e0
jmp 0x140067cfe