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

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

Function at 0x140162c90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x458
mov rbx, r9
mov r14, r8
mov r15, rdx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov qword [rsp + 0x40], rcx
xor edi, edi
mov qword [rsp + 0x38], rdi
lea rsi, [rsp + 0x50]
mov r8d, 0x400
mov rcx, rsi
mov dl, 0xaa
call fcn.1401288f0
mov qword [rsi - 8], rdi
mov rcx, r15
xor edx, edx
mov r8d, 0x60
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
jne 0x140162d16
mov rcx, r15
xor edx, edx
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x140162dc1
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140162d8d
mov rbx, rax
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140162d8d
mov r14, rax
mov rcx, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, 0x8007000e
cmp eax, 0xffffffff
jne 0x140162da2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x48]
cmp rdi, rsi
jne 0x140162d96
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140125960
mov eax, ebx
add rsp, 0x458
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140162a00
mov ebx, eax
jmp 0x140162d57
lea rcx, [rsp + 0x48]
call fcn.1401634f0
jmp 0x140162d6a
mov r15d, eax
lea edx, [r15 + 1]
lea r12, [rsp + 0x48]
mov rcx, r12
call fcn.140162e20
mov rax, qword [r12]
test rax, rax
je 0x140162d57
jmp 0x140162dcc
xor edi, edi
call fcn.140162a00
mov ebx, eax
jmp 0x140162d65
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov ecx, 3
xor edx, edx
mov r8, r14
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x140162d8d
mov r8d, dword [rsp + 0x4b0]
mov rcx, qword [rsp + 0x48]
mov eax, eax
mov word [rcx + rax*2], 0
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.140162e60
jmp 0x140162d92

