joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003ccf0
Capabilities:
Create thread

Disassembly:
jmp 0x14003ccf0
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 [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl ebp, 0x10
mov ecx, 0x18
call fcn.1400daddc
mov rsi, rax
movabs r12, 0xfffffffc00000000
mov rax, r15
and rax, r12
cmp rax, qword [0x1401b5588]
jne 0x14003cd5d
mov rcx, r15
call fcn.1400b87f0
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, [0x14003d1b0]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14003cdd1
test r14, r14
je 0x14003cdc6
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400dc300
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, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14003cda0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0x27a
jle 0x14003ce1b
cmp ebp, 0x5af
je 0x14003cdf0
cmp ebp, 0x27b
jne 0x14003ce25
mov rcx, rbx
call fcn.140135090
test rsi, rsi
je 0x14003cda0
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x1401b5588]
jne 0x14003ce11
call fcn.1400b8950
mov rcx, rsi
call fcn.1400dae18
jmp 0x14003cda0
cmp ebp, 8
je 0x14003cdf0
cmp ebp, 0xe
je 0x14003cdf0
mov eax, dword [0x1401c84a0]
mov ecx, dword [0x1401c2158]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003ced2
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.140044f20
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x14003ce6b
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
test rax, rax
js 0x14003ceac
je 0x14003ce81
test rbx, rbx
je 0x14003cebf
mov rcx, qword [0x1401c8498]
lea rdx, [rsp + 0x50]
call fcn.1400569c0
cmp byte [rsp + 0x4f], 0
jns 0x14003cdf8
mov rcx, qword [rsp + 0x38]
call fcn.1400dae18
jmp 0x14003cdf8
lea rcx, [0x14018467d]
lea rdx, str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.140114030
lea rcx, [0x14018467d]
lea rdx, str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.140114030
lea rcx, [0x1401c84a0]
call fcn.1400daf30
cmp dword [0x1401c84a0], 0xffffffff
jne 0x14003ce4a
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140056990
mov qword [0x1401c8498], rax
lea rcx, [0x1401c84a0]
call fcn.1400dafc8
jmp 0x14003ce4a
Function at 0x14003d650
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 0x14003d697
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003d6b1
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14003d68f
mov qword [rsi], rdi
call fcn.1400b4240
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 0x14003d6c7
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400b4240
mov rcx, qword [rsi]
call fcn.1400a7ba0
mov qword [rsi], 0
jmp 0x14003d67d
int3

Function at 0x14003d700
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 0x14003d72a
call fcn.1400b4240
cmp qword [rsi], r14
je 0x14003d759
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003d794
cmp r15, 2
jb 0x14003d751
mov qword [rsi], r14
call fcn.1400b4240
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 0x14003d77e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400b4240
mov rcx, qword [rdi]
call fcn.1400a7ba0
mov qword [rdi], 0
jmp 0x14003d76f
call fcn.1400b4240
mov rcx, qword [rsi]
call fcn.1400a7ba0
mov qword [rsi], 0
jmp 0x14003d743

Function at 0x14003dbf0
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 [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x14017f9f0]
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.1400b4220
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400ab290
test esi, esi
js 0x14003dcf6
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.1400bda90
test al, al
jne 0x14003dcfd
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.1400bddf0
lea rcx, [rsp + 0x50]
call fcn.1400ab310
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400dc300
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14003dccb
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1401368f0
jmp 0x14003dc90
Function at 0x14003dd20
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
movaps xmm0, xmmword [0x14017f9f0]
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.1400b4220
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400ab290
mov qword [rbx + 8], r14
mov qword [rbx], 0
call fcn.1400bda90
test al, al
jne 0x14003ddfc
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.1400bddf0
lea rcx, [rsp + 0x50]
call fcn.1400ab310
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400dc300
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.1401368f0
jmp 0x14003dda9

