joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401c2044
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14019c674
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401c20ce
cmp byte [rbp - 0x21], r15b
je 0x1401c20c9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401c2104
call fcn.1401b8d24
test eax, eax
jne 0x1401c20f0
cmp byte [rbp - 0x21], r15b
je 0x1401c20e8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401c2104
cmp byte [rbp - 0x21], r15b
je 0x1401c2101
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1401a1c8c
test eax, eax
jne 0x1401c21a4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14019c674
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401c2143
cmp byte [rbp - 0x21], r15b
je 0x1401c2178
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401c2178
call fcn.1401b8d24
test eax, eax
jne 0x1401c2164
cmp byte [rbp - 0x21], r15b
je 0x1401c215d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401c2178
cmp byte [rbp - 0x21], r15b
je 0x1401c2175
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1401a1c8c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401c21a4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401c21a7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401c21b5
mov rcx, rdi
call fcn.14012fe90
cmp byte [rbp + 0x3f], r15b
je 0x1401c21c4
mov rcx, qword [rbp + 0x27]
call fcn.14012fe90
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1401c2368
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1401c23b2
call fcn.1401a53c0
mov dword [rax], 0xf
call fcn.1401a53a0
mov dword [rax], ntohl
call fcn.1401a6f3c
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14018f840
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1401c23bd
lea eax, [rbx + 1]
jmp 0x1401c239f
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1401c239d
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1401c239f
Function at 0x1401c3bf4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1401c3c0a
mov al, 1
jmp 0x1401c3c6a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1401c3c1b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1401c3c68
mov ecx, dword [rcx + 0x18]
nop
call fcn.1401a625c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401c3c68
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1401c3c68
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1401c3c68
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1401c3c6a
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1401cdbd0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x10]
cmp r15, qword [rcx + 0x18]
je 0x1401cdc0f
test r15, r15
je 0x1401cdcfd
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x1401cdc59
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r14, [rax + rcx]
inc r14
shr r14, 1
shl r14, 3
mov rcx, rbx
sub rcx, r14
mov r8, r15
sub r8, rbx
mov rdx, rbx
call fcn.1401912e0
sub r15, r14
mov qword [rsi + 0x10], r15
sub qword [rsi + 8], r14
jmp 0x1401cdbed
mov rax, r15
sub rax, r14
sar rax, 2
cmp r15, r14
mov r12d, 1
cmovne r12, rax
mov rax, r12
shr rax, 0x3d
jne 0x1401cdd29
lea rcx, [r12*8]
call fcn.14018dfc4
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rcx
sub r15, rbx
je 0x1401cdccd
mov r8, r15
sar r8, 3
and r15, 0xfffffffffffffff8
mov rdx, r15
add rdx, rcx
shl r8, 3
xor r9d, r9d
mov r10, rcx
add r10, r9
je 0x1401cdcfd
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp r8, r9
jne 0x1401cdcb5
lea r8, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], r8
mov r15, rdx
test r14, r14
je 0x1401cdbed
mov rcx, r14
call fcn.14018e000
mov r15, qword [rsi + 0x10]
jmp 0x1401cdbed
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401cd590
call fcn.1401c9880
int3
Function at 0x1401cdd30
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x1401cdd72
mov r14, rbx
add r14, 0xfffffffffffffff8
je 0x1401cde64
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 8], 0xfffffffffffffff8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r15, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
cmp r15, rax
jae 0x1401cddbf
sub rax, r15
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r12, [rax + rcx]
inc r12
shl r12, 2
and r12, 0xfffffffffffffff8
lea r14, [r15 + r12]
sub r15, rbx
sub r14, r15
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1401912e0
mov qword [rsi + 8], r14
add qword [rsi + 0x10], r12
jmp 0x1401cdd4f
mov rcx, rax
sub rcx, rbx
sar rcx, 2
cmp rax, rbx
mov r12d, 1
cmovne r12, rcx
mov rax, r12
shr rax, 0x3d
jne 0x1401cde90
lea rcx, [r12*8]
call fcn.14018dfc4
lea r14, [r12*2 + 6]
and r14, 0xfffffffffffffff8
add r14, rax
mov rcx, r14
sub r15, rbx
je 0x1401cde37
mov rdx, r15
sar rdx, 3
and r15, 0xfffffffffffffff8
mov rcx, r15
add rcx, r14
shl rdx, 3
xor r8d, r8d
mov r9, r14
add r9, r8
je 0x1401cde64
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x1401cde1f
lea rdx, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
test rbx, rbx
je 0x1401cdd4f
mov rcx, rbx
call fcn.14018e000
mov r14, qword [rsi + 8]
jmp 0x1401cdd4f
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401cd590
call fcn.1401c9880
int3
Function at 0x1401ce5b0
Capabilities:
Move file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x198], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x180], xmm0
movaps xmmword [rsp + 0x170], xmm0
mov dword [rsp + 0x190], 0
cmp byte [rcx + 0x17], 0
jns 0x1401ce5f6
mov rcx, qword [rsi]
lea r8, [rsp + 0x170]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x1401ce706
mov rcx, rsi
call fcn.140068880
movzx r8d, al
xor r8d, 5
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1401ce62a
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1401ce69e
lea rcx, str.....chromeinstallerutildelete_after_reboot_helper.cc
mov edx, 0x3a
call fcn.14013d6e0
mov dil, 1
test eax, eax
jle 0x1401ce716
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x5e
mov r9d, 0xffffffff
call fcn.140076540
lea rcx, [rsp + 0x40]
lea rdx, str.Scheduled_for_deletion:
mov r8d, 0x18
call fcn.1401c9900
mov rcx, rax
mov rdx, rsi
call fcn.1400770c0
mov rcx, rbx
call fcn.140076a20
jmp 0x1401ce716
mov ecx, 2
call fcn.14013d6b0
test al, al
je 0x1401ce714
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x4a
mov r9d, 2
call fcn.1401ff380
lea rcx, [rsp + 0x40]
lea rdx, str.Could_not_schedule
mov r8d, 0x13
call fcn.1401c9900
mov rcx, rax
mov rdx, rsi
call fcn.1400770c0
lea rdx, str._for_deletion.
mov r8d, reloc.WS2_32.dll_ntohl
jmp 0x1401ce776
mov ecx, 1
call fcn.14013d6b0
test al, al
jne 0x1401ce733
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14018f840
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x3f
mov r9d, 1
call fcn.1401ff380
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.1400770c0
lea rdx, str._does_not_exist.
mov r8d, 0x10
mov rcx, rax
call fcn.1401c9900
mov rcx, rdi
call fcn.1401ff400
jmp 0x1401ce714
Function at 0x1401d58e0
Capabilities:
Delete service

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rbx, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov rcx, qword [rdx]
test rcx, rcx
je 0x1401d5977
mov rsi, rdx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov dil, 1
test eax, eax
jne 0x1401d593b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, 1
call fcn.14013d6b0
test al, al
jne 0x1401d597b
cmp edi, 0x430
sete dil
cmp qword [rsi], 0
je 0x1401d5956
call fcn.14013d7b0
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rsi], 0
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.14018f840
mov eax, edi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor edi, edi
jmp 0x1401d5956
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstallerutilinstall_service_work_item_impl.cc
lea rcx, [rsp + 0x48]
mov r8d, 0x25d
mov r9d, 1
call fcn.1401ff380
lea rcx, [rsp + 0x58]
lea rdx, str.DeleteService_failed
mov r8d, 0x15
call fcn.1401c9900
mov r14, rax
lea r15, [rsp + 0x30]
mov rcx, rbx
mov rdx, r15
call fcn.1401d55b0
cmp byte [r15 + 0x17], 0
jns 0x1401d59d7
mov r15, qword [rsp + 0x30]
mov rcx, r14
mov rdx, r15
call fcn.1401ff4c0
cmp byte [rsp + 0x47], 0
jns 0x1401d59f3
mov rcx, qword [rsp + 0x30]
call fcn.14018e000
lea rcx, [rsp + 0x48]
call fcn.1401ff400
jmp 0x1401d5931
Function at 0x1401f6dc0
Capabilities:
Delete registry key

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x70]
mov qword [rax], 0
mov r9d, 0x20019
or r9d, dword [rcx + 0x10]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x1401f6e27
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14018f840
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret
lea rax, [rsp + 0x6c]
mov dword [rax], 0
mov rcx, qword [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1401f6e0d
mov ebx, 0x91
cmp dword [rsp + 0x6c], 0
jne 0x1401f6e0d
mov r8d, dword [rdi + 0x10]
mov rcx, qword [rdi + 8]
mov rdx, rsi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebx, eax
jmp 0x1401f6e0d

Function at 0x1401f6ea0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rax, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop
add rsp, 0x38
ret

Function at 0x1401f6ed0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, r8
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x4c]
mov dword [r9], ntohl
lea rax, [rsp + 0x40]
mov qword [rax], 0
lea r8, [rsp + 0x3c]
mov dword [r8], 8
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x1401f6f3f
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14018f840
mov eax, edi
add rsp, 0x58
pop rdi
pop rsi
ret
mov eax, dword [rsp + 0x4c]
and eax, 0xfffffff7
mov edi, 0x3f4
cmp eax, 3
jne 0x1401f6f29
cmp dword [rsp + 0x3c], 8
jne 0x1401f6f29
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
xor edi, edi
jmp 0x1401f6f29

Function at 0x1401f6f70
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov eax, dword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9d, eax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x38
ret
Function at 0x1401f7fd0
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 [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x1401f8041
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1401f804b
mov dil, 1
test bl, bl
je 0x1401f802a
cmp byte [rsi + 8], 0
je 0x1401f8046
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14018f840
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
jmp 0x1401f7ffd
mov rcx, qword [rsi]
jmp 0x1401f801f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x1401f8073
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401f8078
xor edi, edi
jmp 0x1401f802a
mov rcx, qword [rsi]
jmp 0x1401f8060
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x1401f809f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dil, 1
jmp 0x1401f802a
mov rcx, qword [rsi]
jmp 0x1401f808f
Function at 0x1401f8f80
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x40]
mov qword [rbx + 0x40], rax
movaps xmm0, xmmword [0x1402fa4a0]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.DeleteFileAfterReboot
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0x1ca
call fcn.14013d790
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1401329b0
mov al, byte [rsi + 0x17]
test al, al
jns 0x1401f900c
cmp qword [rsi + 8], 0x103
ja 0x1401f902a
test al, al
jns 0x1401f9013
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
lea rcx, [rsp + 0x40]
call fcn.140132bf0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14018f840
mov eax, edi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1401f94e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edx, 1
mov r8d, 0x80000000
jmp fcn.140068720
Function at 0x1401f9810
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x40], r12
movaps xmm6, xmmword [0x1402fa4a0]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.DoCopyFile
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0x86
call fcn.14013d790
xor ebp, ebp
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401329b0
mov rcx, rdi
call fcn.140140240
test al, al
jne 0x1401f98cc
mov rcx, rsi
call fcn.140140240
test al, al
jne 0x1401f98ca
cmp byte [rdi + 0x17], 0
jns 0x1401f9910
cmp qword [rdi + 8], 0x103
jbe 0x1401f9910
xor ebp, ebp
lea rcx, [rsp + 0x60]
call fcn.140132bf0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14018f840
mov eax, ebp
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ebp, ebp
lea rcx, [rsp + 0x40]
call fcn.1400b2530
jmp 0x1401f98cc
cmp byte [rsi + 0x17], 0
jns 0x1401f9920
cmp qword [rsi + 8], 0x103
ja 0x1401f98ca
lea r14, [rsp + 0x40]
mov qword [r14 + 0x10], r12
movaps xmmword [r14], xmm6
lea rdx, str.DoCopyFile
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0x93
call fcn.14013d790
lea r8, [0x14038338c]
mov rcx, r14
mov rdx, r15
call fcn.1400b2230
cmp byte [rsi + 0x17], 0
jns 0x1401f9969
mov rsi, qword [rsi]
movzx r8d, bl
cmp byte [rdi + 0x17], 0
jns 0x1401f9976
mov rdi, qword [rdi]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1401f9902
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bpl
je 0x1401f9904
mov ecx, eax
and ecx, 1
je 0x1401f9904
and eax, 0xfffffffe
mov rcx, rsi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bpl, 1
jmp 0x1401f9904
Function at 0x1401f9f20
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, 0x278
mov qword [rsp + 0x48], r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x270], rax
movzx ebp, word [rcx + 0x28]
movzx esi, word [rcx + 0x2a]
mov r15, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call r15
mov r14d, eax
movzx r13d, word [rdi + 0x2a]
movzx r12d, word [rdi + 0x28]
call r15
mov word [rsp + 0x46], ax
lea r15, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.140191990
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebp
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.14006b560
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1401fa025
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1401fa025
mov r8d, dword [rsp + 0x54]
test r8d, r8d
je 0x1401fa025
dec r8d
mov rcx, qword [rsp + 0x48]
call fcn.14012fc00
mov sil, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14018f840
mov eax, esi
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r15, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.140191990
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.14006b560
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1401fa0a6
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1401fa0a6
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1401f9fef
lea r14, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140191990
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.14006b560
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1401fa127
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1401fa127
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1401f9fef
lea r14, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140191990
movzx eax, word [rsp + 0x46]
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.14006b560
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1401fa1ac
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1401fa1ac
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1401f9fef
xor esi, esi
jmp 0x1401f9fff
Function at 0x1401fa3e0
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x40]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x1402fa4a0]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.MoveUnsafe
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0x4bb
call fcn.14013d790
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401329b0
mov al, byte [rdi + 0x17]
test al, al
jns 0x1401f9a66
cmp qword [rdi + 8], 0x103
ja 0x1401f9a79
mov cl, byte [rsi + 0x17]
test cl, cl
jns 0x1401f9aa5
cmp qword [rsi + 8], 0x103
jbe 0x1401f9aa5
xor ebx, ebx
lea rcx, [rsp + 0x40]
call fcn.140132bf0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14018f840
mov eax, ebx
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdx, rsi
test cl, cl
jns 0x1401f9aaf
mov rdx, qword [rsi]
mov rcx, rdi
test al, al
jns 0x1401f9ab9
mov rcx, qword [rdi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bl, 1
test eax, eax
jne 0x1401f9a79
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, rdi
call fcn.140068880
test al, al
jne 0x1401f9ae9
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1401f9a77
mov rcx, rdi
mov rdx, rsi
call fcn.1401f9b00
test al, al
jne 0x1401f9a79
jmp 0x1401f9adf
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.140140240
test al, al
jne 0x1401fa401
mov rcx, rsi
call fcn.140140240
test al, al
je 0x1401fa40a
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x1401f99d0