joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400422c0
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
mov rcx, rdx
test r8b, r8b
je fcn.1400aa410
jmp fcn.1400aa6d0

Function at 0x1400422f0
Capabilities:
Move file

Disassembly:
mov rcx, rdx
mov rdx, r8
jmp fcn.1401ad600

Function at 0x140046b60
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
mov rsi, rcx
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0x238], rax
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0x101
lea rbx, [rsp + 0x30]
mov r8d, 0x202
mov rcx, rbx
mov dl, 0xaa
call fcn.14014fe30
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov edi, eax
test eax, eax
jne 0x140046bd3
test edi, edi
setne bl
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.14014ced0
mov eax, ebx
add rsp, 0x240
pop rbx
pop rdi
pop rsi
ret
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.140174394
mov rcx, rsi
mov rdx, rbx
mov r8, rax
call fcn.1400930f0
jmp 0x140046bb1

Function at 0x140046bf0
Capabilities:
Get session user name

Disassembly:
mov edx, 2
jmp 0x140046c00
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov edi, edx
mov rsi, rcx
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x34]
mov dword [r8], 0
mov ecx, edx
xor edx, edx
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x140046c45
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x140046c97
lea r14, [rsp + 0x34]
mov r15d, dword [r14]
inc r15d
mov dword [r14], r15d
add r15, r15
mov rcx, r15
call fcn.14014c42c
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.14014fe30
mov ecx, edi
mov rdx, rbx
mov r8, r14
call sub.Secur32.dll_GetUserNameExW
mov edi, eax
test al, al
jne 0x140046cb4
test rbx, rbx
je 0x140046c97
test dil, dil
setne sil
mov rcx, rbx
call fcn.14014c434
jmp 0x140046c99
xor esi, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14014ced0
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test rbx, rbx
je 0x140046cd1
mov rcx, rbx
call fcn.140174394
mov rcx, rsi
mov rdx, rbx
mov r8, rax
call fcn.1400930f0
jmp 0x140046c86
lea rax, str.string::assign_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string
lea r9, str.__s___nullptr
mov r8d, 0xa70
call fcn.14018a2b0
int3
Function at 0x140046c00
Capabilities:
Get session user name

Disassembly:
mov edx, 2
jmp 0x140046c00
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov edi, edx
mov rsi, rcx
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x34]
mov dword [r8], 0
mov ecx, edx
xor edx, edx
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x140046c45
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x140046c97
lea r14, [rsp + 0x34]
mov r15d, dword [r14]
inc r15d
mov dword [r14], r15d
add r15, r15
mov rcx, r15
call fcn.14014c42c
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.14014fe30
mov ecx, edi
mov rdx, rbx
mov r8, r14
call sub.Secur32.dll_GetUserNameExW
mov edi, eax
test al, al
jne 0x140046cb4
test rbx, rbx
je 0x140046c97
test dil, dil
setne sil
mov rcx, rbx
call fcn.14014c434
jmp 0x140046c99
xor esi, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14014ced0
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test rbx, rbx
je 0x140046cd1
mov rcx, rbx
call fcn.140174394
mov rcx, rsi
mov rdx, rbx
mov r8, rax
call fcn.1400930f0
jmp 0x140046c86
lea rax, str.string::assign_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string
lea r9, str.__s___nullptr
mov r8d, 0xa70
call fcn.14018a2b0
int3
Function at 0x140048420
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x288
mov ebx, r9d
mov rsi, r8
mov edi, edx
mov r14, rcx
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rcx, str.shell32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14020d352]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400484d0
mov r15, rax
lea r9, [rsp + 0x68]
mov qword [r9], 0
mov rcx, r14
xor edx, edx
xor r8d, r8d
call qword [case.0x1401b58f0.0]
test eax, eax
jns 0x1400484ac
test bl, bl
je 0x1400484ac
lea r9, [rsp + 0x68]
mov rcx, r14
mov edx, 0x8800
xor r8d, r8d
mov rax, r15
call qword [case.0x1401b58f0.0]
test eax, eax
setns bl
jns 0x140048591
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14004856f
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x14004856f
lea r14, [rsp + 0x70]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.14014fe30
mov word [r14], 0
mov qword [rsp + 0x20], r14
xor ecx, ecx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebp, eax
test eax, eax
jns 0x14004852f
cmp ebp, 0x80070057
je 0x14004852f
test bl, bl
je 0x14004852f
or edi, 0xa000
mov qword [rsp + 0x20], r14
xor ecx, ecx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebp, eax
test ebp, ebp
js 0x14004856a
lea rdi, [rsp + 0x30]
mov qword [rdi], r14
mov rcx, r14
call fcn.140174394
mov qword [rdi + 8], rax
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
call fcn.1400ff560
mov rcx, rsi
mov rdx, rbx
call fcn.140097e60
mov rcx, rbx
call fcn.1400ff6e0
test ebp, ebp
setns bl
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14014ced0
mov eax, ebx
add rsp, 0x288
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x68]
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.140189970
movzx eax, byte [rdi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rdi]
cmovns rax, rdi
lea rdx, [rsp + 0x58]
mov qword [rdx], rax
cmovs rcx, qword [rdi + 8]
mov qword [rdx + 8], rcx
lea r14, [rsp + 0x70]
mov rcx, r14
call fcn.1400ff560
mov rcx, rsi
mov rdx, r14
call fcn.140097e60
mov rcx, r14
call fcn.1400ff6e0
cmp byte [rdi + 0x17], 0
jns 0x1400484b7
mov rcx, qword [rsp + 0x40]
call fcn.14014c3ec
jmp 0x1400484b7

Function at 0x140048600
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rcx, section..rdata
mov edx, SafeArrayDestroy
mov r8, rsi
xor r9d, r9d
call fcn.140048420
test al, al
je 0x14004862b
mov al, 1
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1401df010]
mov edx, 5
mov r8, rsi
mov r9b, 1
add rsp, 0x20
pop rsi
jmp fcn.140048420

Function at 0x140048650
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x1401df020]
mov edx, 0x27
mov r8, rsi
xor r9d, r9d
call fcn.140048420
test al, al
je 0x14004867b
mov al, 1
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1401df010]
mov edx, 5
mov r8, rsi
mov r9b, 1
add rsp, 0x20
pop rsi
jmp fcn.140048420
Function at 0x1400486a0
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x1401df040]
mov edx, SafeArrayDestroy
mov r8, rsi
xor r9d, r9d
call fcn.140048420
test al, al
je 0x1400486cb
mov al, 1
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1401df010]
mov edx, 5
mov r8, rsi
mov r9b, 1
add rsp, 0x20
pop rsi
jmp fcn.140048420
Function at 0x14004d520
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0x38], rax
test rcx, rcx
je 0x14004d5a4
mov rsi, rcx
xor eax, eax
mov qword [rsp + 0x30], rax
mov rbx, qword [rdx]
mov qword [rdx], rax
cmp rbx, 0xffffffffffffffff
je 0x14004d55b
test rbx, rbx
je 0x14004d57f
call fcn.140100430
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14004d577
mov qword [rsp + 0x30], rbx
call fcn.140100430
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400b9350
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14014ced0
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
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, 0x23
call fcn.14018a2b0
int3
Function at 0x140054080
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov qword [rsp + 0x50], r9
mov ebp, r8d
mov rsi, rdx
mov r14d, ecx
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor r15d, r15d
lea r12, [rsp + 0x78]
mov qword [r12], r15
lea r13, [rsp + 0x70]
mov qword [r13], r15
lea rdi, [rsp + 0x68]
mov qword [rdi], r15
mov ecx, pe_nt_image_headers64
call fcn.14014c3b0
mov rbx, rax
mov rcx, rax
xor edx, edx
call fcn.140116b00
lea rax, [rsp + 0x60]
mov qword [rax], r15
mov ecx, ebp
mov r15d, r14d
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, r15
mov r8, r15
mov r9, rsi
call fcn.1400542c0
mov dword [rsp + 0x4c], eax
test eax, eax
jne 0x140054287
mov ecx, 0x88
call fcn.14014c3b0
mov r14, rax
mov rdi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
mov r13, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
xor esi, esi
mov qword [rsp + 0x78], rsi
lea rdx, [0x14020d938]
mov rcx, rax
call fcn.140121e00
lea rax, fcn.1400f5fc0
mov qword [r14], rax
mov qword [r14 + 0x10], rbx
xorps xmm0, xmm0
movups xmmword [r14 + 0x18], xmm0
mov qword [r14 + 0x28], rsi
mov qword [r14 + 0x30], rbp
mov word [r14 + 0x38], 0x100
mov byte [r14 + 0x3a], 1
mov qword [r14 + 0x40], r13
mov qword [r14 + 0x48], r12
mov qword [r14 + 0x50], rdi
mov qword [r14 + 0x58], r15
movups xmmword [r14 + 0x60], xmm0
mov qword [r14 + 0x70], rsi
movups xmm0, xmmword [0x1402185e0]
movups xmmword [r14 + 0x78], xmm0
mov eax, dword [0x140240208]
mov ecx, dword [0x14023ece4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140054232
lock inc dword [0x1402401fc]
lea rdx, [rsp + 0x58]
mov qword [rdx], r14
mov rcx, rbx
call fcn.140116f60
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
mov qword [rax], rbx
test rcx, rcx
jne 0x140054293
mov rcx, qword [rsp + 0x78]
test rcx, rcx
jne 0x1400542a2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14014ced0
mov eax, dword [rsp + 0x4c]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140240208]
call fcn.14014c510
cmp dword [0x140240208], 0xffffffff
jne 0x1400541d1
lea rax, [0x140209b98]
mov qword [0x140240200], rax
lea r15, [0x140240200]
call fcn.1400b40d0
lea r8, str.MojoMessages
mov rcx, rax
mov rdx, r15
xor r9d, r9d
call fcn.1400b4180
lea rcx, [0x140240208]
call fcn.14014c5a8
jmp 0x1400541d1
test rbx, rbx
je 0x1400541fc
mov rcx, rbx
mov edx, 1
call fcn.1401171c0
jmp 0x1400541fc
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x1401b58f0.0]
jmp 0x14005420a
Function at 0x1400561d0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0x50], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x30]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x14020b860]
movaps xmmword [r14], xmm0
mov rax, qword [rdx]
mov rax, qword [rax + 0x38]
mov rcx, rdx
mov rdx, r14
call qword [case.0x1401b58f0.0]
mov rbx, qword [r14]
mov r14, qword [r14 + 8]
cmp rbx, r14
jne 0x14005629d
lea r14, [rsi + 0xe0]
mov ebx, dword [rdi + 8]
mov rax, qword [rdi]
mov rax, qword [rax + 0x10]
mov rcx, rdi
call qword [case.0x1401b58f0.0]
mov rcx, qword [rsi + 0x78]
mov qword [rsp + 0x20], r14
mov rdx, rax
mov r8d, ebx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14005628e
mov byte [rsi + 0x12a], 1
lock inc dword [rsi + 8]
mov rdi, qword [rsp + 0x30]
test rdi, rdi
jne 0x1400562ae
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14014ced0
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x140056261
jmp 0x14005626c
mov rcx, rbx
call fcn.140052d00
add rbx, 0x28
jmp 0x140056226
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
cmp rsi, rdi
je 0x1400562d1
add rsi, 0xffffffffffffffd8
mov rcx, rsi
call fcn.1400f5350
cmp rsi, rdi
jne 0x1400562bb
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.14014c3ec
jmp 0x140056276
Function at 0x140058660
Capabilities:
Query or enumerate registry key

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x298
movaps xmmword [rsp + 0x280], xmm6
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0x278], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], r15
xor eax, eax
mov qword [rsp + 0x68], rax
mov esi, dword [rcx + 8]
mov r9d, esi
or r9d, 0x2001f
mov rcx, qword [rcx]
lea rdx, [rsp + 0x70]
mov qword [rdx], rax
mov qword [rsp + 0x20], rdx
mov rdx, rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400586dd
mov ebp, eax
jmp 0x1400587ad
mov qword [rsp + 0x40], rbx
lea rbx, [rsp + 0x70]
mov r12, qword [rbx]
lea r14, [rsp + 0x58]
mov qword [r14], r12
and esi, 0x300
mov dword [r14 + 8], esi
lea r13, [rsp + 0x50]
mov qword [r13], r15
lea r15, [rsp + 0x4c]
mov dword [r15], 0x100
mov r8d, 0x200
mov rcx, rbx
mov dl, 0xaa
call fcn.14014fe30
xorps xmm6, xmm6
mov rsi, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov qword [rsp + 0x38], r13
movups xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x30], 0
mov rcx, r12
xor edx, edx
mov r8, rbx
mov r9, r15
call rsi
test eax, eax
jne 0x14005876d
mov rcx, r14
mov rdx, rbx
call fcn.140058660
test eax, eax
jne 0x14005879b
mov dword [rsp + 0x4c], 0x100
mov r12, qword [rsp + 0x58]
jmp 0x14005872b
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140058786
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
mov rcx, rdi
mov rdx, qword [rsp + 0x40]
call fcn.140058e50
mov ebp, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400587ad
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14014ced0
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x280]
add rsp, 0x298
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140058e50
Capabilities:
Delete registry key

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x140058ec7
mov rdi, qword [rdi]
cmp qword [rbx], 0
je 0x140058f2a
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140058f35
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140058f35
mov rcx, qword [rbx]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [case.0x1401b58f0.0]
jmp 0x140058f3a
cmp byte [0x1402403b8], 0
jne 0x140058f00
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140058ef9
lea rdx, [0x14020dfd6]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402403b0], rax
mov byte [0x1402403b8], 1
mov rax, qword [0x1402403b0]
test rax, rax
je 0x140058f42
mov r8d, dword [rdi + 8]
mov rcx, qword [rdi]
mov r10, qword [case.0x1401b58f0.0]
mov rdx, rsi
xor r9d, r9d
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp r10
cmp dword [rbx + 8], 0
je 0x140058f35
mov rcx, rdi
jmp 0x140058f45
mov eax, 1
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rdi]
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
Function at 0x14005ec80
Capabilities:
Create process on windows

Disassembly:
mov rcx, rdx
jmp 0x1401bae00
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov rsi, rcx
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x50], r14
movaps xmm0, xmmword [0x14020b860]
movaps xmmword [rdi + 0x40], xmm0
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.UnpinShortcutFromTaskbar
lea r8, str.....operadesktopchrome_importschromeinstallerutil_taskbar_util.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x8b
call fcn.140100410
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14010c8f0
call fcn.140113180
cmp eax, 0xd
jl 0x1401baf0d
lea rdi, [rsp + 0x30]
mov qword [rdi], r14
mov rcx, rdi
call fcn.1400bcf30
cmp qword [rdi], 0
je 0x1401baf0d
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1401baead
mov rcx, qword [rsi]
call qword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov rbx, rax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
mov rdx, rbx
xor r8d, r8d
mov r9d, 4
call qword [case.0x1401b58f0.0]
mov edi, eax
test rbx, rbx
je 0x1401baee7
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_ILFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1401baf07
mov qword [rsp + 0x30], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1401b58f0.0]
mov bl, 1
test edi, edi
jns 0x1401baf43
cmp byte [rsi + 0x17], 0
jns 0x1401baf16
mov rsi, qword [rsi]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, str.taskbarunpin
xor ecx, ecx
mov r8, rsi
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x21
setge bl
lea rcx, [rsp + 0x50]
call fcn.14010c950
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14014ced0
mov eax, ebx
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140062020
Capabilities:
Compare security identifiers

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rdx
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0x78], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x60]
mov qword [rdi], rax
mov rcx, rdi
call fcn.140060e40
mov rdi, qword [rdi]
test rdi, rdi
je 0x1400620d4
lea rbx, [rsp + 0x68]
mov qword [rbx], 0
xor eax, eax
lea rcx, [rsp + 0x70]
mov dword [rcx], eax
mov word [rcx + 4], 0x500
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dl, 1
mov r8d, shutdown
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov rbx, qword [rbx]
test eax, eax
je 0x1400620d9
test rbx, rbx
je 0x1400620e7
mov rdx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_EqualSid]
cmp eax, 1
mov byte [rsi], 1
sete byte [rsi + 1]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_FreeSid]
jmp 0x1400620ea
mov byte [rsi], 0
jmp 0x1400620f3
test rbx, rbx
je 0x1400620e7
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov byte [rsi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14014ced0
mov rax, rsi
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret

Function at 0x140062110
Capabilities:
Compare security identifiers

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov ebx, r9d
mov r14, r8
mov rsi, rdx
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0x50], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x48]
mov qword [rdi], rax
mov rcx, rdi
call fcn.140060e40
mov rdi, qword [rdi]
test rdi, rdi
je 0x140062192
mov qword [rsp + 0x40], 0
cmp byte [r14 + 0x17], 0
jns 0x140062166
mov r14, qword [r14]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x20], xmm0
lea r9, [rsp + 0x40]
mov rcx, r14
mov edx, ebx
mov r8d, 1
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
je 0x140062197
mov byte [rsi], 0
jmp 0x1400621af
mov byte [rsi], 0
jmp 0x1400621b8
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
cmp eax, 1
mov byte [rsi], 1
sete byte [rsi + 1]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14014ced0
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140062790
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1a8
mov edi, r9d
mov r9d, r8d
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x180], xmm0
mov qword [rsp + 0x190], 0
lea ebp, [rdi + 0xf]
test edi, edi
cmovns ebp, edi
mov eax, ebp
sar eax, 4
inc eax
movzx r8d, ax
mov edx, 6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x140062869
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400628b2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
jne 0x14006296c
mov ecx, 2
call fcn.140100440
test al, al
je 0x140062908
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....operadesktopwindowsl10n_handler_resource_l10n_handler.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r8d, 0x45
mov r9d, 2
call fcn.1401ae020
lea rcx, [rsp + 0x50]
lea rdx, str.Failed_to_lock_string
jmp 0x1400628f5
mov ecx, 2
call fcn.140100440
test al, al
je 0x140062908
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....operadesktopwindowsl10n_handler_resource_l10n_handler.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r8d, 0x39
mov r9d, 2
call fcn.1401ae020
lea rcx, [rsp + 0x50]
lea rdx, str.Failed_to_find_string
jmp 0x1400628f5
mov ecx, 2
call fcn.140100440
test al, al
je 0x140062908
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....operadesktopwindowsl10n_handler_resource_l10n_handler.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r8d, 0x3f
mov r9d, 2
call fcn.1401ae020
lea rcx, [rsp + 0x50]
lea rdx, str.Failed_to_load_string
mov r8d, shutdown
call fcn.140189a90
mov rcx, rdi
call fcn.1401ae0a0
mov rax, qword [rsp + 0x190]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x180]
movups xmmword [rsi], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x180], xmm0
mov qword [rsp + 0x190], 0
cmp byte [rsp + 0x197], 0
jns 0x14006294d
mov rcx, qword [rsp + 0x180]
call fcn.14014c3ec
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14014ced0
mov rax, rsi
add rsp, 0x1a8
pop rbx
pop rbp
pop rdi
pop rsi
ret
and ebp, 0xfffffff0
sub edi, ebp
test edi, edi
jle 0x140062984
movzx ecx, word [rax]
lea rax, [rax + rcx*2]
add rax, 2
dec edi
jne 0x140062975
movzx ecx, word [rax]
add rax, 2
jne 0x140062992
test cx, cx
jne 0x1400629fe
mov rdi, qword [rsp + 0x1f0]
movzx r8d, cx
lea rbx, [rsp + 0x180]
mov rcx, rbx
mov rdx, rax
call fcn.1400930f0
mov rax, qword [rdi]
cmp rax, qword [rdi + 8]
je 0x140062908
movzx eax, byte [rsp + 0x197]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs rbx, qword [rsp + 0x180]
lea rdx, [rsp + 0x30]
mov qword [rdx], rbx
cmovs rcx, qword [rsp + 0x188]
mov qword [rdx + 8], rcx
mov rcx, rsi
mov r8, rdi
xor r9d, r9d
call fcn.1401b52f0
jmp 0x140062936
lea rax, str.string::assign_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string
lea r9, str.__n__0____s___nullptr
mov r8d, 0x9a4
call fcn.14018a2b0
int3