joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a0f90
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a1019
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x1400a1003
cmp dword [rsp + 0x38], 4
jne 0x1400a1003
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401542e0
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x1400a1003

Function at 0x1400a1020
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140154280
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.140157270
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a10e4
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x1400a10e8
lea rcx, [rsp + 0x840]
call fcn.14017c094
lea rdx, [rsp + 0x840]
mov rcx, rsi
mov r8, rax
call fcn.14009a810
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1401542e0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x1400a10c5
cmp eax, 2
jne 0x1400a113d
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.140157270
lea rcx, [rsp + 0x840]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x1400a1144
lea rcx, [rsp + 0x40]
call fcn.14017c094
lea rdx, [rsp + 0x40]
jmp 0x1400a10b8
mov edi, 0x3f4
jmp 0x1400a10c5
mov edi, 0xea
jmp 0x1400a10c5

Function at 0x1400a1150
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, r8
call fcn.14017c094
lea eax, [rax*2 + 2]
mov rcx, qword [rbx + 8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov rdx, rdi
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400a1270
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, qword [rcx + 8]
lea rax, [r14 + 1]
cmp rax, 1
ja 0x1400a12f6
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r14, rax
cmp qword [rdi + 8], rax
je 0x1400a12f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x1400a1392
mov rax, r14
inc rax
cmp rax, 2
jb 0x1400a12ea
mov qword [rdi + 8], r14
call fcn.14011e5e0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400a13ba
mov dword [rsp + 0x20], 1
mov rcx, rbx
mov edx, 1
mov r8d, 0x1000000f
mov r9, r14
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
jne 0x1400a13ad
lea rcx, [rdi + 0x68]
mov rdx, rsi
call fcn.14011ecb0
lea rbx, [rdi + 0x10]
lea rdx, str.StartWatching
lea r8, [0x140227630]
lea r14, [rsp + 0x28]
mov rcx, r14
mov r9d, 0x1a7
call fcn.14011e5c0
mov rdx, qword [rdi + 8]
mov rcx, rbx
mov r8, rdi
mov r9, r14
call fcn.140106e80
mov edi, eax
mov rcx, rsi
call fcn.14011ed20
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401542e0
mov eax, edi
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call fcn.14011e5e0
mov rcx, qword [rdi + 8]
call fcn.140106db0
mov qword [rdi + 8], 0
jmp 0x1400a12d5
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x1400a13be
xor edi, edi
jmp 0x1400a1370
call fcn.14011e5e0
mov rcx, qword [rdi + 8]
call fcn.140106db0
mov qword [rdi + 8], 0
jmp 0x1400a13ba
Function at 0x1400a2140
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r13d, dword [rsp + 0xd0]
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl ebp, 0x10
mov ecx, SafeArrayCopy
call fcn.1401536a0
mov rsi, rax
movabs r12, 0xfffffffc00000000
mov rax, r15
and rax, r12
cmp rax, qword [0x140251208]
je 0x1400a220e
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r13d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x1400a25f0]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x1400a2223
test r14, r14
je 0x1400a2218
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401542e0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r15
call fcn.1400ea350
jmp 0x1400a21a5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400a21e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x1400a223c
mov ebp, eax
cmp eax, 0x5af
je 0x1400a223c
cmp ebp, 0xe
jne 0x1400a2267
mov rcx, rbx
call fcn.1401cd9c0
test rsi, rsi
je 0x1400a21e8
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x140251208]
jne 0x1400a225d
call fcn.1400ea4a0
mov rcx, rsi
call fcn.1401536dc
jmp 0x1400a21e8
mov eax, dword [0x1402599e0]
mov ecx, dword [0x140251494]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400a22df
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.1400aeeb0
movzx eax, byte [rbx + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rbx]
cmovns rax, rbx
cmovs rcx, qword [rbx + 8]
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
mov rcx, qword [0x1402599d8]
call fcn.1400bf370
cmp byte [rbx + 0x17], 0
jns 0x1400a2244
mov rcx, qword [rsp + 0x38]
call fcn.1401536dc
jmp 0x1400a2244
lea rcx, [0x1402599e0]
call fcn.140153800
cmp dword [0x1402599e0], 0xffffffff
jne 0x1400a2288
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.1400bf340
mov qword [0x1402599d8], rax
lea rcx, [0x1402599e0]
call fcn.140153898
jmp 0x1400a2288

