joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140293f8c
Capabilities:
Get file size

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

Function at 0x14029e620
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rsi
rdtsc
mov r11, qword [0x14044fec0]
mov rcx, qword [0x14044fed0]
mov r9, qword [0x14044fed8]
mov r8, qword [0x14044fee0]
mov r10, qword [0x14044fee8]
mov rsi, qword [0x14044fec0]
test r11b, 1
jne 0x14029e677
cmp r11, rsi
jne 0x14029e677
shl rdx, 0x20
or rdx, rax
sub rdx, r9
cmp rdx, r10
jae 0x14029e677
imul rdx, r8
shr rdx, 0x1e
add rdx, rcx
mov rax, rdx
pop rsi
ret
pop rsi
jmp fcn.14029e67d

Function at 0x14029f5a0
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 0x14029f5df
test r15, r15
je 0x14029f6cd
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 0x14029f629
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.14025c0b0
sub r15, r14
mov qword [rsi + 0x10], r15
sub qword [rsi + 8], r14
jmp 0x14029f5bd
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 0x14029f6f9
lea rcx, [r12*8]
call fcn.140258e18
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rcx
sub r15, rbx
je 0x14029f69d
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 0x14029f6cd
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp r8, r9
jne 0x14029f685
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 0x14029f5bd
mov rcx, r14
call fcn.140258e54
mov r15, qword [rsi + 0x10]
jmp 0x14029f5bd
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.14029ef60
call fcn.14029aa60
int3
Function at 0x14029f700
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 0x14029f742
mov r14, rbx
add r14, 0xfffffffffffffff8
je 0x14029f834
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 0x14029f78f
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.14025c0b0
mov qword [rsi + 8], r14
add qword [rsi + 0x10], r12
jmp 0x14029f71f
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 0x14029f860
lea rcx, [r12*8]
call fcn.140258e18
lea r14, [r12*2 + 6]
and r14, 0xfffffffffffffff8
add r14, rax
mov rcx, r14
sub r15, rbx
je 0x14029f807
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 0x14029f834
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x14029f7ef
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 0x14029f71f
mov rcx, rbx
call fcn.140258e54
mov r14, qword [rsi + 8]
jmp 0x14029f71f
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.14029ef60
call fcn.14029aa60
int3
Function at 0x14029fff0
Capabilities:
Move file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x14044f038]
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 0x1402a0036
mov rcx, qword [rsi]
lea r8, [rsp + 0x170]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x1402a00de
mov rcx, rsi
call fcn.140102760
movzx r8d, al
xor r8d, 5
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1402a006a
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1402a010f
lea rcx, str.....chromeinstallerutildelete_after_reboot_helper.cc
mov edx, 0x3a
call fcn.140209bf0
mov dil, 1
test eax, eax
jle 0x1402a00f2
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x5e
mov r9d, 0xffffffff
call fcn.140110e20
lea rcx, [rsp + 0x40]
lea rdx, str.Scheduled_for_deletion:
mov r8d, 0x18
call fcn.14029aae0
mov rcx, rax
mov rdx, rsi
call fcn.1401119a0
mov rcx, rbx
call fcn.140111310
jmp 0x1402a00f2
mov ecx, 1
call fcn.140209bc0
test al, al
jne 0x1402a0177
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14025a610
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140209bc0
test al, al
je 0x1402a00f0
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.1402dddc0
lea rcx, [rsp + 0x40]
lea rdx, str.Could_not_schedule
mov r8d, 0x13
call fcn.14029aae0
mov rcx, rax
mov rdx, rsi
call fcn.1401119a0
lea rdx, str._for_deletion.
mov r8d, reloc.WS2_32.dll_ntohl
jmp 0x1402a01ba
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.1402dddc0
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.1401119a0
lea rdx, str._does_not_exist.
mov r8d, 0x10
mov rcx, rax
call fcn.14029aae0
mov rcx, rdi
call fcn.1402dde40
jmp 0x1402a00f0
Function at 0x1402a7360
Capabilities:
Delete service

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rbx, rcx
mov rax, qword [0x14044f038]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov rcx, qword [rdx]
test rcx, rcx
je 0x1402a73b8
mov rsi, rdx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov dil, 1
test eax, eax
je 0x1402a73db
cmp qword [rsi], 0
je 0x1402a73ba
call fcn.140209cc0
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rsi], 0
jmp 0x1402a73ba
xor edi, edi
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.14025a610
mov eax, edi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, 1
call fcn.140209bc0
test al, al
jne 0x1402a73fd
cmp edi, 0x430
sete dil
jmp 0x1402a739b
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.1402dddc0
lea rcx, [rsp + 0x58]
lea rdx, str.DeleteService_failed
mov r8d, 0x15
call fcn.14029aae0
mov r14, rax
lea r15, [rsp + 0x30]
mov rcx, rbx
mov rdx, r15
call fcn.1402a7030
cmp byte [r15 + 0x17], 0
jns 0x1402a7459
mov r15, qword [rsp + 0x30]
mov rcx, r14
mov rdx, r15
call fcn.1402ddef0
cmp byte [rsp + 0x47], 0
jns 0x1402a7475
mov rcx, qword [rsp + 0x30]
call fcn.140258e54
lea rcx, [rsp + 0x48]
call fcn.1402dde40
jmp 0x1402a73f1