Function at 0x14003de20
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 [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm0, xmmword [0x14017f9f0]
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.1400b4220
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400ab290
mov qword [r14 + 8], r15
mov qword [r14], 0
call fcn.1400bda90
test al, al
jne 0x14003df48
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 0x14003df0f
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 0x14003df0f
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14003df44
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.1400bddf0
lea rcx, [rsp + 0x50]
call fcn.1400ab310
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400dc300
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x14003df0f
lea rdx, str.File::SetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
mov r9, rdi
call fcn.1401368f0
jmp 0x14003deb2
Function at 0x14003e300
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 [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x14017f9f0]
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.1400b4220
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400ab290
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 0x14003e56c
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 0x14003e541
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 0x14003e463
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 0x14003e4bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003e553
mov rax, r14
inc rax
cmp rax, 2
jb 0x14003e4b2
mov qword [rsi], r14
call fcn.1400b4240
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
inc r14
cmp r14, 2
jb 0x14003e514
shr r15d, 0xa
mov dword [rsi + 0x24], 0
mov byte [rsi + 0x29], r15b
test bl, 4
jne 0x14003e526
test bl, 0xa
je 0x14003e4e3
mov byte [rsi + 0x28], 1
bt ebx, 0x15
jb 0x14003e537
lea rcx, [rsp + 0x60]
call fcn.1400ab310
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400dc300
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.14003e1f0
mov dword [rsi + 0x24], eax
jmp 0x14003e4e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [rsi + 0x28]
jmp 0x14003e4e3
mov rcx, rdi
call fcn.14003fdc0
jmp 0x14003e4e9
bt ebx, 0x15
jb 0x14003e588
or r8d, 0x20000000
jmp 0x14003e3e1
call fcn.1400b4240
mov rcx, qword [rsi]
call fcn.1400a7ba0
mov qword [rsi], 0
jmp 0x14003e49e
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsi + 0x24], 0xffffffff
call fcn.140131a80
jmp 0x14003e4e9
int3
Function at 0x14003e590
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14003e5d8
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14003e5e1
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14003e5c8
mov qword [rdi], rsi
call fcn.1400b4240
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400b4240
mov rcx, qword [rdi]
call fcn.1400a7ba0
mov qword [rdi], 0
jmp 0x14003e5b6
Function at 0x14003e9b0
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x498
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x490], rax
movaps xmm0, xmmword [0x14017f9f0]
lea r14, [rsp + 0x30]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, [0x1401937c7]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x280]
mov rcx, r15
mov r9d, 0x1d8
call fcn.1400b4220
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400ab290
lea r14, [rsp + 0x280]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1400de440
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14003ea4f
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, r14
call fcn.1400af260
mov rcx, r14
call fcn.140099960
lea r14, [rsp + 0x70]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1400de440
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x14003ea86
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, r14
call fcn.1400af260
mov rcx, r14
call fcn.140099960
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14003eaa8
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14003eab4
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 0x14003eb37
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003e1f0
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x14003eae7
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x14003eaf0
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 0x14003eb0b
test eax, eax
je 0x14003eb3c
lea rcx, [rsp + 0x30]
call fcn.1400ab310
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.1400dc300
mov eax, edi
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov dil, 1
jmp 0x14003eb0b
cmp ebp, 0xfffffffc
jne 0x14003eb48
call fcn.14012d690
mov ebp, eax
mov dword [rsi], ebp
xor edi, edi
jmp 0x14003eb0b

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x14017f9f0]
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, 0x20b
call fcn.1400b4220
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400ab290
cmp byte [rdi + 0x17], 0
jns 0x14003ebc2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.1400ab310
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400dc300
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003ec00
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 [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x14017f9f0]
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, 0x214
call fcn.1400b4220
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400ab290
cmp byte [rdi + 0x17], 0
jns 0x14003ec82
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003ed15
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 0x14003ecf8
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x14003ed41
call fcn.1400b4240
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 0x14003ed15
call fcn.1400b4240
mov rcx, r14
call fcn.1400a7ba0
lea rcx, [rsp + 0x60]
call fcn.1400ab310
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400dc300
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14003ecf0

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x14017f9f0]
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, 0x233
call fcn.1400b4220
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400ab290
cmp byte [rdi + 0x17], 0
jns 0x14003edc2
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.1400ab310
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400dc300
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003ee10
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400de440
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14003eeaf
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400f9ef4
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400b4b20
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14004a660
mov rcx, rsi
mov rdx, r14
call fcn.140049000
mov rcx, r14
call fcn.1400b4c50
mov rcx, rbx
call fcn.1400b4c50
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400dc300
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14003eee0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400de440
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 0x14003ef75
cmp word [rsp + 0x70], 0
je 0x14003ef75
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400f9ef4
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1400b4b20
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400dc300
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 [0x14017f9f0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1400b4aa0
mov rcx, rdi
call fcn.14003ee10
test al, al
jne 0x14003efc7
lea rax, [0x1401937f0]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1400b4b20
jmp 0x14003efd4
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400b4b00
lea rcx, [rsp + 0x40]
call fcn.1400b4c50
jmp 0x14003ef57
Function at 0x14003f420
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 [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0xf8], rax
cmp byte [0x1401c84bc], 0
jne 0x14003f6c1
mov rsi, rcx
movaps xmm6, xmmword [0x14017f9f0]
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, 0x2b9
call fcn.1400b4220
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400ab290
test rsi, rsi
je 0x14003f6c5
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400b4aa0
mov ecx, 0x65
mov rdx, rdi
call fcn.1400407d0
test al, al
je 0x14003f58f
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.14004a4f0
mov rcx, rdi
mov rdx, rbx
call fcn.140049000
mov rcx, rbx
call fcn.1400b4c50
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, 0x20b
call fcn.1400b4220
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400ab290
cmp byte [rsp + 0x47], 0
jns 0x14003f573
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400ab310
cmp edi, 0xffffffff
jne 0x14003f656
lea rcx, [rsp + 0x30]
call fcn.1400b4c50
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400b4aa0
mov ecx, 0x67
mov rdx, rdi
call fcn.1400407d0
test al, al
je 0x14003f648
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, 0x20b
call fcn.1400b4220
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400ab290
cmp byte [rsp + 0x47], 0
jns 0x14003f617
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400ab310
cmp edi, 0xffffffff
je 0x14003f648
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14003ec00
test al, al
jne 0x14003f673
lea rcx, [rsp + 0x30]
call fcn.1400b4c50
xor esi, esi
jmp 0x14003f68e
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14003ec00
test al, al
je 0x14003f58f
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.1400b4c60
mov rcx, rdi
call fcn.1400b4c50
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.1400ab310
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400dc300
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 0x14003f698
int3