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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rsi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x188], rax
cmp byte [rcx + 0x17], 0
jns 0x1400593e4
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140059417
mov dil, 1
test al, 0x10
je 0x1400594ec
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.14013d520
mov eax, edi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
ret
cmp dword [0x14033b1a8], 2
jg 0x1400594e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x48]
mov r8d, 0x262
mov r9d, 2
call fcn.1401fea80
lea rcx, [rsp + 0x58]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1401970a4
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x140059473
mov rdx, qword [rsi + 8]
jmp 0x140059478
mov edx, eax
and edx, 0x7f
test rdx, rdx
js 0x1400595c6
test al, al
cmovs rsi, qword [rsi]
xorps xmm0, xmm0
lea rbx, [rsp + 0x30]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov rcx, rsi
mov r8, rbx
call fcn.140111960
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
js 0x1400594b5
and r8d, 0x7f
jmp 0x1400594bf
mov r8, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rcx, rdi
mov rdx, rbx
call fcn.1401970a4
cmp byte [rsp + 0x47], 0
jns 0x1400594db
mov rcx, qword [rsp + 0x30]
call fcn.14013a6ac
lea rcx, [rsp + 0x48]
call fcn.1401feb00
xor edi, edi
jmp 0x1400593fa
cmp dword [0x14033b1a8], 2
jg 0x1400594e5
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x48]
mov r8d, 0x266
mov r9d, 2
call fcn.14012fd40
lea rcx, [rsp + 0x58]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1401970a4
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
js 0x14005953b
mov edx, eax
and edx, 0x7f
jmp 0x14005953f
mov rdx, qword [rsi + 8]
test rdx, rdx
js 0x1400595c9
test al, al
cmovs rsi, qword [rsi]
xorps xmm0, xmm0
lea rbx, [rsp + 0x30]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov rcx, rsi
mov r8, rbx
call fcn.140111960
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
js 0x14005957c
and r8d, 0x7f
jmp 0x140059586
mov r8, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rcx, rdi
mov rdx, rbx
call fcn.1401970a4
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.1401970a4
cmp byte [rsp + 0x47], 0
jns 0x1400595b7
mov rcx, qword [rsp + 0x30]
call fcn.14013a6ac
lea rcx, [rsp + 0x48]
call fcn.1400a0470
jmp 0x1400594e5
int3
int3
Function at 0x14005b663
Capabilities:
Create pipe

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x58], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x1402e6d80]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
jne 0x14005b6f7
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x14005b6ab
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.14013d520
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
xor ebx, ebx
mov cx, 6
xor edx, edx
xor r8d, r8d
call fcn.140138e03
mov edi, 0x80003
test al, al
je 0x14005b6a2
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.140273079
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x14005b6a2
Function at 0x140062610
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14006263c
call fcn.1400a6030
mov qword [rsi], 0
test r14, r14
je 0x140062672
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400626b1
cmp r15, 2
jb 0x14006266a
mov qword [rsi], r14
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
cmp byte [rdi + 0x1f], 0
js 0x1400626ef
lea rax, [rdi + 8]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400a6030
mov rcx, qword [rsi]
call fcn.1400ccd80
mov qword [rsi], 0
jmp 0x14006265c
mov byte [rsi + 0x1f], bl
cmp rcx, r14
ja 0x1400626dc
lea rax, [rcx + rbx*2]
add rax, 2
cmp rax, r14
ja 0x140062739
inc rbx
add rbx, rbx
mov rdx, r14
mov r8, rbx
call fcn.14013efb0
jmp 0x14006268e
mov r14, qword [rdi + 8]
mov rbx, qword [rdi + 0x10]
cmp rbx, 0xa
jbe 0x1400626c7
movabs r15, 0x7fffffffffffffef
cmp rbx, r15
ja 0x140062765
mov r12, rbx
or r12, 7
inc r12
js 0x14006276a
lea rcx, [r12 + r12]
call fcn.14013a6b4
mov rcx, rax
mov qword [rsi + 8], rax
add r15, 0x11
or r15, r12
mov qword [rsi + 0x18], r15
mov qword [rsi + 0x10], rbx
jmp 0x1400626ca
lea rax, str.char_traits::copy_overlapped_range
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__stringchar_traits.h
lea r9, str.__s2_____s1____s2_____s1__n
mov r8d, 0x138
call fcn.140181600
call fcn.140181600
call fcn.140181600
int3
Function at 0x140062eb0
Capabilities:
Check if file exists
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x50]
mov qword [rbx + 0x40], rax
movaps xmm0, xmmword [0x1402e6d80]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.MapImageToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x1b
call fcn.1400b5b90
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140062770
mov rcx, qword [rsi]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x140063023
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor edx, edx
mov r8d, 0x11000002
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
cmp qword [rsi + 0x40], rax
je 0x140062fa1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x140063061
mov rax, rdi
inc rax
cmp rax, 2
jb 0x140062f95
mov qword [rsi + 0x40], rdi
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsi + 0x40]
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14006304c
movabs rbx, 0xfffffffc00000000
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
mov rcx, qword [rsi + 0x30]
mov rax, rcx
and rax, rbx
cmp rax, qword [0x140336a08]
je 0x140063050
and rbx, rdi
cmp rbx, qword [0x140336a08]
je 0x140063057
mov qword [rsi + 0x30], rdi
test rdi, rdi
je 0x14006304c
lea rax, [0x1402e2de8]
lea rcx, [rsp + 0x30]
mov qword [rcx], rax
mov qword [rcx + 8], rdi
call fcn.14012a746
mov eax, dword [rax + 0x50]
mov qword [rsi + 0x38], rax
mov dil, 1
lea rcx, [rsp + 0x50]
call fcn.140062a80
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14013d520
mov eax, edi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
xor edi, edi
jmp 0x140063023
call fcn.14010fab2
jmp 0x140062fec
mov rcx, rdi
call fcn.14013931e
jmp 0x140062ff8
call fcn.1400a6030
mov r14, qword [rsi + 0x40]
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x140063092
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x14017aab5.0]
mov qword [rsi + 0x40], 0
jmp 0x140062f80
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x140063076

Function at 0x140064b50
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x1403413f8], 0
jne 0x140064b8d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140064b80
mov dword [rdi], eax
mov dword [0x140341400], eax
mov qword [0x1403413f8], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3
Function at 0x140064c50
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
cmp qword [0x1403452b0], 0
jne 0x140064c85
lea rcx, [0x1402f0b7e]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x1403452b0], rax
test rsi, rsi
je 0x140064caf
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 0x140064cbe
sub rsi, rbx
jne 0x140064cb9
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
add rdi, rbx
jmp 0x140064c90
int3

Function at 0x140065570
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 0x140065692
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 0x1400656c8
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 0x1400656d0
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 0x1400656d4
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 0x1400656da
pop rdi
pop rsi
ret
xor r10d, r10d
jmp 0x1400655cc
xor eax, eax
jmp 0x140065661
mov dl, byte [r8 + 0x19]
jmp 0x1400656c1
cmp byte [r8 + 0x1a], 0
je 0x1400656c5
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x1400656c5
cmp ecx, 0x666f736f
jne 0x1400656c5
cmp edx, 0x76482074
jne 0x1400656c5
mov byte [r8 + 0x19], 1
jmp 0x1400656c5

Function at 0x1400662c0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1400662fc
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 0x140066306
add rdi, rbx
sub rsi, rbx
jne 0x1400662da
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x140066f20
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 [0x140337724]
cmp ecx, 0xffffffff
jne 0x140066fd0
call fcn.14006b200
call fcn.1400cd4c0
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140066fc5
mov rax, qword [0x140342bb8]
inc rax
xor ecx, ecx
lea rdx, [0x140342bc0]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x140066fe3
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x1403443c0]
inc ecx
mov dword [0x1403443c0], ecx
mov dword [rax + 0x14], ecx
mov qword [0x140342bb8], 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 0x140066ff5
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x140066f56
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x140066f3c
jmp 0x140066f41
inc rcx
cmp rcx, 0x100
jne 0x140066f69
jmp 0x140066fab
int3
Function at 0x140067c10
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x1402e6d80]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, [0x1402f1230]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x4ee
call fcn.1400b5b90
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140062770
cmp byte [rdi + 0x17], 0
jns 0x140067c90
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.140062a80
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14013d520
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x140067cd0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2c8
mov rsi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x270]
mov qword [rdi + 0x40], rax
movaps xmm0, xmmword [0x1402e6d80]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x1402f121b]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x4de
call fcn.1400b5b90
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140062770
lea rbx, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.14013f660
mov word [rbx], 0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
dec edi
cmp edi, 0x103
ja 0x140067de5
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14013ad74
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400afe70
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400e8670
cmp byte [rsi + 0x17], 0
js 0x140067e1a
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
mov byte [rsp + 0x5f], 0
mov word [rsp + 0x48], 0
cmp byte [rsp + 0x47], 0
jns 0x140067de5
mov rcx, qword [rsp + 0x30]
call fcn.14013a6ac
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x270]
call fcn.140062a80
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.14013d520
mov eax, ebx
add rsp, 0x2c8
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsi]
call fcn.14013a6ac
jmp 0x140067db7
Function at 0x140068590
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov byte [rcx + 8], 0
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
lea rax, [0x1402e36b8]
mov qword [rcx], rax
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp qword [rsi + 0x18], rax
je 0x140068600
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x14006860b
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400685f8
mov qword [rsi + 0x18], rdi
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400a6030
mov rcx, qword [rsi + 0x18]
call fcn.1400ccd80
mov qword [rsi + 0x18], 0
jmp 0x1400685e5

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

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
movapd xmmword [rsp + 0x40], xmm8
movapd xmmword [rsp + 0x30], xmm7
movapd xmmword [rsp + 0x20], xmm6
mov rdi, rcx
mov ecx, 0x20
call fcn.14013a6b4
mov rsi, rax
mov rbx, qword [rdi + 0x20]
mov r14, rbx
xorpd xmm0, xmm0
movupd xmmword [rax], xmm0
mov qword [rax + 0x10], 0
inc r14
je 0x14006b11f
mov rax, r14
shr rax, 0x3e
jne 0x14006b12e
lea rcx, [r14*4]
call fcn.14013a6b4
mov qword [rsi], rax
lea rdx, [rax + r14*4]
mov qword [rsi + 0x10], rdx
lea rcx, [rbx*4 + 4]
xor r8d, r8d
mov r9, rax
add r9, r8
je 0x14006b128
mov dword [r9], 0
add r8, 4
cmp rcx, r8
jne 0x14006afbc
mov qword [rsi + 8], rdx
mov dword [rsi + 0x1c], 0
mov rcx, rdx
sub rcx, rax
mov r8, rcx
sar r8, 2
lea r9, [r8 - 1]
cmp r9, 2
jb 0x14006b0c5
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rdi + 0x14]
cvtsi2sd xmm1, dword [rdi + 0x18]
lea r10, [r8 - 3]
movq xmm3, r10
punpckldq xmm3, xmmword [0x1402eee10]
subpd xmm3, xmmword [0x1402eee20]
movapd xmm2, xmm3
unpckhpd xmm2, xmm3
addsd xmm2, xmm3
cmp r8, 1
mov r11, r8
adc r11, 0
mov edi, 1
movdqa xmm3, xmmword [0x1402eee10]
movapd xmm4, xmmword [0x1402eee20]
movsd xmm5, qword [0x1402d3ac0]
cmp r11, rdi
je 0x14006b12b
movq xmm6, r10
punpckldq xmm6, xmm3
subpd xmm6, xmm4
movapd xmm7, xmm6
unpckhpd xmm7, xmm6
addsd xmm7, xmm6
mulsd xmm7, xmm0
lea rbx, [rdi - 1]
movq xmm6, rbx
punpckldq xmm6, xmm3
subpd xmm6, xmm4
movapd xmm8, xmm6
unpckhpd xmm8, xmm6
addsd xmm8, xmm6
mulsd xmm8, xmm1
addsd xmm8, xmm7
divsd xmm8, xmm2
addsd xmm8, xmm5
cvttsd2si ebx, xmm8
mov dword [rax + rdi*4], ebx
dec r10
inc rdi
cmp rdi, r9
jne 0x14006b058
cmp rdx, rax
je 0x14006b131
mov dword [rax + r8*4 - 4], 0x7fffffff
mov rdx, rcx
shr rdx, 2
xor r8d, r8d
lea r9, [0x1402fc7e0]
movzx r10d, dl
movzx r11d, byte [rax + r8]
xor r11d, r10d
shr edx, 8
xor edx, dword [r9 + r11*4]
inc r8
cmp rcx, r8
jne 0x14006b0e4
mov dword [rsi + 0x18], edx
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
xor eax, eax
xor edx, edx
jmp 0x14006afdc
int3
int3
int3
int3
Function at 0x14006b200
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1028
call fcn.14013d4c0
sub rsp, rax
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov esi, dword [0x140337724]
cmp esi, 0xffffffff
jne 0x14006b253
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14006b2e6
mov esi, eax
mov eax, 0xffffffff
lock cmpxchg dword [0x140337724], esi
jne 0x14006b2d3
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14006b2e9
lea rdi, [rsp + 0x20]
mov r8d, 0x1000
mov rcx, rdi
xor edx, edx
call fcn.14013f660
lea rdx, [rsp + 0x23]
mov r14, qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, esi
call r14
mov ecx, 0x1000
call fcn.14013a834
mov rbx, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rdi
call fcn.14013efb0
mov rdx, rbx
or rdx, 3
mov ecx, esi
call r14
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14013d520
mov rax, rbx
add rsp, 0x1028
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov esi, dword [0x140337724]
jmp 0x14006b253
int3
int3
Function at 0x14006cd00
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x14006cdc4
cmp qword [rsi], 0
jne 0x14006cdc4
cmp dword [rsi + 0x14], 0
jne 0x14006cdc4
cmp qword [rsi + 8], 0
jne 0x14006cdc4
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x14006cd74
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14006cdec
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14006cd6c
mov qword [rsi], r14
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x14006cdae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x14006cdd4
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14006cda6
mov qword [rsi + 8], r14
call fcn.1400a6030
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 rdi
pop rsi
pop r14
ret
mov rcx, rsi
call fcn.14006cbd0
mov rax, qword [rsi]
jmp 0x14006cd3a
call fcn.1400a6030
mov rcx, qword [rsi + 8]
call fcn.1400ccd80
mov qword [rsi + 8], 0
jmp 0x14006cd93
call fcn.1400a6030
mov rcx, qword [rsi]
call fcn.1400ccd80
mov qword [rsi], 0
jmp 0x14006cd5a
Function at 0x1400707e0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov ebx, r9d
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov r15, qword [rsp + 0xb0]
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x48], rax
test r15, r15
je 0x14007082c
mov eax, 1
lock xadd dword [r15 + 8], eax
cmp eax, 0x7fffffff
je 0x1400709a2
mov r12, qword [rsp + 0xb8]
mov dword [rsi + 8], 0
mov qword [rsi + 0x10], r15
lea rax, [0x1402e4260]
mov qword [rsi], rax
movabs rax, 0xfffffffc00000000
and rax, r14
cmp rax, qword [0x140336a08]
jne 0x140070867
mov rcx, r14
call fcn.14010ecc8
mov qword [rsi + 0x18], r14
mov rax, qword [r12]
mov qword [rsi + 0x20], rax
test rax, rax
jne 0x14007094b
xor eax, eax
mov qword [rsi + 0x28], rax
lea r14, [rsi + 0x30]
mov cl, byte [rdi + 2]
mov byte [rsp + 0x32], cl
movzx ecx, word [rdi]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x40], rax
mov ecx, dword [rdi + 8]
mov dword [rsp + 0x38], ecx
mov dword [rdi + 8], 0
mov r12, qword [rdi + 0x10]
mov qword [rdi + 0x10], rax
cmp r12, 0xffffffffffffffff
je 0x1400708c0
test r12, r12
je 0x1400708e5
call fcn.1400a6030
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
lea rax, [r12 + 1]
cmp rax, 2
jb 0x1400708dd
mov qword [rsp + 0x40], r12
call fcn.1400a6030
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x30]
mov rcx, r14
mov rdx, rsi
mov r9d, ebx
call fcn.14009dcc0
xorps xmm0, xmm0
movups xmmword [rsi + 0x58], xmm0
movups xmmword [rsi + 0x48], xmm0
movups xmmword [rsi + 0x38], xmm0
mov byte [rsi + 0x68], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test rax, rax
je 0x1400709a5
mov rax, qword [rdi + 0x10]
inc rax
cmp rax, 2
jae 0x140070966
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14013d520
mov rax, rsi
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, 1
lock xadd dword [rax], ecx
test ecx, ecx
jle 0x1400709ab
cmp ecx, 0x7fffffff
jne 0x14007087c
jmp 0x1400709a8
call fcn.1400a6030
mov rbx, qword [rdi + 0x10]
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x140070994
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x14017aab5.0]
mov qword [rdi + 0x10], 0
jmp 0x14007092c
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x14007097b
int3
int3
int3
int3
Function at 0x140073996
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140080240]
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 0x1400739f1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14013d520
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.1400b5b90
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov rdx, rsi
call fcn.1401ffe00
lea rdx, [0x140301018]
mov rcx, rdi
call fcn.1402028ba
mov rcx, rdi
call fcn.1401ffe30
jmp 0x1400739dc