Function at 0x1402ad250
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x14044f038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rdi, [rsp + 0x28]
mov qword [rdi], rdx
mov rdx, rdi
call fcn.1401dbda0
lea rdx, [rsi + 0xa0]
mov r8d, dword [rdi]
mov rcx, qword [rsi + 0x90]
mov qword [rsp + 0x20], rdx
mov rdx, rax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1402ad2ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1402ad2db
mov byte [rsi + 0xc0], 1
mov eax, 1
lock xadd dword [rsi + 8], eax
cmp eax, 0x7fffffff
je 0x1402ad2d8
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14025a610
nop
add rsp, 0x38
pop rdi
pop rsi
ret
int3
mov rcx, rsi
xor edx, edx
call fcn.1400c2b80
jmp 0x1402ad2c3
Function at 0x1402b9ba0
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 [0x14044f038]
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.1402b9330
mov r14d, eax
test al, al
je 0x1402b9d62
test rbx, rbx
je 0x1402b9d62
mov ebp, 1
mov edx, dword [rsp + rbp*4 + 0x1c]
mov rcx, r15
call fcn.1402b9330
mov r14d, eax
test al, al
je 0x1402b9d62
lea rax, [rbp + 1]
cmp rbp, rbx
mov rbp, rax
jb 0x1402b9d43
test r14b, r14b
je 0x1402b9db1
test rbx, rbx
je 0x1402b9db1
xor ebp, ebp
xor r14d, r14d
mov rcx, r13
cmp qword [rdi], rbp
ja 0x1402b9d7b
xor ecx, ecx
mov r15, r12
cmp qword [rsi], rbp
ja 0x1402b9d86
xor r15d, r15d
mov rdx, qword [r15]
mov r8, qword [r15 + 8]
call fcn.1402b9070
test al, al
je 0x1402b9db1
mov rcx, r15
call fcn.1402b8aa0
inc rbp
add r12, 0x20
add r13, 0x20
mov r14b, 1
cmp rbp, rbx
jb 0x1402b9d6e
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14025a610
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 0x1402d5600
Capabilities:
Delete registry key

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14044f038]
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 0x1402d5667
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14025a610
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 0x1402d564d
mov ebx, 0x91
cmp dword [rsp + 0x6c], 0
jne 0x1402d564d
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 0x1402d564d

Function at 0x1402d56e0
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 0x1402d5710
Capabilities:
Query or enumerate registry value

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

Function at 0x1402d57b0
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 0x1402d6950
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 [0x14044f038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x1402d69c5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1402d69ca
mov dil, 1
test bl, bl
je 0x1402d69ae
cmp byte [rsi + 8], 0
je 0x1402d6a1e
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.14025a610
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
jmp 0x1402d697d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x1402d69f2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1402d69f7
xor edi, edi
jmp 0x1402d69ae
mov rcx, qword [rsi]
jmp 0x1402d69df
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x1402d6a23
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 0x1402d69ae
mov rcx, qword [rsi]
jmp 0x1402d69a3
mov rcx, qword [rsi]
jmp 0x1402d6a0e
Function at 0x1402d7900
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x14044f038]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x40]
mov qword [rbx + 0x40], rax
movaps xmm0, xmmword [0x1403db8a0]
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.140209ca0
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1401fe1a0
mov al, byte [rsi + 0x17]
test al, al
jns 0x1402d798c
cmp qword [rsi + 8], 0x103
ja 0x1402d79aa
test al, al
jns 0x1402d7993
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.1401fe3e0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14025a610
mov eax, edi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1402d8150
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 [0x14044f038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x40], r12
movaps xmm6, xmmword [0x1403db8a0]
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.140209ca0
xor ebp, ebp
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401fe1a0
mov rcx, rdi
call fcn.14020c710
test al, al
je 0x1402d8224
lea rcx, [rsp + 0x60]
call fcn.1401fe3e0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14025a610
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
mov rcx, rsi
call fcn.14020c710
test al, al
je 0x1402d8234
xor ebp, ebp
jmp 0x1402d81ee
cmp byte [rdi + 0x17], 0
jns 0x1402d8244
cmp qword [rdi + 8], 0x103
ja 0x1402d8230
cmp byte [rsi + 0x17], 0
jns 0x1402d8254
cmp qword [rsi + 8], 0x103
ja 0x1402d8230
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.140209ca0
lea r8, [0x140466cdc]
mov rcx, r14
mov rdx, r15
call fcn.14014cc90
cmp byte [rsi + 0x17], 0
jns 0x1402d829d
mov rsi, qword [rsi]
movzx r8d, bl
cmp byte [rdi + 0x17], 0
jns 0x1402d82aa
mov rdi, qword [rdi]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1402d82e6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bpl
je 0x1402d82e8
mov ecx, eax
and ecx, 1
je 0x1402d82e8
and eax, 0xfffffffe
mov rcx, rsi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bpl, 1
jmp 0x1402d82e8
xor ebp, ebp
lea rcx, [rsp + 0x40]
call fcn.14014cfa0
jmp 0x1402d81ee
Function at 0x1402d8920
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 [0x14044f038]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x40]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x1403db8a0]
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, 0x4ba
call fcn.140209ca0
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401fe1a0
mov al, byte [rdi + 0x17]
test al, al
jns 0x1402d83c2
cmp qword [rdi + 8], 0x103
jbe 0x1402d83c2
lea rcx, [rsp + 0x40]
call fcn.1401fe3e0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14025a610
mov eax, ebx
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov cl, byte [rsi + 0x17]
test cl, cl
jns 0x1402d83d7
cmp qword [rsi + 8], 0x103
jbe 0x1402d83d7
xor ebx, ebx
jmp 0x1402d8396
mov rdx, rsi
test cl, cl
jns 0x1402d83e1
mov rdx, qword [rsi]
mov rcx, rdi
test al, al
jns 0x1402d83eb
mov rcx, qword [rdi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bl, 1
test eax, eax
jne 0x1402d8396
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, rdi
call fcn.140102760
test al, al
jne 0x1402d841b
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1402d83d3
mov rcx, rdi
mov rdx, rsi
call fcn.1402d8430
test al, al
jne 0x1402d8396
jmp 0x1402d8411
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.14020c710
test al, al
jne 0x1402d8941
mov rcx, rsi
call fcn.14020c710
test al, al
je 0x1402d894a
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 0x1402d8300
Function at 0x1402d9410
Capabilities:
Access the windows event log

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x858
mov rsi, rcx
mov rax, qword [0x14044f038]
xor rax, rsp
mov qword [rsp + 0x850], rax
cmp byte [0x140453228], 0
je 0x1402d95ea
mov rdx, qword [0x140466d20]
test rdx, rdx
je 0x1402d95ea
cmp byte [rdx + 0x17], 0
jns 0x1402d945b
mov rdx, qword [rdx]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
test rax, rax
je 0x1402d9614
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140209cc0
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 [0x1403db8a0]
movaps xmmword [r14], xmm0
mov rdx, r14
call fcn.1401d3d90
mov eax, dword [rsi + 8]
test eax, eax
je 0x1402d9527
cmp eax, 1
je 0x1402d952d
mov bx, 1
add eax, 0xfffffffe
cmp eax, 2
jae 0x1402d9531
lea r12, [rsp + 0x78]
mov r8d, 0x7d8
mov rcx, r12
mov dl, 0xaa
call fcn.14025c760
mov rcx, r12
call fcn.14015f810
lea r15, [rsp + 0x48]
mov rcx, r12
mov rdx, r15
call fcn.140343c30
movzx r8d, byte [r15 + 0x17]
test r8b, r8b
jns 0x1402d9507
mov r8, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.1401f21a0
cmp byte [rsp + 0x5f], 0
jns 0x1402d9531
mov rcx, qword [rsp + 0x48]
call fcn.140258e54
jmp 0x1402d9531
mov bx, 4
jmp 0x1402d9531
mov bx, 2
cmp byte [rsp + 0x77], 0
jns 0x1402d953d
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x48], 0
mov rcx, qword [0x140466d30]
cmp byte [rcx + 0x17], 0
jns 0x1402d955b
mov rcx, qword [rcx]
lea rdx, [rsp + 0x48]
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
je 0x1402d962c
mov rax, qword [rsp + 0x48]
mov r9d, dword [0x140466d2c]
movzx r8d, word [0x140466d28]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x38], rcx
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, ebx
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
test eax, eax
je 0x1402d9647
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1402d95cb
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [rsp + 0x77], 0
jns 0x1402d95dc
mov rcx, qword [rsp + 0x60]
call fcn.140258e54
call fcn.140209cc0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rsi
call fcn.140111310
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.14025a610
nop
add rsp, 0x858
pop rbx
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.14029aae0
jmp 0x1402d95ea
lea rcx, [rsi + 0x10]
lea rdx, str.___ERROR_GETTING_USER_SID__
mov r8d, 0x1b
call fcn.14029aae0
jmp 0x1402d956d
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.14029aae0
jmp 0x1402d95bb