Function at 0x1400a40b0
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 0x1400a40f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400a4111
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400a40ef
mov qword [rsi], rdi
call fcn.14011e5e0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x1400a4127
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14011e5e0
mov rcx, qword [rsi]
call fcn.140106db0
mov qword [rsi], 0
jmp 0x1400a40dd
int3
Function at 0x1400a4130
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 0x1400a415a
call fcn.14011e5e0
mov qword [rsi], 0
test r14, r14
je 0x1400a4190
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400a41cb
cmp r15, 2
jb 0x1400a4188
mov qword [rsi], r14
call fcn.14011e5e0
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 0x1400a41b5
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14011e5e0
mov rcx, qword [rdi]
call fcn.140106db0
mov qword [rdi], 0
jmp 0x1400a41a6
call fcn.14011e5e0
mov rcx, qword [rsi]
call fcn.140106db0
mov qword [rsi], 0
jmp 0x1400a417a

Function at 0x1400a4220
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 0x1400a424a
call fcn.14011e5e0
cmp qword [rsi], r14
je 0x1400a4279
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400a42b4
cmp r15, 2
jb 0x1400a4271
mov qword [rsi], r14
call fcn.14011e5e0
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 0x1400a429e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14011e5e0
mov rcx, qword [rdi]
call fcn.140106db0
mov qword [rdi], 0
jmp 0x1400a428f
call fcn.14011e5e0
mov rcx, qword [rsi]
call fcn.140106db0
mov qword [rsi], 0
jmp 0x1400a4263
Function at 0x1400a5a80
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
call fcn.1400c12e0
mov byte [rsi + 8], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
lea rax, str.__n_
mov qword [rsi], rax
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp qword [rsi + 0x18], rax
je 0x1400a5af5
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x1400a5b00
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400a5aed
mov qword [rsi + 0x18], rdi
call fcn.14011e5e0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14011e5e0
mov rcx, qword [rsi + 0x18]
call fcn.140106db0
mov qword [rsi + 0x18], 0
jmp 0x1400a5ada
Function at 0x1400a6030
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x1402184a0]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.DoInitialize
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x171
call fcn.14011e5c0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401100b0
mov eax, ebx
and eax, 1
neg eax
and eax, 3
test bl, 2
mov edx, 1
cmove edx, eax
test bl, 4
mov ecx, 4
cmovne edx, ecx
test bl, 8
mov r8d, 2
cmove r8d, edx
test bl, 0x10
mov eax, 5
cmove eax, r8d
test eax, eax
je 0x1400a62aa
mov edx, ebx
and edx, 0x40
shl edx, 0x18
test bl, bl
cmovns ecx, edx
mov r8d, ebx
rol r8d, 0x1a
and r8d, 0x80000100
or r8d, ecx
bt ebx, 0x12
jb 0x1400a627f
mov edx, ebx
shr edx, 4
and edx, 0x10000
or edx, r8d
mov ecx, ebx
shr ecx, 8
and ecx, 3
mov r8d, ebx
shr r8d, 0xd
and r8d, 4
or r8d, ecx
xor r8d, 3
mov r15d, ebx
and r15d, 0x400
mov ecx, r15d
shl ecx, 0x14
mov r9d, ebx
shr r9d, 3
and r9d, 0x100
or r9d, ecx
mov ecx, ebx
shr ecx, 0xb
and ecx, 2
or ecx, r9d
mov r10d, ebx
shl r10d, 0xd
and r10d, 0x4000000
or r10d, ecx
mov r9d, ebx
shl r9d, 8
and r9d, 0xa000000
or r9d, r10d
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x1400a61a1
mov rcx, qword [rdi]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x30], 0
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp qword [rsi], rax
je 0x1400a61fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400a6291
mov rax, r14
inc rax
cmp rax, 2
jb 0x1400a61f0
mov qword [rsi], r14
call fcn.14011e5e0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
inc r14
cmp r14, 2
jb 0x1400a6263
shr r15d, 0xa
mov dword [rsi + 0x24], 0
mov byte [rsi + 0x29], r15b
test bl, 4
jne 0x1400a6252
test bl, 0xa
je 0x1400a6221
mov byte [rsi + 0x28], 1
bt ebx, 0x15
jb 0x1400a6275
lea rcx, [rsp + 0x60]
call fcn.1401102f0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401542e0
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [rsi + 0x28]
jmp 0x1400a6221
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400a5f30
mov dword [rsi + 0x24], eax
jmp 0x1400a6227
mov rcx, rdi
call fcn.1400a7730
jmp 0x1400a6227
bt ebx, 0x15
jb 0x1400a62c6
or r8d, 0x20000000
jmp 0x1400a611f
call fcn.14011e5e0
mov rcx, qword [rsi]
call fcn.140106db0
mov qword [rsi], 0
jmp 0x1400a61dc
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsi + 0x24], 0xffffffff
call fcn.1401c81f0
jmp 0x1400a6227
int3
Function at 0x1400a66a0
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x450]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x1402184a0]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, [0x140227b59]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x240]
mov rcx, r15
mov r9d, 0x1d6
call fcn.14011e5c0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401100b0
lea r14, [rsp + 0x240]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140157270
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x1400a6750
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, r14
call fcn.140114a40
mov rcx, r14
call fcn.1400e7eb0
lea r14, [rsp + 0x30]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140157270
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x1400a6787
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, r14
call fcn.140114a40
mov rcx, r14
call fcn.1400e7eb0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x1400a67a9
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x1400a67b5
mov rcx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x1400a683b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400a5f30
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x1400a67e8
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x1400a67f1
mov rbx, qword [rbx]
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
test rsi, rsi
je 0x1400a680c
test eax, eax
je 0x1400a6840
lea rcx, [rsp + 0x450]
call fcn.1401102f0
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.1401542e0
mov eax, edi
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov dil, 1
jmp 0x1400a680c
cmp ebp, 0xfffffffc
jne 0x1400a684c
call fcn.1401c0f40
mov ebp, eax
mov dword [rsi], ebp
xor edi, edi
jmp 0x1400a680c

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x1402184a0]
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, 0x209
call fcn.14011e5c0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1401100b0
cmp byte [rdi + 0x17], 0
jns 0x1400a68e0
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.1401102f0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401542e0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400a6920
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x1402184a0]
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, 0x212
call fcn.14011e5c0
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401100b0
cmp byte [rdi + 0x17], 0
jns 0x1400a69b0
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400a6a43
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 0x1400a6a26
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x1400a6a6f
call fcn.14011e5e0
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 0x1400a6a43
call fcn.14011e5e0
mov rcx, r14
call fcn.140106db0
lea rcx, [rsp + 0x60]
call fcn.1401102f0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401542e0
mov eax, ebx
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x1400a6a1e

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x1402184a0]
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, 0x231
call fcn.14011e5c0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1401100b0
cmp byte [rdi + 0x17], 0
jns 0x1400a6b00
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.1401102f0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401542e0
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400a6b40
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140157270
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x1400a6bdf
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14017c094
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14011ef60
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.1400b7060
mov rcx, rsi
mov rdx, r14
call fcn.14011f1a0
mov rcx, r14
call fcn.14011f120
mov rcx, rbx
call fcn.14011f120
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401542e0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400a6c10
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140157270
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 0x1400a6cbe
cmp word [rsp + 0x70], 0
je 0x1400a6cbe
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14017c094
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14011ef60
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1401542e0
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14011ef40
lea rcx, [rsp + 0x40]
call fcn.14011f120
jmp 0x1400a6c87
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1402184a0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14011ee30
mov rcx, rdi
call fcn.1400a6b40
test al, al
jne 0x1400a6ca5
lea rax, [0x140223756]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14011ef60
jmp 0x1400a6cb2
Function at 0x1400a6d10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
mov rsi, rcx
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x108], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x70]
mov qword [rdi + 0x40], r15
movaps xmm6, xmmword [0x1402184a0]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.GetSecureSystemTemp
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xc0]
mov rcx, rbx
mov r9d, 0x2b3
call fcn.14011e5c0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1401100b0
test rsi, rsi
je 0x1400a6faa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.14011ee30
mov ecx, 0x65
mov rdx, rdi
call fcn.1400a8b60
test al, al
je 0x1400a6e77
lea rax, str.SystemTemp
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov qword [r8 + 8], 0xa
lea rbx, [rsp + 0xc0]
mov rcx, rdi
mov rdx, rbx
call fcn.1400b6fd0
mov rcx, rdi
mov rdx, rbx
call fcn.14011f1a0
mov rcx, rbx
call fcn.14011f120
mov qword [rbx + 0x40], r15
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x50]
mov rcx, r14
mov r9d, 0x209
call fcn.14011e5c0
lea rbx, [rsp + 0xc0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1401100b0
cmp byte [rsp + 0x47], 0
jns 0x1400a6e5b
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1401102f0
cmp edi, 0xffffffff
jne 0x1400a6f3f
lea rcx, [rsp + 0x30]
call fcn.14011f120
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.14011ee30
mov ecx, 0x67
mov rdx, rdi
call fcn.1400a8b60
test al, al
je 0x1400a6f31
lea rbx, [rsp + 0xc0]
mov qword [rbx + 0x40], r15
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x50]
mov rcx, r14
mov r9d, 0x209
call fcn.14011e5c0
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1401100b0
cmp byte [rsp + 0x47], 0
jns 0x1400a6f00
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1401102f0
cmp edi, 0xffffffff
je 0x1400a6f31
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.1400a6920
test al, al
jne 0x1400a6f5c
lea rcx, [rsp + 0x30]
call fcn.14011f120
xor esi, esi
jmp 0x1400a6f77
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.1400a6920
test al, al
je 0x1400a6e77
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.14011f130
mov rcx, rdi
call fcn.14011f120
mov sil, 1
lea rcx, [rsp + 0x70]
call fcn.1401102f0
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.1401542e0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
int3