Function at 0x14017b6a0
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 0x14017b6d0
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 0x14017c990
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 [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x14017ca01
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x14017ca0b
mov dil, 1
test bl, bl
je 0x14017c9ea
cmp byte [rsi + 8], 0
je 0x14017ca06
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.140125960
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
jmp 0x14017c9bd
mov rcx, qword [rsi]
jmp 0x14017c9df
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x14017ca33
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14017ca38
xor edi, edi
jmp 0x14017c9ea
mov rcx, qword [rsi]
jmp 0x14017ca20
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x14017ca5f
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 0x14017c9ea
mov rcx, qword [rsi]
jmp 0x14017ca4f

Function at 0x14017cb40
Capabilities:
Enumerate processes

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
lea rsi, [rcx + 0x18]
mov r8d, 0x238
mov rcx, rsi
xor edx, edx
call fcn.1401288f0
mov dword [rdi + 0x18], 0x238
cmp byte [rdi + 0x10], 0
je 0x14017cb82
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
mov byte [rdi + 0x10], 1
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x14017cb76
Function at 0x14017cbd0
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 [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x40], 0xa
mov rax, qword [0x1401c64e8]
mov al, byte [rax + 0xa]
test al, al
jne 0x14017ce7d
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x120], r13
movaps xmm6, xmmword [0x1401af9e0]
movaps xmmword [rsp + 0x110], xmm6
lea r15, [rsp + 0x80]
mov rcx, r14
mov rdx, r15
call fcn.140096660
cmp byte [r15 + 0x17], 0
js 0x14017cd01
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.1400ee050
lea r15, [rsp + 0xf0]
mov qword [r15 + 0x10], r13
movaps xmmword [r15], xmm6
mov rcx, r14
mov rdx, r15
call fcn.140183a60
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 0x14017cd23
lea rax, [rsp + 0x110]
jmp 0x14017cd2b
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
lea rcx, [rsp + 0x110]
call fcn.1400d91e0
jmp 0x14017cc82
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x98], rax
cmp byte [rsp + 0x107], 0
jns 0x14017cd45
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 0x14017cddb
test bl, bl
je 0x14017cdd3
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, 0xa5
call fcn.1400ed530
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400e1a50
mov rcx, qword [rsp + 0xe8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call fcn.1400e1ad0
mov r14, qword [rsp + 0xe8]
mov rcx, rsi
mov rdx, r14
call fcn.14007f5b0
cmp byte [rsp + 0x107], 0
jns 0x14017cdfd
mov rcx, qword [rsp + 0xf0]
call fcn.140124dec
cmp byte [rsp + 0x127], 0
jns 0x14017ce14
mov rcx, qword [rsp + 0x110]
call fcn.140124dec
mov qword [rsp + 0x40], 0xa
mov rax, qword [0x1401c64e8]
mov al, byte [rax + 0xa]
test al, al
jne 0x14017ce59
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.140125960
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.1400d4530
jmp 0x14017ce2b
movzx ecx, al
lea rax, str.LaunchElevatedProcess
lea r8, [rsp + 0x80]
mov qword [r8], rax
lea rdx, [rsp + 0x40]
mov r9d, 1
call fcn.1400d3900
jmp 0x14017cc23
Function at 0x14017ded0
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x1401af9e0]
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.1400ed530
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400e1a50
mov al, byte [rsi + 0x17]
test al, al
jns 0x14017df4e
cmp qword [rsi + 8], 0x103
ja 0x14017df6c
test al, al
jns 0x14017df55
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.1400e1ad0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140125960
mov eax, edi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14017e760
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 [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm6, xmmword [0x1401af9e0]
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.1400ed530
xor ebp, ebp
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400e1a50
mov rcx, rdi
call fcn.1400f03e0
test al, al
jne 0x14017e80c
mov rcx, rsi
call fcn.1400f03e0
test al, al
jne 0x14017e80a
cmp byte [rdi + 0x17], 0
jns 0x14017e84e
cmp qword [rdi + 8], 0x103
jbe 0x14017e84e
xor ebp, ebp
lea rcx, [rsp + 0x50]
call fcn.1400e1ad0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140125960
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.14009abe0
jmp 0x14017e80c
cmp byte [rsi + 0x17], 0
jns 0x14017e85e
cmp qword [rsi + 8], 0x103
ja 0x14017e80a
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, reloc.OLEAUT32.dll_SysAllocStringByteLen
call fcn.1400ed530
lea r8, [0x1401f4878]
mov rcx, r14
mov rdx, r15
call fcn.14009aab0
cmp byte [rsi + 0x17], 0
jns 0x14017e8a3
mov rsi, qword [rsi]
movzx r8d, bl
cmp byte [rdi + 0x17], 0
jns 0x14017e8b0
mov rdi, qword [rdi]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14017e840
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bpl
je 0x14017e842
mov ecx, eax
and ecx, 1
je 0x14017e842
and eax, 0xfffffffe
mov rcx, rsi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bpl, 1
jmp 0x14017e842
Function at 0x14017e900
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 [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x1401af9e0]
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, 0x4c9
call fcn.1400ed530
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400e1a50
mov al, byte [rdi + 0x17]
test al, al
jns 0x14017e988
cmp qword [rdi + 8], 0x103
ja 0x14017e99b
mov cl, byte [rsi + 0x17]
test cl, cl
jns 0x14017e9c7
cmp qword [rsi + 8], 0x103
jbe 0x14017e9c7
xor ebx, ebx
lea rcx, [rsp + 0x40]
call fcn.1400e1ad0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140125960
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 0x14017e9d1
mov rdx, qword [rsi]
mov rcx, rdi
test al, al
jns 0x14017e9db
mov rcx, qword [rdi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bl, 1
test eax, eax
jne 0x14017e99b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, rdi
call fcn.140082350
test al, al
jne 0x14017ea0b
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14017e999
mov rcx, rdi
mov rdx, rsi
call fcn.14017ea20
test al, al
jne 0x14017e99b
jmp 0x14017ea01

Function at 0x14017ee30
Capabilities:
Move file

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.1400f03e0
test al, al
jne 0x14017ee51
mov rcx, rsi
call fcn.1400f03e0
test al, al
je 0x14017ee5a
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 fcn.14017e900
Function at 0x1401816f0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x1401f4a20], 0
je 0x140181736
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140125960
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x1401f49f8]
test rdi, rdi
je 0x1401817d7
test byte [0x1401e1738], 1
je 0x140181719
cmp byte [rdi + 0x17], 0
jns 0x140181758
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 [0x1401f4a20], rax
inc rax
cmp rax, 1
ja 0x140181719
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1401288f0
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x140181899
xor esi, esi
jmp 0x140181719
mov ecx, SafeArrayCopy
call fcn.140124db0
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1401288f0
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1401af9e0]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.14015f530
movzx eax, byte [rdi + 0x17]
mov rcx, rdi
test al, al
jns 0x14018183f
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
jne 0x140181865
lea rdx, [0x1401c94b8]
mov r8d, 9
mov rcx, rdi
call fcn.1400d93b0
mov qword [0x1401f49f8], rdi
jmp 0x140181746
add rax, rax
test rax, rax
je 0x140181844
lea rdx, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, rdx
jne 0x140181868
cmp rdx, 0xfffffffffffffffe
je 0x140181844
sar rdx, 1
inc rdx
mov rcx, rdi
mov r8, 0xffffffffffffffff
call fcn.1400d63c0
jmp 0x140181844
mov rcx, qword [0x1401f49f8]
lea rdx, [rsp + 0x40]
call fcn.1400780e0
mov rcx, qword [0x1401f49f8]
call fcn.140178630
cmp word [rax], 0x5c
je 0x1401818d5
mov rcx, qword [0x1401f49f8]
lea rdx, [0x1401bb0fa]
mov r8d, 1
call fcn.1400d93b0
mov rcx, qword [0x1401f49f8]
lea rdx, [0x1401c94b8]
mov r8d, 9
call fcn.1400d93b0
mov rcx, qword [0x1401f49f8]
cmp byte [rcx + 0x17], 0
jns 0x1401818fe
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 [0x1401f4a20], rax
inc rax
cmp rax, 1
ja 0x140181719
mov qword [0x1401f4a20], 0
jmp 0x1401817d0
Function at 0x1401851f0
Capabilities:
Create process on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x1401af9e0]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.PinShortcutToTaskbar
lea r8, str.....operadesktopchrome_importschromeinstallerutil_taskbar_util.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x7e
call fcn.1400ed530
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400e1a50
call fcn.14007a040
cmp eax, 0xd
jl 0x1401852f6
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi], rax
mov rcx, rdi
call fcn.140099fa0
cmp qword [rdi], 0
je 0x1401852f2
cmp byte [rsi + 0x17], 0
jns 0x140185290
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov rdi, rax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
xor edx, edx
mov r8, rdi
mov r9d, 4
call qword [0x1401d0260]
test eax, eax
setns sil
test rdi, rdi
je 0x1401852d0
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_ILFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14018532d
mov qword [rsp + 0x30], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1401d0260]
jmp 0x14018532d
xor esi, esi
jmp 0x14018532d
cmp byte [rsi + 0x17], 0
jns 0x1401852ff
mov rsi, qword [rsi]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, str.taskbarpin
xor ecx, ecx
mov r8, rsi
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x21
setge sil
lea rcx, [rsp + 0x50]
call fcn.1400e1ad0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140125960
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
Function at 0x14018a2d0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x14018a316
mov r14, r12
test r14, r14
je 0x14018a42b
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r15
jbe 0x14018a378
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x14018a364
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.140128240
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
jmp 0x14018a2f2
mov rax, r12
sub rax, r15
sar rax, 2
cmp r12, r15
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x14018a43e
lea rcx, [r13*8]
call fcn.140124db0
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, r12
mov r14, rcx
sub rdx, rbx
je 0x14018a3de
lea r14, [rdx + rcx]
xor r8d, r8d
mov r9, rcx
add r9, r8
je 0x14018a42b
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x14018a3c6
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rdx
cmp r12, rbx
je 0x14018a3fe
add r12, 0xfffffffffffffff8
jne 0x14018a3f1
jmp 0x14018a418
test r15, r15
je 0x14018a2f2
mov rcx, r15
call fcn.140124dec
mov r14, qword [rsi + 0x10]
jmp 0x14018a2f2
lea rcx, [0x1401b4107]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.140160550
lea rcx, [0x1401b4107]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.140160550
call fcn.14015f670
int3
Function at 0x14019d530
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rdx, rdx
je 0x14019d543
cmp dword [0x1401fab88], ecx
jle 0x14019d54a
add rsp, 0x28
pop rdi
pop rsi
ret
mov rsi, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rdi, eax
mov rcx, rsi
mov rdx, rdi
call fcn.14019d590
test edi, edi
je 0x14019d543
cmp byte [rsi + rdi - 1], 0xa
je 0x14019d543
lea rcx, [0x1401b5057]
mov edx, 1
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14019d590

Function at 0x14019d590
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
lea r14, [rsp + 0x34]
mov r15, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, rsi
jae 0x14019d607
mov dword [rsp + 0x34], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r15
mov ecx, dword [rsp + 0x34]
test eax, eax
cmovne eax, ecx
je 0x14019d607
add rdi, rax
test ecx, ecx
jne 0x14019d5cd
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140125960
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400110fa
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001d920
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400360f4]
call fcn.14001196f
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001d977
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14001da83
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14001da1c
cmp qword [rbp + 0x28], 0
jle 0x14001da1c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001d9bc
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1400118d9
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14001da72
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001da72
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x140011537
Capabilities:
Terminate process

Disassembly:
jmp 0x140020670
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret