joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402d15c0
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x40], r12
movaps xmm6, xmmword [0x1403d47c0]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.DoCopyFile
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0x84
call fcn.140206ec0
xor ebp, ebp
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401fc090
mov rcx, rdi
call fcn.140208e70
test al, al
je 0x1402d1694
lea rcx, [rsp + 0x60]
call fcn.1401fc2c0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140253b80
mov eax, ebp
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, rsi
call fcn.140208e70
test al, al
je 0x1402d16a4
xor ebp, ebp
jmp 0x1402d165e
cmp byte [rdi + 0x17], 0
jns 0x1402d16b4
cmp qword [rdi + 8], 0x103
ja 0x1402d16a0
cmp byte [rsi + 0x17], 0
jns 0x1402d16c4
cmp qword [rsi + 8], 0x103
ja 0x1402d16a0
lea r14, [rsp + 0x40]
mov qword [r14 + 0x10], r12
movaps xmmword [r14], xmm6
lea rdx, str.DoCopyFile
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0x91
call fcn.140206ec0
lea r8, [0x14045fcdc]
mov rcx, r14
mov rdx, r15
call fcn.14014cad0
cmp byte [rsi + 0x17], 0
jns 0x1402d170d
mov rsi, qword [rsi]
movzx r8d, bl
cmp byte [rdi + 0x17], 0
jns 0x1402d171a
mov rdi, qword [rdi]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1402d1756
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bpl
je 0x1402d1758
mov ecx, eax
and ecx, 1
je 0x1402d1758
and eax, 0xfffffffe
mov rcx, rsi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bpl, 1
jmp 0x1402d1758
xor ebp, ebp
lea rcx, [rsp + 0x40]
call fcn.14014cdd0
jmp 0x1402d165e
Function at 0x1402d1d90
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x40]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x1403d47c0]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.MoveUnsafe
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0x498
call fcn.140206ec0
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401fc090
mov al, byte [rdi + 0x17]
test al, al
jns 0x1402d1832
cmp qword [rdi + 8], 0x103
jbe 0x1402d1832
lea rcx, [rsp + 0x40]
call fcn.1401fc2c0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140253b80
mov eax, ebx
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov cl, byte [rsi + 0x17]
test cl, cl
jns 0x1402d1847
cmp qword [rsi + 8], 0x103
jbe 0x1402d1847
xor ebx, ebx
jmp 0x1402d1806
mov rdx, rsi
test cl, cl
jns 0x1402d1851
mov rdx, qword [rsi]
mov rcx, rdi
test al, al
jns 0x1402d185b
mov rcx, qword [rdi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bl, 1
test eax, eax
jne 0x1402d1806
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, rdi
call fcn.1401022c0
test al, al
jne 0x1402d188b
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1402d1843
mov rcx, rdi
mov rdx, rsi
call fcn.1402d18a0
test al, al
jne 0x1402d1806
jmp 0x1402d1881
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.140208e70
test al, al
jne 0x1402d1db1
mov rcx, rsi
call fcn.140208e70
test al, al
je 0x1402d1dba
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x1402d1770
Function at 0x1402d2880
Capabilities:
Access the windows event log

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x858
mov rsi, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x850], rax
cmp byte [0x14044c218], 0
je 0x1402d2a5a
mov rdx, qword [0x14045fd20]
test rdx, rdx
je 0x1402d2a5a
cmp byte [rdx + 0x17], 0
jns 0x1402d28cb
mov rdx, qword [rdx]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
test rax, rax
je 0x1402d2a84
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140206ee0
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 [0x1403d47c0]
movaps xmmword [r14], xmm0
mov rdx, r14
call fcn.1401d30f0
mov eax, dword [rsi + 8]
test eax, eax
je 0x1402d2997
cmp eax, 1
je 0x1402d299d
mov bx, 1
add eax, 0xfffffffe
cmp eax, 2
jae 0x1402d29a1
lea r12, [rsp + 0x78]
mov r8d, 0x7d8
mov rcx, r12
mov dl, 0xaa
call fcn.140255cd0
mov rcx, r12
call fcn.14015ee00
lea r15, [rsp + 0x48]
mov rcx, r12
mov rdx, r15
call fcn.14033ddb0
movzx r8d, byte [r15 + 0x17]
test r8b, r8b
jns 0x1402d2977
mov r8, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.1401f06a0
cmp byte [rsp + 0x5f], 0
jns 0x1402d29a1
mov rcx, qword [rsp + 0x48]
call fcn.1402523c4
jmp 0x1402d29a1
mov bx, 4
jmp 0x1402d29a1
mov bx, 2
cmp byte [rsp + 0x77], 0
jns 0x1402d29ad
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x48], 0
mov rcx, qword [0x14045fd30]
cmp byte [rcx + 0x17], 0
jns 0x1402d29cb
mov rcx, qword [rcx]
lea rdx, [rsp + 0x48]
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
je 0x1402d2a9c
mov rax, qword [rsp + 0x48]
mov r9d, dword [0x14045fd2c]
movzx r8d, word [0x14045fd28]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x38], rcx
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, ebx
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
test eax, eax
je 0x1402d2ab7
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1402d2a3b
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [rsp + 0x77], 0
jns 0x1402d2a4c
mov rcx, qword [rsp + 0x60]
call fcn.1402523c4
call fcn.140206ee0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rsi
call fcn.1401113c0
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.140253b80
nop
add rsp, 0x858
pop rbx
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.140294040
jmp 0x1402d2a5a
lea rcx, [rsi + 0x10]
lea rdx, str.___ERROR_GETTING_USER_SID__
mov r8d, 0x1b
call fcn.140294040
jmp 0x1402d29dd
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.140294040
jmp 0x1402d2a2b
Function at 0x1402d6b90
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x14045fec0], 0
je 0x1402d6bd6
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140253b80
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x14045fe98]
test rdi, rdi
je 0x1402d6c77
test byte [0x14044c21c], 1
je 0x1402d6bb9
cmp byte [rdi + 0x17], 0
jns 0x1402d6bf8
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 [0x14045fec0], rax
inc rax
cmp rax, 1
ja 0x1402d6bb9
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140255cd0
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1402d6d3d
xor esi, esi
jmp 0x1402d6bb9
mov ecx, 0x18
call fcn.140252388
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140255cd0
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1403d47c0]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.140293e60
movzx eax, byte [rdi + 0x17]
mov rcx, rdi
test al, al
jns 0x1402d6cdf
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
jne 0x1402d6d05
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.1400e51d0
mov qword [0x14045fe98], rdi
jmp 0x1402d6be6
lea r8, [rax + rax]
test r8, r8
je 0x1402d6ce4
lea rdx, [r8 - 2]
cmp word [rcx + r8 - 2], 0x5c
mov r8, rdx
jne 0x1402d6d09
cmp rdx, 0xfffffffffffffffe
je 0x1402d6ce4
sar rdx, 1
cmp rax, rdx
jbe 0x1402d6e04
inc rdx
mov rcx, rdi
call fcn.140294220
jmp 0x1402d6ce4
mov rdi, qword [0x14045fe98]
lea rbx, [rsp + 0x40]
mov rcx, rbx
call fcn.14027c724
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.1400e4e20
mov rcx, qword [0x14045fe98]
call fcn.1402c9180
cmp word [rax], 0x5c
je 0x1402d6d8a
mov rcx, qword [0x14045fe98]
lea rdx, [0x1403d5af0]
mov r8d, 1
call fcn.1400e51d0
mov rcx, qword [0x14045fe98]
lea rdx, str.debug.log
mov r8d, 9
call fcn.1400e51d0
mov rcx, qword [0x14045fe98]
cmp byte [rcx + 0x17], 0
jns 0x1402d6db3
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 [0x14045fec0], rax
inc rax
cmp rax, 1
ja 0x1402d6bb9
mov qword [0x14045fec0], 0
jmp 0x1402d6c70
mov rcx, rdi
call fcn.140294000
int3
Function at 0x1402e24b0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x278], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x1403d47c0]
movups xmmword [rcx], xmm0
call fcn.140207690
mov eax, ebx
xor al, 1
movzx eax, al
lea ecx, [rax + rax*8]
add ecx, 0x67
mov rdx, rsi
call fcn.140104c40
test al, al
jne 0x1402e2596
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140255cd0
mov word [rdi], 0
lea rax, [0x1403e6ee0]
lea rcx, str.LOCALAPPDATA
test bl, bl
cmovne rcx, rax
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x102
ja 0x1402e2574
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14027c724
mov qword [rbx + 8], rax
lea rcx, [rsp + 0x48]
mov rdx, rbx
call fcn.1402077c0
jmp 0x1402e257e
lea rcx, [rsp + 0x48]
call fcn.140207690
lea rdi, [rsp + 0x48]
mov rcx, rsi
mov rdx, rdi
call fcn.140207960
mov rcx, rdi
call fcn.140207950
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x1402e25a2
mov rax, qword [rsi + 8]
test rax, rax
je 0x1402e2665
lea rdi, [rsp + 0x48]
mov rcx, rdi
call fcn.140118be0
movzx eax, byte [rdi + 0x17]
test al, al
mov rcx, qword [rdi]
cmovns rcx, rdi
lea r8, [rsp + 0x38]
mov qword [r8], rcx
cmovs rax, qword [rdi + 8]
mov qword [r8 + 8], rax
lea rbx, [rsp + 0x70]
mov rcx, rsi
mov rdx, rbx
call fcn.140208370
mov rcx, rsi
mov rdx, rbx
call fcn.140207960
mov rcx, rbx
call fcn.140207950
cmp byte [rdi + 0x17], 0
jns 0x1402e2609
mov rcx, qword [rsp + 0x48]
call fcn.1402523c4
lea rcx, [0x1403d9130]
lea rdi, [rsp + 0x28]
mov qword [rdi], rcx
call fcn.14027c724
mov qword [rdi + 8], rax
lea rbx, [rsp + 0x70]
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.140208370
mov rcx, rsi
mov rdx, rbx
call fcn.140207960
mov rcx, rbx
call fcn.140207950
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140253b80
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
int3
Function at 0x1402e55f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
lea rax, [0x1404602b0]
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 0x1402e5603
mov eax, 0x100
lea rcx, [0x1404602b0]
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 0x1402e56c6
lea rax, [0x140252c70]
mov qword [0x1404622b0], rax
mov qword [0x1404602a8], rax
lea rsi, [0x140252b80]
mov qword [0x1404622b8], rsi
call fcn.140349150
test eax, eax
jne 0x1402e5719
mov qword [0x1404602a8], rsi
add rsp, 0x20
pop rsi
ret
Function at 0x1402eb970
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x1404624a8]
test rax, rax
je 0x1402eba75
cmp eax, 2
jne 0x1402eb9ec
mov ecx, 2
call fcn.140206de0
test al, al
je 0x1402eba45
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x8e
mov r9d, 2
call fcn.140110ed0
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x1402ebac6
mov eax, 1
lock xadd qword [0x1404624e0], rax
test rax, rax
jle 0x1402eba0c
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140462460], eax
mov qword [0x140462458], rsi
mov rcx, qword [0x140458750]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.140206de0
test al, al
jne 0x1402eba94
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.140253b80
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x1404624a8]
test rax, rax
je 0x1402eba7c
jmp 0x1402eb99e
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, ILCreateFromPathW
mov r9d, 2
call fcn.140110ed0
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.140294040
mov rcx, rsi
call fcn.1401113c0
jmp 0x1402eba45

Function at 0x1402ecd10
Capabilities:
Prepare http request

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x60], rax
movzx ebp, byte [rcx + 0xd0]
shl ebp, 0x17
or ebp, 0x100
lea rax, [rcx + 0xf8]
movzx ecx, byte [rcx + 0x10f]
test cl, cl
cmovs rax, qword [rdi + 0xf8]
mov rsi, rdx
lea rdx, [rsp + 0x38]
mov qword [rdx], rax
cmovs rcx, qword [rdi + 0x100]
mov qword [rdx + 8], rcx
lea rbx, [rsp + 0x48]
mov rcx, rbx
call fcn.14016b990
cmp byte [rbx + 0x17], 0
jns 0x1402ecd81
mov rbx, qword [rsp + 0x48]
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, str.pB_
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov byte [rsi + 0x10], 0
cmp byte [rsp + 0x5f], 0
jns 0x1402ecdc7
mov rcx, qword [rsp + 0x48]
call fcn.1402523c4
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140253b80
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1402ed820
Capabilities:
Receive http response

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov rdx, qword [rcx + 0x160]
mov r8, qword [rcx + 0x168]
mov rax, r8
sub rax, rdx
cmp rax, 0x3fff
ja 0x1402ed887
lea rcx, [rsi + 0x160]
mov edx, 0x4000
sub rdx, rax
call fcn.1401d94d0
mov rdx, qword [rsi + 0x160]
mov r8, qword [rsi + 0x168]
cmp rdx, r8
je 0x1402ed8a9
sub r8d, edx
mov rcx, qword [rsi + 0x40]
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1402ed89f
xor eax, eax
add rsp, 0x30
pop rsi
ret
cmp rax, 0x4000
je 0x1402ed866
lea r8, [rdx + 0x4000]
mov qword [rsi + 0x168], r8
jmp 0x1402ed86b
add rsp, 0x30
pop rsi
jmp fcn.140356690
lea rax, str.front___called_on_an_empty_vector
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_vector
lea r9, str._empty__
mov r8d, 0x237
call fcn.1402984b0
int3

