joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140086c70
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1401d34c0
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 0x140086d05
cmp word [rsp + 0x70], 0
je 0x140086d05
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1401f8b34
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14017c930
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1401d1390
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 [0x14033b990]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14017c8b0
mov rcx, rdi
call fcn.140086ba0
test al, al
je 0x140086d45
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14017c910
jmp 0x140086d64
lea rax, [0x14034591c]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14017c930
lea rcx, [rsp + 0x40]
call fcn.14017ca10
jmp 0x140086ce7
Function at 0x140087700
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov ebp, r8d
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x60]
mov qword [rbx + 0x50], rax
movaps xmm0, xmmword [0x14033b990]
movaps xmmword [rbx + 0x40], xmm0
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, [0x140345996]
lea r8, str..._.._base_files_file_util_win.cc
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov r9d, 0x357
call fcn.14017e5b0
xor r15d, r15d
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
call fcn.140186270
cmp byte [rdi + 0x17], 0
jns 0x140087792
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
mov rcx, rdi
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x1400877e9
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rbx, 0xffffffffffffffff
je 0x140087871
call fcn.14017e5d0
mov r15, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdi, [r15 + 1]
cmp rdi, 2
jb 0x140087879
lea rsi, [rsp + 0x40]
mov dword [rsi], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, r15
mov rdx, r14
mov r8d, ebp
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsi]
xor edx, edx
cmp eax, 1
sbb edx, edx
cmp ecx, ebp
mov esi, 0xffffffff
cmove esi, ecx
or esi, edx
cmp rdi, 2
jb 0x140087845
call fcn.14017e5d0
mov rcx, r15
call fcn.140189420
lea rcx, [rsp + 0x60]
call fcn.1401862d0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401d1390
mov eax, esi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r15d, r15d
jmp 0x1400877e1
mov esi, 0xffffffff
jmp 0x140087832
Function at 0x140087880
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2d8
mov r14, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x270]
mov qword [rdi + 0x50], rax
movaps xmm0, xmmword [0x14033b990]
movaps xmmword [rdi + 0x40], xmm0
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x1403459a0]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x38f
call fcn.14017e5b0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140186270
lea rbx, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1401d34c0
mov word [rbx], 0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
add edi, 0xfffffefb
cmp edi, 0xfffffefc
jb 0x140087987
lea rsi, [rsp + 0x20]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.1401f8b34
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.14017c930
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.14007b7c0
mov rcx, r14
mov rdx, rsi
call fcn.14017ca80
mov rcx, rsi
call fcn.14017ca10
mov rcx, rbx
call fcn.14017ca10
cmp edi, 0xfffffefc
setae bl
lea rcx, [rsp + 0x270]
call fcn.1401862d0
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1401d1390
mov eax, ebx
add rsp, 0x2d8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400879c0
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x14033b990]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, [0x1403459b5]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x39f
call fcn.14017e5b0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140186270
cmp byte [rdi + 0x17], 0
jns 0x140087a44
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.1401862d0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401d1390
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
Function at 0x140087a80
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x568
mov r15d, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea rbx, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, rbx
mov dl, 0xaa
call fcn.1401d34c0
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.14008edc0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14033b990]
movaps xmmword [rdi], xmm0
mov rcx, rbx
mov rdx, rdi
call fcn.14008efa0
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x140087b16
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x140087b58
lea rcx, [rsp + 0x30]
call fcn.14017ca10
lea rcx, [rsp + 0x298]
call fcn.14008eea0
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.1401d1390
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [rsp + 0x48]
lea r14, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r12d, r12d
mov r8d, 0x250
mov rcx, rbx
mov dl, 0xaa
call fcn.1401d34c0
mov rcx, r14
mov rdx, rbx
call fcn.14008ef10
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x140087c71
mov rcx, rbx
call fcn.14008ecf0
test al, al
jne 0x140087c1f
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x140087bb2
mov rcx, qword [rsp + 0x30]
call r13
test eax, eax
jne 0x140087c1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r12d, r12d
cmovne ebp, r12d
mov rcx, rbx
call fcn.140039ae0
mov rcx, r14
mov rdx, rbx
call fcn.14008efa0
mov rcx, rdi
mov rdx, rbx
call fcn.14017ca80
mov rcx, rbx
call fcn.14017ca10
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x140087c0a
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
je 0x140087b1b
jmp 0x140087b6f
xor ebp, ebp
jmp 0x140087bcf
xor ebp, ebp
test r15b, r15b
je 0x140087bcf
mov rcx, rdi
mov rdx, rsi
mov r8b, 1
call fcn.140087a80
test eax, eax
jne 0x140087cc2
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x140087c4b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140087bcf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x140087bcf
test r15b, r15b
je 0x140087c87
and edx, 0xfffffffe
cmp byte [rsp + 0x47], 0
jns 0x140087cac
mov rcx, qword [rsp + 0x30]
jmp 0x140087cb1
lea rcx, [rsp + 0x48]
call fcn.14008ecf0
test al, al
je 0x140087cbc
lea rcx, [rsp + 0x48]
call fcn.14008ecf0
test al, al
je 0x140087ba3
jmp 0x140087c1b
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x140087b97
mov edx, dword [rsp + 0x48]
jmp 0x140087c76
mov ebp, eax
jmp 0x140087bcf
Function at 0x140087cd0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov esi, r8d
mov r14, rdx
mov r15, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x50], r12
movaps xmm0, xmmword [0x14033b990]
movaps xmmword [rdi + 0x40], xmm0
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.WriteAtCurrentPos
lea r8, str..._.._base_files_file_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x88
call fcn.14017e5b0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140186270
test esi, esi
js 0x140087dd8
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0
call fcn.1401966c0
test al, al
jne 0x140087ddf
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0xaaaaaaaa
mov rcx, qword [r15]
mov qword [rsp + 0x20], 0
mov rdx, r14
mov r8d, esi
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [rdi]
lea rcx, [rsp + 0x30]
call fcn.140196750
lea rcx, [rsp + 0x50]
call fcn.1401862d0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401d1390
mov eax, esi
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x140087dab
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, r15
call fcn.1402a31a0
jmp 0x140087d72

