joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401e7350
Capabilities:
Delete service

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rbx, rcx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov rcx, qword [rdx]
test rcx, rcx
je 0x1401e73e7
mov rsi, rdx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov dil, 1
test eax, eax
jne 0x1401e73ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, 1
call fcn.14014c5f0
test al, al
jne 0x1401e73eb
cmp edi, 0x430
sete dil
cmp qword [rsi], 0
je 0x1401e73c6
call fcn.14014c890
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.1401a2070
mov eax, edi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor edi, edi
jmp 0x1401e73c6
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, 0x25f
mov r9d, 1
call fcn.14020ed80
lea rcx, [rsp + 0x58]
lea rdx, str.DeleteService_failed
mov r8d, 0x15
call fcn.1401daa50
mov r14, rax
lea r15, [rsp + 0x30]
mov rcx, rbx
mov rdx, r15
call fcn.1401e6fd0
cmp byte [r15 + 0x17], 0
jns 0x1401e7447
mov r15, qword [rsp + 0x30]
mov rcx, r14
mov rdx, r15
call fcn.14020c700
cmp byte [rsp + 0x47], 0
jns 0x1401e7463
mov rcx, qword [rsp + 0x30]
call fcn.1401a08c8
lea rcx, [rsp + 0x48]
call fcn.14020ee00
jmp 0x1401e73a1
Function at 0x1401ee200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rdx]
lea r12, [rdx + 8]
test rax, rax
mov rcx, r12
cmove rcx, rax
mov edx, dword [rcx + 8]
xor r8d, r8d
test edx, edx
setne r8b
lea r9, [rsi + 0x28]
xor ecx, ecx
cmp rax, 2
cmovb r9, rcx
mov dword [rsp + 0x20], edx
mov edx, dword [r9 + 8]
mov dword [rsp + 0x24], edx
test edx, edx
mov edx, 2
cmove rdx, r8
lea r8, [rsi + 0x48]
cmp rax, 3
cmovb r8, rcx
mov r8d, dword [r8 + 8]
test r8d, r8d
mov r9d, 3
cmove r9, rdx
lea rdx, [rsi + 0x68]
cmp rax, 4
cmovb rdx, rcx
mov dword [rsp + 0x28], r8d
mov edx, dword [rdx + 8]
mov dword [rsp + 0x2c], edx
test edx, edx
mov edx, 4
cmove rdx, r9
lea r8, [rsi + 0x88]
cmp rax, 5
cmovb r8, rcx
mov r8d, dword [r8 + 8]
test r8d, r8d
mov r9d, 5
cmove r9, rdx
lea rdx, [rsi + 0xa8]
cmp rax, 6
cmovb rdx, rcx
mov dword [rsp + 0x30], r8d
mov edx, dword [rdx + 8]
mov dword [rsp + 0x34], edx
test edx, edx
mov edx, 6
cmove rdx, r9
lea r8, [rsi + 0xc8]
cmp rax, 7
cmovb r8, rcx
mov r8d, dword [r8 + 8]
test r8d, r8d
mov r9d, 7
cmove r9, rdx
lea rdx, [rsi + 0xe8]
cmp rax, 8
cmovb rdx, rcx
mov dword [rsp + 0x38], r8d
mov edx, dword [rdx + 8]
mov dword [rsp + 0x3c], edx
test edx, edx
mov edx, 8
cmove rdx, r9
lea r8, [rsi + 0x108]
cmp rax, 9
cmovb r8, rcx
mov r8d, dword [r8 + 8]
test r8d, r8d
mov r9d, 9
cmove r9, rdx
cmp rax, 0xa
lea rax, [rsi + 0x128]
cmovb rax, rcx
mov dword [rsp + 0x40], r8d
mov eax, dword [rax + 8]
mov dword [rsp + 0x44], eax
test eax, eax
mov ebx, 0xa
cmove rbx, r9
mov r15, qword [rdi]
lea r13, [rdi + 8]
test r15, r15
cmovne r15, r13
mov rcx, r15
mov rdx, rbx
call fcn.1401edb10
mov r14d, eax
test al, al
je 0x1401ee3c2
test rbx, rbx
je 0x1401ee3c2
mov ebp, 1
mov edx, dword [rsp + rbp*4 + 0x1c]
mov rcx, r15
call fcn.1401edb10
mov r14d, eax
test al, al
je 0x1401ee3c2
lea rax, [rbp + 1]
cmp rbp, rbx
mov rbp, rax
jb 0x1401ee3a3
test r14b, r14b
je 0x1401ee411
test rbx, rbx
je 0x1401ee411
xor ebp, ebp
xor r14d, r14d
mov rcx, r13
cmp qword [rdi], rbp
ja 0x1401ee3db
xor ecx, ecx
mov r15, r12
cmp qword [rsi], rbp
ja 0x1401ee3e6
xor r15d, r15d
mov rdx, qword [r15]
mov r8, qword [r15 + 8]
call fcn.1401ed850
test al, al
je 0x1401ee411
mov rcx, r15
call fcn.1401ed280
inc rbp
add r12, 0x20
add r13, 0x20
mov r14b, 1
cmp rbp, rbx
jb 0x1401ee3ce
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401a2070
mov eax, r14d
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1402081c0
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 0x140208290
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 0x1402092d0
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 [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x140209341
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x14020934b
mov dil, 1
test bl, bl
je 0x14020932a
cmp byte [rsi + 8], 0
je 0x140209346
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.1401a2070
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
jmp 0x1402092fd
mov rcx, qword [rsi]
jmp 0x14020931f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x140209373
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140209378
xor edi, edi
jmp 0x14020932a
mov rcx, qword [rsi]
jmp 0x140209360
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x14020939f
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 0x14020932a
mov rcx, qword [rsi]
jmp 0x14020938f
Function at 0x140209580
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 [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x40], 0xa
mov rax, qword [str.__9_]
mov al, byte [rax + 0xa]
test al, al
jne 0x14020982d
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x120], r13
movaps xmm6, xmmword [0x1402fd120]
movaps xmmword [rsp + 0x110], xmm6
lea r15, [rsp + 0x80]
mov rcx, r14
mov rdx, r15
call fcn.14007b770
cmp byte [r15 + 0x17], 0
js 0x1402096b1
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.14014d430
lea r15, [rsp + 0xf0]
mov qword [r15 + 0x10], r13
movaps xmmword [r15], xmm6
mov rcx, r14
mov rdx, r15
call fcn.140210950
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 0x1402096d3
lea rax, [rsp + 0x110]
jmp 0x1402096db
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
lea rcx, [rsp + 0x110]
call fcn.14004ad20
jmp 0x140209632
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x98], rax
cmp byte [rsp + 0x107], 0
jns 0x1402096f5
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 0x14020978b
test bl, bl
je 0x140209783
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.14014c870
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140140de0
mov rcx, qword [rsp + 0xe8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call fcn.140140e60
mov r14, qword [rsp + 0xe8]
mov rcx, rsi
mov rdx, r14
call fcn.140063ea0
cmp byte [rsp + 0x107], 0
jns 0x1402097ad
mov rcx, qword [rsp + 0xf0]
call fcn.1401a08c8
cmp byte [rsp + 0x127], 0
jns 0x1402097c4
mov rcx, qword [rsp + 0x110]
call fcn.1401a08c8
mov qword [rsp + 0x40], 0xa
mov rax, qword [str.__9_]
mov al, byte [rax + 0xa]
test al, al
jne 0x140209809
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1401a2070
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.140135270
jmp 0x1402097db
movzx ecx, al
lea rax, str.LaunchElevatedProcess
lea r8, [rsp + 0x80]
mov qword [r8], rax
lea rdx, [rsp + 0x40]
mov r9d, 1
call fcn.1401346b0
jmp 0x1402095d3
Function at 0x14020a570
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x1402fd120]
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, 0x1cc
call fcn.14014c870
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140140de0
mov al, byte [rsi + 0x17]
test al, al
jns 0x14020a5ee
cmp qword [rsi + 8], 0x103
ja 0x14020a60c
test al, al
jns 0x14020a5f5
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.140140e60
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401a2070
mov eax, edi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14020aac0
Capabilities:
Check if file exists
Get file attributes

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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm6, xmmword [0x1402fd120]
lea r14, [rsp + 0x50]
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 + 0x30]
mov rcx, r15
mov r9d, 0x88
call fcn.14014c870
xor ebp, ebp
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140140de0
mov rcx, rdi
call fcn.14014f5e0
test al, al
jne 0x14020aedc
mov rcx, rsi
call fcn.14014f5e0
test al, al
jne 0x14020aeda
cmp byte [rdi + 0x17], 0
jns 0x14020af1e
cmp qword [rdi + 8], 0x103
jbe 0x14020af1e
xor ebp, ebp
lea rcx, [rsp + 0x50]
call fcn.140140e60
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401a2070
mov eax, ebp
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor ebp, ebp
lea rcx, [rsp + 0x20]
call fcn.1400b9e60
jmp 0x14020aedc
cmp byte [rsi + 0x17], 0
jns 0x14020af2e
cmp qword [rsi + 8], 0x103
ja 0x14020aeda
lea r14, [rsp + 0x20]
movaps xmmword [r14], xmm6
lea rdx, str.DoCopyFile
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x95
call fcn.14014c870
lea r8, [0x1403922d0]
mov rcx, r14
mov rdx, r15
call fcn.1400b9d30
cmp byte [rsi + 0x17], 0
jns 0x14020af73
mov rsi, qword [rsi]
movzx r8d, bl
cmp byte [rdi + 0x17], 0
jns 0x14020af80
mov rdi, qword [rdi]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14020af10
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bpl
je 0x14020af12
mov ecx, eax
and ecx, 1
je 0x14020af12
and eax, 0xfffffffe
mov rcx, rsi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bpl, 1
jmp 0x14020af12
Function at 0x14020b520
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 [0x14037e038]
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.1401a41c0
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.14006a260
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 0x14020b625
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14020b625
mov r8d, dword [rsp + 0x54]
test r8d, r8d
je 0x14020b625
dec r8d
mov rcx, qword [rsp + 0x48]
call fcn.14013dcc0
mov sil, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401a2070
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.1401a41c0
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.14006a260
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 0x14020b6a6
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14020b6a6
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x14020b5ef
lea r14, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1401a41c0
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.14006a260
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 0x14020b727
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14020b727
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x14020b5ef
lea r14, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1401a41c0
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.14006a260
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 0x14020b7ac
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14020b7ac
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x14020b5ef
xor esi, esi
jmp 0x14020b5ff
Function at 0x14020bb00
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x1402fd120]
lea r14, [rsp + 0x40]
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, 0x4c6
call fcn.14014c870
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140140de0
mov al, byte [rdi + 0x17]
test al, al
jns 0x14020b058
cmp qword [rdi + 8], 0x103
ja 0x14020b06b
mov cl, byte [rsi + 0x17]
test cl, cl
jns 0x14020b097
cmp qword [rsi + 8], 0x103
jbe 0x14020b097
xor ebx, ebx
lea rcx, [rsp + 0x40]
call fcn.140140e60
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401a2070
mov eax, ebx
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdx, rsi
test cl, cl
jns 0x14020b0a1
mov rdx, qword [rsi]
mov rcx, rdi
test al, al
jns 0x14020b0ab
mov rcx, qword [rdi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bl, 1
test eax, eax
jne 0x14020b06b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, rdi
call fcn.140067460
test al, al
jne 0x14020b0db
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14020b069
mov rcx, rdi
mov rdx, rsi
call fcn.14020b0f0
test al, al
jne 0x14020b06b
jmp 0x14020b0d1
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.14014f5e0
test al, al
jne 0x14020bb21
mov rcx, rsi
call fcn.14014f5e0
test al, al
je 0x14020bb2a
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 0x14020afd0
Function at 0x14020c480
Capabilities:
Access the windows event log

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x860
mov rsi, rcx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x858], rax
cmp byte [0x140380958], 0
je 0x14020c656
mov rdx, qword [0x1403922f8]
test rdx, rdx
je 0x14020c656
cmp byte [rdx + 0x17], 0
jns 0x14020c4cc
mov rdx, qword [rdx]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
test rax, rax
je 0x14020c681
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14014c890
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 0x18]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x1402fd120]
movaps xmmword [r14], xmm0
lea rbx, [rsp + 0x80]
mov rdx, rbx
call fcn.14012aed0
lea r15, [rsp + 0x48]
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1400362f0
mov eax, dword [rsi + 8]
test eax, eax
je 0x14020c595
cmp eax, 1
je 0x14020c59b
mov bp, 1
add eax, 0xfffffffe
cmp eax, 2
jae 0x14020c59f
lea r12, [rsp + 0x80]
mov r8d, 0x7d8
mov rcx, r12
mov dl, 0xaa
call fcn.1401a41c0
mov rcx, r12
call fcn.1400caf00
mov rcx, r12
mov rdx, r15
call fcn.14026a7c0
movzx r8d, byte [rsp + 0x5f]
test r8b, r8b
js 0x14020c6cf
and r8d, 0x7f
jmp 0x14020c6d9
mov bp, 4
jmp 0x14020c59f
mov bp, 2
cmp byte [rsp + 0x77], 0
jns 0x14020c5ab
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x48], 0
mov rcx, qword [0x140392308]
cmp byte [rcx + 0x17], 0
jns 0x14020c5cc
mov rcx, qword [rcx]
lea rdx, [rsp + 0x48]
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
je 0x14020c699
mov rax, qword [rsp + 0x48]
mov r9d, dword [0x140392304]
movzx r8d, word [0x140392300]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, rdi
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
test eax, eax
je 0x14020c6b4
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14020c637
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [rsp + 0x77], 0
jns 0x14020c648
mov rcx, qword [rsp + 0x60]
call fcn.1401a08c8
call fcn.14014c890
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rsi
call fcn.1400763d0
mov rcx, qword [rsp + 0x858]
xor rcx, rsp
call fcn.1401a2070
nop
add rsp, 0x860
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.1401daa50
jmp 0x14020c656
lea rcx, [rsi + 0x10]
lea rdx, str.___ERROR_GETTING_USER_SID__
mov r8d, 0x1b
call fcn.1401daa50
jmp 0x14020c5de
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.1401daa50
jmp 0x14020c627
mov r8, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.14004a270
cmp byte [rsp + 0x5f], 0
jns 0x14020c59f
mov rcx, qword [rsp + 0x48]
call fcn.1401a08c8
jmp 0x14020c59f
Function at 0x14020e7e0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x140392450], 0
je 0x14020e826
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1401a2070
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x140392428]
test rdi, rdi
je 0x14020e8c7
test byte [0x14038095c], 1
je 0x14020e809
cmp byte [rdi + 0x17], 0
jns 0x14020e848
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140392450], rax
inc rax
cmp rax, 1
ja 0x14020e809
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1401a41c0
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x14020e98e
xor esi, esi
jmp 0x14020e809
mov ecx, 0x18
call fcn.1401a088c
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1401a41c0
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1402fd120]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1401da860
movzx eax, byte [rdi + 0x17]
test al, al
js 0x14020e92d
and eax, 0x7f
mov rcx, rdi
jmp 0x14020e934
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
jne 0x14020e95a
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.14004b110
mov qword [0x140392428], rdi
jmp 0x14020e836
add rax, rax
test rax, rax
je 0x14020e939
lea rdx, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, rdx
jne 0x14020e95d
cmp rdx, 0xfffffffffffffffe
je 0x14020e939
sar rdx, 1
inc rdx
mov rcx, rdi
mov r8, 0xffffffffffffffff
call fcn.1401362d0
jmp 0x14020e939
mov rcx, qword [0x140392428]
lea rdx, [rsp + 0x40]
call fcn.14004b040
mov rcx, qword [0x140392428]
call fcn.140204dc0
cmp word [rax], 0x5c
je 0x14020e9ca
mov rcx, qword [0x140392428]
lea rdx, [0x1403078c4]
mov r8d, 1
call fcn.14004b110
mov rcx, qword [0x140392428]
lea rdx, str.debug.log
mov r8d, 9
call fcn.14004b110
mov rcx, qword [0x140392428]
cmp byte [rcx + 0x17], 0
jns 0x14020e9f3
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140392450], rax
inc rax
cmp rax, 1
ja 0x14020e809
mov qword [0x140392450], 0
jmp 0x14020e8c0