joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ee810
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x14041a2a4]
cmp ecx, 0xffffffff
je 0x1400ee835
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
add rsp, 0x28
ret
xor eax, eax
jmp 0x1400ee830

Function at 0x1400ee840
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14041a2a4]
cmp ecx, 0xffffffff
je 0x1400ee909
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x1400ee909
mov eax, dword [0x14042e778]
mov ecx, dword [0x14042a04c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ee913
mov rbx, qword [0x14042e770]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400ee959
mov rax, qword [0x14042cf60]
inc rax
xor ecx, ecx
lea rdx, [0x14042cf70]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x1400ee966
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov qword [0x14042cf60], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x1400ee97b
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400ee980
jmp 0x1400ee86a
lea rcx, [0x14042e778]
call fcn.140240e30
cmp dword [0x14042e778], 0xffffffff
jne 0x1400ee88f
mov ecx, 8
call fcn.140240cd8
mov rbx, rax
mov rcx, rax
call fcn.1401cef50
mov qword [0x14042e770], rbx
lea rcx, [0x14042e778]
call fcn.140240ec8
jmp 0x1400ee88f
mov rcx, rbx
call fcn.1401f0510
jmp 0x1400ee8a7
inc rcx
cmp rcx, 0x100
jne 0x1400ee8ba
jmp 0x1400ee8ef
int3
Function at 0x1400ee980
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.1402423d0
sub rsp, rax
mov rax, qword [0x140418038]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x14041a2a4]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x1400eea34
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400eea72
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.140244560
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.140240d4c
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.140243eb0
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140242430
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.140143ce0
test al, al
je 0x1400eea75
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x1400eea78
mov eax, 0xffffffff
lock cmpxchg dword [0x14041a2a4], ecx
je 0x1400ee9b8
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x14041a2a4]
mov dword [rsp + 0x2c], ecx
jmp 0x1400ee9b8
int3
int3
lea rcx, [rsp + 0x2c]
call fcn.140143ce0
test al, al
je 0x1400eea9d
cmp dword [rsp + 0x2c], 0xffffffff
je 0x1400eea9d
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x1400eea4b
int3
Function at 0x1400f1660
Capabilities:
Identify system language via api

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x140418038]
xor rax, rsp
mov qword [rsp + 0x260], rax
movzx ebp, word [rcx + 0x28]
movzx r12d, word [rcx + 0x2a]
mov r15, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call r15
mov r14d, eax
movzx r13d, word [rdi + 0x2a]
movzx eax, word [rdi + 0x28]
mov dword [rsp + 0x40], eax
call r15
mov word [rsp + 0x3e], ax
lea r15, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.140244560
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], ebp
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.1400f1900
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400f1766
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400f1766
mov r8d, dword [rsp + 0x44]
test r8d, r8d
je 0x1400f1766
dec r8d
mov rcx, rsi
call fcn.1401e6d40
mov sil, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140242430
mov eax, esi
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r15, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.140244560
movzx eax, r14w
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.1400f1900
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400f17e7
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400f17e7
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x1400f1732
lea r14, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140244560
mov qword [rsp + 0x30], rbx
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.1400f1900
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400f186b
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400f186b
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x1400f1732
lea r14, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140244560
movzx eax, word [rsp + 0x3e]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.1400f1900
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400f18f0
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400f18f0
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x1400f1732
xor esi, esi
jmp 0x1400f1740
Function at 0x1400f1f80
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4b8
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140418038]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x450]
mov qword [r14 + 0x50], rax
movaps xmm0, xmmword [0x1403aa440]
movaps xmmword [r14 + 0x40], xmm0
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, [0x1403b5da3]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x240]
mov rcx, r15
mov r9d, 0x196
call fcn.1401de830
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401ea620
lea r14, [rsp + 0x240]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140244560
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x1400f2035
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, r14
call fcn.1401e86b0
mov rcx, r14
call fcn.1401c6fa0
lea r14, [rsp + 0x30]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140244560
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x1400f206c
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, r14
call fcn.1401e86b0
mov rcx, r14
call fcn.1401c6fa0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x1400f208e
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x1400f209a
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 0x1400f2120
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400f3ca0
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x1400f20cd
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x1400f20d6
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 0x1400f20f1
test eax, eax
je 0x1400f2125
lea rcx, [rsp + 0x450]
call fcn.1401ea680
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140242430
mov eax, edi
add rsp, 0x4b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov dil, 1
jmp 0x1400f20f1
cmp ebp, 0xfffffffc
jne 0x1400f2131
call fcn.1402ba020
mov ebp, eax
mov dword [rsi], ebp
xor edi, edi
jmp 0x1400f20f1

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140418038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x1403aa440]
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, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1c9
call fcn.1401de830
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1401ea620
cmp byte [rdi + 0x17], 0
jns 0x1400f21c4
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.1401ea680
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140242430
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400f2200
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140418038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x1403aa440]
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, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1f1
call fcn.1401de830
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1401ea620
cmp byte [rdi + 0x17], 0
jns 0x1400f2284
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.1401ea680
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140242430
mov eax, edi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400f22d0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140418038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140244560
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
add edi, 0xfffffefc
cmp edi, 0xfffffefd
jb 0x1400f2373
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.140268c14
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1401dda10
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.1400e1610
mov rcx, rsi
mov rdx, r14
call fcn.1400dfef0
mov rcx, r14
call fcn.1401ddb90
mov rcx, rbx
call fcn.1401ddb90
cmp edi, 0xfffffefd
setae bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140242430
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400f23a0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140418038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140244560
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 0x1400f2435
cmp word [rsp + 0x70], 0
je 0x1400f2435
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.140268c14
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1401dda10
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140242430
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 [0x1403aa440]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1401dd8e0
mov rcx, rdi
call fcn.1400f22d0
test al, al
je 0x1400f2475
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1401dd9f0
jmp 0x1400f2494
lea rax, [0x1403b5db0]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1401dda10
lea rcx, [rsp + 0x40]
call fcn.1401ddb90
jmp 0x1400f2417
Function at 0x1400f2ed0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
mov esi, r8d
mov rdi, rdx
mov r14, rcx
mov rax, qword [0x140418038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x60]
mov qword [r15 + 0x50], rax
movaps xmm0, xmmword [0x1403aa440]
movaps xmmword [r15 + 0x40], xmm0
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, [0x1403b5e15]
lea r8, str....._base_files_file_util_win.cc
lea r12, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x38a
call fcn.1401de830
xor ebx, ebx
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.1401ea620
cmp byte [r14 + 0x17], 0
jns 0x1400f2f69
mov r14, qword [r14]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
mov rcx, r14
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x1400f2fc0
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp r14, 0xffffffffffffffff
je 0x1400f3055
call fcn.1401de850
mov rbx, r14
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ebp, 0xffffffff
test esi, esi
js 0x1400f3010
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400f3010
lea r14, [rsp + 0x40]
mov dword [r14], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [r14]
xor edx, edx
cmp eax, 1
sbb edx, edx
cmp ecx, esi
mov ebp, 0xffffffff
cmove ebp, ecx
or ebp, edx
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400f3027
call fcn.1401de850
mov rcx, rbx
call fcn.1401f05b0
lea rcx, [rsp + 0x60]
call fcn.1401ea680
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140242430
mov eax, ebp
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x1400f2fb8
Function at 0x1400f3060
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2d8
mov rsi, rcx
mov rax, qword [0x140418038]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x270]
mov qword [rdi + 0x50], rax
movaps xmm0, xmmword [0x1403aa440]
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, [0x1403b5e1f]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x3c3
call fcn.1401de830
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1401ea620
lea rbx, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140244560
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 0x1400f3167
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.140268c14
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1401dda10
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.1400e1610
mov rcx, rsi
mov rdx, r14
call fcn.1400dfef0
mov rcx, r14
call fcn.1401ddb90
mov rcx, rbx
call fcn.1401ddb90
cmp edi, 0xfffffefc
setae bl
lea rcx, [rsp + 0x270]
call fcn.1401ea680
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.140242430
mov eax, ebx
add rsp, 0x2d8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400f31a0
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140418038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x1403aa440]
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, [0x1403b5e34]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x3d3
call fcn.1401de830
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1401ea620
cmp byte [rdi + 0x17], 0
jns 0x1400f3224
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.1401ea680
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140242430
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400f3260
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 ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140418038]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.140244560
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.1400fa630
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1403aa440]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.1400fa830
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x1400f32f8
mov rax, qword [rsp + 0x38]
jmp 0x1400f32fb
and eax, 0x7f
test rax, rax
jne 0x1400f333d
lea rcx, [rsp + 0x30]
call fcn.1401ddb90
lea rcx, [rsp + 0x298]
call fcn.1400fa780
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.140242430
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r12d, r12d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.140244560
mov rcx, r15
mov rdx, r14
call fcn.1400fa7f0
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x1400f345e
mov rcx, r14
call fcn.1400fa540
test al, al
jne 0x1400f340d
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x1400f339b
mov rcx, qword [rsp + 0x30]
call r13
test eax, eax
jne 0x1400f3493
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, r14
call fcn.140098280
mov rcx, r15
mov rdx, r14
call fcn.1400fa830
mov rcx, rdi
mov rdx, r14
call fcn.1400dfef0
mov rcx, r14
call fcn.1401ddb90
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x1400f33f9
mov rax, qword [rsp + 0x38]
jmp 0x1400f33fc
and eax, 0x7f
mov r12d, ebp
test rax, rax
je 0x1400f3300
jmp 0x1400f3354
xor ebp, ebp
test bl, bl
je 0x1400f33bc
mov rcx, rdi
mov rdx, rsi
mov r8b, 1
call fcn.1400f3260
test eax, eax
jne 0x1400f34b0
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x1400f3438
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400f33bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x1400f33bc
test bl, bl
je 0x1400f3473
and edx, 0xfffffffe
cmp byte [rsp + 0x47], 0
jns 0x1400f349a
mov rcx, qword [rsp + 0x30]
jmp 0x1400f349f
lea rcx, [rsp + 0x48]
call fcn.1400fa540
test al, al
je 0x1400f34aa
lea rcx, [rsp + 0x48]
call fcn.1400fa540
test al, al
je 0x1400f338c
xor ebp, ebp
jmp 0x1400f33bc
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x1400f337c
mov edx, dword [rsp + 0x48]
jmp 0x1400f3462
mov ebp, eax
jmp 0x1400f33bc
Function at 0x1400f3500
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x140418038]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x60]
mov qword [r12 + 0x50], r13
movaps xmm0, xmmword [0x1403aa440]
movaps xmmword [r12 + 0x40], xmm0
movaps xmmword [r12 + 0x30], xmm0
movaps xmmword [r12 + 0x20], xmm0
movaps xmmword [r12 + 0x10], xmm0
movaps xmmword [r12], xmm0
lea rdx, str.Read
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x3e
call fcn.1401de830
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.1401ea620
mov ebp, 0xffffffff
test r14, r14
js 0x1400f3609
test esi, esi
js 0x1400f3609
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], 0
call fcn.140204180
test al, al
jne 0x1400f364c
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400f3639
mov ebp, dword [rsp + 0x2c]
test ebp, ebp
js 0x1400f3668
lea rcx, [rsp + 0x30]
call fcn.140204210
lea rcx, [rsp + 0x60]
call fcn.1401ea680
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140242430
mov eax, ebp
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp eax, 0x26
setne bpl
neg ebp
jmp 0x1400f35ff
mov r9d, esi
lea rdx, str.File::Read
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140302ce0
jmp 0x1400f35c1
int3