joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003d360
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 [0x14022a038]
xor rax, rsp
mov qword [rsp + 0x58], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x40]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x140206780]
movaps xmmword [rcx], xmm0
lea rdx, str.GROUP:
call fcn.140185900
test rdi, rdi
je 0x14003d511
mov rcx, rdi
call fcn.140170170
lea r15, [rsp + 0x40]
mov rcx, r15
mov rdx, rdi
mov r8, rax
call fcn.14008e5b0
lea rdx, str.__NAME:
mov r8d, 8
mov rcx, r15
call fcn.14008e5b0
test r14, r14
je 0x14003d511
mov rcx, r14
call fcn.140170170
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, r14
mov r8, rax
call fcn.14008e5b0
lea rdx, str.__DURATION:
mov r8d, SafeArrayDestroy
mov rcx, rdi
call fcn.14008e5b0
mov rdx, qword [rbx + 8]
test rdx, rdx
jne 0x14003d43e
lea rdx, str.unknown_unfinished
lea rcx, [rsp + 0x40]
mov r8d, shutdown
jmp 0x14003d498
sub rdx, qword [rbx]
lea rbx, [rsp + 0x28]
mov rcx, rbx
call fcn.1400901c0
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
jns 0x14003d464
mov r8, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
jmp 0x14003d468
and r8d, 0x7f
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.14008e5b0
cmp byte [rsp + 0x3f], 0
jns 0x14003d486
mov rcx, qword [rsp + 0x28]
call fcn.14014847c
lea rdx, str.__us_
lea rcx, [rsp + 0x40]
mov r8d, 5
call fcn.14008e5b0
lea rdx, [0x140206e45]
mov r8d, 2
mov rcx, rdi
call fcn.14008e5b0
movzx r8d, byte [rsp + 0x57]
test r8b, r8b
jns 0x14003d4c9
mov r8d, dword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
jmp 0x14003d4cd
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 0x14003d4f7
mov rcx, qword [rsp + 0x40]
call fcn.14014847c
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140148f60
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
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string
lea r9, str.__s___nullptr
mov r8d, 0xb21
call fcn.140186340
int3
Function at 0x140041e30
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
mov rcx, rdx
test r8b, r8b
je fcn.1400a6560
jmp fcn.1400a6820

Function at 0x140041e60
Capabilities:
Move file

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

Function at 0x1400466d0
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
mov rsi, rcx
mov rax, qword [0x14022a038]
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.14014bec0
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov edi, eax
test eax, eax
jne 0x140046743
test edi, edi
setne bl
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140148f60
mov eax, ebx
add rsp, 0x240
pop rbx
pop rdi
pop rsi
ret
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.140170424
mov rcx, rsi
mov rdx, rbx
mov r8, rax
call fcn.14008f650
jmp 0x140046721

Function at 0x140046760
Capabilities:
Get session user name

Disassembly:
mov edx, 2
jmp 0x140046770
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov edi, edx
mov rsi, rcx
mov rax, qword [0x14022a038]
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 0x1400467b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x140046807
lea r14, [rsp + 0x34]
mov r15d, dword [r14]
inc r15d
mov dword [r14], r15d
add r15, r15
mov rcx, r15
call fcn.1401484bc
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.14014bec0
mov ecx, edi
mov rdx, rbx
mov r8, r14
call sub.Secur32.dll_GetUserNameExW
mov edi, eax
test al, al
jne 0x140046824
test rbx, rbx
je 0x140046807
test dil, dil
setne sil
mov rcx, rbx
call fcn.1401484c4
jmp 0x140046809
xor esi, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140148f60
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test rbx, rbx
je 0x140046841
mov rcx, rbx
call fcn.140170424
mov rcx, rsi
mov rdx, rbx
mov r8, rax
call fcn.14008f650
jmp 0x1400467f6
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.140186340
int3
Function at 0x140046770
Capabilities:
Get session user name

