joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010aaa0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [0x14029de10]
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1ef
call fcn.1400f5dc0
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140153ea0
cmp byte [rsi + 0x17], 0
jns 0x14010ab31
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp eax, 0xffffffff
setne al
and esi, 0x10
shr esi, 4
and sil, al
mov rcx, rdi
call fcn.1401541a0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140257200
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

Function at 0x14010ab70
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov r14, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140259320
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
add edi, 0xfffffefc
cmp edi, 0xfffffefd
jb 0x14010ac13
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call fcn.14027a424
mov qword [rsp + 0x28], rax
lea rbx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400f23c0
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.1400f4fb0
mov rcx, r14
mov rdx, rsi
call fcn.1400f24b0
mov rcx, rsi
call fcn.140030e80
mov rcx, rbx
call fcn.140030e80
cmp edi, 0xfffffefd
setae bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140257200
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14010ac40
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x288
mov rsi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140259320
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 0x14010acb8
cmp word [rsp + 0x70], 0
je 0x14010acb8
mov qword [rsp + 0x60], rdi
mov rcx, rdi
call fcn.14027a424
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1400f23c0
jmp 0x14010ad27
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x14029de10]
movaps xmmword [rsp + 0x40], xmm0
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14001f0c0
mov rcx, rdi
call fcn.14010ab70
test al, al
je 0x14010acfb
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400f23a0
jmp 0x14010ad1d
lea rax, [0x1402b3436]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 3
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400f23c0
lea rcx, [rsp + 0x40]
call fcn.140030e80
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140257200
mov rax, rsi
add rsp, 0x288
pop rdi
pop rsi
ret
Function at 0x14010ad50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], r15
movaps xmm6, xmmword [0x14029de10]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
lea rdx, str.CreateDirectoryAndGetError
lea r8, str....._base_files_file_util_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r9d, 0x27c
call fcn.1400f5dc0
lea rcx, [rsp + 0x40]
mov rdx, rsi
xor r8d, r8d
call fcn.140153ea0
cmp byte [rdi + 0x17], 0
mov r12, rdi
jns 0x14010adf2
mov r12, qword [rdi]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14010ae29
mov sil, 1
test al, 0x10
jne 0x14010af14
test r14, r14
je 0x14010ae17
mov dword [r14], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x14010af14
mov qword [rsp + 0x30], r15
movaps xmmword [rsp + 0x20], xmm6
lea rsi, [rsp + 0x20]
mov rcx, rdi
mov rdx, rsi
call fcn.1400f2cd0
movzx r8d, byte [rsp + 0x37]
mov rax, r8
test r8b, r8b
jns 0x14010ae56
mov rax, qword [rsp + 0x28]
movzx ecx, byte [rdi + 0x17]
test cl, cl
js 0x14010ae6d
mov rdx, rdi
cmp rax, rcx
jne 0x14010aeb3
test rax, rax
jne 0x14010ae7b
jmp 0x14010aea2
cmp rax, qword [rdi + 8]
jne 0x14010aeb3
mov rdx, qword [rdi]
test rax, rax
je 0x14010aea2
test r8b, r8b
jns 0x14010ae85
mov rsi, qword [rsp + 0x20]
xor ecx, ecx
nop word [rax + rax]
movzx ebx, word [rsi + rcx*2]
cmp bx, word [rdx + rcx*2]
jne 0x14010aeb3
inc rcx
cmp rax, rcx
jne 0x14010ae90
mov eax, 0xfffffffc
mov ebx, 2
test r14, r14
jne 0x14010aefd
jmp 0x14010af00
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.14010ad50
test al, al
je 0x14010af08
mov rcx, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov sil, 1
test eax, eax
jne 0x14010af0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xb7
jne 0x14010aef1
mov rcx, rdi
call fcn.14010aaa0
test al, al
jne 0x14010af0a
test r14, r14
je 0x14010af00
mov ecx, ebx
call fcn.14010bec0
mov dword [r14], eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea rcx, [rsp + 0x20]
call fcn.140030e80
lea rcx, [rsp + 0x40]
call fcn.1401541a0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140257200
mov eax, esi
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14010b0c0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r15d, r8d
mov r14, rdx
mov rbp, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [0x14029de10]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
lea rdx, [0x1402b3465]
lea r8, str....._base_files_file_util_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r9d, 0x376
call fcn.1400f5dc0
lea rcx, [rsp + 0x60]
xor esi, esi
mov rdx, rdi
xor r8d, r8d
call fcn.140153ea0
cmp byte [rbp + 0x17], 0
jns 0x14010b162
mov rbp, qword [rbp]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
mov rcx, rbp
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, 0xffffffff
test rax, rax
je 0x14010b20a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp rdi, 0xffffffffffffffff
je 0x14010b1b4
call fcn.1400f5de0
mov rsi, rdi
jmp 0x14010b1b6
xor esi, esi
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r15d, r15d
js 0x14010b20a
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14010b20a
mov dword [rsp + 0x40], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, rsi
mov rdx, r14
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0x40]
xor edx, edx
cmp eax, 1
sbb edx, edx
cmp ecx, r15d
mov ebp, 0xffffffff
cmove ebp, ecx
or ebp, edx
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14010b221
call fcn.1400f5de0
mov rcx, rsi
call fcn.140112bc0
lea rcx, [rsp + 0x60]
call fcn.1401541a0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140257200
mov eax, ebp
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14010b250
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2d8
mov r14, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x2c0], rax
movaps xmm0, xmmword [0x14029de10]
movaps xmmword [rsp + 0x2b0], xmm0
movaps xmmword [rsp + 0x2a0], xmm0
movaps xmmword [rsp + 0x290], xmm0
movaps xmmword [rsp + 0x280], xmm0
movaps xmmword [rsp + 0x270], xmm0
lea rdx, [0x1402b346f]
lea r8, str....._base_files_file_util_win.cc
lea rdi, [rsp + 0x60]
mov rcx, rdi
mov r9d, 0x3af
call fcn.1400f5dc0
lea rcx, [rsp + 0x270]
mov rdx, rdi
xor r8d, r8d
call fcn.140153ea0
lea rbx, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140259320
mov word [rsp + 0x60], 0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
add edi, 0xfffffefb
cmp edi, 0xfffffefc
jb 0x14010b36f
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call fcn.14027a424
mov qword [rsp + 0x28], rax
lea rbx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400f23c0
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.1400f4fb0
mov rcx, r14
mov rdx, rsi
call fcn.1400f24b0
mov rcx, rsi
call fcn.140030e80
mov rcx, rbx
call fcn.140030e80
cmp edi, 0xfffffefc
setae bl
lea rcx, [rsp + 0x270]
call fcn.1401541a0
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.140257200
mov eax, ebx
add rsp, 0x2d8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14010b3b0
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [0x14029de10]
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rdx, [0x1402b3484]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x3bf
call fcn.1400f5dc0
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140153ea0
cmp byte [rsi + 0x17], 0
jns 0x14010b441
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rdi
call fcn.1401541a0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140257200
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
Function at 0x14010b480
Capabilities:
Get disk information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x2d0
mov rsi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x2c8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x2c0], rax
movaps xmm0, xmmword [0x14029de10]
movaps xmmword [rsp + 0x2b0], xmm0
movaps xmmword [rsp + 0x2a0], xmm0
movaps xmmword [rsp + 0x290], xmm0
movaps xmmword [rsp + 0x280], xmm0
movaps xmmword [rsp + 0x270], xmm0
lea rdx, str.GetMaximumPathComponentLength
lea r8, str....._base_files_file_util_win.cc
lea rdi, [rsp + 0x60]
mov rcx, rdi
mov r9d, 0x3c4
call fcn.1400f5dc0
lea rcx, [rsp + 0x270]
mov rdx, rdi
xor r8d, r8d
call fcn.140153ea0
lea rdi, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140259320
lea rbx, [rsp + 0x48]
mov rcx, rsi
mov rdx, rbx
call fcn.1400f53b0
cmp byte [rsp + 0x5f], 0
mov rcx, rbx
jns 0x14010b548
mov rcx, qword [rsp + 0x48]
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov edi, eax
mov rcx, rbx
call fcn.140030e80
test edi, edi
je 0x14010b5dd
mov dword [rsp + 0x44], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x60]
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x14010b5dd
lea rdi, [rsp + 0x48]
mov rcx, rsi
mov rdx, rdi
call fcn.1400f4fb0
movzx esi, byte [rsp + 0x5f]
test sil, sil
jns 0x14010b5bc
mov esi, dword [rsp + 0x50]
mov rcx, rdi
call fcn.140030e80
mov eax, 0x102
sub eax, esi
xor esi, esi
test eax, eax
cmovg esi, eax
mov eax, dword [rsp + 0x44]
cmp eax, esi
cmovl esi, eax
jmp 0x14010b5e2
mov esi, 0xffffffff
lea rcx, [rsp + 0x270]
call fcn.1401541a0
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.140257200
mov eax, esi
add rsp, 0x2d0
pop rbx
pop rdi
pop rsi
ret
Function at 0x14010b610
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 r14, rdx
mov rsi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea rbx, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, rbx
mov dl, 0xaa
call fcn.140259320
mov qword [rsp + 0x20], r14
xor ebp, ebp
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
mov r9d, 3
call fcn.140115030
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [0x14029de10]
movaps xmmword [rsp + 0x30], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rbx
mov rdx, rdi
call fcn.140115290
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x14010b6aa
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14010b802
lea rsi, [rsp + 0x48]
lea rbx, [rsp + 0x298]
mov r12, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r13d, r13d
jmp 0x14010b6dc
mov r13d, ebp
test rax, rax
je 0x14010b802
mov r8d, 0x250
mov rcx, rsi
mov dl, 0xaa
call fcn.140259320
mov rcx, rbx
mov rdx, rsi
call fcn.140115250
mov edx, dword [rsp + 0x48]
test dl, 1
je 0x14010b740
test r15b, r15b
jne 0x14010b728
mov rcx, rsi
call fcn.140115020
test al, al
je 0x14010b724
mov rcx, rsi
call fcn.140115020
xor ebp, ebp
test al, al
je 0x14010b790
jmp 0x14010b7be
mov edx, dword [rsp + 0x48]
and edx, 0xfffffffe
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x14010b73a
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rsi
call fcn.140115020
test al, al
je 0x14010b790
xor ebp, ebp
test r15b, r15b
je 0x14010b7be
mov rcx, rdi
mov rdx, r14
mov r8b, 1
call fcn.14010b610
mov ebp, eax
test eax, eax
jne 0x14010b7be
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x14010b776
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x14010b7be
jmp 0x14010b7a8
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x14010b79f
mov rcx, qword [rsp + 0x30]
call r12
xor ebp, ebp
test eax, eax
jne 0x14010b7be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r13d, r13d
cmovne ebp, r13d
mov rcx, rsi
call fcn.140019da0
mov rcx, rbx
mov rdx, rsi
call fcn.140115290
mov rcx, rdi
mov rdx, rsi
call fcn.1400f24b0
mov rcx, rsi
call fcn.140030e80
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x14010b6d0
mov rax, qword [rsp + 0x38]
jmp 0x14010b6d0
lea rcx, [rsp + 0x30]
call fcn.140030e80
lea rcx, [rsp + 0x298]
call fcn.1401151e0
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.140257200
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14010b9a0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
mov esi, r9d
mov r14, r8
mov rdi, rdx
mov r15, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], r12
movaps xmm0, xmmword [0x14029de10]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
lea rdx, str.Read
lea r8, str....._base_files_file_win.cc
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0x3e
call fcn.1400f5dc0
lea rcx, [rsp + 0x60]
mov rdx, rbx
xor r8d, r8d
call fcn.140153ea0
mov ebp, 0xffffffff
test rdi, rdi
js 0x14010bade
test esi, esi
js 0x14010bade
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0
call fcn.140153bd0
test al, al
je 0x14010ba7f
mov r9d, esi
lea rdx, str.File::Read
lea rcx, [rsp + 0x30]
mov r8, r15
call fcn.140153cc0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov rcx, qword [r15]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x2c]
mov rdx, r14
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14010bac3
mov ebp, dword [rsp + 0x2c]
test ebp, ebp
jns 0x14010bad4
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp eax, 0x26
setne bpl
neg ebp
lea rcx, [rsp + 0x30]
call fcn.140153c60
lea rcx, [rsp + 0x60]
call fcn.1401541a0
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140257200
mov eax, ebp
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14010bb10
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov esi, r8d
mov r14, rdx
mov r15, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rbx
movaps xmm0, xmmword [0x14029de10]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r9d, 0x5b
call fcn.1400f5dc0
lea rcx, [rsp + 0x50]
mov rdx, rdi
xor r8d, r8d
call fcn.140153ea0
test esi, esi
js 0x14010bc0a
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], 0
call fcn.140153bd0
test al, al
je 0x14010bbd4
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, r15
call fcn.140153cc0
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov rcx, qword [r15]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2c]
mov rdx, r14
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14010bc11
mov esi, dword [rsp + 0x2c]
test esi, esi
jns 0x14010bc22
int3
mov esi, 0xffffffff
jmp 0x14010bc2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
lea rcx, [rsp + 0x30]
call fcn.140153c60
lea rcx, [rsp + 0x50]
call fcn.1401541a0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140257200
mov eax, esi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x14010bc60
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov esi, r8d
mov r14, rdx
mov r15, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rbx
movaps xmm0, xmmword [0x14029de10]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
lea rdx, str.WriteAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r9d, DllRegisterServer
call fcn.1400f5dc0
lea rcx, [rsp + 0x50]
mov rdx, rdi
xor r8d, r8d
call fcn.140153ea0
test esi, esi
js 0x14010bd60
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], 0
call fcn.140153bd0
test al, al
je 0x14010bd24
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, r15
call fcn.140153cc0
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov rcx, qword [r15]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2c]
mov rdx, r14
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [rsp + 0x2c]
lea rcx, [rsp + 0x30]
call fcn.140153c60
jmp 0x14010bd65
mov esi, 0xffffffff
lea rcx, [rsp + 0x50]
call fcn.1401541a0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140257200
mov eax, esi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14010bd90
Capabilities:
Get file size

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rsi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rbx
movaps xmm0, xmmword [0x14029de10]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
lea rdx, str.GetLength
lea r8, str....._base_files_file_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r9d, 0xa8
call fcn.1400f5dc0
lea rcx, [rsp + 0x50]
mov rdx, rdi
xor r8d, r8d
call fcn.140153ea0
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], 0
call fcn.140153bd0
test al, al
je 0x14010be46
lea rdx, str.File::GetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
xor r9d, r9d
call fcn.140153cc0
mov qword [rsp + 0x28], rbx
mov rcx, qword [rsi]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor esi, esi
cmp eax, 1
sbb rsi, rsi
or rsi, qword [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140153c60
lea rcx, [rsp + 0x50]
call fcn.1401541a0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140257200
mov rax, rsi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret
Function at 0x14010c140
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
mov r12d, r8d
mov rbx, rdx
mov r15, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [0x14029de10]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
lea rdx, str.DoInitialize
lea r8, str....._base_files_file_win.cc
lea rbp, [rsp + 0x40]
mov rcx, rbp
mov r9d, 0x16f
call fcn.1400f5dc0
lea rcx, [rsp + 0x60]
mov rdx, rbp
xor r8d, r8d
call fcn.140153ea0
mov eax, r12d
and eax, 1
neg eax
and eax, 3
test r12b, 2
mov edx, 1
cmove edx, eax
test r12b, 4
mov ecx, 4
cmovne edx, ecx
test r12b, 8
mov ebp, 2
cmove ebp, edx
test r12b, 0x10
mov eax, 5
cmove eax, ebp
test eax, eax
je 0x14010c346
mov edx, r12d
and edx, 0x40
shl edx, 0x18
test r12b, 0x80
cmove ecx, edx
mov edx, r12d
rol edx, 0x1a
mov edi, r12d
shl edi, 0xb
and edi, 0x20000000
mov esi, r12d
shr esi, 4
and esi, 0x10000
and edx, 0x80000100
or edx, edi
or edx, esi
or edx, ecx
mov ecx, r12d
shr ecx, 8
and ecx, 3
mov r8d, r12d
shr r8d, 0xd
and r8d, 4
or r8d, ecx
xor r8d, 3
mov ebp, r12d
and ebp, 0x400
mov ecx, ebp
shl ecx, 0x14
mov edi, r12d
shr edi, 3
and edi, 0x100
or edi, ecx
mov ecx, r12d
shr ecx, 0xb
and ecx, 2
or ecx, edi
mov edi, r12d
shl edi, 0xd
and edi, 0x4000000
or edi, ecx
mov ecx, r12d
shl ecx, 8
and ecx, 0xa000000
or ecx, edi
cmp byte [rbx + 0x17], 0
jns 0x14010c2bc
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 [r15], rax
je 0x14010c32a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rax, qword [r15]
inc rax
cmp rax, 2
jb 0x14010c30a
call fcn.1400f5de0
mov rcx, qword [r15]
call fcn.140112bc0
mov qword [r15], 0
mov rax, rbx
inc rax
cmp rax, 2
jb 0x14010c31e
mov qword [r15], rbx
call fcn.1400f5de0
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [r15]
inc rbx
cmp rbx, 2
jae 0x14010c35b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010bec0
mov dword [r15 + 0x24], eax
jmp 0x14010c38d
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [r15 + 0x24], 0xffffffff
jmp 0x14010c38d
shr ebp, 0xa
mov dword [r15 + 0x24], 0
mov byte [r15 + 0x29], bpl
test r12b, 4
jne 0x14010c37d
test r12b, 0xa
je 0x14010c38d
mov byte [r15 + 0x28], 1
jmp 0x14010c38d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [r15 + 0x28]
lea rcx, [rsp + 0x60]
call fcn.1401541a0
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140257200
nop
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret