joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000cd80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [r9 - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [r10 - 1]
vmovups xmm15, xmmword [r9 - 0x70]
lea r12, [r9 - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x14000cea0
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x14000cde0
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x14000cde0
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rcx]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rcx + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rcx + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rcx + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rcx + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rcx + 0x50]
lea rcx, [rcx + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rdx], xmm9
vmovups xmmword [rdx + 0x10], xmm10
vmovups xmmword [rdx + 0x20], xmm11
vmovups xmmword [rdx + 0x30], xmm12
vmovups xmmword [rdx + 0x40], xmm13
vmovups xmmword [rdx + 0x50], xmm14
lea rdx, [rdx + 0x60]
ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x14000cde0
Function at 0x1400223ed
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
mov rcx, r9
mov r8, qword [rsp + 0x28]
mov r9, rsp
sub rsp, 0x68
movaps xmmword [r9 - 0x28], xmm6
movaps xmmword [r9 - 0x18], xmm7
movdqa xmm0, xmmword [str.expand_32_byte_k]
movdqu xmm1, xmmword [rcx]
movdqu xmm2, xmmword [rcx + 0x10]
movdqu xmm3, xmmword [r8]
movdqa xmm6, xmmword [0x1401674c0]
movdqa xmm7, xmmword [0x1401674d0]
movdqa xmmword [rsp], xmm0
movdqa xmmword [rsp + 0x10], xmm1
movdqa xmmword [rsp + 0x20], xmm2
movdqa xmmword [rsp + 0x30], xmm3
mov r8d, 0xa
jmp 0x1400224a0
movdqa xmm3, xmmword [0x140167450]
movdqa xmm0, xmmword [rsp]
movdqa xmm1, xmmword [rsp + 0x10]
movdqa xmm2, xmmword [rsp + 0x20]
paddd xmm3, xmmword [rsp + 0x30]
mov r8d, 0xa
movdqa xmmword [rsp + 0x30], xmm3
jmp 0x1400224a0
paddd xmm0, xmm1
pxor xmm3, xmm0
pshufb xmm3, xmm6
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
psrld xmm1, 0x14
pslld xmm4, 0xc
por xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
pshufb xmm3, xmm7
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
psrld xmm1, 0x19
pslld xmm4, 7
por xmm1, xmm4
pshufd xmm2, xmm2, 0x4e
pshufd xmm1, xmm1, 0x39
pshufd xmm3, xmm3, 0x93
nop
paddd xmm0, xmm1
pxor xmm3, xmm0
pshufb xmm3, xmm6
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
psrld xmm1, 0x14
pslld xmm4, 0xc
por xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
pshufb xmm3, xmm7
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
psrld xmm1, 0x19
pslld xmm4, 7
por xmm1, xmm4
pshufd xmm2, xmm2, 0x4e
pshufd xmm1, xmm1, 0x93
pshufd xmm3, xmm3, 0x39
dec r8
jne 0x1400224a0
paddd xmm0, xmmword [rsp]
paddd xmm1, xmmword [rsp + 0x10]
paddd xmm2, xmmword [rsp + 0x20]
paddd xmm3, xmmword [rsp + 0x30]
cmp rdx, 0x40
jb 0x1400225e0
movdqu xmm4, xmmword [rsi]
movdqu xmm5, xmmword [rsi + 0x10]
pxor xmm0, xmm4
movdqu xmm4, xmmword [rsi + 0x20]
pxor xmm1, xmm5
movdqu xmm5, xmmword [rsi + 0x30]
lea rsi, [rsi + 0x40]
pxor xmm2, xmm4
pxor xmm3, xmm5
movdqu xmmword [rdi], xmm0
movdqu xmmword [rdi + 0x10], xmm1
movdqu xmmword [rdi + 0x20], xmm2
movdqu xmmword [rdi + 0x30], xmm3
lea rdi, [rdi + 0x40]
sub rdx, 0x40
jne 0x140022460
jmp 0x140022618
movdqa xmmword [rsp], xmm0
movdqa xmmword [rsp + 0x10], xmm1
movdqa xmmword [rsp + 0x20], xmm2
movdqa xmmword [rsp + 0x30], xmm3
xor r8, r8
movzx eax, byte [rsi + r8]
movzx ecx, byte [rsp + r8]
lea r8, [r8 + 1]
xor eax, ecx
mov byte [rdi + r8 - 1], al
dec rdx
jne 0x1400225fa
movaps xmm6, xmmword [r9 - 0x28]
movaps xmm7, xmmword [r9 - 0x18]
lea rsp, [r9]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
ret
Function at 0x140038e00
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x140038e47
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140038e61
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140038e3f
mov qword [rsi], rdi
call fcn.140094940
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rdi, rax
je 0x140038e77
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140094940
mov rcx, qword [rsi]
call fcn.14008f5f0
mov qword [rsi], 0
jmp 0x140038e2d
int3

Function at 0x140038eb0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x140038eda
call fcn.140094940
cmp qword [rsi], r14
je 0x140038f09
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140038f44
cmp r15, 2
jb 0x140038f01
mov qword [rsi], r14
call fcn.140094940
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 0x140038f2e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140094940
mov rcx, qword [rdi]
call fcn.14008f5f0
mov qword [rdi], 0
jmp 0x140038f1f
call fcn.140094940
mov rcx, qword [rsi]
call fcn.14008f5f0
mov qword [rsi], 0
jmp 0x140038ef3
Function at 0x1400391c0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
cmp rbx, qword [rcx + 0x18]
je 0x140039206
mov r15, rbx
test r15, r15
je 0x1400392e2
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12, qword [rsi]
mov r14, qword [rsi + 8]
mov rax, r14
sub rax, r12
jbe 0x140039262
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r15, r14
sub r15, rax
sub rbx, r14
je 0x140039251
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.1400f5780
mov r14, qword [rsi + 8]
add r15, rbx
mov qword [rsi + 0x10], r15
lea rax, [r14 + r12*8]
mov qword [rsi + 8], rax
jmp 0x1400391e2
mov rax, rbx
sub rax, r12
sar rax, 2
cmp rbx, r12
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x1400392fe
lea rcx, [r13*8]
call fcn.1400c5ab8
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rbx
mov r15, rcx
sub rdx, r14
je 0x1400392c4
lea r15, [rdx + rcx]
xor r8d, r8d
mov r9, rcx
add r9, r8
je 0x1400392e2
mov r10, qword [r14 + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x1400392ac
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], rdx
cmp rbx, r14
je 0x1400392e4
add rbx, 0xfffffffffffffff8
jne 0x1400392d7
ud2
test r12, r12
je 0x1400391e2
mov rcx, r12
call fcn.1400c5af4
mov r15, qword [rsi + 0x10]
jmp 0x1400391e2
call fcn.1400f6890
int3
Function at 0x140039cf0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14019d040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x140171db0]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.WriteAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x9a
call fcn.140094920
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14009adc0
test esi, esi
js 0x140039e00
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.14009b060
test al, al
jne 0x140039e07
lea r14, [rsp + 0x2c]
mov dword [r14], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [r14]
lea rcx, [rsp + 0x30]
call fcn.14009b0e0
lea rcx, [rsp + 0x50]
call fcn.14009ae50
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
cmp rcx, qword [0x14019d040]
je 0x140039def
call fcn.1400c6de0
int3
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x140039dcb
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14011dd10
jmp 0x140039d90

Function at 0x140039e30
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x14019d040]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
movaps xmm0, xmmword [0x140171db0]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.GetLength
lea r8, str....._base_files_file_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0xb0
call fcn.140094920
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14009adc0
mov qword [rbx + 8], r14
mov qword [rbx], 0
call fcn.14009b060
test al, al
jne 0x140039f16
lea rdi, [rsp + 0x28]
mov qword [rdi], r14
mov rcx, qword [rsi]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor esi, esi
cmp eax, 1
sbb rsi, rsi
or rsi, qword [rdi]
lea rcx, [rsp + 0x30]
call fcn.14009b0e0
lea rcx, [rsp + 0x50]
call fcn.14009ae50
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
cmp rcx, qword [0x14019d040]
je 0x140039f06
call fcn.1400c6de0
int3
mov rax, rsi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, str.File::GetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
xor r9d, r9d
call fcn.14011dd10
jmp 0x140039eb9
Function at 0x140039f30
Capabilities:
Clear file content

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14019d040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm0, xmmword [0x140171db0]
lea rbx, [rsp + 0x50]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.SetLength
lea r8, str....._base_files_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0xbd
call fcn.140094920
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14009adc0
mov qword [r14 + 8], r15
mov qword [r14], 0
call fcn.14009b060
test al, al
jne 0x14003a062
lea r8, [rsp + 0x28]
mov qword [r8], r15
mov rcx, qword [rsi]
xor ebx, ebx
xor edx, edx
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14003a01f
mov rcx, qword [rsi]
xor ebx, ebx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14003a01f
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14003a05e
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsi]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
setne bl
lea rcx, [rsp + 0x30]
call fcn.14009b0e0
lea rcx, [rsp + 0x50]
call fcn.14009ae50
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
cmp rcx, qword [0x14019d040]
je 0x14003a04d
call fcn.1400c6de0
int3
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x14003a01f
lea rdx, str.File::SetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
mov r9, rdi
call fcn.14011dd10
jmp 0x140039fc2
Function at 0x14003a2b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14019d040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x140171db0]
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.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x203
call fcn.140094920
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14009adc0
cmp byte [rdi + 0x17], 0
jns 0x14003a322
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.14009ae50
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
cmp rcx, qword [0x14019d040]
je 0x14003a353
call fcn.1400c6de0
int3
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x14019d040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x140171db0]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x20c
call fcn.140094920
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14009adc0
cmp byte [rdi + 0x17], 0
jns 0x14003a3e2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003a475
test al, 0x10
cmove esi, ebp
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 3
xor r14d, r14d
mov rcx, rdi
mov edx, esi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x14003a458
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x14003a4ab
call fcn.140094940
mov r14, rdi
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
setne bl
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14003a475
call fcn.140094940
mov rcx, r14
call fcn.14008f5f0
lea rcx, [rsp + 0x60]
call fcn.14009ae50
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
cmp rcx, qword [0x14019d040]
je 0x14003a499
call fcn.1400c6de0
int3
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14003a450
mov edx, 2
mov r8d, 0x40000000
jmp 0x14003a360
Function at 0x14003a4c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14019d040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x140171db0]
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.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x22b
call fcn.140094920
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14009adc0
cmp byte [rdi + 0x17], 0
jns 0x14003a532
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
setne al
and edi, 0x10
shr edi, 4
and dil, al
mov rcx, rsi
call fcn.14009ae50
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
cmp rcx, qword [0x14019d040]
je 0x14003a56e
call fcn.1400c6de0
int3
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14003a580
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x14019d040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400f5e20
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14003a61f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400e09e8
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400949b0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14003fc30
mov rcx, rsi
mov rdx, r14
call fcn.14003ef00
mov rcx, r14
call fcn.140094af0
mov rcx, rbx
call fcn.140094af0
cmp edi, 0x103
setb al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
cmp rcx, qword [0x14019d040]
je 0x14003a642
call fcn.1400c6de0
int3
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14003a650
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x14019d040]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400f5e20
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14003a6ef
cmp word [rsp + 0x70], 0
je 0x14003a6ef
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400e09e8
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1400949b0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
cmp rcx, qword [0x14019d040]
je 0x14003a6e1
call fcn.1400c6de0
int3
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140171db0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140094950
mov rcx, rdi
call fcn.14003a580
test al, al
jne 0x14003a741
lea rax, [0x140178dc8]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1400949b0
jmp 0x14003a74e
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14003eee0
lea rcx, [rsp + 0x40]
call fcn.140094af0
jmp 0x14003a6c7
Function at 0x14003a760
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
movaps xmmword [rsp + 0xf0], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14019d040]
xor rax, rsp
mov qword [rsp + 0xe8], rax
movaps xmm6, xmmword [0x140171db0]
lea rbx, [rsp + 0x40]
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.CreateDirectoryAndGetError
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0xa0]
mov rcx, r14
mov r9d, 0x2cb
call fcn.140094920
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14009adc0
cmp byte [rdi + 0x17], 0
mov rbx, rdi
jns 0x14003a7e8
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003a83e
mov bl, 1
test al, 0x10
je 0x14003a9af
lea rcx, [rsp + 0x40]
call fcn.14009ae50
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
cmp rcx, qword [0x14019d040]
je 0x14003a824
call fcn.1400c6de0
int3
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x20]
mov qword [r14 + 0x10], rax
movaps xmmword [r14], xmm6
mov rcx, rdi
mov rdx, r14
call fcn.140094cd0
movsx rcx, byte [rdi + 0x17]
mov rax, rcx
test rcx, rcx
jns 0x14003a871
mov rax, qword [rdi + 8]
movsx r8, byte [rsp + 0x37]
mov rdx, r8
test r8, r8
jns 0x14003a884
mov rdx, qword [rsp + 0x28]
cmp rdx, rax
je 0x14003a94e
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.14003a760
test al, al
je 0x14003a99a
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
je 0x14003a8c2
lea rcx, [rsp + 0x20]
call fcn.140094af0
jmp 0x14003a800
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0xb7
jne 0x14003a9a1
lea r14, [rsp + 0xa0]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x80]
mov rcx, r15
mov r9d, 0x22b
call fcn.140094920
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14009adc0
cmp byte [rdi + 0x17], 0
jns 0x14003a92b
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, r14
call fcn.14009ae50
cmp edi, 0xffffffff
je 0x14003a9a1
and edi, 0x10
jne 0x14003a8b3
jmp 0x14003a9a1
test rax, rax
je 0x14003a981
mov rdx, rdi
test cl, cl
jns 0x14003a95d
mov rdx, qword [rdi]
test r8b, r8b
jns 0x14003a967
mov r14, qword [rsp + 0x20]
xor ecx, ecx
movzx r8d, word [r14 + rcx*2]
cmp r8w, word [rdx + rcx*2]
jne 0x14003a88d
inc rcx
cmp rax, rcx
jne 0x14003a969
mov eax, 0xfffffffc
mov ebp, 2
test rsi, rsi
je 0x14003a992
mov dword [rsi], eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14003a8b3
test rsi, rsi
je 0x14003a992
mov ecx, ebp
call fcn.14003a080
jmp 0x14003a990
test rsi, rsi
je 0x14003a9ba
mov dword [rsi], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14003a800
Function at 0x14003b0f0
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x568
mov byte [rsp + 0x2f], r8b
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14019d040]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1400f5e20
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.14003b5b0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140171db0]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.14003b780
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x14003b18a
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14003b25e
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r12d, r12d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.1400f5e20
mov rcx, r15
mov rdx, r14
call fcn.14003b750
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x14003b2ed
mov rcx, r14
call fcn.14003b4c0
test al, al
jne 0x14003b2ac
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x14003b1f8
mov rcx, qword [rsp + 0x30]
call rbx
test eax, eax
jne 0x14003b2a5
call r13
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r12d, r12d
cmovne ebp, r12d
mov rcx, r14
call fcn.140024970
mov rcx, r15
mov rdx, r14
call fcn.14003b780
mov rcx, rdi
mov rdx, r14
call fcn.14003ef00
mov rcx, r14
call fcn.140094af0
movsx rax, byte [rsp + 0x47]
test rax, rax
jns 0x14003b252
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
jne 0x14003b1b1
lea rcx, [rsp + 0x30]
call fcn.140094af0
lea rcx, [rsp + 0x298]
call fcn.14003b6e0
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
cmp rcx, qword [0x14019d040]
je 0x14003b28f
call fcn.1400c6de0
int3
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
jmp 0x14003b215
xor ebp, ebp
cmp byte [rsp + 0x2f], 0
je 0x14003b215
mov rcx, rdi
mov rdx, rsi
mov r8b, 1
call fcn.14003b0f0
test eax, eax
jne 0x14003b340
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x14003b2da
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14003b215
jmp 0x14003b202
cmp byte [rsp + 0x2f], 0
je 0x14003b315
cmp byte [rsp + 0x47], 0
js 0x14003b302
lea rcx, [rsp + 0x30]
jmp 0x14003b307
mov rcx, qword [rsp + 0x30]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14003b1d9
lea rcx, [rsp + 0x48]
call fcn.14003b4c0
test al, al
jne 0x14003b329
mov edx, dword [rsp + 0x48]
jmp 0x14003b2f4
lea rcx, [rsp + 0x48]
call fcn.14003b4c0
test al, al
je 0x14003b1e9
jmp 0x14003b2a5
mov ebp, eax
jmp 0x14003b215