Disassembly:
mov edx, 2
jmp 0x140046770
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov edi, edx
mov rsi, rcx
mov rax, qword [0x14022a038]
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 0x1400467b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x140046807
lea r14, [rsp + 0x34]
mov r15d, dword [r14]
inc r15d
mov dword [r14], r15d
add r15, r15
mov rcx, r15
call fcn.1401484bc
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.14014bec0
mov ecx, edi
mov rdx, rbx
mov r8, r14
call sub.Secur32.dll_GetUserNameExW
mov edi, eax
test al, al
jne 0x140046824
test rbx, rbx
je 0x140046807
test dil, dil
setne sil
mov rcx, rbx
call fcn.1401484c4
jmp 0x140046809
xor esi, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140148f60
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test rbx, rbx
je 0x140046841
mov rcx, rbx
call fcn.140170424
mov rcx, rsi
mov rdx, rbx
mov r8, rax
call fcn.14008f650
jmp 0x1400467f6
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.140186340
int3
Function at 0x14004c180
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, qword [0x14022a038]
xor rax, rsp
mov qword [rsp + 0x38], rax
test rcx, rcx
je 0x14004c204
mov rsi, rcx
xor eax, eax
mov qword [rsp + 0x30], rax
mov rbx, qword [rdx]
mov qword [rdx], rax
cmp rbx, 0xffffffffffffffff
je 0x14004c1bb
test rbx, rbx
je 0x14004c1df
call fcn.1400fc5f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14004c1d7
mov qword [rsp + 0x30], rbx
call fcn.1400fc5f0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400b54b0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140148f60
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.140186340
int3
Function at 0x140052ce0
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 [0x14022a038]
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.140148440
mov rbx, rax
mov rcx, rax
xor edx, edx
call fcn.140112b90
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.140052f20
mov dword [rsp + 0x4c], eax
test eax, eax
jne 0x140052ee7
mov ecx, 0x88
call fcn.140148440
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, [0x140208598]
mov rcx, rax
call fcn.14011de90
lea rax, fcn.1400f2180
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 [0x140212f68]
movups xmmword [r14 + 0x78], xmm0
mov eax, dword [0x14023b008]
mov ecx, dword [0x140239ae4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140052e92
lock inc dword [0x14023affc]
lea rdx, [rsp + 0x58]
mov qword [rdx], r14
mov rcx, rbx
call fcn.140112ff0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
mov qword [rax], rbx
test rcx, rcx
jne 0x140052ef3
mov rcx, qword [rsp + 0x78]
test rcx, rcx
jne 0x140052f02
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140148f60
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, [0x14023b008]
call fcn.1401485a0
cmp dword [0x14023b008], 0xffffffff
jne 0x140052e31
lea rax, [0x140204ab8]
mov qword [0x14023b000], rax
lea r15, [0x14023b000]
call fcn.1400b0230
lea r8, str.MojoMessages
mov rcx, rax
mov rdx, r15
xor r9d, r9d
call fcn.1400b02e0
lea rcx, [0x14023b008]
call fcn.140148638
jmp 0x140052e31
test rbx, rbx
je 0x140052e5c
mov rcx, rbx
mov edx, 1
call fcn.140113250
jmp 0x140052e5c
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x1401b1830.0]
jmp 0x140052e6a
Function at 0x140054e30
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 [0x14022a038]
xor rax, rsp
mov qword [rsp + 0x50], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x30]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x140206780]
movaps xmmword [r14], xmm0
mov rax, qword [rdx]
mov rax, qword [rax + 0x38]
mov rcx, rdx
mov rdx, r14
call qword [case.0x1401b1830.0]
mov rbx, qword [r14]
mov r14, qword [r14 + 8]
cmp rbx, r14
jne 0x140054efd
lea r14, [rsi + 0xe0]
mov ebx, dword [rdi + 8]
mov rax, qword [rdi]
mov rax, qword [rax + 0x10]
mov rcx, rdi
call qword [case.0x1401b1830.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 0x140054eee
mov byte [rsi + 0x12a], 1
lock inc dword [rsi + 8]
mov rdi, qword [rsp + 0x30]
test rdi, rdi
jne 0x140054f0e
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140148f60
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x140054ec1
jmp 0x140054ecc
mov rcx, rbx
call fcn.140051960
add rbx, 0x28
jmp 0x140054e86
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
cmp rsi, rdi
je 0x140054f31
add rsi, 0xffffffffffffffd8
mov rcx, rsi
call fcn.1400f1510
cmp rsi, rdi
jne 0x140054f1b
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.14014847c
jmp 0x140054ed6
Function at 0x1400572c0
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 [0x14022a038]
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 0x14005733d
mov ebp, eax
jmp 0x14005740d
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.14014bec0
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 0x1400573cd
mov rcx, r14
mov rdx, rbx
call fcn.1400572c0
test eax, eax
jne 0x1400573fb
mov dword [rsp + 0x4c], 0x100
mov r12, qword [rsp + 0x58]
jmp 0x14005738b
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400573e6
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.140057ab0
mov ebp, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14005740d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140148f60
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 0x140057ab0
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 0x140057b27
mov rdi, qword [rdi]
cmp qword [rbx], 0
je 0x140057b8a
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140057b95
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140057b95
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.0x1401b1830.0]
jmp 0x140057b9a
cmp byte [0x14023b1b8], 0
jne 0x140057b60
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140057b59
lea rdx, [0x140208c36]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14023b1b0], rax
mov byte [0x14023b1b8], 1
mov rax, qword [0x14023b1b0]
test rax, rax
je 0x140057ba2
mov r8d, dword [rdi + 8]
mov rcx, qword [rdi]
mov r10, qword [case.0x1401b1830.0]
mov rdx, rsi
xor r9d, r9d
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp r10
cmp dword [rbx + 8], 0
je 0x140057b95
mov rcx, rdi
jmp 0x140057ba5
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 0x14005d8e0
Capabilities:
Create process on windows

Disassembly:
mov rcx, rdx
jmp 0x1401b6d40
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov rsi, rcx
mov rax, qword [0x14022a038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x50], r14
movaps xmm0, xmmword [0x140206780]
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.1400fc5d0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1401089a0
call fcn.14010f210
cmp eax, 0xd
jl 0x1401b6e4d
lea rdi, [rsp + 0x30]
mov qword [rdi], r14
mov rcx, rdi
call fcn.1400b9090
cmp qword [rdi], 0
je 0x1401b6e4d
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1401b6ded
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.0x1401b1830.0]
mov edi, eax
test rbx, rbx
je 0x1401b6e27
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_ILFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1401b6e47
mov qword [rsp + 0x30], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1401b1830.0]
mov bl, 1
test edi, edi
jns 0x1401b6e83
cmp byte [rsi + 0x17], 0
jns 0x1401b6e56
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.140108a00
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140148f60
mov eax, ebx
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140060c80
Capabilities:
Compare security identifiers

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rdx
mov rax, qword [0x14022a038]
xor rax, rsp
mov qword [rsp + 0x78], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x60]
mov qword [rdi], rax
mov rcx, rdi
call fcn.14005faa0
mov rdi, qword [rdi]
test rdi, rdi
je 0x140060d34
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 0x140060d39
test rbx, rbx
je 0x140060d47
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 0x140060d4a
mov byte [rsi], 0
jmp 0x140060d53
test rbx, rbx
je 0x140060d47
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.140148f60
mov rax, rsi
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret

Function at 0x140060d70
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 [0x14022a038]
xor rax, rsp
mov qword [rsp + 0x50], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x48]
mov qword [rdi], rax
mov rcx, rdi
call fcn.14005faa0
mov rdi, qword [rdi]
test rdi, rdi
je 0x140060df2
mov qword [rsp + 0x40], 0
cmp byte [r14 + 0x17], 0
jns 0x140060dc6
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 0x140060df7
mov byte [rsi], 0
jmp 0x140060e0f
mov byte [rsi], 0
jmp 0x140060e18
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.140148f60
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400613f0
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 [0x14022a038]
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 0x1400614c9
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140061512
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
jne 0x1400615cc
mov ecx, 2
call fcn.1400fc600
test al, al
je 0x140061568
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.1401aa050
lea rcx, [rsp + 0x50]
lea rdx, str.Failed_to_lock_string
jmp 0x140061555
mov ecx, 2
call fcn.1400fc600
test al, al
je 0x140061568
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.1401aa050
lea rcx, [rsp + 0x50]
lea rdx, str.Failed_to_find_string
jmp 0x140061555
mov ecx, 2
call fcn.1400fc600
test al, al
je 0x140061568
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.1401aa050
lea rcx, [rsp + 0x50]
lea rdx, str.Failed_to_load_string
mov r8d, shutdown
call fcn.140185b20
mov rcx, rdi
call fcn.1401aa0d0
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 0x1400615ad
mov rcx, qword [rsp + 0x180]
call fcn.14014847c
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140148f60
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 0x1400615e4
movzx ecx, word [rax]
lea rax, [rax + rcx*2]
add rax, 2
dec edi
jne 0x1400615d5
movzx ecx, word [rax]
add rax, 2
jne 0x1400615f2
test cx, cx
jne 0x14006165e
mov rdi, qword [rsp + 0x1f0]
movzx r8d, cx
lea rbx, [rsp + 0x180]
mov rcx, rbx
mov rdx, rax
call fcn.14008f650
mov rax, qword [rdi]
cmp rax, qword [rdi + 8]
je 0x140061568
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.1401b12b0
jmp 0x140061596
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.140186340
int3
Function at 0x140064260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rdx
mov rax, qword [0x14022a038]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x38]
mov qword [r8], 0
lea rdx, [0x140061690]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
cmp eax, 1
jne 0x1400643c9
lea rdi, [rsp + 0x38]
mov rcx, qword [rdi]
lea r8, [0x14020970c]
mov edx, 0x86
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
mov qword [rdi], 0
lea rdx, [0x140061690]
mov ecx, 6
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
cmp eax, 1
jne 0x1400643cc
lea rdi, [rsp + 0x38]
mov rcx, qword [rdi]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
mov qword [rdi], 0
lea rdx, [0x140061690]
mov ecx, 6
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
cmp eax, 1
jne 0x1400643cf
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
lea rcx, [0x1402078da]
lea rbx, [rsp + 0x60]
mov qword [rbx], rcx
mov qword [rbx + 8], 1
mov eax, eax
lea rdx, [rsp + 0x28]
mov qword [rdx], r14
mov qword [rdx + 8], rax
mov rcx, rdi
call fcn.1400a1cc0
movzx eax, byte [rsp + 0x4f]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs rdi, qword [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov qword [rdx], rdi
cmovs rcx, qword [rsp + 0x40]
mov qword [rdx + 8], rcx
mov dword [rsp + 0x20], 0
mov rcx, rsi
mov r8, rbx
mov r9d, 1
call fcn.1400a9950
cmp byte [rsp + 0x4f], 0
jns 0x1400643af
mov rcx, qword [rsp + 0x38]
call fcn.14014847c
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140148f60
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
int3
int3