joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140062320
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x1401e3a38]
xor rax, rsp
mov qword [rsp + 0x80], rax
call fcn.1400624b0
lea r8, str.SYSTEMCurrentControlSetControlSession_Manager
lea rdi, [rsp + 0x68]
mov rcx, rdi
mov rdx, 0xffffffff80000002
mov r9d, 1
call fcn.1400594f0
mov rbx, qword [rdi]
test rbx, rbx
je 0x140062431
lea r14, [rsp + 0x64]
mov dword [r14], 0
xorps xmm0, xmm0
lea rdi, [rsp + 0x40]
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov edx, 1
mov rcx, rdi
mov r8, rdi
call fcn.140014580
mov rax, qword [rdi]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea rdx, str.PendingFileRenameOperations
lea r9, [rsp + 0x3c]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x140062438
cmp eax, 0xea
jne 0x140062421
mov edi, 0x8000ffff
cmp dword [rsp + 0x3c], 7
jne 0x14006243d
mov edx, dword [rsp + 0x64]
test dl, 1
jne 0x14006243d
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r8, rdi
call fcn.140014580
mov rax, qword [rdi]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea rdx, str.PendingFileRenameOperations
lea r9, [rsp + 0x3c]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140062492
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14006243d
mov edi, 0x80070002
jmp 0x140062469
mov edi, 0x80070002
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140062469
lea rsi, [rsp + 0x40]
mov r8, qword [rsi + 0x10]
sub r8, rdx
mov rcx, rsi
call fcn.140006a00
xorps xmm0, xmm0
movaps xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
lea rcx, [rsp + 0x68]
call fcn.140059730
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14014b5e0
mov eax, edi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
mov r8, rsi
call fcn.140061fa0
mov edi, eax
jmp 0x14006243d
Function at 0x140065e60
Capabilities:
Delete directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov rax, qword [0x1401e3a38]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp qword [rcx + 0x30], 0
je 0x140065ebb
mov rsi, rcx
lea r12, [rcx + 0x20]
lea rbx, [rsp + 0x140]
mov rcx, r12
mov rdx, rbx
call fcn.1400332a0
mov rcx, r12
mov dl, 1
call fcn.140037be0
test al, al
je 0x140065f09
xor ebp, ebp
jmp 0x140065f88
mov ecx, 2
call fcn.14003be50
test al, al
je 0x140065f02
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x48
mov r9d, 2
call fcn.14003bf00
lea rcx, [rsp + 0x30]
lea rdx, str.Attempting_to_Delete_an_uninitialized_SelfCleaningTempDir.
call fcn.140002b70
mov rcx, rsi
call fcn.14003c3a0
xor esi, esi
jmp 0x1400660c9
mov ecx, 1
call fcn.14003be50
test al, al
je 0x140065f75
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x54
mov r9d, 1
call fcn.14003bf00
lea rcx, [rsp + 0x30]
lea rdx, str.Failed_to_delete_temporary_directory
call fcn.140002b70
cmp qword [rsi + 0x38], 7
mov rdx, r12
jbe 0x140065f56
mov rdx, qword [rsi + 0x20]
mov rcx, rax
call fcn.14003cf40
lea rdx, str.._Scheduling_for_deletion_at_reboot.
mov rcx, rax
call fcn.140002b70
mov rcx, rdi
call fcn.14003c3a0
mov rcx, r12
call fcn.140061b20
mov bpl, 1
test al, al
je 0x1400660ba
cmp qword [rsi + 0x10], 0
je 0x140066081
mov r14, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov r15, qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdi, [rsp + 0x28]
lea r13, str.Error_removing_directory
jmp 0x140065fcd
mov rcx, rbx
mov rdx, rdi
call fcn.1400332a0
mov rcx, rbx
mov rdx, rdi
call fcn.140032540
mov rcx, rdi
call fcn.140032460
test bpl, 1
jne 0x140066066
cmp qword [rsp + 0x158], 7
mov rcx, rbx
jbe 0x140065fed
mov rcx, qword [rsp + 0x140]
call r14
test eax, eax
jne 0x14006606e
mov ecx, 1
call fcn.14003be50
mov bpl, 1
test al, al
je 0x140066066
call r15
cmp eax, 0x91
je 0x140066066
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
mov r8d, 0x61
mov r9d, 1
call fcn.14003cd30
lea rcx, [rsp + 0x38]
mov rdx, r13
call fcn.140002b70
cmp qword [rsp + 0x158], 7
mov rdx, rbx
jbe 0x140066056
mov rdx, qword [rsp + 0x140]
mov rcx, rax
call fcn.14003cf40
mov rcx, rdi
call fcn.14003ce70
mov rcx, rbx
call fcn.140061940
mov rcx, rbx
mov rdx, rsi
call fcn.1400325e0
test al, al
je 0x140065faf
cmp qword [rsi + 0x18], 8
mov rax, rsi
jb 0x14006608e
mov rax, qword [rsi]
mov qword [rsi + 0x10], 0
mov word [rax], 0
cmp qword [rsi + 0x38], 8
jb 0x1400660a6
mov r12, qword [r12]
mov qword [rsi + 0x30], 0
mov word [r12], 0
mov sil, 1
jmp 0x1400660bc
xor esi, esi
lea rcx, [rsp + 0x140]
call fcn.140032460
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14014b5e0
mov eax, esi
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140067700
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
sub rsp, 0x238
mov rsi, rcx
mov rax, qword [0x1401e3a38]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [rsp + 0x2c]
mov dword [rdx], 0x100
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor edi, edi
test eax, eax
je 0x140067774
mov edx, dword [rsp + 0x2c]
test edx, edx
je 0x140067774
mov rcx, rsi
call fcn.140009eb0
mov edx, 1
mov rcx, rsi
mov r8w, 0x2e
call fcn.140015920
mov r8d, dword [rsp + 0x2c]
dec r8d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14000a050
mov dil, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14014b5e0
mov eax, edi
add rsp, 0x238
pop rdi
pop rsi
ret
Function at 0x140073e50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
movdqa xmmword [rsp + 0x80], xmm7
movdqa xmmword [rsp + 0x70], xmm6
mov r14, rcx
mov rax, qword [0x1401e3a38]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov ecx, edx
call fcn.140074020
mov ebx, eax
mov rcx, qword [0x1401e8278]
test rcx, rcx
je 0x140073ea5
mov rax, qword [rcx]
mov rdx, r14
mov r8d, ebx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140073fed
mov eax, 7
movq xmm6, rax
pslldq xmm6, 8
movdqu xmmword [rsp + 0x50], xmm6
mov word [rsp + 0x40], 0
call fcn.140074090
add ebx, dword [rax + 0x40]
mov r15, qword [0x1401ec7c8]
mov eax, ebx
shr eax, 4
inc eax
movzx edx, ax
mov r8d, 6
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140073fc9
mov rsi, rax
mov rcx, r15
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140073fc9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140073fc9
mov rdi, rax
mov rcx, r15
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setne cl
and ebx, 0xf
je 0x140073f64
test eax, eax
je 0x140073f64
mov ecx, eax
mov rax, rdi
add rax, rcx
mov edx, 1
sub edx, ebx
movzx ecx, word [rdi]
lea rdi, [rdi + rcx*2]
add rdi, 2
cmp rdi, rax
setb cl
test edx, edx
je 0x140073f64
inc edx
cmp rdi, rax
jb 0x140073f48
test cl, cl
je 0x140073fc9
movzx r8d, word [rdi]
test r8, r8
je 0x140073fc9
add rdi, 2
mov eax, 7
movq xmm7, rax
pslldq xmm7, 8
lea rsi, [rsp + 0x20]
movdqu xmmword [rsi + 0x10], xmm7
xor ebx, ebx
mov word [rsi], bx
mov rcx, rsi
mov rdx, rdi
call fcn.1400060b0
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.140006b40
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
movdqu xmmword [rsi + 0x10], xmm7
mov word [rsi], bx
mov rcx, rsi
call fcn.140006b40
lea rcx, [rsp + 0x40]
movaps xmm0, xmmword [rcx]
movaps xmm1, xmmword [rcx + 0x10]
movups xmmword [r14 + 0x10], xmm1
movups xmmword [r14], xmm0
movdqa xmmword [rcx + 0x10], xmm6
mov word [rcx], 0
call fcn.140006b40
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14014b5e0
mov rax, r14
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400797f0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x138
mov rsi, rcx
mov rax, qword [0x1401e3a38]
xor rax, rsp
mov qword [rsp + 0x130], rax
mfence
mov rax, qword [0x1401e83a8]
test rax, rax
jne 0x14007983a
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mfence
mov rax, qword [0x1401e83a8]
test rax, rax
je 0x140079824
cmp eax, 2
jne 0x140079882
mov ecx, 2
call fcn.14003be50
test al, al
je 0x140079914
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0x83
mov r9d, 2
call fcn.14003bf00
lea rcx, [rsp + 0x28]
lea rdx, str.crash_server_failed_to_launch__self_terminating
jmp 0x140079907
mov eax, 1
lock xadd qword [0x1401e83e0], rax
test rax, rax
jle 0x1400798a2
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1401e8360], eax
mov qword [0x1401e8358], rsi
mov rcx, qword [0x1401e3a10]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.14003be50
test al, al
je 0x140079914
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0xaf
mov r9d, 2
call fcn.14003bf00
lea rcx, [rsp + 0x28]
lea rdx, str.crash_server_did_not_respond__self_terminating
call fcn.140002b70
mov rcx, rsi
call fcn.14003c3a0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14014b5e0
xor eax, eax
add rsp, 0x138
pop rdi
pop rsi
ret
Function at 0x14007a5a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
xor ecx, ecx
lea r8, [0x1401e8400]
mov edx, 8
mov eax, ecx
mov esi, eax
shr esi, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, esi
dec edx
jne 0x14007a5b5
mov dword [r8 + rcx*4], eax
inc rcx
cmp rcx, 0x100
jne 0x14007a5ae
mov eax, 0x100
mov ecx, dword [r8 + rax*4 - 0x400]
movzx edx, cl
shr ecx, 8
xor ecx, dword [r8 + rdx*4]
mov dword [r8 + rax*4], ecx
inc rax
cmp rax, 0x800
jne 0x14007a5de
lea rax, [0x1400c0680]
mov qword [0x1401e83f0], rax
mov qword [0x1401e83e8], rax
lea rsi, [0x1400c0750]
mov qword [0x1401e83f8], rsi
call fcn.1400c0880
test eax, eax
jne 0x14007a632
mov qword [0x1401e83e8], rsi
add rsp, 0x20
pop rsi
ret

