joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14029a1a0
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x14029a1c7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14029a1de
and eax, 0x410
cmp eax, 0x410
je 0x14029a223
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14029a1ea
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x14029a207
mov ecx, 2
call fcn.140151cb0
test al, al
jne 0x14029a244
xor edi, edi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401a2850
mov eax, edi
add rsp, 0x198
pop rdi
pop rsi
ret
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401a2850
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.14029a300
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x95
mov r9d, 2
call fcn.140215ce0
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, ntohl
call fcn.1401e2460
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140149030
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14029a2c4
and r8d, 0x7f
jmp 0x14029a2ce
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.1401e2460
cmp byte [rsp + 0x4f], 0
jns 0x14029a2ea
mov rcx, qword [rsp + 0x38]
call fcn.1401a10a4
lea rcx, [rsp + 0x50]
call fcn.140215d60
jmp 0x14029a205

Function at 0x14029a300
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, rcx
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x14029a328
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x14029a342
mov ecx, 2
call fcn.140151cb0
test al, al
jne 0x14029a364
test esi, esi
setne bl
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1401a2850
mov eax, ebx
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x30
mov r9d, 2
call fcn.140215ce0
lea rcx, [rsp + 0x68]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.1401e2460
mov rbx, rax
movzx eax, byte [rdi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rdi]
cmovns rax, rdi
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
cmovs rcx, qword [rdi + 8]
mov qword [rdx + 8], rcx
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.140149030
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
js 0x14029a3e4
and r8d, 0x7f
jmp 0x14029a3ee
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
call fcn.1401e2460
cmp byte [rsp + 0x57], 0
jns 0x14029a40a
mov rcx, qword [rsp + 0x40]
call fcn.1401a10a4
lea rcx, [rsp + 0x58]
call fcn.140215d60
jmp 0x14029a342
Function at 0x14029d140
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 0x14029d17e
test rax, rax
je 0x14029d247
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 0x14029d273
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
jne 0x14029d23a
xor eax, eax
shl r15, 3
add r15, rax
je 0x14029d247
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 0x14029d208
mov r9, qword [r8 - 8]
add r8, 0xfffffffffffffff8
mov qword [r15 - 8], r9
add r15, 0xfffffffffffffff8
cmp r8, rdx
jne 0x14029d1f0
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 0x14029d172
sub r8, rdx
sar r8, 3
mov rcx, rdi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.14029d7b0
mov rcx, rdi
mov rdx, r14
call fcn.14029dd80
jmp 0x14029d1cd
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.1401e44d0
mov rcx, rsi
call fcn.1401e2400
int3

Function at 0x1402a2c50
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1402a2c8c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1402a2c96
add rdi, rbx
sub rsi, rbx
jne 0x1402a2c6a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1401bb820
int3

Function at 0x1402a2d50
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.1401a49a0
mov dword [rdi + 0x18], 0x238
cmp byte [rdi + 0x10], 0
je 0x1402a2d92
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
mov byte [rdi + 0x10], 1
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1402a2d86
Function at 0x1402b14b0
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp dword [r8], 0
jle 0x1402b14ef
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x8007000e
jne 0x1402b14bf
mov dword [rsi], 7
jmp 0x1402b14bf
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.1400edc50
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000080
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x1402b14cb
mov r14, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x1402b14cb
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 8], rax
test rax, rax
je 0x1402b15a1
mov qword [rdi + 0x28], rbx
mov al, 1
jmp 0x1402b14c1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1402b14bf

Function at 0x1402b4db0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov eax, dword [0x1403ba93c]
mov ecx, dword [0x1403adeec]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1402b4e10
cmp rdi, rsi
je 0x1402b4e0c
mov eax, 0xffffffff
lea rcx, [0x1403ba53c]
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 0x1402b4dee
not eax
add rsp, 0x28
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x1402b4e05
lea rcx, [0x1403ba93c]
call fcn.1401a11c0
cmp dword [0x1403ba93c], 0xffffffff
jne 0x1402b4ddd
call fcn.1402b4e40
lea rcx, [0x1403ba93c]
call fcn.1401a1258
jmp 0x1402b4ddd
Function at 0x1402b4e40
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rsi, [0x1403ba53c]
mov r8d, 0x400
mov rcx, rsi
mov dl, 0xaa
call fcn.1401a49a0
mov dl, 1
xor ecx, ecx
mov eax, 0xedb88320
test dl, 1
je 0x1402b4f37
mov r9d, ecx
shl r9d, 0x1e
sar r9d, 0x1f
and r9d, eax
mov r8d, ecx
and r8d, 1
neg r8d
and r8d, eax
mov edx, ecx
shr edx, 1
xor edx, r8d
mov r8d, edx
shr r8d, 1
xor r8d, r9d
mov r9d, r8d
shl r9d, 0x1a
sar r9d, 0x1f
and r9d, eax
shl edx, 0x1a
sar edx, 0x1f
and edx, 0x76dc4190
mov r10d, ecx
shl r10d, 0x1a
sar r10d, 0x1f
and r10d, 0x3b6e20c8
mov r11d, ecx
shl r11d, 0x1b
sar r11d, 0x1f
and r11d, 0x1db71064
mov edi, ecx
shl edi, 0x1c
sar edi, 0x1f
and edi, 0xedb8832
mov ebx, ecx
shl ebx, 0x1d
sar ebx, 0x1f
and ebx, 0x76dc419
xor ebx, edi
xor ebx, r11d
xor ebx, r10d
shr r8d, 6
xor r8d, ebx
xor r8d, edx
xor r8d, r9d
mov dword [rsi], r8d
cmp rcx, 0xff
lea r8, [rcx + 1]
setb dl
add rsi, 4
mov rcx, r8
cmp r8, 0x100
jne 0x1402b4e67
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
lea rax, str.out_of_bounds_access_in_std::array_T__N_
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_array
lea r9, str.__n____Size
mov r8d, 0xe3
call fcn.1401e44d0
int3

Function at 0x1402c2140
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
xor r15d, r15d
lea r14, [rsp + 0x2c]
mov r12, qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1402c218e
mov rdx, rcx
add rdi, rdx
cmp al, 1
je 0x1402c21cc
cmp rdi, rsi
jae 0x1402c21cc
mov dword [rsp + 0x2c], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r12
test eax, eax
sete dl
mov ecx, dword [rsp + 0x2c]
test rcx, rcx
sete al
or al, dl
mov edx, 0
jne 0x1402c2187
jmp 0x1402c2184
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401a2850
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1402cd410
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 [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x108], rax
movaps xmm0, xmmword [0x14032ae20]
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.140268240
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.1401a49a0
lea r8, [0x140383de0]
mov rcx, r15
mov rdx, r14
call fcn.140196780
mov rcx, rdi
mov rdx, r15
call fcn.1402cc1d0
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.1401a2850
nop
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1402cf8e0
Capabilities:
Parse pe header

Disassembly:
cmp rdx, 0x40
jb 0x1402cf92e
cmp byte [rcx], 0x4d
jne 0x1402cf92e
cmp byte [rcx + 1], 0x5a
jne 0x1402cf92e
mov r9d, dword [rcx + 0x3c]
mov r10, rdx
sub r10, r9
xor eax, eax
cmp r10, 0x18
jb 0x1402cf930
cmp r9, rdx
jae 0x1402cf930
cmp r9d, 0x40
jb 0x1402cf930
mov r10d, r9d
and r10d, 7
jne 0x1402cf930
cmp byte [rcx + r9], 0x50
jne 0x1402cf92e
cmp byte [rcx + r9 + 1], 0x45
jne 0x1402cf92e
cmp byte [rcx + r9 + 2], 0
je 0x1402cf931
xor eax, eax
ret
cmp byte [rcx + r9 + 3], 0
jne 0x1402cf92e
add r9, 0x18
xor eax, eax
sub rdx, r9
jbe 0x1402cf930
cmp rdx, 2
jb 0x1402cf930
cmp word [rcx + r9], r8w
sete al
jmp 0x1402cf930
Function at 0x1402dc6b0
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 [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x90], rax
test rdi, rdi
jne 0x1402dc6fe
call fcn.140267e30
mov rdi, rax
test r14, r14
cmove r14, rdi
mov rcx, rdi
call fcn.1400caf40
mov rsi, rax
lea rax, [rax*2 + 2]
cmp rax, r15
ja 0x1402dc76e
lea rax, [rsi + rsi]
mov rbx, rax
not rbx
lea rcx, [r15 + rbx]
dec rcx
cmp rcx, r12
jb 0x1402dc74e
lea rcx, [r15 - 1]
or rax, 1
cmp rcx, rax
jae 0x1402dc7cb
mov dword [rsp + 0x20], 0x6d
jmp 0x1402dc776
mov dword [rsp + 0x20], 0x68
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 0x1402dc78c
mov dword [rsp + 0x20], 0x62
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.1402a2a00
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401a2850
mov eax, edi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r12
call fcn.140167c70
jmp 0x1402dc791
xor ecx, ecx
jmp 0x1402dc7ba
xor ecx, ecx
xor edi, edi
jmp 0x1402dc7ba
mov qword [rsp + 0x38], rcx
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 + 0x40], r8
xor r9d, r9d
call fcn.1400caf50
xor ecx, ecx
mov edi, 0
test eax, eax
je 0x1402dc7ba
mov rdi, qword [rsp + 0x38]
sub rdi, r12
add rbx, rdi
mov rcx, qword [rsp + 0x40]
je 0x1402dc83b
mov rax, qword [rsp + 0x40]
lea rcx, [rax + rsi]
xor edx, edx
mov r8, rbx
call fcn.1401a49a0
mov rcx, qword [rsp + 0x40]
lea rax, [rbp + 1]
mov qword [rsp + 0x48], rax
mov rax, rsi
not rax
add rdi, rax
mov byte [rcx + rdi], 1
test r12, r12
mov rbx, rcx
je 0x1402dc873
add rbp, rsi
add rbp, r15
sub rbp, r12
sub rbp, rsi
mov rcx, rbp
mov rdx, r13
mov r8, r12
call fcn.1401a42f0
mov r13, qword [rsp + 0x48]
mov rcx, r13
mov rdx, rsi
call fcn.140160a00
test eax, eax
je 0x1402dc7c5
mov r15, qword [rsp + 0x38]
sub r15, rsi
mov rcx, r15
call fcn.140167c10
xor edi, edi
test rax, rax
je 0x1402dc7c1
mov r12, rax
mov qword [rsp + 0x20], r14
mov rcx, rax
mov rdx, r15
mov r8, r13
mov r9, rsi
call fcn.1400cdd70
test eax, eax
je 0x1402dc7b7
cmp qword [rsp + 0x38], rsi
je 0x1402dc8ea
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 0x1402dc8db
movaps xmm0, xmmword [0x14032ae20]
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.1400cdd70
test eax, eax
je 0x1402dc7b7
mov edi, 1
test rsi, rsi
je 0x1402dc7b7
xor eax, eax
mov cl, byte [rsp + rax + 0x50]
xor byte [r13 + rax], cl
inc rax
cmp rsi, rax
jne 0x1402dc930
jmp 0x1402dc7b7
Function at 0x1402dfde0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r8
mov rax, qword [0x14039c038]
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 0x1402dfe40
mov eax, dword [rsp + 0x40]
mov dword [rsi], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401a2850
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret

Function at 0x1402dff00
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x1a0
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x14032ae20]
lea rsi, [rsp + 0x160]
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 0x1402dff54
mov ecx, 1
call fcn.140151cb0
test al, al
jne 0x1402dff83
mov eax, dword [rsp + 0x180]
cmp eax, 0x100
mov esi, 0xff
cmovb esi, eax
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1401a2850
mov eax, esi
add rsp, 0x1a0
pop rsi
ret
lea rdx, str....._third_partycrashpadcrashpad_snapshotwin_system_snapshot_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x10a
mov r9d, 1
call fcn.1400882f0
lea rcx, [rsp + 0x38]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, 0x2c
call fcn.1401e2460
mov rcx, rsi
call fcn.1400887d0
jmp 0x1402dff54
Function at 0x1402eced0
Capabilities:
Decompress data using quicklz

Disassembly:
mov r8d, dword [rdx]
mov eax, r8d
and eax, 0xf800d000
cmp eax, 0xf0008000
sete al
mov r9d, r8d
not r9d
test r9d, 0x3c00000
setne r9b
and r9b, al
test cl, 1
sete r10b
lea eax, [rcx + 0x100000]
cmp eax, 0x200000
setb al
and al, r10b
and al, r9b
cmp al, 1
jne 0x1402ecf6e
mov r9d, ecx
shr r9d, 1
and r9d, 0x7ff
and r8d, 0xfbc0d000
mov r10d, ecx
shl r10d, 6
and r10d, 0x4000000
mov r11d, ecx
shl r11d, 4
and r11d, 0x3f0000
or r11d, r10d
mov r10d, ecx
shr r10d, 5
and r10d, 0x2000
or r10d, r11d
shr ecx, 8
and ecx, 0x800
or ecx, r10d
or ecx, r9d
or ecx, r8d
mov dword [rdx], ecx
ret

Function at 0x1402ecf70
Capabilities:
Decompress data using quicklz

Disassembly:
test cl, 1
je 0x1402ecf78
xor eax, eax
ret
mov r9d, edx
and r9d, 0xf800d000
xor eax, eax
cmp r9d, 0xf0008000
jne 0x1402ecf77
mov r9d, edx
and r9d, 0x3c00000
cmp r9d, 0x3c00000
je 0x1402ecf77
mov eax, edx
shr eax, 4
and eax, 0x3f000
mov r9d, edx
and r9d, 0x7ff
lea eax, [rax + r9*2]
mov r9d, edx
shr r9d, 6
and r9d, 0x100000
mov r10d, edx
shl r10d, 8
and r10d, 0x80000
or r10d, r9d
shl edx, 5
and edx, 0x40000
or edx, r10d
or edx, eax
shl edx, 0xb
sar edx, 0xb
lea eax, [rcx + rdx]
add eax, 4
and eax, 0xfffffffe
mov dword [r8], eax
mov al, 1
jmp 0x1402ecf77

Function at 0x1402ed000
Capabilities:
Decompress data using quicklz

Disassembly:
mov eax, edx
or eax, ecx
test al, 1
je 0x1402ed00b
xor eax, eax
ret
sub edx, ecx
mov eax, edx
and eax, 1
lea ecx, [rdx + rax]
add ecx, 0xfffffffc
mov rdx, r8
jmp fcn.1402eced0
Function at 0x1402f0ca0
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x14032ae20]
lea r15, [rsp + 0x160]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea r14, [rcx + 0x18]
mov rcx, r14
call fcn.1401e2090
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.1402f5510
test al, al
je 0x1402f0df5
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1402f0d6d
mov rcx, r14
call fcn.1401e2090
movsxd r14, dword [rsp + 0x19c]
add r14, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.1402f5510
test al, al
je 0x1402f0db6
cmp dword [rbx], 0x4550
jne 0x1402f0e26
mov sil, 1
test rdi, rdi
je 0x1402f0e05
mov qword [rdi], r14
jmp 0x1402f0e05
mov ecx, 1
call fcn.140151cb0
test al, al
je 0x1402f0e03
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.1400882f0
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1402f0e9a
mov ecx, 1
call fcn.140151cb0
test al, al
je 0x1402f0e03
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.1400882f0
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1402f0e94
mov ecx, 1
call fcn.140151cb0
test al, al
jne 0x1402f0e68
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1401a2850
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.140151cb0
test al, al
je 0x1402f0e03
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.1400882f0
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x1402f0e9a
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.1400882f0
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.1401e2460
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x1402f0eaf
and r8d, 0x7f
jmp 0x1402f0eb6
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.1401e2460
mov rcx, rdi
call fcn.1400887d0
jmp 0x1402f0e03
Function at 0x1402f0ed0
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x14032ae20]
lea r15, [rsp + 0x160]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea r14, [rcx + 0x18]
mov rcx, r14
call fcn.1401e2090
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.1402f5510
test al, al
je 0x1402f1025
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1402f0f9d
mov rcx, r14
call fcn.1401e2090
movsxd r14, dword [rsp + 0x19c]
add r14, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.1402f5510
test al, al
je 0x1402f0fe6
cmp dword [rbx], 0x4550
jne 0x1402f1056
mov sil, 1
test rdi, rdi
je 0x1402f1035
mov qword [rdi], r14
jmp 0x1402f1035
mov ecx, 1
call fcn.140151cb0
test al, al
je 0x1402f1033
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.1400882f0
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1402f10ca
mov ecx, 1
call fcn.140151cb0
test al, al
je 0x1402f1033
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.1400882f0
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1402f10c4
mov ecx, 1
call fcn.140151cb0
test al, al
jne 0x1402f1098
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1401a2850
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.140151cb0
test al, al
je 0x1402f1033
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.1400882f0
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x1402f10ca
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.1400882f0
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.1401e2460
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x1402f10df
and r8d, 0x7f
jmp 0x1402f10e6
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.1401e2460
mov rcx, rdi
call fcn.1400887d0
jmp 0x1402f1033