joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400be1b0
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x180], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x1402faf80]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
je 0x1400be29c
lea rdi, [rsp + 0x70]
xor ebx, ebx
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call fcn.1401a5660
mov dword [rdi - 0xc], 0x11c
mov r14, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call r14
mov rcx, rax
mov edx, 1
mov r8b, 3
call r14
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call r14
mov qword [rdi - 8], 6
mov word [rdi + 0x108], 0
lea rcx, [rsp + 0x64]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov edi, 0x80003
test eax, eax
je 0x1400be2a3
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.1400be300
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x1400be2a3
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x1400be2ac
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rbx
mov eax, 0x200
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
mov rcx, rsi
mov edx, edi
mov r8d, 6
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14016cc60
mov rax, rsi
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400c0e20
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400c0e30
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 0x1400c0e51
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400c0e71
cmp byte [r14 + 0x50], 1
je 0x1400c0efc
or edi, 0x20000000
test dil, 8
jne 0x1400c0f07
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x1400c0e8f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x1400c0ea0
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 1
je 0x1400c0f2e
cmp byte [r14 + 0x18], 1
je 0x1400c0f3f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400c0f4f
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 0x1400c0f24
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x1400c0e71
cmp byte [r14 + 0x68], 1
jne 0x1400c0f19
or edi, 0x40000000
jmp 0x1400c0e7b
or edi, 0x10000000
jmp 0x1400c0e7b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400c0ee7
lea rcx, [r14 + 0x20]
call fcn.1400374e0
mov r15, rax
jmp 0x1400c0eab
mov rcx, r14
call fcn.1400374e0
mov r9, rax
jmp 0x1400c0eb9
cmp ebx, 4
jne 0x1400c0f5e
mov edx, 6
jmp 0x1400c0ec6
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400c0f70
mov edx, 7
jmp 0x1400c0ec6
cmp ebx, 1
jne 0x1400c0f7f
mov edx, 4
jmp 0x1400c0ec6
xor edx, edx
jmp 0x1400c0ec6
Function at 0x1400c0e30
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400c0e30
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 0x1400c0e51
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400c0e71
cmp byte [r14 + 0x50], 1
je 0x1400c0efc
or edi, 0x20000000
test dil, 8
jne 0x1400c0f07
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x1400c0e8f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x1400c0ea0
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 1
je 0x1400c0f2e
cmp byte [r14 + 0x18], 1
je 0x1400c0f3f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400c0f4f
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 0x1400c0f24
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x1400c0e71
cmp byte [r14 + 0x68], 1
jne 0x1400c0f19
or edi, 0x40000000
jmp 0x1400c0e7b
or edi, 0x10000000
jmp 0x1400c0e7b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400c0ee7
lea rcx, [r14 + 0x20]
call fcn.1400374e0
mov r15, rax
jmp 0x1400c0eab
mov rcx, r14
call fcn.1400374e0
mov r9, rax
jmp 0x1400c0eb9
cmp ebx, 4
jne 0x1400c0f5e
mov edx, 6
jmp 0x1400c0ec6
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400c0f70
mov edx, 7
jmp 0x1400c0ec6
cmp ebx, 1
jne 0x1400c0f7f
mov edx, 4
jmp 0x1400c0ec6
xor edx, edx
jmp 0x1400c0ec6

Function at 0x1400c0f90
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r15, rcx
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400c0fc8
cmp byte [r15 + 0x50], 1
je 0x1400c105f
or edi, 0x20000000
test dil, 8
jne 0x1400c106a
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x1400c0fe6
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x1400c0ff7
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 1
je 0x1400c1091
cmp byte [r15 + 0x18], 1
je 0x1400c10a2
xor r9d, r9d
cmp ebx, 4
jne 0x1400c1050
mov edx, 6
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
test eax, eax
jne 0x1400c1087
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400c10b2
mov edx, 7
jmp 0x1400c101a
or edi, 0x80000000
jmp 0x1400c0fc8
cmp byte [r15 + 0x68], 1
jne 0x1400c107c
or edi, 0x40000000
jmp 0x1400c0fd2
or edi, 0x10000000
jmp 0x1400c0fd2
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400c103b
lea rcx, [r15 + 0x20]
call fcn.1400374e0
mov r14, rax
jmp 0x1400c1002
mov rcx, r15
call fcn.1400374e0
mov r9, rax
jmp 0x1400c1010
mov edx, 1
test ebx, ebx
je 0x1400c101a
cmp ebx, 1
jne 0x1400c10ce
mov edx, 4
jmp 0x1400c101a
xor edx, edx
jmp 0x1400c101a
Function at 0x1400c17d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x14037e040]
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 0x1400c1830
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x1400c1839
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14016cc60
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x1400c1819
int3
mov rcx, qword [rcx + 8]
jmp 0x1400c17d0

Function at 0x1400c1840
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 [0x14037e040]
xor rax, rsp
mov ebx, 0xffffffff
cmp r8, rbx
cmovb rbx, r8
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x2c]
mov r15, qword [sym.imp.KERNEL32.dll_ReadFile]
mov r12, qword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
mov r9, r14
call r15
test eax, eax
je 0x1400c18e6
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1400c18d2
cmp eax, 0xffffffff
je 0x1400c18e3
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14016cc60
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 0x1400c1881
mov eax, dword [rsp + 0x2c]
jmp 0x1400c18b2
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x1400c18b4

Function at 0x1400c1dd0
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rdi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.1400c1cd0
test rax, rax
jne 0x1400c1e0f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x1400c1e2b
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14016cc60
mov eax, esi
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140124de0
test al, al
je 0x1400c1e81
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xfc
mov r9d, 2
call fcn.1401dd1d0
lea rcx, [rsp + 0x38]
lea rdx, [0x14032cc93]
mov r8d, ntohl
call fcn.1400fd720
mov rcx, rsi
call fcn.1401dd240
xor esi, esi
jmp 0x1400c1e0f

Function at 0x1400c2310
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x14037e040]
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 0x1400c1830
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x1400c1839
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14016cc60
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x1400c1819
int3
mov rcx, qword [rcx + 8]
jmp 0x1400c17d0
Function at 0x1400c46c0
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 [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x1400c4690]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x14039a908]
lea rdx, [0x1400c44e0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400c47b8
cmp dword [0x14039a910], 0
jne 0x1400c47c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x14039a914]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x1400c476c
mov ecx, 1
mov edx, 0x28
call fcn.140083ab0
test rax, rax
je 0x1400c47c5
mov r14, rax
mov ecx, dword [0x14039a914]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400c47bd
lea r15, [0x14039a918]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x14039a920]
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.14016cc60
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140184880
mov rcx, r14
call fcn.140083930
mov rcx, rsi
mov rax, rdi
call qword [0x14036e598]
xor esi, esi
jmp 0x1400c479c

Function at 0x1400c4f50
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 [0x14038ebe8]
cmp ecx, 0xffffffff
je 0x1400c502a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x1400c502a
mov eax, dword [0x14039c190]
mov ecx, dword [0x14038f0a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c5034
mov rbx, qword [0x14039c188]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400c5084
mov rax, qword [0x14039a978]
inc rax
xor ecx, ecx
lea rdx, [0x14039a980]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x1400c5091
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x14039c180]
inc ecx
mov dword [0x14039c180], ecx
mov dword [rax + 0x14], ecx
mov qword [0x14039a978], 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 0x1400c5081
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400c50b0
jmp 0x1400c4f7a
lea rcx, [0x14039c190]
call fcn.14016b76c
cmp dword [0x14039c190], 0xffffffff
jne 0x1400c4f9f
mov ecx, 8
call fcn.14016b6ec
mov rbx, rax
mov qword [rax], 0
mov rcx, rax
call fcn.140113d70
mov qword [0x14039c188], rbx
lea rcx, [0x14039c190]
call fcn.14016b820
jmp 0x1400c4f9f
int3
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1400c4fb7
inc rcx
cmp rcx, 0x100
jne 0x1400c4fca
jmp 0x1400c5010
Function at 0x1400c50b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.14016cc00
sub rsp, rax
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x14038ebe8]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x1400c5164
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400c51a2
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1401a5660
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.14016b75c
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.1401a4fc0
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14016cc60
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.1400e1520
test al, al
je 0x1400c51a5
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x1400c51a8
mov eax, 0xffffffff
lock cmpxchg dword [0x14038ebe8], ecx
je 0x1400c50e8
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x14038ebe8]
mov dword [rsp + 0x2c], ecx
jmp 0x1400c50e8
int3
int3
lea rcx, [rsp + 0x2c]
call fcn.1400e1520
test al, al
je 0x1400c51cd
cmp dword [rsp + 0x2c], 0xffffffff
je 0x1400c51cd
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x1400c517b
int3

Function at 0x1400c51e0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14038ebe8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
jne 0x1400c5208
test rdi, rdi
je 0x1400c5221
call fcn.1400c50b0
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1400db150
Capabilities:
Allocate thread local storage

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

Function at 0x1400e1520
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400e1535
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x1400e26a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x14039d1c0]
mov ecx, dword [0x14038f0a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400e2721
lea rcx, [0x14039d1b0]
call fcn.140144ce0
test rax, rax
jne 0x1400e270e
mov ecx, 4
call fcn.14016b6ec
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x14039d1b0]
mov rcx, rbx
call fcn.140144ce0
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.1400c51e0
test rsi, rsi
jne 0x1400e2764
lea rcx, [0x14039d1b0]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140144ce0
lea rcx, [0x14039d1c0]
call fcn.14016b76c
cmp dword [0x14039d1c0], 0xffffffff
jne 0x1400e26c8
xorps xmm0, xmm0
movups xmmword [0x14039d1b0], xmm0
lea rcx, [0x14039d1b0]
lea rdx, [0x14002dac0]
call fcn.1400c5230
lea rcx, [0x14039d1c0]
call fcn.14016b820
jmp 0x1400e26c8
mov rcx, rsi
call fcn.14016b728
jmp 0x1400e270e

Function at 0x1400e7140
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400e71f0]
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 0x1400e719b
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14016cc60
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.1401250e0
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov rdx, rsi
call fcn.1401dfd60
lea rdx, [0x14031b96a]
mov rcx, rdi
call fcn.1401dc950
mov rcx, rdi
call fcn.1401dfe10
jmp 0x1400e7186
Function at 0x1400f3ae0
Capabilities:
Parse pe header

