joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14020ec10
Capabilities:
Access the windows event log

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x860
mov rsi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x858], rax
cmp byte [0x140389998], 0
je 0x14020ede6
mov rdx, qword [0x140394be8]
test rdx, rdx
je 0x14020ede6
cmp byte [rdx + 0x17], 0
jns 0x14020ec5c
mov rdx, qword [rdx]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
test rax, rax
je 0x14020ee11
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140147ce0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 0x18]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x140307280]
movaps xmmword [r14], xmm0
lea rbx, [rsp + 0x80]
mov rdx, rbx
call fcn.140128d90
lea r15, [rsp + 0x48]
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.14003bcf0
mov eax, dword [rsi + 8]
test eax, eax
je 0x14020ed25
cmp eax, 1
je 0x14020ed2b
mov bp, 1
add eax, 0xfffffffe
cmp eax, 2
jae 0x14020ed2f
lea r12, [rsp + 0x80]
mov r8d, 0x7d8
mov rcx, r12
mov dl, 0xaa
call fcn.14019acc0
mov rcx, r12
call fcn.1400c2aa0
mov rcx, r12
mov rdx, r15
call fcn.140274f50
movzx r8d, byte [rsp + 0x5f]
test r8b, r8b
js 0x14020ee5f
and r8d, 0x7f
jmp 0x14020ee69
mov bp, 4
jmp 0x14020ed2f
mov bp, 2
cmp byte [rsp + 0x77], 0
jns 0x14020ed3b
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x48], 0
mov rcx, qword [0x140394bf8]
cmp byte [rcx + 0x17], 0
jns 0x14020ed5c
mov rcx, qword [rcx]
lea rdx, [rsp + 0x48]
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
je 0x14020ee29
mov rax, qword [rsp + 0x48]
mov r9d, dword [0x140394bf4]
movzx r8d, word [0x140394bf0]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, rdi
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
test eax, eax
je 0x14020ee44
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14020edc7
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [rsp + 0x77], 0
jns 0x14020edd8
mov rcx, qword [rsp + 0x60]
call fcn.1401973c4
call fcn.140147ce0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rsi
call fcn.140077de0
mov rcx, qword [rsp + 0x858]
xor rcx, rsp
call fcn.140198b70
nop
add rsp, 0x860
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.1401d1390
jmp 0x14020ede6
lea rcx, [rsi + 0x10]
lea rdx, str.___ERROR_GETTING_USER_SID__
mov r8d, 0x1b
call fcn.1401d1390
jmp 0x14020ed6e
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.1401d1390
jmp 0x14020edb7
mov r8, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.14004c6e0
cmp byte [rsp + 0x5f], 0
jns 0x14020ed2f
mov rcx, qword [rsp + 0x48]
call fcn.1401973c4
jmp 0x14020ed2f
Function at 0x140210ae0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x140394d58], 0
je 0x140210b26
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140198b70
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x140394d30]
test rdi, rdi
je 0x140210bc7
test byte [0x14038999c], 1
je 0x140210b09
cmp byte [rdi + 0x17], 0
jns 0x140210b48
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140394d58], rax
inc rax
cmp rax, 1
ja 0x140210b09
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14019acc0
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x140210c8c
xor esi, esi
jmp 0x140210b09
mov ecx, 0x18
call fcn.140197388
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.14019acc0
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x140307280]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1401d11a0
movzx eax, byte [rdi + 0x17]
test al, al
js 0x140210c2d
and eax, 0x7f
mov rcx, rdi
jmp 0x140210c34
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
je 0x140210c6b
add rax, rax
test rax, rax
je 0x140210c6b
lea rdx, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, rdx
jne 0x140210c3c
cmp rdx, 0xfffffffffffffffe
je 0x140210c6b
sar rdx, 1
inc rdx
mov rcx, rdi
mov r8, 0xffffffffffffffff
call fcn.14012e510
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.14004d350
mov qword [0x140394d30], rdi
jmp 0x140210b36
mov rdi, qword [0x140394d30]
lea rbx, [rsp + 0x40]
mov rcx, rbx
call fcn.1401ba964
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.14004d1f0
mov rcx, qword [0x140394d30]
call fcn.1402050e0
cmp word [rax], 0x5c
je 0x140210cd9
mov rcx, qword [0x140394d30]
lea rdx, [0x140308520]
mov r8d, 1
call fcn.14004d350
mov rcx, qword [0x140394d30]
lea rdx, str.debug.log
mov r8d, 9
call fcn.14004d350
mov rcx, qword [0x140394d30]
cmp byte [rcx + 0x17], 0
jns 0x140210d02
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140394d58], rax
inc rax
cmp rax, 1
ja 0x140210b09
mov qword [0x140394d58], 0
jmp 0x140210bc0
Function at 0x14021caa0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x258
movaps xmmword [rsp + 0x240], xmm6
mov edi, edx
mov rsi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x238], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov qword [rcx + 0x10], rbx
movaps xmm6, xmmword [0x140307280]
movups xmmword [rcx], xmm6
call fcn.140148670
mov ecx, edi
mov rdx, rsi
call fcn.14006dbd0
test al, al
je 0x14021cb1c
movzx eax, byte [rsi + 0x17]
test al, al
js 0x14021cb03
and eax, 0x7f
jmp 0x14021cb07
mov rax, qword [rsi + 8]
test rax, rax
je 0x14021cb1c
mov rcx, rsi
call fcn.14006ac00
test al, al
jne 0x14021cc09
mov rcx, rsi
call fcn.140148900
lea r14, [0x1403195a8]
mov ecx, 3
mov rax, rcx
jmp 0x14021cb4b
not rax
add rax, rcx
lea r14, [r14 + rdx*8]
add r14, 0x18
mov rcx, rax
test rax, rax
je 0x14021cb5a
shr rax, 1
lea rdx, [rax + rax*2]
cmp dword [r14 + rdx*8], edi
jge 0x14021cb43
jmp 0x14021cb35
lea rax, str.PROGRAMFILES
cmp r14, rax
je 0x14021cc01
cmp dword [r14], edi
jg 0x14021cc01
lea rdi, [rsp + 0x32]
mov r8d, 0x206
mov rcx, rdi
mov dl, 0xaa
call fcn.14019acc0
mov word [rdi - 2], 0
mov rcx, qword [r14 + 8]
lea rdi, [rsp + 0x30]
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x102
ja 0x14021cc01
mov qword [rsi + 0x10], rbx
movups xmmword [rsi], xmm6
lea rbx, [rsp + 0x20]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1401ba964
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1401487b0
mov rcx, rsi
call fcn.14007ad80
test al, al
je 0x14021cbf9
mov rcx, rsi
call fcn.14014b030
test al, al
jne 0x14021cbf9
mov rcx, rsi
call fcn.14006ac00
test al, al
jne 0x14021cc09
mov rcx, rsi
call fcn.140148900
mov rcx, rsi
call fcn.140148670
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140198b70
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x258
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14021f5a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
lea rax, [0x1403950e0]
xor ecx, ecx
mov edx, 0xedb88320
mov r9d, ecx
shr r9d, 1
mov r8d, ecx
and r8d, 1
neg r8d
and r8d, edx
xor r8d, r9d
mov r10d, r8d
shr r10d, 1
mov r9d, ecx
shl r9d, 0x1e
sar r9d, 0x1f
and r9d, edx
xor r9d, r10d
mov r10d, r9d
shr r10d, 6
mov r11d, ecx
shl r11d, 0x1d
sar r11d, 0x1f
and r11d, 0x76dc419
mov esi, ecx
shl esi, 0x1c
sar esi, 0x1f
and esi, 0xedb8832
xor esi, r11d
mov r11d, ecx
shl r11d, 0x1b
sar r11d, 0x1f
and r11d, 0x1db71064
xor r11d, esi
mov esi, ecx
shl esi, 0x1a
sar esi, 0x1f
and esi, 0x3b6e20c8
xor esi, r11d
xor esi, r10d
shl r8d, 0x1a
sar r8d, 0x1f
and r8d, 0x76dc4190
xor r8d, esi
shl r9d, 0x1a
sar r9d, 0x1f
and r9d, edx
xor r9d, r8d
mov dword [rax], r9d
inc rcx
add rax, 4
cmp rcx, 0x100
jne 0x14021f5b3
mov eax, 0x100
lea rcx, [0x1403950e0]
mov edx, dword [rcx + rax*4 - 0x400]
movzx r8d, dl
shr edx, 8
xor edx, dword [rcx + r8*4]
mov dword [rcx + rax*4], edx
inc rax
cmp rax, 0x800
jne 0x14021f676
lea rax, [0x140197c60]
mov qword [0x1403970e0], rax
mov qword [0x1403950d0], rax
lea rsi, [0x140197b70]
mov qword [0x1403970e8], rsi
call fcn.140281900
test eax, eax
jne 0x14021f6c9
mov qword [0x1403950d0], rsi
add rsp, 0x20
pop rsi
ret
Function at 0x140223660
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x140397140]
test rax, rax
jne 0x1402236a4
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x140397140]
test rax, rax
je 0x140223691
cmp eax, 2
jne 0x1402236fc
mov ecx, 2
call fcn.140147580
test al, al
je 0x140223759
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x8f
mov r9d, 2
call fcn.140077790
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
call fcn.1401d1390
mov rcx, rsi
call fcn.140077de0
jmp 0x140223759
mov eax, 1
lock xadd qword [0x140397178], rax
inc rax
cmp rax, 2
jl 0x140223720
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140397100], eax
mov qword [0x1403970f8], rsi
mov rcx, qword [0x140389c10]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.140147580
test al, al
jne 0x140223789
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140198b70
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, ILCreateFromPathW
mov r9d, 2
call fcn.140077790
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
jmp 0x1402236ed

Function at 0x14024ed80
Capabilities:
Prepare http request

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x68], rax
movzx ebp, byte [rcx + 0xd0]
shl ebp, 0x17
movzx r8d, byte [rcx + 0x10f]
test r8b, r8b
js 0x14024ee50
lea rdx, [rdi + 0xf8]
or ebp, 0x100
lea r14, [rsp + 0x40]
mov rcx, r14
call fcn.14011fcf0
lea rbx, [rsp + 0x50]
mov rcx, rbx
mov rdx, r14
call fcn.1400d7710
cmp byte [rbx + 0x17], 0
jns 0x14024edef
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rdi + 0x110]
mov dword [rsp + 0x30], ebp
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
lea rcx, [0x1403024d8]
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov byte [rsi + 0x10], 0
cmp byte [rsp + 0x67], 0
jns 0x14024ee35
mov rcx, qword [rsp + 0x50]
call fcn.1401973c4
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140198b70
mov rax, rsi
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rdx, qword [rdi + 0xf8]
mov r8, qword [rdi + 0x100]
jmp 0x14024edc1
Function at 0x14024f6c0
Capabilities:
Receive http response

Disassembly:
push rsi
sub rsp, 0x30
cmp qword [rcx + 0x40], 0
je 0x14024f713
mov rsi, rcx
add rcx, 0x160
mov edx, 0x4000
call fcn.14003e1c0
mov rdx, qword [rsi + 0x160]
mov r8, qword [rsi + 0x168]
cmp rdx, r8
je 0x14024f720
sub r8d, edx
mov rcx, qword [rsi + 0x40]
xor esi, esi
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x14024f718
add rsp, 0x30
pop rsi
jmp fcn.14028b0f0
mov esi, 0x800704c7
mov eax, esi
add rsp, 0x30
pop rsi
ret
lea rax, str.front___called_on_an_empty_vector
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_vector
lea r9, str._empty__
mov r8d, 0x26e
call fcn.1401df1c0
int3

