joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400116cc
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140015d60
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140028010]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x14002e10e]
call fcn.140011776
mov dword [rbp + 0x284], 0
xor edx, edx
mov ecx, 2
call fcn.14001137a
mov qword [rbp + 0x268], rax
cmp qword [rbp + 0x268], 0xffffffffffffffff
jne 0x140015dc8
xor eax, eax
jmp 0x140015e3b
mov dword [rbp + 0x10], 0x238
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.140011483
test eax, eax
jne 0x140015df4
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140015e3b
lea rdx, str.explorer.exe
lea rcx, [rbp + 0x3c]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x140015e14
mov eax, dword [rbp + 0x18]
mov dword [rbp + 0x284], eax
jmp 0x140015e28
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.140011681
test eax, eax
jne 0x140015df4
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x284]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140023640]
call fcn.140011631
mov rax, rdi
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.140011398
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret
Function at 0x1400117b2
Capabilities:
Get domain controller name

Disassembly:
jmp 0x140018950
push rbp
push rdi
sub rsp, 0x2c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x7a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140028010]
xor rax, rbp
mov qword [rbp + 0x290], rax
lea rcx, [0x14002e10e]
call fcn.140011776
mov qword [rbp + 8], 0
lea r8, [rbp + 8]
xor edx, edx
xor ecx, ecx
call fcn.140011500
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x140018ad6
cmp qword [rbp + 8], 0
je 0x140018ad6
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x48]
call fcn.14001126c
nop
lea rax, [rbp + 0x1a8]
mov qword [rbp + 0x1d8], rax
lea rax, [rbp + 0x1f8]
mov qword [rbp + 0x228], rax
lea rcx, [rbp + 0x184]
call fcn.1400111bd
mov qword [rbp + 0x278], rax
mov rdx, qword [rbp + 0x1d8]
lea rcx, [rbp + 0x48]
call fcn.1400115c3
mov qword [rbp + 0x280], rax
mov rdx, qword [rbp + 0x228]
lea rcx, [rbp + 0x48]
call fcn.14001138e
mov qword [rbp + 0x288], rax
mov rax, qword [rbp + 0x278]
mov r9, rax
mov r8, qword [rbp + 0x280]
mov rdx, qword [rbp + 0x288]
lea rcx, [rbp + 0x88]
call fcn.1400113cf
mov rcx, qword [rbp + 8]
call fcn.140011244
xor r8d, r8d
lea rdx, [0x140023e88]
lea rcx, [rbp + 0x88]
call fcn.1400112ad
cmp rax, 0xffffffffffffffff
je 0x140018a98
mov dword [rbp + 0x244], 0
lea rcx, [rbp + 0x88]
call fcn.140011154
nop
lea rcx, [rbp + 0x48]
call fcn.140011677
mov eax, dword [rbp + 0x244]
jmp 0x140018ad8
mov dword [rbp + 0x264], 1
lea rcx, [rbp + 0x88]
call fcn.140011154
nop
lea rcx, [rbp + 0x48]
call fcn.140011677
mov eax, dword [rbp + 0x264]
jmp 0x140018ad8
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400232f0]
call fcn.140011631
mov rax, rdi
mov rcx, qword [rbp + 0x290]
xor rcx, rbp
call fcn.140011398
lea rsp, [rbp + 0x2a8]
pop rdi
pop rbp
ret
Function at 0x140029d50
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 0x140029d97
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140029db1
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140029d8f
mov qword [rsi], rdi
call fcn.140075610
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 0x140029dc7
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140075610
mov rcx, qword [rsi]
call fcn.14006f090
mov qword [rsi], 0
jmp 0x140029d7d
int3

Function at 0x140029e00
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 0x140029e2a
call fcn.140075610
cmp qword [rsi], r14
je 0x140029e59
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140029e7e
cmp r15, 2
jb 0x140029e51
mov qword [rsi], r14
call fcn.140075610
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 0x140029e94
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140075610
mov rcx, qword [rsi]
call fcn.14006f090
mov qword [rsi], 0
jmp 0x140029e43
mov rcx, rdi
call fcn.14006f170
jmp 0x140029e6f
Function at 0x14002a260
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 r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x14002a2a6
mov r14, r12
test r14, r14
je 0x14002a3a8
mov rax, qword [rdi]
mov qword [r14], 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 r15, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r15
jbe 0x14002a308
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x14002a2f4
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1400d3630
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
jmp 0x14002a282
mov rax, r12
sub rax, r15
sar rax, 2
cmp r12, r15
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x14002a3ce
lea rcx, [r13*8]
call fcn.1400a02ac
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, r12
mov r14, rcx
sub rdx, rbx
je 0x14002a36e
lea r14, [rdx + rcx]
xor r8d, r8d
mov r9, rcx
add r9, r8
je 0x14002a3a8
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x14002a356
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rdx
cmp r12, rbx
je 0x14002a38e
add r12, 0xfffffffffffffff8
jne 0x14002a381
jmp 0x14002a3bb
test r15, r15
je 0x14002a282
mov rcx, r15
call fcn.1400a02e8
mov r14, qword [rsi + 0x10]
jmp 0x14002a282
lea rcx, [0x14014d516]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1400d6d70
lea rcx, [0x14014d516]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.1400d6d70
call fcn.1400d4aa0
int3
Function at 0x14002af50
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 [0x140178040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x14014d460]
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, 0x97
call fcn.1400755f0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140079060
test esi, esi
js 0x14002b056
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.140079790
test al, al
jne 0x14002b05d
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.140079af0
lea rcx, [rsp + 0x50]
call fcn.1400790e0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400a15d0
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14002b02b
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1400f9680
jmp 0x14002aff0

