joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401ed890
Capabilities:
Compare security identifiers

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x1401ef580
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
je 0x1401ef5ba
test rax, rax
je 0x1401ef660
mov rcx, qword [rbx]
mov qword [rax], rcx
add rax, 8
mov qword [rsi + 8], rax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
sub rax, qword [rsi]
mov rdi, rax
sar rdi, 3
lea rcx, [rdi + 1]
mov rdx, rcx
shr rdx, 0x3d
jne 0x1401ef68c
movabs rdx, 0x1fffffffffffffff
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 0x1401ef656
xor eax, eax
shl rdi, 3
add rdi, rax
je 0x1401ef660
lea r14, [rax + r14*8]
mov rax, qword [rbx]
mov qword [rdi], rax
lea rbx, [rdi + 8]
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rdx
sub rdi, r8
mov rcx, rdi
call fcn.140177150
mov rcx, qword [rsi]
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r14
test rcx, rcx
je 0x1401ef5b0
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1401efb10
mov rcx, r14
call fcn.1401f0080
jmp 0x1401ef605
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, 0x23
call fcn.1401b2820
call fcn.14018c460
int3

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x38], rax
movdqu xmm0, xmmword [rdx]
movdqa xmmword [rsp + 0x20], xmm0
mov rbx, qword [rcx + 0x50]
mov rax, qword [rcx + 0x58]
mov edi, 1
cmp rbx, rax
je 0x1401f7cc4
mov rsi, r8
movdqu xmm0, xmmword [rbx]
pcmpeqb xmm0, xmmword [rsp + 0x20]
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x1401f7cdb
add rbx, 0x70
cmp rbx, rax
jne 0x1401f7ca5
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401756e0
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
cmp rbx, rax
je 0x1401f7cc4
cmp byte [rbx + 0x27], 0
jns 0x1401f7cec
mov rcx, qword [rbx + 0x10]
jmp 0x1401f7cf0
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov edi, 1
cmovne edi, ecx
test edi, edi
jne 0x1401f7cc4
mov qword [rsi], rbx
xor edi, edi
jmp 0x1401f7cc4
Function at 0x1401f7e80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x30], rax
movdqu xmm0, xmmword [rdx]
movdqa xmmword [rsp + 0x20], xmm0
mov r14, qword [rcx + 0x50]
mov rax, qword [rcx + 0x58]
mov esi, 1
cmp r14, rax
je 0x1401f7eda
mov rdi, r9
mov rbx, rcx
movdqu xmm0, xmmword [r14]
pcmpeqb xmm0, xmmword [rsp + 0x20]
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x1401f7ef3
add r14, 0x70
cmp r14, rax
jne 0x1401f7eba
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401756e0
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
cmp r14, rax
je 0x1401f7eda
mov eax, dword [r14 + 0x68]
cmp eax, r8d
jne 0x1401f7f0e
cmp byte [r14 + 0x27], 0
jns 0x1401f7f1d
mov rcx, qword [r14 + 0x10]
jmp 0x1401f7f21
xor ecx, ecx
cmp eax, 1
sete cl
lea esi, [rcx + rcx*2]
inc esi
jmp 0x1401f7eda
lea rcx, [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401f7eda
shr eax, 3
and eax, 2
mov esi, eax
jne 0x1401f7eda
mov byte [rbx + 0x48], 1
mov qword [rdi], r14
xor esi, esi
jmp 0x1401f7eda

Function at 0x1401f9e80
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x1402a2ad8]
test rax, rax
je 0x1401f9fba
cmp eax, 2
jne 0x1401f9ef7
cmp dword [0x140299b30], 2
jg 0x1401f9f8a
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x8e
mov r9d, 2
call fcn.140007b50
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x1401f9f7d
mov eax, 1
lock xadd qword [0x1402a2b10], rax
test rax, rax
jle 0x1401f9f17
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1402a2a90], eax
mov qword [0x1402a2a88], rsi
mov rcx, qword [0x140296760]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x140299b30], 2
jg 0x1401f9f8a
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xba
mov r9d, 2
call fcn.140007b50
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.1401af730
mov rcx, rsi
call fcn.140007c40
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.1401756e0
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 [0x1402a2ad8]
test rax, rax
je 0x1401f9fc1
jmp 0x1401f9eae
Function at 0x14020a450
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, 0xffffffffffffffff
xor edx, edx
div rcx
mov rbx, 0xfffffffffffffffe
sub rbx, rdx
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x28]
mov qword [rsp + 0x28], r14
mov rcx, rdi
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14020a4d2
mov rax, qword [rsp + 0x28]
cmp rax, rbx
ja 0x14020a490
xor edx, edx
div rsi
mov rsi, rdx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401756e0
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
int3

Function at 0x14020b7f0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
xor edx, edx
xor r8d, r8d
call fcn.1400d2870
test rax, rax
jne 0x14020b82e
mov rcx, rdi
call fcn.14005e150
test al, al
je 0x14020b82e
mov r8d, 0x28
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14005ee30
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x14020d46a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14020d48c
mov edi, eax
test bl, bl
jne 0x14020d484
mov eax, edi
and eax, 0x400
jne 0x14020d49a
and edi, 0x10
shr edi, 4
jmp 0x14020d49c
mov ecx, 2
call fcn.14010ee30
test al, al
jne 0x14020d4b9
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1401756e0
mov eax, edi
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, 0x82
mov r9d, 2
call fcn.1401d2730
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1401af730
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 + 0x30]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.14013c980
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14020d53f
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
jmp 0x14020d543
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1401af730
cmp byte [rsp + 0x57], 0
jns 0x14020d55f
mov rcx, qword [rsp + 0x40]
call fcn.140172a44
lea rcx, [rsp + 0x58]
call fcn.1401d27b0
jmp 0x14020d49a
Function at 0x14020d570
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
cmp byte [rcx + 0x17], 0
jns 0x14020d59b
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
je 0x14020d5c7
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1401756e0
mov eax, edi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
ret
test bl, bl
je 0x14020d5dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14020d684
mov ecx, 2
call fcn.14010ee30
test al, al
jne 0x14020d5ee
xor edi, edi
jmp 0x14020d5aa
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x62
mov r9d, 2
call fcn.1401d2730
lea rcx, [rsp + 0x50]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1401af730
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 + 0x30]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x190]
mov rcx, rsi
call fcn.14013c980
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14020d71f
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
jmp 0x14020d723
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.14020d440
test al, al
jne 0x14020d5aa
mov ecx, 2
call fcn.14010ee30
test al, al
je 0x14020d5ea
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x5d
mov r9d, 2
call fcn.140007b50
lea rdi, [rsp + 0x50]
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x180]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x190]
mov rcx, rsi
call fcn.14013c980
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14020d754
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
jmp 0x14020d758
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1401af730
cmp byte [rsp + 0x1a7], 0
jns 0x14020d745
mov rcx, qword [rsp + 0x190]
call fcn.140172a44
lea rcx, [rsp + 0x40]
call fcn.1401d27b0
jmp 0x14020d5ea
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1401af730
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.1401af730
cmp byte [rsp + 0x1a7], 0
jns 0x14020d78f
mov rcx, qword [rsp + 0x190]
call fcn.140172a44
lea rcx, [rsp + 0x40]
call fcn.140007c40
jmp 0x14020d5ea
Function at 0x14020d7a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x14020d7c7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14020d7f7
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401756e0
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14010ee30
test al, al
jne 0x14020d809
xor esi, esi
jmp 0x14020d7db
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, 0x75
mov r9d, 2
call fcn.1401d2730
lea rcx, [rsp + 0x60]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1401af730
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.14013c980
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14020d88f
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
jmp 0x14020d893
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1401af730
cmp byte [rsp + 0x4f], 0
jns 0x14020d8af
mov rcx, qword [rsp + 0x38]
call fcn.140172a44
lea rcx, [rsp + 0x50]
call fcn.1401d27b0
jmp 0x14020d805
Function at 0x14020d8c0
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x14020d8e7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14020d8fe
and eax, 0x410
cmp eax, 0x410
je 0x14020d945
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14020d90a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
je 0x14020d933
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401756e0
mov eax, edi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14010ee30
test al, al
jne 0x14020d966
xor edi, edi
jmp 0x14020d917
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401756e0
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.14020da20
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.1401d2730
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.1401af730
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.14013c980
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14020d9ec
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
jmp 0x14020d9f0
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1401af730
cmp byte [rsp + 0x4f], 0
jns 0x14020da0c
mov rcx, qword [rsp + 0x38]
call fcn.140172a44
lea rcx, [rsp + 0x50]
call fcn.1401d27b0
jmp 0x14020d941
Function at 0x14020da20
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, rcx
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x14020da48
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x14020da62
mov ecx, 2
call fcn.14010ee30
test al, al
jne 0x14020da84
test esi, esi
setne bl
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1401756e0
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.1401d2730
lea rcx, [rsp + 0x68]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.1401af730
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.14013c980
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x14020db0a
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
jmp 0x14020db0e
and r8d, 0x7f
mov rcx, rbx
mov rdx, rdi
call fcn.1401af730
cmp byte [rsp + 0x57], 0
jns 0x14020db2a
mov rcx, qword [rsp + 0x40]
call fcn.140172a44
lea rcx, [rsp + 0x58]
call fcn.1401d27b0
jmp 0x14020da62
Function at 0x140212510
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 [0x140287028]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1402a39e8]
mov ecx, dword [0x140296f94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14021278e
mov rax, qword [0x1402a39e0]
test rax, rax
jne 0x14021262e
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x140261350]
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.1402127e0
test al, al
jne 0x1402126c7
cmp dword [0x140299b30], 2
jg 0x14021260f
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x21e
mov r9d, 2
call fcn.140007b50
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.1401af730
mov rcx, rsi
call fcn.140007c40
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.1401756e0
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [case.0x1401d7990.0]
test eax, eax
jne 0x1402126a4
cmp dword [0x140299b30], 2
jg 0x14021256b
call qword [sym.imp.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.1401d2730
lea rcx, [rsp + 0x40]
lea rdx, [0x14026e38f]
mov r8d, 0xe
call fcn.1401af730
mov rcx, rbx
call fcn.1401d27b0
jmp 0x14021256b
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x140212572
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x1402125a7
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
jne 0x1402126e1
call fcn.140213050
jmp 0x1402126e6
call fcn.140212a00
test al, al
je 0x14021274a
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1400d5c80
mov sil, 1
test al, al
jne 0x140212611
cmp dword [0x140299b30], 2
jg 0x14021260f
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22c
mov r9d, 2
call fcn.140007b50
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x140212602
cmp dword [0x140299b30], 2
jg 0x14021260f
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x227
mov r9d, 2
call fcn.140007b50
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
jmp 0x140212602
lea rcx, [0x1402a39e8]
call fcn.140172b08
cmp dword [0x1402a39e8], 0xffffffff
jne 0x14021255b
lea rcx, [0x140262d46]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.1400d5b80
mov qword [0x1402a39e0], rax
lea rcx, [0x1402a39e8]
call fcn.140172aa8
jmp 0x14021255b
Function at 0x14021cf00
Capabilities:
Query or enumerate registry value

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

Function at 0x14021d020
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x1a0
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x140261350]
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 0x14021d074
mov ecx, 1
call fcn.14010ee30
test al, al
jne 0x14021d0a3
mov eax, dword [rsp + 0x180]
cmp eax, 0x100
mov esi, 0xff
cmovb esi, eax
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1401756e0
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.140007b50
lea rcx, [rsp + 0x38]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, 0x2c
call fcn.1401af730
mov rcx, rsi
call fcn.140007c40
jmp 0x14021d074
Function at 0x1402298e0
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 [0x140287028]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x140261350]
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.1401b3280
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.1402308d0
test al, al
je 0x1402299a6
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1402299db
mov rcx, r14
call fcn.1401b3280
movsxd r14, dword [rsp + 0x19c]
add r14, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.1402308d0
test al, al
je 0x140229a20
cmp dword [rbx], 0x4550
jne 0x140229a5c
mov sil, 1
test rdi, rdi
je 0x1402299ba
mov qword [rdi], r14
jmp 0x1402299ba
mov ecx, 1
call fcn.14010ee30
test al, al
jne 0x140229aa2
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1401756e0
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.14010ee30
test al, al
je 0x1402299b8
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.140007b50
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x140229ad4
mov ecx, 1
call fcn.14010ee30
test al, al
je 0x1402299b8
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.140007b50
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x140229ace
mov ecx, 1
call fcn.14010ee30
test al, al
je 0x1402299b8
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.140007b50
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x140229ad4
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.140007b50
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.1401af730
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140229aec
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
jmp 0x140229af0
and r8d, 0x7f
mov rcx, rax
mov rdx, rsi
call fcn.1401af730
mov rcx, rdi
call fcn.140007c40
jmp 0x1402299b8