joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140043380
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 0x1400433ab
test al, al
jne 0x1400433bf
test rsi, rsi
je 0x1400433bc
mov rcx, rsi
call fcn.1400365b0
mov byte [rsi + 8], 1
add rsp, 0x20
pop rsi
ret
test al, al
je 0x1400433a5
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp fcn.1400433d0
int3
mov rcx, rsi
call fcn.14002ce90
mov byte [rsi + 8], 0
jmp 0x1400433a5

Function at 0x1400433d0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x1400433f7
call fcn.140118d60
cmp qword [rsi], r14
je 0x140043426
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140043435
cmp r15, 2
jb 0x14004341e
mov qword [rsi], r14
call fcn.140118d60
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140118d60
mov rbx, qword [rsi]
cmp qword [0x1402c5c40], 0
je 0x140043466
mov rcx, qword [0x1402c5c40]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [0x1402a3ee8]
mov qword [rsi], 0
jmp 0x140043410
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140288f4f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400434a7
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400434a1
call qword [0x1402a3ee8]
mov rcx, rax
xor edx, edx
call fcn.1400440e0
jmp 0x140043447
xor ecx, ecx
mov dl, 1
jmp 0x14004349a
xor ecx, ecx
jmp 0x140043498
Function at 0x1400434b0
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
cmp dword [rcx + 0x10], 0
jne 0x14004366c
cmp qword [rsi], 0
jne 0x14004366c
cmp dword [rsi + 0x14], 0
jne 0x14004366c
cmp qword [rsi + 8], 0
jne 0x14004366c
xor eax, eax
mov r15, qword [rdi]
cmp rax, r15
je 0x140043526
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400435af
lea rax, [r15 + 1]
cmp rax, 2
jb 0x14004351e
mov qword [rsi], r15
call fcn.140118d60
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r15, qword [rdi + 8]
cmp qword [rsi + 8], r15
je 0x140043560
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140043578
lea rax, [r15 + 1]
cmp rax, 2
jb 0x140043558
mov qword [rsi + 8], r15
call fcn.140118d60
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140118d60
mov r14, qword [rsi + 8]
cmp qword [0x1402c5c40], 0
je 0x140043628
mov rcx, qword [0x1402c5c40]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402a3ee8]
mov qword [rsi + 8], 0
jmp 0x140043545
call fcn.140118d60
mov r14, qword [rsi]
cmp qword [0x1402c5c40], 0
je 0x1400435e3
mov rcx, qword [0x1402c5c40]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402a3ee8]
mov qword [rsi], 0
jmp 0x14004350c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140288f4f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004368d
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140043622
call qword [0x1402a3ee8]
mov rcx, rax
xor edx, edx
call fcn.1400440e0
jmp 0x1400435c1
xor ecx, ecx
mov dl, 1
jmp 0x14004361b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140288f4f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140043691
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140043666
call qword [0x1402a3ee8]
mov rcx, rax
xor edx, edx
call fcn.1400440e0
jmp 0x14004358f
xor ecx, ecx
mov dl, 1
jmp 0x14004365c
mov rcx, rsi
call fcn.140182ca0
lea rcx, [rsi + 8]
call fcn.140182ca0
mov qword [rsi + 0x10], 0
mov rax, qword [rsi]
jmp 0x1400434ec
xor ecx, ecx
jmp 0x140043619
xor ecx, ecx
jmp 0x14004365a
Function at 0x140043e50
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 0x140043fd6
mov rdi, rcx
cmp qword [rcx + 0x18], 0
jne 0x140043fd6
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 0x140043ee4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x140043ffb
mov rax, rbx
inc rax
cmp rax, 2
jb 0x140043ed5
mov qword [rdi + 8], rbx
call fcn.140118d60
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r15, qword [rdi + 8]
mov rbx, r15
inc rbx
cmp rbx, 2
jb 0x140044097
movabs r12, 0xfffffffc00000000
mov ecx, 0x20
call fcn.14018f5a8
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.14018f5a8
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 rcx, qword [rdi + 0x18]
mov rax, rcx
and rax, r12
cmp rax, qword [0x1402b5708]
je 0x140044031
mov rax, r14
and rax, r12
cmp rax, qword [0x1402b5708]
je 0x1400440a2
mov qword [rdi + 0x18], r14
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x14004aba0]
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 0x140043fcd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi + 0x10]
inc rax
cmp rax, 2
jae 0x140044016
mov rax, r15
inc rax
cmp rax, 2
jb 0x140043fc1
mov qword [rdi + 0x10], r15
call fcn.140118d60
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r15, qword [rdi + 0x10]
inc r15
cmp r15, 1
jbe 0x14004403b
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
jne 0x1400440af
mov eax, r14d
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140118d60
mov rcx, qword [rdi + 8]
call fcn.14017d2c0
mov qword [rdi + 8], 0
jmp 0x140043ec0
call fcn.140118d60
mov rcx, qword [rdi + 0x10]
call fcn.14017d2c0
mov qword [rdi + 0x10], 0
jmp 0x140043fac
call fcn.1400fdb00
jmp 0x140043f4f
mov rcx, qword [rdi + 0x18]
and r12, rcx
cmp r12, qword [0x1402b5708]
jne 0x140044050
call fcn.1400fdb00
mov qword [rdi + 0x18], 0
test rbx, rbx
je 0x140044097
mov rdi, qword [rbx + 0x10]
mov qword [rbx + 0x10], 0
test rdi, rdi
je 0x14004407e
mov rcx, rdi
call fcn.1400efab0
mov rcx, rdi
call fcn.14018f5a0
mov rcx, qword [rbx + 8]
mov qword [rbx + 8], 0
test rcx, rcx
jne 0x1400440c6
mov rcx, rbx
call fcn.14018f5a0
mov r14d, 0x3b
jmp 0x140043fd6
mov rcx, r14
call fcn.1400fd590
jmp 0x140043f62
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov edx, 1
call qword [0x1402a3ee8]
jmp 0x140043fe9
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov edx, 1
call qword [0x1402a3ee8]
jmp 0x14004408f
Function at 0x140049090
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400490b7
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400490f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140049110
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140191d70
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.140049210
mov sil, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140191d70
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14018d910
test al, al
je 0x1400491db
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.1401f8d80
lea rcx, [rsp + 0x68]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140172950
mov rdi, rax
movsx rax, byte [rsi + 0x17]
test rax, rax
jns 0x140049173
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rax
test rax, rax
js 0x1400491e2
sete al
test rsi, rsi
setne cl
or cl, al
je 0x1400491f5
lea rsi, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140146490
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x1400491b5
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.140172950
cmp byte [rsp + 0x57], 0
jns 0x1400491d1
mov rcx, qword [rsp + 0x40]
call fcn.14018f5a0
lea rcx, [rsp + 0x58]
call fcn.1401f8df0
xor esi, esi
jmp 0x1400490f4
lea rcx, [0x1402742d5]
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.1401ceaf0
lea rcx, [0x1402742d5]
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.1401ceaf0
int3
Function at 0x140049210
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x140049237
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400492dd
mov dil, 1
test al, 0x10
je 0x140049269
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140191d70
mov eax, edi
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14018d910
test al, al
je 0x1400492d6
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x255
mov r9d, 2
call fcn.140024120
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140172950
mov rcx, rax
mov rdx, rsi
call fcn.1401f9c30
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.140172950
mov rcx, rdi
call fcn.14000b670
xor edi, edi
jmp 0x14004924d
mov ecx, 2
call fcn.14018d910
test al, al
je 0x1400492d6
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.1401f8d80
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140172950
mov rcx, rax
mov rdx, rsi
call fcn.1401f9c30
mov rcx, rdi
call fcn.1401f8df0
jmp 0x1400492d6
Function at 0x140049920
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 [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor ebx, ebx
mov ecx, 0x65c2937b
xor eax, eax
lock cmpxchg dword [rsi], ecx
jne 0x140049ac8
mov dword [0x1402c3ae8], ebx
lea rbp, [0x1402c3ae8]
movabs rax, 0x100000000
mov qword [0x1402c3c08], rax
movaps xmm6, xmmword [0x14026f080]
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 [0x1402c3c10], rcx
mov r15d, 0x20
mov qword [0x1402c3c18], r15
mov r12d, 0x40
mov qword [0x1402c3c20], r12
mov dword [0x1402c3c28], ebx
mov qword [0x1402c3af0], rbx
lea rax, [0x1402c3af0]
mov r13, 0xffffffffb37cc16a
xor rax, r13
mov qword [0x1402c3af8], rax
mov qword [0x1402c3b00], rbp
mov dword [0x1402c3b10], ebx
lea rcx, [0x1402c3b18]
mov r8d, 0xf0
xor edx, edx
call fcn.1401cdd80
mov dword [0x1402c3c30], ebx
lea rbp, [0x1402c3c30]
mov qword [0x1402c3d50], 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 [0x1402c3d58], rcx
mov qword [0x1402c3d60], r15
mov qword [0x1402c3d68], r12
mov dword [0x1402c3d70], ebx
mov qword [0x1402c3c38], rbx
lea rax, [0x1402c3c38]
xor rax, r13
mov qword [0x1402c3c40], rax
mov qword [0x1402c3c48], rbp
mov dword [0x1402c3c58], ebx
lea rcx, [0x1402c3c60]
mov r8d, 0xf0
xor edx, edx
call fcn.1401cdd80
mov eax, 0xdd
xchg dword [rsi], eax
cmp eax, 0x5a308d2
je 0x140049ae8
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140191d70
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, [0x140275a40]
mov rcx, rsi
mov edx, 3
call fcn.1401d5030
test eax, eax
jne 0x140049aa5
jmp 0x14004995a
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140191d70
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.1401d35f0
Function at 0x14004b380
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 0x14004b4cd
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 0x14004b3d0
mov rcx, rdi
call fcn.14004b510
mov rcx, rdi
call fcn.14018f5a0
mov rdx, qword [rsi + 0x48]
mov qword [rsi + 0x48], 0
test rdx, rdx
je 0x14004b3f0
lea rcx, fcn.14011f760
xor r8d, r8d
call fcn.14011d840
mov rcx, qword [rsi + 0x38]
movabs rax, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x1402b5708]
je 0x14004b4c3
mov rdi, qword [rsi + 0x30]
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
test rdi, rdi
jne 0x14004b4f0
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jae 0x14004b44f
lea rcx, [rsi + 0x20]
call fcn.14002ce90
lea rcx, [rsi + 0x18]
call fcn.14002ce90
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140036910
call fcn.140118d60
mov rdi, qword [rsi + 0x28]
cmp qword [0x1402c5c40], 0
je 0x14004b482
mov rcx, qword [0x1402c5c40]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [0x1402a3ee8]
mov qword [rsi + 0x28], 0
jmp 0x14004b42f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140288f4f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004b505
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14004b4bd
call qword [0x1402a3ee8]
mov rcx, rax
xor edx, edx
call fcn.1400440e0
jmp 0x14004b462
xor ecx, ecx
mov dl, 1
jmp 0x14004b4b6
call fcn.1400fd6f0
jmp 0x14004b40e
test rcx, rcx
jne 0x14004b396
cmp dword [rsi + 0x14], 0
jne 0x14004b396
cmp qword [rsi + 8], 0
jne 0x14004b396
jmp 0x14004b3af
mov rcx, rdi
call fcn.14004b510
mov rcx, rdi
call fcn.14018f5a0
jmp 0x14004b422
xor ecx, ecx
jmp 0x14004b4b4
Function at 0x14004cb30
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1401cdd80
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 0x14004cbc5
cmp word [rsp + 0x70], 0
je 0x14004cbc5
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14018f978
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140177580
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140191d70
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.140051210
test al, al
jne 0x14004cc13
lea rax, [0x140281b38]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140177580
cmp byte [rsp + 0x57], 0
jns 0x14004cba7
mov rcx, qword [rsp + 0x40]
call fcn.14018f5a0
jmp 0x14004cba7
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
jmp 0x14004cba7
Function at 0x140051060
Capabilities:
Clear file content

