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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
call fcn.1400cc060
lea rcx, [rsp + 0x30]
mov byte [rcx + 0x17], 0x15
lea rax, [0x1402a1830]
cmp rcx, rax
ja 0x14004c7db
lea rcx, [rsp + 0x45]
cmp rcx, rax
ja 0x14004c8b9
lea rcx, [rsi + 0x10]
movups xmm0, xmmword [0x1402a1830]
lea rdi, [rsp + 0x30]
movaps xmmword [rdi], xmm0
movabs rax, 0x6461657268547265
mov qword [rdi + 0xd], rax
mov byte [rdi + 0x15], 0
mov rdx, rdi
call fcn.1400bc3c0
cmp byte [rdi + 0x17], 0
js 0x14004c88c
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 0x14004c874
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x98]
inc rax
cmp rax, 2
jae 0x14004c89b
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14004c86c
mov qword [rsi + 0x98], rdi
call fcn.140096510
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14010fba0
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsp + 0x30]
call fcn.14010cc0c
jmp 0x14004c80e
call fcn.140096510
mov rcx, qword [rsi + 0x98]
call fcn.140095cd0
mov qword [rsi + 0x98], 0
jmp 0x14004c856
lea rax, str.char_traits::copy:_source_and_destination_ranges_overlap
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__stringchar_traits.h
lea r9, str._std::__is_pointer_in_range___s1____s1____n____s2_
mov r8d, 0xf1
call fcn.140165620
int3

Function at 0x14004d0e0
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [0x1402f3a28]
test rax, rax
jne 0x14004d157
lea rcx, [0x1402a8950]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x14004d1bc
movsxd rax, dword [rcx + 0x3c]
cmp dword [rcx + rax], 0x4550
jne 0x14004d1bc
movzx edx, word [rcx + rax + 0x14]
cmp edx, 0xf0
jne 0x14004d1bc
movzx eax, word [rcx + rax + 0x18]
cmp eax, 0x20b
jne 0x14004d1bc
xor eax, eax
lock cmpxchg qword [0x1402f3a28], rcx
mov rax, qword [0x1402f3a28]
test rax, rax
je 0x14004d1bf
mov rcx, qword [0x1402f3a28]
lea rdx, str.NtSetInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004d1c2
mov rdi, rax
lea rbx, [rsp + 0x24]
mov dword [rbx], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x6a
mov r8, rbx
mov r9d, 4
mov rax, rdi
call qword [0x140318008]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14010fba0
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
int3
int3
int3
Function at 0x140052b10
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.140052bd0
mov eax, dword [rsi]
mov dword [0x1402e3900], eax
test al, 1
jne 0x140052b31
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x1402f4058]
test rcx, rcx
jne 0x140052b4b
mov rcx, qword [0x1402f4048]
test rcx, rcx
je 0x140052b6f
jmp 0x140052b91
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1402f4058], 0
mov rcx, qword [0x1402f4048]
test rcx, rcx
jne 0x140052b91
and byte [0x1402e3900], 0xfe
mov ecx, 0x18
call fcn.14010cc14
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1402f4048], rax
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x140052bc6
call fcn.1400cc104
cmp dword [rsi + 0x14], 0
jne 0x140052bbb
mov rcx, qword [0x1402f4048]
cmp byte [rcx + 0x17], 0
jns 0x140052bb5
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1401cd5c0
int3

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

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400532d6
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400533e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140053314
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14010fba0
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.14005340b
cmp dword [0x1402f4050], 2
jg 0x1400533e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x276
mov r9d, 2
call fcn.1401cdc40
lea rcx, [rsp + 0x60]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.14017d289
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
js 0x14005336f
and eax, 0x7f
jmp 0x140053376
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rax
test rax, rax
js 0x140053404
test rsi, rsi
jne 0x14005338f
test rax, rax
jne 0x140053407
lea rsi, [rsp + 0x38]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400952c0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x1400533b1
and r8d, 0x7f
jmp 0x1400533bb
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.14017d289
cmp byte [rsp + 0x4f], 0
jns 0x1400533d7
mov rcx, qword [rsp + 0x38]
call fcn.14010cc0c
lea rcx, [rsp + 0x50]
call fcn.1401cdcc0
xor esi, esi
jmp 0x1400533e8
mov sil, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14010fba0
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
int3
int3
Function at 0x14005340b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x170], rax
cmp byte [rcx + 0x17], 0
jns 0x140053432
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400534d2
mov dil, 1
test al, 0x10
je 0x140053464
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14010fba0
mov eax, edi
add rsp, 0x178
pop rdi
pop rsi
ret
cmp dword [0x1402f4050], 2
jg 0x14005352f
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x266
mov r9d, 2
call fcn.1400c0e80
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14017d289
mov rcx, rax
mov rdx, rsi
call fcn.1400fdfa0
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.14017d289
mov rcx, rdi
call fcn.140089d40
jmp 0x14005352f
cmp dword [0x1402f4050], 2
jg 0x14005352f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x262
mov r9d, 2
call fcn.1401cdc40
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14017d289
mov rcx, rax
mov rdx, rsi
call fcn.1400fdfa0
mov rcx, rdi
call fcn.1401cdcc0
xor edi, edi
jmp 0x140053448
Function at 0x140055784
Capabilities:
Create pipe

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x58], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x14029bb90]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
jne 0x140055818
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x1400557cc
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rbx
mov eax, 0x200
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
mov rcx, rsi
mov edx, edi
mov r8d, 6
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14010fba0
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
xor ebx, ebx
mov cx, 6
xor edx, edx
xor r8d, r8d
call fcn.1401024c5
mov edi, 0x80003
test al, al
je 0x1400557c3
xorps xmm0, xmm0
lea rbx, [rsp + 0x40]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov dword [rbx], 0x18
xor ecx, ecx
call fcn.140238caf
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x1400557c3
Function at 0x140058c40
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor eax, eax
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x140058d61
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x140058d9d
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr edi, 5
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x140058da5
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
and al, dil
mov byte [r8 + 0x16], al
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x140058d97
xor ecx, ecx
mov eax, 0x80000007
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x140058da9
pop rdi
pop rsi
ret
mov dl, byte [r8 + 0x19]
jmp 0x140058d90
xor r10d, r10d
jmp 0x140058c9f
xor eax, eax
jmp 0x140058d34
cmp byte [r8 + 0x1a], 0
je 0x140058d94
xor ecx, ecx
mov eax, 0x40000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x140058d94
cmp ecx, 0x666f736f
jne 0x140058d94
cmp edx, 0x76482074
jne 0x140058d94
mov byte [r8 + 0x19], 1
jmp 0x140058d94
Function at 0x140059a90
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 0x140059aba
call fcn.140096510
mov qword [rsi], 0
test r14, r14
je 0x140059af0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140059b3c
cmp r15, 2
jb 0x140059ae8
mov qword [rsi], r14
call fcn.140096510
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
cmp byte [rdi + 0x1f], 0
js 0x140059b2d
lea rax, [rdi + 8]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
call fcn.1400a089a
jmp 0x140059b0c
call fcn.140096510
mov rcx, qword [rsi]
call fcn.140095cd0
mov qword [rsi], 0
jmp 0x140059ada

Function at 0x14005a150
Capabilities:
Check if file exists
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [0x14029bb90]
lea rbx, [rsp + 0x50]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.MapImageToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x1b
call fcn.14009b140
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140059ca0
mov rcx, rsi
call fcn.14009b160
test al, al
je 0x14005a291
mov rcx, rsi
call fcn.14009b130
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 0x11000002
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
cmp qword [rsi + 0x40], rax
je 0x14005a23d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x14005a2be
mov rax, rbx
inc rax
cmp rax, 2
jb 0x14005a231
mov qword [rsi + 0x40], rbx
call fcn.140096510
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsi + 0x40]
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14005a2ba
mov qword [rsp + 0x20], 0
xor edi, edi
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x14005a291
lea rdx, [0x14029d898]
lea rcx, [rsp + 0x30]
mov qword [rcx], rdx
mov qword [rcx + 8], rax
call fcn.1400f93c0
mov eax, dword [rax + 0x50]
mov qword [rsi + 0x38], rax
mov dil, 1
lea rcx, [rsp + 0x50]
call fcn.140059e90
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14010fba0
mov eax, edi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
xor edi, edi
jmp 0x14005a291
call fcn.140096510
mov rcx, qword [rsi + 0x40]
call fcn.140095cd0
mov qword [rsi + 0x40], 0
jmp 0x14005a21c
Function at 0x14005df20
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1402f3e40]
mov ecx, dword [0x1402f0db0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x14005df8f
lea rcx, [0x1402f3e40]
call fcn.14010d4bc
cmp dword [0x1402f3e40], 0xffffffff
jne 0x14005df8f
xorps xmm0, xmm0
movups xmmword [0x1402f3e30], xmm0
movups xmmword [0x1402f3e20], xmm0
movups xmmword [0x1402f3e10], xmm0
lea rcx, [0x1402f3e10]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1402f3e40]
add rsp, 0x28
jmp fcn.14010d064
nop
add rsp, 0x28
ret
Function at 0x140061790
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x14029bb90]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, [0x1402aaefa]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x524
call fcn.14009b140
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140059ca0
cmp byte [rdi + 0x17], 0
jns 0x140061802
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.140059e90
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14010fba0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x140061840
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2b8
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
movaps xmm0, xmmword [0x14029bb90]
lea rdi, [rsp + 0x60]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x1402aaee5]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r9d, 0x514
call fcn.14009b140
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140059ca0
lea rbx, [rsp + 0xa0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140111cd0
mov word [rbx], 0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
dec edi
cmp edi, 0x103
ja 0x14006194a
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14010ced4
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400ae6e0
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140083f10
cmp byte [rsi + 0x17], 0
js 0x14006197c
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 0x14006194a
mov rcx, qword [rsp + 0x30]
call fcn.14010cc0c
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.140059e90
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14010fba0
mov eax, ebx
add rsp, 0x2b8
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsi]
call fcn.14010cc0c
jmp 0x14006191c
Function at 0x1400655c0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov byte [rcx + 8], 0
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
lea rax, [0x14029e1b8]
mov qword [rcx], rax
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp qword [rsi + 0x18], rax
je 0x140065630
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x14006563b
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140065628
mov qword [rsi + 0x18], rdi
call fcn.140096510
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140096510
mov rcx, qword [rsi + 0x18]
call fcn.140095cd0
mov qword [rsi + 0x18], 0
jmp 0x140065615
Function at 0x14006a7de
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rbx, qword [rcx + 0x50]
mov r15, qword [rcx + 0x58]
cmp rbx, r15
jne 0x14006a806
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rsi, r8
mov edi, edx
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], edi
je 0x14006a825
add rbx, 0x70
cmp rbx, r15
je 0x14006a7f8
jmp 0x14006a812
int3
cmp byte [rbx + 0x27], 0
js 0x14006a831
lea rcx, [rbx + 0x10]
jmp 0x14006a835
mov rcx, qword [rbx + 0x10]
call r12
test al, 0x10
jne 0x14006a817
mov r14, qword [rsi + 8]
cmp r14, qword [rsi + 0x10]
jb 0x14006a856
mov rcx, rsi
mov rdx, rbx
call fcn.140204bb0
mov r14, rax
jmp 0x14006a86a
test r14, r14
je 0x14006a822
mov rcx, r14
mov rdx, rbx
call fcn.14017291a
add r14, 0x68
mov qword [rsi + 8], r14
jmp 0x14006a817

Function at 0x14006e9a6
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400766b0]
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 0x14006ea01
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14010fba0
nop
add rsp, 0x68
pop rdi
pop rsi
ret
lea rdx, str.Start
lea r8, str....._third_partycrashpadcrashpadutil_thread_thread_win.cc
lea rsi, [rsp + 0x38]
mov rcx, rsi
mov r9d, 0x1b
call fcn.14009b140
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov rdx, rsi
call fcn.1401cf3b0
lea rdx, [0x1402bade0]
mov rcx, rdi
call fcn.1401d175a
mov rcx, rdi
call fcn.1401cf450
jmp 0x14006e9ec
Function at 0x1400711bc
Capabilities:
Check if file exists
Create thread

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rdx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [rcx + 8]
mov ebx, 8
inc rax
cmp rax, 1
ja 0x14007134f
mov rdi, rcx
cmp qword [rcx + 0x18], 0
jne 0x14007134f
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov rbx, rax
cmp qword [rdi + 8], rax
je 0x140071256
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x1400713e2
mov rax, rbx
inc rax
cmp rax, 2
jb 0x14007124a
mov qword [rdi + 8], rbx
call fcn.140096510
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rdi + 8]
inc rbx
cmp rbx, 2
jb 0x14007137a
lea r14, [rsp + 0x30]
mov rcx, r14
call fcn.1400714b3
mov r15, qword [rdi + 8]
mov ecx, 0x18
call fcn.14010cc14
mov rbx, rax
mov rax, qword [r14]
mov rcx, qword [rsi]
mov qword [rsi], 0
mov qword [rbx], r15
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x38], rbx
test rax, rax
je 0x1400712b8
mov ecx, 1
lock xadd dword [rax], ecx
cmp ecx, 0x7fffffff
je 0x140071381
mov rcx, qword [rdi + 0x18]
mov qword [rdi + 0x18], rax
test rcx, rcx
jne 0x140071384
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140074720]
xor ecx, ecx
xor edx, edx
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp qword [rdi + 0x10], rax
je 0x140071331
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi + 0x10]
inc rax
cmp rax, 2
jae 0x140071421
mov rax, rbx
inc rax
cmp rax, 2
jb 0x140071325
mov qword [rdi + 0x10], rbx
call fcn.140096510
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rdi + 0x10]
inc rbx
cmp rbx, 1
jbe 0x1400713ab
mov qword [rsp + 0x38], 0
xor ebx, ebx
lea rcx, [rsp + 0x38]
call fcn.140071452
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
jne 0x140071397
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14010fba0
mov eax, ebx
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov ebx, 0x3b
jmp 0x14007134f
int3
lock dec dword [rcx]
jne 0x1400712c9
call fcn.1400fe6e2
jmp 0x1400712c9
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov edx, 1
call qword [0x140318008]
jmp 0x14007135e
mov rcx, qword [rdi + 0x18]
mov qword [rdi + 0x18], 0
mov ebx, 0x3b
test rcx, rcx
je 0x140071345
lock dec dword [rcx]
jne 0x140071345
call fcn.1400fe6e2
jmp 0x140071345
call fcn.14004ba00
mov rcx, qword [0x1402f4238]
jmp 0x1400713f7
call fcn.140096510
mov r14, qword [rdi + 8]
mov rcx, qword [0x1402f4238]
test rcx, rcx
je 0x1400713d4
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x140318008]
mov qword [rdi + 8], 0
jmp 0x140071235
call fcn.14004ba00
mov rcx, qword [0x1402f4238]
jmp 0x140071436
call fcn.140096510
mov r14, qword [rdi + 0x10]
mov rcx, qword [0x1402f4238]
test rcx, rcx
je 0x140071413
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x140318008]
mov qword [rdi + 0x10], 0
jmp 0x140071310