joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027e30
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rbx, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401ee038]
xor rax, rsp
mov qword [rsp + 0x58], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x40]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x1401c1a60]
movaps xmmword [rcx], xmm0
lea rdx, str.GROUP:
call fcn.140165f50
test rdi, rdi
je 0x140027fe1
mov rcx, rdi
call fcn.14014cf30
lea r15, [rsp + 0x40]
mov rcx, r15
mov rdx, rdi
mov r8, rax
call fcn.140081610
lea rdx, str.__NAME:
mov r8d, 8
mov rcx, r15
call fcn.140081610
test r14, r14
je 0x140027fe1
mov rcx, r14
call fcn.14014cf30
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, r14
mov r8, rax
call fcn.140081610
lea rdx, str.__DURATION:
mov r8d, SafeArrayDestroy
mov rcx, rdi
call fcn.140081610
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140027f56
sub rdx, qword [rbx]
lea rbx, [rsp + 0x28]
mov rcx, rbx
call fcn.140082970
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
js 0x140027f1a
and r8d, 0x7f
jmp 0x140027f24
mov r8, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.140081610
cmp byte [rsp + 0x3f], 0
jns 0x140027f42
mov rcx, qword [rsp + 0x28]
call fcn.14012a8ec
lea rdx, str.__us_
lea rcx, [rsp + 0x40]
mov r8d, 5
jmp 0x140027f68
lea rdx, str.unknown_unfinished
lea rcx, [rsp + 0x40]
mov r8d, shutdown
call fcn.140081610
lea rdx, [0x1401c59e5]
mov r8d, 2
mov rcx, rdi
call fcn.140081610
movzx r8d, byte [rsp + 0x57]
test r8b, r8b
jns 0x140027f99
mov r8d, dword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
jmp 0x140027f9d
and r8d, 0x7f
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x20], 0
mov rdx, rdi
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp byte [rsp + 0x57], 0
jns 0x140027fc7
mov rcx, qword [rsp + 0x40]
call fcn.14012a8ec
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14012b460
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rax, str.string::append_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string
lea r9, str.__s___nullptr
mov r8d, 0xb00
call fcn.140166ee0
int3
Function at 0x14002b790
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
mov rcx, rdx
test r8b, r8b
je fcn.14008e6f0
jmp fcn.14008e9a0

Function at 0x14002b7c0
Capabilities:
Move file

Disassembly:
mov rcx, rdx
mov rdx, r8
jmp fcn.140192e10

Function at 0x140030ac0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x140030be2
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x140030c18
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x140030c20
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
test edi, edi
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x140030c24
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x140030c2a
pop rdi
pop rsi
ret
xor r10d, r10d
jmp 0x140030b1c
xor eax, eax
jmp 0x140030bb1
mov dl, byte [r8 + 0x19]
jmp 0x140030c11
cmp byte [r8 + 0x1a], 0
je 0x140030c15
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x140030c15
cmp ecx, 0x666f736f
jne 0x140030c15
cmp edx, 0x76482074
jne 0x140030c15
mov byte [r8 + 0x19], 1
jmp 0x140030c15
Function at 0x140031da0
Capabilities:
Set thread local storage value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x1401ee038]
xor rax, rsp
mov qword [rsp + 0x50], rax
test rcx, rcx
je 0x140031fe9
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x1401faf50], rax
jne 0x140031fec
mov rsi, rcx
mov r14d, dword [rcx + 8]
add r14, 0x518
mov byte [rsp + 0x3f], 0xaa
cmp byte [rcx + 2], 0
sete al
bsr rdx, r14
xor rdx, 0xffffffffffffffc0
lea rcx, [0x1401c73c0]
mov cl, byte [rdx + rcx + 0x41]
mov r8, r14
shr r8, cl
and r8d, 7
lea rcx, [0x1401c7410]
mov rcx, qword [rcx + rdx*8 + 0x208]
and rcx, r14
lea rdx, [r8 + rdx*8]
add rdx, 0x208
cmp rcx, 1
sbb rdx, 0xffffffffffffffff
lea rcx, reloc.WS2_32.dll_recv
movzx ecx, word [rcx + rdx*2 + 0x400]
cmp cx, 0x6e
setb dl
and dl, al
movzx eax, dl
or eax, ecx
movzx eax, ax
lea r12, [rax + rax*4]
lea r15, [rsi + r12*8]
add r15, 0x48
lea rbx, [rsi + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140031f6f
mov rax, qword [r15]
mov rdi, qword [rax]
test rdi, rdi
je 0x140031f7c
mov byte [rsp + 0x3f], 0
mov rcx, qword [rdi]
test rcx, rcx
je 0x140031f68
lea rdx, [rsi + 0x48]
bswap rcx
mov r14d, dword [rdx + r12*8 + 0x18]
mov rdx, rcx
xor rdx, rdi
cmp rdx, 0x1fffff
ja 0x140031fef
mov edx, ecx
and edx, 0x1fc000
je 0x140031fef
prefetcht0 byte [rcx]
mov qword [rax], rcx
mov ecx, dword [rax + 0x18]
lea edx, [rcx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [rax + 0x18], ecx
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x18]
add rax, qword [rsi + 0x1498]
mov qword [rsi + 0x1498], rax
mov rcx, qword [rsi + 0x14a0]
cmp rcx, rax
cmova rax, rcx
mov qword [rsi + 0x14a0], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, rdi
mov rdx, rsi
call fcn.1400d2cd0
mov ecx, dword [0x1401ffec8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1401fd9c8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x120], rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14012b460
mov rax, rdi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ecx, ecx
jmp 0x140031ec9
mov rcx, rbx
call fcn.1400d28b0
jmp 0x140031e79
lea rax, [rsp + 0x3f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov rcx, r15
mov rdx, rsi
mov r8d, 2
mov r9, r14
call fcn.1400d09e0
test rax, rax
je 0x140031fe2
mov rdi, rax
and rax, 0xffffffffffe00000
mov ecx, edi
shr ecx, 0xe
movzx ecx, cl
shl rcx, 5
or rcx, rax
mov rax, rcx
or rax, 0x1000
or rcx, 0x101e
movzx ecx, byte [rcx]
and ecx, 0x3f
shl rcx, 5
sub rax, rcx
jmp 0x140031ee3
xor edi, edi
jmp 0x140031f0d
int3
int3
movaps xmm0, xmmword [0x1401c1a60]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi], xmm0
mov r8, qword [rdi]
lea rdx, str.first
mov rcx, rsi
call fcn.140168780
mov rcx, rsi
call fcn.140024cf0
mov rcx, r14
call fcn.1401687f0
int3
Function at 0x1400343b0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x140201988], 0
jne 0x1400343ed
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400343e0
mov dword [rdi], eax
mov dword [0x140201990], eax
mov qword [0x140201988], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3

Function at 0x140038340
Capabilities:
Get session user name

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x268
mov rsi, rcx
mov rax, qword [0x1401ee038]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rdi, [rsp + 0x4c]
mov dword [rdi], 0x101
lea rbx, [rsp + 0x50]
mov r8d, 0x202
mov rcx, rbx
mov dl, 0xaa
call fcn.14012e3f0
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov edi, eax
test eax, eax
je 0x1400383e4
lea r14, [rsp + 0x50]
mov rcx, r14
call fcn.14014d1e4
mov rbx, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x14003843f
cmp rbx, 0xa
ja 0x14003840e
mov r14, rsi
test rbx, rbx
je 0x1400383d2
mov r8, rbx
add r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.14012dd40
mov al, byte [rsi + 0x17]
test al, al
js 0x140038408
mov eax, ebx
and al, 0x7f
mov byte [rsi + 0x17], al
mov word [r14 + rbx*2], 0
test edi, edi
setne bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14012b460
mov eax, ebx
add rsp, 0x268
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsi + 8], rbx
jmp 0x1400383dd
movzx r9d, al
mov edx, 0xa
mov r8, rbx
sub r8, rdx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, rsi
call fcn.140081b20
jmp 0x1400383e4
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rbx
jb 0x14003845f
shr rax, 0x38
mov r14, qword [rsi]
jmp 0x1400383b7
mov r9, qword [rsi + 8]
jmp 0x140038417
Function at 0x140038470
Capabilities:
Get session user name

Disassembly:
mov edx, 2
jmp 0x140038480
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov edi, edx
mov rsi, rcx
mov rax, qword [0x1401ee038]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x44]
mov dword [r8], 0
mov ecx, edx
xor edx, edx
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x140038578
lea r14, [rsp + 0x44]
mov r15d, dword [r14]
inc r15d
mov dword [r14], r15d
add r15, r15
mov rcx, r15
call fcn.14012a92c
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.14012e3f0
mov ecx, edi
mov rdx, rbx
mov r8, r14
call sub.Secur32.dll_GetUserNameExW
test al, al
setne dil
je 0x140038571
test rbx, rbx
je 0x1400385ea
mov rcx, rbx
call fcn.14014d1e4
mov r14, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x1400385c4
cmp r14, 0xa
ja 0x140038593
mov r15, rsi
test r14, r14
je 0x14003853b
mov r8, r14
add r8, r14
mov rcx, r15
mov rdx, rbx
call fcn.14012dd40
mov al, byte [rsi + 0x17]
test al, al
js 0x14003858d
mov eax, r14d
and al, 0x7f
mov byte [rsi + 0x17], al
mov word [r15 + r14*2], 0
mov rcx, rbx
call fcn.14012a934
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14012b460
mov eax, edi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test rbx, rbx
jne 0x14003854e
jmp 0x140038589
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x1400384bc
xor edi, edi
jmp 0x140038556
mov qword [rsi + 8], r14
jmp 0x140038547
movzx r9d, al
mov edx, 0xa
mov r8, r14
sub r8, rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, rsi
call fcn.140081b20
jmp 0x14003854e
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, r14
jb 0x1400385e4
shr rax, 0x38
mov r15, qword [rsi]
jmp 0x140038522
mov r9, qword [rsi + 8]
jmp 0x14003859c
lea rax, str.string::assign_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string
lea r9, str.__s___nullptr
mov r8d, 0xa57
call fcn.140166ee0
int3
Function at 0x140038480
Capabilities:
Get session user name

Disassembly:
mov edx, 2
jmp 0x140038480
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov edi, edx
mov rsi, rcx
mov rax, qword [0x1401ee038]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x44]
mov dword [r8], 0
mov ecx, edx
xor edx, edx
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x140038578
lea r14, [rsp + 0x44]
mov r15d, dword [r14]
inc r15d
mov dword [r14], r15d
add r15, r15
mov rcx, r15
call fcn.14012a92c
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.14012e3f0
mov ecx, edi
mov rdx, rbx
mov r8, r14
call sub.Secur32.dll_GetUserNameExW
test al, al
setne dil
je 0x140038571
test rbx, rbx
je 0x1400385ea
mov rcx, rbx
call fcn.14014d1e4
mov r14, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x1400385c4
cmp r14, 0xa
ja 0x140038593
mov r15, rsi
test r14, r14
je 0x14003853b
mov r8, r14
add r8, r14
mov rcx, r15
mov rdx, rbx
call fcn.14012dd40
mov al, byte [rsi + 0x17]
test al, al
js 0x14003858d
mov eax, r14d
and al, 0x7f
mov byte [rsi + 0x17], al
mov word [r15 + r14*2], 0
mov rcx, rbx
call fcn.14012a934
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14012b460
mov eax, edi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test rbx, rbx
jne 0x14003854e
jmp 0x140038589
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x1400384bc
xor edi, edi
jmp 0x140038556
mov qword [rsi + 8], r14
jmp 0x140038547
movzx r9d, al
mov edx, 0xa
mov r8, r14
sub r8, rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, rsi
call fcn.140081b20
jmp 0x14003854e
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, r14
jb 0x1400385e4
shr rax, 0x38
mov r15, qword [rsi]
jmp 0x140038522
mov r9, qword [rsi + 8]
jmp 0x14003859c
lea rax, str.string::assign_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string
lea r9, str.__s___nullptr
mov r8d, 0xa57
call fcn.140166ee0
int3
Function at 0x14003a170
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x280
mov ebx, r9d
mov rsi, r8
mov edi, edx
mov r14, rcx
mov rax, qword [0x1401ee038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rcx, str.shell32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401c85fc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003a299
mov r15, rax
lea r9, [rsp + 0x68]
mov qword [r9], 0
mov rcx, r14
xor edx, edx
xor r8d, r8d
call qword [0x14021c008]
test eax, eax
jns 0x14003a334
test bl, bl
je 0x14003a334
xor edi, edi
lea r9, [rsp + 0x68]
mov rcx, r14
mov edx, 0x8800
xor r8d, r8d
mov rax, r15
call qword [0x14021c008]
test eax, eax
js 0x14003a33e
mov rdx, qword [rsp + 0x68]
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.140166050
movzx eax, byte [rdi + 0x17]
test al, al
js 0x14003a230
and eax, 0x7f
jmp 0x14003a23a
mov rax, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rax
test rax, rax
js 0x14003a36f
test rdi, rdi
jne 0x14003a25b
test rax, rax
jne 0x14003a39b
lea rdi, [rsp + 0x70]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1400f7720
mov rcx, rsi
mov rdx, rdi
call fcn.1400f78e0
mov rcx, rdi
call fcn.1400f7860
cmp byte [rsp + 0x57], 0
jns 0x14003a291
mov rcx, qword [rsp + 0x40]
call fcn.14012a8ec
mov dil, 1
jmp 0x14003a33e
lea r14, [rsp + 0x70]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.14012e3f0
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]
test eax, eax
jns 0x14003a2f3
cmp eax, 0x80070057
je 0x14003a2f3
test bl, bl
je 0x14003a2f3
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]
test eax, eax
setns dil
js 0x14003a34e
lea rbx, [rsp + 0x30]
mov qword [rbx], r14
mov rcx, r14
call fcn.14014d1e4
mov qword [rbx + 8], rax
lea r14, [rsp + 0x40]
mov rcx, r14
mov rdx, rbx
call fcn.1400f7720
mov rcx, rsi
mov rdx, r14
call fcn.1400f78e0
mov rcx, r14
call fcn.1400f7860
jmp 0x14003a34e
test eax, eax
jns 0x14003a211
xor edi, edi
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14003a34e
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14012b460
mov eax, edi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.140166ee0
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.140166ee0
int3
Function at 0x14003a3d0
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.14003a170
test al, al
je 0x14003a3fb
mov al, 1
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1401b4010]
mov edx, 5
mov r8, rsi
mov r9b, 1
add rsp, 0x20
pop rsi
jmp fcn.14003a170

