joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14023f620
Capabilities:
Read http header

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov rsi, r9
mov rdi, r8
mov ebx, edx
mov r14, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r12, [rsp + 0x54]
mov dword [r12], 0
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], 0
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov ebp, 0x80004005
cmovne ebp, ecx
cmp ebp, 0x8007007a
je 0x14023f6ae
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140110970
mov eax, ebp
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x30]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [0x1402cdfe0]
movaps xmmword [r15], xmm0
mov edx, dword [rsp + 0x54]
shr edx, 1
mov rcx, r15
call fcn.140154170
mov r9, qword [r15]
cmp r9, qword [r15 + 8]
je 0x14023f73d
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], 0
mov rcx, r14
mov edx, ebx
mov r8, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x14023f74e
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov ebp, 0x80004005
cmovne ebp, ecx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14023f690
mov rax, qword [rsp + 0x38]
cmp rax, rcx
je 0x14023f73f
add rax, 0xfffffffffffffffe
jne 0x14023f732
ud2
mov qword [rsp + 0x38], rcx
call fcn.14010f42c
jmp 0x14023f690
mov edx, dword [rsp + 0x54]
test dl, 1
jne 0x14023f782
shr edx, 1
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.14014f530
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
mov r9, r8
sub r9, rdx
sar r9, 1
mov rcx, rsi
call fcn.14023f9c0
xor ebp, ebp
jmp 0x14023f71f
int3

