joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e9f30
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140237098]
mov ecx, dword [0x14022f5ac]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400e9f91
movzx eax, word [0x140237068]
cmp rax, 0xc
ja case.0x1400e9f70.1
lea rcx, [0x1402024e8]
movsxd rdx, dword [rcx + rax*4]
add rdx, rcx
jmp rdx
mov eax, 2
jmp case.0x1400e9f70.0
mov eax, 4
jmp case.0x1400e9f70.0
mov eax, 1
jmp case.0x1400e9f70.0
mov eax, 3
add rsp, 0x28
ret
lea rcx, [0x140237098]
call fcn.14019d470
cmp dword [0x140237098], 0xffffffff
jne 0x1400e9f55
xorps xmm0, xmm0
movups xmmword [0x140237088], xmm0
movups xmmword [0x140237078], xmm0
movups xmmword [0x140237068], xmm0
lea rcx, [0x140237068]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140237098]
call fcn.14019d508
jmp 0x1400e9f55

Function at 0x1400ea770
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov edi, r9d
mov rsi, rcx
mov rax, qword [0x14021f030]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 0
test r8b, r8b
je 0x1400ea7d5
lea r8, [rsp + 0x30]
mov rcx, rdx
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400ea808
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400ea810
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp rbx, 0xffffffffffffffff
je 0x1400ea814
call fcn.1400afa60
jmp 0x1400ea816
or edi, 8
lea r8, [rsp + 0x30]
mov rcx, rdx
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400ea808
mov r14, qword [rsp + 0x30]
mov qword [rsp + 0x38], 0
test r14, r14
jne 0x1400ea885
jmp 0x1400ea8a9
mov byte [rsi], 0
jmp 0x1400ea8f1
xor ebx, ebx
jmp 0x1400ea81e
xor ebx, ebx
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
or edi, 8
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
xor r15d, r15d
mov rcx, rbx
mov edx, edi
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
mov r14, qword [rsp + 0x38]
cmovne r15, r14
mov qword [rsp + 0x30], r15
test r15, r15
je 0x1400ea8d7
lea rax, [rbx + 1]
cmp rax, 2
jae 0x1400ea90e
mov qword [rsp + 0x38], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400ea8a1
mov qword [rsp + 0x38], r14
call fcn.1400afa60
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi], 1
mov rcx, rsi
add rcx, 8
lea rdx, [rsp + 0x38]
call fcn.14002e7d4
mov rax, qword [rsp + 0x38]
inc rax
cmp rax, 2
jb 0x1400ea8f1
call fcn.1400afa60
mov rcx, qword [rsp + 0x38]
jmp 0x1400ea8ec
mov byte [rsi], 0
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400ea8f1
call fcn.1400afa60
mov rcx, rbx
call fcn.14008a660
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14019eb90
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400afa60
mov rcx, rbx
call fcn.14008a660
jmp 0x1400ea7ec
Function at 0x1400f0e20
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
Function at 0x1400ffc50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x1400ffc7b
xor ecx, ecx
lea r9, [0x140203140]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rcx
cmp r8, rcx
jne 0x1400ffc60
ret
Function at 0x140105c57
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 [0x14021f030]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rbx, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1401a0cc0
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 0x140105ce6
lea r14, [rsp + 0x28]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1401c2da4
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov rdx, r14
call fcn.1400b01a0
mov rcx, rsi
mov rdx, rbx
call fcn.1400b02b0
mov rcx, rbx
call fcn.1400b0280
test edi, edi
setns bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14019eb90
mov eax, ebx
add rsp, 0x268
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140105d87
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rcx
mov rax, qword [0x14021f030]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x60]
mov qword [r9], 0
lea rcx, [0x1401d8148]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x140105e25
mov rdx, qword [rsp + 0x60]
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.14002d076
movzx eax, byte [rdi + 0x17]
test al, al
mov rcx, qword [rdi]
cmovns rcx, rdi
lea rdx, [rsp + 0x38]
mov qword [rdx], rcx
cmovs rax, qword [rdi + 8]
mov qword [rdx + 8], rax
lea rbx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400b01a0
mov rcx, rsi
mov rdx, rbx
call fcn.1400b02b0
mov rcx, rbx
call fcn.1400b0280
cmp byte [rdi + 0x17], 0
jns 0x140105e21
mov rcx, qword [rsp + 0x20]
call fcn.14019d34c
mov bl, 1
jmp 0x140105e2f
mov rcx, rsi
call fcn.140105d0a
mov ebx, eax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140105e3f
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14019eb90
mov eax, ebx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x140106410
Capabilities:
Set environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rax, qword [0x14021f030]
xor rax, rsp
mov qword [rsp + 0x88], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
movzx eax, byte [r8 + 0x17]
test al, al
mov rcx, qword [r8]
cmovns rcx, r8
mov qword [rsp + 0x60], rcx
cmovs rax, qword [r8 + 8]
mov qword [rsp + 0x68], rax
lea rsi, [rsp + 0x70]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14009e820
cmp byte [rsp + 0x87], 0
jns 0x140106472
mov rsi, qword [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x30], xmm0
lea rdi, [rsp + 0x48]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14009e820
cmp byte [rsp + 0x5f], 0
jns 0x14010649a
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp byte [rsp + 0x5f], 0
js 0x1401064db
cmp byte [rsp + 0x87], 0
js 0x1401064ef
test esi, esi
setne bl
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14019eb90
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsp + 0x48]
call fcn.14019d34c
cmp byte [rsp + 0x87], 0
jns 0x1401064b9
mov rcx, qword [rsp + 0x70]
call fcn.14019d34c
jmp 0x1401064b9

Function at 0x140106580
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x14021f030]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x40], xmm0
lea rdi, [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14009e820
cmp byte [rsp + 0x6f], 0
jns 0x1401065c4
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x6f], 0
js 0x1401065e5
test rsi, rsi
jne 0x1401065f8
jmp 0x1401066a1
mov rcx, qword [rsp + 0x58]
call fcn.14019d34c
test rsi, rsi
je 0x1401066a1
test edi, edi
je 0x1401066a1
mov ecx, edi
add rcx, rcx
call fcn.14019d38c
mov rbx, rax
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x30], xmm0
lea r14, [rsp + 0x58]
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.14009e820
cmp byte [rsp + 0x6f], 0
jns 0x140106634
mov r14, qword [rsp + 0x58]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x6f], 0
jns 0x140106654
mov rcx, qword [rsp + 0x58]
call fcn.14019d34c
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x1401066bf
mov rcx, rbx
call fcn.1401c2da4
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x20]
call fcn.14009e850
cmp byte [rsi + 0x17], 0
jns 0x140106688
mov rcx, qword [rsi]
call fcn.14019d34c
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.14019d394
test edi, edi
setne bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14019eb90
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x140107663
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14021f030]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x14010768a
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x140107784
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1401076cb
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14019eb90
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.1401077a0
mov ecx, 2
call fcn.1400ad460
test al, al
je 0x140107782
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x266
mov r9d, 2
call fcn.1400ae3b0
lea rcx, [rsp + 0x60]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.14002e9c2
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.14009e850
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14010775c
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.14002e9c2
cmp byte [rsp + 0x4f], 0
jns 0x140107778
mov rcx, qword [rsp + 0x38]
call fcn.14019d34c
lea rcx, [rsp + 0x50]
call fcn.1400ae4a0
xor edi, edi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14019eb90
mov eax, edi
add rsp, 0x198
pop rdi
pop rsi
ret
Function at 0x1401077a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x1a8
mov rsi, rcx
mov rax, qword [0x14021f030]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
cmp byte [rcx + 0x17], 0
jns 0x1401077c7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401078a9
mov dil, 1
test al, 0x10
jne 0x140107962
mov ecx, 2
call fcn.1400ad460
test al, al
je 0x140107960
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x255
mov r9d, 2
call fcn.1400ad510
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14002e9c2
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.14009e850
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140107869
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call fcn.14002e9c2
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.14002e9c2
cmp byte [rsp + 0x5f], 0
jns 0x14010789a
mov rcx, qword [rsp + 0x48]
call fcn.14019d34c
lea rcx, [rsp + 0x60]
call fcn.1400ad9f0
jmp 0x140107960
mov ecx, 2
call fcn.1400ad460
test al, al
je 0x140107960
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x251
mov r9d, 2
call fcn.1400ae3b0
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14002e9c2
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x38]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.14009e850
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14010793a
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call fcn.14002e9c2
cmp byte [rsp + 0x5f], 0
jns 0x140107956
mov rcx, qword [rsp + 0x48]
call fcn.14019d34c
lea rcx, [rsp + 0x60]
call fcn.1400ae4a0
xor edi, edi
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14019eb90
mov eax, edi
add rsp, 0x1a8
pop rdi
pop rsi
ret
Function at 0x1401091ee
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 [0x14021f030]
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 0x140109282
mov rsi, r8
mov r14, rcx
lea r15, [rsp + 0x20]
mov rcx, rdi
mov rdx, r15
call fcn.1401072fc
test al, al
jne 0x14010924a
add rdi, 0x70
cmp rdi, r12
jne 0x14010922f
mov rdi, r12
cmp rdi, qword [r14 + 0x58]
je 0x140109282
cmp byte [rdi + 0x27], 0
jns 0x14010925c
mov rcx, qword [rdi + 0x10]
jmp 0x140109260
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 0x140109282
mov qword [rsi], rdi
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14019eb90
mov eax, ebx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14010a732
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
mov eax, dword [rcx + 0x68]
cmp eax, edx
jne 0x14010a749
cmp byte [rcx + 0x27], 0
jns 0x14010a758
mov rcx, qword [rcx + 0x10]
jmp 0x14010a75c
xor ecx, ecx
cmp eax, 1
sete cl
lea eax, [rcx + rcx*2]
inc eax
jmp 0x14010a775
add rcx, 0x10
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov eax, 1
cmovne eax, ecx
add rsp, 0x28
ret

