joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14017caf0
Capabilities:
Delete registry key

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [0x1402cdfe0]
lea rbx, [rsp + 0x20]
movaps xmmword [rbx], xmm0
mov rdx, rbx
call fcn.14017cde0
mov rax, qword [rbx + 8]
cmp rax, 1
jne 0x14017cb95
cmp byte [rsp + 0x20], 0
je 0x14017cb8e
mov rcx, qword [rdi]
call sub.ntdll.dll_NtDeleteKey
test eax, eax
je 0x14017cb7f
mov edi, eax
mov eax, dword [0x140361d20]
mov ecx, dword [0x14035efd0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14017cbc8
mov rax, qword [0x140361d18]
test rax, rax
je 0x14017cb87
mov ecx, edi
call qword [0x14033dc40]
mov dword [rsi], eax
mov byte [rsi + 4], 1
jmp 0x14017cba6
mov dword [rsi], 0
jmp 0x14017cb79
mov eax, 5
jmp 0x14017cb77
mov byte [rsi], 0
xor eax, eax
jmp 0x14017cba3
cmp rax, 2
jne 0x14017cbbe
mov eax, dword [rsp + 0x20]
mov dword [rsi], eax
mov al, 1
mov byte [rsi + 4], al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140110970
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
test rax, rax
je 0x14017cc12
call fcn.14017d500
lea rcx, [0x140361d20]
call fcn.14010f47c
cmp dword [0x140361d20], 0xffffffff
jne 0x14017cb63
lea rcx, [0x1402e7a84]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlNtStatusToDosError
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140361d18], rax
lea rcx, [0x140361d20]
call fcn.14010f530
jmp 0x14017cb63
int3

Function at 0x14017cc30
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rax, qword [rsp + 0x60]
mov rcx, qword [rcx]
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 0x14017cc60
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, r8
mov rax, qword [0x14034e040]
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]
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 0x14017ccce
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140110970
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 0x14017ccb8
cmp dword [rsp + 0x3c], 8
jne 0x14017ccb8
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
xor edi, edi
jmp 0x14017ccb8

Function at 0x14017cd00
Capabilities:
Set registry value

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x34]
mov dword [rax], r8d
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140110970
mov eax, esi
add rsp, 0x40
pop rsi
ret
Function at 0x14017cd60
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov eax, dword [rsp + 0x60]
mov rcx, qword [rcx]
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 0x14017cd90
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, r8
call fcn.140131e24
lea eax, [rax*2 + 2]
mov rcx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov rdx, rdi
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x14017cde0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rdx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x34]
mov dword [r9], 0
mov rcx, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea rdx, str.SymbolicLinkValue
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14017ce35
cmp eax, 2
jne 0x14017ce2c
mov byte [rsi], 0
jmp 0x14017ce3d
mov dword [rsi], eax
mov eax, 2
jmp 0x14017ce42
cmp dword [rsp + 0x34], 6
sete byte [rsi]
mov eax, 1
mov qword [rsi + 8], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140110970
mov rax, rsi
add rsp, 0x40
pop rsi
ret
Function at 0x14017d020
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rcx], 0
je 0x14017d15a
cmp dword [rsi + 8], 0xffffffff
je 0x14017d15a
lea rdi, [rsi + 0x10]
mov ebp, 0xa
cmp byte [rsi + 0x27], 0
jns 0x14017d068
mov ebp, dword [rsi + 0x20]
dec ebp
lea rbx, [rsp + 0x44]
mov dword [rbx], ebp
mov eax, dword [rsi + 0x30]
mov r12, qword [rsi + 0x28]
sub eax, r12d
and eax, 0xfffffffe
add eax, 0xfffffffe
lea r14, [rsi + 0x40]
mov dword [rsi + 0x40], eax
lea r15, [rsi + 0x44]
mov edx, ebp
mov rcx, rdi
call fcn.14005b380
mov edx, dword [rsi + 8]
mov rcx, qword [rsi]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], 0
mov r8, rax
mov r9, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
jne 0x14017d156
mov edx, dword [rsi + 0x40]
inc rdx
shr rdx, 1
mov r12, qword [rsi + 0x28]
mov rax, qword [rsi + 0x30]
sub rax, r12
mov rcx, rax
sar rcx, 1
cmp rcx, rdx
ja 0x14017d10a
lea rcx, [rsi + 0x28]
inc rdx
lea r8, [rsp + 0x42]
mov word [r8], 0
call fcn.14005a570
mov r12, qword [rsi + 0x28]
mov rax, qword [rsi + 0x30]
sub rax, r12
and eax, 0xfffffffe
add eax, 0xfffffffe
mov dword [rsi + 0x40], eax
lea rbx, [rsp + 0x44]
cmp dword [rbx], ebp
mov edx, 0x4000
cmovne edx, ebp
mov dword [rbx], edx
mov rcx, rdi
call fcn.14005b380
mov edx, dword [rsi + 8]
mov rcx, qword [rsi]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], 0
mov r8, rax
mov r9, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x14017d1a2
lea rax, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x14017d167
mov rax, qword [rax]
mov word [rax], 0
mov rax, qword [rsi + 0x28]
cmp qword [rsi + 0x30], rax
je 0x14017d1c9
mov word [rax], 0
mov dword [rsi + 0x40], 0
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140110970
mov eax, esi
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov eax, dword [rsi + 0x40]
inc rax
shr rax, 1
mov rcx, qword [rsi + 0x28]
mov rdx, qword [rsi + 0x30]
sub rdx, rcx
sar rdx, 1
cmp rdx, rax
jbe 0x14017d1c9
mov word [rcx + rax*2], 0
mov sil, 1
jmp 0x14017d184
ud2

Function at 0x14017d2c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [rcx + 8]
cmp eax, 0xffffffff
je fcn.14017d020
dec eax
mov dword [rcx + 8], eax
jmp fcn.14017d020

Function at 0x14017d450
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [rcx + 8]
cmp eax, 0xffffffff
je fcn.14017d470
dec eax
mov dword [rcx + 8], eax
jmp fcn.14017d470
Function at 0x14017d470
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [rcx]
test rcx, rcx
je 0x14017d4d9
mov edx, dword [rsi + 8]
cmp edx, 0xffffffff
je 0x14017d4d9
lea r8, [rsi + 0xc]
lea r9, [rsp + 0x54]
mov dword [r9], 0x104
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r10, [rsp + 0x4c]
mov qword [r10], rax
mov qword [rsp + 0x38], r10
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14017d4f6
mov word [rsi + 0xc], 0
xor esi, esi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140110970
mov eax, esi
add rsp, 0x60
pop rsi
ret
mov sil, 1
jmp 0x14017d4e1

Function at 0x14017eef0
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 [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 1
je 0x14017ef19
mov rcx, qword [rsi]
jmp 0x14017ef22
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x14017ef6b
mov dil, 1
test bl, bl
je 0x14017ef54
cmp byte [rsi + 8], 1
je 0x14017ef40
mov rcx, qword [rsi]
jmp 0x14017ef49
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.140110970
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 1
jne 0x14017ef82
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14017ef85
mov rcx, qword [rsi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14017ef98
xor edi, edi
jmp 0x14017ef54
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 1
jne 0x14017efb1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14017efb4
mov rcx, qword [rsi]
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dil, 1
jmp 0x14017ef54
Function at 0x14017f320
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x140
movaps xmmword [rsp + 0x130], xmm6
mov ebx, r9d
mov edi, r8d
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x40], ntohl
mov rax, qword [0x1402e59f8]
mov al, byte [rax + 0xb]
test al, al
jne 0x14017f5cd
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x120], r13
movaps xmm6, xmmword [0x1402cdfe0]
movaps xmmword [rsp + 0x110], xmm6
lea r15, [rsp + 0x80]
mov rcx, r14
mov rdx, r15
call fcn.14006e390
cmp byte [r15 + 0x17], 0
js 0x14017f451
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x120], rax
movups xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x110], xmm0
lea r12, [rsp + 0x80]
mov rcx, r12
call fcn.14006c480
lea r15, [rsp + 0xf0]
mov qword [r15 + 0x10], r13
movaps xmmword [r15], xmm6
mov rcx, r14
mov rdx, r15
call fcn.140192920
xorps xmm0, xmm0
movups xmmword [r12 + 0x60], xmm0
movups xmmword [r12 + 0x50], xmm0
movups xmmword [r12 + 0x40], xmm0
movups xmmword [r12 + 0x30], xmm0
movabs rax, 0x4000000070
mov qword [r12], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [r12 + 8], rax
lea rax, str.runas
mov qword [r12 + 0x10], rax
cmp byte [rsp + 0x127], 0
js 0x14017f473
lea rax, [rsp + 0x110]
jmp 0x14017f47b
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
lea rcx, [rsp + 0x110]
call fcn.140044880
jmp 0x14017f3d2
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x98], rax
cmp byte [rsp + 0x107], 0
jns 0x14017f495
mov r15, qword [rsp + 0xf0]
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x20], r15
xor r14d, r14d
mov qword [rcx + 0x28], r14
xor dil, 1
movzx eax, dil
mov dword [rcx + 0x30], eax
mov qword [rcx + 0x38], r14
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14017f52b
test bl, bl
je 0x14017f523
lea rdi, [rsp + 0x40]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.LaunchElevatedProcess
lea r8, str....._baseprocesslaunch_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x9e
call fcn.1400e1900
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140061fe0
mov rcx, qword [rsp + 0xe8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call fcn.140062060
mov r14, qword [rsp + 0xe8]
mov rcx, rsi
mov rdx, r14
call fcn.14005bdc0
cmp byte [rsp + 0x107], 0
jns 0x14017f54d
mov rcx, qword [rsp + 0xf0]
call fcn.14010f42c
cmp byte [rsp + 0x127], 0
jns 0x14017f564
mov rcx, qword [rsp + 0x110]
call fcn.14010f42c
mov qword [rsp + 0x40], ntohl
mov rax, qword [0x1402e59f8]
mov al, byte [rax + 0xb]
test al, al
jne 0x14017f5a9
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.140110970
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x130]
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx ecx, al
lea r8, [rsp + 0x80]
mov qword [r8], 0
lea rdx, [rsp + 0x40]
mov r9d, 2
call fcn.1400d60e0
jmp 0x14017f57b
movzx ecx, al
lea rax, str.LaunchElevatedProcess
lea r8, [rsp + 0x80]
mov qword [r8], rax
lea rdx, [rsp + 0x40]
mov r9d, 1
call fcn.1400d60e0
jmp 0x14017f373
Function at 0x140182210
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x1402cdfe0]
lea r12, [rsp + 0x60]
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, 0x42
call fcn.1400e1900
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.140061fe0
test esi, esi
sets al
test r14, r14
sets cl
or cl, al
mov ebp, 0xffffffff
jne 0x140182329
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.140086c10
test al, al
je 0x1401822e1
mov r9d, esi
lea rdx, str.File::Read
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140217cc0
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 0x140182357
mov ebp, dword [rsp + 0x2c]
test ebp, ebp
js 0x14018236a
lea rcx, [rsp + 0x30]
call fcn.140086c90
lea rcx, [rsp + 0x60]
call fcn.140062060
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140110970
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp eax, 0x26
setne bpl
neg ebp
jmp 0x14018231f
int3

Function at 0x140182370
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x1402cdfe0]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x5f
call fcn.1400e1900
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140061fe0
test esi, esi
js 0x14018248c
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.140086c10
test al, al
je 0x140182427
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140217cc0
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140182493
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x1401824a6
lea rcx, [rsp + 0x30]
call fcn.140086c90
lea rcx, [rsp + 0x50]
call fcn.140062060
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140110970
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x140182461
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x140182457
int3
Function at 0x1401824b0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x1402cdfe0]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.WriteAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, ILFree
call fcn.1400e1900
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140061fe0
test esi, esi
js 0x1401825cd
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.140086c10
test al, al
je 0x140182567
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140217cc0
lea r14, [rsp + 0x2c]
mov dword [r14], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [r14]
lea rcx, [rsp + 0x30]
call fcn.140086c90
lea rcx, [rsp + 0x50]
call fcn.140062060
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140110970
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x1401825a2

Function at 0x1401825e0
Capabilities:
Clear file content

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm0, xmmword [0x1402cdfe0]
lea rbx, [rsp + 0x50]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.SetLength
lea r8, str....._base_files_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, ILCreateFromPathW
call fcn.1400e1900
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140061fe0
mov qword [r14 + 8], r15
mov qword [r14], 0
call fcn.140086c10
test al, al
je 0x140182685
lea rdx, str.File::SetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
mov r9, rdi
call fcn.140217cc0
lea r8, [rsp + 0x28]
mov qword [r8], r15
mov rcx, qword [rsi]
xor ebx, ebx
xor edx, edx
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1401826e2
mov rcx, qword [rsi]
xor ebx, ebx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1401826e2
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140182717
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsi]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
setne bl
lea rcx, [rsp + 0x30]
call fcn.140086c90
lea rcx, [rsp + 0x50]
call fcn.140062060
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140110970
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x1401826e2
Function at 0x140182d40
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x1402cdfe0]
lea rbx, [rsp + 0x40]
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, 0x1ce
call fcn.1400e1900
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140061fe0
mov al, byte [rsi + 0x17]
test al, al
jns 0x140182dbe
cmp qword [rsi + 8], 0x103
ja 0x140182ddc
test al, al
jns 0x140182dc5
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.140062060
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140110970
mov eax, edi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140182e10
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x498
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x490], rax
movaps xmm0, xmmword [0x1402cdfe0]
lea r14, [rsp + 0x30]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, [0x1402e8081]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x280]
mov rcx, r15
mov r9d, 0x1da
call fcn.1400e1900
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140061fe0
lea r14, [rsp + 0x280]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1401496f0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x140182eaf
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, r14
call fcn.140189d50
mov rcx, r14
call fcn.1400cdbd0
lea r14, [rsp + 0x70]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1401496f0
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x140182ee6
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, r14
call fcn.140189d50
mov rcx, r14
call fcn.1400cdbd0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x140182f08
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x140182f14
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]
mov r14b, 1
test eax, eax
je 0x140182f5f
lea rcx, [rsp + 0x30]
call fcn.140062060
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140110970
mov eax, r14d
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14005d180
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x140182f77
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x140182f80
mov rbx, qword [rbx]
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne r14b
test rsi, rsi
je 0x140182f32
test eax, eax
jne 0x140182f32
cmp ebp, 0xfffffffc
jne 0x140182fa7
call fcn.140182720
mov ebp, eax
mov dword [rsi], ebp
xor r14d, r14d
jmp 0x140182f32