joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006b4f0
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 [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x14006b4c0]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x1401cf760]
lea rdx, [0x14006b360]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14006b600
cmp dword [0x1401cf768], 0
jne 0x14006b5f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1401cf76c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x14006b59c
mov ecx, 1
mov edx, 0x28
call fcn.14009c930
test rax, rax
je 0x14006b5f0
mov r14, rax
mov ecx, dword [0x1401cf76c]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14006b5e8
lea r15, [0x1401cf770]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x1401cf780]
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.1400d9910
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
call fcn.14009c890
mov rcx, rsi
mov rax, rdi
call qword [0x1401df008]
xor esi, esi
jmp 0x14006b5cc
call fcn.1400edda0
int3

Function at 0x14006ba60
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 [0x1401c2778]
cmp ecx, 0xffffffff
je 0x14006bb3a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x14006bb3a
mov eax, dword [0x1401d0fd0]
mov ecx, dword [0x1401c31c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006bb44
mov rbx, qword [0x1401d0fc8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14006bb8a
mov rax, qword [0x1401cf7b8]
inc rax
xor ecx, ecx
lea rdx, [0x1401cf7c0]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x14006bb97
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x1401d0fc0]
inc ecx
mov dword [0x1401d0fc0], ecx
mov dword [rax + 0x14], ecx
mov qword [0x1401cf7b8], 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 0x14006bbac
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14006bbb0
jmp 0x14006ba8a
lea rcx, [0x1401d0fd0]
call fcn.1400d8540
cmp dword [0x1401d0fd0], 0xffffffff
jne 0x14006baaf
mov ecx, 8
call fcn.1400d83e8
mov rbx, rax
mov rcx, rax
call fcn.1400aad50
mov qword [0x1401d0fc8], rbx
lea rcx, [0x1401d0fd0]
call fcn.1400d85d8
jmp 0x14006baaf
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14006bac7
inc rcx
cmp rcx, 0x100
jne 0x14006bada
jmp 0x14006bb20
int3
Function at 0x14006bbb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.1400d98b0
sub rsp, rax
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x1401c2778]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x14006bc64
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14006bcc7
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1400dba50
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.1400d845c
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.1400db3a0
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.1400d9910
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.140080c30
test al, al
je 0x14006bcca
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x14006bca2
mov eax, 0xffffffff
lock cmpxchg dword [0x1401c2778], ecx
je 0x14006bbe8
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1401c2778]
mov dword [rsp + 0x2c], ecx
jmp 0x14006bbe8
lea rcx, [rsp + 0x2c]
call fcn.140080c30
test al, al
je 0x14006bccd
cmp dword [rsp + 0x2c], 0xffffffff
je 0x14006bccd
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x14006bc7b
int3
int3
int3

Function at 0x14006bce0
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 [0x1401c2778]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
je 0x14006bd29
and rax, 0xfffffffffffffffc
je 0x14006bd5c
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x14006bd5c
mov rsi, qword [rax + rcx]
jmp 0x14006bd5e
lea rdx, [0x14019d0d6]
lea r8, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r9d, 0x1f6
call fcn.1400b7e30
movabs rdx, 0x141dd76000
mov rcx, rsi
call fcn.140139840
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d9910
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x14006bd80
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401c2778]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14006bdbe
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 0x14006bdb7
call fcn.14006bbb0
jmp 0x14006bd9e
Function at 0x14006c450
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14006c460
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 0x14006c481
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14006c4a1
cmp byte [r14 + 0x50], 0
jne 0x14006c524
or edi, 0x20000000
test dil, 8
jne 0x14006c554
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14006c4bf
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14006c4d0
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x14006c539
cmp byte [r14 + 0x18], 0
jne 0x14006c547
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14006c571
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 0x14006c52f
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 0x14006c4a1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14006c50f
lea rcx, [r14 + 0x20]
call fcn.1400430f0
mov r15, rax
jmp 0x14006c4d7
mov rcx, r14
call fcn.1400430f0
mov r9, rax
jmp 0x14006c4e1
cmp byte [r14 + 0x68], 0
je 0x14006c566
or edi, 0x40000000
jmp 0x14006c4ab
or edi, 0x10000000
jmp 0x14006c4ab
cmp ebx, 4
jne 0x14006c580
mov edx, 6
jmp 0x14006c4ee
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14006c592
mov edx, 7
jmp 0x14006c4ee
cmp ebx, 1
jne 0x14006c5a1
mov edx, 4
jmp 0x14006c4ee
xor edx, edx
jmp 0x14006c4ee
Function at 0x14006c460
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14006c460
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 0x14006c481
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14006c4a1
cmp byte [r14 + 0x50], 0
jne 0x14006c524
or edi, 0x20000000
test dil, 8
jne 0x14006c554
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14006c4bf
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14006c4d0
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x14006c539
cmp byte [r14 + 0x18], 0
jne 0x14006c547
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14006c571
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 0x14006c52f
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 0x14006c4a1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14006c50f
lea rcx, [r14 + 0x20]
call fcn.1400430f0
mov r15, rax
jmp 0x14006c4d7
mov rcx, r14
call fcn.1400430f0
mov r9, rax
jmp 0x14006c4e1
cmp byte [r14 + 0x68], 0
je 0x14006c566
or edi, 0x40000000
jmp 0x14006c4ab
or edi, 0x10000000
jmp 0x14006c4ab
cmp ebx, 4
jne 0x14006c580
mov edx, 6
jmp 0x14006c4ee
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14006c592
mov edx, 7
jmp 0x14006c4ee
cmp ebx, 1
jne 0x14006c5a1
mov edx, 4
jmp 0x14006c4ee
xor edx, edx
jmp 0x14006c4ee

Function at 0x14006c5b0
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 0x14006c5e8
cmp byte [r15 + 0x50], 0
jne 0x14006c677
or edi, 0x20000000
test dil, 8
jne 0x14006c6a7
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x14006c606
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x14006c617
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 0
jne 0x14006c68c
cmp byte [r15 + 0x18], 0
jne 0x14006c69a
xor r9d, r9d
cmp ebx, 4
jne 0x14006c668
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 0x14006c682
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 0x14006c6c4
mov edx, 7
jmp 0x14006c632
or edi, 0x80000000
jmp 0x14006c5e8
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14006c653
lea rcx, [r15 + 0x20]
call fcn.1400430f0
mov r14, rax
jmp 0x14006c61e
mov rcx, r15
call fcn.1400430f0
mov r9, rax
jmp 0x14006c628
cmp byte [r15 + 0x68], 0
je 0x14006c6b9
or edi, 0x40000000
jmp 0x14006c5f2
or edi, 0x10000000
jmp 0x14006c5f2
mov edx, 1
test ebx, ebx
je 0x14006c632
cmp ebx, 1
jne 0x14006c6e0
mov edx, 4
jmp 0x14006c632
xor edx, edx
jmp 0x14006c632
Function at 0x140070bb0
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x140070bd8
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140070c13
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140070c33
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1400d9910
mov rcx, rsi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
jmp fcn.140070d10
mov sil, 1
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1400d9910
mov eax, esi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400b76f0
test al, al
jne 0x140070c45
xor esi, esi
jmp 0x140070c16
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x265
mov r9d, 2
call fcn.140138770
lea rcx, [rsp + 0x68]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.14011abe0
mov rdi, rax
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x140070c95
and r8d, 0x7f
jmp 0x140070c9c
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.1400a03a0
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
call fcn.1400affb0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x140070ccc
and r8d, 0x7f
jmp 0x140070cd6
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.14011abe0
cmp byte [rsp + 0x57], 0
jns 0x140070cf2
mov rcx, qword [rsp + 0x40]
call fcn.1400d8424
lea rcx, [rsp + 0x58]
call fcn.1401387f0
jmp 0x140070c41

Function at 0x140070d10
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 0x140070d37
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140070d65
mov dil, 1
test al, 0x10
je 0x140070d77
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400d9910
mov eax, edi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400b76f0
test al, al
jne 0x140070de6
xor edi, edi
jmp 0x140070d49
mov ecx, 2
call fcn.1400b76f0
test al, al
je 0x140070d73
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x255
mov r9d, 2
call fcn.14004b900
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14011abe0
mov rcx, rax
mov rdx, rsi
call fcn.140139420
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.14011abe0
mov rcx, rdi
call fcn.14004bf50
jmp 0x140070d73
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.140138770
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14011abe0
mov rcx, rax
mov rdx, rsi
call fcn.140139420
mov rcx, rdi
call fcn.1401387f0
jmp 0x140070d73
Function at 0x140072280
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rdi, rdx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.140070ed0
mov rax, qword [rsi]
test rax, rax
je 0x1400722f7
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x1400722fe
lea rcx, [rsp + 0x28]
call fcn.140071950
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400d9910
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x1400722d0
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 0
je 0x140072316
add rbx, 0x70
cmp rbx, r15
je 0x1400722d0
jmp 0x140072305
cmp byte [rbx + 0x27], 0
jns 0x140072322
mov rcx, qword [rbx + 0x10]
jmp 0x140072326
lea rcx, [rbx + 0x10]
call r12
test al, 0x10
jne 0x14007230b
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
jae 0x14007234c
mov rcx, r14
mov rdx, rbx
call fcn.1400731a0
add r14, 0x68
mov qword [rdi + 8], r14
jmp 0x14007230b
mov rcx, rdi
mov rdx, rbx
call fcn.140072fd0
mov r14, rax
jmp 0x140072346

Function at 0x140072360
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rdi, rdx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.140070ed0
mov rax, qword [rsi]
test rax, rax
je 0x1400723d7
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x1400723de
lea rcx, [rsp + 0x28]
call fcn.140071950
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400d9910
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x1400723b0
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 2
jne 0x14007241f
cmp byte [rbx + 0x27], 0
js 0x1400723f7
lea rcx, [rbx + 0x10]
jmp 0x1400723fb
mov rcx, qword [rbx + 0x10]
call r12
test al, 0x10
jne 0x14007241f
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
jae 0x14007242a
mov rcx, r14
mov rdx, rbx
call fcn.1400731a0
add r14, 0x68
mov qword [rdi + 8], r14
add rbx, 0x70
cmp rbx, r15
je 0x1400723b0
jmp 0x1400723e5
mov rcx, rdi
mov rdx, rbx
call fcn.140072fd0
mov r14, rax
jmp 0x14007241b
Function at 0x140080c30
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 0x140080c45
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret

Function at 0x140084400
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 0x140084460
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x140084469
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400d9910
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x140084449
int3
mov rcx, qword [rcx + 8]
jmp 0x140084400

Function at 0x140084470
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 0x140084513
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x140084502
cmp eax, 0xffffffff
je 0x140084527
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400d9910
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 0x1400844b1
mov eax, dword [rsp + 0x2c]
jmp 0x1400844e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x1400844e4
int3

Function at 0x140084a00
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.140084900
test rax, rax
jne 0x140084a3f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x140084a5b
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400d9910
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400b76f0
test al, al
jne 0x140084a6d
xor esi, esi
jmp 0x140084a3f
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.140138770
lea rcx, [rsp + 0x40]
lea rdx, [0x14019f15b]
mov r8d, 0xc
call fcn.14011abe0
mov rcx, rsi
call fcn.1401387f0
jmp 0x140084a69
Function at 0x140084f50
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 0x140084460
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x140084469
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400d9910
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x140084449
int3
mov rcx, qword [rcx + 8]
jmp 0x140084400
Function at 0x140088480
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x180], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x1401869f0]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
je 0x14008856c
lea rdi, [rsp + 0x70]
xor ebx, ebx
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call fcn.1400dba50
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 0x140088573
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.1400885d0
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x140088573
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x14008857c
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.1400d9910
mov rax, rsi
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140088880
Capabilities:
Create process on windows

Disassembly:
push rsi
sub rsp, 0xe0
mov rdx, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0xd8], rax
cmp byte [rcx + 0x17], 0
js 0x140088966
je 0x14008894c
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
xor eax, eax
mov qword [rsp + 0xd0], rax
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0xb0], rax
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x50], 0x68
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14008894c
mov rcx, qword [rsp + 0xc8]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0xc0]
call rsi
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1400d9910
nop
add rsp, 0xe0
pop rsi
ret
cmp qword [rdx + 8], 0
je 0x14008894c
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
xor eax, eax
mov qword [rsp + 0xd0], rax
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0xb0], rax
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x50], 0x68
mov rdx, qword [rdx]
jmp 0x1400888f9
Function at 0x140088a50
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140088b00]
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 0x140088aab
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d9910
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.1400b7e30
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov rdx, rsi
call fcn.14013a330
lea rdx, [0x14019daf0]
mov rcx, rdi
call fcn.14014e9a0
mov rcx, rdi
call fcn.14013a360
jmp 0x140088a96