Function at 0x14007a640
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r13, r8
mov r14, rdx
mov r15, rcx
mov rax, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0xf
mov rcx, r8
jbe 0x14007a66a
mov rcx, qword [r13]
movabs rdi, 0xcbf29ce484222325
test rax, rax
je 0x14007a69d
xor edx, edx
movabs rsi, 0x100000001b3
movzx ebx, byte [rcx + rdx]
xor rbx, rdi
imul rbx, rsi
inc rdx
mov rdi, rbx
cmp rax, rdx
jne 0x14007a685
jmp 0x14007a6a0
mov rbx, rdi
and rbx, qword [r15 + 0x30]
lea r12, [rbx + rbx]
mov rdi, qword [r15 + 8]
mov rax, qword [r15 + 0x18]
mov rcx, rbx
shl rcx, 4
mov rsi, qword [rax + rcx]
cmp rsi, rdi
je 0x14007a6f5
lea rcx, [r12*8]
or rcx, 8
mov rax, qword [rax + rcx]
mov rdi, qword [rax]
jmp 0x14007a6f5
mov rdi, qword [rdi + 8]
lea rdx, [rdi + 0x10]
mov rcx, r13
call fcn.140013460
test al, al
jne 0x14007a76d
mov rax, qword [r15 + 0x18]
mov rsi, qword [rax + r12*8]
cmp rsi, rdi
jne 0x14007a6d5
lea r12, [r15 + 8]
mov rax, qword [r12]
mov rdx, qword [rax]
mov rcx, r12
mov r8, r13
call fcn.1400141b0
mov rax, qword [r12]
mov r12, qword [rax]
mov rax, qword [r12]
cmp rax, rsi
je 0x14007a750
mov rcx, qword [r12 + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r12
mov rcx, qword [rsi + 8]
mov rdx, qword [rax + 8]
mov qword [rsi + 8], rdx
mov rdx, qword [r12 + 8]
mov qword [rax + 8], rdx
mov qword [r12 + 8], rcx
mov rcx, r15
mov rdx, r12
mov r8, rdi
mov r9, rbx
call fcn.140014240
mov rcx, r15
call fcn.1400142a0
mov al, 1
jmp 0x14007a772
xor eax, eax
mov r12, rdi
mov qword [r14], r12
mov byte [r14 + 8], al
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14007c890
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x270
mov rsi, rdx
mov edx, ecx
mov rax, qword [0x1401e3a38]
xor rax, rsp
mov qword [rsp + 0x268], rax
lea rbx, [rsp + 0x60]
mov word [rbx], 0
mov qword [rsp + 0x20], rbx
xor edi, edi
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14007c91f
mov qword [rsp + 0x30], rbx
cmp word [rsp + 0x60], 0
je 0x14007c8f1
xor eax, eax
cmp word [rsp + rax*2 + 0x62], 0
lea rax, [rax + 1]
jne 0x14007c8e3
jmp 0x14007c8f3
xor eax, eax
lea rdx, [rsp + 0x30]
mov qword [rdx + 8], rax
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.1400323b0
mov rcx, rsi
mov rdx, rdi
call fcn.140032540
mov rcx, rdi
call fcn.140032460
mov dil, 1
mov rcx, qword [rsp + 0x268]
xor rcx, rsp
call fcn.14014b5e0
mov eax, edi
add rsp, 0x270
pop rbx
pop rdi
pop rsi
ret

Function at 0x14007cbe0
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x1401e3a38]
xor rax, rsp
mov qword [rsp + 0x178], rax
cmp qword [rcx + 0x18], 7
jbe 0x14007cc09
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x14007ccf7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14007cc4b
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14014b5e0
mov rcx, rsi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
jmp fcn.14007cd20
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14007ccf5
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r8d, 0x239
mov r9d, 2
call fcn.14003cd30
lea rcx, [rsp + 0x50]
lea rdx, str.CreateDirectory
call fcn.140002b70
mov rbx, rax
cmp qword [rsi + 0x18], 7
mov rax, rsi
jbe 0x14007cca7
mov rax, qword [rsi]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x158]
mov rcx, rsi
call fcn.14004e5d0
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x14007ccdd
mov rdx, qword [rsp + 0x158]
mov rcx, rbx
call fcn.140009ce0
mov rcx, rsi
call fcn.140006b00
mov rcx, rdi
call fcn.14003ce70
xor edi, edi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14014b5e0
mov eax, edi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
Function at 0x14007cd20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rsi, rcx
mov rax, qword [0x1401e3a38]
xor rax, rsp
mov qword [rsp + 0x188], rax
cmp qword [rcx + 0x18], 7
jbe 0x14007cd49
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14007ce18
mov dil, 1
test al, 0x10
jne 0x14007cec4
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14007cec2
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov r8d, 0x227
mov r9d, 2
call fcn.14003bf00
lea rcx, [rsp + 0x58]
lea rdx, str.GetFileAttributes
call fcn.140002b70
mov rbx, rax
cmp qword [rsi + 0x18], 7
mov rax, rsi
jbe 0x14007cdb6
mov rax, qword [rsi]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x168]
mov rcx, rsi
call fcn.14004e5d0
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x14007cdec
mov rdx, qword [rsp + 0x168]
mov rcx, rbx
call fcn.140009ce0
lea rdx, str.:_not_a_directory
mov rcx, rax
call fcn.140002b70
mov rcx, rsi
call fcn.140006b00
mov rcx, rdi
call fcn.14003c3a0
jmp 0x14007cec2
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14007cec2
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov r8d, 0x223
mov r9d, 2
call fcn.14003cd30
lea rcx, [rsp + 0x60]
lea rdx, str.GetFileAttributes
call fcn.140002b70
mov rbx, rax
cmp qword [rsi + 0x18], 7
mov rax, rsi
jbe 0x14007ce74
mov rax, qword [rsi]
lea rdx, [rsp + 0x40]
mov qword [rdx], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x168]
mov rcx, rsi
call fcn.14004e5d0
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x14007ceaa
mov rdx, qword [rsp + 0x168]
mov rcx, rbx
call fcn.140009ce0
mov rcx, rsi
call fcn.140006b00
mov rcx, rdi
call fcn.14003ce70
xor edi, edi
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.14014b5e0
mov eax, edi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
ret
Function at 0x14007f350
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
mov eax, dword [rcx + 0x70]
cmp eax, edx
jne 0x14007f368
cmp qword [rcx + 0x28], 7
jbe 0x14007f378
mov rcx, qword [rcx + 0x10]
jmp 0x14007f37c
xor ecx, ecx
cmp eax, 1
sete cl
lea eax, [rcx + rcx*2]
add eax, 1
jmp 0x14007f395
add rcx, 0x10
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov eax, 1
cmovne eax, ecx
add rsp, 0x28
ret

