joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14023e030
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x1403b6978], 0
je 0x14023e076
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1401d1390
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x1403b6958]
test rdi, rdi
je 0x14023e117
test byte [0x1403af328], 1
je 0x14023e059
cmp byte [rdi + 0x17], 0
jns 0x14023e098
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 [0x1403b6978], rax
inc rax
cmp rax, 1
ja 0x14023e059
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1401d34c0
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x14023e1d8
xor esi, esi
jmp 0x14023e059
mov ecx, 0x18
call fcn.1401cfd80
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1401d34c0
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x14033b990]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1400573a0
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x14023e17b
mov r8, qword [rdi + 8]
mov rcx, rdi
mov dx, 0x5c
call fcn.14017b330
cmp rax, 0xffffffffffffffff
je 0x14023e1bd
movzx ecx, byte [rdi + 0x17]
mov rdx, rcx
test cl, cl
jns 0x14023e19c
mov rdx, qword [rdi + 8]
cmp rdx, rax
jbe 0x14023e2a6
mov rdx, rax
inc rdx
test cl, cl
js 0x14023e287
mov word [rdi + rax*2 + 2], 0
mov byte [rdi + 0x17], dl
lea rdx, str.debug.log
mov rcx, rdi
call fcn.140064330
mov qword [0x1403b6958], rdi
jmp 0x14023e086
mov rcx, qword [0x1403b6958]
lea rdx, [rsp + 0x40]
call fcn.140063c90
mov rcx, qword [0x1403b6958]
movzx eax, byte [rcx + 0x17]
test al, al
js 0x14023e29a
mov rdx, rcx
cmp word [rdx + rax*2 - 2], 0x5c
je 0x14023e21a
lea rdx, [0x14033c8d0]
call fcn.140064330
mov rcx, qword [0x1403b6958]
lea rdx, str.debug.log
call fcn.140064330
mov rcx, qword [0x1403b6958]
cmp byte [rcx + 0x17], 0
jns 0x14023e236
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 [0x1403b6978], rax
inc rax
cmp rax, 1
ja 0x14023e059
mov qword [0x1403b6978], 0
jmp 0x14023e110
mov rcx, qword [rdi]
mov word [rcx + rax*2 + 2], 0
mov qword [rdi + 8], rdx
jmp 0x14023e1bd
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
jmp 0x14023e1ff
mov rcx, rdi
call fcn.14023abe0
int3
Function at 0x140241f40
Capabilities:
Access the windows event log
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x858
mov rsi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x850], rax
cmp byte [0x1403af360], 0
je 0x14024211c
mov rdx, qword [0x1403b6ac0]
test rdx, rdx
je 0x14024211c
cmp byte [rdx + 0x17], 0
jns 0x140241f8a
mov rdx, qword [rdx]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
test rax, rax
je 0x140242145
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14017e5d0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 0x18]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x60]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x14033b990]
movaps xmmword [rbx], xmm0
mov rdx, rbx
call fcn.14003b290
mov eax, dword [rsi + 8]
mov r14w, 1
lea ecx, [rax - 2]
cmp ecx, 2
jb 0x140241ffc
cmp eax, 1
je 0x14024205d
test eax, eax
jne 0x140242062
mov r14w, 4
jmp 0x140242062
lea rdi, [rsp + 0x78]
mov r8d, 0x7d8
mov rcx, rdi
mov dl, 0xaa
call fcn.1401d34c0
mov rcx, rdi
call fcn.1400ee8f0
lea rbp, [rsp + 0x48]
mov rcx, rdi
mov rdx, rbp
call fcn.1402ab670
movzx r8d, byte [rbp + 0x17]
test r8b, r8b
jns 0x14024203d
mov r8, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov rdx, rbp
call fcn.14017a290
cmp byte [rsp + 0x5f], 0
jns 0x140242062
mov rcx, qword [rsp + 0x48]
call fcn.1401cfdbc
jmp 0x140242062
mov r14w, 2
cmp byte [rsp + 0x77], 0
jns 0x14024206e
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x48], 0
mov rcx, qword [0x1403b6ad0]
cmp byte [rcx + 0x17], 0
jns 0x14024208c
mov rcx, qword [rcx]
lea rdx, [rsp + 0x48]
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
je 0x14024215d
mov rax, qword [rsp + 0x48]
mov r9d, dword [0x1403b6acc]
movzx r8d, word [0x1403b6ac8]
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, r15
mov edx, r14d
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
test eax, eax
je 0x140242178
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1402420fd
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [rsp + 0x77], 0
jns 0x14024210e
mov rcx, qword [rsp + 0x60]
call fcn.1401cfdbc
call fcn.14017e5d0
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rsi
call fcn.14007d550
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1401d1390
nop
add rsp, 0x858
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.14020f8f0
jmp 0x14024211c
lea rcx, [rsi + 0x10]
lea rdx, str.___ERROR_GETTING_USER_SID__
mov r8d, 0x1b
call fcn.14020f8f0
jmp 0x14024209e
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.14020f8f0
jmp 0x1402420ed
Function at 0x140243830
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x40]
mov qword [rbx + 0x50], rax
movaps xmm0, xmmword [0x14033b990]
movaps xmmword [rbx + 0x40], xmm0
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, 0x16e
call fcn.14017e5b0
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140186270
mov al, byte [rsi + 0x17]
test al, al
jns 0x1402438c0
cmp qword [rsi + 8], 0x103
ja 0x1402438de
test al, al
jns 0x1402438c7
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.1401862d0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401d1390
mov eax, edi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140244190
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, 0xd0
movaps xmmword [rsp + 0xc0], xmm6
mov r14d, r8d
mov r15, rdx
mov rdi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x60]
mov qword [rbx + 0x50], r12
movaps xmm6, xmmword [0x14033b990]
movaps xmmword [rbx + 0x40], xmm6
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.DoCopyFile
lea r8, str..._.._base_files_file_util_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r9d, 0x7b
call fcn.14017e5b0
xor ebp, ebp
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
call fcn.140186270
mov rcx, rdi
call fcn.14017de90
test al, al
je 0x140244264
lea rcx, [rsp + 0x60]
call fcn.1401862d0
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1401d1390
mov eax, ebp
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, r15
call fcn.14017de90
test al, al
je 0x140244274
xor ebp, ebp
jmp 0x14024422e
cmp byte [rdi + 0x17], 0
jns 0x140244284
cmp qword [rdi + 8], 0x103
ja 0x140244270
cmp byte [r15 + 0x17], 0
jns 0x140244295
cmp qword [r15 + 8], 0x103
ja 0x140244270
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x10], r12
movaps xmmword [rsi], xmm6
lea rdx, str.DoCopyFile
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x88
call fcn.14017e5b0
lea r8, [0x1403b6b04]
mov rcx, rsi
mov rdx, rbx
call fcn.1400f1ed0
cmp byte [r15 + 0x17], 0
jns 0x1402442de
mov r15, qword [r15]
movzx r8d, r14b
cmp byte [rdi + 0x17], 0
jns 0x1402442eb
mov rdi, qword [rdi]
mov rcx, rdi
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140244336
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
je 0x140244320
mov eax, edi
and eax, 1
je 0x140244320
mov edx, edi
and edx, 0xfffffffe
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp edi, 0xffffffff
setne bpl
lea rcx, [rsp + 0x40]
call fcn.1400f2000
jmp 0x14024422e
xor ebp, ebp
jmp 0x140244327
Function at 0x140244cc0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x140244d3f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x140244d44
test bl, bl
je 0x140244d1b
cmp byte [rdi + 8], 0
je 0x140244da0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov edx, esi
call fcn.1400897e0
mov sil, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401d1390
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rdi]
jmp 0x140244ced
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rdi + 8], 0
je 0x140244d6c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140244d71
xor esi, esi
jmp 0x140244d28
mov rcx, qword [rdi]
jmp 0x140244d59
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rdi + 8], 0
je 0x140244da8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x140244d1b
mov esi, dword [rsp + 0x24]
jmp 0x140244d1b
mov rcx, qword [rdi]
jmp 0x140244d10
mov rcx, qword [rdi]
jmp 0x140244d88

Function at 0x1402459e0
Capabilities:
Delete registry key

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x70]
mov qword [rax], 0
mov r9d, 0x20019
or r9d, dword [rcx + 8]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x140245a46
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401d1390
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 0x140245a2c
mov ebx, 0x91
cmp dword [rsp + 0x6c], 0
jne 0x140245a2c
mov r8d, dword [rdi + 8]
mov rcx, qword [rdi]
mov rdx, rsi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebx, eax
jmp 0x140245a2c

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

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, r8
mov rax, qword [0x1403a7038]
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 rdi, [rsp + 0x3c]
mov dword [rdi], 8
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x140245b5d
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401d1390
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 0x140245b47
cmp dword [rsp + 0x3c], 8
jne 0x140245b47
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
xor edi, edi
jmp 0x140245b47

Function at 0x140245b90
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 0x1402538d0
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
movabs rax, 0x4000000000
mov qword [rcx + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x40], xmm0
mov eax, 1
ret
Function at 0x1402684f0
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
mov rsi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x238], rax
lea rdi, [rsp + 0x30]
mov r8d, 0x200
mov rcx, rdi
mov dl, 0xaa
call fcn.1401d34c0
lea rbx, [rsp + 0x2c]
mov dword [rbx], 0x100
mov rcx, rdi
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
sete al
mov edx, dword [rbx]
test rdx, rdx
sete bl
or bl, al
jne 0x14026857b
mov rcx, rsi
call fcn.140063cc0
mov edx, 1
mov rcx, rsi
mov r8w, 0x2e
call fcn.1400641f0
mov r8d, dword [rsp + 0x2c]
dec r8d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14017ae20
xor bl, 1
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.1401d1390
mov eax, ebx
add rsp, 0x240
pop rbx
pop rdi
pop rsi
ret

Function at 0x14026ead0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
lea r9, [0x1403b95b0]
xor ecx, ecx
mov r8d, 0xedb88320
mov esi, ecx
shr esi, 1
mov edx, ecx
and edx, 1
neg edx
and edx, r8d
xor edx, esi
mov esi, edx
shr esi, 1
bt ecx, 1
mov eax, 0
sbb eax, eax
and eax, r8d
xor eax, esi
mov esi, eax
shr esi, 1
bt edx, 1
mov edx, 0
sbb edx, edx
and edx, r8d
xor edx, esi
mov esi, edx
shr esi, 1
bt eax, 1
mov eax, 0
sbb eax, eax
and eax, r8d
xor eax, esi
mov esi, eax
shr esi, 1
bt edx, 1
mov edx, 0
sbb edx, edx
and edx, r8d
xor edx, esi
mov esi, edx
shr esi, 1
bt eax, 1
mov eax, 0
sbb eax, eax
and eax, r8d
xor eax, esi
bt edx, 1
mov edx, 0
sbb edx, edx
and edx, r8d
mov esi, eax
shr esi, 2
shr edx, 1
xor edx, esi
bt eax, 1
mov eax, 0
sbb eax, eax
and eax, r8d
xor eax, edx
mov dword [r9], eax
inc rcx
add r9, 4
cmp rcx, 0x100
jne 0x14026eae4
mov eax, 0x100
lea rcx, [0x1403b95b0]
mov edx, dword [rcx + rax*4 - 0x400]
movzx esi, dl
shr edx, 8
xor edx, dword [rcx + rsi*4]
mov dword [rcx + rax*4], edx
inc rax
cmp rax, 0x800
jne 0x14026eba2
lea rax, [0x1402b97b0]
mov qword [0x1403bb5b0], rax
mov qword [0x1403b95a8], rax
lea rsi, [0x1402b9870]
mov qword [0x1403bb5b8], rsi
call fcn.1402b9990
test eax, eax
jne 0x14026ebf3
mov qword [0x1403b95a8], rsi
add rsp, 0x20
pop rsi
ret
Function at 0x140270dd0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x1403bb668]
test rax, rax
je 0x140270ed5
cmp eax, 2
jne 0x140270e4c
mov ecx, 2
call fcn.14017e5e0
test al, al
je 0x140270ea5
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x87
mov r9d, 2
call fcn.14007d0b0
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x140270f26
mov eax, 1
lock xadd qword [0x1403bb6a0], rax
test rax, rax
jle 0x140270e6c
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1403bb620], eax
mov qword [0x1403bb618], rsi
mov rcx, qword [0x1403b0b08]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.14017e5e0
test al, al
jne 0x140270ef4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401d1390
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x1403bb668]
test rax, rax
je 0x140270edc
jmp 0x140270dfe
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xb3
mov r9d, 2
call fcn.14007d0b0
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.14020f8f0
mov rcx, rsi
call fcn.14007d550
jmp 0x140270ea5