Function at 0x140251000
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x140251061
test r12, r12
je 0x140251178
mov rax, qword [rdi]
mov qword [r12], rax
add qword [rsi + 0x10], 8
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140198b70
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x1402510c6
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x1402510af
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.14019a610
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
mov r12, r14
jmp 0x14025102e
mov rax, r12
sub rax, r14
sar rax, 2
cmp r12, r14
mov r15d, 1
cmovne r15, rax
lea rax, [rsi + 0x20]
mov qword [rsp + 0x50], rax
mov rax, r15
shr rax, 0x3d
jne 0x1402511a4
lea rcx, [r15*8]
call fcn.140197388
mov rdx, r15
and rdx, 0xfffffffffffffffc
mov rcx, r12
sub rcx, rbx
mov r9, r12
lea rdx, [rax + rdx*2]
mov r8, rdx
sub r9, rbx
je 0x140251143
sar rcx, 3
lea r8, [r9 + rdx]
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x140251178
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x14025112b
lea r9, [rax + r15*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x30]
mov qword [rcx], r14
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r12
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r12
call fcn.140251510
mov r12, qword [rsi + 0x10]
jmp 0x14025102e
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1401df1c0
call fcn.1401d1310
int3
Function at 0x1402511b0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x14025120f
mov r15, rbx
add r15, 0xfffffffffffffff8
je 0x140251320
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 8], 0xfffffffffffffff8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140198b70
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
cmp r14, r15
jae 0x14025126a
sub r15, r14
sar r15, 3
lea rax, [r15 + 1]
shr rax, 0x3f
lea r12, [r15 + rax]
inc r12
sar r12, 1
lea r15, [r14 + r12*8]
mov rax, r14
sub rax, rbx
sub r15, rax
sub r14, rbx
je 0x140251259
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.14019a610
mov rbx, qword [rsi + 0x10]
mov qword [rsi + 8], r15
lea rax, [rbx + r12*8]
mov qword [rsi + 0x10], rax
jmp 0x1402511de
mov rax, r15
sub rax, rbx
sar rax, 2
cmp r15, rbx
mov r12d, 1
cmovne r12, rax
lea rax, [rsi + 0x20]
mov qword [rsp + 0x48], rax
mov rax, r12
shr rax, 0x3d
jne 0x14025134c
lea rcx, [r12*8]
call fcn.140197388
lea rdx, [r12*2 + 6]
and rdx, 0xfffffffffffffff8
add rdx, rax
mov rcx, r14
sub rcx, rbx
mov r9, r14
mov r8, rdx
sub r9, rbx
je 0x1402512eb
sar rcx, 3
lea r8, [r9 + rdx]
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x140251320
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x1402512d3
lea r9, [rax + r12*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x28]
mov qword [rcx], rbx
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r14
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r15
call fcn.140251510
mov r15, qword [rsi + 8]
jmp 0x1402511de
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1401df1c0
call fcn.1401d1310
int3
Function at 0x140251360
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x1402513bf
mov r15, rbx
add r15, 0xfffffffffffffff8
je 0x1402514d0
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 8], 0xfffffffffffffff8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140198b70
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
cmp r14, r15
jae 0x14025141a
sub r15, r14
sar r15, 3
lea rax, [r15 + 1]
shr rax, 0x3f
lea r12, [r15 + rax]
inc r12
sar r12, 1
lea r15, [r14 + r12*8]
mov rax, r14
sub rax, rbx
sub r15, rax
sub r14, rbx
je 0x140251409
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.14019a610
mov rbx, qword [rsi + 0x10]
mov qword [rsi + 8], r15
lea rax, [rbx + r12*8]
mov qword [rsi + 0x10], rax
jmp 0x14025138e
mov rax, r15
sub rax, rbx
sar rax, 2
cmp r15, rbx
mov r12d, 1
cmovne r12, rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x48], rax
mov rax, r12
shr rax, 0x3d
jne 0x1402514fc
lea rcx, [r12*8]
call fcn.140197388
lea rdx, [r12*2 + 6]
and rdx, 0xfffffffffffffff8
add rdx, rax
mov rcx, r14
sub rcx, rbx
mov r9, r14
mov r8, rdx
sub r9, rbx
je 0x14025149b
sar rcx, 3
lea r8, [r9 + rdx]
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x1402514d0
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x140251483
lea r9, [rax + r12*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x28]
mov qword [rcx], rbx
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r14
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r15
call fcn.140251510
mov r15, qword [rsi + 8]
jmp 0x14025138e
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1401df1c0
call fcn.1401d1310
int3
Function at 0x140251bc0
Capabilities:
Create process on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x140307280]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.PinShortcutToTaskbar
lea r8, str.....chromeinstallerutil_taskbar_util.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x77
call fcn.140147cc0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14013c390
call fcn.1400afe60
cmp eax, 0xd
jge 0x140251c95
cmp byte [rsi + 0x17], 0
jns 0x140251c3c
mov rsi, qword [rsi]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, str.taskbarpin
xor ecx, ecx
mov r8, rsi
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x21
setge sil
lea rcx, [rsp + 0x50]
call fcn.14013c5d0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140198b70
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x140251c6a
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi], rax
mov rcx, rdi
call fcn.140251ea0
cmp qword [rdi], 0
je 0x140251c91
cmp byte [rsi + 0x17], 0
jns 0x140251cbe
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov rdi, rax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
xor edx, edx
mov r8, rdi
mov r9d, 4
call qword [0x1403b5008]
test eax, eax
setns sil
test rdi, rdi
je 0x140251cfe
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_ILFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140251c6a
mov qword [rsp + 0x30], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403b5008]
jmp 0x140251c6a
Function at 0x140251d30
Capabilities:
Create process on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x140307280]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.UnpinShortcutFromTaskbar
lea r8, str.....chromeinstallerutil_taskbar_util.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x83
call fcn.140147cc0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14013c390
call fcn.1400afe60
cmp eax, 0xd
jge 0x140251e00
cmp byte [rsi + 0x17], 0
jns 0x140251dac
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.14013c5d0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140198b70
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi], rax
mov rcx, rdi
call fcn.140251ea0
cmp qword [rdi], 0
je 0x140251da3
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140251e2c
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 [0x1403b5008]
mov edi, eax
test rbx, rbx
je 0x140251e66
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_ILFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140251e86
mov qword [rsp + 0x30], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403b5008]
mov bl, 1
test edi, edi
jns 0x140251dd9
jmp 0x140251da3

Function at 0x140252130
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x268
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rdi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14019acc0
mov word [rdi], 0
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, ebx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
test eax, eax
js 0x1402521bf
lea r14, [rsp + 0x28]
mov qword [r14], rdi
mov rcx, rdi
call fcn.1401ba964
mov qword [r14 + 8], rax
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov rdx, r14
call fcn.1401487b0
mov rcx, rsi
mov rdx, rdi
call fcn.140148980
mov rcx, rdi
call fcn.140148900
test ebx, ebx
setns bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140198b70
mov eax, ebx
add rsp, 0x268
pop rbx
pop rdi
pop rsi
pop r14
ret