joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401008f0
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 [0x140274038]
xor rax, rsp
mov qword [rsp + 0x28], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x20]
mov qword [rsi], rax
mov rdx, rsi
call fcn.1400ff3f0
mov rax, qword [rsi]
test rax, rax
je 0x140100a34
mov rbx, qword [rax + 0x50]
mov r12, qword [rax + 0x58]
xor esi, esi
cmp rbx, r12
je 0x14010094f
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x140100993
lea rcx, [rsp + 0x20]
call fcn.1400ffeb0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14018d030
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.1401014e0
mov r14, rax
mov qword [rdi + 8], r14
add rbx, 0x70
cmp rbx, r12
je 0x14010094f
cmp dword [rbx + 0x68], 2
jne 0x14010098a
lea r15, [rbx + 0x10]
cmp byte [rbx + 0x27], 0
mov rcx, r15
jns 0x1401009aa
mov rcx, qword [rbx + 0x10]
call r13
test al, 0x10
jne 0x14010098a
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
jae 0x140100978
test r14, r14
je 0x140100a21
movups xmm0, xmmword [rbx]
movups xmmword [r14], xmm0
lea rcx, [r14 + 0x10]
mov rdx, r15
call fcn.140155bc0
lea rcx, [r14 + 0x28]
cmp byte [rbx + 0x3f], 0
js 0x140100a12
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 0x140100986
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
call fcn.140143120
jmp 0x1401009ef
lea rcx, [0x140242e90]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1401c7f00
mov esi, 3
jmp 0x14010094f
Function at 0x140103e20
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rcx, rcx
je 0x140103e97
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x140276f20], rax
jne 0x140103e9a
mov rsi, rcx
call fcn.140186fc0
mov edx, 0x568
mov rcx, rax
xor r8d, r8d
call fcn.1400b54b0
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.14016dd80
mov ecx, dword [0x140288dfc]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x140283248]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x190], rdi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
int3
int3
Function at 0x140108c20
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x180], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x14023d7d0]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
je 0x140108d0c
lea rdi, [rsp + 0x70]
xor ebx, ebx
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call fcn.14018f180
mov dword [rdi - 0xc], 0x11c
mov r14, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call r14
mov rcx, rax
mov edx, 1
mov r8b, 3
call r14
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call r14
mov qword [rdi - 8], 6
mov word [rdi + 0x108], 0
lea rcx, [rsp + 0x64]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov edi, 0x80003
test eax, eax
je 0x140108d13
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.140108d70
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x140108d13
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x140108d1c
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 + 0x180]
xor rcx, rsp
call fcn.14018d030
mov rax, rsi
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14010b910
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x14010b8e0]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x14028b708]
lea rdx, [0x14010b780]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14010ba08
cmp dword [0x14028b710], 0
jne 0x14010ba15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x14028b714]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x14010b9bc
mov ecx, 1
mov edx, 0x28
call fcn.14015a1c0
test rax, rax
je 0x14010ba15
mov r14, rax
mov ecx, dword [0x14028b714]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14010ba0d
lea r15, [0x14028b718]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x14028b720]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14018d030
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1401a4f50
mov rcx, r14
call fcn.14015a120
mov rcx, rsi
mov rax, rdi
call qword [0x1402655f0]
xor esi, esi
jmp 0x14010b9ec

Function at 0x14010c7b0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14010c7c0
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 0x14010c7e1
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14010c801
cmp byte [r14 + 0x50], 0
jne 0x14010c88c
or edi, 0x20000000
test dil, 8
jne 0x14010c897
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14010c81f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14010c830
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x14010c8be
cmp byte [r14 + 0x18], 0
jne 0x14010c8cf
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14010c8df
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 0x14010c8b4
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 0x14010c801
cmp byte [r14 + 0x68], 0
je 0x14010c8a9
or edi, 0x40000000
jmp 0x14010c80b
or edi, 0x10000000
jmp 0x14010c80b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14010c877
lea rcx, [r14 + 0x20]
call fcn.1400d0030
mov r15, rax
jmp 0x14010c83b
mov rcx, r14
call fcn.1400d0030
mov r9, rax
jmp 0x14010c849
cmp ebx, 4
jne 0x14010c8ee
mov edx, 6
jmp 0x14010c856
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14010c900
mov edx, 7
jmp 0x14010c856
cmp ebx, 1
jne 0x14010c90f
mov edx, 4
jmp 0x14010c856
xor edx, edx
jmp 0x14010c856
Function at 0x14010c7c0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14010c7c0
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 0x14010c7e1
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14010c801
cmp byte [r14 + 0x50], 0
jne 0x14010c88c
or edi, 0x20000000
test dil, 8
jne 0x14010c897
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14010c81f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14010c830
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x14010c8be
cmp byte [r14 + 0x18], 0
jne 0x14010c8cf
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14010c8df
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 0x14010c8b4
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 0x14010c801
cmp byte [r14 + 0x68], 0
je 0x14010c8a9
or edi, 0x40000000
jmp 0x14010c80b
or edi, 0x10000000
jmp 0x14010c80b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14010c877
lea rcx, [r14 + 0x20]
call fcn.1400d0030
mov r15, rax
jmp 0x14010c83b
mov rcx, r14
call fcn.1400d0030
mov r9, rax
jmp 0x14010c849
cmp ebx, 4
jne 0x14010c8ee
mov edx, 6
jmp 0x14010c856
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14010c900
mov edx, 7
jmp 0x14010c856
cmp ebx, 1
jne 0x14010c90f
mov edx, 4
jmp 0x14010c856
xor edx, edx
jmp 0x14010c856

Function at 0x14010c920
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 0x14010c958
cmp byte [r15 + 0x50], 0
jne 0x14010c9ef
or edi, 0x20000000
test dil, 8
jne 0x14010c9fa
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x14010c976
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x14010c987
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 0
jne 0x14010ca21
cmp byte [r15 + 0x18], 0
jne 0x14010ca32
xor r9d, r9d
cmp ebx, 4
jne 0x14010c9e0
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 0x14010ca17
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 0x14010ca42
mov edx, 7
jmp 0x14010c9aa
or edi, 0x80000000
jmp 0x14010c958
cmp byte [r15 + 0x68], 0
je 0x14010ca0c
or edi, 0x40000000
jmp 0x14010c962
or edi, 0x10000000
jmp 0x14010c962
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14010c9cb
lea rcx, [r15 + 0x20]
call fcn.1400d0030
mov r14, rax
jmp 0x14010c992
mov rcx, r15
call fcn.1400d0030
mov r9, rax
jmp 0x14010c9a0
mov edx, 1
test ebx, ebx
je 0x14010c9aa
cmp ebx, 1
jne 0x14010ca5e
mov edx, 4
jmp 0x14010c9aa
xor edx, edx
jmp 0x14010c9aa
Function at 0x140115480
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 0x140115495
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret

Function at 0x140115d30
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x140274038]
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 0x140115d90
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x140115d99
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14018d030
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x140115d79
int3
mov rcx, qword [rcx + 8]
jmp 0x140115d30

Function at 0x140115da0
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 [0x140274038]
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 0x140115e46
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x140115e32
cmp eax, 0xffffffff
je 0x140115e43
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14018d030
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 0x140115de1
mov eax, dword [rsp + 0x2c]
jmp 0x140115e12
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x140115e14

Function at 0x140116350
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rdi, rcx
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.140116250
test rax, rax
jne 0x14011638f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x1401163ab
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14018d030
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1401551c0
test al, al
jne 0x1401163bd
xor esi, esi
jmp 0x14011638f
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.1401e5eb0
lea rcx, [rsp + 0x40]
lea rdx, [0x14025e492]
mov r8d, recvfrom
call fcn.1401c6fd0
mov rcx, rsi
call fcn.1401e5f30
jmp 0x1401163b9
Function at 0x1401168a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x140274038]
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 0x140115d90
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x140115d99
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14018d030
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x140115d79
int3
mov rcx, qword [rcx + 8]
jmp 0x140115d30
Function at 0x14011fe20
Capabilities:
Allocate thread local storage

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

Function at 0x140120fd0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
sub rsp, 0x30
mov rax, rcx
mov rcx, qword [0x140274038]
xor rcx, rsp
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x140121053
cmp byte [rax + 0x90], 0
jne 0x140121053
mov sil, 1
cmp byte [rax + 0x91], 0
jne 0x14012103e
lea rdx, [rsp + 0x27]
mov byte [rdx], 0xaa
mov r8d, 1
mov r9d, 2
call qword [sym.imp.WS2_32.dll_recv]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
je 0x140121053
cmp esi, 0xffffffff
setne cl
cmp eax, 0x2733
sete sil
or sil, cl
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14018d030
mov eax, esi
add rsp, 0x30
pop rsi
ret
xor esi, esi
jmp 0x14012103e

Function at 0x140121060
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
lea rbx, [rsp + 0x28]
mov r8d, 0x90
mov rcx, rbx
mov dl, 0xaa
call fcn.14018f180
mov rcx, rbx
call fcn.1401203d0
lea r8, [rsp + 0xa8]
mov rdx, qword [r8 + 8]
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1401210fa
mov r8d, dword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
mov rcx, rsi
call fcn.1400ea860
xor ecx, ecx
test al, al
mov esi, 0xffffff94
cmovne esi, ecx
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14018d030
mov eax, esi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14011ffc0
mov esi, eax
jmp 0x1401210dd
Function at 0x140122b40
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 0x140122c61
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 0x140122c9d
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 0x140122ca5
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 0x140122c97
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 0x140122ca9
pop rdi
pop rsi
ret
mov dl, byte [r8 + 0x19]
jmp 0x140122c90
xor r10d, r10d
jmp 0x140122b9f
xor eax, eax
jmp 0x140122c34
cmp byte [r8 + 0x1a], 0
je 0x140122c94
xor ecx, ecx
mov eax, 0x40000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x140122c94
cmp ecx, 0x666f736f
jne 0x140122c94
cmp edx, 0x76482074
jne 0x140122c94
mov byte [r8 + 0x19], 1
jmp 0x140122c94
Function at 0x140123ed0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x14028d340]
mov ecx, dword [0x140283248]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140123f51
lea rcx, [0x14028d330]
call fcn.140167ca0
test rax, rax
jne 0x140123f3e
mov ecx, 4
call fcn.14018bb3c
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x14028d330]
mov rcx, rbx
call fcn.140167ca0
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.1400f9950
test rsi, rsi
jne 0x140123f94
lea rcx, [0x14028d330]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140167ca0
lea rcx, [0x14028d340]
call fcn.14018bc90
cmp dword [0x14028d340], 0xffffffff
jne 0x140123ef8
xorps xmm0, xmm0
movups xmmword [0x14028d330], xmm0
lea rcx, [0x14028d330]
lea rdx, [0x1400d4c10]
call fcn.1400f99a0
lea rcx, [0x14028d340]
call fcn.14018bd28
jmp 0x140123ef8
mov rcx, rsi
call fcn.14018bb78
jmp 0x140123f3e

Function at 0x140128640
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1401286f0]
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 0x14012869b
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14018d030
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.1401552d0
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov rdx, rsi
call fcn.1401e7c70
lea rdx, [0x1402549ff]
mov rcx, rdi
call fcn.1401eb750
mov rcx, rdi
call fcn.1401e7d30
jmp 0x140128686
Function at 0x14013e120
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jae 0x14013e29d
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x1402464b0]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp rdx, 0x10
jb 0x14013e201
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x14013e1d7
movdqa xmm1, xmmword [0x1402464b0]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x1402464c0], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x1402464a0]
nop word cs:[rax + rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm4, 0
movdqa xmm8, xmm2
pclmulqdq xmm8, xmm4, 0
movdqa xmm9, xmm1
pclmulqdq xmm9, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
movdqu xmm10, xmmword [rcx]
pxor xmm10, xmm6
pxor xmm0, xmm10
movdqu xmm6, xmmword [rcx + 0x10]
pxor xmm6, xmm7
pxor xmm3, xmm6
movdqu xmm6, xmmword [rcx + 0x20]
pxor xmm6, xmm8
pxor xmm2, xmm6
movdqu xmm6, xmmword [rcx + 0x30]
pxor xmm6, xmm9
pxor xmm1, xmm6
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x14013e2c0
jmp 0x14013e172
Function at 0x140140030
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140140078
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140140081
lea rax, [rsi + 1]
cmp rax, 2
jb 0x140140068
mov qword [rdi], rsi
call fcn.1401552f0
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1401552f0
mov rcx, qword [rdi]
call fcn.140145540
mov qword [rdi], 0
jmp 0x140140056

Function at 0x140145ad0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x140145b6a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140145b54
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140145b31
mov qword [rsi], rdi
call fcn.1401552f0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x140145b6e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1401552f0
mov rcx, qword [rsi]
call fcn.140145540
mov qword [rsi], 0
jmp 0x140145b1f
mov byte [rsi + 8], 0
int3