Function at 0x14031ab20
Capabilities:
Create process on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x40], r14
movaps xmm0, xmmword [0x1403d47c0]
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.140206ec0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1401fc090
call fcn.140149ba0
cmp eax, 0xd
jge 0x14031ac03
cmp byte [rsi + 0x17], 0
jns 0x14031abac
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.1401fc2c0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140253b80
mov eax, esi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdi, [rsp + 0x30]
mov qword [rdi], r14
mov rcx, rdi
call fcn.14031ae10
cmp qword [rdi], 0
je 0x14031ac8b
cmp byte [rsi + 0x17], 0
jns 0x14031ac22
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 [case.0x1402ceef0.0]
test eax, eax
setns sil
test rdi, rdi
je 0x14031ac62
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_ILFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14031abda
mov qword [rsp + 0x30], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1402ceef0.0]
jmp 0x14031abda
xor esi, esi
jmp 0x14031abda
Function at 0x14031aca0
Capabilities:
Create process on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x40], r14
movaps xmm0, xmmword [0x1403d47c0]
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.140206ec0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1401fc090
call fcn.140149ba0
cmp eax, 0xd
jge 0x14031ad82
cmp byte [rsi + 0x17], 0
jns 0x14031ad2c
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.1401fc2c0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140253b80
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdi, [rsp + 0x30]
mov qword [rdi], r14
mov rcx, rdi
call fcn.14031ae10
cmp qword [rdi], 0
je 0x14031ad23
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14031ada4
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.0x1402ceef0.0]
mov edi, eax
test rbx, rbx
je 0x14031adde
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_ILFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14031adfe
mov qword [rsp + 0x30], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1402ceef0.0]
mov bl, 1
test edi, edi
jns 0x14031ad59
jmp 0x14031ad23

