joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b666c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400b669c
xor eax, eax
jmp 0x1400b675f
mov rbp, rbx
cmp word [rax], si
je 0x1400b66c1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400b66a8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400b66a4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400b65bc
movsxd r14, eax
test eax, eax
jne 0x1400b66ff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400b6695
mov rcx, r14
call fcn.140030f00
mov rdi, rax
test rax, rax
jne 0x1400b6718
xor ecx, ecx
call fcn.14006adb0
jmp 0x1400b66f4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400b65bc
test eax, eax
jne 0x1400b6749
mov rcx, rdi
call fcn.14006adb0
jmp 0x1400b6753
xor ecx, ecx
call fcn.14006adb0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400b677c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400b6803
mov rsi, rbx
cmp word [rax], bp
je 0x1400b67c2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400b67ac
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400b67a8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140030f00
mov rdi, rax
test rax, rax
je 0x1400b67f0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14008e3c0
mov rbp, rdi
xor ecx, ecx
call fcn.14006adb0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bd37c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14009934c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400bd406
cmp byte [rbp - 0x21], r15b
je 0x1400bd401
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400bd43c
call fcn.1400afa44
test eax, eax
jne 0x1400bd428
cmp byte [rbp - 0x21], r15b
je 0x1400bd420
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400bd43c
cmp byte [rbp - 0x21], r15b
je 0x1400bd439
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14009e928
test eax, eax
jne 0x1400bd4dc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14009934c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400bd47b
cmp byte [rbp - 0x21], r15b
je 0x1400bd4b0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400bd4b0
call fcn.1400afa44
test eax, eax
jne 0x1400bd49c
cmp byte [rbp - 0x21], r15b
je 0x1400bd495
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400bd4b0
cmp byte [rbp - 0x21], r15b
je 0x1400bd4ad
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14009e928
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400bd4dc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400bd4df
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400bd4ed
mov rcx, rdi
call fcn.14006adb0
cmp byte [rbp + 0x3f], r15b
je 0x1400bd4fc
mov rcx, qword [rbp + 0x27]
call fcn.14006adb0
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400c09d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x1400c0b00
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x60], 0
je 0x1400c0b5c
mov edi, dword [rsi + 0x5c]
test bl, bl
je 0x1400c0b3c
mov dword [rsi + 0x5c], 0xffffffff
mov byte [rsi + 0x60], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14008c940
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs rdi, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], rdi
mov eax, dword [rsi + 0x58]
cmp eax, 2
mov r14d, 1
cmovge r14d, eax
xor r15d, r15d
mov rcx, qword [rsi + 0x40]
call fcn.1400a8d2c
cmp eax, 0xffffffff
je 0x1400c0bde
mov byte [rsp + r15 + 0x58], al
inc r15
cmp r14, r15
jne 0x1400c0b7e
mov byte [rsp + 0x57], 0xaa
cmp byte [rsi + 0x61], 0
je 0x1400c0be8
mov al, byte [rsp + 0x58]
mov byte [rsp + 0x57], al
test bl, bl
je 0x1400c0bba
movzx edi, byte [rsp + 0x57]
mov dword [rsi + 0x5c], edi
jmp 0x1400c0b3c
mov edi, r14d
test rdi, rdi
jle 0x1400c0c8e
mov rdx, qword [rsi + 0x40]
dec rdi
mov eax, edi
movzx ecx, byte [rsp + rax + 0x58]
call fcn.1400aaa94
cmp eax, 0xffffffff
jne 0x1400c0bbd
mov edi, 0xffffffff
jmp 0x1400c0b3c
lea r15, [rsp + 0x48]
mov qword [r15], rdi
lea r12, [rsp + 0x40]
mov qword [r12], rdi
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx edi, word [rdx + 6]
lea r9, [rsp + r14 + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x57]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x58]
call qword [0x14014d008]
cmp eax, 1
jne 0x1400c0c77
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], di
cmp r14d, 8
je 0x1400c0bde
mov rcx, qword [rsi + 0x40]
call fcn.1400a8d2c
cmp eax, 0xffffffff
je 0x1400c0bde
mov byte [rsp + r14 + 0x58], al
inc r14
jmp 0x1400c0bf9
cmp eax, 2
je 0x1400c0bde
cmp eax, 3
je 0x1400c0ba4
jmp 0x1400c0bac
movzx edi, byte [rsp + 0x57]
jmp 0x1400c0b3c
Function at 0x1400c0fb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x1400c10e0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x5e], 0
je 0x1400c113c
movzx edi, word [rsi + 0x5c]
test bl, bl
je 0x1400c111c
mov word [rsi + 0x5c], 0xffff
mov byte [rsi + 0x5e], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14008c940
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs rdi, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], rdi
mov eax, dword [rsi + 0x58]
cmp eax, 2
mov r14d, 1
cmovge r14d, eax
xor r15d, r15d
mov rcx, qword [rsi + 0x40]
call fcn.1400a8d2c
cmp eax, 0xffffffff
je 0x1400c11c9
mov byte [rsp + r15 + 0x58], al
inc r15
cmp r14, r15
jne 0x1400c115e
mov word [rsp + 0x56], 0xaaaa
cmp byte [rsi + 0x5f], 0
je 0x1400c11d2
movsx eax, byte [rsp + 0x58]
mov word [rsp + 0x56], ax
test bl, bl
je 0x1400c11a2
movzx edi, word [rsp + 0x56]
mov word [rsi + 0x5c], di
jmp 0x1400c111c
mov edi, r14d
test rdi, rdi
jle 0x1400c1278
mov rdx, qword [rsi + 0x40]
dec rdi
mov eax, edi
movsx eax, byte [rsp + rax + 0x58]
movzx ecx, ax
call fcn.1400aaa94
cmp eax, 0xffffffff
jne 0x1400c11a5
mov di, 0xffff
jmp 0x1400c111c
lea r15, [rsp + 0x48]
mov qword [r15], rdi
lea r12, [rsp + 0x40]
mov qword [r12], rdi
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx edi, word [rdx + 6]
lea r9, [rsp + r14 + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x56]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x58]
call qword [0x14014d008]
cmp eax, 1
jne 0x1400c1261
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], di
cmp r14d, 8
je 0x1400c11c9
mov rcx, qword [rsi + 0x40]
call fcn.1400a8d2c
cmp eax, 0xffffffff
je 0x1400c11c9
mov byte [rsp + r14 + 0x58], al
inc r14
jmp 0x1400c11e3
cmp eax, 2
je 0x1400c11c9
cmp eax, 3
je 0x1400c1186
jmp 0x1400c1190
movzx edi, word [rsp + 0x56]
jmp 0x1400c111c

Function at 0x1400c1510
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400c1547
movabs rcx, 0xf000000000000000
shl rax, 4
movsx r9, byte [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
inc rdx
cmp rdx, r8
jne 0x1400c1521
ret

Function at 0x1400c15b0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400c15e8
movabs rcx, 0xf000000000000000
shl rax, 4
movzx r9d, word [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
add rdx, 2
cmp rdx, r8
jne 0x1400c15c1
ret
Function at 0x1400d6e80
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.14008b4ac
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400d6ef0]
xor ecx, ecx
xor edx, edx
mov r9, rax
call fcn.14009eaa4
mov qword [rbx], rax
test rax, rax
je 0x1400d6ed7
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x1400d8110
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x17], 0
jns 0x1400d811d
mov rcx, qword [rcx]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x1400d8a80
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x14013a3e0]
test rax, rax
je 0x1400d8b85
cmp eax, 2
jne 0x1400d8afc
mov ecx, 2
call fcn.140070920
test al, al
je 0x1400d8b55
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x8e
mov r9d, 2
call fcn.14003b3a0
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x1400d8bd6
mov eax, 1
lock xadd qword [0x14013a418], rax
test rax, rax
jle 0x1400d8b1c
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x14013a398], eax
mov qword [0x14013a390], rsi
mov rcx, qword [0x140129148]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.140070920
test al, al
jne 0x1400d8ba4
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.14008c940
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x14013a3e0]
test rax, rax
je 0x1400d8b8c
jmp 0x1400d8aae
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xba
mov r9d, 2
call fcn.14003b3a0
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.1400bec30
mov rcx, rsi
call fcn.14003b890
jmp 0x1400d8b55
Function at 0x1400dbeb0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x14013a4e8], 0
je 0x1400dbef6
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.14008c940
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x14013a4c0]
test rdi, rdi
je 0x1400dbf97
test byte [0x140129750], 1
je 0x1400dbed9
cmp byte [rdi + 0x17], 0
jns 0x1400dbf18
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14013a4e8], rax
inc rax
cmp rax, 1
ja 0x1400dbed9
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14008ea70
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1400dc062
xor esi, esi
jmp 0x1400dbed9
mov ecx, 0x18
call fcn.14008b4ac
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.14008ea70
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x14010bbe0]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1400beb10
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x1400dbffe
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
jmp 0x1400dc004
and eax, 0x7f
mov rcx, rdi
test rax, rax
jne 0x1400dc02a
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.140028120
mov qword [0x14013a4c0], rdi
jmp 0x1400dbf06
lea r8, [rax + rax]
test r8, r8
je 0x1400dc009
lea rdx, [r8 - 2]
cmp word [rcx + r8 - 2], 0x5c
mov r8, rdx
jne 0x1400dc02e
cmp rdx, 0xfffffffffffffffe
je 0x1400dc009
sar rdx, 1
inc rdx
cmp rax, rdx
jb 0x1400dc129
mov rcx, rdi
call fcn.1400d7510
jmp 0x1400dc009
mov rdi, qword [0x14013a4c0]
lea rbx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400ab050
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.140027e00
mov rcx, qword [0x14013a4c0]
call fcn.140026330
cmp word [rax], 0x5c
je 0x1400dc0af
mov rcx, qword [0x14013a4c0]
lea rdx, [0x14010f60c]
mov r8d, 1
call fcn.140028120
mov rcx, qword [0x14013a4c0]
lea rdx, str.debug.log
mov r8d, 9
call fcn.140028120
mov rcx, qword [0x14013a4c0]
cmp byte [rcx + 0x17], 0
jns 0x1400dc0d8
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14013a4e8], rax
inc rax
cmp rax, 1
ja 0x1400dbed9
mov qword [0x14013a4e8], 0
jmp 0x1400dbf90
call fcn.1400a3d40
int3
Function at 0x1400e2dc0
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 [0x140127038]
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 0x1400e2e54
mov rsi, r8
mov r14, rcx
lea r15, [rsp + 0x20]
mov rcx, rdi
mov rdx, r15
call fcn.1400e26d0
test al, al
jne 0x1400e2e1c
add rdi, 0x70
cmp rdi, r12
jne 0x1400e2e01
mov rdi, r12
cmp rdi, qword [r14 + 0x58]
je 0x1400e2e54
cmp byte [rdi + 0x27], 0
jns 0x1400e2e2e
mov rcx, qword [rdi + 0x10]
jmp 0x1400e2e32
lea rcx, [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 0x1400e2e54
mov qword [rsi], rdi
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14008c940
mov eax, ebx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x1400e2fe0
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 [0x140127038]
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 0x1400e3068
mov rdi, r9
mov ebp, r8d
mov rbx, rcx
lea r15, [rsp + 0x20]
mov rcx, r14
mov rdx, r15
call fcn.1400e26d0
test al, al
jne 0x1400e3040
add r14, 0x70
cmp r14, r12
jne 0x1400e3025
mov r14, r12
cmp r14, qword [rbx + 0x58]
je 0x1400e3068
mov eax, dword [r14 + 0x68]
cmp eax, ebp
jne 0x1400e305b
cmp byte [r14 + 0x27], 0
jns 0x1400e3086
mov rcx, qword [r14 + 0x10]
jmp 0x1400e308a
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.14008c940
mov eax, esi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400e3068
shr eax, 3
and eax, 2
mov esi, eax
jne 0x1400e3068
mov byte [rbx + 0x48], 1
mov qword [rdi], r14
xor esi, esi
jmp 0x1400e3068
Function at 0x1400ecc40
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 [0x140127038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1400ecc6a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400ecc8c
mov edi, eax
test bl, bl
jne 0x1400ecc84
mov eax, edi
and eax, 0x400
jne 0x1400ecc9a
and edi, 0x10
shr edi, 4
jmp 0x1400ecc9c
mov ecx, 2
call fcn.140070920
test al, al
jne 0x1400eccb9
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14008c940
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.1400dc610
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400bec30
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.140069940
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400ecd3f
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
jmp 0x1400ecd43
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1400bec30
cmp byte [rsp + 0x57], 0
jns 0x1400ecd5f
mov rcx, qword [rsp + 0x40]
call fcn.14008b4e8
lea rcx, [rsp + 0x58]
call fcn.1400dc690
jmp 0x1400ecc9a

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

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400ecd97
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400ecdc7
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14008c940
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140070920
test al, al
jne 0x1400ecdd9
xor esi, esi
jmp 0x1400ecdab
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, 0x75
mov r9d, 2
call fcn.1400dc610
lea rcx, [rsp + 0x60]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400bec30
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140069940
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400ece5f
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
jmp 0x1400ece63
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1400bec30
cmp byte [rsp + 0x4f], 0
jns 0x1400ece7f
mov rcx, qword [rsp + 0x38]
call fcn.14008b4e8
lea rcx, [rsp + 0x50]
call fcn.1400dc690
jmp 0x1400ecdd5
Function at 0x1400ece90
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400eceb7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400ecece
and eax, 0x410
cmp eax, 0x410
je 0x1400ecf15
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400eceda
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
je 0x1400ecf03
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14008c940
mov eax, edi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140070920
test al, al
jne 0x1400ecf36
xor edi, edi
jmp 0x1400ecee7
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14008c940
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.1400ecff0
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, 0x95
mov r9d, 2
call fcn.1400dc610
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.1400bec30
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140069940
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400ecfbc
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
jmp 0x1400ecfc0
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1400bec30
cmp byte [rsp + 0x4f], 0
jns 0x1400ecfdc
mov rcx, qword [rsp + 0x38]
call fcn.14008b4e8
lea rcx, [rsp + 0x50]
call fcn.1400dc690
jmp 0x1400ecf11
Function at 0x1400ecff0
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1400ed018
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x1400ed032
mov ecx, 2
call fcn.140070920
test al, al
jne 0x1400ed054
test esi, esi
setne bl
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14008c940
mov eax, ebx
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, 0x30
mov r9d, 2
call fcn.1400dc610
lea rcx, [rsp + 0x68]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.1400bec30
mov rbx, rax
movzx eax, byte [rdi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rdi]
cmovns rax, rdi
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
cmovs rcx, qword [rdi + 8]
mov qword [rdx + 8], rcx
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.140069940
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x1400ed0da
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
jmp 0x1400ed0de
and r8d, 0x7f
mov rcx, rbx
mov rdx, rdi
call fcn.1400bec30
cmp byte [rsp + 0x57], 0
jns 0x1400ed0fa
mov rcx, qword [rsp + 0x40]
call fcn.14008b4e8
lea rcx, [rsp + 0x58]
call fcn.1400dc690
jmp 0x1400ed032