joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180091270
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x60
mov rdx, qword [rcx + 0x10]
mov rbx, rcx
xor esi, esi
mov qword [rsp + 0x58], 0xf
add rdx, 0xc
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x40]
mov byte [rsp + 0x40], sil
call fcn.1800a9410
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x1800912b1
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1800a7730
mov r8d, 0xc
lea rdx, str.logins.json
lea rcx, [rsp + 0x40]
call fcn.1800a7730
lea rax, [rsp + 0x40]
cmp rbx, rax
je 0x18009132d
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18009131a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180091315
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800914ba
mov rcx, r8
call fcn.1800afef0
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
jmp 0x18009136a
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18009136a
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180091365
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800914ba
call fcn.1800afef0
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x180091377
mov rcx, qword [rbx]
lea rdx, [0x1800f1da0]
call fcn.1800b7fc8
test rax, rax
je 0x18009145b
mov rcx, rax
mov qword [rsp + 0x78], rdi
call fcn.1800b8058
mov ecx, 0x186a0
call fcn.1800b7f04
cmp qword [rbx + 0x18], 0x10
mov rdi, rax
mov rcx, rbx
jb 0x1800913b3
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 4
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x1800913fc
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rsi
mov r8d, 0x186a0
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180091436
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180091431
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800914ae
mov rcx, r8
call fcn.1800afef0
mov rax, rdi
mov qword [rbx + 0x10], rsi
mov rdi, qword [rsp + 0x78]
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180091491
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18009148c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800914b4
mov rcx, r8
call fcn.1800afef0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret
call fcn.1800bb0c0
int3
call fcn.1800bb0c0
int3
call fcn.1800bb0c0
int3
Function at 0x18009f810
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0xa0
lea rdx, [0x180103eb8]
lea rcx, [rsp + 0x80]
call fcn.1800a79d0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18008a600
lea rcx, [rsp + 0x40]
mov rbx, rax
call fcn.18008d110
mov r8, qword [rbx + 0x10]
mov rcx, rax
mov rdx, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rax, rdx
sub rax, r9
cmp r8, rax
jbe 0x18009f883
mov rax, qword [rbx + 0x18]
sub rax, r8
cmp rax, r9
jb 0x18009f883
cmp rdx, 0x10
jb 0x18009f876
mov rcx, qword [rcx]
mov r8, rcx
mov rcx, rbx
call fcn.1800a9670
jmp 0x18009f895
cmp qword [rbx + 0x18], 0x10
jb 0x18009f88d
mov rbx, qword [rbx]
mov rdx, rbx
call fcn.1800a7730
movups xmm0, xmmword [rax]
xor ebx, ebx
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov byte [rax], bl
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], rbx
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18009f8f3
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009f8ee
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009f9c5
call fcn.1800afef0
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
cmp rdx, 0x10
jb 0x18009f943
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009f93e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009f9c5
call fcn.1800afef0
cmp qword [rsp + 0x38], 0x10
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x18009f97d
test al, 0x10
je 0x18009f97d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x80]
call fcn.1800a79d0
mov rcx, rax
call fcn.18009e4d0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x18009f9b6
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009f9b1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009f9bf
call fcn.1800afef0
add rsp, 0xa0
pop rbx
ret
call fcn.1800bb0c0
int3
call fcn.1800bb0c0
int3
Function at 0x1800a8de0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1800a8e14
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1800a8e00
ret
Function at 0x1800c2cec
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800c2d0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800ba3f4
or eax, 0xffffffff
jmp 0x1800c2d0e
xor eax, eax
add rsp, 0x28
ret

Function at 0x1800c5878
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1800c5855
call fcn.1800ba464
mov dword [rax], 0x16
call fcn.1800bb0a0
or eax, 0xffffffff
jmp 0x1800c5872
sub dword [rcx + 0x10], 1
jns 0x1800c5864
add rsp, 0x28
jmp 0x1800cfd5c
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1800c5834
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x1800cfd8e
call fcn.1800ba464
mov dword [rax], 0x16
call fcn.1800bb0a0
jmp 0x1800cfeab
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1800cfeab
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1800cfeab
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1800cfdbd
lock or dword [rcx + 0x14], 0x10
jmp 0x1800cfeab
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1800cfdd1
call fcn.1800d2ecc
mov rbx, qword [rdi + 8]
mov rcx, rdi
mov qword [rdi], rbx
call fcn.1800c2914
mov r8d, dword [rdi + 0x20]
mov ecx, eax
mov rdx, rbx
call fcn.1800d1dd4
mov dword [rdi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1800cfe99
mov eax, dword [rdi + 0x14]
or esi, 0xffffffff
test al, 6
jne 0x1800cfe64
mov rcx, rdi
call fcn.1800c2914
cmp eax, esi
je 0x1800cfe4f
mov rcx, rdi
call fcn.1800c2914
cmp eax, 0xfffffffe
je 0x1800cfe4f
mov rcx, rdi
call fcn.1800c2914
movsxd rbx, eax
lea r14, [0x1801058e0]
mov rcx, rdi
sar rbx, 6
call fcn.1800c2914
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1800cfe56
lea rdx, [0x180101460]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1800cfe64
lock or dword [rdi + 0x14], 0x20
cmp dword [rdi + 0x20], 0x200
jne 0x1800cfe88
mov eax, dword [rdi + 0x14]
shr eax, 6
test al, 1
je 0x1800cfe88
mov eax, dword [rdi + 0x14]
shr eax, 8
test al, 1
jne 0x1800cfe88
mov dword [rdi + 0x20], 0x1000
add dword [rdi + 0x10], esi
mov rax, qword [rdi]
movzx esi, byte [rax]
inc rax
mov qword [rdi], rax
jmp 0x1800cfeae
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rdi + 0x14], eax
and dword [rdi + 0x10], 0
or esi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140018340
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 0x140018460
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 0x1400183a0
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 0x1400183a0
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]
repz 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 0x1400183a0

Function at 0x14001be50
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
mov rsi, rcx
mov rax, qword [0x140126038]
xor rax, rsp
mov qword [rsp + 0x238], rax
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0x101
lea rbx, [rsp + 0x30]
mov r8d, 0x202
mov rcx, rbx
mov dl, 0xaa
call fcn.14008f100
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov edi, eax
test eax, eax
jne 0x14001bec3
test edi, edi
setne bl
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.14008cfb0
mov eax, ebx
add rsp, 0x240
pop rbx
pop rdi
pop rsi
ret
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400a98d0
mov rcx, rsi
mov rdx, rbx
mov r8, rax
call fcn.140029810
jmp 0x14001bea1
Function at 0x14002a1d0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140126038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14013b710]
mov ecx, dword [0x140135ee4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002a230
lea rsi, [0x14013b708]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14008cfb0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14013b710]
call fcn.14008bb80
cmp dword [0x14013b710], 0xffffffff
jne 0x14002a20c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14008f100
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.14008ba2c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14013b758]
mov ecx, dword [0x140135ee4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002a2f0
lea r8, [0x14013b728]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14002a3f0
mov qword [0x14013b708], rsi
lea rcx, [0x14013b710]
call fcn.14008bc18
jmp 0x14002a20c
lea rcx, [0x14013b758]
call fcn.14008bb80
cmp dword [0x14013b758], 0xffffffff
jne 0x14002a2c1
xorps xmm0, xmm0
movups xmmword [0x14013b748], xmm0
movups xmmword [0x14013b738], xmm0
movups xmmword [0x14013b728], xmm0
lea rcx, [0x14013b728]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14013b758]
call fcn.14008bc18
jmp 0x14002a2c1

Function at 0x14002a340
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14013b758]
mov ecx, dword [0x140135ee4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002a37b
movzx eax, word [0x14013b728]
cmp eax, 9
jne 0x14002a3c3
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x14013b758]
call fcn.14008bb80
cmp dword [0x14013b758], 0xffffffff
jne 0x14002a365
xorps xmm0, xmm0
movups xmmword [0x14013b748], xmm0
movups xmmword [0x14013b738], xmm0
movups xmmword [0x14013b728], xmm0
lea rcx, [0x14013b728]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14013b758]
call fcn.14008bc18
jmp 0x14002a365
test eax, eax
je 0x14002a376
cmp eax, 6
jne 0x14002a3d3
mov eax, 2
jmp 0x14002a376
cmp eax, 0xc
jne 0x14002a3df
mov eax, 3
jmp 0x14002a376
mov eax, 4
jmp 0x14002a376
Function at 0x14002adf0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x140126038]
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 0x14002ae79
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x14002ae63
cmp dword [rsp + 0x38], 4
jne 0x14002ae63
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14008cfb0
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x14002ae63

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

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.14008cf50
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140126038]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.14008f100
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 0x14002af44
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x14002af48
lea rcx, [rsp + 0x840]
call fcn.1400a98d0
lea rdx, [rsp + 0x840]
mov rcx, rsi
mov r8, rax
call fcn.140029810
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14008cfb0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x14002af25
cmp eax, 2
jne 0x14002af9d
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.14008f100
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 0x14002afa4
lea rcx, [rsp + 0x40]
call fcn.1400a98d0
lea rdx, [rsp + 0x40]
jmp 0x14002af18
mov edi, 0x3f4
jmp 0x14002af25
mov edi, 0xea
jmp 0x14002af25

Function at 0x14002b320
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 0x14002b367
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14002b381
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14002b35f
mov qword [rsi], rdi
call fcn.1400698c0
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 0x14002b397
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400698c0
mov rcx, qword [rsi]
call fcn.140060d30
mov qword [rsi], 0
jmp 0x14002b34d
int3
Function at 0x14002b660
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140126038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x140109ca0]
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.1400698a0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140062b70
cmp byte [rdi + 0x17], 0
jns 0x14002b6e0
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140062db0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14008cfb0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002b720
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140126038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.14008f100
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002b7bf
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400a98d0
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140069c50
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140031250
mov rcx, rsi
mov rdx, r14
call fcn.140069e80
mov rcx, r14
call fcn.140069e10
mov rcx, rbx
call fcn.140069e10
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14008cfb0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14002b7f0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140126038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14008f100
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 0x14002b885
cmp word [rsp + 0x70], 0
je 0x14002b885
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400a98d0
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140069c50
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14008cfb0
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 [0x140109ca0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140069b20
mov rcx, rdi
call fcn.14002b720
test al, al
je 0x14002b8c5
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140069c30
jmp 0x14002b8e4
lea rax, [0x14010f3ea]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140069c50
lea rcx, [rsp + 0x40]
call fcn.140069e10
jmp 0x14002b867
Function at 0x14002cba0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rax, qword [0x140126038]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x14002cd5e
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.1400a6914
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x80]
mov qword [r14 + 0x40], rax
movaps xmm6, xmmword [0x140109ca0]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.ReadStreamToSpanWithMaxSize
lea r8, str....._base_files_file_util.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x48
call fcn.1400698a0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140062b70
xorps xmm0, xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
mov dword [r15 + 0x30], 0
mov rcx, rbx
call fcn.14009ebb4
mov ecx, eax
call fcn.14009f34c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14002cd62
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
shl rax, 0x20
or rax, rcx
test rax, rax
mov r14d, 0xffff
cmovg r14, rax
cmp r14, rdi
cmovae r14, rdi
inc r14
lea rcx, [rsp + 0x30]
movaps xmmword [rcx], xmm6
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
mov r8, r14
call qword [0x14014e008]
xor r12d, r12d
mov rcx, qword [rsp + 0x38]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.1400a6694
test rax, rax
je 0x14002cd01
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x14002cd6d
add r15, r12
mov rcx, rbx
call fcn.1400a61a4
test eax, eax
je 0x14002cd71
mov r12, r15
mov rcx, rbx
call fcn.1400a61d0
test eax, eax
sete bl
mov rdi, r12
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea rcx, [rsp + 0x20]
mov r8, rdi
call qword [0x14014e008]
lea rcx, [rsp + 0x80]
call fcn.140062db0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.14008cfb0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x14002cd33
mov r14d, 0xffff
jmp 0x14002cc9f
xor ebx, ebx
jmp 0x14002cd11
test r12, r12
mov eax, 0x10000
cmove r14, rax
lea r8, [r15 + r14]
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea r12, [rsp + 0x20]
mov rcx, r12
call qword [0x14014e008]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x14002ccc4