Function at 0x14010cdf0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x14023a690], 0
jne 0x14010ce2d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14010ce20
mov dword [rdi], eax
mov dword [0x14023a698], eax
mov qword [0x14023a690], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3
Function at 0x140114110
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
lea rbx, [rcx + 0x38]
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140114147
mov qword [rbx], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140251008]
lea r12, [rdi + 0x30]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x140114169
mov qword [r12], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140251008]
mov qword [rsp + 0x20], r12
lea rcx, [0x1401d9328]
lea r9, [0x140206508]
xor edx, edx
mov r8d, 0x17
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r15, qword [r12]
test eax, eax
js 0x1401141e6
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401141ae
mov qword [rbx], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140251008]
mov rax, qword [r15]
mov rax, qword [rax + 0x90]
mov rcx, r15
mov rdx, rbx
call qword [0x140251008]
test eax, eax
js 0x1401141ff
mov rcx, rdi
mov rdx, r14
call fcn.1400334ec
add rdi, 0x18
mov rcx, rdi
mov rdx, rsi
call fcn.1400b0290
mov al, 1
jmp 0x14011421d
test r15, r15
je 0x14011421b
mov qword [r12], 0
mov rax, qword [r15]
mov rax, qword [rax + 0x10]
mov rcx, r15
jmp 0x140114215
mov rcx, qword [rbx]
test rcx, rcx
je 0x14011421b
mov qword [rbx], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140251008]
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14011942b
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x14021f030]
xor rax, rsp
mov qword [rsp + 0x180], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x1401e7440]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
je 0x140119517
lea rdi, [rsp + 0x70]
xor ebx, ebx
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call fcn.1401a0cc0
mov dword [rdi - 0xc], 0x11c
mov r14, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call r14
mov rcx, rax
mov edx, 1
mov r8b, 3
call r14
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call r14
mov qword [rdi - 8], 6
mov word [rdi + 0x108], 0
lea rcx, [rsp + 0x64]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov edi, 0x80003
test eax, eax
je 0x14011951e
xorps xmm0, xmm0
lea rbx, [rsp + 0x40]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov dword [rbx], 0x18
xor ecx, ecx
call fcn.14011957b
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x14011951e
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x140119527
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rbx
mov eax, 0x200
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
mov rcx, rsi
mov edx, edi
mov r8d, 6
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14019eb90
mov rax, rsi
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14011a210
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14021f030]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x14023b400]
mov ecx, dword [0x14022f5ac]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14011a48d
mov rax, qword [0x14023b3f8]
test rax, rax
je 0x14011a2fb
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [0x140251008]
test eax, eax
je 0x14011a2a5
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x14011a302
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x14011a337
mov ecx, 2
call fcn.1400ad460
test al, al
je 0x14011a2fb
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x4b
mov r9d, 2
call fcn.1400ae3b0
lea rcx, [rsp + 0x40]
lea rdx, [0x140204d84]
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.14002e9c2
mov rcx, rbx
call fcn.1400ae4a0
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x1401e7440]
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rbx], 9
sete byte [rsi + 0x80]
cmp byte [rsi + 0x81], 0
setne dl
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov r8, rsi
call fcn.14011a4d4
test al, al
je 0x14011a36d
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
je 0x14011a3b6
call fcn.14011a70a
jmp 0x14011a3bb
mov ecx, 2
call fcn.1400ad460
test al, al
je 0x14011a46e
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x21e
mov r9d, 2
call fcn.1400ad510
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
jmp 0x14011a461
call fcn.14011ae13
test al, al
je 0x14011a421
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.140119834
mov sil, 1
test al, al
jne 0x14011a470
mov ecx, 2
call fcn.1400ad460
test al, al
je 0x14011a46e
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22c
mov r9d, 2
call fcn.1400ad510
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x14011a461
mov ecx, 2
call fcn.1400ad460
test al, al
je 0x14011a46e
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x227
mov r9d, 2
call fcn.1400ad510
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
call fcn.14002e9c2
mov rcx, rsi
call fcn.1400ad9f0
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14019eb90
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x14023b400]
call fcn.14019d470
cmp dword [0x14023b400], 0xffffffff
jne 0x14011a25b
lea rcx, [0x1401f2464]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.14011d6cc
mov qword [0x14023b3f8], rax
lea rcx, [0x14023b400]
call fcn.14019d508
jmp 0x14011a25b
Function at 0x140123b80
Capabilities:
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rdi, rcx
mov rax, qword [0x14021f030]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rcx, str....._sail_extinstallerutilmarker_file_work_item.cc
mov edx, 0x37
call fcn.1400ad490
test eax, eax
jle 0x140123bfe
lea rdx, str....._sail_extinstallerutilmarker_file_work_item.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x3f
mov r9d, 0xffffffff
call fcn.1400ad510
lea rcx, [rsp + 0x40]
lea rdx, str.Deleting
mov r8d, 9
call fcn.14002e9c2
lea rdx, [rdi + 0x28]
mov rcx, rax
call fcn.1400ae5c0
mov rcx, rsi
call fcn.1400ad9f0
lea rsi, [rdi + 0x28]
cmp byte [rdi + 0x3f], 0
mov rcx, rsi
jns 0x140123c0e
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140123c79
mov ecx, 2
call fcn.1400ad460
test al, al
je 0x140123c79
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._sail_extinstallerutilmarker_file_work_item.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x41
mov r9d, 2
call fcn.1400ae3b0
lea rcx, [rsp + 0x40]
lea rdx, str.failed_to_delete
mov r8d, 0x11
call fcn.14002e9c2
mov rcx, rax
mov rdx, rsi
call fcn.1400ae5c0
mov rcx, rdi
call fcn.1400ae4a0
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14019eb90
nop
add rsp, 0x178
pop rdi
pop rsi
ret

Function at 0x140127e20
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
je 0x140127e5e
test rax, rax
je 0x140127f2a
mov rcx, qword [rbx]
mov qword [rax], rcx
add rax, 8
mov qword [rsi + 8], rax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
sub rax, qword [rsi]
mov r15, rax
sar r15, 3
lea rcx, [r15 + 1]
mov rdx, rcx
shr rdx, 0x3d
jne 0x140127f56
movabs rdx, 0x1fffffffffffffff
lea rdi, [rsi + 0x18]
mov r14, rax
sar r14, 2
cmp r14, rcx
cmovbe r14, rcx
movabs rcx, 0x7ffffffffffffff8
cmp rax, rcx
cmovae r14, rdx
test r14, r14
je 0x140127eb8
mov rcx, rdi
mov rdx, r14
call fcn.140128bd0
jmp 0x140127eba
xor eax, eax
shl r15, 3
add r15, rax
je 0x140127f2a
lea rax, [rax + r14*8]
mov rcx, qword [rbx]
mov qword [r15], rcx
lea rcx, [r15 + 8]
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
cmp r8, rdx
je 0x140127ef8
nop dword [rax]
mov r9, qword [r8 - 8]
add r8, 0xfffffffffffffff8
mov qword [r15 - 8], r9
add r15, 0xfffffffffffffff8
cmp r8, rdx
jne 0x140127ee0
mov rdx, qword [rsi]
mov qword [rsi], r15
mov qword [rsi + 8], rcx
mov r8, qword [rsi + 0x10]
mov qword [rsi + 0x10], rax
test rdx, rdx
je 0x140127e52
sub r8, rdx
sar r8, 3
mov rcx, rdi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1401285d0
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.14003a2a8
mov rcx, rsi
call fcn.14002d380
int3