joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b2b0c
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
and qword [rbp + 0x38], 0
lea rax, [rbp + 0x38]
mov r14, rdx
mov qword [rsp + 0x20], rax
mov esi, 1
lea r9, [0x1401567e0]
mov r8d, esi
lea rcx, [0x14013be60]
xor edx, edx
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400b2b5c
xor sil, sil
jmp 0x1400b2c0b
and qword [rbp + 0x30], 0
lea rcx, str.ROOTCIMV2
mov rdi, qword [rbp + 0x38]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, [rbp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x40], rcx
mov rbx, rax
and qword [rsp + 0x38], 0
xor r8d, r8d
and qword [rsp + 0x30], 0
mov rdx, rbx
mov rax, qword [rdi]
mov rcx, rdi
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [rax + 0x18]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
js 0x1400b2bf4
and dword [rsp + 0x38], 0
mov eax, 3
and qword [rsp + 0x30], 0
xor r9d, r9d
mov rcx, qword [rbp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x28], eax
lea edx, [rax + 7]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x1400b2bf4
mov rax, qword [rbp + 0x30]
xor ecx, ecx
mov qword [rbp + 0x30], rcx
mov qword [r14], rax
jmp 0x1400b2bfb
mov rcx, qword [rbp + 0x30]
xor sil, sil
test rcx, rcx
je 0x1400b2c0b
and qword [rbp + 0x30], 0
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1400b2c1f
and qword [rbp + 0x38], 0
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rbx, qword [rsp + 0x70]
mov al, sil
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
Function at 0x1400b53c0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
and dword [rsp + 0x38], 0
mov rsi, rcx
mov ecx, 0x78
call fcn.140111b94
mov rdi, rax
xor edx, edx
lea rax, [0x140162fb8]
lea r8d, [rdx + 0x70]
mov qword [rdi], rax
lea rcx, [rdi + 8]
call fcn.140113400
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov dword [rdi + 8], 0x6a09e667
mov dword [rdi + 0xc], 0xbb67ae85
mov dword [rdi + 0x10], 0x3c6ef372
mov dword [rdi + 0x14], 0xa54ff53a
mov dword [rdi + 0x18], 0x510e527f
mov dword [rdi + 0x1c], 0x9b05688c
mov dword [rdi + 0x20], 0x1f83d9ab
mov dword [rdi + 0x24], 0x5be0cd19
mov dword [rdi + 0x74], 0x20
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c1094
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x10
lea r10, [0x14017c6a0]
xor ebx, ebx
mov r8, r10
mov edx, ebx
mov r9d, 8
mov ecx, edx
mov eax, edx
and ecx, 1
shr eax, 1
dec ecx
not ecx
and ecx, 0xedb88320
mov edx, ecx
xor edx, eax
sub r9, 1
jne 0x1400c10ae
mov dword [r8], edx
inc ebx
add r8, 4
cmp ebx, 0x100
jb 0x1400c10a6
mov r9d, 0x800
cmp ebx, r9d
jae 0x1400c110f
lea r8, [r10 + rbx*4]
lea eax, [rbx - 0x100]
inc ebx
mov edx, dword [r10 + rax*4]
movzx ecx, dl
shr edx, 8
mov eax, dword [r10 + rcx*4]
xor eax, edx
mov dword [r8], eax
lea r8, [r8 + 4]
cmp ebx, r9d
jb 0x1400c10eb
xor ecx, ecx
lea rax, [0x1400c3d20]
mov qword [0x14017e6a0], rax
mov r11d, 0xf00
xor eax, eax
cpuid
mov r8d, ebx
mov r9d, ecx
mov r10d, edx
xor ecx, ecx
mov eax, 1
cpuid
mov ebx, eax
mov ecx, eax
shr ebx, 8
and eax, 0xf0
mov edx, ebx
and ecx, r11d
and edx, 0xff000
and ebx, r11d
or ebx, eax
or edx, ecx
shr edx, 8
lea rax, [0x140159358]
shr ebx, 4
xor ecx, ecx
cmp dword [rax - 8], r8d
jne 0x1400c1179
cmp dword [rax - 4], r10d
jne 0x1400c1179
cmp dword [rax], r9d
je 0x1400c1187
inc ecx
add rax, 0xc
cmp ecx, 3
jb 0x1400c1168
or ecx, 0xffffffff
test ecx, ecx
je 0x1400c11b4
sub ecx, 1
je 0x1400c11a1
cmp ecx, 1
jne 0x1400c11de
cmp edx, 6
jb 0x1400c11de
jne 0x1400c11d0
cmp ebx, 0xf
jmp 0x1400c11ce
cmp edx, 5
jb 0x1400c11de
jne 0x1400c11d0
cmp ebx, 6
jb 0x1400c11de
cmp ebx, 0xa
je 0x1400c11de
jmp 0x1400c11d0
cmp edx, 6
jb 0x1400c11de
jne 0x1400c11d0
cmp ebx, 0x36
ja 0x1400c11d0
movabs rcx, 0x6000c010000000
bt rcx, rbx
jb 0x1400c11de
lea rax, [0x1400c3e00]
mov qword [0x14017e6a0], rax
add rsp, 0x10
pop rbx
ret
Function at 0x1400c7140
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x230
xor ebx, ebx
mov rdi, rcx
mov dword [rsp + 0x248], ebx
jmp 0x1400c7166
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
lock or dword [rsp], ebx
mov rax, qword [0x14017a968]
test rax, rax
je 0x1400c715b
cmp eax, 2
jne 0x1400c71c5
cmp dword [0x14017c080], eax
jg 0x1400c71b2
mov r9d, eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
mov r8d, 0x82
lea rcx, [rsp + 0x20]
call fcn.1400681c0
lea rdx, str.crash_server_failed_to_launch__self_terminating
lea rcx, [rax + 8]
call fcn.14002bcb4
mov ebx, 1
test bl, 1
je 0x1400c7262
lea rcx, [rsp + 0x20]
jmp 0x1400c725d
mov eax, 1
lock xadd qword [0x14017c578], rax
inc rax
cmp rax, 1
jle 0x1400c71e7
xor edx, edx
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [0x140175d30]
mov dword [0x14017a960], eax
mov qword [0x14017a958], rdi
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x14017c080], 2
jg 0x1400c7250
mov r9d, 2
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
mov r8d, 0xae
lea rcx, [rsp + 0x128]
call fcn.1400681c0
lea rdx, str.crash_server_did_not_respond__self_terminating
lea rcx, [rax + 8]
call fcn.14002bcb4
mov ebx, 2
test bl, 2
je 0x1400c7262
lea rcx, [rsp + 0x128]
call fcn.140068220
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rbx, qword [rsp + 0x240]
xor eax, eax
add rsp, 0x230
pop rdi
ret
Function at 0x1400c867c
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
cmp ecx, 6
jb 0x1400c869f
jne 0x1400c8698
shr ax, 8
cmp al, 1
jbe 0x1400c869f
call fcn.1400fc6f4
jmp 0x1400c86ac
lea rcx, [0x14017a918]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, 8
call fcn.140111b94
mov qword [0x14017a950], rax
and qword [rax], 0
add rsp, 0x28
ret

Function at 0x1400c96b8
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x250
xor ebx, ebx
lea r8, [rax + 0x18]
mov rsi, rdx
mov dword [rsp + 0x270], ebx
mov edx, ebx
xor r9d, r9d
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x1400c9754
lea edi, [rbx + 2]
cmp dword [0x14017c080], edi
jg 0x1400c972e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, edi
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r8d, 0xe9
call fcn.140068d00
lea rdx, [0x14015f258]
lea rcx, [rax + 0x10]
call fcn.14002bcb4
mov ebx, edi
test dil, bl
je 0x1400c973d
lea rcx, [rsp + 0x30]
call fcn.140068d80
xor al, al
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
cmp qword [rsp + 0x270], rbx
jne 0x1400c973d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400c97c2
lea edi, [rax + 2]
cmp dword [0x14017c080], edi
jg 0x1400c97b0
lea ebx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, edi
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
lea rcx, [rsp + 0x140]
mov dword [rsp + 0x20], eax
mov r8d, 0xf3
call fcn.140068d00
lea rdx, [0x14015f248]
lea rcx, [rax + 0x10]
call fcn.14002bcb4
test bl, 1
je 0x1400c973d
lea rcx, [rsp + 0x140]
jmp 0x1400c9738
mov r8d, 0x28
mov rdx, rsi
mov rcx, rdi
call fcn.1400fd17c
jmp 0x1400c973f
Function at 0x1400ca160
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, qword [rcx + 0x38]
mov rsi, r8
mov rbx, qword [rcx + 0x30]
mov r14d, edx
jmp 0x1400ca23a
cmp dword [rbx + 0x70], r14d
jne 0x1400ca236
lea rcx, [rbx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x1400ca1a4
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400ca1b6
mov eax, 1
jmp 0x1400ca1bc
shr eax, 3
and eax, 2
test eax, eax
jne 0x1400ca236
mov r8, qword [rsi + 8]
cmp rbx, r8
jae 0x1400ca212
cmp qword [rsi], rbx
ja 0x1400ca212
mov rcx, rbx
movabs rax, 0x4924924924924925
sub rcx, qword [rsi]
imul rcx
mov rbp, rdx
sar rbp, 5
mov rax, rbp
shr rax, 0x3f
add rbp, rax
cmp r8, qword [rsi + 0x10]
jne 0x1400ca200
mov rcx, rsi
call fcn.1400cc8cc
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400ca231
imul rdx, rbp, 0x70
add rdx, qword [rsi]
jmp 0x1400ca22c
cmp r8, qword [rsi + 0x10]
jne 0x1400ca220
mov rcx, rsi
call fcn.1400cc8cc
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400ca231
mov rdx, rbx
call fcn.1400cbbec
add qword [rsi + 8], 0x70
add rbx, 0x78
cmp rbx, rdi
jne 0x1400ca18c
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
movups xmm0, xmmword [rdx]
mov rbx, qword [rcx + 0x30]
mov rsi, r9
mov rdi, rcx
movdqu xmmword [rax - 0x18], xmm0
cmp rbx, qword [rcx + 0x38]
je 0x1400ca2ac
mov rax, qword [rax - 0x10]
mov rdx, qword [rsp + 0x20]
cmp qword [rbx], rdx
jne 0x1400ca29c
cmp qword [rbx + 8], rax
je 0x1400ca2a6
add rbx, 0x78
cmp rbx, qword [rcx + 0x38]
jne 0x1400ca291
cmp rbx, qword [rcx + 0x38]
jne 0x1400ca2b3
mov eax, 1
jmp 0x1400ca2fa
cmp dword [rbx + 0x70], r8d
jne 0x1400ca2e1
lea rcx, [rbx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x1400ca2c7
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400ca2d9
mov eax, 1
jmp 0x1400ca2ef
shr eax, 3
and eax, 2
jmp 0x1400ca2ef
mov eax, 1
cmp dword [rbx + 0x70], eax
lea ecx, [rax + 3]
cmove eax, ecx
test eax, eax
jne 0x1400ca2fa
mov byte [rdi + 0x28], 1
mov qword [rsi], rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400cb084
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp + 0x78], rax
xor ebx, ebx
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x40], ebx
jb 0x1400cb0bc
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400cb195
cmp dword [0x14017c080], 2
jg 0x1400cb15b
cmp qword [rdi + 0x18], 8
jb 0x1400cb0e4
mov rax, qword [rdi]
jmp 0x1400cb0e7
mov rax, rdi
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 2
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov r8d, 0x222
call fcn.140068d00
lea rdx, [rsp + 0x30]
mov rbx, rax
lea rcx, [rbp + 0x58]
call fcn.140050da0
lea rcx, [rbx + 0x10]
mov rdi, rax
lea rdx, str.GetFileAttributes
call fcn.14002bcb4
mov rcx, rax
mov rdx, rdi
call fcn.14002bf00
mov ebx, 3
test bl, 2
je 0x1400cb16d
and ebx, 0xfffffffd
lea rcx, [rsp + 0x48]
call fcn.140068d80
test bl, 1
je 0x1400cb18e
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x1400cb18e
mov rcx, qword [rbp + 0x58]
inc rdx
mov r8d, 1
call fcn.1400223b0
xor al, al
jmp 0x1400cb24e
test al, 0x10
jne 0x1400cb24c
cmp dword [0x14017c080], 2
jg 0x1400cb232
cmp qword [rdi + 0x18], 8
jb 0x1400cb1b6
mov rax, qword [rdi]
jmp 0x1400cb1b9
mov rax, rdi
mov qword [rsp + 0x30], rax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
mov rax, qword [rdi + 0x10]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov r9d, 2
movaps xmm0, xmmword [rsp + 0x30]
mov r8d, 0x226
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1400681c0
lea rdx, [rsp + 0x30]
mov rbx, rax
lea rcx, [rbp + 0x58]
call fcn.140050da0
lea rcx, [rbx + 8]
mov rdi, rax
lea rdx, str.GetFileAttributes
call fcn.14002bcb4
mov rcx, rax
mov rdx, rdi
call fcn.14002bf00
mov rcx, rax
lea rdx, str.:_not_a_directory
call fcn.14002bcb4
mov ebx, ntohl
test bl, 8
je 0x1400cb244
and ebx, 0xfffffff7
lea rcx, [rsp + 0x48]
call fcn.140068220
test bl, 4
jmp 0x1400cb170
mov al, 1
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.140111850
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400cb270
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rsp + 0x178], rax
xor edi, edi
mov rbx, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x40], edi
jb 0x1400cb2a2
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400cb2b5
mov al, 1
jmp 0x1400cb3a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400cb39b
cmp dword [0x14017c080], 2
jg 0x1400cb35a
cmp qword [rbx + 0x18], 8
jb 0x1400cb2df
mov rax, qword [rbx]
jmp 0x1400cb2e2
mov rax, rbx
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 2
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov r8d, 0x238
call fcn.140068d00
lea rdx, [rsp + 0x30]
mov rbx, rax
lea rcx, [rsp + 0x158]
call fcn.140050da0
lea rcx, [rbx + 0x10]
mov rdi, rax
lea rdx, str.CreateDirectory
call fcn.14002bcb4
mov rcx, rax
mov rdx, rdi
call fcn.14002bf00
mov edi, 3
test dil, 2
je 0x1400cb36d
and edi, 0xfffffffd
lea rcx, [rsp + 0x48]
call fcn.140068d80
test dil, 1
je 0x1400cb397
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x1400cb397
mov rcx, qword [rsp + 0x158]
inc rdx
mov r8d, 1
call fcn.1400223b0
xor al, al
jmp 0x1400cb3a3
mov rcx, rbx
call fcn.1400cb084
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140111850
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rdi
ret
Function at 0x1400cdc78
Capabilities:
Parse pe header

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x180
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor ebx, ebx
mov r14, r8
mov rbp, rdx
mov rsi, rcx
mov dword [rsp + 0x20], ebx
cmp byte [rcx + 0x38], bl
je 0x1400cdcb2
mov rdx, qword [rcx + 0x28]
jmp 0x1400cdcb5
mov edx, dword [rcx + 0x20]
lea r9, [rsp + 0x130]
mov r8d, 0x40
call fcn.1400d02dc
test al, al
jne 0x1400cdd29
mov edi, 1
mov ecx, edi
call fcn.140067fc0
test al, al
je 0x1400cdd13
mov r9d, edi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
mov r8d, 0x119
lea rcx, [rsp + 0x28]
call fcn.1400681c0
lea rdx, str.could_not_read_dos_header_from
lea rcx, [rax + 8]
call fcn.14002bcb4
mov rcx, rax
mov rdx, rsi
call fcn.14002bf00
mov ebx, edi
test dil, bl
je 0x1400cdd22
lea rcx, [rsp + 0x28]
call fcn.140068220
xor al, al
jmp 0x1400cde6c
mov eax, 0x5a4d
cmp word [rsp + 0x130], ax
je 0x1400cdd85
mov edi, 1
mov ecx, edi
call fcn.140067fc0
test al, al
je 0x1400cdd80
mov r9d, edi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
mov r8d, 0x11f
lea rcx, [rsp + 0x28]
call fcn.1400681c0
lea rdx, str.invalid_e_magic_in_dos_header_of
lea rcx, [rax + 8]
call fcn.14002bcb4
mov rcx, rax
mov rdx, rsi
call fcn.14002bf00
lea ebx, [rdi + 1]
test bl, 2
jmp 0x1400cdd16
cmp byte [rsi + 0x38], bl
je 0x1400cdd90
mov rax, qword [rsi + 0x28]
jmp 0x1400cdd93
mov eax, dword [rsi + 0x20]
movsxd rdi, dword [rsp + 0x16c]
mov r9, rbp
add rdi, rax
mov r8d, 0x108
mov rdx, rdi
mov rcx, rsi
call fcn.1400d02dc
test al, al
jne 0x1400cde06
mov edi, 1
mov ecx, edi
call fcn.140067fc0
test al, al
je 0x1400cddfe
mov r9d, edi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
mov r8d, 0x127
lea rcx, [rsp + 0x28]
call fcn.1400681c0
lea rdx, str.could_not_read_nt_headers_from
lea rcx, [rax + 8]
call fcn.14002bcb4
mov rcx, rax
mov rdx, rsi
call fcn.14002bf00
lea ebx, [rdi + 3]
test bl, 4
jmp 0x1400cdd16
cmp dword [rbp], 0x4550
je 0x1400cde5f
mov edi, 1
mov ecx, edi
call fcn.140067fc0
test al, al
je 0x1400cde57
mov r9d, edi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
mov r8d, 0x12d
lea rcx, [rsp + 0x28]
call fcn.1400681c0
lea rdx, str.invalid_signature_in_nt_headers_of
lea rcx, [rax + 8]
call fcn.14002bcb4
mov rcx, rax
mov rdx, rsi
call fcn.14002bf00
lea ebx, [rdi + 7]
test bl, 8
jmp 0x1400cdd16
test r14, r14
je 0x1400cde67
mov qword [r14], rdi
mov eax, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140111850
add rsp, 0x180
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400cde8c
Capabilities:
Parse pe header

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x180
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor ebx, ebx
mov r14, r8
mov rbp, rdx
mov rsi, rcx
mov dword [rsp + 0x20], ebx
cmp byte [rcx + 0x38], bl
je 0x1400cdec6
mov rdx, qword [rcx + 0x28]
jmp 0x1400cdec9
mov edx, dword [rcx + 0x20]
lea r9, [rsp + 0x130]
mov r8d, 0x40
call fcn.1400d02dc
test al, al
jne 0x1400cdf3d
mov edi, 1
mov ecx, edi
call fcn.140067fc0
test al, al
je 0x1400cdf27
mov r9d, edi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
mov r8d, 0x119
lea rcx, [rsp + 0x28]
call fcn.1400681c0
lea rdx, str.could_not_read_dos_header_from
lea rcx, [rax + 8]
call fcn.14002bcb4
mov rcx, rax
mov rdx, rsi
call fcn.14002bf00
mov ebx, edi
test dil, bl
je 0x1400cdf36
lea rcx, [rsp + 0x28]
call fcn.140068220
xor al, al
jmp 0x1400ce080
mov eax, 0x5a4d
cmp word [rsp + 0x130], ax
je 0x1400cdf99
mov edi, 1
mov ecx, edi
call fcn.140067fc0
test al, al
je 0x1400cdf94
mov r9d, edi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
mov r8d, 0x11f
lea rcx, [rsp + 0x28]
call fcn.1400681c0
lea rdx, str.invalid_e_magic_in_dos_header_of
lea rcx, [rax + 8]
call fcn.14002bcb4
mov rcx, rax
mov rdx, rsi
call fcn.14002bf00
lea ebx, [rdi + 1]
test bl, 2
jmp 0x1400cdf2a
cmp byte [rsi + 0x38], bl
je 0x1400cdfa4
mov rax, qword [rsi + 0x28]
jmp 0x1400cdfa7
mov eax, dword [rsi + 0x20]
movsxd rdi, dword [rsp + 0x16c]
mov r9, rbp
add rdi, rax
mov r8d, 0xf8
mov rdx, rdi
mov rcx, rsi
call fcn.1400d02dc
test al, al
jne 0x1400ce01a
mov edi, 1
mov ecx, edi
call fcn.140067fc0
test al, al
je 0x1400ce012
mov r9d, edi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
mov r8d, 0x127
lea rcx, [rsp + 0x28]
call fcn.1400681c0
lea rdx, str.could_not_read_nt_headers_from
lea rcx, [rax + 8]
call fcn.14002bcb4
mov rcx, rax
mov rdx, rsi
call fcn.14002bf00
lea ebx, [rdi + 3]
test bl, 4
jmp 0x1400cdf2a
cmp dword [rbp], 0x4550
je 0x1400ce073
mov edi, 1
mov ecx, edi
call fcn.140067fc0
test al, al
je 0x1400ce06b
mov r9d, edi
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
mov r8d, 0x12d
lea rcx, [rsp + 0x28]
call fcn.1400681c0
lea rdx, str.invalid_signature_in_nt_headers_of
lea rcx, [rax + 8]
call fcn.14002bcb4
mov rcx, rax
mov rdx, rsi
call fcn.14002bf00
lea ebx, [rdi + 7]
test bl, 8
jmp 0x1400cdf2a
test r14, r14
je 0x1400ce07b
mov qword [r14], rdi
mov eax, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140111850
add rsp, 0x180
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400cfe40
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x470
mov rax, qword gs:[0x30]
xor ebx, ebx
mov bpl, r9b
mov dword [rsp + 0x498], ebx
mov r14b, r8b
mov rdi, rdx
mov rsi, rcx
mov r10, qword [rax + 0x48]
cmp qword [rdx + 0x4d0], r10
jne 0x1400cfea8
mov rcx, rdx
mov dword [rdx + 0x4f8], ebx
call fcn.14010fd10
mov al, 1
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, eax
cmp eax, 0xffffffff
jne 0x1400cff0d
cmp dword [0x14017c080], 2
jg 0x1400cfefa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 2
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r8d, 0x97
call fcn.140068d00
lea rdx, [0x140159f28]
lea rcx, [rax + 0x10]
call fcn.14002bcb4
mov ebx, 1
test bl, 1
je 0x1400cff09
lea rcx, [rsp + 0x30]
call fcn.140068d80
xor al, al
jmp 0x1400cfe90
mov eax, ebx
cmp r14b, 1
mov r8d, 0x4d0
sete al
xor edx, edx
sub ecx, eax
mov dword [rdi + 0x4f8], ecx
mov rcx, rdi
call fcn.140113400
mov rdx, rdi
mov rcx, rsi
test bpl, bpl
je 0x1400cffab
mov dword [rdi], 0x10001f
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
jne 0x1400d001a
cmp dword [0x14017c080], 2
jg 0x1400cff95
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 2
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rcx, [rsp + 0x140]
mov dword [rsp + 0x20], eax
mov r8d, 0xa8
call fcn.140068d00
lea rdx, [0x140159f10]
lea rcx, [rax + 0x10]
call fcn.14002bcb4
mov ebx, 2
test bl, 2
je 0x1400cff09
lea rcx, [rsp + 0x140]
jmp 0x1400cff04
mov dword [rdi + 0x30], 0x10001f
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1400d001a
cmp dword [0x14017c080], 2
jg 0x1400d0004
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 2
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rcx, [rsp + 0x250]
mov dword [rsp + 0x20], eax
mov r8d, 0xb0
call fcn.140068d00
lea rdx, [0x140159ed8]
lea rcx, [rax + 0x10]
call fcn.14002bcb4
mov ebx, 4
test bl, 4
je 0x1400cff09
lea rcx, [rsp + 0x250]
jmp 0x1400cff04
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x1400cfe8e
cmp dword [0x14017c080], 2
jg 0x1400d0073
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 2
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rcx, [rsp + 0x360]
mov dword [rsp + 0x20], eax
mov r8d, 0xb6
call fcn.140068d00
lea rdx, [0x140159ec8]
lea rcx, [rax + 0x10]
call fcn.14002bcb4
mov ebx, 8
test bl, 8
je 0x1400cff09
lea rcx, [rsp + 0x360]
jmp 0x1400cff04
Function at 0x1400e1234
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rdx + 0x18], 0x10
mov rbx, rcx
jb 0x1400e1247
mov rdx, qword [rdx]
or r9, 0xffffffffffffffff
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
inc r9
cmp byte [rdx + r9], r8b
jne 0x1400e1258
test r9, r9
je 0x1400e1284
movzx eax, byte [r8 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r10
cmp r8, r9
jb 0x1400e1266
btr ecx, 0x1f
mov edx, 0x1f31d
call fcn.14012201c
mov qword [rsp + 0x30], rax
shr rax, 0x20
imul ecx, eax, 0x41a7
imul eax, dword [rsp + 0x30], 0xb14
sub ecx, eax
jns 0x1400e12b3
add ecx, 0x7fffffff
mov rax, qword [rbx + 0x10]
movsxd rcx, ecx
add rax, rcx
mov rcx, qword [rbx + 8]
dec rcx
and rax, rcx
add rsp, 0x20
pop rbx
ret