joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003b7a0
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 [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x58], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x40]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x140215460]
movaps xmmword [rcx], xmm0
lea rdx, str.GROUP:
call fcn.14018ef40
test rdi, rdi
je 0x14003b945
mov rcx, rdi
call fcn.140178f30
lea r15, [rsp + 0x40]
mov rcx, r15
mov rdx, rdi
mov r8, rax
call fcn.140101e00
lea rdx, str.__NAME:
mov r8d, 8
mov rcx, r15
call fcn.140101e00
test r14, r14
je 0x14003b945
mov rcx, r14
call fcn.140178f30
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, r14
mov r8, rax
call fcn.140101e00
lea rdx, str.__DURATION:
mov r8d, SafeArrayDestroy
mov rcx, rdi
call fcn.140101e00
mov rdx, qword [rbx + 8]
test rdx, rdx
jne 0x14003b87e
lea rdx, str.unknown_unfinished
lea rcx, [rsp + 0x40]
mov r8d, shutdown
jmp 0x14003b8d2
sub rdx, qword [rbx]
lea rbx, [rsp + 0x28]
mov rcx, rbx
call fcn.140099d50
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
jns 0x14003b8a2
mov r8, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.140101e00
cmp byte [rsp + 0x3f], 0
jns 0x14003b8c0
mov rcx, qword [rsp + 0x28]
call fcn.14015082c
lea rdx, str.__us_
lea rcx, [rsp + 0x40]
mov r8d, 5
call fcn.140101e00
lea rdx, [0x140215c73]
mov r8d, 2
mov rcx, rdi
call fcn.140101e00
movzx r8d, byte [rsp + 0x57]
test r8b, r8b
jns 0x14003b901
mov r8d, dword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
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 0x14003b92b
mov rcx, qword [rsp + 0x40]
call fcn.14015082c
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401513b0
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, 0xa85
call fcn.140191960
int3
Function at 0x14003e7c0
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
mov rcx, rdx
test r8b, r8b
je fcn.1400a5110
jmp fcn.1400a53c0

Function at 0x14003e7f0
Capabilities:
Move file

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

Function at 0x140047360
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r9
mov r15, r8
mov r14, rcx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rdi, [rcx + 0x10]
mov rcx, rdi
call fcn.14010b2e0
mov ebx, eax
test al, al
je 0x140047467
mov rax, qword [r15 + 8]
mov dword [rax], 0x20
mov ecx, dword [r14 + 0x20]
mov dword [rax + 4], ecx
mov dword [rax + 0xc], 0
mov ecx, dword [r14 + 0x18]
cmp ecx, 2
ja 0x1400473bd
mov dword [rax + 8], ecx
mov rcx, qword [r14 + 0x28]
mov rdx, qword [r14 + 0x30]
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rcx
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x40]
mov qword [r14], rax
mov rcx, rdi
mov rdx, r14
call fcn.1400b24a0
xor eax, eax
mov qword [rsp + 0x28], rax
mov r15, qword [r14]
mov qword [r14], rax
cmp r15, 0xffffffffffffffff
je 0x140047407
test r15, r15
je 0x14004742b
call fcn.14011b570
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [r15 + 1]
cmp rax, 2
jb 0x140047423
mov qword [rsp + 0x28], r15
call fcn.14011b570
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
call fcn.140123470
cmp qword [rsi], 0
je 0x140047482
mov rcx, qword [rsi + 8]
lea rsi, [rsp + 0x30]
mov rdx, rsi
call fcn.1401233e0
mov rcx, rsi
call fcn.140123520
mov rax, qword [rsp + 0x40]
inc rax
cmp rax, 2
jae 0x140047485
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401513b0
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
int3
call fcn.14011b570
mov rcx, qword [rsp + 0x40]
call fcn.140104cf0
jmp 0x140047467

Function at 0x14005c260
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
mov rsi, rcx
mov rax, qword [0x14023e038]
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.140154340
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov edi, eax
test eax, eax
jne 0x14005c2d3
test edi, edi
setne bl
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.1401513b0
mov eax, ebx
add rsp, 0x240
pop rbx
pop rdi
pop rsi
ret
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.1401791e4
mov rcx, rsi
mov rdx, rbx
mov r8, rax
call fcn.1400994a0
jmp 0x14005c2b1
Function at 0x14005c2f0
Capabilities:
Get session user name

Disassembly:
mov edx, 2
jmp 0x14005c300
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov edi, edx
mov rsi, rcx
mov rax, qword [0x14023e038]
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 0x14005c345
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x14005c392
lea r14, [rsp + 0x34]
mov r15d, dword [r14]
inc r15d
mov dword [r14], r15d
add r15, r15
mov rcx, r15
call fcn.14015086c
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.140154340
mov ecx, edi
mov rdx, rbx
mov r8, r14
call sub.Secur32.dll_GetUserNameExW
test al, al
setne dil
jne 0x14005c3af
test rbx, rbx
je 0x14005c392
mov rcx, rbx
call fcn.140150874
jmp 0x14005c394
xor edi, edi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401513b0
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test rbx, rbx
je 0x14005c3cc
mov rcx, rbx
call fcn.1401791e4
mov rcx, rsi
mov rdx, rbx
mov r8, rax
call fcn.1400994a0
jmp 0x14005c388
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, 0x9dc
call fcn.140191960
int3

Function at 0x14005c300
Capabilities:
Get session user name

Disassembly:
mov edx, 2
jmp 0x14005c300
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov edi, edx
mov rsi, rcx
mov rax, qword [0x14023e038]
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 0x14005c345
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x14005c392
lea r14, [rsp + 0x34]
mov r15d, dword [r14]
inc r15d
mov dword [r14], r15d
add r15, r15
mov rcx, r15
call fcn.14015086c
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.140154340
mov ecx, edi
mov rdx, rbx
mov r8, r14
call sub.Secur32.dll_GetUserNameExW
test al, al
setne dil
jne 0x14005c3af
test rbx, rbx
je 0x14005c392
mov rcx, rbx
call fcn.140150874
jmp 0x14005c394
xor edi, edi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401513b0
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test rbx, rbx
je 0x14005c3cc
mov rcx, rbx
call fcn.1401791e4
mov rcx, rsi
mov rdx, rbx
mov r8, rax
call fcn.1400994a0
jmp 0x14005c388
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, 0x9dc
call fcn.140191960
int3
Function at 0x140061160
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 [0x14023e038]
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 0x1400611dd
mov ebp, eax
jmp 0x1400612ad
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.140154340
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 0x14006126d
mov rcx, r14
mov rdx, rbx
call fcn.140061160
test eax, eax
jne 0x14006129b
mov dword [rsp + 0x4c], 0x100
mov r12, qword [rsp + 0x58]
jmp 0x14006122b
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140061286
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.140061950
mov ebp, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400612ad
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1401513b0
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 0x140061950
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 0x1400619c7
mov rdi, qword [rdi]
cmp qword [rbx], 0
je 0x140061a2a
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140061a35
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140061a35
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.0x1401bb600.0]
jmp 0x140061a3a
cmp byte [0x140254858], 0
jne 0x140061a00
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400619f9
lea rdx, [0x14021bdb6]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140254850], rax
mov byte [0x140254858], 1
mov rax, qword [0x140254850]
test rax, rax
je 0x140061a42
mov r8d, dword [rdi + 8]
mov rcx, qword [rdi]
mov r10, qword [case.0x1401bb600.0]
mov rdx, rsi
xor r9d, r9d
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp r10
cmp dword [rbx + 8], 0
je 0x140061a35
mov rcx, rdi
jmp 0x140061a45
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 0x140067590
Capabilities:
Create process on windows