Function at 0x14031b090
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x268
mov rsi, rdx
mov edi, ecx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rbx, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140255cd0
mov word [rbx], 0
mov qword [rsp + 0x20], rbx
xor ecx, ecx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x14031b11f
lea r14, [rsp + 0x28]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14027c724
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov rdx, r14
call fcn.1402077c0
mov rcx, rsi
mov rdx, rbx
call fcn.140207960
mov rcx, rbx
call fcn.140207950
test edi, edi
setns bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140253b80
mov eax, ebx
add rsp, 0x268
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14031b650
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov r12, qword [rcx + 0x58]
mov ebx, 1
cmp rdi, r12
je 0x14031b6e4
mov rsi, r8
mov r14, rcx
lea r15, [rsp + 0x20]
mov rcx, rdi
mov rdx, r15
call fcn.14031c490
test al, al
jne 0x14031b6ac
add rdi, 0x70
cmp rdi, r12
jne 0x14031b691
mov rdi, r12
cmp rdi, qword [r14 + 0x58]
je 0x14031b6e4
cmp byte [rdi + 0x27], 0
jns 0x14031b6be
mov rcx, qword [rdi + 0x10]
jmp 0x14031b6c2
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov ebx, 1
cmovne ebx, ecx
test ebx, ebx
jne 0x14031b6e4
mov qword [rsi], rdi
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140253b80
mov eax, ebx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x14031b870
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov r14, qword [rcx + 0x50]
mov r12, qword [rcx + 0x58]
mov esi, 1
cmp r14, r12
je 0x14031b8f8
mov rdi, r9
mov ebp, r8d
mov rbx, rcx
lea r15, [rsp + 0x20]
mov rcx, r14
mov rdx, r15
call fcn.14031c490
test al, al
jne 0x14031b8d0
add r14, 0x70
cmp r14, r12
jne 0x14031b8b5
mov r14, r12
cmp r14, qword [rbx + 0x58]
je 0x14031b8f8
mov eax, dword [r14 + 0x68]
cmp eax, ebp
jne 0x14031b8eb
cmp byte [r14 + 0x27], 0
jns 0x14031b916
mov rcx, qword [r14 + 0x10]
jmp 0x14031b91a
xor ecx, ecx
cmp eax, 1
sete cl
lea esi, [rcx + rcx*2]
inc esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140253b80
mov eax, esi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14031b8f8
shr eax, 3
and eax, 2
mov esi, eax
jne 0x14031b8f8
mov byte [rbx + 0x48], 1
mov qword [rdi], r14
xor esi, esi
jmp 0x14031b8f8
Function at 0x14032c3d0
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
movabs rax, 0x4000000000
mov qword [rcx + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x40], xmm0
mov eax, 1
ret