Function at 0x140087e00
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov r14, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x50], rsi
movaps xmm0, xmmword [0x14033b990]
movaps xmmword [rdi + 0x40], xmm0
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, 0x9c
call fcn.14017e5b0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140186270
mov qword [rbx + 8], rsi
mov qword [rbx], 0
call fcn.1401966c0
test al, al
jne 0x140087ee4
lea rdi, [rsp + 0x28]
mov qword [rdi], rsi
mov rcx, qword [r14]
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.140196750
lea rcx, [rsp + 0x50]
call fcn.1401862d0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401d1390
mov rax, rsi
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, str.File::GetLength
lea rcx, [rsp + 0x30]
mov r8, r14
xor r9d, r9d
call fcn.1402a31a0
jmp 0x140087e91
Function at 0x140087f00
Capabilities:
Clear file content

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x50]
mov qword [rbx + 0x50], r15
movaps xmm0, xmmword [0x14033b990]
movaps xmmword [rbx + 0x40], xmm0
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 rdi, [rsp + 0x30]
mov rcx, rdi
mov r9d, 0xa9
call fcn.14017e5b0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
call fcn.140186270
mov qword [rdi + 8], r15
mov qword [rdi], 0
call fcn.1401966c0
test al, al
jne 0x14008802c
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 0x140087ff7
mov rcx, qword [rsi]
xor ebx, ebx
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140087ff7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140088048
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.140196750
lea rcx, [rsp + 0x50]
call fcn.1401862d0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1401d1390
mov eax, ebx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rdx, str.File::SetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
mov r9, r14
call fcn.1402a31a0
jmp 0x140087f9a
xor ebx, ebx
jmp 0x140087ff7
Function at 0x140088310
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r15d, r8d
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0x60]
mov qword [rbp + 0x50], rax
movaps xmm0, xmmword [0x14033b990]
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
lea rdx, str.DoInitialize
lea r8, str..._.._base_files_file_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r9d, 0x160
call fcn.14017e5b0
mov rcx, rbp
mov rdx, rdi
xor r8d, r8d
call fcn.140186270
mov eax, r15d
and eax, 1
neg eax
and eax, 3
test r15b, 2
mov edx, 1
cmove edx, eax
test r15b, 4
mov ecx, 4
cmovne edx, ecx
test r15b, 8
mov ebp, 2
cmove ebp, edx
test r15b, 0x10
mov eax, 5
cmove eax, ebp
test eax, eax
je 0x140088573
mov edx, r15d
and edx, 0x40
shl edx, 0x18
test r15b, 0x80
cmove ecx, edx
mov edx, r15d
rol edx, 0x1a
mov edi, r15d
shl edi, 0xb
and edi, 0x20000000
mov esi, r15d
shr esi, 4
and esi, 0x10000
and edx, 0x80000100
or edx, edi
or edx, esi
or edx, ecx
mov ecx, r15d
shr ecx, 8
and ecx, 3
mov r8d, r15d
shr r8d, 0xd
and r8d, 4
or r8d, ecx
xor r8d, 3
mov edi, r15d
and edi, 0x400
mov ecx, edi
shl ecx, 0x14
mov ebp, r15d
shr ebp, 3
and ebp, 0x100
or ebp, ecx
mov ecx, r15d
shr ecx, 0xb
and ecx, 2
or ecx, ebp
mov ebp, r15d
shl ebp, 0xd
and ebp, 0x4000000
or ebp, ecx
mov ecx, r15d
shl ecx, 8
mov esi, ecx
and esi, 0x2000000
or esi, ebp
and ecx, 0x8000000
or ecx, esi
cmp byte [rbx + 0x17], 0
jns 0x140088485
mov rbx, qword [rbx]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], 0
mov rcx, rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp qword [r14], rax
je 0x1400884e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [r14]
inc rax
cmp rax, 2
jae 0x14008855a
mov rax, rbx
inc rax
cmp rax, 2
jb 0x1400884d6
mov qword [r14], rbx
call fcn.14017e5d0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [r14]
inc rbx
cmp rbx, 2
jb 0x14008850c
shr edi, 0xa
mov dword [r14 + 0x24], 0
mov byte [r14 + 0x29], dil
test r15b, 4
jne 0x140088548
test r15b, 0xa
je 0x14008851d
mov byte [r14 + 0x28], 1
jmp 0x14008851d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400881a0
mov dword [r14 + 0x24], eax
lea rcx, [rsp + 0x60]
call fcn.1401862d0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401d1390
nop
add rsp, 0xc8
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 [r14 + 0x28]
jmp 0x14008851d
call fcn.14017e5d0
mov rcx, qword [r14]
call fcn.140189420
mov qword [r14], 0
jmp 0x1400884c2
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [r14 + 0x24], 0xffffffff
jmp 0x14008851d
Function at 0x140088680
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400886c8
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 0x1400886d1
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400886b8
mov qword [rdi], rsi
call fcn.14017e5d0
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.14017e5d0
mov rcx, qword [rdi]
call fcn.140189420
mov qword [rdi], 0
jmp 0x1400886a6

Function at 0x140088720
Capabilities:
Check if file exists
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov rsi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x50]
mov qword [rbx + 0x50], rax
movaps xmm0, xmmword [0x14033b990]
movaps xmmword [rbx + 0x40], xmm0
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.MapImageToMemory
lea r8, str..._.._base_files_memory_mapped_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x1a
call fcn.14017e5b0
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140186270
mov rcx, rsi
call fcn.140188c40
test al, al
je 0x140088877
mov rcx, rsi
call fcn.140049900
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 0x11000002
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
cmp qword [rsi + 0x40], rax
je 0x14008881f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x1400888a0
mov rax, rbx
inc rax
cmp rax, 2
jb 0x140088813
mov qword [rsi + 0x40], rbx
call fcn.14017e5d0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsi + 0x40]
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400888bb
mov qword [rsp + 0x20], 0
xor edi, edi
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x140088877
lea rdx, fcn.1402241c0
lea rcx, [rsp + 0x30]
mov qword [rcx], rdx
mov qword [rcx + 8], rax
call fcn.1400f2160
mov eax, dword [rax + 0x50]
mov qword [rsi + 0x38], rax
mov dil, 1
lea rcx, [rsp + 0x50]
call fcn.1401862d0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401d1390
mov eax, edi
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14017e5d0
mov rcx, qword [rsi + 0x40]
call fcn.140189420
mov qword [rsi + 0x40], 0
jmp 0x1400887fe
xor edi, edi
jmp 0x140088877
Function at 0x1400888c0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov ebx, r8d
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x60]
mov qword [rdi + 0x50], rax
movaps xmm0, xmmword [0x14033b990]
movaps xmmword [rdi + 0x40], xmm0
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.MapFileRegionToMemory
lea r8, str..._.._base_files_memory_mapped_file_win.cc
lea rbp, [rsp + 0x40]
mov rcx, rbp
mov r9d, 0x39
call fcn.14017e5b0
xor r15d, r15d
mov rcx, rdi
mov rdx, rbp
xor r8d, r8d
call fcn.140186270
mov rcx, rsi
call fcn.140188c40
test al, al
je 0x140088a4d
test ebx, ebx
jne 0x140088a7a
mov ebx, 2
xor edi, edi
mov rcx, rsi
call fcn.140049900
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x28], 0
mov rcx, rax
xor edx, edx
mov r8d, ebx
mov r9d, edi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
cmp qword [rsi + 0x40], rax
je 0x1400889d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x140088a90
mov rax, rdi
inc rax
cmp rax, 2
jb 0x1400889c6
mov qword [rsi + 0x40], rdi
call fcn.14017e5d0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsi + 0x40]
inc rdi
cmp rdi, 2
jb 0x140088afc
mov dword [rsp + 0x3c], 0
lea rdx, [0x140345228]
mov rcx, r14
call fcn.14007c050
test al, al
je 0x140088aab
mov rcx, rsi
call fcn.140087e00
xor r15d, r15d
test rax, rax
jle 0x140088a4d
mov qword [rsi + 0x38], rax
xor r8d, r8d
xor eax, eax
and ebx, 2
add ebx, 2
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x20], rax
mov edx, ebx
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x140088afc
movsxd rcx, dword [rsp + 0x3c]
add rax, rcx
mov qword [rsi + 0x30], rax
mov r15b, 1
lea rcx, [rsp + 0x60]
call fcn.1401862d0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401d1390
mov eax, r15d
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp ebx, 3
jne 0x140088b04
mov rcx, rsi
call fcn.140088720
mov r15d, eax
jmp 0x140088a4d
call fcn.14017e5d0
mov rcx, qword [rsi + 0x40]
call fcn.140189420
mov qword [rsi + 0x40], 0
jmp 0x1400889b1
xor eax, eax
lea rdi, [rsp + 0x40]
mov qword [rdi], rax
lea r9, [rsp + 0x30]
mov qword [r9], rax
mov rcx, qword [r14]
mov rdx, qword [r14 + 8]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov r8, rdi
call fcn.14007c1e0
mov r15, qword [rdi]
test r15, r15
js 0x140088afc
mov rcx, qword [r14 + 8]
movsxd rax, dword [rsp + 0x3c]
add rax, rcx
js 0x140088afc
mov r8, r15
shr r8, 0x20
mov qword [rsi + 0x38], rcx
jmp 0x140088a17
xor r15d, r15d
jmp 0x140088a4d
cmp ebx, 2
jne 0x140088b1e
mov r15, qword [r14 + 8]
mov rdi, r15
shr rdi, 0x20
mov ebx, 4
jmp 0x140088968
cmp ebx, 1
jne 0x140088b2d
mov ebx, 4
jmp 0x140088966
xor ebx, ebx
jmp 0x140088966
Function at 0x140089600
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x20], 0
test rdx, rdx
je 0x1400896ad
mov rdi, rdx
lea r14, [rsp + 0x40]
mov qword [r14], 0xffffffffffffffff
mov r15, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call r15
mov rbx, rax
call r15
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 0x400
mov rcx, rax
mov rdx, rdi
mov r8, rbx
mov r9, r14
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rbx, qword [r14]
cmp qword [rsi], rbx
je 0x1400896ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400896c9
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400896a5
mov qword [rsi], rbx
call fcn.14017e5d0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401d1390
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14017e5d0
mov rcx, qword [rsi]
call fcn.140189420
mov qword [rsi], 0
jmp 0x140089693