Disassembly:
mov rcx, rdx
jmp 0x1401c6080
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x40], r14
movaps xmm0, xmmword [0x140215460]
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.14011b550
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14010e6d0
call fcn.14009e750
cmp eax, 0xd
jl 0x1401c6189
lea rdi, [rsp + 0x30]
mov qword [rdi], r14
mov rcx, rdi
call fcn.1400ba6a0
cmp qword [rdi], 0
je 0x1401c6189
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1401c6129
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.0x1401bb600.0]
mov edi, eax
test rbx, rbx
je 0x1401c6163
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_ILFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1401c6183
mov qword [rsp + 0x30], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1401bb600.0]
mov bl, 1
test edi, edi
jns 0x1401c61bf
cmp byte [rsi + 0x17], 0
jns 0x1401c6192
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.14010e910
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401513b0
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14006a8b0
Capabilities:
Compare security identifiers

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rdx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x78], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x60]
mov qword [rdi], rax
mov rcx, rdi
call fcn.140069710
mov rdi, qword [rdi]
test rdi, rdi
je 0x14006a964
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 0x14006a969
test rbx, rbx
je 0x14006a977
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 0x14006a97a
mov byte [rsi], 0
jmp 0x14006a983
test rbx, rbx
je 0x14006a977
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.1401513b0
mov rax, rsi
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret

Function at 0x14006a9a0
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 [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x50], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x48]
mov qword [rdi], rax
mov rcx, rdi
call fcn.140069710
mov rdi, qword [rdi]
test rdi, rdi
je 0x14006aa22
mov qword [rsp + 0x40], 0
cmp byte [r14 + 0x17], 0
jns 0x14006a9f6
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 0x14006aa27
mov byte [rsi], 0
jmp 0x14006aa3f
mov byte [rsi], 0
jmp 0x14006aa48
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.1401513b0
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14006afe0
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 [0x14023e038]
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 0x14006b0b9
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14006b102
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
jne 0x14006b1bc
mov ecx, 2
call fcn.14011b470
test al, al
je 0x14006b158
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.1401c2b40
lea rcx, [rsp + 0x50]
lea rdx, str.Failed_to_lock_string
jmp 0x14006b145
mov ecx, 2
call fcn.14011b470
test al, al
je 0x14006b158
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.1401c2b40
lea rcx, [rsp + 0x50]
lea rdx, str.Failed_to_find_string
jmp 0x14006b145
mov ecx, 2
call fcn.14011b470
test al, al
je 0x14006b158
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.1401c2b40
lea rcx, [rsp + 0x50]
lea rdx, str.Failed_to_load_string
mov r8d, shutdown
call fcn.14018f2a0
mov rcx, rdi
call fcn.1401c2bc0
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 0x14006b19d
mov rcx, qword [rsp + 0x180]
call fcn.14015082c
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401513b0
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 0x14006b1d4
movzx ecx, word [rax]
lea rax, [rax + rcx*2]
add rax, 2
dec edi
jne 0x14006b1c5
movzx ecx, word [rax]
add rax, 2
jne 0x14006b1e2
test cx, cx
jne 0x14006b249
mov rdi, qword [rsp + 0x1f0]
movzx r8d, cx
lea rbx, [rsp + 0x180]
mov rcx, rbx
mov rdx, rax
call fcn.1400994a0
mov rax, qword [rdi]
cmp rax, qword [rdi + 8]
je 0x14006b158
movzx eax, byte [rsp + 0x197]
test al, al
cmovs rbx, qword [rsp + 0x180]
lea rdx, [rsp + 0x30]
mov qword [rdx], rbx
cmovs rax, qword [rsp + 0x188]
mov qword [rdx + 8], rax
mov rcx, rsi
mov r8, rdi
xor r9d, r9d
call fcn.1401bbf50
jmp 0x14006b186
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, 0x91f
call fcn.140191960
int3
Function at 0x14006e790
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rdx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x38]
mov qword [r8], 0
lea rdx, [0x14006b280]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
cmp eax, 1
jne 0x14006e8f4
lea rdi, [rsp + 0x38]
mov rcx, qword [rdi]
lea r8, [0x14021c88a]
mov edx, 0x86
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
mov qword [rdi], 0
lea rdx, [0x14006b280]
mov ecx, 6
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
cmp eax, 1
jne 0x14006e8f7
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, [0x14006b280]
mov ecx, 6
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
cmp eax, 1
jne 0x14006e8fa
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
lea rcx, [0x140215e38]
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.1400abfe0
movzx eax, byte [rsp + 0x4f]
test al, al
cmovs rdi, qword [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov qword [rdx], rdi
cmovs rax, qword [rsp + 0x40]
mov qword [rdx + 8], rax
mov dword [rsp + 0x20], 0
mov rcx, rsi
mov r8, rbx
mov r9d, 1
call fcn.1400a2460
cmp byte [rsp + 0x4f], 0
jns 0x14006e8da
mov rcx, qword [rsp + 0x38]
call fcn.14015082c
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401513b0
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
int3
int3
Function at 0x14006ebc0
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x170
movaps xmmword [rsp + 0x160], xmm6
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x158], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0xf8], xmm0
movups xmmword [rsp + 0xe8], xmm0
movups xmmword [rsp + 0xd8], xmm0
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xb8], xmm0
mov qword [rsp + 0x108], 0
movabs rax, 0x4000000070
mov qword [rsp + 0xa0], rax
lea rax, str.runas
mov qword [rsp + 0xb0], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], r15
movaps xmm6, xmmword [0x140215460]
movaps xmmword [rsp + 0x80], xmm6
lea r14, [rsp + 0x110]
mov rcx, r8
mov rdx, r14
call fcn.1400b7290
cmp byte [r14 + 0x17], 0
js 0x14006ee0c
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [rsp + 0x110]
movaps xmmword [rsp + 0x80], xmm0
lea rcx, [rsp + 0x110]
call fcn.14011c0c0
cmp byte [rsp + 0x97], 0
jns 0x14006ecd1
mov rax, qword [rsp + 0x80]
jmp 0x14006ecd9
lea rax, [rsp + 0x80]
mov qword [rsp + 0xb8], rax
lea r14, [rsp + 0x60]
mov qword [r14 + 0x10], r15
movaps xmmword [r14], xmm6
mov rcx, rbx
mov rdx, r14
call fcn.1400b83b0
cmp byte [r14 + 0x17], 0
jns 0x14006ed05
mov r14, qword [rsp + 0x60]
lea rbx, [rsp + 0xa0]
mov qword [rbx + 0x20], r14
mov dword [rbx + 0x30], 5
lea r14, [rsp + 0x110]
mov qword [r14 + 0x40], r15
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.RunElevatedProcess
lea r8, str.....operadesktopwindowsos_operationsos_operations_impl.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x176
call fcn.14011b550
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14010e6d0
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14006ed85
mov rdx, qword [rsp + 0x108]
lea rbx, [rsp + 0x30]
mov rcx, rbx
jmp 0x14006ed8f
lea rbx, [rsp + 0x20]
mov rcx, rbx
xor edx, edx
call fcn.1400a2dd0
mov rax, qword [rdi]
mov rax, qword [rax + 0xc0]
mov rcx, rdi
mov rdx, rsi
mov r8, rbx
call qword [case.0x1401bb600.0]
lea rcx, [rsp + 0x110]
call fcn.14010e910
cmp byte [rsp + 0x77], 0
jns 0x14006edcb
mov rcx, qword [rsp + 0x60]
call fcn.14015082c
cmp byte [rsp + 0x97], 0
jns 0x14006ede2
mov rcx, qword [rsp + 0x80]
call fcn.14015082c
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.1401513b0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x170
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x110]
mov r8, qword [rsp + 0x118]
lea rcx, [rsp + 0x80]
call fcn.1400991f0
jmp 0x14006ecb0