joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401a4157
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1401a417e
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401a4197
test eax, 0x410
sete sil
jmp 0x1401a4250
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x1401a424e
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x75
mov r9d, 2
call fcn.1400f7550
lea rcx, [rsp + 0x60]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14001eb4a
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140103680
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1401a4228
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.14001eb4a
cmp byte [rsp + 0x4f], 0
jns 0x1401a4244
mov rcx, qword [rsp + 0x38]
call fcn.140255d7c
lea rcx, [rsp + 0x50]
call fcn.1400f7640
xor esi, esi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140257200
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret

Function at 0x1401a426c
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1401a4293
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401a42cb
and eax, 0x410
cmp eax, 0x410
jne 0x1401a42cb
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140257200
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.1401a43bd
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1401a42d7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x1401a43a1
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x1401a439f
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, DllRegisterServer
mov r9d, 2
call fcn.1400f7550
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.14001eb4a
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140103680
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1401a4379
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.14001eb4a
cmp byte [rsp + 0x4f], 0
jns 0x1401a4395
mov rcx, qword [rsp + 0x38]
call fcn.140255d7c
lea rcx, [rsp + 0x50]
call fcn.1400f7640
xor edi, edi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140257200
mov eax, edi
add rsp, 0x198
pop rdi
pop rsi
ret
Function at 0x1401a43bd
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1401a43e5
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x1401a44ac
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x1401a44ac
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x30
mov r9d, 2
call fcn.1400f7550
lea rcx, [rsp + 0x68]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.14001eb4a
mov rbx, rax
movzx eax, byte [rdi + 0x17]
test al, al
mov rcx, qword [rdi]
cmovns rcx, rdi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rdi + 8]
mov qword [rdx + 8], rax
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.140103680
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x1401a4486
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
call fcn.14001eb4a
cmp byte [rsp + 0x57], 0
jns 0x1401a44a2
mov rcx, qword [rsp + 0x40]
call fcn.140255d7c
lea rcx, [rsp + 0x58]
call fcn.1400f7640
test esi, esi
setne bl
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140257200
mov eax, ebx
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401b3000
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [0x14032bb50]
cmp rdi, 1
ja 0x1401b3063
lea rcx, [0x14032bb50]
call fcn.1400f5910
test al, al
je 0x1401b305c
xorps xmm0, xmm0
movups xmmword [0x14032bb58], xmm0
lea rbx, [0x14032bb50]
lea rdi, [0x14032bb58]
mov rcx, rdi
xor edx, edx
call fcn.140105ee0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.1400f59c0
jmp 0x1401b3063
mov rdi, qword [0x14032bb50]
mov rcx, rdi
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140105e90

Function at 0x1401b3080
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x14032bb50]
cmp rsi, 1
ja 0x1401b30df
lea rcx, [0x14032bb50]
call fcn.1400f5910
test al, al
je 0x1401b30d8
xorps xmm0, xmm0
movups xmmword [0x14032bb58], xmm0
lea rdi, [0x14032bb50]
lea rsi, [0x14032bb58]
mov rcx, rsi
xor edx, edx
call fcn.140105ee0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.1400f59c0
jmp 0x1401b30df
mov rsi, qword [0x14032bb50]
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140105e90

Function at 0x1401bb490
Capabilities:
Allocate thread local storage

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

Function at 0x1401bb570
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov r15, r8
mov rsi, rdx
mov r12, qword [rsp + 0xd8]
mov r14, qword [rsp + 0xd0]
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, r14
shr rdi, 0x20
movzx eax, r9b
lea ebp, [rax + rax]
add ebp, 4
mov qword [rsp + 0x20], r12
mov rcx, r8
mov edx, ebp
mov r8d, edi
mov r9d, r14d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
test rax, rax
jne 0x1401bb5f5
call fcn.14018d350
mov qword [rsp + 0x20], r12
mov rcx, r15
mov edx, ebp
mov r8d, edi
mov r9d, r14d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
test rax, rax
je 0x1401bb65d
movaps xmm0, xmmword [0x14029de10]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov r8d, 0x30
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rcx, qword [rsp + 0x48]
sub rcx, rbx
add rcx, qword [rsp + 0x38]
test rax, rax
cmove rcx, rax
mov byte [rsi], 1
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140257200
mov rax, rsi
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.14018d350
mov byte [rsi], 0
jmp 0x1401bb63e
Function at 0x1401cb690
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x14032bc40]
mov ecx, dword [0x14031d424]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401cb6cd
lea rcx, [0x14032bc30]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.140105e90
lea rcx, [0x14032bc40]
call fcn.140255ea0
cmp dword [0x14032bc40], 0xffffffff
jne 0x1401cb6b9
xorps xmm0, xmm0
movups xmmword [0x14032bc30], xmm0
lea rcx, [0x14032bc30]
xor edx, edx
call fcn.140105ee0
lea rcx, [0x14032bc40]
call fcn.140255f38
jmp 0x1401cb6b9

Function at 0x1401cb710
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14032bc40]
mov ecx, dword [0x14031d424]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401cb745
lea rcx, [0x14032bc30]
add rsp, 0x28
jmp fcn.140105e50
lea rcx, [0x14032bc40]
call fcn.140255ea0
cmp dword [0x14032bc40], 0xffffffff
jne 0x1401cb735
xorps xmm0, xmm0
movups xmmword [0x14032bc30], xmm0
lea rcx, [0x14032bc30]
xor edx, edx
call fcn.140105ee0
lea rcx, [0x14032bc40]
call fcn.140255f38
jmp 0x1401cb735

Function at 0x1401d0010
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [0x14032bc60]
cmp rdi, 1
ja 0x1401d0073
lea rcx, [0x14032bc60]
call fcn.1400f5910
test al, al
je 0x1401d006c
xorps xmm0, xmm0
movups xmmword [0x14032bc68], xmm0
lea rbx, [0x14032bc60]
lea rdi, [0x14032bc68]
mov rcx, rdi
xor edx, edx
call fcn.140105ee0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.1400f59c0
jmp 0x1401d0073
mov rdi, qword [0x14032bc60]
mov rcx, rdi
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140105e90

Function at 0x1401d0090
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x14032bc60]
cmp rsi, 1
ja 0x1401d00ef
lea rcx, [0x14032bc60]
call fcn.1400f5910
test al, al
je 0x1401d00e8
xorps xmm0, xmm0
movups xmmword [0x14032bc68], xmm0
lea rdi, [0x14032bc60]
lea rsi, [0x14032bc68]
mov rcx, rsi
xor edx, edx
call fcn.140105ee0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.1400f59c0
jmp 0x1401d00ef
mov rsi, qword [0x14032bc60]
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140105e90
Function at 0x1401dee70
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x1401def10]
mov qword [rsp + 0x20], rax
lea rcx, [0x14032bd18]
lea rdx, [0x1401decf0]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1401def04
cmp dword [0x14032bd20], 0
je 0x1401deec1
xor esi, esi
jmp 0x1401deeec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x14032bd24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1401deebd
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140257200
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
call fcn.14026f3e0
int3

Function at 0x1401def40
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 r14d, ecx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x1401def10]
mov qword [rsp + 0x28], rax
lea rcx, [0x14032bd18]
lea rdx, [0x1401decf0]
lea r8, [rsp + 0x28]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1401df069
cmp dword [0x14032bd20], 0
je 0x1401defad
mov rcx, rsi
mov rax, rdi
call qword [case.0x140112150.0]
xor esi, esi
jmp 0x1401df001
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x14032bd24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x1401df01d
lea r15, [0x14032bd28]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbp, r14d
lea rax, [0x14032bd30]
mov qword [rax + rbp*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [rbx + rbp*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140257200
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 0x28
call fcn.14016d2a0
test rax, rax
je 0x1401def9d
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x20], 0
mov ecx, dword [0x14032bd24]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1401defd1
mov rcx, rbx
call fcn.14016d2e0
jmp 0x1401def9d
call fcn.14026f3e0
int3

Function at 0x1401df350
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1401df392
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
nop word [rax + rax]
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1401df39c
add rdi, rbx
sub rsi, rbx
jne 0x1401df370
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14026f3e0
int3
Function at 0x1401e58b0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
mov rax, qword [rcx]
jne 0x1401e58e4
test rax, rax
jne 0x1401e58e4
cmp dword [rsi + 0x14], 0
je 0x1401e58d6
xor eax, eax
jmp 0x1401e58e4
xor eax, eax
cmp qword [rsi + 8], 0
mov edx, 0
je 0x1401e593b
lea rcx, [rax + 1]
cmp rcx, 2
jb 0x1401e5904
call fcn.1400f5de0
mov rcx, qword [rsi]
call fcn.140112bc0
mov qword [rsi], 0
xor eax, eax
mov rcx, qword [rsi + 8]
lea rdx, [rcx + 1]
cmp rdx, 2
jb 0x1401e592d
call fcn.1400f5de0
mov rcx, qword [rsi + 8]
call fcn.140112bc0
mov qword [rsi + 8], 0
mov rax, qword [rsi]
xor ecx, ecx
mov rdx, rax
mov qword [rsi + 0x10], 0
mov rax, rcx
mov rbx, qword [rdi]
cmp rdx, rbx
je 0x1401e5989
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x1401e596b
call fcn.1400f5de0
mov rcx, qword [rsi]
call fcn.140112bc0
mov qword [rsi], 0
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1401e597d
mov qword [rsi], rbx
call fcn.1400f5de0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi + 8]
mov rbp, qword [rdi + 8]
cmp rax, rbp
je 0x1401e59d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jb 0x1401e59bd
call fcn.1400f5de0
mov rcx, qword [rsi + 8]
call fcn.140112bc0
mov qword [rsi + 8], 0
lea rax, [rbp + 1]
cmp rax, 2
jb 0x1401e59d0
mov qword [rsi + 8], rbp
call fcn.1400f5de0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x1401e5b00
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x40], rax
test rcx, rcx
je 0x1401e5bb5
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x38], 0
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rbp
mov rbx, rax
call rbp
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x38]
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edi, eax
test eax, eax
je 0x1401e5bb9
mov rbx, qword [rsp + 0x38]
cmp qword [rsi], rbx
je 0x1401e5bc9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x1401e5ba1
call fcn.1400f5de0
mov rcx, qword [rsi]
call fcn.140112bc0
mov qword [rsi], 0
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1401e5bc1
mov qword [rsi], rbx
call fcn.1400f5de0
jmp 0x1401e5bc1
mov bl, 1
jmp 0x1401e5bce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
setne bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140257200
mov eax, ebx
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1401e5d38
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
call fcn.1401e5a90
test al, al
je 0x1401e5d66
mov rcx, qword [rsi]
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rdi, [rsi + 0x38]
mov rcx, rdi
xor edx, edx
call fcn.1401e5dea
lea rcx, [rsi + 0x58]
call fcn.14017e408
mov rcx, qword [rsi + 0x50]
mov qword [rsi + 0x50], 0
test rcx, rcx
je 0x1401e5d93
call fcn.140114df0
mov rcx, qword [rsi + 0x40]
mov rax, qword [0x1403102a0]
and rax, rcx
cmp rax, qword [0x140310288]
jne 0x1401e5daf
call fcn.1400fa610
mov qword [rsi + 0x40], 0
mov rcx, rdi
xor edx, edx
call fcn.1401e5dea
lea rcx, [rsi + 0x28]
call fcn.140028250
lea rcx, [rsi + 0x20]
call fcn.140028250
lea rcx, [rsi + 0x18]
call fcn.140028250
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1401e59f0
Function at 0x1401e6636
Capabilities:
Terminate process

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.1401e5a90
test al, al
je 0x1401e6658
mov rcx, qword [rsi]
xor edx, edx
add rsp, 0x20
pop rsi
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x20
pop rsi
ret

Function at 0x1401fa024
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1401fa0c0]
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 0x1401fa07d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140257200
nop
add rsp, 0x40
pop rsi
ret
lea rdx, str....._third_partycrashpadcrashpadutil_thread_thread_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x1b
call fcn.14019aad0
mov rcx, rsi
call fcn.14019ab60
lea rdx, [0x1402b6361]
mov r8d, 0xc
mov rcx, rax
call fcn.14001eb4a
mov rcx, rsi
call fcn.14019ab70
jmp 0x1401fa069

Function at 0x140200340
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x14032bdc8]
cmp rsi, 1
ja 0x14020039f
lea rcx, [0x14032bdc8]
call fcn.1400f5910
test al, al
je 0x140200398
xorps xmm0, xmm0
movups xmmword [0x14032bdd0], xmm0
lea rdi, [0x14032bdc8]
lea rsi, [0x14032bdd0]
mov rcx, rsi
xor edx, edx
call fcn.140105ee0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.1400f59c0
jmp 0x14020039f
mov rsi, qword [0x14032bdc8]
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140105e90
Function at 0x140202c50
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
push rbx
mov r8, rcx
xor ebx, ebx
xor eax, eax
xor ecx, ecx
xchg rbx, rsi
cpuid
xchg rbx, rsi
test eax, eax
jle 0x140202d66
mov esi, eax
mov eax, 1
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r9d, ecx
mov r10d, edx
mov r11d, eax
cmp esi, 7
jb 0x140202c9d
mov eax, 7
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
and ebx, 0x20
mov dword [r8], r11d
mov eax, r11d
and eax, 0xf
mov dword [r8 + 8], eax
shr r11d, 0xc
and r11d, 3
mov dword [r8 + 4], r11d
mov eax, r10d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r10d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r10d, 0x1a
and r10b, 1
mov byte [r8 + 0xe], r10b
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 + 0x19], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x140202d37
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
jmp 0x140202d39
xor eax, eax
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
test ebx, ebx
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov eax, 0x80000000
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
cmp eax, 0x80000006
jle 0x140202d9b
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
shr edx, 8
and dl, 1
mov byte [r8 + 0x18], dl
test dl, dl
jne 0x140202dd7
jmp 0x140202da4
movzx edx, byte [r8 + 0x18]
test dl, dl
jne 0x140202dd7
cmp byte [r8 + 0x19], 0
je 0x140202dd7
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
cmp ebx, 0x7263694d
jne 0x140202dd7
cmp ecx, 0x666f736f
jne 0x140202dd7
cmp edx, 0x76482074
jne 0x140202dd7
mov byte [r8 + 0x18], 1
pop rbx
pop rdi
pop rsi
ret

Function at 0x1402058a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x14032beb0]
mov ecx, dword [0x14031d424]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140205929
lea rcx, [0x14032bea0]
call fcn.140105e50
test rax, rax
jne 0x140205916
mov ecx, 4
call fcn.140255d40
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x14032bea0]
mov rcx, rbx
call fcn.140105e50
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.140105e90
test rsi, rsi
je 0x140205916
mov rcx, rsi
call fcn.140255d7c
lea rcx, [0x14032bea0]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140105e50
lea rcx, [0x14032beb0]
call fcn.140255ea0
cmp dword [0x14032beb0], 0xffffffff
jne 0x1402058c8
xorps xmm0, xmm0
movups xmmword [0x14032bea0], xmm0
lea rcx, [0x14032bea0]
lea rdx, [0x140073780]
call fcn.140105ee0
lea rcx, [0x14032beb0]
call fcn.140255f38
jmp 0x1402058c8
Function at 0x140208a90
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14032cbc8]
mov ecx, dword [0x14031d424]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140208af6
lea rcx, [0x14032cbb8]
xor edx, edx
call fcn.140105e90
mov eax, dword [0x14032cbe0]
mov ecx, dword [0x14031d424]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140208b31
lea rcx, [0x14032cbd0]
xor edx, edx
add rsp, 0x28
jmp fcn.140105e90
lea rcx, [0x14032cbc8]
call fcn.140255ea0
cmp dword [0x14032cbc8], 0xffffffff
jne 0x140208ab5
xorps xmm0, xmm0
movups xmmword [0x14032cbb8], xmm0
lea rcx, [0x14032cbb8]
xor edx, edx
call fcn.140105ee0
lea rcx, [0x14032cbc8]
call fcn.140255f38
jmp 0x140208ab5
lea rcx, [0x14032cbe0]
call fcn.140255ea0
cmp dword [0x14032cbe0], 0xffffffff
jne 0x140208ae4
xorps xmm0, xmm0
movups xmmword [0x14032cbd0], xmm0
lea rcx, [0x14032cbd0]
xor edx, edx
call fcn.140105ee0
lea rcx, [0x14032cbe0]
call fcn.140255f38
jmp 0x140208ae4

Function at 0x140209bb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x140209bdb
xor ecx, ecx
lea r9, [0x1402c3e70]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rcx
cmp r8, rcx
jne 0x140209bc0
ret

Function at 0x140212c92
Capabilities:
Create pipe

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r14, qword [rsp + 0xc8]
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [r14], 0xffffffffffffffff
mov esi, 5
cmp ecx, 3
jne 0x140212d87
mov edi, dword [rsp + 0xc0]
mov ebx, dword [rsp + 0xb8]
mov ecx, dword [rsp + 0xb0]
mov r10d, dword [rsp + 0xa8]
mov eax, dword [rsp + 0xa0]
cmp byte [r8 + 0x17], 0
jns 0x140212cf7
mov r8, qword [r8]
mov rsi, qword [rdx]
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x38], 0
mov rcx, r8
mov edx, r9d
mov r8d, eax
mov r9d, r10d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp rax, 0xffffffffffffffff
je 0x140212d71
mov rdi, rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x40]
mov qword [r15], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ebx, ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x30], 3
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9, r15
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, 1
sbb rbx, rbx
or rbx, qword [r15]
jmp 0x140212d78
mov rbx, 0xffffffffffffffff
mov qword [r14], rbx
xor eax, eax
cmp rbx, 0xffffffffffffffff
sete al
lea esi, [rax + rax*4]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140257200
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret