joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140073620
Capabilities:
Get session information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
je 0x140073704
lea r9, [rsp + 0x40]
mov qword [r9], 0
lea rcx, [rsp + 0x3c]
mov dword [rcx], 0
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov edx, eax
mov r8d, 0x18
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x140073704
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], rax
mov rdi, qword [rsp + 0x40]
movabs rax, 0xfffffffe00000000
and rax, rdi
cmp rax, qword [0x1403a7ec8]
jne 0x1400736ad
mov rcx, rdi
call fcn.14017f670
mov ecx, 0x30
call fcn.1401cfd80
mov rbx, rax
lea rdx, [0x140074830]
lea r8, [0x140046f60]
mov rcx, rax
call fcn.14017b890
lea rax, [0x140309a20]
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rdi
lea rdx, [rsp + 0x28]
mov qword [rdx], rbx
lea rcx, [rsp + 0x30]
call fcn.14017b800
cmp dword [rsp + 0x3c], 0xd7
ja 0x14007370d
mov qword [rsi], 0
jmp 0x140073721
mov qword [rsi], 0
jmp 0x14007372b
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0xc8]
mov rcx, rsi
call fcn.14008f930
lea rcx, [rsp + 0x30]
call fcn.14017b830
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401d1390
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x140077ca0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1403b6928]
test rdi, rdi
jne 0x140077d43
mov ecx, 0x48
call fcn.1401cfd80
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov ecx, 0x18
call fcn.1401cfd80
mov qword [rsi + 0x10], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x20], rcx
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x18], rcx
lea rax, [rsi + 0x30]
movups xmmword [rsi + 0x30], xmm6
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x40], 1
mov qword [0x1403b6928], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140077d65
mov rcx, rax
call fcn.1401f8b34
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.140077d70
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401d1390
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
int3
Function at 0x140077d70
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rsi, rdx
mov rbx, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.14008a630
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
cmp qword [rsi + 8], 0
je 0x140077f6e
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, str.api_ms_win_downlevel_shell32_l1_1_0.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
mov qword [rsp + 0x20], rax
je 0x140077fc6
lea rdx, [0x14034514e]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140077fd9
mov rcx, qword [rsi]
lea rdx, [rsp + 0x4c]
call qword [0x1403db008]
mov r12, rax
movsxd rbp, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test rbp, rbp
mov qword [rsp + 0x28], rbx
je 0x140077fe1
shl rbp, 3
movabs rax, 0x5555555555555551
cmp rbp, rax
jae 0x140077fe8
lea rsi, [rbp*2]
add rsi, rbp
mov rcx, rsi
call fcn.1401cfd80
mov rbx, rax
mov qword [rsp + 0x30], rax
add rax, rsi
mov qword [rsp + 0x40], rax
xor r15d, r15d
mov rsi, qword [r12 + r15]
mov rcx, rsi
call fcn.1401f8b34
mov rdi, rax
movabs rax, 0x7fffffffffffffef
cmp rdi, rax
ja 0x140077fbe
cmp rdi, 0xb
jae 0x140077ed0
mov byte [rbx + 0x17], dil
test rdi, rdi
je 0x140077ecb
cmp rdi, 3
jne 0x140077f2c
movzx eax, word [rsi + 4]
mov word [rbx + 4], ax
mov eax, dword [rsi]
mov dword [rbx], eax
mov r13, rbx
jmp 0x140077f11
lea r14, [rdi + 8]
and r14, 0xfffffffffffffff8
lea rcx, [r14 + r14]
call fcn.1401cfd80
mov r13, rax
mov qword [rbx], rax
movabs rax, 0x7fffffffffffffef
add rax, 0x11
or rax, r14
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rdi
mov r8, rdi
add r8, rdi
mov rcx, r13
mov rdx, rsi
call fcn.1401d2e10
mov word [r13 + rdi*2], 0
add rbx, 0x18
add r15, 8
cmp rbp, r15
jne 0x140077e88
jmp 0x140077f31
mov r13, rbx
jmp 0x140077f00
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
call fcn.140077960
movups xmmword [rsi], xmm6
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140077f64
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x30]
test rsi, rsi
jne 0x140077f94
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401d1390
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp rbx, rsi
je 0x140077fb4
lea rdi, [rbx - 0x18]
cmp byte [rbx - 1], 0
jns 0x140077fac
mov rcx, qword [rbx - 0x18]
call fcn.1401cfdbc
mov rbx, rdi
cmp rdi, rsi
jne 0x140077f99
mov rcx, rsi
call fcn.1401cfdbc
jmp 0x140077f6e
mov rcx, rbx
call fcn.14023abc0
mov rcx, qword [rsi]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x140077e24
xor r12d, r12d
jmp 0x140077e27
xor ebx, ebx
jmp 0x140077f36
lea rcx, [rsp + 0x30]
call fcn.14020f6b0
int3
Function at 0x14007a450
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r14d, r8d
mov rdi, rdx
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov rbx, qword [rdx]
mov qword [rdx], rax
lea rbp, [rbx + 1]
cmp rbp, 2
jb 0x14007a47f
call fcn.14017e5d0
cmp qword [rsi], rbx
je 0x14007a4b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14007a4ed
cmp rbp, 2
jb 0x14007a4a7
mov qword [rsi], rbx
call fcn.14017e5d0
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
call fcn.14017c8b0
lea rcx, [rsi + 0x20]
call fcn.1401966e0
mov dword [rsi + 0x24], 0
mov byte [rsi + 0x28], 0
mov byte [rsi + 0x29], r14b
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14007a503
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14017e5d0
mov rcx, qword [rsi]
call fcn.140189420
mov qword [rsi], 0
jmp 0x14007a499
call fcn.14017e5d0
mov rcx, qword [rdi]
call fcn.140189420
mov qword [rdi], 0
jmp 0x14007a4dd

Function at 0x14007a520
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.140188c50
mov qword [rsi], 0
test rax, rax
je 0x14007a573
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14007a5a7
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14007a56b
mov qword [rsi], rbx
call fcn.14017e5d0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.14017c8d0
lea rcx, [rsi + 0x20]
call fcn.1401966e0
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.14017e5d0
mov rcx, qword [rsi]
call fcn.140189420
mov qword [rsi], 0
jmp 0x14007a559
Function at 0x14007bc40
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xf0
movaps xmmword [rsp + 0xe0], xmm6
mov r13, r8
mov r14, rdx
mov r12, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0xd8], rax
test r8, r8
je 0x14007bc8f
cmp byte [r13 + 0x17], 0
js 0x14007be62
xor eax, eax
mov byte [r13], al
mov byte [r13 + 0x17], al
test r12, r12
je 0x14007be76
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.1401f1f40
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x80]
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.ReadStreamToStringWithMaxSize
lea r8, str..._.._base_files_file_util.cc
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0xce
call fcn.14017e5b0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140186270
xorps xmm6, xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
mov dword [rbx + 0x30], 0
mov rcx, r12
call fcn.1401e6ea0
mov ecx, eax
call fcn.1401e795c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14007be7a
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
shl rax, 0x20
or rax, rcx
test rax, rax
mov edi, 0xffff
cmovg rdi, rax
cmp rdi, r14
cmovae rdi, r14
lea r15, [rsp + 0x20]
movaps xmmword [r15], xmm6
mov qword [r15 + 0x10], 0
inc rdi
xor esi, esi
mov rcx, r15
mov rdx, rdi
xor r8d, r8d
call fcn.14017aad0
cmp byte [rsp + 0x37], 0
mov rcx, r15
jns 0x14007bd93
mov rcx, qword [rsp + 0x20]
add rcx, rsi
mov edx, 1
mov r8, rdi
mov r9, r12
call fcn.1401f1cc0
test rax, rax
je 0x14007bdd3
mov rbx, rax
mov rax, r14
sub rax, rsi
cmp rax, rbx
jb 0x14007be84
add rbx, rsi
mov rcx, r12
call fcn.1401f1240
test eax, eax
je 0x14007be8b
mov rsi, rbx
mov rcx, r12
call fcn.1401f126c
test eax, eax
sete dil
mov r14, rsi
test r13, r13
je 0x14007be1d
movups xmm0, xmmword [r13]
mov rax, qword [r13 + 0x10]
mov rcx, qword [rsp + 0x30]
mov qword [r13 + 0x10], rcx
movaps xmm1, xmmword [rsp + 0x20]
movups xmmword [r13], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
mov rcx, r13
mov rdx, r14
xor r8d, r8d
call fcn.14017aad0
cmp byte [rsp + 0x37], 0
js 0x14007beb0
lea rcx, [rsp + 0x80]
call fcn.1401862d0
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1401d1390
mov eax, edi
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [r13]
mov byte [rax], 0
mov qword [r13 + 8], 0
jmp 0x14007bc8f
xor edi, edi
jmp 0x14007be35
mov edi, 0xffff
jmp 0x14007bd59
xor edi, edi
jmp 0x14007bde4
test rsi, rsi
mov eax, 0x10000
cmove rdi, rax
lea rdx, [rbx + rdi]
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.14017aad0
mov rsi, rbx
jmp 0x14007bd84
mov rcx, qword [rsp + 0x20]
call fcn.1401cfdbc
jmp 0x14007be28
Function at 0x14007ceb0
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x70], rax
call fcn.14017ba40
test al, al
je 0x14007cf09
call fcn.14017ba30
mov rdi, rax
lea rbx, [0x14038375e]
mov rcx, rax
mov rdx, rbx
call fcn.14017bae0
test al, al
jne 0x14007cf38
lea rdx, str.vmodule
mov rcx, rdi
call fcn.14017bae0
test al, al
jne 0x14007cf38
mov eax, dword [rsi]
mov dword [0x1403af328], eax
mov bl, 1
test al, 1
jne 0x14007cff9
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401d1390
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp qword [0x1403b6940], 0
jne 0x14007d08a
mov rax, qword [0x1403b6948]
mov qword [0x1403b6940], rax
mov ecx, 0x20
call fcn.1401cfd80
mov r14, rax
lea rcx, str.vmodule
lea r15, [rsp + 0x48]
mov qword [r15], rcx
call fcn.1401f8880
mov qword [r15 + 8], rax
lea r12, [rsp + 0x58]
mov rcx, rdi
mov rdx, r12
mov r8, r15
call fcn.14017bbf0
lea r15, [rsp + 0x20]
mov qword [r15], rbx
mov rcx, rbx
call fcn.1401f8880
mov qword [r15 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rdi
mov rdx, rbx
mov r8, r15
call fcn.14017bbf0
lea r9, [0x1403b6950]
mov rcx, r14
mov rdx, rbx
mov r8, r12
call fcn.1402a4770
mov qword [0x1403b6948], r14
cmp byte [rbx + 0x17], 0
jns 0x14007cfdf
mov rcx, qword [rsp + 0x30]
call fcn.1401cfdbc
cmp byte [rsp + 0x6f], 0
jns 0x14007cf09
mov rcx, qword [rsp + 0x58]
call fcn.1401cfdbc
jmp 0x14007cf09
mov rcx, qword [0x1403b6978]
test rcx, rcx
jne 0x14007d013
mov rcx, qword [0x1403b6958]
test rcx, rcx
je 0x14007d037
jmp 0x14007d059
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1403b6978], 0
mov rcx, qword [0x1403b6958]
test rcx, rcx
jne 0x14007d059
and byte [0x1403af328], 0xfe
mov ecx, 0x18
call fcn.1401cfd80
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1403b6958], rax
mov rdx, qword [rsi + 8]
call fcn.140063c90
cmp dword [rsi + 0x14], 0
jne 0x14007d07e
mov rcx, qword [0x1403b6958]
cmp byte [rcx + 0x17], 0
jns 0x14007d078
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.14023e030
mov ebx, eax
jmp 0x14007cf1b
int3
Function at 0x140085d00
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x50]
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, str.CreateFileVersionInfoWin
lea r8, str..._.._base_file_version_info_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x4c
call fcn.14017e5b0
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
call fcn.140186270
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rbx + 0x17], 0
jns 0x140085d94
mov rbx, qword [rbx]
lea rdx, [rsp + 0x24]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x140085eda
mov ebp, eax
mov esi, eax
mov rcx, rsi
call fcn.1401cfd80
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call fcn.1401d34c0
mov edx, dword [rsp + 0x24]
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140085ee3
lea r8, [rsp + 0x28]
mov qword [r8], 0
lea r9, [rsp + 0x4c]
mov dword [r9], 0xaaaaaaaa
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140085ee3
mov rbp, qword [rsp + 0x28]
test rbp, rbp
je 0x140085ee3
add rsi, rdi
mov ecx, 0x38
call fcn.1401cfd80
mov rbx, rax
movzx r15d, word [rbp]
movzx ebp, word [rbp + 2]
lea rax, fcn.1400862c0
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
movabs rax, 0xfffffffe00000000
and rax, rdi
cmp rax, qword [0x1403a7ec8]
jne 0x140085e69
mov rcx, rdi
call fcn.14017f670
mov qword [rbx + 0x20], rdi
mov word [rbx + 0x28], r15w
mov word [rbx + 0x2a], bp
lea r8, [rsp + 0x28]
mov qword [r8], 0
lea r9, [rsp + 0x4c]
mov dword [r9], 0xaaaaaaaa
lea rdx, [0x1403458a2]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140085ef9
mov rax, qword [rsp + 0x28]
mov qword [rbx + 0x30], rax
mov qword [r14], rbx
lea rcx, [rsp + 0x50]
call fcn.1401862d0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401d1390
mov rax, r14
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov qword [r14], 0
jmp 0x140085ead
mov qword [r14], 0
test rdi, rdi
je 0x140085ead
mov rcx, rdi
call fcn.1401cfdbc
jmp 0x140085ead
int3
Function at 0x140085f90
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 r15, r8
mov r13, rdx
mov rdi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x260], rax
movzx r14d, word [rcx + 0x28]
movzx r12d, word [rcx + 0x2a]
mov rsi, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call rsi
mov ebp, eax
movzx ebx, word [rdi + 0x2a]
movzx eax, word [rdi + 0x28]
mov dword [rsp + 0x40], eax
call rsi
mov word [rsp + 0x3e], ax
lea rsi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1401d34c0
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r14d
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.140086230
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140086094
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140086094
mov r8d, dword [rsp + 0x44]
test r8d, r8d
je 0x140086094
dec r8d
mov rcx, r15
call fcn.140184ba0
mov sil, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401d1390
mov eax, esi
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rsi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1401d34c0
movzx eax, bp
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.140086230
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140086113
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140086113
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x140086060
lea rsi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1401d34c0
mov qword [rsp + 0x30], r13
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, rsi
call fcn.140086230
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140086197
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140086197
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x140086060
lea rsi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1401d34c0
movzx eax, word [rsp + 0x3e]
mov qword [rsp + 0x30], r13
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, rsi
call fcn.140086230
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14008621c
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14008621c
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x140086060
xor esi, esi
jmp 0x14008606e
Function at 0x140086860
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4b0
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x4a8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0x450]
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, [0x1403458f3]
lea r8, str..._.._base_files_file_util_win.cc
lea rsi, [rsp + 0x240]
mov rcx, rsi
mov r9d, 0x17a
call fcn.14017e5b0
mov rcx, rbp
mov rdx, rsi
xor r8d, r8d
call fcn.140186270
lea rbp, [rsp + 0x240]
mov r8d, 0x208
mov rcx, rbp
mov dl, 0xaa
call fcn.1401d34c0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14008690f
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, rbp
call fcn.140184910
mov rcx, rbp
call fcn.14016bc70
lea rbp, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbp
mov dl, 0xaa
call fcn.1401d34c0
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x140086946
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, rbp
call fcn.140184910
mov rcx, rbp
call fcn.14016bc70
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x140086968
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x140086974
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 0x1400869de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400881a0
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x1400869a7
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x1400869b0
mov rbx, qword [rbx]
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
test r14, r14
je 0x1400869e1
test eax, eax
jne 0x1400869e1
cmp ebp, 0xfffffffc
jne 0x1400869d7
call fcn.140244550
mov ebp, eax
mov dword [r14], ebp
xor edi, edi
jmp 0x1400869e1
mov dil, 1
lea rcx, [rsp + 0x450]
call fcn.1401862d0
mov rcx, qword [rsp + 0x4a8]
xor rcx, rsp
call fcn.1401d1390
mov eax, edi
add rsp, 0x4b0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

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

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, str.PathExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1ad
call fcn.14017e5b0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140186270
cmp byte [rdi + 0x17], 0
jns 0x140086a94
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
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 0x140086ad0
Capabilities:
Check if file exists
Get file attributes

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, str.DirectoryExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1d5
call fcn.14017e5b0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140186270
cmp byte [rdi + 0x17], 0
jns 0x140086b54
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.1401862d0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401d1390
mov eax, edi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

Function at 0x140086ba0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov r14, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1401d34c0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
add edi, 0xfffffefc
cmp edi, 0xfffffefd
jb 0x140086c43
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, 0xfffffefd
setae bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401d1390
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret