joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140146a60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov r15, rdx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rdx]
lea r12, [rdx + 8]
test rax, rax
mov rdx, r12
cmove rdx, rax
mov ebp, dword [rdx + 8]
xor ebx, ebx
test ebp, ebp
setne bl
lea rdi, [r15 + 0x28]
xor edx, edx
cmp rax, 1
cmovbe rdi, rdx
mov dword [rsp + 0x20], ebp
mov ebp, dword [rdi + 8]
test ebp, ebp
mov edi, 2
cmove rdi, rbx
lea rbx, [r15 + 0x48]
cmp rax, 2
cmovbe rbx, rdx
mov dword [rsp + 0x24], ebp
mov ebp, dword [rbx + 8]
test ebp, ebp
mov ebx, 3
cmove rbx, rdi
lea rdi, [r15 + 0x68]
cmp rax, 3
cmovbe rdi, rdx
mov dword [rsp + 0x28], ebp
mov ebp, dword [rdi + 8]
test ebp, ebp
mov edi, 4
cmove rdi, rbx
lea rbx, [r15 + 0x88]
cmp rax, 4
cmovbe rbx, rdx
mov dword [rsp + 0x2c], ebp
mov ebp, dword [rbx + 8]
test ebp, ebp
mov ebx, 5
cmove rbx, rdi
lea rdi, [r15 + 0xa8]
cmp rax, 5
cmovbe rdi, rdx
mov dword [rsp + 0x30], ebp
mov ebp, dword [rdi + 8]
test ebp, ebp
mov edi, 6
cmove rdi, rbx
lea rbx, [r15 + 0xc8]
cmp rax, 6
cmovbe rbx, rdx
mov dword [rsp + 0x34], ebp
mov ebp, dword [rbx + 8]
test ebp, ebp
mov ebx, 7
cmove rbx, rdi
lea rdi, [r15 + 0xe8]
cmp rax, 7
cmovbe rdi, rdx
mov dword [rsp + 0x38], ebp
mov ebp, dword [rdi + 8]
test ebp, ebp
mov edi, 8
cmove rdi, rbx
lea rbx, [r15 + 0x108]
cmp rax, 8
cmovbe rbx, rdx
mov r14, rcx
mov dword [rsp + 0x3c], ebp
mov ecx, dword [rbx + 8]
test ecx, ecx
mov ebp, 9
cmove rbp, rdi
cmp rax, 9
lea rax, [r15 + 0x128]
cmovbe rax, rdx
mov dword [rsp + 0x40], ecx
mov eax, dword [rax + 8]
mov dword [rsp + 0x44], eax
test eax, eax
mov r13d, 0xa
cmove r13, rbp
mov rsi, qword [r14]
lea rdi, [r14 + 8]
test rsi, rsi
cmovne rsi, rdi
mov rcx, rsi
mov rdx, r13
call fcn.140146130
mov ebx, eax
test al, al
je 0x140146c0e
test r13, r13
je 0x140146c0e
mov ebp, 1
mov edx, dword [rsp + rbp*4 + 0x1c]
mov rcx, rsi
call fcn.140146130
mov ebx, eax
test al, al
je 0x140146c0e
lea rax, [rbp + 1]
cmp rbp, r13
mov rbp, rax
jb 0x140146bf0
test bl, bl
je 0x140146c53
test r13, r13
je 0x140146c53
mov esi, 1
lea rax, [rsi - 1]
mov rcx, rdi
cmp qword [r14], rax
ja 0x140146c2a
xor ecx, ecx
mov rdx, r12
cmp qword [r15], rax
ja 0x140146c34
xor edx, edx
call fcn.140146220
mov ebx, eax
test al, al
je 0x140146c53
lea rax, [rsi + 1]
add r12, 0x20
add rdi, 0x20
cmp rsi, r13
mov rsi, rax
jb 0x140146c1c
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14015ce70
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.1401109bc
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x14015cee0]
xor ecx, ecx
xor edx, edx
mov r9, rax
call fcn.14011ea00
mov qword [rbx], rax
test rax, rax
je 0x14015cec7
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x14015e6d0
Capabilities:
Move file

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.1400e7e10
test al, al
jne 0x14015e6f1
mov rcx, rsi
call fcn.1400e7e10
test al, al
je 0x14015e6fa
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 0x140163290
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x50], rax
movaps xmm0, xmmword [0x1401e90c0]
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
lea rdx, str.MoveUnsafe
lea r8, str..._.._base_files_file_util_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r9d, 0x455
call fcn.1400e8370
xor ebx, ebx
mov rcx, rbp
mov rdx, rsi
xor r8d, r8d
call fcn.1400f4950
movzx eax, byte [rdi + 0x17]
mov rcx, rax
test al, al
jns 0x140163323
mov rcx, qword [rdi + 8]
cmp rcx, 0x103
jbe 0x140163356
lea rcx, [rsp + 0x40]
call fcn.1400f49b0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
movzx ecx, byte [r14 + 0x17]
mov rdx, rcx
test cl, cl
jns 0x140163366
mov rdx, qword [r14 + 8]
cmp rdx, 0x103
jbe 0x140163373
xor ebx, ebx
jmp 0x14016332c
mov rdx, r14
test cl, cl
jns 0x14016337d
mov rdx, qword [r14]
mov rcx, rdi
test al, al
jns 0x140163387
mov rcx, qword [rdi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bl, 1
test eax, eax
jne 0x14016332c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, rdi
call fcn.140050680
test al, al
jne 0x1401633b7
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14016336f
mov rcx, rdi
mov rdx, r14
call fcn.1401633d0
test al, al
jne 0x14016332c
jmp 0x1401633ad
Function at 0x1401601f0
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, rcx
mov edi, 2
cmp rdx, 1
jne 0x14016022a
mov rsi, qword [r14 + 8]
cmp rdi, rsi
ja 0x14016032b
jae 0x140160321
mov rax, qword [r14 + 0x18]
test rax, rax
js 0x140160245
cvtsi2ss xmm0, rax
jmp 0x14016025a
lea rax, [rdx - 1]
test rdx, rax
jne 0x140160238
mov rdi, rdx
jmp 0x140160207
mov rcx, rdx
call fcn.1400e2460
mov rdi, rax
jmp 0x140160207
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [r14 + 0x20]
call fcn.14013fae0
cvttss2si rcx, xmm0
movss xmm1, dword [0x1401eaa64]
movaps xmm2, xmm0
subss xmm2, xmm1
cvttss2si rax, xmm2
btc rax, 0x3f
ucomiss xmm0, xmm1
cmovb rax, rcx
cmp rsi, 3
jb 0x14016030d
mov rcx, rsi
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rbx, rsi
sub rbx, rdx
movabs rdx, 0x3333333333333333
mov rcx, rbx
shr rcx, 2
and rbx, rdx
and rcx, rdx
add rcx, rbx
mov rdx, rcx
shr rdx, 4
add rdx, rcx
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rdx
movabs rdx, 0x101010101010101
imul rdx, rcx
shr rdx, 0x38
cmp edx, 1
ja 0x14016030d
cmp rax, 2
jb 0x140160315
dec rax
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x140160315
mov rcx, rax
call fcn.1400e2460
cmp rdi, rax
cmovb rdi, rax
cmp rdi, rsi
jb 0x14016032b
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, r14
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x140143fd0

Function at 0x140162660
Capabilities:
Move file

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x40]
mov qword [rbx + 0x50], rax
movaps xmm0, xmmword [0x1401e90c0]
movaps xmmword [rbx + 0x40], xmm0
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.DeleteFileAfterReboot
lea r8, str..._.._base_files_file_util_win.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x1bb
call fcn.1400e8370
xor ebp, ebp
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
call fcn.1400f4950
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x1401626ed
mov rcx, qword [rsi + 8]
cmp rcx, 0x103
ja 0x140162714
test al, al
jns 0x1401626fd
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne bpl
lea rcx, [rsp + 0x40]
call fcn.1400f49b0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140111870
mov eax, ebp
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1401630d0
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, 0xd0
movaps xmmword [rsp + 0xc0], xmm6
mov r14d, r8d
mov r15, rdx
mov rdi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x60]
mov qword [rbx + 0x50], r12
movaps xmm6, xmmword [0x1401e90c0]
movaps xmmword [rbx + 0x40], xmm6
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.DoCopyFile
lea r8, str..._.._base_files_file_util_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r9d, 0xb8
call fcn.1400e8370
xor ebp, ebp
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
call fcn.1400f4950
mov rcx, rdi
call fcn.1400e7e10
test al, al
je 0x1401631a4
lea rcx, [rsp + 0x60]
call fcn.1400f49b0
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140111870
mov eax, ebp
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, r15
call fcn.1400e7e10
test al, al
je 0x1401631b4
xor ebp, ebp
jmp 0x14016316e
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x1401631c0
mov rax, qword [rdi + 8]
cmp rax, 0x103
ja 0x1401631b0
movzx eax, byte [r15 + 0x17]
test al, al
jns 0x1401631d5
mov rax, qword [r15 + 8]
cmp rax, 0x103
ja 0x1401631b0
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x10], r12
movaps xmmword [rsi], xmm6
lea rdx, str.DoCopyFile
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0xc5
call fcn.1400e8370
lea r8, [0x140221d64]
mov rcx, rsi
mov rdx, rbx
call fcn.140081890
cmp byte [r15 + 0x17], 0
jns 0x140163226
mov r15, qword [r15]
movzx r8d, r14b
cmp byte [rdi + 0x17], 0
jns 0x140163233
mov rdi, qword [rdi]
mov rcx, rdi
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14016327e
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
je 0x140163268
mov eax, edi
and eax, 1
je 0x140163268
mov edx, edi
and edx, 0xfffffffe
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp edi, 0xffffffff
setne bpl
lea rcx, [rsp + 0x40]
call fcn.140081990
jmp 0x14016316e
xor ebp, ebp
jmp 0x14016326f
Function at 0x140163290
Capabilities:
Move file

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.1400e7e10
test al, al
jne 0x14015e6f1
mov rcx, rsi
call fcn.1400e7e10
test al, al
je 0x14015e6fa
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 0x140163290
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x50], rax
movaps xmm0, xmmword [0x1401e90c0]
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
lea rdx, str.MoveUnsafe
lea r8, str..._.._base_files_file_util_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r9d, 0x455
call fcn.1400e8370
xor ebx, ebx
mov rcx, rbp
mov rdx, rsi
xor r8d, r8d
call fcn.1400f4950
movzx eax, byte [rdi + 0x17]
mov rcx, rax
test al, al
jns 0x140163323
mov rcx, qword [rdi + 8]
cmp rcx, 0x103
jbe 0x140163356
lea rcx, [rsp + 0x40]
call fcn.1400f49b0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
movzx ecx, byte [r14 + 0x17]
mov rdx, rcx
test cl, cl
jns 0x140163366
mov rdx, qword [r14 + 8]
cmp rdx, 0x103
jbe 0x140163373
xor ebx, ebx
jmp 0x14016332c
mov rdx, r14
test cl, cl
jns 0x14016337d
mov rdx, qword [r14]
mov rcx, rdi
test al, al
jns 0x140163387
mov rcx, qword [rdi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bl, 1
test eax, eax
jne 0x14016332c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, rdi
call fcn.140050680
test al, al
jne 0x1401633b7
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14016336f
mov rcx, rdi
mov rdx, r14
call fcn.1401633d0
test al, al
jne 0x14016332c
jmp 0x1401633ad
Function at 0x140163910
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x14016398f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x140163994
test bl, bl
je 0x14016396b
cmp byte [rdi + 8], 0
je 0x1401639f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov edx, esi
call fcn.140053140
mov sil, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140111870
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rdi]
jmp 0x14016393d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rdi + 8], 0
je 0x1401639bc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401639c1
xor esi, esi
jmp 0x140163978
mov rcx, qword [rdi]
jmp 0x1401639a9
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rdi + 8], 0
je 0x1401639f8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14016396b
mov esi, dword [rsp + 0x24]
jmp 0x14016396b
mov rcx, qword [rdi]
jmp 0x140163960
mov rcx, qword [rdi]
jmp 0x1401639d8

