joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10000bae0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100011df8], rdi
je 0x10000bb40
cmp rax, rdi
jne 0x10000bb33
mov r12d, 1
jmp 0x10000bb40
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10000bb19
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bb55
lea ecx, [rax + 0x1e]
call fcn.100136000
jmp 0x10000bbbc
mov eax, dword [0x100011df0]
cmp eax, ebx
jne 0x10000bbb2
mov dword [0x100011df0], 1
lea r13, [0x100001448]
lea rdi, [0x100001430]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x10000bba4
cmp eax, ebx
jne 0x10000bba4
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x10000bb99
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x10000bb82
cmp eax, ebx
je 0x10000bbbc
mov eax, 0xff
jmp 0x10000bd04
mov dword [0x1000115d4], 1
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bbe4
lea rdx, [0x100001428]
lea rcx, [0x1000013f0]
call sub.msvcrt.dll__initterm
mov dword [0x100011df0], 2
cmp r12d, ebx
jne 0x10000bbf3
mov rax, rbx
xchg qword [0x100011df8], rax
cmp qword [0x100011e10], rbx
je 0x10000bc1b
lea rcx, [0x100011e10]
call fcn.10000c0cc
cmp eax, ebx
je 0x10000bc1b
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100011e10]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x10000bc31
mov eax, 0xff
jmp 0x10000bd04
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc4c
cmp edx, ebx
jne 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc62
cmp word [rcx], 0x20
ja 0x10000bc62
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc4c
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100002d14
mov dword [0x1000115d0], eax
cmp dword [0x1000115b4], ebx
jne 0x10000bca0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1000115d4], ebx
jne 0x10000bcb4
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1000115d0]
jmp 0x10000bd04
cmp word [rcx], 0x22
jne 0x10000bcc9
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc3d
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.10000c1e0
add rsp, 0x28
jmp 0x10000bae0
Function at 0x140006ac0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, 1
xor eax, eax
lock cmpxchg qword [rsi], rcx
sete bl
jne 0x140006b89
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14012d2c0
mov eax, ebx
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [fcn.140116a00]
cmp rax, r15
jne 0x140006c1a
mov qword [rsp + 0x28], 0
mov rcx, rdi
call r12
mov rax, qword [rsp + 0x28]
cmp rax, r14
jge 0x140006c49
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402439e8]
mov rcx, qword [rsp + 0x20]
xor edx, edx
cmp rax, rcx
setns dl
add rdx, r13
sub rax, rcx
cmovo rax, rdx
cmp rax, 0x3e7
jg 0x140006c3a
xor ecx, ecx
call rbp
mov rax, qword [rsi]
cmp rax, 1
je 0x140006b17
jmp 0x140006af7
mov rax, qword [rsi]
cmp rax, 1
jne 0x140006af7
movabs r14, 0x8637bd05af7
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x20], rax
mov rax, qword [fcn.140116a00]
lea r15, [0x140116ab0]
cmp rax, r15
jne 0x140006c2d
lea rdi, [rsp + 0x28]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
cmp rax, r14
jge 0x140006c70
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402439e8]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x28]
mov r12, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movabs r13, 0x7fffffffffffffff
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140006b17
mov rcx, rdi
call qword [0x1402233e0]
mov rax, qword [rsp + 0x28]
jmp 0x140006b54
lea rcx, [rsp + 0x20]
call qword [0x1402233e0]
jmp 0x140006bf8
mov ecx, 0x3e8
call fcn.140182ff0
jmp 0x140006b7b
mov rcx, qword [0x1402439e8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140006b54
mov rcx, qword [0x1402439e8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140006bf3
Function at 0x14000daf0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140243700]
mov ecx, dword [0x1402403d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000db50
lea rsi, [0x1402436f8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14012d2c0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140243700]
call fcn.14012ad90
cmp dword [0x140243700], 0xffffffff
jne 0x14000db2c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140164570
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.14012aa30
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140243748]
mov ecx, dword [0x1402403d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000dc10
lea r8, [0x140243718]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.1400364a0
mov qword [0x1402436f8], rsi
lea rcx, [0x140243700]
call fcn.14012ad24
jmp 0x14000db2c
lea rcx, [0x140243748]
call fcn.14012ad90
cmp dword [0x140243748], 0xffffffff
jne 0x14000dbe1
xorps xmm0, xmm0
movups xmmword [0x140243738], xmm0
movups xmmword [0x140243728], xmm0
movups xmmword [0x140243718], xmm0
lea rcx, [0x140243718]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140243748]
call fcn.14012ad24
jmp 0x14000dbe1

Function at 0x14000e0c0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x1402403d8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 0x120], 0
je 0x14000e17d
mov eax, dword [0x1402403d8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x188], 1
je 0x14000e179
mov ecx, dword [rsi + 0x1928]
test ecx, ecx
jne 0x14000e179
mov ecx, 1
lock xadd dword [rsi + 0x1928], ecx
cmp ecx, 0x7fffffff
je 0x14000e187
test rsi, rsi
je 0x14000e18a
lea rbx, [rax + 0x188]
call fcn.14001cf10
mov edx, 0x568
mov rcx, rax
xor r8d, r8d
call fcn.14000e2a0
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.1400e2190
mov ecx, dword [0x140243d50]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [rbx], rdi
lock dec dword [rsi + 0x1928]
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
xor edi, edi
jmp 0x14000e16e
call fcn.14012cab8
jmp 0x14000e0ea
int3
int3
Function at 0x14000fd50
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x14000fdcd
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 0x14000fd9c
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14000fd8a
mov qword [rdi], rsi
call fcn.1400b28a0
mov ecx, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.1400b28a0
mov r14, qword [rdi]
cmp qword [0x140243970], 0
je 0x14000fdd7
mov rcx, qword [0x140243970]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402233e0]
mov qword [rdi], 0
jmp 0x14000fd78
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140215f0d]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000fe18
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14000fe12
call qword [0x1402233e0]
mov rcx, rax
xor edx, edx
call fcn.14004bfd0
jmp 0x14000fdae
xor ecx, ecx
mov dl, 1
jmp 0x14000fe0b
xor ecx, ecx
jmp 0x14000fe09
Function at 0x1400106f0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x1402439a0]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x140010725
jnp 0x140010749
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14012d2c0
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1402439b0]
mov ecx, dword [0x1402403d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001085e
mov eax, dword [0x1402439c0]
mov ecx, dword [0x1402403d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140010898
rdtsc
mov rdi, rax
mov rbx, rdx
xor r15d, r15d
lea r14, [rsp + 0x20]
mov qword [r14], r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r12, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r14], r15
lea rsi, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r12, qword [0x1402439b8]
xorps xmm0, xmm0
cvtsi2sd xmm0, r12
cvtsi2sd xmm1, qword [rsi]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x140204d90]
ucomisd xmm1, xmm0
ja 0x140010725
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x1402439a8]
movq xmm6, rdi
punpckldq xmm6, xmmword [0x140204da0]
subpd xmm6, xmmword [0x140204db0]
haddpd xmm6, xmm6
divsd xmm6, xmm0
movsd qword [0x1402439a0], xmm6
jmp 0x140010725
lea rcx, [0x1402439b0]
call fcn.14012ad90
cmp dword [0x1402439b0], 0xffffffff
jne 0x140010792
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1402439a8], rdx
lea rcx, [0x1402439b0]
call fcn.14012ad24
jmp 0x140010792
lea rcx, [0x1402439c0]
call fcn.14012ad90
cmp dword [0x1402439c0], 0xffffffff
jne 0x1400107b7
lea rdi, [rsp + 0x20]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x1402439b8], rax
lea rcx, [0x1402439c0]
call fcn.14012ad24
jmp 0x1400107b7
Function at 0x140015d10
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rbx, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x1401fd000]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.GetLength
lea r8, str....._base_files_file_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0xac
call fcn.1400dc8d0
xor edi, edi
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
call fcn.1400f07b0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r14], rax
mov rcx, qword [rbx]
lea rbx, [rsp + 0x20]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, 1
sbb rdi, rdi
or rdi, qword [rbx]
mov rcx, rsi
call fcn.1400d1270
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14012d2c0
mov rax, rdi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140018980
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov byte [rcx + 8], 0
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
lea rax, [0x140200388]
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 0x1400189f2
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x1400189ff
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400189ea
mov qword [rsi + 0x18], rdi
call fcn.1400b28a0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400b28a0
mov r14, qword [rsi + 0x18]
cmp qword [0x140243970], 0
je 0x140018a32
mov rcx, qword [0x140243970]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402233e0]
mov qword [rsi + 0x18], 0
jmp 0x1400189d7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140215f0d]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140018a73
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140018a6d
call qword [0x1402233e0]
mov rcx, rax
xor edx, edx
call fcn.14004bfd0
jmp 0x140018a12
xor ecx, ecx
mov dl, 1
jmp 0x140018a66
xor ecx, ecx
jmp 0x140018a64

