joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006aaa0
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401c16d8]
cmp ecx, 0xffffffff
je 0x14006aac4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14006aac9
call fcn.14006ac30
mov eax, dword [0x1401ccb70]
mov ecx, dword [0x1401c2158]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006abb3
mov rbx, qword [0x1401ccb68]
movabs r14, 0xfffffffc00000000
and r14, rbx
cmp r14, qword [0x1401b5588]
jne 0x14006ab13
mov rcx, rbx
call fcn.1400b8d30
test rbx, rbx
je 0x14006ac06
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14006abf9
mov rax, qword [0x1401cb358]
inc rax
xor ecx, ecx
lea rdx, [0x1401cb360]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x14006ac0c
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x1401ccb60]
inc ecx
mov dword [0x1401ccb60], ecx
mov dword [rax + 0x14], ecx
mov qword [0x1401cb358], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp r14, qword [0x1401b5588]
jne 0x14006aba0
mov rcx, rbx
call fcn.1400b8e90
cmp qword [rsi], 0x100
jae 0x14006ac09
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1401ccb70]
call fcn.1400daf30
cmp dword [0x1401ccb70], 0xffffffff
jne 0x14006aaee
mov ecx, 8
call fcn.1400daddc
mov rbx, rax
mov rcx, rax
call fcn.1400a7e00
mov qword [0x1401ccb68], rbx
lea rcx, [0x1401ccb70]
call fcn.1400dafc8
jmp 0x14006aaee
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14006ab2d
int3
int3
inc rcx
cmp rcx, 0x100
jne 0x14006ab40
jmp 0x14006ab86
Function at 0x14006ac30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.1400dc2a0
sub rsp, rax
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x1401c16d8]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x14006ace4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14006ad22
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1400de440
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.1400dae4c
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.1400ddd90
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400dc300
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.14007fa80
test al, al
je 0x14006ad25
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x14006ad28
mov eax, 0xffffffff
lock cmpxchg dword [0x1401c16d8], ecx
je 0x14006ac68
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1401c16d8]
mov dword [rsp + 0x2c], ecx
jmp 0x14006ac68
int3
int3
lea rcx, [rsp + 0x2c]
call fcn.14007fa80
test al, al
je 0x14006ad4d
cmp dword [rsp + 0x2c], 0xffffffff
je 0x14006ad4d
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x14006acfb
int3

Function at 0x14006ad60
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1401c16d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
je 0x14006ada9
and rax, 0xfffffffffffffffc
je 0x14006addc
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x14006addc
mov rsi, qword [rax + rcx]
jmp 0x14006adde
lea rdx, [0x140199cfa]
lea r8, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r9d, 0x1f6
call fcn.1400b4220
movabs rdx, 0x141dd76000
mov rcx, rsi
call fcn.140130e30
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400dc300
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x14006ae00
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401c16d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14006ae3e
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x14006ae37
call fcn.14006ac30
jmp 0x14006ae1e
Function at 0x14006b400
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14006b410
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x14006b431
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14006b451
cmp byte [r14 + 0x50], 0
jne 0x14006b4dc
or edi, 0x20000000
test dil, 8
jne 0x14006b4e7
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14006b46f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14006b480
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x14006b50e
cmp byte [r14 + 0x18], 0
jne 0x14006b51f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14006b52f
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x14006b504
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x14006b451
cmp byte [r14 + 0x68], 0
je 0x14006b4f9
or edi, 0x40000000
jmp 0x14006b45b
or edi, 0x10000000
jmp 0x14006b45b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14006b4c7
lea rcx, [r14 + 0x20]
call fcn.14003dbe0
mov r15, rax
jmp 0x14006b48b
mov rcx, r14
call fcn.14003dbe0
mov r9, rax
jmp 0x14006b499
cmp ebx, 4
jne 0x14006b53e
mov edx, 6
jmp 0x14006b4a6
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14006b550
mov edx, 7
jmp 0x14006b4a6
cmp ebx, 1
jne 0x14006b55f
mov edx, 4
jmp 0x14006b4a6
xor edx, edx
jmp 0x14006b4a6
Function at 0x14006b410
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14006b410
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x14006b431
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14006b451
cmp byte [r14 + 0x50], 0
jne 0x14006b4dc
or edi, 0x20000000
test dil, 8
jne 0x14006b4e7
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14006b46f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14006b480
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x14006b50e
cmp byte [r14 + 0x18], 0
jne 0x14006b51f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14006b52f
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x14006b504
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x14006b451
cmp byte [r14 + 0x68], 0
je 0x14006b4f9
or edi, 0x40000000
jmp 0x14006b45b
or edi, 0x10000000
jmp 0x14006b45b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14006b4c7
lea rcx, [r14 + 0x20]
call fcn.14003dbe0
mov r15, rax
jmp 0x14006b48b
mov rcx, r14
call fcn.14003dbe0
mov r9, rax
jmp 0x14006b499
cmp ebx, 4
jne 0x14006b53e
mov edx, 6
jmp 0x14006b4a6
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14006b550
mov edx, 7
jmp 0x14006b4a6
cmp ebx, 1
jne 0x14006b55f
mov edx, 4
jmp 0x14006b4a6
xor edx, edx
jmp 0x14006b4a6