Function at 0x140164130
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, r8
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x4c]
mov dword [r9], ntohl
lea rax, [rsp + 0x40]
mov qword [rax], 0
lea rdi, [rsp + 0x3c]
mov dword [rdi], 8
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x14016419d
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140111870
mov eax, edi
add rsp, 0x58
pop rdi
pop rsi
ret
mov eax, dword [rsp + 0x4c]
and eax, 0xfffffff7
mov edi, 0x3f4
cmp eax, 3
jne 0x140164187
cmp dword [rsp + 0x3c], 8
jne 0x140164187
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
xor edi, edi
jmp 0x140164187

Function at 0x1401641d0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov eax, dword [rsp + 0x60]
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9d, eax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x38
ret
Function at 0x140167680
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x238], rax
lea rdi, [rsp + 0x30]
mov r8d, 0x200
mov rcx, rdi
mov dl, 0xaa
call fcn.140114200
lea rbx, [rsp + 0x2c]
mov dword [rbx], 0x100
mov rcx, rdi
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
sete al
mov edx, dword [rbx]
test rdx, rdx
sete bl
or bl, al
jne 0x14016770b
mov rcx, rsi
call fcn.1400322f0
mov edx, 1
mov rcx, rsi
mov r8w, 0x2e
call fcn.140032750
mov r8d, dword [rsp + 0x2c]
dec r8d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400e4c40
xor bl, 1
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
add rsp, 0x240
pop rbx
pop rdi
pop rsi
ret
Function at 0x14016f140
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x140221f30]
test rax, rax
je 0x14016f284
cmp eax, 2
jne 0x14016f1bc
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x14016f254
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x83
mov r9d, 2
call fcn.14004a130
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x14016f247
mov eax, 1
lock xadd qword [0x140221f68], rax
test rax, rax
jle 0x14016f1dc
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140221ee8], eax
mov qword [0x140221ee0], rsi
mov rcx, qword [0x14021d778]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x14016f254
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xaf
mov r9d, 2
call fcn.14004a130
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.1400dd7e0
mov rcx, rsi
call fcn.14004a5c0
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.140111870
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 [0x140221f30]
test rax, rax
je 0x14016f28b
jmp 0x14016f16e

