joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140075ea0
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1c0
mov r15, rdx
mov r12, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x68]
mov qword [rsi], rbx
mov rdx, rsi
call fcn.1400749a0
mov rdi, qword [rsi]
test rdi, rdi
je 0x140076124
lea rcx, [rsp + 0x50]
mov qword [rcx + 0x10], rbx
movaps xmm0, xmmword [0x1401e90c0]
movaps xmmword [rcx], xmm0
call fcn.1400e6740
movups xmm0, xmmword [r15]
movaps xmmword [rsp + 0x70], xmm0
mov rbx, qword [rdi + 0x38]
mov rbp, qword [rdi + 0x40]
cmp rbx, rbp
je 0x140076113
lea rsi, [rsp + 0x70]
mov rcx, rbx
mov rdx, rsi
call fcn.140171aa0
test al, al
jne 0x140075f41
add rbx, 0x70
cmp rbp, rbx
jne 0x140075f26
mov rbx, rbp
cmp rbx, qword [rdi + 0x40]
je 0x140076113
lea rdx, [rbx + 0x10]
lea r14, [rsp + 0x50]
mov rcx, r14
call fcn.140047eb0
mov rsi, qword [rdi + 0x40]
mov rax, rbx
add rax, 0x70
cmp rax, rsi
je 0x140075ff7
add rsi, 0xffffffffffffff90
xor ebp, ebp
movups xmm0, xmmword [rbx + 0x70]
movups xmmword [rbx], xmm0
lea rcx, [rbx + 0x10]
lea rdx, [rbx + 0x80]
int3
cmp rsi, rbx
je 0x140076023
lea rbp, [rsi - 0x70]
cmp byte [rsi - 0x31], 0
jns 0x14007600f
mov rcx, qword [rsi - 0x48]
call fcn.1401109f8
add rsi, 0xffffffffffffffa0
mov rcx, rsi
call fcn.1400e68a0
mov rsi, rbp
cmp rbx, rbp
jne 0x140075ffc
mov qword [rdi + 0x40], rbx
mov byte [rdi + 0x30], 1
cmp byte [rsp + 0x67], 0
jns 0x140076037
mov r14, qword [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140076157
mov esi, 2
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x140076118
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x70]
mov r8d, 0x39c
mov r9d, 2
int3
mov esi, 1
lea rcx, [rsp + 0x50]
call fcn.1400e68a0
jmp 0x140076129
mov esi, 3
lea rcx, [rsp + 0x68]
call fcn.1400754c0
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.140111870
mov eax, esi
add rsp, 0x1c0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, r12
mov rdx, r15
call fcn.1401703c0
xor esi, esi
jmp 0x140076118
Function at 0x140088310
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r12, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x140088344
mov rax, qword [r12 + 8]
test rax, rax
je 0x14008843c
mov eax, ebx
not eax
test eax, 0x300
je 0x14008843c
cmp edi, 2
lea rax, [0x140225eb0]
lea rcx, [0x1402260b0]
cmove rcx, rax
cmp word [rcx], 0
jne 0x14008843c
xorps xmm0, xmm0
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsi], 0
je 0x14008843c
cmp byte [0x140225ea0], 0
setne al
bt ebx, 8
jb 0x14008843c
shr ebx, 9
and ebx, 1
or bl, al
je 0x14008843c
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea rsi, str.SOFTWARE
cmove rsi, rax
movzx r13d, byte [r12 + 0x17]
test r13b, r13b
jns 0x140088497
mov rbx, qword [r12]
mov r13, qword [r12 + 8]
mov r14d, 1
xor r15d, r15d
xor eax, eax
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x2c], 0
mov rdi, qword [rsi + 8]
mov rbp, r13
sub rbp, rdi
jb 0x140088429
mov rdx, qword [rsi]
mov rcx, rbx
mov r8, rdi
int3
add rsi, 0x28
inc r15
cmp r15, r14
jb 0x14008840b
cmp dword [rsp + 0x2c], 0
jne 0x14008849f
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140111870
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, r12
jmp 0x1400883ec
cmp byte [r12 + 0x17], 0
js 0x140088507
mov rax, r12
mov rdx, qword [rsp + 0x30]
sub rdx, rax
sar rdx, 1
mov rcx, r12
mov r8, qword [rsp + 0x38]
call fcn.1400325f0
jmp 0x14008843c
mov rax, qword [r12]
jmp 0x1400884aa

Function at 0x1400935e0
Capabilities:
Delete service

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x190
mov rbx, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov rcx, qword [rdx]
test rcx, rcx
je 0x1400936e6
mov rsi, rdx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov dil, 1
test eax, eax
jne 0x1400936c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov ecx, 1
call fcn.1400e83a0
test al, al
je 0x1400936be
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_install_service_work_item_impl.cc
lea rcx, [rsp + 0x48]
mov r8d, 0x268
mov r9d, 1
int3
cmp r14d, 0x430
sete dil
cmp qword [rsi], 0
je 0x1400936e8
call fcn.1400e8390
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rsi], 0
jmp 0x1400936e8
xor edi, edi
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140111870
mov eax, edi
add rsp, 0x190
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x1400948a0
Capabilities:
Modify service

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b8
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rax, qword [rdx + 0x28]
xor ebx, ebx
cmp rax, qword [rdx + 0x30]
cmovne rbx, rax
cmp byte [rdx + 0x27], 0
jns 0x1400948db
mov rdi, qword [rdx + 0x10]
jmp 0x1400948df
lea rdi, [rdx + 0x10]
mov r9d, dword [rdx + 0xc]
mov eax, dword [rdx + 4]
mov r8d, dword [rdx + 8]
mov rcx, qword [rsi + 0xd0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], rbx
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x50], 0
mov edx, eax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov edi, eax
test eax, eax
jne 0x1400949b9
mov ecx, 1
call fcn.1400e83a0
test al, al
je 0x1400949b9
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_install_service_work_item_impl.cc
lea rcx, [rsp + 0x70]
mov r8d, 0x25a
mov r9d, 1
int3
test edi, edi
setne bl
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
add rsp, 0x1b8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140095180
Capabilities:
Read pipe
Write pipe

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x190
mov r14, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov r15, qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x1400951bc
mov rcx, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x110000
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r15
cmp rax, 0xffffffffffffffff
je 0x140095287
mov rsi, rax
lea rdx, [rsp + 0x44]
mov dword [rdx], 2
mov rcx, rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x140095309
lea rax, [rsp + 0x40]
mov dword [rax], 0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], ntohl
mov rcx, rsi
mov rdx, rbx
mov r8d, 0x24
mov r9, r14
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x140095358
mov dil, 1
cmp dword [rsp + 0x40], 0xc
jne 0x1400953b5
mov rcx, rsi
call fcn.140097b30
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140111870
mov eax, edi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x140095435
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x1400952a4
mov rcx, qword [rdi]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x1400951b0
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x14009548b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x6b
mov r9d, 2
int3
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x1400953ae
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
lea rdi, [rsp + 0x48]
mov rcx, rdi
mov r8d, 0x74
mov r9d, 2
int3
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x1400953ae
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
lea rdi, [rsp + 0x48]
mov rcx, rdi
mov r8d, 0x82
mov r9d, 2
int3
xor edi, edi
jmp 0x14009525e
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x1400953ae
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
lea rdi, [rsp + 0x48]
mov rcx, rdi
mov r8d, 0x86
mov r9d, 2
call fcn.14004a130
lea rcx, [rsp + 0x58]
lea rdx, str.TransactNamedPipe:_expected
mov r8d, 0x1c
int3
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x14009548b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x66
mov r9d, 2
int3
xor edi, edi
jmp 0x140095266
Function at 0x1400954a0
Capabilities:
Check os version
Create pipe

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x58], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x1401e90c0]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
je 0x14009551a
call qword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xfe
mov edi, 0x80003
cmp eax, 6
jb 0x14009551f
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.140095580
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x140095521
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x14009552a
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rbx
mov eax, 0x200
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
mov rcx, rsi
mov edx, edi
mov r8d, 6
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140111870
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret

Function at 0x140097bc0
Capabilities:
Check os version

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x168], rax
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
and ecx, 0xfe
cmp ecx, 6
jb 0x140097c9c
and eax, 0xfeff
cmp eax, 6
je 0x140097c9c
mov eax, dword [0x140226608]
mov ecx, dword [0x14021ef3c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x140097c63
lea rcx, [0x140226608]
int3
mov rcx, rsi
xor edx, edx
mov r8d, 0x10000000
call qword [0x140226600]
mov esi, eax
test eax, eax
je 0x140097ca9
test esi, esi
setne bl
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov bl, 1
jmp 0x140097c7f
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x140097c7a
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_critical_section_with_debug_info.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x21
mov r9d, 2
int3

Function at 0x140098480
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, 0xffffffff
cmp r8, rdi
mov eax, 0xffffffff
cmovb eax, r8d
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400984e8
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x1400984f1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140111870
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x1400984d1
int3
mov rcx, qword [rcx + 8]
jmp 0x140098480
Function at 0x140098500
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 [0x14021b038]
xor rax, rsp
mov ecx, 0xffffffff
cmp r8, rcx
mov ebx, 0xffffffff
cmovb ebx, r8d
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 0x1400985a8
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x140098597
cmp eax, 0xffffffff
je 0x1400985bc
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140111870
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 0x140098546
mov eax, dword [rsp + 0x2c]
jmp 0x140098577
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x140098579
int3

Function at 0x140098a70
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rdi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.140098990
test rax, rax
jne 0x140098aaf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x140098acb
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140111870
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x140098b21
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0xfb
mov r9d, 2
int3
xor esi, esi
jmp 0x140098aaf

Function at 0x140098fb0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, 0xffffffff
cmp r8, rdi
mov eax, 0xffffffff
cmovb eax, r8d
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400984e8
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x1400984f1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140111870
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x1400984d1
int3
mov rcx, qword [rcx + 8]
jmp 0x140098480

Function at 0x14009c320
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [0x140226648]
cmp rdi, 1
jbe 0x14009c349
mov rcx, rdi
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140100810
lea rcx, [0x140226648]
call fcn.14008ba60
test al, al
je 0x14009c38f
mov qword [0x140226650], 0
lea rbx, [0x140226648]
lea rdi, [0x140226650]
mov rcx, rdi
xor edx, edx
int3
mov rdi, qword [0x140226648]
jmp 0x14009c337
Function at 0x14009c7d0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x14021eb08]
cmp ecx, 0xffffffff
je 0x14009c7f5
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
add rsp, 0x28
ret
xor eax, eax
jmp 0x14009c7f0

Function at 0x14009c800
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, rdx
mov r15, rcx
mov ecx, dword [0x14021eb08]
cmp ecx, 0xffffffff
je 0x14009c8de
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x14009c8de
mov eax, dword [0x140227ea8]
mov ecx, dword [0x14021ef3c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14009c8e8
mov rbx, qword [0x140227ea0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14009c92e
mov rax, qword [0x140226698]
inc rax
xor ecx, ecx
lea rdx, [0x1402266a0]
lea edi, [rax + rcx]
movzx edi, dil
lea rsi, [rdi + rdi*2]
cmp dword [rdx + rsi*8], 0
jne 0x14009c93b
lea rax, [rdx + rsi*8]
mov dword [rax], 1
mov qword [rax + 8], r14
mov qword [0x140226698], rdi
mov dword [r15], edi
mov eax, dword [rax + 0x10]
mov dword [r15 + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [r15]
cmp eax, 0xffffffff
je 0x14009c950
cmp eax, 0x100
jge 0x14009c953
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14009c960
jmp 0x14009c82e
lea rcx, [0x140227ea8]
int3
mov rcx, rbx
int3
inc rcx
cmp rcx, 0x100
jne 0x14009c87e
jmp 0x14009c8b2
int3
int3

Function at 0x1400a2620
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r14, r8
mov ebx, edx
mov rdi, rcx
mov esi, dword [0x140229568]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test ebp, ebp
jne 0x1400a2732
cmp rsi, 1
je 0x1400a272e
mov eax, dword [rdi + 0x1518]
test eax, eax
jne 0x1400a272e
mov eax, 1
lock xadd dword [rdi + 0x1518], eax
cmp eax, 0x7fffffff
je 0x1400a273f
mov rcx, rdi
call fcn.1400a2a40
lock dec dword [rdi + 0x1518]
mov rdi, rax
inc qword [rax + 0x5a0]
cmp word [0x14021eb0c], bx
jb 0x1400a2720
movzx edx, bx
mov rsi, rdx
shl rsi, 4
mov rbx, rdi
add rbx, rsi
mov rax, qword [rdi + rsi]
test rax, rax
jne 0x1400a2742
inc qword [rdi + 0x5b8]
inc qword [rdi + 0x5b0]
mov rcx, rdi
call fcn.140105740
mov rax, qword [rbx]
test rax, rax
je 0x1400a272e
mov rcx, qword [rax]
test rcx, rcx
je 0x1400a274b
mov rdx, rcx
not rdx
cmp qword [rax + 8], rdx
jne 0x1400a274f
bswap rcx
prefetcht0 byte [rcx]
dec byte [rdi + rsi + 8]
mov qword [rbx], rcx
movzx ecx, word [rdi + rsi + 0xa]
mov qword [r14], rcx
movzx ecx, word [rdi + rsi + 0xa]
sub qword [rdi + 0x590], rcx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
inc qword [rdi + 0x5c0]
inc qword [rdi + 0x5b0]
xor eax, eax
jmp 0x1400a2715
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400a2653
int3
inc qword [rdi + 0x5a8]
jmp 0x1400a26e0
xor ecx, ecx
jmp 0x1400a26fa
call fcn.140141530
int3
Function at 0x1400b6fd0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [0x140229ff0]
cmp rdi, 1
jbe 0x1400b6ff9
mov rcx, rdi
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140100810
lea rcx, [0x140229ff0]
call fcn.14008ba60
test al, al
je 0x1400b703f
mov qword [0x140229ff8], 0
lea rbx, [0x140229ff0]
lea rdi, [0x140229ff8]
mov rcx, rdi
xor edx, edx
call fcn.14009cb70
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.14008bb00
jmp 0x1400b6fe7
mov rdi, qword [0x140229ff0]
jmp 0x1400b6fe7

Function at 0x1400ba1d0
Capabilities:
Allocate thread local storage

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

Function at 0x1400bd9d0
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400bda70]
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 0x1400bda29
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140111870
nop
add rsp, 0x40
pop rsi
ret
lea rdx, str..._.._third_party_crashpad_crashpad_util_thread_thread_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x1b
call fcn.14017dc60
mov rcx, rsi
call fcn.14017db90
lea rdx, [0x1401f5f36]
mov r8d, ntohl
mov rcx, rax
call fcn.1400dd7e0
mov rcx, rsi
call fcn.14017dba0
jmp 0x1400bda15
Function at 0x1400f02b0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r14d, r9d
mov r15, r8
mov r13, rdx
mov r12, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rbp, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x60]
mov qword [rsi + 0x50], rbp
movaps xmm0, xmmword [0x1401e90c0]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.Write
lea r8, str..._.._base_files_file_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r9d, 0x73
call fcn.1400e8370
xor ebx, ebx
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
call fcn.1400f4950
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], 0
call fcn.1400f43b0
test al, al
jne 0x1400f03cc
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
lea rsi, [rsp + 0x2c]
mov dword [rsi], 0xaaaaaaaa
mov rcx, qword [r12]
mov qword [rsp + 0x20], rdi
mov rdx, r15
mov r8d, r14d
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sbb ebx, ebx
or ebx, dword [rsi]
lea rcx, [rsp + 0x30]
call fcn.1400f4420
lea rcx, [rsp + 0x60]
call fcn.1400f49b0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movsxd r9, r14d
lea rdx, str.File::Write
lea rcx, [rsp + 0x30]
mov r8, r12
call fcn.140177030
jmp 0x1400f0356
Function at 0x1400f2e10
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 ebx, ebx
test edx, edx
sete bl
xor ecx, ecx
mov edx, ebx
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x1400f2ea7
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400f2e91
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400f2e6e
mov qword [rsi], rdi
call fcn.1400e8390
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 1
inc rax
cmp rax, 1
jbe 0x1400f2eab
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400e8390
mov rcx, qword [rsi]
call fcn.1400f0600
mov qword [rsi], 0
jmp 0x1400f2e5c
mov byte [rsi + 8], 1
int3

Function at 0x1400fccf0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov edi, dword [0x140229568]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test esi, esi
jne 0x1400fcd1d
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400fcd13