joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cf740
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x68]
mov rcx, rdi
call fcn.140142d10
cmp byte [rdi + 0x17], 0
jns 0x1400cf787
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x7f], 0
jns 0x1400cf7a8
mov rcx, qword [rsp + 0x68]
call fcn.14019a0bc
test rsi, rsi
je 0x1400cf84f
test edi, edi
je 0x1400cf84f
mov ecx, edi
add rcx, rcx
call fcn.14019a10c
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x68]
mov rcx, r14
call fcn.140142d10
cmp byte [r14 + 0x17], 0
jns 0x1400cf7eb
mov r14, qword [rsp + 0x68]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x7f], 0
jns 0x1400cf80b
mov rcx, qword [rsp + 0x68]
call fcn.14019a0bc
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x1400cf87d
mov rcx, rbx
call fcn.1401c0c44
lea rdx, [rsp + 0x30]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x68]
call fcn.140143230
cmp byte [rsi + 0x17], 0
js 0x1400cf873
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.14019a114
test edi, edi
setne bl
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14019b960
mov eax, ebx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsi]
call fcn.14019a0bc
jmp 0x1400cf836
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.1401dac90
int3
Function at 0x1400d6ec0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
lea r14, [rcx + 0x38]
mov rcx, qword [rcx + 0x38]
test rcx, rcx
jne 0x1400d6fdb
lea r12, [rdi + 0x30]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
jne 0x1400d6fc1
mov qword [rsp + 0x20], r12
lea rcx, [0x1402f7338]
lea r9, [0x1403315e0]
xor edx, edx
mov r8d, 0x17
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r15, qword [r12]
test eax, eax
js 0x1400d700d
mov rcx, qword [r14]
test rcx, rcx
jne 0x1400d6ff4
mov rax, qword [r15]
mov rax, qword [rax + 0x90]
mov rcx, r15
mov rdx, r14
call qword [0x1403be008]
test eax, eax
js 0x1400d7031
cmp rdi, rbx
je 0x1400d6f73
cmp byte [rdi + 0x17], 0
movzx r8d, byte [rbx + 0x17]
js 0x1400d6fa2
test r8b, r8b
jns 0x1400d6f92
mov rdx, qword [rbx]
mov r8, qword [rbx + 8]
mov rcx, rdi
call fcn.140050960
add rdi, 0x18
mov rcx, rdi
mov rdx, rsi
call fcn.14014e310
mov al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rax, qword [rbx + 0x10]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
jmp 0x1400d6f73
test r8b, r8b
js 0x1400d6fad
and r8d, 0x7f
jmp 0x1400d6fb4
mov r8, qword [rbx + 8]
mov rbx, qword [rbx]
mov rcx, rdi
mov rdx, rbx
call fcn.140050870
jmp 0x1400d6f73
mov qword [r12], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403be008]
jmp 0x1400d6ef8
mov qword [r14], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403be008]
jmp 0x1400d6ee7
mov qword [r14], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403be008]
jmp 0x1400d6f31
test r15, r15
je 0x1400d702a
mov qword [r12], 0
mov rax, qword [r15]
mov rax, qword [rax + 0x10]
mov rcx, r15
call qword [0x1403be008]
xor eax, eax
jmp 0x1400d6f84
mov rcx, qword [r14]
test rcx, rcx
je 0x1400d702a
mov qword [r14], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
jmp 0x1400d7024
Function at 0x1400db120
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0x180], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x14030e560]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
je 0x1400db20c
lea rdi, [rsp + 0x70]
xor ebx, ebx
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call fcn.14019dab0
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 0x1400db213
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.1400db270
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x1400db213
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x1400db21c
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.14019b960
mov rax, rsi
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400dd860
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400dd870
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 0x1400dd891
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400dd8b1
cmp byte [r14 + 0x68], 0
jne 0x1400dd933
or edi, 0x20000000
test dil, 8
jne 0x1400dd967
xor r15d, r15d
cmp byte [r14 + 0x70], 0
mov r12d, 0
je 0x1400dd8cf
mov r12, qword [r14 + 0x78]
cmp byte [r14 + 0x50], 0
mov r13d, 0
je 0x1400dd8e0
mov r13, qword [r14 + 0x58]
cmp byte [r14 + 0x28], 0
jne 0x1400dd948
cmp byte [r14], 0
jne 0x1400dd956
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400dd987
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 0x1400dd93e
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 0x1400dd8b1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400dd91e
lea rcx, [r14 + 0x30]
call fcn.140035070
mov r15, rax
jmp 0x1400dd8e7
add r14, 8
mov rcx, r14
call fcn.140035070
mov r9, rax
jmp 0x1400dd8f0
cmp byte [r14 + 0x88], 0
je 0x1400dd97c
or edi, 0x40000000
jmp 0x1400dd8bb
or edi, 0x10000000
jmp 0x1400dd8bb
cmp ebx, 4
jne 0x1400dd996
mov edx, 6
jmp 0x1400dd8fd
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400dd9a8
mov edx, 7
jmp 0x1400dd8fd
cmp ebx, 1
jne 0x1400dd9b7
mov edx, 4
jmp 0x1400dd8fd
xor edx, edx
jmp 0x1400dd8fd
Function at 0x1400dd870
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400dd870
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 0x1400dd891
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400dd8b1
cmp byte [r14 + 0x68], 0
jne 0x1400dd933
or edi, 0x20000000
test dil, 8
jne 0x1400dd967
xor r15d, r15d
cmp byte [r14 + 0x70], 0
mov r12d, 0
je 0x1400dd8cf
mov r12, qword [r14 + 0x78]
cmp byte [r14 + 0x50], 0
mov r13d, 0
je 0x1400dd8e0
mov r13, qword [r14 + 0x58]
cmp byte [r14 + 0x28], 0
jne 0x1400dd948
cmp byte [r14], 0
jne 0x1400dd956
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400dd987
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 0x1400dd93e
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 0x1400dd8b1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400dd91e
lea rcx, [r14 + 0x30]
call fcn.140035070
mov r15, rax
jmp 0x1400dd8e7
add r14, 8
mov rcx, r14
call fcn.140035070
mov r9, rax
jmp 0x1400dd8f0
cmp byte [r14 + 0x88], 0
je 0x1400dd97c
or edi, 0x40000000
jmp 0x1400dd8bb
or edi, 0x10000000
jmp 0x1400dd8bb
cmp ebx, 4
jne 0x1400dd996
mov edx, 6
jmp 0x1400dd8fd
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400dd9a8
mov edx, 7
jmp 0x1400dd8fd
cmp ebx, 1
jne 0x1400dd9b7
mov edx, 4
jmp 0x1400dd8fd
xor edx, edx
jmp 0x1400dd8fd

Function at 0x1400dd9c0
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 0x1400dd9f8
cmp byte [r15 + 0x68], 0
jne 0x1400dda86
or edi, 0x20000000
test dil, 8
jne 0x1400ddabd
xor r14d, r14d
cmp byte [r15 + 0x70], 0
mov r12d, 0
je 0x1400dda16
mov r12, qword [r15 + 0x78]
cmp byte [r15 + 0x50], 0
mov r13d, 0
je 0x1400dda27
mov r13, qword [r15 + 0x58]
cmp byte [r15 + 0x28], 0
jne 0x1400dda9b
cmp byte [r15], 0
jne 0x1400ddaa9
xor r9d, r9d
cmp ebx, 4
jne 0x1400dda77
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 0x1400dda91
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 0x1400ddadd
mov edx, 7
jmp 0x1400dda41
or edi, 0x80000000
jmp 0x1400dd9f8
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400dda62
lea rcx, [r15 + 0x30]
call fcn.140035070
mov r14, rax
jmp 0x1400dda2e
add r15, 8
mov rcx, r15
call fcn.140035070
mov r9, rax
jmp 0x1400dda37
cmp byte [r15 + 0x88], 0
je 0x1400ddad2
or edi, 0x40000000
jmp 0x1400dda02
or edi, 0x10000000
jmp 0x1400dda02
mov edx, 1
test ebx, ebx
je 0x1400dda41
cmp ebx, 1
jne 0x1400ddaf9
mov edx, 4
jmp 0x1400dda41
xor edx, edx
jmp 0x1400dda41
Function at 0x1400dfec0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x140381038]
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 0x1400dff20
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x1400dff29
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14019b960
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x1400dff09
int3
mov rcx, qword [rcx + 8]
jmp 0x1400dfec0

Function at 0x1400dff30
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 [0x140381038]
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 0x1400dffd3
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1400dffc2
cmp eax, 0xffffffff
je 0x1400dffe7
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14019b960
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 0x1400dff71
mov eax, dword [rsp + 0x2c]
jmp 0x1400dffa2
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x1400dffa4
int3

Function at 0x1400e04c0
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rdi, rcx
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.1400e03c0
test rax, rax
jne 0x1400e04ff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x1400e051b
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14019b960
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14014d760
test al, al
jne 0x1400e052d
xor esi, esi
jmp 0x1400e04ff
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, 0xfb
mov r9d, 2
call fcn.140216190
lea rcx, [rsp + 0x40]
lea rdx, [0x140333303]
mov r8d, ntohl
call fcn.1401d6c00
mov rcx, rsi
call fcn.140216210
jmp 0x1400e0529

