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

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x14030af48]
test rax, rax
jne 0x14024f034
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x14030af48]
test rax, rax
je 0x14024f021
cmp eax, 2
jne 0x14024f08c
mov ecx, 2
call fcn.14019eda0
test al, al
je 0x14024f0e5
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x8e
mov r9d, 2
call fcn.140108830
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
call fcn.140213790
mov rcx, rsi
call fcn.140108d60
jmp 0x14024f0e5
mov eax, 1
lock xadd qword [0x14030af80], rax
test rax, rax
jle 0x14024f0ac
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x14030af00], eax
mov qword [0x14030aef8], rsi
mov rcx, qword [0x1402ff1a8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.14019eda0
test al, al
jne 0x14024f115
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401d5680
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xba
mov r9d, 2
call fcn.140108830
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
jmp 0x14024f07d
Function at 0x140255950
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14, qword [rcx + 0x10]
cmp r14, qword [rcx + 0x18]
je 0x1402559ac
test r14, r14
je 0x140255aab
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 0x10], 8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401d5680
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r15, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r15
jbe 0x1402559f6
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r15, [rax + rcx]
inc r15
shr r15, 1
shl r15, 3
mov rcx, rbx
sub rcx, r15
mov r8, r14
sub r8, rbx
mov rdx, rbx
call fcn.1401d7120
sub r14, r15
mov qword [rsi + 0x10], r14
sub qword [rsi + 8], r15
jmp 0x14025597c
mov rax, r14
sub rax, r15
sar rax, 2
cmp r14, r15
mov r12d, 1
cmovne r12, rax
lea rax, [rsi + 0x20]
mov qword [rsp + 0x48], rax
mov rax, r12
shr rax, 0x3d
jne 0x140255ad7
lea rcx, [r12*8]
call fcn.1401d4088
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rdx, [rax + rcx*2]
mov r9, r14
mov r8, rdx
sub r9, rbx
je 0x140255a76
mov rcx, r9
sar rcx, 3
and r9, 0xfffffffffffffff8
mov r8, r9
add r8, rdx
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x140255aab
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x140255a5e
lea r9, [rax + r12*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x28]
mov qword [rcx], r15
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r14
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r14
call fcn.140255e20
mov r14, qword [rsi + 0x10]
jmp 0x14025597c
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.140215d40
call fcn.140213770
int3
Function at 0x140255ae0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x140255b3c
add rbx, 0xfffffffffffffff8
je 0x140255c48
mov rax, qword [rdi]
mov qword [rbx], rax
add qword [rsi + 8], 0xfffffffffffffff8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401d5680
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
cmp r14, r15
jae 0x140255b8f
sub r15, r14
sar r15, 3
lea rax, [r15 + 1]
shr rax, 0x3f
lea r12, [r15 + rax]
inc r12
shl r12, 2
and r12, 0xfffffffffffffff8
lea r15, [r14 + r12]
sub r14, rbx
sub r15, r14
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.1401d7120
mov qword [rsi + 8], r15
add qword [rsi + 0x10], r12
mov rbx, r15
jmp 0x140255b0b
mov rax, r15
sub rax, rbx
sar rax, 2
cmp r15, rbx
mov r12d, 1
cmovne r12, rax
lea rax, [rsi + 0x20]
mov qword [rsp + 0x48], rax
mov rax, r12
shr rax, 0x3d
jne 0x140255c74
lea rcx, [r12*8]
call fcn.1401d4088
lea rdx, [r12*2 + 6]
and rdx, 0xfffffffffffffff8
add rdx, rax
mov r9, r14
mov r8, rdx
sub r9, rbx
je 0x140255c13
mov rcx, r9
sar rcx, 3
and r9, 0xfffffffffffffff8
mov r8, r9
add r8, rdx
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x140255c48
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x140255bfb
lea r9, [rax + r12*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x28]
mov qword [rcx], rbx
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r14
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r15
call fcn.140255e20
mov rbx, qword [rsi + 8]
jmp 0x140255b0b
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.140215d40
call fcn.140213770
int3
Function at 0x140255c80
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x140255cdc
add rbx, 0xfffffffffffffff8
je 0x140255de8
mov rax, qword [rdi]
mov qword [rbx], rax
add qword [rsi + 8], 0xfffffffffffffff8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401d5680
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
cmp r14, r15
jae 0x140255d2f
sub r15, r14
sar r15, 3
lea rax, [r15 + 1]
shr rax, 0x3f
lea r12, [r15 + rax]
inc r12
shl r12, 2
and r12, 0xfffffffffffffff8
lea r15, [r14 + r12]
sub r14, rbx
sub r15, r14
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.1401d7120
mov qword [rsi + 8], r15
add qword [rsi + 0x10], r12
mov rbx, r15
jmp 0x140255cab
mov rax, r15
sub rax, rbx
sar rax, 2
cmp r15, rbx
mov r12d, 1
cmovne r12, rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x48], rax
mov rax, r12
shr rax, 0x3d
jne 0x140255e14
lea rcx, [r12*8]
call fcn.1401d4088
lea rdx, [r12*2 + 6]
and rdx, 0xfffffffffffffff8
add rdx, rax
mov r9, r14
mov r8, rdx
sub r9, rbx
je 0x140255db3
mov rcx, r9
sar rcx, 3
and r9, 0xfffffffffffffff8
mov r8, r9
add r8, rdx
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x140255de8
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x140255d9b
lea r9, [rax + r12*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x28]
mov qword [rcx], rbx
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r14
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r15
call fcn.140255e20
mov rbx, qword [rsi + 8]
jmp 0x140255cab
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.140215d40
call fcn.140213770
int3

Function at 0x14025b060
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov r12, qword [rcx + 0x58]
mov ebx, 1
cmp rdi, r12
je 0x14025b0f4
mov rsi, r8
mov r14, rcx
lea r15, [rsp + 0x20]
mov rcx, rdi
mov rdx, r15
call fcn.14025a8d0
test al, al
jne 0x14025b0bc
add rdi, 0x70
cmp rdi, r12
jne 0x14025b0a1
mov rdi, r12
cmp rdi, qword [r14 + 0x58]
je 0x14025b0f4
cmp byte [rdi + 0x27], 0
js 0x14025b0ce
lea rcx, [rdi + 0x10]
jmp 0x14025b0d2
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov ebx, 1
cmovne ebx, ecx
test ebx, ebx
jne 0x14025b0f4
mov qword [rsi], rdi
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401d5680
mov eax, ebx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14025b280
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rax, qword [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov r14, qword [rcx + 0x50]
mov r12, qword [rcx + 0x58]
mov esi, 1
cmp r14, r12
je 0x14025b2fb
mov rdi, r9
mov ebp, r8d
mov rbx, rcx
lea r15, [rsp + 0x20]
mov rcx, r14
mov rdx, r15
call fcn.14025a8d0
test al, al
jne 0x14025b2e0
add r14, 0x70
cmp r14, r12
jne 0x14025b2c5
mov r14, r12
cmp r14, qword [rbx + 0x58]
je 0x14025b2fb
mov eax, dword [r14 + 0x68]
cmp eax, ebp
je 0x14025b319
xor ecx, ecx
cmp eax, 1
sete cl
lea esi, [rcx + rcx*2]
inc esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401d5680
mov eax, esi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp byte [r14 + 0x27], 0
js 0x14025b326
lea rcx, [r14 + 0x10]
jmp 0x14025b32a
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14025b2fb
shr eax, 3
and eax, 2
mov esi, eax
jne 0x14025b2fb
mov byte [rbx + 0x48], 1
mov qword [rdi], r14
xor esi, esi
jmp 0x14025b2fb
Function at 0x140260030
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x14030d1c8]
mov ecx, dword [0x1402ffa30]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1402602af
mov rax, qword [0x14030d1c0]
test rax, rax
je 0x14026011b
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [0x140320008]
test eax, eax
je 0x1402600c5
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x140260122
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x140260157
mov ecx, 2
call fcn.14019eda0
test al, al
je 0x14026011b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x4b
mov r9d, 2
call fcn.14024b3d0
lea rcx, [rsp + 0x40]
lea rdx, [0x1402d4064]
mov r8d, recvfrom
call fcn.140213790
mov rcx, rbx
call fcn.14024b450
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x1402bb8f0]
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rbx], 9
sete byte [rsi + 0x80]
cmp byte [rsi + 0x81], 0
setne dl
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov r8, rsi
call fcn.140260300
test al, al
jne 0x1402601e1
mov ecx, 2
call fcn.14019eda0
test al, al
jne 0x1402601a0
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.1401d5680
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x21e
mov r9d, 2
call fcn.140108830
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.140213790
mov rcx, rsi
call fcn.140108d60
jmp 0x140260181
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
je 0x1402601fb
call fcn.140260540
jmp 0x140260200
call fcn.140260bc0
test al, al
jne 0x14026024a
mov ecx, 2
call fcn.14019eda0
test al, al
je 0x140260181
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x227
mov r9d, 2
call fcn.140108830
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, reloc.WS2_32.dll_shutdown
jmp 0x1402601d2
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.140133eb0
mov sil, 1
test al, al
jne 0x140260183
mov ecx, 2
call fcn.14019eda0
test al, al
je 0x140260181
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22c
mov r9d, 2
call fcn.140108830
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, shutdown
jmp 0x1402601d2
lea rcx, [0x14030d1c8]
call fcn.1401d4200
cmp dword [0x14030d1c8], 0xffffffff
jne 0x14026007b
lea rcx, [0x1402c7072]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.1401353f0
mov qword [0x14030d1c0], rax
lea rcx, [0x14030d1c8]
call fcn.1401d4298
jmp 0x14026007b
Function at 0x14026ab40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x14026ab6a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14026ab89
mov edi, eax
bt eax, 0xa
jae 0x14026ab81
test bl, bl
je 0x14026ab97
and edi, 0x10
shr edi, 4
jmp 0x14026ab99
mov ecx, 2
call fcn.14019eda0
test al, al
jne 0x14026abb6
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1401d5680
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x82
mov r9d, 2
call fcn.14024b3d0
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, shutdown
call fcn.140213790
mov rdi, rax
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14026ac06
and r8d, 0x7f
jmp 0x14026ac0d
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.140161670
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
call fcn.140195aa0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14026ac3d
and r8d, 0x7f
jmp 0x14026ac47
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.140213790
cmp byte [rsp + 0x57], 0
jns 0x14026ac63
mov rcx, qword [rsp + 0x40]
call fcn.1401d40d8
lea rcx, [rsp + 0x58]
call fcn.14024b450
jmp 0x14026ab97
Function at 0x14026ac80
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
cmp byte [rcx + 0x17], 0
jns 0x14026acab
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x14026acdb
test bl, bl
je 0x14026accb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14026acf8
mov ecx, 2
call fcn.14019eda0
test al, al
jne 0x14026ad1c
xor edi, edi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1401d5680
mov eax, edi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.14026ab40
test al, al
jne 0x14026acdb
mov ecx, 2
call fcn.14019eda0
test al, al
je 0x14026acd9
jmp 0x14026ade7
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x62
mov r9d, 2
call fcn.14024b3d0
lea rcx, [rsp + 0x50]
lea rdx, str.CreateDirectory
mov r8d, reloc.WS2_32.dll_recv
call fcn.140213790
mov rdi, rax
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14026ad6c
and r8d, 0x7f
jmp 0x14026ad73
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.140161670
lea rsi, [rsp + 0x190]
mov rcx, rsi
mov rdx, rbx
call fcn.140195aa0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14026ada6
and r8d, 0x7f
jmp 0x14026adb6
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rcx, rdi
mov rdx, rsi
call fcn.140213790
cmp byte [rsp + 0x1a7], 0
jns 0x14026add8
mov rcx, qword [rsp + 0x190]
call fcn.1401d40d8
lea rcx, [rsp + 0x40]
call fcn.14024b450
jmp 0x14026acd9
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x5d
mov r9d, 2
call fcn.140108830
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14026ae14
and r8d, 0x7f
jmp 0x14026ae1b
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
lea rdi, [rsp + 0x50]
lea rbx, [rsp + 0x180]
mov rcx, rbx
mov rdx, rsi
call fcn.140161670
lea rsi, [rsp + 0x190]
mov rcx, rsi
mov rdx, rbx
call fcn.140195aa0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14026ae56
and r8d, 0x7f
jmp 0x14026ae66
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rcx, rdi
mov rdx, rsi
call fcn.140213790
lea rdx, str._not_a_directory
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rax
call fcn.140213790
cmp byte [rsp + 0x1a7], 0
jns 0x14026ae9d
mov rcx, qword [rsp + 0x190]
call fcn.1401d40d8
lea rcx, [rsp + 0x40]
call fcn.140108d60
jmp 0x14026acd9
Function at 0x14026aeb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x14026aed8
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14026af09
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1401d5680
mov eax, esi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14019eda0
test al, al
jne 0x14026af1b
xor esi, esi
jmp 0x14026aeec
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x75
mov r9d, 2
call fcn.14024b3d0
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, shutdown
call fcn.140213790
mov rdi, rax
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14026af6b
and r8d, 0x7f
jmp 0x14026af72
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.140161670
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
call fcn.140195aa0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14026afa2
and r8d, 0x7f
jmp 0x14026afac
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.140213790
cmp byte [rsp + 0x57], 0
jns 0x14026afc8
mov rcx, qword [rsp + 0x40]
call fcn.1401d40d8
lea rcx, [rsp + 0x58]
call fcn.14024b450
jmp 0x14026af17
Function at 0x14026afe0
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x14026b008
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14026b01f
and eax, 0x410
cmp eax, 0x410
je 0x14026b065
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14026b02b
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x14026b048
mov ecx, 2
call fcn.14019eda0
test al, al
jne 0x14026b087
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1401d5680
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1401d5680
mov rcx, rsi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
jmp fcn.14026b150
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x95
mov r9d, 2
call fcn.14024b3d0
lea rcx, [rsp + 0x68]
lea rdx, str.DeleteFile
mov r8d, recv
call fcn.140213790
mov rdi, rax
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14026b0d7
and r8d, 0x7f
jmp 0x14026b0de
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.140161670
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
call fcn.140195aa0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14026b10e
and r8d, 0x7f
jmp 0x14026b118
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.140213790
cmp byte [rsp + 0x57], 0
jns 0x14026b134
mov rcx, qword [rsp + 0x40]
call fcn.1401d40d8
lea rcx, [rsp + 0x58]
call fcn.14024b450
jmp 0x14026b046
Function at 0x14026b150
Capabilities:
Delete directory

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x198
mov rdi, rcx
mov rax, qword [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x14026b17a
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x14026b194
mov ecx, 2
call fcn.14019eda0
test al, al
jne 0x14026b1b8
test esi, esi
setne bl
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401d5680
mov eax, ebx
add rsp, 0x198
pop rbx
pop rdi
pop rsi
pop r14
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x30
mov r9d, 2
call fcn.14024b3d0
lea rcx, [rsp + 0x60]
lea rdx, str.RemoveDirectory
mov r8d, reloc.WS2_32.dll_recv
call fcn.140213790
mov rbx, rax
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
js 0x14026b208
and r8d, 0x7f
jmp 0x14026b20f
mov r8, qword [rdi + 8]
mov rdi, qword [rdi]
lea r14, [rsp + 0x28]
mov rcx, r14
mov rdx, rdi
call fcn.140161670
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov rdx, r14
call fcn.140195aa0
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
js 0x14026b23f
and r8d, 0x7f
jmp 0x14026b249
mov r8, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rcx, rbx
mov rdx, rdi
call fcn.140213790
cmp byte [rsp + 0x4f], 0
jns 0x14026b265
mov rcx, qword [rsp + 0x38]
call fcn.1401d40d8
lea rcx, [rsp + 0x50]
call fcn.14024b450
jmp 0x14026b194
Function at 0x14027cfc0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r8
mov rax, qword [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, 0xaaaaaaaa
lea rdi, [rsp + 0x44]
mov dword [rdi], eax
lea r8, [rsp + 0x40]
mov dword [r8], eax
lea rax, [rsp + 0x3c]
mov dword [rax], 4
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rdi]
xor ecx, 4
or ecx, eax
sete bl
jne 0x14027d020
mov eax, dword [rsp + 0x40]
mov dword [rsi], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401d5680
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret