joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140056520
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 0x14005654a
call fcn.140075ef0
mov qword [rsi], 0
test r14, r14
je 0x140056578
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400565b2
cmp r15, 2
jae 0x1400565cc
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jb 0x1400565a3
call fcn.140075ef0
mov rcx, qword [rdi]
call fcn.140053e50
mov qword [rdi], 0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140075ef0
mov rcx, qword [rsi]
call fcn.140053e50
mov qword [rsi], 0
cmp r15, 2
jb 0x140056570
mov qword [rsi], r14
call fcn.140075ef0
jmp 0x140056570

Function at 0x1400565e0
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
jae 0x14005660c
cmp qword [rsi], r14
jne 0x140056616
jmp 0x140056638
call fcn.140075ef0
cmp qword [rsi], r14
je 0x140056638
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140056672
cmp r15, 2
jae 0x14005668c
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jb 0x140056663
call fcn.140075ef0
mov rcx, qword [rdi]
call fcn.140053e50
mov qword [rdi], 0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140075ef0
mov rcx, qword [rsi]
call fcn.140053e50
mov qword [rsi], 0
cmp r15, 2
jb 0x140056630
mov qword [rsi], r14
call fcn.140075ef0
jmp 0x140056630
Function at 0x140056710
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov edi, edx
mov rsi, rcx
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x14005673f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140056742
mov rcx, qword [rsi]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x140056766
mov dil, 1
test bl, bl
je 0x1400567cd
cmp byte [rsi + 8], 0
je 0x1400567ac
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x1400567af
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x14005677d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140056780
mov rcx, qword [rsi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140056793
xor edi, edi
jmp 0x1400567cd
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x1400567bc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x1400567bf
mov rcx, qword [rsi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1400567cd
mov rcx, qword [rsi]
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dil, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140152280
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x140058210
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov byte [rcx + 8], 0
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
lea rax, [0x14019bf88]
mov qword [rcx], rax
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp qword [rsi + 0x18], rax
je 0x140058296
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jb 0x14005827b
call fcn.140075ef0
mov rcx, qword [rsi + 0x18]
call fcn.140053e50
mov qword [rsi + 0x18], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14005828e
mov qword [rsi + 0x18], rdi
call fcn.140075ef0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x14005bc80
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov esi, r9d
mov rdi, r8
mov r15, rdx
mov r14, rcx
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [0x1401990c0]
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 r12, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x42
call fcn.140075ed0
lea rcx, [rsp + 0x60]
xor edx, edx
xor r8d, r8d
call fcn.1400a14c0
mov qword [rsp + 0xa0], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005bdec
mov ebx, 0xffffffff
test r15, r15
js 0x14005bdab
test esi, esi
js 0x14005bdab
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0xa8], 0xaaaaaaaa
mov rcx, qword [r14]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0xa8]
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005bd91
mov ebx, dword [rsp + 0xa8]
test ebx, ebx
jns 0x14005bda1
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x26
setne bl
neg ebx
lea rcx, [rsp + 0x30]
call fcn.140091db0
mov qword [rsp + 0x30], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005be22
lea rcx, [rsp + 0x60]
call fcn.1400a1760
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140152280
mov eax, ebx
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movzx ecx, al
mov qword [rsp + 0x30], r12
lea rax, str.ScopedBlockingCall
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0xa0]
lea r8, [rsp + 0xa8]
lea r9, [rsp + 0x30]
call fcn.140062630
jmp 0x14005bd1a
movzx ecx, al
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov r9d, 2
call fcn.140032b00
jmp 0x14005bdbf
Function at 0x14005be50
Capabilities:
Read file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [0x1401990c0]
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 r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x5f
call fcn.140075ed0
lea rcx, [rsp + 0x50]
xor edx, edx
xor r8d, r8d
call fcn.1400a14c0
mov qword [rsp + 0x98], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005bf58
test esi, esi
js 0x14005bf97
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0xa8], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xa8]
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005bf3b
mov esi, dword [rsp + 0xa8]
test esi, esi
jns 0x14005bf4c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
lea rcx, [rsp + 0x30]
call fcn.140091db0
jmp 0x14005bf9c
movzx ecx, al
mov qword [rsp + 0xa8], r14
lea rax, str.ScopedBlockingCall
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x98]
lea r8, [rsp + 0xa0]
lea r9, [rsp + 0xa8]
call fcn.140062630
test esi, esi
jns 0x14005bee4
mov esi, 0xffffffff
mov qword [rsp + 0xa8], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005bfdc
lea rcx, [rsp + 0x50]
call fcn.1400a1760
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140152280
mov eax, esi
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
movzx ecx, al
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0xa8]
lea r8, [rsp + 0x30]
mov r9d, 2
call fcn.140032b00
jmp 0x14005bfb3
Function at 0x14005c010
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [0x1401990c0]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
lea rdx, str.Write
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x7f
call fcn.140075ed0
lea rcx, [rsp + 0x60]
xor edx, edx
xor r8d, r8d
call fcn.1400a14c0
mov qword [rsp + 0xa0], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005c160
mov ebp, 0xffffffff
test r14, r14
js 0x14005c120
test esi, esi
js 0x14005c120
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov dword [rsp + 0xa8], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0xa8]
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor ebp, ebp
cmp eax, 1
sbb ebp, ebp
or ebp, dword [rsp + 0xa8]
lea rcx, [rsp + 0x30]
call fcn.140091db0
mov qword [rsp + 0x30], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005c196
lea rcx, [rsp + 0x60]
call fcn.1400a1760
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140152280
mov eax, ebp
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
movzx ecx, al
mov qword [rsp + 0x30], r15
lea rax, str.ScopedBlockingCall
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0xa0]
lea r8, [rsp + 0xa8]
lea r9, [rsp + 0x30]
call fcn.140062630
jmp 0x14005c0a9
movzx ecx, al
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov r9d, 2
call fcn.140032b00
jmp 0x14005c134
Function at 0x14005c1c0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [0x1401990c0]
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 r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x97
call fcn.140075ed0
lea rcx, [rsp + 0x50]
xor edx, edx
xor r8d, r8d
call fcn.1400a14c0
mov qword [rsp + 0x98], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005c2b1
test esi, esi
js 0x14005c2f0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0xa8], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xa8]
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [rsp + 0xa8]
lea rcx, [rsp + 0x30]
call fcn.140091db0
jmp 0x14005c2f5
movzx ecx, al
mov qword [rsp + 0xa8], r14
lea rax, str.ScopedBlockingCall
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x98]
lea r8, [rsp + 0xa0]
lea r9, [rsp + 0xa8]
call fcn.140062630
test esi, esi
jns 0x14005c254
mov esi, 0xffffffff
mov qword [rsp + 0xa8], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005c335
lea rcx, [rsp + 0x50]
call fcn.1400a1760
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140152280
mov eax, esi
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
movzx ecx, al
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0xa8]
lea r8, [rsp + 0x30]
mov r9d, 2
call fcn.140032b00
jmp 0x14005c30c
Function at 0x14005c360
Capabilities:
Get file size

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x1401990c0]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rdx, str.GetLength
lea r8, str....._base_files_file_win.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0xac
call fcn.140075ed0
lea rcx, [rsp + 0x40]
xor edx, edx
xor r8d, r8d
call fcn.1400a14c0
mov qword [rsp + 0x80], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005c474
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x90], rax
mov rcx, qword [rsi]
lea rdx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov esi, eax
mov rbx, qword [rsp + 0x90]
lea rcx, [rsp + 0x20]
call fcn.140091db0
mov qword [rsp + 0x90], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005c4b0
xor edi, edi
cmp esi, 1
sbb rdi, rdi
or rdi, rbx
lea rcx, [rsp + 0x40]
call fcn.1400a1760
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140152280
mov rax, rdi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
movzx ecx, al
mov qword [rsp + 0x90], rdi
lea rax, str.ScopedBlockingCall
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x80]
lea r8, [rsp + 0x88]
lea r9, [rsp + 0x90]
call fcn.140062630
jmp 0x14005c3e5
movzx ecx, al
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x90]
lea r8, [rsp + 0x20]
mov r9d, 2
call fcn.140032b00
jmp 0x14005c441
Function at 0x14005d100
Capabilities:
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x1401990c0]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x20b
call fcn.140075ed0
lea rcx, [rsp + 0x40]
xor edx, edx
xor r8d, r8d
call fcn.1400a14c0
mov qword [rsp + 0x80], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005d1d9
cmp byte [rsi + 0x17], 0
jns 0x14005d18a
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov qword [rsp + 0x90], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005d21f
cmp esi, 0xffffffff
setne bl
lea rcx, [rsp + 0x40]
call fcn.1400a1760
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140152280
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
movzx ecx, al
mov qword [rsp + 0x90], rdi
lea rax, str.ScopedBlockingCall
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x80]
lea r8, [rsp + 0x88]
lea r9, [rsp + 0x90]
call fcn.140062630
cmp byte [rsi + 0x17], 0
js 0x14005d187
jmp 0x14005d18a
movzx ecx, al
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x90]
lea r8, [rsp + 0x20]
mov r9d, 2
call fcn.140032b00
jmp 0x14005d1ac
Function at 0x14005d250
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rcx
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movaps xmm0, xmmword [0x1401990c0]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r9d, 0x214
call fcn.140075ed0
lea rcx, [rsp + 0x60]
xor edx, edx
xor r8d, r8d
call fcn.1400a14c0
mov qword [rsp + 0xa0], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005d3c1
cmp byte [rsi + 0x17], 0
jns 0x14005d2e4
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14005d357
test al, 0x10
mov eax, 0x40000000
mov edx, 2
cmove edx, eax
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 edi, edi
mov rcx, rsi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x14005d365
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rbx, 0xffffffffffffffff
je 0x14005d35b
call fcn.140075ef0
mov rdi, rbx
jmp 0x14005d35d
xor esi, esi
jmp 0x14005d383
xor edi, edi
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
setne sil
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14005d383
call fcn.140075ef0
mov rcx, rdi
call fcn.140053e50
mov qword [rsp + 0xb0], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005d407
lea rcx, [rsp + 0x60]
call fcn.1400a1760
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140152280
mov eax, esi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
movzx ecx, al
mov qword [rsp + 0xb0], rdi
lea rax, str.ScopedBlockingCall
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0xa0]
lea r8, [rsp + 0xa8]
lea r9, [rsp + 0xb0]
call fcn.140062630
cmp byte [rsi + 0x17], 0
js 0x14005d2e1
jmp 0x14005d2e4
movzx ecx, al
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0xb0]
lea r8, [rsp + 0x40]
mov r9d, 2
call fcn.140032b00
jmp 0x14005d39a
Function at 0x14005d430
Capabilities:
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x1401990c0]
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 rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x233
call fcn.140075ed0
lea rcx, [rsp + 0x40]
xor edx, edx
xor r8d, r8d
call fcn.1400a14c0
mov qword [rsp + 0x88], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005d510
cmp byte [rsi + 0x17], 0
jns 0x14005d4b9
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov qword [rsp + 0x98], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005d556
cmp esi, 0xffffffff
setne al
and esi, 0x10
shr esi, 4
and sil, al
lea rcx, [rsp + 0x40]
call fcn.1400a1760
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140152280
mov eax, esi
add rsp, 0xa8
pop rdi
pop rsi
ret
movzx ecx, al
mov qword [rsp + 0x98], rdi
lea rax, str.ScopedBlockingCall
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x88]
lea r8, [rsp + 0x90]
lea r9, [rsp + 0x98]
call fcn.140062630
cmp byte [rsi + 0x17], 0
js 0x14005d4b6
jmp 0x14005d4b9
movzx ecx, al
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x98]
lea r8, [rsp + 0x20]
mov r9d, 2
call fcn.140032b00
jmp 0x14005d4db

Function at 0x14005d580
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1401543c0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14005d63b
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call fcn.140171c94
mov qword [rsp + 0x28], rax
lea rbx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140077ff0
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.14007aae0
cmp byte [rsi + 0x17], 0
jns 0x14005d60d
mov rcx, qword [rsi]
call fcn.140150da4
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
mov byte [rsp + 0x5f], 0
mov word [rsp + 0x48], 0
cmp byte [rsp + 0x47], 0
jns 0x14005d63b
mov rcx, qword [rsp + 0x30]
call fcn.140150da4
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140152280
mov eax, ebx
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
Function at 0x14005d670
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x288
mov rsi, rcx
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1401543c0
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 0x14005d6e8
cmp word [rsp + 0x70], 0
je 0x14005d6e8
mov qword [rsp + 0x60], rdi
mov rcx, rdi
call fcn.140171c94
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140077ff0
jmp 0x14005d74d
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x40]
call fcn.14005d580
test al, al
je 0x14005d71a
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
jmp 0x14005d74d
lea rax, [0x1401a8ac0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 3
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140077ff0
cmp byte [rsp + 0x57], 0
jns 0x14005d74d
mov rcx, qword [rsp + 0x40]
call fcn.140150da4
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140152280
mov rax, rsi
add rsp, 0x288
pop rdi
pop rsi
ret
Function at 0x14005e0c0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x2c0
mov rsi, rcx
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0x2b8], rax
movaps xmm0, xmmword [0x1401990c0]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
lea rdx, [0x1401a8b22]
lea r8, str....._base_files_file_util_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r9d, 0x42a
call fcn.140075ed0
lea rcx, [rsp + 0x60]
xor edx, edx
xor r8d, r8d
call fcn.1400a14c0
mov qword [rsp + 0xa8], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005e23b
lea rbx, [rsp + 0xb0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1401543c0
mov word [rsp + 0xb0], 0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
dec edi
cmp edi, 0x103
ja 0x14005e1f7
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call fcn.140171c94
mov qword [rsp + 0x28], rax
lea rbx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140077ff0
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.14007aae0
cmp byte [rsi + 0x17], 0
jns 0x14005e1c9
mov rcx, qword [rsi]
call fcn.140150da4
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
mov byte [rsp + 0x5f], 0
mov word [rsp + 0x48], 0
cmp byte [rsp + 0x47], 0
jns 0x14005e1f7
mov rcx, qword [rsp + 0x30]
call fcn.140150da4
mov qword [rsp + 0x48], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005e26b
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.1400a1760
mov rcx, qword [rsp + 0x2b8]
xor rcx, rsp
call fcn.140152280
mov eax, ebx
add rsp, 0x2c0
pop rbx
pop rdi
pop rsi
ret
movzx ecx, al
mov qword [rsp + 0x48], rdi
lea rax, str.ScopedBlockingCall
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0xa8]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x48]
call fcn.140062630
jmp 0x14005e14e
movzx ecx, al
mov qword [rsp + 0xb0], 0
lea rdx, [rsp + 0x48]
lea r8, [rsp + 0xb0]
mov r9d, 2
call fcn.140032b00
jmp 0x14005e20b
Function at 0x14005e2a0
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x1401990c0]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rdx, [0x1401a8b37]
lea r8, str....._base_files_file_util_win.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x43a
call fcn.140075ed0
lea rcx, [rsp + 0x40]
xor edx, edx
xor r8d, r8d
call fcn.1400a14c0
mov qword [rsp + 0x80], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005e378
cmp byte [rsi + 0x17], 0
jns 0x14005e32a
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, eax
mov qword [rsp + 0x90], 0xa
movzx eax, byte [0x1401d7dba]
test al, al
jne 0x14005e3be
test esi, esi
setne bl
lea rcx, [rsp + 0x40]
call fcn.1400a1760
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140152280
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
movzx ecx, al
mov qword [rsp + 0x90], rdi
lea rax, str.ScopedBlockingCall
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x80]
lea r8, [rsp + 0x88]
lea r9, [rsp + 0x90]
call fcn.140062630
cmp byte [rsi + 0x17], 0
js 0x14005e327
jmp 0x14005e32a
movzx ecx, al
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x90]
lea r8, [rsp + 0x20]
mov r9d, 2
call fcn.140032b00
jmp 0x14005e34c