Function at 0x1400e0a10
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x140381038]
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 0x1400dff20
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x1400dff29
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14019b960
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x1400dff09
int3
mov rcx, qword [rcx + 8]
jmp 0x1400dfec0
Function at 0x1400e1e00
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 [0x140381038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x1400e1dd0]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x1403a1cc0]
lea rdx, [0x1400e1c20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400e1f10
cmp dword [0x1403a1cc8], 0
jne 0x1400e1f00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1403a1ccc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x1400e1eac
mov ecx, 1
mov edx, 0x28
call fcn.140129a50
test rax, rax
je 0x1400e1f00
mov r14, rax
mov ecx, dword [0x1403a1ccc]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400e1ef8
lea r15, [0x1403a1cd0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x1403a1ce0]
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.14019b960
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
call fcn.1401299b0
mov rcx, rsi
mov rax, rdi
call qword [0x1403be008]
xor esi, esi
jmp 0x1400e1edc
call fcn.1401b49c0
int3
Function at 0x1400f9910
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140392c40]
cmp ecx, 0xffffffff
je 0x1400f99ea
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x1400f99ea
mov eax, dword [0x1403a3ad0]
mov ecx, dword [0x140392e40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f99f4
mov rbx, qword [0x1403a3ac8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400f9a3a
mov rax, qword [0x1403a22b8]
inc rax
xor ecx, ecx
lea rdx, [0x1403a22c0]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x1400f9a47
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x1403a3ac0]
inc ecx
mov dword [0x1403a3ac0], ecx
mov dword [rax + 0x14], ecx
mov qword [0x1403a22b8], 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 qword [rsi], 0x100
jae 0x1400f9a5c
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400f9a60
jmp 0x1400f993a
lea rcx, [0x1403a3ad0]
call fcn.14019a1f0
cmp dword [0x1403a3ad0], 0xffffffff
jne 0x1400f995f
mov ecx, 8
call fcn.14019a06c
mov rbx, rax
mov rcx, rax
call fcn.140138bf0
mov qword [0x1403a3ac8], rbx
lea rcx, [0x1403a3ad0]
call fcn.14019a288
jmp 0x1400f995f
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1400f9977
inc rcx
cmp rcx, 0x100
jne 0x1400f998a
jmp 0x1400f99d0
int3

Function at 0x1400f9a60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.14019b900
sub rsp, rax
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x140392c40]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x1400f9b14
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400f9b77
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.14019dab0
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.14019a10c
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.14019d400
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.14019b960
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.140115460
test al, al
je 0x1400f9b7a
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x1400f9b52
mov eax, 0xffffffff
lock cmpxchg dword [0x140392c40], ecx
je 0x1400f9a98
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x140392c40]
mov dword [rsp + 0x2c], ecx
jmp 0x1400f9a98
lea rcx, [rsp + 0x2c]
call fcn.140115460
test al, al
je 0x1400f9b7d
cmp dword [rsp + 0x2c], 0xffffffff
je 0x1400f9b7d
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x1400f9b2b
int3
int3
int3
Function at 0x1400f9b90
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140392c40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400f9bce
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 0x1400f9bc7
call fcn.1400f9a60
jmp 0x1400f9bae
Function at 0x1400fdd40
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x1403a3b40]
mov ecx, dword [0x140392e40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400fddc1
lea rcx, [0x1403a3b30]
call fcn.140181910
test rax, rax
jne 0x1400fddae
mov ecx, 4
call fcn.14019a06c
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x1403a3b30]
mov rcx, rbx
call fcn.140181910
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.1400f9b90
test rsi, rsi
jne 0x1400fde04
lea rcx, [0x1403a3b30]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140181910
lea rcx, [0x1403a3b40]
call fcn.14019a1f0
cmp dword [0x1403a3b40], 0xffffffff
jne 0x1400fdd68
xorps xmm0, xmm0
movups xmmword [0x1403a3b30], xmm0
lea rcx, [0x1403a3b30]
lea rdx, [0x14002cec0]
call fcn.1400f9be0
lea rcx, [0x1403a3b40]
call fcn.14019a288
jmp 0x1400fdd68
mov rcx, rsi
call fcn.14019a0bc
jmp 0x1400fddae

Function at 0x140101150
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140101200]
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 0x1401011ab
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14019b960
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.14014d840
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov rdx, rsi
call fcn.1402189b0
lea rdx, [0x14032238a]
mov rcx, rdi
call fcn.1402282f0
mov rcx, rdi
call fcn.1402189e0
jmp 0x140101196
Function at 0x140115460
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 0x140115475
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x140124ad0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140124b18
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 0x140124b21
lea rax, [rsi + 1]
cmp rax, 2
jb 0x140124b08
mov qword [rdi], rsi
call fcn.14014d860
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.14014d860
mov rcx, qword [rdi]
call fcn.140137f20
mov qword [rdi], 0
jmp 0x140124af6
Function at 0x140131540
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
jb 0x14013163e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140313250]
nop dword [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 0x1401315b0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x140313260]
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 0x1401316cd
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 0x1401316a3
movdqa xmm1, xmmword [0x140313260]
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 [0x140313270], 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