Disassembly:
cmp rdx, 0x40
jb 0x1400f3b2e
cmp byte [rcx], 0x4d
jne 0x1400f3b2e
cmp byte [rcx + 1], 0x5a
jne 0x1400f3b2e
mov r9d, dword [rcx + 0x3c]
mov r10, rdx
sub r10, r9
xor eax, eax
cmp r10, 0x18
jb 0x1400f3b30
cmp rdx, r9
jbe 0x1400f3b30
cmp r9d, 0x40
jb 0x1400f3b30
mov r10d, r9d
and r10d, 7
jne 0x1400f3b30
cmp byte [rcx + r9], 0x50
jne 0x1400f3b2e
cmp byte [rcx + r9 + 1], 0x45
jne 0x1400f3b2e
cmp byte [rcx + r9 + 2], 0
je 0x1400f3b31
xor eax, eax
ret
cmp byte [rcx + r9 + 3], 0
jne 0x1400f3b2e
lea rax, [r9 + 0x18]
sub rdx, rax
setbe r9b
cmp rdx, 2
setb dl
or dl, r9b
jne 0x1400f3b2e
cmp word [rcx + rax], r8w
sete al
ret
Function at 0x1400fdc60
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400fdca8
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 0x1400fdcb1
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400fdc98
mov qword [rdi], rsi
call fcn.140125100
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.140125100
mov rcx, qword [rdi]
call fcn.140113440
mov qword [rdi], 0
jmp 0x1400fdc86
Function at 0x140108fb0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x1401090ae
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140306e30]
nop dword [rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm4, 0
movdqa xmm8, xmm2
pclmulqdq xmm8, xmm4, 0
movdqa xmm9, xmm1
pclmulqdq xmm9, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
movdqu xmm10, xmmword [rcx]
pxor xmm10, xmm6
pxor xmm0, xmm10
movdqu xmm6, xmmword [rcx + 0x10]
pxor xmm6, xmm7
pxor xmm3, xmm6
movdqu xmm6, xmmword [rcx + 0x20]
pxor xmm6, xmm8
pxor xmm2, xmm6
movdqu xmm6, xmmword [rcx + 0x30]
pxor xmm6, xmm9
pxor xmm1, xmm6
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x140109020
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
pmovzxdq xmm3, qword [0x140306e50]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp rdx, 0x10
jb 0x14010913e
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x140109114
pmovzxdq xmm1, qword [0x140306e50]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x140306e40], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x140113770
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov ebx, ecx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x140392248]
mov ecx, dword [0x14038f0a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14011395c
mov rsi, qword [0x140392240]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1401139a9
movzx ebx, bl
dec ebx
or ebx, 1
test byte [0x1403921f0], 1
mov eax, 1
mov ecx, 8
cmovne ecx, eax
xor ebp, ebp
add ebx, dword [0x1403921f4]
mov dword [0x1403921f4], ebx
cmovne ebp, ecx
mov eax, dword [0x1403921f8]
cmp ebp, eax
je 0x14011393b
test eax, eax
je 0x1401138cc
mov rax, qword [0x140380938]
lea rcx, [0x140113aa0]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x1401139c7
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rdi]
movabs rax, 0x8637bd05af7
cmp rcx, rax
jge 0x140113a24
imul rax, rcx, 0xf4240
cqo
idiv qword [0x140392260]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x140392250]
xor edx, edx
cmp rax, rcx
setns dl
movabs r8, 0x7fffffffffffffff
add r8, rdx
sub rax, rcx
cmovo rax, r8
movabs rdx, 0x8000000000000001
lea r8, [rax + rdx]
mov rcx, qword [0x140392200]
cmp r8, 2
jb 0x1401139d8
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x140392200], rax
mov ecx, dword [0x1403921f8]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x1403921f8], ebp
test ebx, ebx
je 0x14011393b
mov rax, qword [0x140380938]
lea rcx, [0x140113aa0]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x1401139b6
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rdi]
movabs rax, 0x8637bd05af7
cmp rcx, rax
jge 0x1401139f3
imul rax, rcx, 0xf4240
cqo
idiv qword [0x140392260]
mov qword [0x140392250], rax
mov ecx, dword [0x1403921f8]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14016cc60
mov al, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x140392248]
call fcn.14016b76c
cmp dword [0x140392248], 0xffffffff
jne 0x1401137ae
mov ecx, 8
call fcn.14016b6ec
mov rsi, rax
mov qword [rax], 0
mov rcx, rax
call fcn.140113d70
mov qword [0x140392240], rsi
lea rcx, [0x140392248]
call fcn.14016b820
jmp 0x1401137ae
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1401137c6
mov rcx, rdi
call qword [0x14036e598]
mov rax, qword [rdi]
jmp 0x140113928
mov rcx, rdi
call qword [0x14036e598]
mov rax, qword [rdi]
jmp 0x140113860
add rdx, rcx
cmp rdx, 2
setae dl
cmp rcx, rax
sete cl
or cl, dl
jne 0x1401138b9
int3
mov r8, qword [0x140392260]
mov rax, rcx
cqo
idiv r8
imul r9, rax, 0xf4240
imul rax, r8
sub rcx, rax
imul rax, rcx, 0xf4240
cqo
idiv r8
add rax, r9
jmp 0x140113928
mov r8, qword [0x140392260]
mov rax, rcx
cqo
idiv r8
imul r9, rax, 0xf4240
imul rax, r8
sub rcx, rax
imul rax, rcx, 0xf4240
cqo
idiv r8
add rax, r9
jmp 0x14011385b