Function at 0x14001b6e0
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.14012d260
sub rsp, rax
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov esi, dword [0x14023f7d0]
cmp esi, 0xffffffff
je 0x14001b793
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14001b7c5
lea rdi, [rsp + 0x20]
mov r8d, 0x1000
mov rcx, rdi
xor edx, edx
call fcn.140164570
lea rdx, [rsp + 0x23]
mov r14, qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, esi
call r14
mov ecx, 0x1000
call fcn.14012ab44
mov rbx, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rdi
call fcn.140163ed0
mov rdx, rbx
or rdx, 3
mov ecx, esi
call r14
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14012d2c0
mov rax, rbx
add rsp, 0x1028
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14001b7c8
mov esi, eax
mov eax, 0xffffffff
lock cmpxchg dword [0x14023f7d0], esi
je 0x14001b713
mov ecx, esi
call sub.KERNEL32.dll_TlsFree
mov esi, dword [0x14023f7d0]
jmp 0x14001b713
int3
int3
Function at 0x14001e880
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r13d, dword [rsp + 0xd0]
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xfffffffc00000000
shl ebp, 0x10
mov ecx, 0x18
call fcn.14012aa30
mov rsi, rax
mov rax, r15
and rax, r12
cmp rax, qword [0x1402336c8]
jne 0x14001e8ed
mov rcx, r15
call fcn.1400a3490
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r13d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x14001c000]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14001e961
test r14, r14
je 0x14001e956
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14012d2c0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001e930
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0x27a
jle 0x14001e9ab
cmp ebp, 0x5af
je 0x14001e980
cmp ebp, 0x27b
jne 0x14001e9b5
mov rcx, rbx
call fcn.14018acd0
test rsi, rsi
je 0x14001e930
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x1402336c8]
jne 0x14001e9a1
call fcn.1400a3600
mov rcx, rsi
call fcn.14012aa6c
jmp 0x14001e930
cmp ebp, 8
je 0x14001e980
cmp ebp, 0xe
je 0x14001e980
mov eax, dword [0x140243768]
mov ecx, dword [0x1402403d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001ea64
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.140098010
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x14001e9fd
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
test rax, rax
js 0x14001ea3e
je 0x14001ea13
test rbx, rbx
je 0x14001ea51
mov rcx, qword [0x140243760]
lea rdx, [rsp + 0x50]
call fcn.140008a80
cmp byte [rsp + 0x4f], 0
jns 0x14001e988
mov rcx, qword [rsp + 0x38]
call fcn.14012aa6c
jmp 0x14001e988
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude_string_view:314:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.140164a90
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.140164a90
lea rcx, [0x140243768]
call fcn.14012ad90
cmp dword [0x140243768], 0xffffffff
jne 0x14001e9da
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.14000d730
mov qword [0x140243760], rax
lea rcx, [0x140243768]
call fcn.14012ad24
jmp 0x14001e9da
Function at 0x1400224d0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x140022519
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140022535
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140022511
mov qword [rsi], rdi
call fcn.1400b28a0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x1400225a7
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400b28a0
mov r14, qword [rsi]
cmp qword [0x140243970], 0
je 0x140022566
mov rcx, qword [0x140243970]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402233e0]
mov qword [rsi], 0
jmp 0x1400224ff
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140215f0d]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400225aa
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400225a1
call qword [0x1402233e0]
mov rcx, rax
xor edx, edx
call fcn.14004bfd0
jmp 0x140022547
xor ecx, ecx
mov dl, 1
jmp 0x14002259a
int3
xor ecx, ecx
jmp 0x140022598

Function at 0x1400226a0
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x1401fd000]
lea rbx, [rsp + 0x40]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, [0x14020f947]
lea r8, str....._base_files_file_util_win.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x43b
call fcn.1400dc8d0
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call fcn.1400b0260
mov qword [rsp + 0x80], 0xa
mov al, byte [0x14024358a]
test al, al
jne 0x14002275c
cmp byte [rsi + 0x17], 0
jns 0x140022727
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
lea rcx, [rsp + 0x40]
call fcn.1400d1270
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14012d2c0
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
movzx ecx, al
lea r9, [rsp + 0x90]
mov qword [r9], rdi
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0x88]
mov qword [r8], rax
lea rdx, [rsp + 0x80]
call fcn.1401843b0
jmp 0x14002271e
Function at 0x140022790
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 r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jb 0x1400227bc
call fcn.1400b28a0
cmp qword [rsi], r15
je 0x1400227eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140022816
cmp r12, 2
jb 0x1400227e3
mov qword [rsi], r15
call fcn.1400b28a0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140022888
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400b28a0
mov r14, qword [rsi]
cmp qword [0x140243970], 0
je 0x140022847
mov rcx, qword [0x140243970]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402233e0]
mov qword [rsi], 0
jmp 0x1400227d5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140215f0d]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140022895
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140022882
call qword [0x1402233e0]
mov rcx, rax
xor edx, edx
call fcn.14004bfd0
jmp 0x140022828
xor ecx, ecx
mov dl, 1
jmp 0x14002287b
mov rcx, rdi
call fcn.14011c830
jmp 0x140022805
xor ecx, ecx
jmp 0x140022879

Function at 0x1400228a0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rcx], 0
mov byte [rcx + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test rax, rax
je 0x1400229c9
lea rcx, [rsp + 0x20]
mov byte [rcx + 0x17], 0x15
lea rax, str.ExitCodeWatcherThread
cmp rcx, rax
ja 0x1400228f6
lea rcx, [rsp + 0x35]
cmp rcx, rax
ja 0x1400229db
lea rcx, [rsi + 0x10]
movups xmm0, xmmword [str.ExitCodeWatcherThread]
lea rdi, [rsp + 0x20]
movaps xmmword [rdi], xmm0
movabs rax, 0x6461657268547265
mov qword [rdi + 0xd], rax
mov byte [rdi + 0x15], 0
mov rdx, rdi
call fcn.1400229f0
cmp byte [rdi + 0x17], 0
js 0x1400229cc
mov dword [rsi + 0x90], 0x103
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x98], 0
test rax, rax
je 0x140022993
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x98]
inc rax
cmp rax, 2
jae 0x1400229ab
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14002298b
mov qword [rsi + 0x98], rdi
call fcn.1400b28a0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14012d2c0
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call fcn.1400b28a0
mov rcx, qword [rsi + 0x98]
call fcn.1401191b0
mov qword [rsi + 0x98], 0
jmp 0x140022975
int3
mov rcx, qword [rsp + 0x20]
call fcn.14012aa6c
jmp 0x14002292d
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude__stringchar_traits.h:146:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
call fcn.140164a90
int3