Function at 0x14006b570
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r15, rcx
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14006b5a8
cmp byte [r15 + 0x50], 0
jne 0x14006b63f
or edi, 0x20000000
test dil, 8
jne 0x14006b64a
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x14006b5c6
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x14006b5d7
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 0
jne 0x14006b671
cmp byte [r15 + 0x18], 0
jne 0x14006b682
xor r9d, r9d
cmp ebx, 4
jne 0x14006b630
mov edx, 6
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
test eax, eax
jne 0x14006b667
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14006b692
mov edx, 7
jmp 0x14006b5fa
or edi, 0x80000000
jmp 0x14006b5a8
cmp byte [r15 + 0x68], 0
je 0x14006b65c
or edi, 0x40000000
jmp 0x14006b5b2
or edi, 0x10000000
jmp 0x14006b5b2
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14006b61b
lea rcx, [r15 + 0x20]
call fcn.14003dbe0
mov r14, rax
jmp 0x14006b5e2
mov rcx, r15
call fcn.14003dbe0
mov r9, rax
jmp 0x14006b5f0
mov edx, 1
test ebx, ebx
je 0x14006b5fa
cmp ebx, 1
jne 0x14006b6ae
mov edx, 4
jmp 0x14006b5fa
xor edx, edx
jmp 0x14006b5fa
Function at 0x14006ec70
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x1401ce5e8], 0
jne 0x14006ecad
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14006eca0
mov dword [rdi], eax
mov dword [0x1401ce5f0], eax
mov qword [0x1401ce5e8], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3

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

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x14006fba7
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14006fbe1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14006fc00
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400dc300
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.14006fcf0
mov sil, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400dc300
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400b3f70
test al, al
jne 0x14006fc12
xor esi, esi
jmp 0x14006fbe4
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x265
mov r9d, 2
call fcn.14012f9d0
lea rcx, [rsp + 0x60]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140113430
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x14006fc61
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rax
test rax, rax
js 0x14006fcc8
je 0x14006fc77
test rsi, rsi
je 0x14006fcdb
lea rsi, [rsp + 0x38]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400ad480
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14006fc9d
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.140113430
cmp byte [rsp + 0x4f], 0
jns 0x14006fcb9
mov rcx, qword [rsp + 0x38]
call fcn.1400dae18
lea rcx, [rsp + 0x50]
call fcn.14012fa50
jmp 0x14006fc0e
lea rcx, [0x14018467d]
lea rdx, str....._third_partylibc_srcinclude_string_view:311:_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.140114030
lea rcx, [0x14018467d]
lea rdx, str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.140114030
int3
Function at 0x14006fcf0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x170], rax
cmp byte [rcx + 0x17], 0
jns 0x14006fd17
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006fd55
mov dil, 1
test al, 0x10
je 0x14006fd45
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400dc300
mov eax, edi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400b3f70
test al, al
je 0x14006fd63
jmp 0x14006fdbc
mov ecx, 2
call fcn.1400b3f70
test al, al
jne 0x14006fd67
xor edi, edi
jmp 0x14006fd29
call sub.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, 0x251
mov r9d, 2
call fcn.14012f9d0
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140113430
mov rcx, rax
mov rdx, rsi
call fcn.140130810
mov rcx, rdi
call fcn.14012fa50
jmp 0x14006fd63
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x255
mov r9d, 2
call fcn.1400473b0
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140113430
mov rcx, rax
mov rdx, rsi
call fcn.140130810
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.140113430
mov rcx, rdi
call fcn.1400479a0
jmp 0x14006fd63
Function at 0x140071260
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rdx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x28], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x20]
mov qword [rsi], rax
mov rdx, rsi
call fcn.14006feb0
mov rax, qword [rsi]
test rax, rax
je 0x1400713a4
mov rbx, qword [rax + 0x50]
mov r12, qword [rax + 0x58]
xor esi, esi
cmp rbx, r12
je 0x1400712bf
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x140071303
lea rcx, [rsp + 0x20]
call fcn.140070970
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400dc300
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
mov rdx, rbx
call fcn.140072020
mov r14, rax
mov qword [rdi + 8], r14
add rbx, 0x70
cmp rbx, r12
je 0x1400712bf
cmp dword [rbx + 0x68], 0
jne 0x1400712fa
lea r15, [rbx + 0x10]
cmp byte [rbx + 0x27], 0
mov rcx, r15
jns 0x14007131a
mov rcx, qword [rbx + 0x10]
call r13
test al, 0x10
jne 0x1400712fa
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
jae 0x1400712e8
test r14, r14
je 0x140071391
movups xmm0, xmmword [rbx]
movups xmmword [r14], xmm0
lea rcx, [r14 + 0x10]
mov rdx, r15
call fcn.1400b4ac0
lea rcx, [r14 + 0x28]
cmp byte [rbx + 0x3f], 0
js 0x140071382
lea rax, [rbx + 0x28]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
mov rax, qword [rbx + 0x60]
mov qword [r14 + 0x60], rax
movups xmm0, xmmword [rbx + 0x40]
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [r14 + 0x50], xmm1
movups xmmword [r14 + 0x40], xmm0
add r14, 0x68
jmp 0x1400712f6
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
call fcn.1400a6010
jmp 0x14007135f
lea rcx, [0x14018467d]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.140114030
mov esi, 3
jmp 0x1400712bf
Function at 0x1400713b0
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rdx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x28], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x20]
mov qword [rsi], rax
mov rdx, rsi
call fcn.14006feb0
mov rax, qword [rsi]
test rax, rax
je 0x1400714f4
mov rbx, qword [rax + 0x50]
mov r12, qword [rax + 0x58]
xor esi, esi
cmp rbx, r12
je 0x14007140f
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x140071453
lea rcx, [rsp + 0x20]
call fcn.140070970
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400dc300
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
mov rdx, rbx
call fcn.140072020
mov r14, rax
mov qword [rdi + 8], r14
add rbx, 0x70
cmp rbx, r12
je 0x14007140f
cmp dword [rbx + 0x68], 2
jne 0x14007144a
lea r15, [rbx + 0x10]
cmp byte [rbx + 0x27], 0
mov rcx, r15
jns 0x14007146a
mov rcx, qword [rbx + 0x10]
call r13
test al, 0x10
jne 0x14007144a
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
jae 0x140071438
test r14, r14
je 0x1400714e1
movups xmm0, xmmword [rbx]
movups xmmword [r14], xmm0
lea rcx, [r14 + 0x10]
mov rdx, r15
call fcn.1400b4ac0
lea rcx, [r14 + 0x28]
cmp byte [rbx + 0x3f], 0
js 0x1400714d2
lea rax, [rbx + 0x28]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
mov rax, qword [rbx + 0x60]
mov qword [r14 + 0x60], rax
movups xmm0, xmmword [rbx + 0x40]
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [r14 + 0x50], xmm1
movups xmmword [r14 + 0x40], xmm0
add r14, 0x68
jmp 0x140071446
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
call fcn.1400a6010
jmp 0x1400714af
lea rcx, [0x14018467d]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.140114030
mov esi, 3
jmp 0x14007140f
Function at 0x14007f7b0
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 0x14007f8d1
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 0x14007f90d
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 0x14007f915
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 0x14007f907
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 0x14007f919
pop rdi
pop rsi
ret
mov dl, byte [r8 + 0x19]
jmp 0x14007f900
xor r10d, r10d
jmp 0x14007f80f
xor eax, eax
jmp 0x14007f8a4
cmp byte [r8 + 0x1a], 0
je 0x14007f904
xor ecx, ecx
mov eax, 0x40000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x14007f904
cmp ecx, 0x666f736f
jne 0x14007f904
cmp edx, 0x76482074
jne 0x14007f904
mov byte [r8 + 0x19], 1
jmp 0x14007f904