Disassembly:
push rsi
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x1402b3040]
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 0x1400510db
cmp qword [rsp + 0x160], 0
jne 0x140051176
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x140051125
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140191d70
mov eax, esi
add rsp, 0x170
pop rsi
ret
cmp dword [0x1402c5b38], 2
jg 0x140051176
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.1401f8d80
lea rcx, [rsp + 0x38]
lea rdx, [0x14029aede]
mov r8d, 0x10
jmp 0x140051169
cmp dword [0x1402c5b38], 2
jg 0x140051176
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.1401f8d80
lea rcx, [rsp + 0x38]
lea rdx, [0x14029aeef]
mov r8d, Ordinal_14
call fcn.140172950
mov rcx, rsi
call fcn.1401f8df0
xor esi, esi
jmp 0x1400510c0

Function at 0x140051210
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1401cdd80
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x1400512cd
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14018f978
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140177580
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140051300
cmp byte [rsi + 0x17], 0
jns 0x14005129f
mov rcx, qword [rsi]
call fcn.14018f5a0
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 0x1400512cd
mov rcx, qword [rsp + 0x30]
call fcn.14018f5a0
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140191d70
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400526d0
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 [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x168], rax
mov sil, 1
test r8, r8
je 0x140052756
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 0x14005277e
mov eax, dword [rsp + 0x30]
cmp rax, r12
je 0x14005277b
add rbx, rax
sub rdi, rax
jne 0x140052717
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140191d70
mov eax, esi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
int3
cmp dword [0x1402c5b38], 2
jg 0x1400527cf
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.1401f8d80
lea rcx, [rsp + 0x40]
lea rdx, [0x14029af58]
mov r8d, 9
call fcn.140172950
mov rcx, rsi
call fcn.1401f8df0
xor esi, esi
jmp 0x140052756
Function at 0x140055570
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x178], rax
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
lea rax, [0x1402718e8]
mov qword [rcx], rax
lea rax, str.0R__
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 0x1400556b9
test rcx, rcx
jne 0x1400556be
mov qword [rsi + 0x20], rdi
cmp dword [0x1402c5b38], 3
setl al
test rdi, rdi
sete cl
and cl, al
cmp cl, 1
je 0x1400556d2
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 0x1400556b9
test rcx, rcx
jne 0x1400556c8
mov qword [rsi + 0x38], rdi
cmp dword [0x1402c5b38], 3
setl al
test rdi, rdi
sete cl
and cl, al
cmp cl, 1
je 0x14005571f
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400efca0]
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 0x14005576c
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140191d70
mov rax, rsi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
call fcn.1401aa3b0
call fcn.1400efbc0
jmp 0x1400555f9
call fcn.1400efbc0
jmp 0x14005564a
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.1401f8d80
lea rcx, [rsp + 0x48]
lea rdx, str.CreateEvent
mov r8d, Ordinal_14
call fcn.140172950
mov rcx, rdi
call fcn.1401f8df0
jmp 0x140055618
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.1401f8d80
lea rcx, [rsp + 0x48]
lea rdx, str.CreateEvent
mov r8d, Ordinal_14
call fcn.140172950
mov rcx, rdi
call fcn.1401f8df0
jmp 0x140055669
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.14012cb70
lea rbx, [rsp + 0x170]
mov rcx, rbx
mov rdx, rdi
call fcn.1401fa6a0
lea rdx, [0x14028f9b8]
mov rcx, rbx
call fcn.140215200
mov rcx, rbx
call fcn.1401ceb00
jmp 0x14005569b
Function at 0x14005a8d0
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 [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.14005b2d0
mov rax, qword [rsi]
test rax, rax
je 0x14005a947
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x14005a94e
lea rcx, [rsp + 0x28]
call fcn.14005a9b0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140191d70
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x14005a920
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 0
jne 0x14005a972
cmp byte [rbx + 0x27], 0
js 0x14005a967
lea rcx, [rbx + 0x10]
jmp 0x14005a96b
mov rcx, qword [rbx + 0x10]
call r12
test al, 0x10
je 0x14005a97d
add rbx, 0x70
cmp rbx, r15
je 0x14005a920
jmp 0x14005a955
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
jae 0x14005a99c
mov rcx, r14
mov rdx, rbx
call fcn.1402115c0
add r14, 0x68
mov qword [rdi + 8], r14
jmp 0x14005a972
mov rcx, rdi
mov rdx, rbx
call fcn.140211480
mov r14, rax
jmp 0x14005a996