joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400178e6
Capabilities:
Create directory

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov rsi, r8
mov rdi, rcx
mov rax, qword [0x140196d40]
xor rax, rbp
mov qword [rbp], rax
test r8, r8
je 0x14001791d
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov dword [rsi + 0x10], 0
cmp qword [rdi + 0x18], 8
mov rax, rdi
jb 0x14001792a
mov rax, qword [rdi]
test rdx, rdx
je 0x14001794a
cmp qword [rdx + 0x18], 8
jb 0x140017939
mov rdx, qword [rdx]
mov rcx, rdx
mov rdx, rax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
jmp 0x140017955
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
test eax, eax
jne 0x1400179a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
xorps xmm0, xmm0
lea r8, [rbp - 0x20]
movaps xmmword [r8], xmm0
mov dword [r8 + 0x10], 0
lea r15, [rbp - 8]
mov rcx, r15
mov rdx, rdi
call fcn.140017490
cmp dword [r15], 3
je 0x1400179a1
lea r9, str.boost::filesystem::create_directory
mov ecx, r14d
mov rdx, rdi
mov r8, rsi
call fcn.140055b85
test ebx, ebx
setne bl
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1400e77c0
mov eax, ebx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
Function at 0x14001bba2
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x168
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xe0], 0xfffffffffffffffe
mov rax, qword [rcx + 0x10]
inc rax
cmp rax, 2
jb 0x14001bd0f
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rcx + 0x18]
mov qword [rbp + 0xd8], rcx
call fcn.1400ea0f4
test eax, eax
jne 0x14001bd1c
xorps xmm0, xmm0
movups xmmword [rdi + 0x28], xmm0
lea rax, vtable.fmt::v9::basic_memory_buffer_char__250__class_std::allocator_char__.0
lea rcx, [rbp - 0x30]
mov qword [rcx - 0x20], rax
mov qword [rcx - 0x18], rcx
movaps xmm0, xmmword [0x140115900]
movups xmmword [rcx - 0x10], xmm0
mov rcx, qword [rsi + 0x28]
mov rax, qword [rcx]
lea r8, [rbp - 0x50]
mov rdx, rdi
call qword [rax + 8]
cmp byte [rsi + 0x20], 0
je 0x14001bcd1
mov r8, qword [rdi + 0x28]
cmp qword [rdi + 0x30], r8
jbe 0x14001bcd1
test r8, r8
je 0x14001bc5c
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rsi + 0x10]
mov qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movsxd rax, dword [rdi + 0x10]
movzx edx, word [rsi + rax*2 + 0x30]
mov rcx, rsi
call fcn.14001c2b8
mov ebx, eax
mov rdx, qword [rdi + 0x28]
mov r8, qword [rdi + 0x30]
cmp r8, rdx
jbe 0x14001bc99
sub r8d, edx
add rdx, qword [rbp - 0x48]
mov rcx, qword [rsi + 0x10]
mov qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov rcx, qword [rsi + 0x10]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov r8, qword [rbp - 0x40]
mov rdx, qword [rdi + 0x30]
cmp r8, rdx
jbe 0x14001bcfa
sub r8d, edx
add rdx, qword [rbp - 0x48]
mov rcx, qword [rsi + 0x10]
mov qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
jmp 0x14001bcfa
mov r8d, dword [rbp - 0x40]
lea r9, [rbp + 0xd4]
mov dword [r9], 0
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rsi + 0x10]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [rbp - 0x50]
call fcn.14000ddd2
mov rcx, qword [rbp + 0xd8]
call fcn.1400ea138
nop
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov ecx, eax
call fcn.1400e8684
int3
Function at 0x1400226e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov qword [rbp - 8], 0xfffffffffffffffe
mov r12, r8
mov r14, rdx
mov r15, rcx
mov rax, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
mov rcx, r8
jb 0x140022716
mov rcx, qword [r12]
test rax, rax
je 0x140022749
movabs rsi, 0xcbf29ce484222325
xor edx, edx
movabs rdi, 0x100000001b3
movzx ebx, byte [rcx + rdx]
xor rbx, rsi
imul rbx, rdi
inc rdx
mov rsi, rbx
cmp rax, rdx
jne 0x140022731
jmp 0x140022753
movabs rbx, 0xcbf29ce484222325
lea rdi, [rbp - 0x30]
mov rcx, r15
mov rdx, rdi
mov r8, r12
mov r9, rbx
call fcn.140009690
mov rax, qword [rdi + 8]
test rax, rax
je 0x14002277e
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x140022860
movabs rax, 0x3ffffffffffffff
cmp qword [r15 + 0x10], rax
je 0x140022872
lea r9, [rbp - 0x40]
mov qword [r9], r12
lea rdx, [r15 + 8]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r8, [0x140114e98]
lea rcx, [rbp - 0x20]
call fcn.1400228b0
mov rcx, qword [r15 + 0x10]
mov rax, qword [r15 + 0x38]
inc rcx
js 0x1400227ca
cvtsi2ss xmm0, rcx
jmp 0x1400227df
mov rdx, rcx
shr rdx, 1
and ecx, 1
or rcx, rdx
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
test rax, rax
js 0x1400227eb
cvtsi2ss xmm1, rax
jmp 0x140022800
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
ucomiss xmm0, dword [r15]
jbe 0x140022831
mov rcx, r15
call fcn.1400097a8
mov r8, qword [rbp - 0x18]
add r8, 0x10
lea rdx, [rbp - 0x40]
mov rcx, r15
mov r9, rbx
call fcn.140009690
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x30], xmm0
lea rsi, [rbp - 0x20]
mov r9, qword [rsi + 8]
mov qword [rsi + 8], 0
mov r8, qword [rbp - 0x30]
mov rcx, r15
mov rdx, rbx
call fcn.14000984c
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rcx, rsi
call fcn.140022952
mov rax, r14
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1400e8940
int3
Function at 0x14002e262
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, r8
mov r14, rdx
mov r15, rcx
movzx eax, byte [r8]
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rbx, 0x100000001b3
imul rbx, rcx
lea rdi, [rbp - 0x30]
mov rcx, r15
mov rdx, rdi
mov r9, rbx
call fcn.14002e3f6
mov rax, qword [rdi + 8]
test rax, rax
je 0x14002e2cb
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x14002e3ad
movabs rax, 0x7ffffffffffffff
cmp qword [r15 + 0x10], rax
je 0x14002e3bd
lea r9, [rbp - 0x40]
mov qword [r9], rsi
lea rdx, [r15 + 8]
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
lea r8, [0x140114e98]
lea rcx, [rbp - 0x18]
call fcn.14002e450
mov rcx, qword [r15 + 0x10]
mov rax, qword [r15 + 0x38]
inc rcx
js 0x14002e317
cvtsi2ss xmm0, rcx
jmp 0x14002e32c
mov rdx, rcx
shr rdx, 1
and ecx, 1
or rcx, rdx
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
test rax, rax
js 0x14002e338
cvtsi2ss xmm1, rax
jmp 0x14002e34d
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
ucomiss xmm0, dword [r15]
jbe 0x14002e37e
mov rcx, r15
call fcn.14002e4d0
mov r8, qword [rbp - 0x10]
add r8, 0x10
lea rdx, [rbp - 0x40]
mov rcx, r15
mov r9, rbx
call fcn.14002e3f6
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x30], xmm0
lea rsi, [rbp - 0x18]
mov r9, qword [rsi + 8]
mov qword [rsi + 8], 0
mov r8, qword [rbp - 0x30]
mov rcx, r15
mov rdx, rbx
call fcn.14000984c
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rcx, rsi
call fcn.14002e574
mov rax, r14
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1400e8940
int3
Function at 0x14002e5be
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
movabs rax, 0x800000000000001
cmp rdx, rax
jae 0x14002e72c
mov r14, rcx
dec rdx
or rdx, 1
bsr rcx, rdx
xor ecx, 0x3f
neg cl
mov esi, 1
shl rsi, cl
lea rax, [r14 + 0x18]
mov r15, qword [r14 + 8]
mov edx, 2
shl rdx, cl
mov rcx, rax
mov r8, r15
call fcn.1400092e6
lea rax, [rsi - 1]
mov qword [r14 + 0x30], rax
mov qword [r14 + 0x38], rsi
mov rax, qword [r14 + 8]
mov r11, qword [rax]
cmp r11, r15
je 0x14002e71f
movabs r8, 0x4bf29ce484222325
movabs r9, 0x100000001b3
mov rdx, r11
movzx ebx, byte [r11 + 0x10]
mov rax, rbx
xor rax, r8
imul rax, r9
and rax, qword [r14 + 0x30]
mov r11, qword [r11]
mov rcx, qword [r14 + 0x18]
lea r10, [rax + rax]
lea rsi, [rax + rax]
inc rsi
shl rax, 4
mov rdi, qword [rcx + rax]
cmp rdi, r15
je 0x14002e6e5
mov rax, qword [rcx + rsi*8]
cmp bl, byte [rax + 0x10]
jne 0x14002e6b1
mov rax, qword [rax]
cmp rax, rdx
je 0x14002e6e9
mov r10, qword [rdx + 8]
mov qword [r10], r11
mov rdi, qword [r11 + 8]
mov qword [rdi], rax
mov rbx, qword [rax + 8]
mov qword [rbx], rdx
mov qword [rax + 8], rdi
mov qword [r11 + 8], r10
mov qword [rdx + 8], rbx
jmp 0x14002e6e9
cmp rdi, rax
je 0x14002e6f8
mov rax, qword [rax + 8]
cmp bl, byte [rax + 0x10]
jne 0x14002e6b1
mov rax, qword [rax]
mov rcx, qword [rdx + 8]
mov qword [rcx], r11
mov rbx, qword [r11 + 8]
mov qword [rbx], rax
mov rdi, qword [rax + 8]
mov qword [rdi], rdx
mov qword [rax + 8], rbx
mov qword [r11 + 8], rcx
mov qword [rdx + 8], rdi
jmp 0x14002e6ed
mov qword [rcx + r10*8], rdx
mov qword [rcx + rsi*8], rdx
cmp r11, r15
jne 0x14002e648
jmp 0x14002e71f
mov rax, qword [rdx + 8]
mov qword [rax], r11
mov rsi, qword [r11 + 8]
mov qword [rsi], rdi
mov rbx, qword [rdi + 8]
mov qword [rbx], rdx
mov qword [rdi + 8], rsi
mov qword [r11 + 8], rax
mov qword [rdx + 8], rbx
mov qword [rcx + r10*8], rdx
jmp 0x14002e6ed
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1400e8940
int3
Function at 0x14003557a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
mov rbp, rsp
movd edx, xmm0
mov r11d, edx
and r11d, 0x7fffff
shr edx, 0x17
and edx, 0xff
je 0x1400355b4
add edx, 0xffffff6a
test r11d, r11d
je 0x140035735
or r11d, 0x800000
jmp 0x1400355c2
mov edx, 0xffffff6b
test r11d, r11d
je 0x1400357c9
imul r9d, edx, 0x4d105
sar r9d, 0x14
mov eax, 1
sub eax, r9d
mov ecx, 0x20
sub ecx, r9d
lea rbx, [0x14011ba60]
mov r10, qword [rbx + rcx*8]
imul r8d, eax, 0x1a934f
sar r8d, 0x13
add r8d, edx
mov cl, 0x3f
sub cl, r8b
mov rbx, r10
shr rbx, cl
lea r14d, [r11 + r11]
lea eax, [r11 + r11]
inc eax
mov ecx, r8d
shl eax, cl
shl rax, 0x20
mul r10
mov rax, rdx
shr rax, 0x20
imul rsi, rax, 0x51eb851f
shr rsi, 0x25
imul edi, esi, 0xffffff9c
add edi, eax
cmp edi, ebx
jae 0x14003564b
test edi, edi
jne 0x140035681
xor eax, eax
test edx, edx
sete al
test r11d, eax
je 0x140035681
dec esi
mov edi, 0x64
jmp 0x1400356ca
ja 0x1400356ca
lea eax, [r14 - 1]
imul rax, r10
mov cl, 0x40
sub cl, r8b
movzx ecx, cl
xor edx, edx
bt rax, rcx
setb dl
lea ecx, [r8 + 0x20]
neg ecx
shr rax, cl
xor ecx, ecx
test eax, eax
sete cl
not r11d
and r11d, ecx
or r11d, edx
je 0x1400356ca
inc r9d
imul eax, esi, 0xc28f5c29
rol eax, 0x1e
xor ecx, ecx
cmp eax, 0x28f5c28
ja 0x1400356ad
xor ecx, ecx
mov esi, eax
add ecx, 2
imul eax, eax, 0xc28f5c29
rol eax, 0x1e
cmp eax, 0x28f5c29
jb 0x140035698
imul ebx, esi, 0xcccccccd
ror ebx, 1
xor eax, eax
cmp ebx, 0x1999999a
setb al
cmovae ebx, esi
or eax, ecx
jmp 0x140035814
lea eax, [rsi + rsi*4]
shr ebx, 1
sub edi, ebx
imul ecx, edi, 0x199a
add ecx, 0x8002
movzx edx, cx
shr ecx, 0x10
lea ebx, [rcx + rax*2]
cmp edx, 0x1999
ja 0x140035817
mov eax, r14d
imul r10, rax
mov al, 0x40
sub al, r8b
movzx eax, al
bt r10, rax
setb al
test dil, 1
sete cl
xor cl, al
je 0x140035827
add r8d, 0x20
neg r8d
mov ecx, r8d
shr r10, cl
xor eax, eax
test r10d, r10d
sete al
not eax
and ebx, eax
jmp 0x140035817
imul r9d, edx, 0x9a209
add r9d, 0xfffc01e1
sar r9d, 0x15
imul r8d, r9d, 0xffe56cb1
sar r8d, 0x13
add r8d, edx
mov eax, 0x1f
sub eax, r9d
lea rcx, [0x14011ba60]
mov rbx, qword [rcx + rax*8]
mov rcx, rbx
shr rcx, 0x19
mov rsi, rbx
sub rsi, rcx
mov cl, 0x28
sub cl, r8b
shr rsi, cl
mov rax, rbx
shr rax, 0x18
add rax, rbx
shr rax, cl
mov ecx, edx
and ecx, 0xfffffffe
xor edi, edi
cmp ecx, 2
setne dil
add edi, esi
mov eax, eax
mov ecx, 0xcccccccd
imul rcx, rax
shr rcx, 0x23
lea eax, [rcx + rcx]
lea eax, [rax + rax*4]
cmp eax, edi
jae 0x1400357d0
mov cl, 0x27
sub cl, r8b
shr rbx, cl
inc ebx
shr ebx, 1
cmp edx, 0xffffffdd
jne 0x14003582b
and ebx, 0xfffffffe
jmp 0x140035817
xor ebx, ebx
xor r9d, r9d
jmp 0x140035817
inc r9d
imul eax, ecx, 0xc28f5c29
rol eax, 0x1e
xor edx, edx
cmp eax, 0x28f5c28
ja 0x1400357fc
xor edx, edx
mov ecx, eax
add edx, 2
imul eax, eax, 0xc28f5c29
rol eax, 0x1e
cmp eax, 0x28f5c29
jb 0x1400357e7
imul ebx, ecx, 0xcccccccd
ror ebx, 1
xor eax, eax
cmp ebx, 0x1999999a
setb al
cmovae ebx, ecx
or eax, edx
add r9d, eax
shl r9, 0x20
mov eax, ebx
or rax, r9
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
dec ebx
jmp 0x140035817
cmp ebx, edi
adc ebx, 0
jmp 0x140035817
Function at 0x140036d3a
Capabilities:
Print debug messages

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
call fcn.140004c89
lea rcx, [rsi + 8]
lea rdi, [rbp - 0x28]
mov rdx, rdi
call fcn.1400047ea
mov rax, qword [0x14019f128]
test rax, rax
je 0x140036da5
mov rdx, qword [rsi + 0xe8]
mov r9, qword [rsi + 0xf0]
mov r8d, dword [rsi + 0xf8]
mov ecx, dword [rsi + 0xfc]
mov qword [rsp + 0x20], rdi
call rax
test al, al
jne 0x140036e7c
mov eax, dword [0x1401994d0]
test al, 4
je 0x140036df3
mov rbx, qword [rbp - 0x28]
mov r14, qword [rbp - 0x10]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
cmp r14, 0x10
cmovb rbx, rdi
lea rdx, [0x14013b440]
mov rcx, rax
mov r8, rbx
call fcn.140014500
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fflush
mov eax, dword [0x1401994d0]
test al, 2
je 0x140036e73
mov rax, qword [rbp - 0x18]
cmp qword [rbp - 0x10], 0x10
jb 0x140036e06
mov rdi, qword [rbp - 0x28]
lea rdx, [rbp - 0x58]
mov qword [rdx], rdi
mov qword [rdx + 8], rax
lea rdi, [rbp - 0x48]
mov rcx, rdi
call fcn.1400478ac
cmp qword [rbp - 0x30], 8
jb 0x140036e28
mov rdi, qword [rbp - 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, qword [rbp - 0x30]
cmp rax, 8
jb 0x140036e73
mov rcx, qword [rbp - 0x48]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140036e6e
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140036ed6
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
cmp dword [rsi + 0xfc], 4
je 0x140036ece
mov rax, qword [rbp - 0x10]
cmp rax, 0x10
jb 0x140036eb7
mov rcx, qword [rbp - 0x28]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140036eb2
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140036ed1
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
mov rcx, rsi
call fcn.140001312
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
Function at 0x140039932
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x170
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xe8], 0xfffffffffffffffe
mov rsi, rcx
cmp qword [rcx + 0x18], 8
jb 0x14003995c
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, eax
mov al, 1
test ecx, ecx
jne 0x140039a6a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14003998a
mov rcx, rsi
call fcn.140039ae1
jmp 0x140039a6a
call fcn.1400372c2
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace_::CreateDirectoryIfNecessary_const_base::FilePath__
lea r8, str.xplat_third_partycrashpadclientcrash_report_database_win.cc
lea rdi, [rbp - 0x50]
mov rcx, rdi
mov r9d, 0x266
call fcn.1400372da
lea rdx, str.CreateDirectory
mov rcx, rdi
call fcn.14000345f
mov rdi, rax
cmp qword [rsi + 0x18], 8
mov rax, rsi
jb 0x1400399da
mov rax, qword [rsi]
lea rdx, [rbp + 0xb8]
mov qword [rdx], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 8], rax
lea rsi, [rbp + 0xc8]
mov rcx, rsi
call fcn.14004784a
mov r8, qword [rbp + 0xd8]
cmp qword [rbp + 0xe0], 0x10
jb 0x140039a13
mov rsi, qword [rbp + 0xc8]
mov rcx, rdi
mov rdx, rsi
call fcn.140004e8c
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x140039a5f
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140039a5a
mov rdi, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rdi
cmp rcx, 0x20
jae 0x140039a75
add rax, 0x28
mov rdx, rax
mov rcx, rdi
call fcn.1400e7768
lea rcx, [rbp - 0x50]
call fcn.14003730a
xor eax, eax
add rsp, 0x170
pop rdi
pop rsi
pop rbp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
Function at 0x140039ae1
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x180
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xf8], 0xfffffffffffffffe
mov rsi, rcx
cmp qword [rcx + 0x18], 8
jb 0x140039b0b
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140039c14
mov ecx, eax
mov al, 1
test cl, 0x10
jne 0x140039cf4
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace_::EnsureDirectory_const_base::FilePath__
lea r8, str.xplat_third_partycrashpadclientcrash_report_database_win.cc
lea rdi, [rbp - 0x50]
mov rcx, rdi
mov r9d, 0x255
call fcn.1400366da
lea rdx, str.GetFileAttributes
mov rcx, rdi
call fcn.14000345f
mov rdi, rax
cmp qword [rsi + 0x18], 8
mov rax, rsi
jb 0x140039b6e
mov rax, qword [rsi]
lea rdx, [rbp + 0xc8]
mov qword [rdx], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 8], rax
lea rsi, [rbp + 0xd8]
mov rcx, rsi
call fcn.14004784a
mov r8, qword [rbp + 0xe8]
cmp qword [rbp + 0xf0], 0x10
jb 0x140039ba7
mov rsi, qword [rbp + 0xd8]
mov rcx, rdi
mov rdx, rsi
call fcn.140004e8c
lea rdx, str.:_not_a_directory
mov rcx, rax
call fcn.14000345f
mov rax, qword [rbp + 0xf0]
cmp rax, 0x10
jb 0x140039c06
mov rcx, qword [rbp + 0xd8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140039c01
mov rdi, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rdi
cmp rcx, 0x20
jae 0x140039d04
add rax, 0x28
mov rdx, rax
mov rcx, rdi
call fcn.1400e7768
lea rcx, [rbp - 0x50]
call fcn.140036d3a
jmp 0x140039cf2
call fcn.1400372c2
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace_::EnsureDirectory_const_base::FilePath__
lea r8, str.xplat_third_partycrashpadclientcrash_report_database_win.cc
lea rdi, [rbp - 0x50]
mov rcx, rdi
mov r9d, 0x251
call fcn.1400372da
lea rdx, str.GetFileAttributes
mov rcx, rdi
call fcn.14000345f
mov rdi, rax
cmp qword [rsi + 0x18], 8
mov rax, rsi
jb 0x140039c64
mov rax, qword [rsi]
lea rdx, [rbp + 0xb8]
mov qword [rdx], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 8], rax
lea rsi, [rbp + 0xd8]
mov rcx, rsi
call fcn.14004784a
mov r8, qword [rbp + 0xe8]
cmp qword [rbp + 0xf0], 0x10
jb 0x140039c9d
mov rsi, qword [rbp + 0xd8]
mov rcx, rdi
mov rdx, rsi
call fcn.140004e8c
mov rax, qword [rbp + 0xf0]
cmp rax, 0x10
jb 0x140039ce9
mov rcx, qword [rbp + 0xd8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140039ce4
mov rdi, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rdi
cmp rcx, 0x20
jae 0x140039cff
add rax, 0x28
mov rdx, rax
mov rcx, rdi
call fcn.1400e7768
lea rcx, [rbp - 0x50]
call fcn.14003730a
xor eax, eax
add rsp, 0x180
pop rdi
pop rsi
pop rbp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
Function at 0x14003c6fa
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov rax, qword [0x140196d40]
xor rax, rbp
mov qword [rbp - 8], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rbp - 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov rsi, qword [rcx + 0x58]
mov r15d, 1
cmp rdi, rsi
je 0x14003c798
mov r14, r8
mov r12, rcx
lea rbx, [rbp - 0x20]
mov rcx, rdi
mov rdx, rbx
call fcn.14005c3f0
test al, al
jne 0x14003c75a
sub rdi, 0xffffffffffffff80
cmp rdi, rsi
jne 0x14003c73f
mov rdi, rsi
cmp rdi, qword [r12 + 0x58]
je 0x14003c798
cmp qword [rdi + 0x28], 8
jb 0x14003c76e
mov rcx, qword [rdi + 0x10]
jmp 0x14003c772
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov r15d, 1
cmovne r15d, ecx
test r15d, r15d
jne 0x14003c798
mov qword [r14], rdi
xor r15d, r15d
mov rcx, qword [rbp - 8]
xor rcx, rbp
call fcn.1400e77c0
mov eax, r15d
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
Function at 0x14003ce28
Capabilities:
Delete file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x198
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x110], 0xfffffffffffffffe
mov r15, rdx
mov r12, rcx
lea rsi, [rbp + 0x108]
mov rdx, rsi
call fcn.14003a48e
mov r13, qword [rsi]
test r13, r13
je 0x14003cf27
lea rcx, [rbp + 0xe8]
call fcn.140037488
movups xmm0, xmmword [r15]
movaps xmmword [rbp - 0x50], xmm0
mov rbx, qword [r13 + 0x50]
mov rdi, qword [r13 + 0x58]
cmp rbx, rdi
je 0x14003cf14
lea r14, [r13 + 0x50]
lea rsi, [rbp - 0x50]
mov rcx, rbx
mov rdx, rsi
call fcn.14005c3f0
test al, al
jne 0x14003ceb7
sub rbx, 0xffffffffffffff80
cmp rbx, rdi
jne 0x14003ce9c
mov rbx, rdi
cmp rbx, qword [r13 + 0x58]
je 0x14003cf14
lea rdx, [rbx + 0x10]
lea rsi, [rbp + 0xe8]
mov rcx, rsi
call fcn.14000a170
lea rdx, [rbp + 0xc8]
mov rcx, r14
mov r8, rbx
call fcn.14003f7b2
mov byte [r13 + 0x48], 1
cmp qword [rbp + 0x100], 8
jb 0x14003cef8
mov rsi, qword [rbp + 0xe8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14003cf4e
xor ebx, ebx
mov rcx, r12
mov rdx, r15
call fcn.140058ff4
jmp 0x14003cf19
mov ebx, 1
lea rcx, [rbp + 0xe8]
call fcn.140009ffe
jmp 0x14003cf2c
mov ebx, 3
lea rcx, [rbp + 0x108]
call fcn.14003b65c
mov eax, ebx
add rsp, 0x198
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1400372c2
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.virtual_crashpad::_anonymous_namespace_::OperationStatus___cdecl_crashpad::CrashReportDatabaseWin::DeleteReport_const_crashpad::UUID__
lea r8, str.xplat_third_partycrashpadclientcrash_report_database_win.cc
lea rcx, [rbp - 0x50]
mov r9d, 0x370
call fcn.1400372da
lea rdx, str.DeleteFile
lea rcx, [rbp - 0x50]
call fcn.14000345f
mov rsi, rax
mov rax, qword [rbp + 0xf8]
cmp qword [rbp + 0x100], 8
jb 0x14003cfa9
mov rcx, qword [rbp + 0xe8]
jmp 0x14003cfb0
lea rcx, [rbp + 0xe8]
lea rdx, [rbp + 0xb8]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
lea rdi, [rbp + 0xc8]
mov rcx, rdi
call fcn.14004784a
mov r8, qword [rbp + 0xd8]
cmp qword [rbp + 0xe0], 0x10
jb 0x14003cfe5
mov rdi, qword [rbp + 0xc8]
mov rcx, rsi
mov rdx, rdi
call fcn.140004e8c
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x14003d031
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14003d02c
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14003d044
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
lea rcx, [rbp - 0x50]
call fcn.14003730a
mov ebx, 2
jmp 0x14003cf19
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3

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

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov eax, dword [rcx + 0x78]
cmp eax, edx
jne 0x14003ed52
cmp qword [rcx + 0x28], 8
jb 0x14003ed61
mov rcx, qword [rcx + 0x10]
jmp 0x14003ed65
xor ecx, ecx
cmp eax, 1
sete cl
lea eax, [rcx + rcx*2]
inc eax
jmp 0x14003ed7e
add rcx, 0x10
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov eax, 1
cmovne eax, ecx
add rsp, 0x20
pop rbp
ret