Function at 0x14023f790
Capabilities:
Read http header

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x38], rax
or edx, 0x20000000
lea rax, [rsp + 0x34]
mov dword [rax], 4
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
xor esi, esi
test eax, eax
jne 0x14023f7eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov esi, 0x80004005
cmovne esi, ecx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140110970
mov eax, esi
add rsp, 0x40
pop rsi
ret
Function at 0x1402436c0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1402436d0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x1402436f1
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x140243715
cmp byte [r14 + 0x50], 1
jne 0x14024370f
or edi, 0x80000000
jmp 0x140243715
or edi, 0x20000000
test dil, 8
je 0x140243730
cmp byte [r14 + 0x68], 1
je 0x14024372a
or edi, 0x10000000
jmp 0x140243730
or edi, 0x40000000
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x140243744
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x140243755
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 1
jne 0x140243768
lea rcx, [r14 + 0x20]
call fcn.14014d5b0
mov r15, rax
cmp byte [r14 + 0x18], 1
je 0x14024378d
xor r9d, r9d
jmp 0x140243798
xor edx, edx
jmp 0x1402437b4
mov edx, 4
jmp 0x1402437b4
mov edx, 1
jmp 0x1402437b4
mov edx, 6
jmp 0x1402437b4
mov rcx, r14
call fcn.14014d5b0
mov r9, rax
cmp ebx, 4
ja case.default.0x1402437ad
mov eax, ebx
lea rcx, [0x1402fc048]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov edx, 7
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
je 0x1402437dd
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140243800
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14024383c
cmp byte [r14 + 0x50], 1
je 0x140243836
or edi, 0x20000000
jmp 0x14024383c
or edi, 0x80000000
test dil, 8
je 0x140243857
cmp byte [r14 + 0x68], 1
je 0x140243851
or edi, 0x10000000
jmp 0x140243857
or edi, 0x40000000
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14024386b
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14024387c
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 1
jne 0x14024388f
lea rcx, [r14 + 0x20]
call fcn.14014d5b0
mov r15, rax
cmp byte [r14 + 0x18], 1
je 0x1402438b4
xor r9d, r9d
jmp 0x1402438bf
xor edx, edx
jmp 0x1402438db
mov edx, 1
jmp 0x1402438db
mov edx, 4
jmp 0x1402438db
mov edx, 6
jmp 0x1402438db
mov rcx, r14
call fcn.14014d5b0
mov r9, rax
cmp ebx, 4
ja case.default.0x1402438d4
mov eax, ebx
lea rcx, [0x1402fc05c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov edx, 7
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
test eax, eax
je 0x140243904
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140246410
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x14024643a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140246459
mov edi, eax
shr eax, 0xa
xor bl, 1
test al, bl
jne 0x1402464ba
and edi, 0x10
shr edi, 4
jmp 0x1402464bc
mov ecx, 2
call fcn.14006a140
test al, al
je 0x1402464ba
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x80
mov r9d, 2
call fcn.14018e580
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400cdd30
mov rcx, rax
mov rdx, rsi
call fcn.140190050
mov rcx, rdi
call fcn.14018e5f0
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140110970
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret

Function at 0x1402464e0
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x14024650b
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x140246592
test bl, bl
je 0x14024652f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1402465af
mov ecx, 2
call fcn.14006a140
test al, al
je 0x140246590
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x61
mov r9d, 2
call fcn.14018e580
lea rcx, [rsp + 0x40]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1400cdd30
mov rcx, rax
mov rdx, rsi
call fcn.140190050
mov rcx, rdi
call fcn.14018e5f0
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140110970
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.140246410
test al, al
jne 0x140246592
mov ecx, 2
call fcn.14006a140
test al, al
je 0x140246590
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x5c
mov r9d, 2
call fcn.14018d7b0
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.140190050
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.1400cdd30
mov rcx, rdi
call fcn.14018dbe0
jmp 0x140246590
Function at 0x140246620
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x140246647
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140246677
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140110970
mov eax, esi
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14006a140
test al, al
je 0x1402466d8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x73
mov r9d, 2
call fcn.14018e580
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400cdd30
mov rcx, rax
mov rdx, rsi
call fcn.140190050
mov rcx, rdi
call fcn.14018e5f0
xor esi, esi
jmp 0x14024665b

Function at 0x1402466e0
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x140246707
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
sete cl
not eax
test eax, 0x410
setne al
or al, cl
je 0x1402467bd
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140246731
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x1402467a1
mov ecx, 2
call fcn.14006a140
test al, al
je 0x14024679f
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x93
mov r9d, 2
call fcn.14018e580
lea rcx, [rsp + 0x38]
lea rdx, str.DeleteFile
mov r8d, ntohl
call fcn.1400cdd30
mov rcx, rax
mov rdx, rsi
call fcn.140190050
mov rcx, rdi
call fcn.14018e5f0
xor edi, edi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140110970
mov eax, edi
add rsp, 0x168
pop rdi
pop rsi
ret
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140110970
mov rcx, rsi
add rsp, 0x168
pop rdi
pop rsi
jmp fcn.1402467e0

Function at 0x1402467e0
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x140246808
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
test eax, eax
je 0x140246836
test edi, edi
setne bl
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140110970
mov eax, ebx
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14006a140
test al, al
je 0x140246814
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x2f
mov r9d, 2
call fcn.14018e580
lea rcx, [rsp + 0x40]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.1400cdd30
mov rcx, rax
mov rdx, rsi
call fcn.140190050
mov rcx, rbx
call fcn.14018e5f0
jmp 0x140246814
Function at 0x1402470a0
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rdi, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.140098a20
test rax, rax
je 0x1402470eb
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140110970
mov eax, esi
add rsp, 0x168
pop rdi
pop rsi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
jne 0x1402470cf
mov ecx, 2
call fcn.14006a140
test al, al
je 0x140247151
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xfc
mov r9d, 2
call fcn.14018e580
lea rcx, [rsp + 0x38]
lea rdx, [0x1402fc3f3]
mov r8d, ntohl
call fcn.1400cdd30
mov rcx, rsi
call fcn.14018e5f0
xor esi, esi
jmp 0x1402470cf

Function at 0x140248e20
Capabilities:
Enumerate processes

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
lea rsi, [rcx + 0x18]
mov r8d, 0x238
mov rcx, rsi
xor edx, edx
call fcn.1401496f0
mov dword [rdi + 0x18], 0x238
cmp byte [rdi + 0x10], 0
jne 0x140248e5c
mov byte [rdi + 0x10], 1
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x140248e68
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
setne al
add rsp, 0x28
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov eax, dword [0x14036c390]
mov ecx, dword [0x14035efd0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140261ca2
cmp rdi, rsi
je 0x140261c9e
mov eax, 0xffffffff
lea rcx, [0x14036bf90]
mov dl, byte [rdi]
xor dl, al
movzx edx, dl
shr eax, 8
xor eax, dword [rcx + rdx*4]
inc rdi
cmp rdi, rsi
jne 0x140261c7f
not eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x140261c96
lea rcx, [0x14036c390]
call fcn.14010f47c
cmp dword [0x14036c390], 0xffffffff
jne 0x140261c6e
lea rbx, [0x14036bf90]
mov r8d, 0x400
mov rcx, rbx
mov dl, 0xaa
call fcn.1401496f0
xor eax, eax
mov ecx, 0xedb88320
mov r8d, eax
shr r8d, 1
mov edx, eax
and edx, 1
neg edx
and edx, ecx
xor edx, r8d
mov r9d, edx
shr r9d, 1
mov r8d, eax
shl r8d, 0x1e
sar r8d, 0x1f
and r8d, ecx
xor r8d, r9d
mov r9d, r8d
shr r9d, 6
mov r10d, eax
shl r10d, 0x1d
sar r10d, 0x1f
and r10d, 0x76dc419
mov r11d, eax
shl r11d, 0x1c
sar r11d, 0x1f
and r11d, 0xedb8832
xor r11d, r10d
mov r10d, eax
shl r10d, 0x1b
sar r10d, 0x1f
and r10d, 0x1db71064
xor r10d, r11d
mov r11d, eax
shl r11d, 0x1a
sar r11d, 0x1f
and r11d, 0x3b6e20c8
xor r11d, r10d
xor r11d, r9d
shl edx, 0x1a
sar edx, 0x1f
and edx, 0x76dc4190
xor edx, r11d
shl r8d, 0x1a
sar r8d, 0x1f
and r8d, ecx
xor r8d, edx
mov dword [rbx], r8d
inc rax
add rbx, 4
cmp rax, 0x100
jne 0x140261cd5
lea rcx, [0x14036c390]
call fcn.14010f530
jmp 0x140261c6e
Function at 0x140284140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword [rcx + 8]
jmp fcn.14027ddb0
Function at 0x140285e90
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x110
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x108], rax
movaps xmm0, xmmword [0x1402cdfe0]
lea r14, [rsp + 0xc0]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
mov edx, 0x20
mov rcx, r8
mov r8, r14
call fcn.1402047c0
and byte [r14], 0xf8
mov al, byte [r14 + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [r14 + 0x1f], al
lea r15, [rsp + 0x20]
mov r8d, 0xa0
mov rcx, r15
mov dl, 0xaa
call fcn.1401496f0
lea r8, [0x140333e30]
mov rcx, r15
mov rdx, r14
call fcn.140284960
mov rcx, rdi
mov rdx, r15
call fcn.140284730
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm1
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140110970
nop
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140287cb0
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x160], rax
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdi, [rsp + 0x140]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi + 0x10], xmm1
and byte [rdi], 0xf8
mov al, byte [rdi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [rdi + 0x1f], al
lea r14, [rsp + 0xa0]
mov r8d, 0xa0
mov rcx, r14
mov dl, 0xaa
call fcn.1401496f0
lea r8, [0x140333e30]
mov rcx, r14
mov rdx, rdi
call fcn.140284960
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [r14 + 0x50]
mov r15, qword [r14 + 0x28]
mov rdx, qword [r14 + 0x30]
lea r10, [r15 + rax]
mov rcx, qword [r14 + 0x58]
lea r12, [rdx + rcx]
mov r8, qword [r14 + 0x60]
mov r11, qword [r14 + 0x38]
lea r13, [r11 + r8]
mov r9, qword [r14 + 0x68]
lea rbx, [rsp + 0x78]
mov qword [rbx], r10
mov rbp, qword [r14 + 0x40]
mov qword [rbx + 8], r12
lea r12, [rbp + r9]
mov qword [rbx + 0x10], r13
mov r10, qword [r14 + 0x70]
mov r14, qword [r14 + 0x48]
mov qword [rbx + 0x18], r12
lea r12, [r14 + r10]
mov qword [rbx + 0x20], r12
movabs r12, 0xffffffffffffe
add rax, r12
sub rax, r15
add rcx, r12
sub rcx, rdx
add r8, r12
sub r8, r11
add r9, r12
sub r9, rbp
add r10, r12
add rax, 0xffffffffffffffdc
sub r10, r14
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
mov qword [rdx + 0x10], r8
mov qword [rdx + 0x18], r9
mov qword [rdx + 0x20], r10
movaps xmm0, xmmword [0x1402cdfe0]
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1400c0bf0
mov rcx, rdi
mov rdx, rbx
mov r8, rdi
call fcn.1400c2000
mov rcx, rsi
mov rdx, rdi
call fcn.1400bd190
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140110970
nop
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140298c00
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rdx, rdx
je 0x140298c13
cmp dword [0x14036d008], ecx
jle 0x140298c1a
add rsp, 0x28
pop rdi
pop rsi
ret
mov rsi, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rdi, eax
mov rcx, rsi
mov rdx, rdi
call fcn.140298c60
test edi, edi
je 0x140298c13
cmp byte [rsi + rdi - 1], 0xa
je 0x140298c13
lea rcx, [0x1402d8fcf]
mov edx, 1
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140298c60

Function at 0x140298c60
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
lea r14, [rsp + 0x34]
mov r15, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, rsi
jae 0x140298cd7
mov dword [rsp + 0x34], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r15
mov ecx, dword [rsp + 0x34]
test eax, eax
cmovne eax, ecx
je 0x140298cd7
add rdi, rax
test ecx, ecx
jne 0x140298c9d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140110970
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140299620
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov r12, r9
mov r13, r8
mov r15, rdx
mov rbp, rcx
mov r14, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x110]
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x90], rax
test rdi, rdi
jne 0x14029966e
call fcn.140204120
mov rdi, rax
test r14, r14
cmove r14, rdi
mov rcx, rdi
call fcn.140203ef0
mov rsi, rax
lea rax, [rax*2 + 2]
cmp rax, r15
ja 0x1402996c3
lea rax, [rsi + rsi]
mov rbx, rax
not rbx
lea rcx, [r15 + rbx]
dec rcx
cmp rcx, r12
jae 0x14029970c
mov dword [rsp + 0x20], 0x6a
lea r9, str....._third_party_boringssl_srccrypto_rsa_extra_rsa_crypt.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x72
jmp 0x1402996e1
mov dword [rsp + 0x20], 0x64
lea r9, str....._third_party_boringssl_srccrypto_rsa_extra_rsa_crypt.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x7e
call fcn.140248470
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140110970
mov eax, edi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [r15 - 1]
mov qword [rsp + 0x40], rcx
cmp rcx, rax
ja 0x140299724
mov dword [rsp + 0x20], 0x6f
jmp 0x1402996cb
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
mov byte [rbp], 0
lea r8, [rsi + rbp]
inc r8
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], r8
xor r9d, r9d
call fcn.140203f00
xor ecx, ecx
mov edi, 0
test eax, eax
je 0x140299890
mov rdi, qword [rsp + 0x40]
sub rdi, r12
add rbx, rdi
mov rcx, qword [rsp + 0x38]
je 0x140299793
mov rax, qword [rsp + 0x38]
lea rcx, [rax + rsi]
xor edx, edx
mov r8, rbx
call fcn.1401496f0
mov rcx, qword [rsp + 0x38]
lea rax, [rbp + 1]
mov qword [rsp + 0x48], rax
mov rax, rsi
not rax
add rdi, rcx
mov byte [rax + rdi], 1
test r12, r12
mov rbx, rcx
je 0x1402997cb
add rbp, rsi
add rbp, r15
sub rbp, r12
sub rbp, rsi
mov rcx, rbp
mov rdx, r13
mov r8, r12
call fcn.140149050
mov r13, qword [rsp + 0x48]
mov rcx, r13
mov rdx, rsi
call fcn.1400e7310
test eax, eax
je 0x14029989a
mov r15, qword [rsp + 0x40]
sub r15, rsi
mov rcx, r15
call fcn.14008a770
xor edi, edi
test rax, rax
je 0x1402998a0
mov r12, rax
mov qword [rsp + 0x20], r14
mov rcx, rax
mov rdx, r15
mov r8, r13
mov r9, rsi
call fcn.14020c350
test eax, eax
je 0x14029988d
cmp qword [rsp + 0x40], rsi
je 0x14029983e
cmp r15, 1
mov rax, r15
adc rax, 0
xor ecx, ecx
mov dl, byte [r12 + rcx]
xor byte [rbx + rcx], dl
inc rcx
cmp rax, rcx
jne 0x14029982f
movaps xmm0, xmmword [0x1402cdfe0]
lea rcx, [rsp + 0x50]
movaps xmmword [rcx + 0x30], xmm0
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
mov qword [rsp + 0x20], r14
mov rdx, rsi
mov r8, rbx
mov r9, r15
call fcn.14020c350
test eax, eax
je 0x14029988d
mov edi, 1
test rsi, rsi
je 0x14029988d
xor eax, eax
mov cl, byte [rsp + rax + 0x50]
xor byte [r13 + rax], cl
inc rax
cmp rsi, rax
jne 0x14029987c
mov rcx, r12
call fcn.14008a8e0
jmp 0x1402996e6
xor ecx, ecx
xor edi, edi
jmp 0x140299890
xor ecx, ecx
jmp 0x140299890
Function at 0x14029d6d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r8
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, 0xaaaaaaaa
lea rdi, [rsp + 0x44]
mov dword [rdi], eax
lea r8, [rsp + 0x40]
mov dword [r8], eax
lea rax, [rsp + 0x3c]
mov dword [rax], 4
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rdi]
xor ecx, 4
or ecx, eax
sete bl
jne 0x14029d730
mov eax, dword [rsp + 0x40]
mov dword [rsi], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140110970
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret

Function at 0x14029d7f0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x190
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x188], rax
movaps xmm0, xmmword [0x1402cdfe0]
lea rsi, [rsp + 0x150]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsi + 0x20], 0x100
jb 0x14029d883
mov ecx, 1
call fcn.14006a140
test al, al
je 0x14029d883
lea rdx, str....._third_partycrashpadcrashpad_snapshotwin_system_snapshot_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0x10a
mov r9d, 1
call fcn.14018d7b0
lea rcx, [rsp + 0x30]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, 0x2c
call fcn.1400cdd30
mov rcx, rsi
call fcn.14018dbe0
mov eax, dword [rsp + 0x170]
cmp eax, 0x100
mov esi, 0xff
cmovb esi, eax
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140110970
mov eax, esi
add rsp, 0x190
pop rsi
ret