Function at 0x14029d360
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x268
mov r14, rdx
mov edi, ecx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rbx, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1401d34c0
mov word [rbx], 0
mov qword [rsp + 0x20], rbx
xor ecx, ecx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x14029d3ef
lea rsi, [rsp + 0x28]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.1401f8b34
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov rdx, rsi
call fcn.14017c930
mov rcx, r14
mov rdx, rbx
call fcn.14017ca80
mov rcx, rbx
call fcn.14017ca10
test edi, edi
setns bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401d1390
mov eax, ebx
add rsp, 0x268
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14029d920
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov rbp, qword [rcx + 0x58]
mov r15d, 1
cmp rdi, rbp
je 0x14029d9b8
mov r14, r8
mov rsi, rcx
lea rbx, [rsp + 0x20]
mov rcx, rdi
mov rdx, rbx
call fcn.14029eb30
test al, al
jne 0x14029d97c
add rdi, 0x70
cmp rdi, rbp
jne 0x14029d961
mov rdi, rbp
cmp rdi, qword [rsi + 0x58]
je 0x14029d9b8
cmp byte [rdi + 0x27], 0
jns 0x14029d98e
mov rcx, qword [rdi + 0x10]
jmp 0x14029d992
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov r15d, 1
cmovne r15d, ecx
test r15d, r15d
jne 0x14029d9b8
mov qword [r14], rdi
xor r15d, r15d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401d1390
mov eax, r15d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov rsi, qword [rcx + 0x58]
mov r12d, 1
cmp rdi, rsi
je 0x14029dbba
mov r14, r9
mov r15d, r8d
mov rbx, rcx
lea rbp, [rsp + 0x20]
mov rcx, rdi
mov rdx, rbp
call fcn.14029eb30
test al, al
jne 0x14029db91
add rdi, 0x70
cmp rdi, rsi
jne 0x14029db76
mov rdi, rsi
cmp rdi, qword [rbx + 0x58]
je 0x14029dbba
mov eax, dword [rdi + 0x68]
cmp eax, r15d
jne 0x14029dbab
cmp byte [rdi + 0x27], 0
jns 0x14029dbd9
mov rcx, qword [rdi + 0x10]
jmp 0x14029dbdd
xor ecx, ecx
cmp eax, 1
sete cl
lea r12d, [rcx + rcx*2]
inc r12d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401d1390
mov eax, r12d
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14029dbba
shr eax, 3
and eax, 2
mov r12d, eax
jne 0x14029dbba
mov byte [rbx + 0x48], 1
mov qword [r14], rdi
xor r12d, r12d
jmp 0x14029dbba
Function at 0x1402a0e10
Capabilities:
Create process on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rdi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x50]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x14033b990]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, [0x1403811d8]
lea r8, str..._.._base_win_shortcut.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x175
call fcn.14017e5b0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140186270
cmp byte [rdi + 0x17], 0
jns 0x1402a0e94
mov rdi, qword [rdi]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, str.taskbarpin
xor ecx, ecx
mov r8, rdi
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x21
setge bl
mov rcx, rsi
call fcn.1401862d0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1401d1390
mov eax, ebx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret

Function at 0x1402b4c30
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1402b4c6c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1402b4c76
add rdi, rbx
sub rsi, rbx
jne 0x1402b4c4a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1401e9f10
int3