Function at 0x14007fa80
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14007fa95
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret

Function at 0x140083350
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, 0xffffffff
cmp r8, rdi
cmovae r8, rdi
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400833b0
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x1400833b9
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400dc300
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x140083399
int3
mov rcx, qword [rcx + 8]
jmp 0x140083350
Function at 0x1400833c0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov ebx, 0xffffffff
cmp r8, rbx
cmovb rbx, r8
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x2c]
mov r15, qword [sym.imp.KERNEL32.dll_ReadFile]
mov r12, qword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
mov r9, r14
call r15
test eax, eax
je 0x140083466
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x140083452
cmp eax, 0xffffffff
je 0x140083463
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400dc300
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, rdi
call r12
cmp eax, 3
je 0x140083401
mov eax, dword [rsp + 0x2c]
jmp 0x140083432
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x140083434

Function at 0x140083970
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rdi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.140083870
test rax, rax
jne 0x1400839af
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x1400839cb
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400dc300
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400b3f70
test al, al
jne 0x1400839dd
xor esi, esi
jmp 0x1400839af
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0xfc
mov r9d, 2
call fcn.14012f9d0
lea rcx, [rsp + 0x40]
lea rdx, [0x14019e78b]
mov r8d, 0xc
call fcn.140113430
mov rcx, rsi
call fcn.14012fa50
jmp 0x1400839d9

Function at 0x140083ec0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, 0xffffffff
cmp r8, rdi
cmovae r8, rdi
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400833b0
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x1400833b9
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400dc300
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x140083399
int3
mov rcx, qword [rcx + 8]
jmp 0x140083350