Function at 0x14016f420
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
lea r9, [0x140221f80]
xor ecx, ecx
mov r8d, 0xedb88320
mov edx, ecx
shr edx, 1
mov eax, ecx
and eax, 1
neg eax
and eax, r8d
xor eax, edx
shr eax, 1
and edx, 1
neg edx
and edx, r8d
xor edx, eax
shr edx, 1
and eax, 1
neg eax
and eax, r8d
xor eax, edx
shr eax, 1
and edx, 1
neg edx
and edx, r8d
xor edx, eax
shr edx, 1
and eax, 1
neg eax
and eax, r8d
xor eax, edx
shr eax, 1
and edx, 1
neg edx
and edx, r8d
xor edx, eax
shr edx, 1
and eax, 1
neg eax
and eax, r8d
xor eax, edx
shr eax, 1
and edx, 1
neg edx
and edx, r8d
xor edx, eax
mov dword [r9], edx
inc rcx
add r9, 4
cmp rcx, 0x100
jne 0x14016f434
mov eax, 0x100
lea rcx, [0x140221f80]
mov edx, dword [rcx + rax*4 - 0x400]
movzx esi, dl
shr edx, 8
xor edx, dword [rcx + rsi*4]
mov dword [rcx + rax*4], edx
inc rax
cmp rax, 0x800
jne 0x14016f4b7
lea rax, [0x14018b6a0]
mov qword [0x140223f80], rax
mov qword [0x140221f70], rax
lea rsi, [0x14018b770]
mov qword [0x140223f88], rsi
call fcn.14018b8a0
test eax, eax
jne 0x14016f508
mov qword [0x140221f70], rsi
add rsp, 0x20
pop rsi
ret
Function at 0x14016f610
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x268
mov r14, rdx
mov edi, ecx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rbx, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140114200
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 0x14016f69f
lea rsi, [rsp + 0x28]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.14012c3a4
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov rdx, rsi
call fcn.1400e67c0
mov rcx, r14
mov rdx, rbx
call fcn.1400e68b0
mov rcx, rbx
call fcn.1400e68a0
test edi, edi
setns bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
add rsp, 0x268
pop rbx
pop rdi
pop rsi
pop r14
ret

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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x38]
mov rbp, qword [rcx + 0x40]
mov r15d, 1
cmp rdi, rbp
je 0x14016ff48
mov r14, r8
mov rsi, rcx
lea rbx, [rsp + 0x20]
mov rcx, rdi
mov rdx, rbx
call fcn.140171aa0
test al, al
jne 0x14016ff0c
add rdi, 0x70
cmp rbp, rdi
jne 0x14016fef1
mov rdi, rbp
cmp rdi, qword [rsi + 0x40]
je 0x14016ff48
cmp byte [rdi + 0x27], 0
jns 0x14016ff1e
mov rcx, qword [rdi + 0x10]
jmp 0x14016ff22
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov r15d, 1
cmovne r15d, ecx
test r15d, r15d
jne 0x14016ff48
mov qword [r14], rdi
xor r15d, r15d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140111870
mov eax, r15d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1401701e0
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 [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x38]
mov rsi, qword [rcx + 0x40]
mov r12d, 1
cmp rdi, rsi
je 0x14017026a
mov r14, r9
mov r15d, r8d
mov rbx, rcx
lea rbp, [rsp + 0x20]
mov rcx, rdi
mov rdx, rbp
call fcn.140171aa0
test al, al
jne 0x140170241
add rdi, 0x70
cmp rsi, rdi
jne 0x140170226
mov rdi, rsi
cmp rdi, qword [rbx + 0x40]
je 0x14017026a
mov eax, dword [rdi + 0x68]
cmp eax, r15d
jne 0x14017025b
cmp byte [rdi + 0x27], 0
jns 0x140170289
mov rcx, qword [rdi + 0x10]
jmp 0x14017028d
xor ecx, ecx
cmp eax, 1
sete cl
lea r12d, [rcx + rcx*2]
inc r12d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140111870
mov eax, r12d
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14017026a
shr eax, 3
and eax, 2
mov r12d, eax
jne 0x14017026a
mov byte [rbx + 0x30], 1
mov qword [r14], rdi
xor r12d, r12d
jmp 0x14017026a
Function at 0x140173ee0
Capabilities:
Create process on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rdi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x50]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x1401e90c0]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, [0x1401f69a8]
lea r8, str..._.._base_win_shortcut.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x16c
call fcn.1400e8370
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400f4950
cmp byte [rdi + 0x17], 0
jns 0x140173f64
mov rdi, qword [rdi]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, str.taskbarpin
xor ecx, ecx
mov r8, rdi
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
setg bl
mov rcx, rsi
call fcn.1400f49b0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret