joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140168040
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rdi, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.140167f60
test rax, rax
jne 0x14016807f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x14016809b
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14024c3c0
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1401ee3d0
test al, al
jne 0x1401680ad
xor esi, esi
jmp 0x14016807f
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.1402c61f0
lea rcx, [rsp + 0x40]
lea rdx, [0x1403e1847]
mov r8d, ntohl
call fcn.1402885e0
mov rcx, rsi
call fcn.1402c6270
jmp 0x1401680a9

Function at 0x140168590
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x14042f038]
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 0x140167ab0
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x140167ab9
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14024c3c0
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x140167a99
int3
mov rcx, qword [rcx + 8]
jmp 0x140167a50

Function at 0x14016c250
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14016c260
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 0x14016c281
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14016c2a1
cmp byte [r14 + 0x68], 0
jne 0x14016c365
or edi, 0x20000000
test dil, 8
jne 0x14016c31b
xor r15d, r15d
cmp byte [r14 + 0x70], 0
mov r12d, 0
je 0x14016c2bb
mov r12, qword [r14 + 0x78]
cmp byte [r14 + 0x50], 0
mov r13d, 0
je 0x14016c2cc
mov r13, qword [r14 + 0x58]
cmp byte [r14 + 0x28], 0
jne 0x14016c330
cmp byte [r14], 0
jne 0x14016c33e
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14016c34f
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 0x14016c35b
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [r14 + 0x88], 0
je 0x14016c382
or edi, 0x40000000
jmp 0x14016c2a7
lea rcx, [r14 + 0x30]
call fcn.1400a9500
mov r15, rax
jmp 0x14016c2d3
add r14, 8
mov rcx, r14
call fcn.1400a9500
mov r9, rax
jmp 0x14016c2dc
cmp ebx, 4
jne 0x14016c370
mov edx, 6
jmp 0x14016c2e5
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14016c306
or edi, 0x80000000
jmp 0x14016c2a1
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14016c38d
mov edx, 7
jmp 0x14016c2e5
or edi, 0x10000000
jmp 0x14016c2a7
cmp ebx, 1
jne 0x14016c39c
mov edx, 4
jmp 0x14016c2e5
xor edx, edx
jmp 0x14016c2e5
Function at 0x14016c260
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14016c260
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 0x14016c281
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14016c2a1
cmp byte [r14 + 0x68], 0
jne 0x14016c365
or edi, 0x20000000
test dil, 8
jne 0x14016c31b
xor r15d, r15d
cmp byte [r14 + 0x70], 0
mov r12d, 0
je 0x14016c2bb
mov r12, qword [r14 + 0x78]
cmp byte [r14 + 0x50], 0
mov r13d, 0
je 0x14016c2cc
mov r13, qword [r14 + 0x58]
cmp byte [r14 + 0x28], 0
jne 0x14016c330
cmp byte [r14], 0
jne 0x14016c33e
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14016c34f
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 0x14016c35b
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [r14 + 0x88], 0
je 0x14016c382
or edi, 0x40000000
jmp 0x14016c2a7
lea rcx, [r14 + 0x30]
call fcn.1400a9500
mov r15, rax
jmp 0x14016c2d3
add r14, 8
mov rcx, r14
call fcn.1400a9500
mov r9, rax
jmp 0x14016c2dc
cmp ebx, 4
jne 0x14016c370
mov edx, 6
jmp 0x14016c2e5
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14016c306
or edi, 0x80000000
jmp 0x14016c2a1
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14016c38d
mov edx, 7
jmp 0x14016c2e5
or edi, 0x10000000
jmp 0x14016c2a7
cmp ebx, 1
jne 0x14016c39c
mov edx, 4
jmp 0x14016c2e5
xor edx, edx
jmp 0x14016c2e5

Function at 0x140173350
Capabilities:
Allocate thread local storage

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

Function at 0x140176fd0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x140451d40]
mov ecx, dword [0x140441a2c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14017700d
lea rcx, [0x140451d30]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.1401fb790
lea rcx, [0x140451d40]
call fcn.14024ad30
cmp dword [0x140451d40], 0xffffffff
jne 0x140176ff9
xorps xmm0, xmm0
movups xmmword [0x140451d30], xmm0
lea rcx, [0x140451d30]
xor edx, edx
call fcn.1400f9a00
lea rcx, [0x140451d40]
call fcn.14024adc8
jmp 0x140176ff9
Function at 0x140177050
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140451d40]
mov ecx, dword [0x140441a2c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140177085
lea rcx, [0x140451d30]
add rsp, 0x28
jmp fcn.1401fb750
lea rcx, [0x140451d40]
call fcn.14024ad30
cmp dword [0x140451d40], 0xffffffff
jne 0x140177075
xorps xmm0, xmm0
movups xmmword [0x140451d30], xmm0
lea rcx, [0x140451d30]
xor edx, edx
call fcn.1400f9a00
lea rcx, [0x140451d40]
call fcn.14024adc8
jmp 0x140177075

Function at 0x1401782c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [0x140451d60]
cmp rdi, 1
jbe 0x1401782e9
mov rcx, rdi
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1401fb790
lea rcx, [0x140451d60]
call fcn.1400ede50
test al, al
je 0x14017832e
xorps xmm0, xmm0
movups xmmword [0x140451d68], xmm0
lea rbx, [0x140451d60]
lea rdi, [0x140451d68]
mov rcx, rdi
xor edx, edx
call fcn.1400f9a00
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.1400edf10
jmp 0x1401782d7
mov rdi, qword [0x140451d60]
jmp 0x1401782d7
Function at 0x140179520
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rcx]
mov rbx, qword [rsi + 8]
sub rbx, rcx
sar rbx, 3
lea rdx, [rbx + 1]
mov rax, rdx
shr rax, 0x3d
jne 0x14017966e
movabs rax, 0x1fffffffffffffff
mov r8, qword [rsi + 0x10]
sub r8, rcx
mov r14, r8
sar r14, 2
cmp r14, rdx
cmovbe r14, rdx
movabs rcx, 0x7ffffffffffffff8
cmp r8, rcx
cmovae r14, rax
test r14, r14
je 0x140179673
cmp r14, rax
ja 0x14017967a
lea rcx, [r14*8]
call fcn.14024abdc
shl rbx, 3
add rbx, rax
je 0x14017967f
mov rcx, qword [rdi]
mov qword [rbx], rcx
test rcx, rcx
je 0x1401795cb
mov edx, 1
lock xadd dword [rcx + 8], edx
cmp edx, 0x7fffffff
je 0x1401796ab
lea rax, [rax + r14*8]
lea rcx, [rbx + 8]
mov rdi, qword [rsi]
mov rdx, qword [rsi + 8]
cmp rdx, rdi
je 0x140179657
mov r8, qword [rdx - 8]
mov qword [rbx - 8], r8
mov qword [rdx - 8], 0
lea r8, [rdx - 8]
add rbx, 0xfffffffffffffff8
mov rdx, r8
cmp r8, rdi
jne 0x1401795df
mov rdi, qword [rsi]
mov r14, qword [rsi + 8]
mov qword [rsi], rbx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
cmp r14, rdi
je 0x140179641
add r14, 0xfffffffffffffff8
test r14, r14
je 0x1401796ae
mov rcx, qword [r14]
test rcx, rcx
je 0x140179635
lock dec dword [rcx + 8]
je 0x1401796da
lea rax, [r14 - 8]
cmp r14, rdi
mov r14, rax
jne 0x14017961a
test rdi, rdi
je 0x140179664
mov rcx, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.14024ac18
mov qword [rsi], rbx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
jmp 0x140179641
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140264f20
xor eax, eax
jmp 0x14017959d
call fcn.1402885d0
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.14028c680
int3
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x3f
call fcn.14028c680
mov edx, 1
call fcn.140198720
jmp 0x140179635
Function at 0x14017bf60
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 [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x14017bf30]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x140451e80]
lea rdx, [0x14017bd80]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017c069
cmp dword [0x140451e88], 0
jne 0x14017c076
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x140451e8c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x14017c01d
mov ecx, 0x28
call fcn.140218e70
test rax, rax
je 0x14017c076
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x20], 0
mov ecx, dword [0x140451e8c]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14017c06e
lea r15, [0x140451e90]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x140451ea0]
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.14024c3c0
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140264f20
mov rcx, r14
call fcn.140218eb0
mov rcx, rsi
mov rax, rdi
call qword [case.0x1402ceac0.0]
xor esi, esi
jmp 0x14017c04d

Function at 0x14017c7e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x14017c81c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14017c826
add rdi, rbx
sub rsi, rbx
jne 0x14017c7fa
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140264f20
int3
Function at 0x14018d880
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov eax, dword [0x140452418]
mov ecx, dword [0x140441a2c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14018d8e4
cmp rdi, rsi
je 0x14018d8d9
mov eax, 0xffffffff
lea rcx, [0x140452018]
mov dl, byte [rdi]
xor dl, al
movzx edx, dl
shr eax, 8
xor eax, dword [rcx + rdx*4]
inc rdi
cmp rdi, rsi
jne 0x14018d8c0
not eax
jmp 0x14018d8db
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x140452418]
call fcn.14024ad30
cmp dword [0x140452418], 0xffffffff
jne 0x14018d8af
lea rbx, [0x140452018]
mov r8d, 0x400
mov rcx, rbx
mov dl, 0xaa
call fcn.14024e4f0
mov dl, 1
xor ecx, ecx
mov eax, 0xedb88320
test dl, 1
je 0x14018d9f7
mov r9d, ecx
shl r9d, 0x1e
sar r9d, 0x1f
and r9d, eax
mov r8d, ecx
and r8d, 1
neg r8d
and r8d, eax
mov edx, ecx
shr edx, 1
xor edx, r8d
mov r8d, edx
shr r8d, 1
xor r8d, r9d
mov r9d, r8d
shl r9d, 0x1a
sar r9d, 0x1f
and r9d, eax
shl edx, 0x1a
sar edx, 0x1f
and edx, 0x76dc4190
mov r10d, ecx
shl r10d, 0x1a
sar r10d, 0x1f
and r10d, 0x3b6e20c8
mov r11d, ecx
shl r11d, 0x1b
sar r11d, 0x1f
and r11d, 0x1db71064
xor r11d, r10d
mov r10d, ecx
shl r10d, 0x1c
sar r10d, 0x1f
and r10d, 0xedb8832
mov ebp, ecx
shl ebp, 0x1d
sar ebp, 0x1f
and ebp, 0x76dc419
xor ebp, r10d
xor ebp, r11d
shr r8d, 6
xor r8d, ebp
xor r8d, edx
xor r8d, r9d
mov dword [rbx], r8d
cmp rcx, 0xff
lea r8, [rcx + 1]
setb dl
add rbx, 4
mov rcx, r8
cmp r8, 0x100
jne 0x14018d919
lea rcx, [0x140452418]
call fcn.14024adc8
jmp 0x14018d8af
lea rax, str.out_of_bounds_access_in_std::array_T__N_
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_array
lea r9, str.__n____Size
mov r8d, 0xda
call fcn.14028c680
int3
Function at 0x140191ed0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x10]
cmp r15, qword [rcx + 0x18]
jne 0x140191fd9
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x140191f3e
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r14, [rax + rcx]
inc r14
shr r14, 1
shl r14, 3
mov rcx, rbx
sub rcx, r14
mov r8, r15
sub r8, rbx
mov rdx, rbx
call fcn.14024de40
sub r15, r14
mov qword [rsi + 0x10], r15
sub qword [rsi + 8], r14
jmp 0x140191fd9
mov rax, r15
sub rax, r14
sar rax, 2
cmp r15, r14
mov r12d, 1
cmovne r12, rax
mov rax, r12
shr rax, 0x3d
jne 0x140192023
lea rcx, [r12*8]
call fcn.14024abdc
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rcx
sub r15, rbx
je 0x140191fb2
mov r8, r15
sar r8, 3
and r15, 0xfffffffffffffff8
mov rdx, r15
add rdx, rcx
shl r8, 3
xor r9d, r9d
mov r10, rcx
add r10, r9
je 0x140191ff7
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp r8, r9
jne 0x140191f9a
lea r8, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], r8
mov r15, rdx
test r14, r14
je 0x140191fd9
mov rcx, r14
call fcn.14024ac18
mov r15, qword [rsi + 0x10]
test r15, r15
je 0x140191ff7
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.14028c680
call fcn.1402885d0
int3
Function at 0x140192030
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x140192054
mov r14, rbx
jmp 0x140192145
mov r15, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
cmp r15, rax
jae 0x1401920a9
sub rax, r15
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r12, [rax + rcx]
inc r12
sar r12, 1
lea r14, [r15 + r12*8]
sub r15, rbx
je 0x140192098
sub r14, r15
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.14024de40
mov rbx, qword [rsi + 0x10]
mov qword [rsi + 8], r14
lea rax, [rbx + r12*8]
mov qword [rsi + 0x10], rax
jmp 0x140192145
mov rcx, rax
sub rcx, rbx
sar rcx, 2
cmp rax, rbx
mov r12d, 1
cmovne r12, rcx
mov rax, r12
shr rax, 0x3d
jne 0x140192190
lea rcx, [r12*8]
call fcn.14024abdc
lea r14, [r12 + r12]
add r14, 6
and r14, 0xfffffffffffffff8
add r14, rax
mov rcx, r14
sub r15, rbx
je 0x140192121
mov rdx, r15
sar rdx, 3
and r15, 0xfffffffffffffff8
mov rcx, r15
add rcx, r14
shl rdx, 3
xor r8d, r8d
mov r9, r14
add r9, r8
je 0x140192164
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x140192109
lea rdx, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
test rbx, rbx
je 0x140192145
mov rcx, rbx
call fcn.14024ac18
mov r14, qword [rsi + 8]
add r14, 0xfffffffffffffff8
je 0x140192164
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 8], 0xfffffffffffffff8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.14028c680
call fcn.1402885d0
int3
Function at 0x140196b40
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x140196c62
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x140196c98
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x140196ca0
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
test edi, edi
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x140196ca4
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x140196caa
pop rdi
pop rsi
ret
xor r10d, r10d
jmp 0x140196b9c
xor eax, eax
jmp 0x140196c31
mov dl, byte [r8 + 0x19]
jmp 0x140196c91
cmp byte [r8 + 0x1a], 0
je 0x140196c95
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x140196c95
cmp ecx, 0x666f736f
jne 0x140196c95
cmp edx, 0x76482074
jne 0x140196c95
mov byte [r8 + 0x19], 1
jmp 0x140196c95

Function at 0x140197c40
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x1404524a0]
mov ecx, dword [0x140441a2c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140197cc1
lea rcx, [0x140452490]
call fcn.1401fb750
test rax, rax
jne 0x140197cae
mov ecx, 4
call fcn.14024abdc
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x140452490]
mov rcx, rbx
call fcn.1401fb750
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.1401fb790
test rsi, rsi
jne 0x140197d04
lea rcx, [0x140452490]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1401fb750
lea rcx, [0x1404524a0]
call fcn.14024ad30
cmp dword [0x1404524a0], 0xffffffff
jne 0x140197c68
xorps xmm0, xmm0
movups xmmword [0x140452490], xmm0
lea rcx, [0x140452490]
lea rdx, [0x1400de7a0]
call fcn.1400f9a00
lea rcx, [0x1404524a0]
call fcn.14024adc8
jmp 0x140197c68
mov rcx, rsi
call fcn.14024ac18
jmp 0x140197cae
Function at 0x14019c430
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x14019c4c0]
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 0x14019c489
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14024c3c0
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.14031b5b0
lea rdx, [0x1403d0496]
mov rcx, rsi
call fcn.1402e1e70
mov rcx, rsi
call fcn.14031b5e0
jmp 0x14019c475
Function at 0x1401bc520
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1401bc55c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1401bc566
add rdi, rbx
sub rsi, rbx
jne 0x1401bc53a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x1401cbe50
Capabilities:
Decompress data using quicklz

Disassembly:
mov r8d, dword [rdx]
mov eax, r8d
and eax, 0xf800d000
cmp eax, 0xf0008000
sete al
mov r9d, r8d
not r9d
test r9d, 0x3c00000
setne r9b
and r9b, al
test cl, 1
sete r10b
lea eax, [rcx + 0x100000]
cmp eax, 0x200000
setb al
and al, r10b
and al, r9b
cmp al, 1
jne 0x1401cbeee
mov r9d, ecx
shr r9d, 1
and r9d, 0x7ff
and r8d, 0xfbc0d000
mov r10d, ecx
shl r10d, 6
and r10d, 0x4000000
mov r11d, ecx
shl r11d, 4
and r11d, 0x3f0000
or r11d, r10d
mov r10d, ecx
shr r10d, 5
and r10d, 0x2000
or r10d, r11d
shr ecx, 8
and ecx, 0x800
or ecx, r10d
or ecx, r9d
or ecx, r8d
mov dword [rdx], ecx
ret

Function at 0x1401cbf90
Capabilities:
Decompress data using quicklz

Disassembly:
mov eax, edx
or eax, ecx
test al, 1
jne 0x1401cc048
sub edx, ecx
lea ecx, [rdx - 4]
and ecx, 1
lea r9d, [rcx + rdx]
add r9d, 0xffffc
xor eax, eax
cmp r9d, 0x1fffff
ja 0x1401cc047
add ecx, edx
add ecx, 0xfffffffc
mov edx, ecx
and edx, 1
jne 0x1401cc047
mov edx, dword [r8]
mov r9d, edx
and r9d, 0xf800d000
cmp r9d, 0xf0008000
jne 0x1401cc047
mov r9d, edx
and r9d, 0x3c00000
cmp r9d, 0x3c00000
je 0x1401cc047
mov eax, ecx
shr eax, 1
and eax, 0x7ff
and edx, 0xfbc0d000
mov r9d, ecx
shl r9d, 6
and r9d, 0x4000000
mov r10d, ecx
shl r10d, 4
and r10d, 0x3f0000
or r10d, r9d
mov r9d, ecx
shr r9d, 5
and r9d, 0x2000
or r9d, r10d
shr ecx, 8
and ecx, 0x800
or ecx, r9d
or ecx, eax
or ecx, edx
mov dword [r8], ecx
mov al, 1
ret
xor eax, eax
ret

Function at 0x1401d1cf0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1401d1d38
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 0x1401d1d41
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1401d1d28
mov qword [rdi], rsi
call fcn.1401ee3c0
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.1401ee3c0
mov rcx, qword [rdi]
call fcn.140201a20
mov qword [rdi], 0
jmp 0x1401d1d16