Function at 0x14002b080
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x140178040]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
movaps xmm0, xmmword [0x14014d460]
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, 0xac
call fcn.1400755f0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140079060
mov qword [rbx + 8], r14
mov qword [rbx], 0
call fcn.140079790
test al, al
jne 0x14002b15c
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.140079af0
lea rcx, [rsp + 0x50]
call fcn.1400790e0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400a15d0
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.1400f9680
jmp 0x14002b109
Function at 0x14002b180
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 [0x140178040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm0, xmmword [0x14014d460]
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, 0xb9
call fcn.1400755f0
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140079060
mov qword [r14 + 8], r15
mov qword [r14], 0
call fcn.140079790
test al, al
jne 0x14002b2a8
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 0x14002b26f
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 0x14002b26f
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14002b2a4
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.140079af0
lea rcx, [rsp + 0x50]
call fcn.1400790e0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400a15d0
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x14002b26f
lea rdx, str.File::SetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
mov r9, rdi
call fcn.1400f9680
jmp 0x14002b212
Function at 0x14002b3e0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140178040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x14014d460]
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.DoInitialize
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x171
call fcn.1400755f0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140079060
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 0x14002b64c
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 0x14002b63a
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 0x14002b543
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 0x14002b59d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14002b606
mov rax, r14
inc rax
cmp rax, 2
jb 0x14002b592
mov qword [rsi], r14
call fcn.140075610
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
inc r14
cmp r14, 2
jb 0x14002b5f4
shr r15d, 0xa
mov dword [rsi + 0x24], 0
mov byte [rsi + 0x29], r15b
test bl, 4
jne 0x14002b61f
test bl, 0xa
je 0x14002b5c3
mov byte [rsi + 0x28], 1
bt ebx, 0x15
jb 0x14002b630
lea rcx, [rsp + 0x60]
call fcn.1400790e0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400a15d0
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14002b2d0
mov dword [rsi + 0x24], eax
jmp 0x14002b5c9
call fcn.140075610
mov rcx, qword [rsi]
call fcn.14006f090
mov qword [rsi], 0
jmp 0x14002b57e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [rsi + 0x28]
jmp 0x14002b5c3
mov rcx, rdi
call fcn.14002cba0
jmp 0x14002b5c9
bt ebx, 0x15
jb 0x14002b668
or r8d, 0x20000000
jmp 0x14002b4c1
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsi + 0x24], 0xffffffff
call fcn.1400f8e70
jmp 0x14002b5c9
int3
Function at 0x14002ba30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140178040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x14014d460]
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, 0x20c
call fcn.1400755f0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140079060
cmp byte [rdi + 0x17], 0
jns 0x14002baa2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.1400790e0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a15d0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002bae0
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 [0x140178040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x14014d460]
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, 0x215
call fcn.1400755f0
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140079060
cmp byte [rdi + 0x17], 0
jns 0x14002bb62
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002bbf5
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 0x14002bbd8
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x14002bc21
call fcn.140075610
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 0x14002bbf5
call fcn.140075610
mov rcx, r14
call fcn.14006f090
lea rcx, [rsp + 0x60]
call fcn.1400790e0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400a15d0
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14002bbd0
Function at 0x14002bc30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140178040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x14014d460]
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, 0x234
call fcn.1400755f0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140079060
cmp byte [rdi + 0x17], 0
jns 0x14002bca2
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.1400790e0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a15d0
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002bcf0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140178040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400d3cd0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002bd8f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400bcf98
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140075800
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.1400327a0
mov rcx, rsi
mov rdx, r14
call fcn.140031450
mov rcx, r14
call fcn.140075930
mov rcx, rbx
call fcn.140075930
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400a15d0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14002bdc0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140178040]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400d3cd0
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 0x14002be55
cmp word [rsp + 0x70], 0
je 0x14002be55
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400bcf98
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140075800
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400a15d0
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 [0x14014d460]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1400757a0
mov rcx, rdi
call fcn.14002bcf0
test al, al
jne 0x14002bea7
lea rax, [0x140152e58]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140075800
jmp 0x14002beb4
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400313d0
lea rcx, [rsp + 0x40]
call fcn.140075930
jmp 0x14002be37
Function at 0x14002bed0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rax, qword [0x140178040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
cmp byte [0x1401898e8], 0
jne 0x14002c171
mov rsi, rcx
movaps xmm6, xmmword [0x14014d460]
lea rdi, [rsp + 0x50]
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 + 0xb0]
mov rcx, rbx
mov r9d, 0x2ba
call fcn.1400755f0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140079060
test rsi, rsi
je 0x14002c175
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400757a0
mov ecx, 0x65
mov rdx, rdi
call fcn.14002dcd0
test al, al
je 0x14002c03f
lea rax, str.SystemTemp
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov qword [r8 + 8], 0xa
lea rbx, [rsp + 0xb0]
mov rcx, rdi
mov rdx, rbx
call fcn.140032620
mov rcx, rdi
mov rdx, rbx
call fcn.140031450
mov rcx, rbx
call fcn.140075930
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 + 0x90]
mov rcx, r14
mov r9d, 0x20c
call fcn.1400755f0
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140079060
cmp byte [rsp + 0x47], 0
jns 0x14002c023
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400790e0
cmp edi, 0xffffffff
jne 0x14002c106
lea rcx, [rsp + 0x30]
call fcn.140075930
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400757a0
mov ecx, 0x67
mov rdx, rdi
call fcn.14002dcd0
test al, al
je 0x14002c0f8
lea rbx, [rsp + 0xb0]
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 + 0x90]
mov rcx, r14
mov r9d, 0x20c
call fcn.1400755f0
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140079060
cmp byte [rsp + 0x47], 0
jns 0x14002c0c7
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400790e0
cmp edi, 0xffffffff
je 0x14002c0f8
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14002bae0
test al, al
jne 0x14002c123
lea rcx, [rsp + 0x30]
call fcn.140075930
xor esi, esi
jmp 0x14002c13e
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14002bae0
test al, al
je 0x14002c03f
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.1400313f0
mov rcx, rdi
call fcn.140075930
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.1400790e0
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400a15d0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor esi, esi
jmp 0x14002c148
int3