Function at 0x1400804f0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x188
mov rax, qword [0x1401e3a38]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov eax, dword [0x1401ea708]
mov ecx, dword [0x1401ea448]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x18]
jg 0x140080550
lea rsi, [0x1401ea700]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14014b5e0
mov rax, rsi
add rsp, 0x188
pop rdi
pop rsi
ret
lea rcx, [0x1401ea708]
call fcn.14014b390
mov eax, dword [0x1401ea708]
cmp eax, 0xffffffff
jne 0x14008052c
lea rcx, [rsp + 0x64]
xor esi, esi
mov r8d, 0x118
xor edx, edx
call fcn.14016f6e0
mov dword [rsp + 0x60], 0x11c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov dword [rsp + 0x2c], 0
mov eax, dword [rsp + 0x64]
cmp eax, 0xa
je 0x1400805c1
cmp eax, 6
jne 0x1400805fc
lea rcx, [0x14019a0d0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetProductInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [rsp + 0x64]
mov edx, dword [rsp + 0x68]
lea rdi, [rsp + 0x2c]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call rax
mov esi, dword [rsp + 0x2c]
mov ecx, pe_nt_image_headers64
call fcn.14014b1a0
mov rdi, rax
lea rdx, [rsp + 0x60]
lea r8, [rsp + 0x30]
mov rcx, rax
mov r9d, esi
call fcn.140080660
mov qword [0x1401ea700], rdi
lea rcx, [0x1401ea708]
call fcn.14014b400
jmp 0x14008052c
Function at 0x140081020
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x80
mov r14, rdx
mov ebp, ecx
mov rax, qword [0x1401e3a38]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401aefe8]
lea r9, [0x1401a7710]
xor esi, esi
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140081178
mov qword [rsp + 0x68], 0
mov rdi, qword [rsp + 0x70]
lea rax, [0x1401a7720]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0xa
lea rbx, [rsp + 0x60]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400c5370
mov rdx, qword [rsp + 0x60]
mov rax, qword [rdi]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor esi, esi
mov rcx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [rax + 0x18]
mov edi, eax
mov rcx, rbx
call fcn.1400c53c0
test edi, edi
js 0x14008115a
test bpl, bpl
je 0x140081138
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor esi, esi
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x14008115a
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x68], 0
mov rcx, qword [r14]
mov qword [r14], rax
test rcx, rcx
je 0x140081175
mov rax, qword [rcx]
call qword [rax + 0x10]
mov sil, 1
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140081178
mov qword [rsp + 0x68], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140081178
mov sil, 1
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140081191
mov qword [rsp + 0x70], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14014b5e0
mov eax, esi
add rsp, 0x80
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x1400857e0
Capabilities:
Create process on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rdi, rcx
mov rax, qword [0x1401e3a38]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rsi, [rsp + 0x30]
mov rcx, rsi
xor edx, edx
call fcn.14004f370
cmp qword [rdi + 0x18], 7
jbe 0x140085812
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, 0x20
setg bl
mov rcx, rsi
call fcn.14004f470
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14014b5e0
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret

Function at 0x140085860
Capabilities:
Create process on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rdi, rcx
mov rax, qword [0x1401e3a38]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rsi, [rsp + 0x30]
mov rcx, rsi
xor edx, edx
call fcn.14004f370
cmp qword [rdi + 0x18], 7
jbe 0x140085892
mov rdi, qword [rdi]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, str.taskbarunpin
xor ecx, ecx
mov r8, rdi
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
setg bl
mov rcx, rsi
call fcn.14004f470
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14014b5e0
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400862e0
Capabilities:
Delete service

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rcx, qword [rdx]
test rcx, rcx
je 0x14008630f
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov dil, 1
test eax, eax
jne 0x140086311
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x430
sete dil
jmp 0x140086311
xor edi, edi
mov rcx, rsi
call fcn.140086c90
mov eax, edi
add rsp, 0x28
pop rdi
pop rsi
ret