Function at 0x14003a420
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x1401b4020]
mov edx, 0x27
mov r8, rsi
xor r9d, r9d
call fcn.14003a170
test al, al
je 0x14003a44b
mov al, 1
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1401b4010]
mov edx, 5
mov r8, rsi
mov r9b, 1
add rsp, 0x20
pop rsi
jmp fcn.14003a170

Function at 0x14003a470
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x1401b4040]
mov edx, SafeArrayDestroy
mov r8, rsi
xor r9d, r9d
call fcn.14003a170
test al, al
je 0x14003a49b
mov al, 1
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1401b4010]
mov edx, 5
mov r8, rsi
mov r9b, 1
add rsp, 0x20
pop rsi
jmp fcn.14003a170
Function at 0x14003f7e0
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 [0x1401ee038]
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 0x14003f886
mov ebp, eax
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14012b460
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
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.14012e3f0
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 0x14003f916
mov rcx, r14
mov rdx, rbx
call fcn.14003f7e0
test eax, eax
jne 0x14003f944
mov dword [rsp + 0x4c], 0x100
mov r12, qword [rsp + 0x58]
jmp 0x14003f8d4
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14003f92f
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.14003ffd0
mov ebp, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14003f858
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003f858
Function at 0x14003ffd0
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 0x14004006b
mov rdi, qword [rdi]
cmp qword [rbx], 0
je 0x14004004c
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004003f
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004003f
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 [0x14021c008]
jmp 0x140040044
mov eax, 1
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
cmp dword [rbx + 8], 0
je 0x14004003f
mov rcx, rdi
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rdi]
jmp 0x140040055
cmp byte [0x1402080a8], 0
jne 0x1400400a4
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004009d
lea rdx, [0x1401cb666]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402080a0], rax
mov byte [0x1402080a8], 1
mov rax, qword [0x1402080a0]
test rax, rax
je 0x140040066
mov r8d, dword [rdi + 8]
mov rcx, qword [rdi]
mov r10, qword [0x14021c008]
mov rdx, rsi
xor r9d, r9d
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp r10
Function at 0x140046990
Capabilities:
Create process on windows

Disassembly:
mov rcx, rdx
jmp 0x140199390
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x1401ee038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x40], r14
movaps xmm0, xmmword [0x1401c1a60]
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, 0x8a
call fcn.1400f6c50
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400e9cb0
call fcn.140087740
cmp eax, 0xd
jl 0x140199499
lea rdi, [rsp + 0x30]
mov qword [rdi], r14
mov rcx, rdi
call fcn.1400a49c0
cmp qword [rdi], 0
je 0x140199499
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140199439
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 [0x14021c008]
mov edi, eax
test rbx, rbx
je 0x140199473
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_ILFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140199493
mov qword [rsp + 0x30], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14021c008]
mov bl, 1
test edi, edi
jns 0x1401994cf
cmp byte [rsi + 0x17], 0
jns 0x1401994a2
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.1400e9f20
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14012b460
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret