joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d0719
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x178
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov eax, 0xffffffff
cmp r8, rax
mov ebp, 0xffffffff
cmovae esi, ebp
lea r9, [rsp + 0x16c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400d0822
lea r15, [rsp + 0x16c]
lea r12, [rsp + 0x30]
mov r13, qword [sym.imp.KERNEL32.dll_GetFileType]
mov r14, qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x30], ebp
mov eax, dword [rsp + 0x16c]
cmp eax, ebp
jne 0x1400d07e8
mov rcx, r15
mov rdx, r12
lea r8, str.bytes_read___static_cast_DWORD___1_
call fcn.140031060
test rax, rax
je 0x1400d07e1
mov rcx, r12
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
mov r8d, 0x7d
mov r9, rax
call fcn.140030840
mov rcx, r12
call fcn.14002f710
mov eax, dword [rsp + 0x16c]
test eax, eax
jne 0x1400d083d
mov rcx, rbx
call r13
cmp eax, 3
jne 0x1400d0836
mov dword [rsp + 0x16c], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
mov r9, r15
call r14
test eax, eax
jne 0x1400d079b
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x1400d083f
mov eax, dword [rsp + 0x16c]
mov esi, eax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1401207e0
mov rax, rsi
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400d0ecc
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rdi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.1400d0dfb
test rax, rax
jne 0x1400d0f63
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
jne 0x1400d0f63
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400d0f61
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0xf3
mov r9d, 2
call fcn.140030be0
lea rcx, [rsp + 0x40]
lea rdx, [0x14016a53e]
mov r8d, 0xc
call fcn.140001c63
mov rcx, rsi
call fcn.140030cb0
xor esi, esi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1401207e0
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret
Function at 0x1400dafb8
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400db080]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
test rax, rax
jne 0x1400db060
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_thread_thread_win.cc
lea rsi, [rsp + 0x38]
mov rcx, rsi
mov r8d, 0x19
mov r9d, 3
call fcn.140030be0
lea rcx, [rsp + 0x48]
lea rdx, str.Check_failed:_platform_thread_.
mov r8d, 0x20
call fcn.140001c63
lea rdx, [0x1401660bf]
mov r8d, 0xc
mov rcx, rax
call fcn.140001c63
mov rcx, rsi
call fcn.140030cb0
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.1401207e0
nop
add rsp, 0x180
pop rsi
ret

Function at 0x1400dedde
Capabilities:
Create pipe

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r14, qword [rsp + 0xc8]
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [r14], 0xffffffffffffffff
mov esi, 5
cmp ecx, 3
jne 0x1400deed9
mov edi, dword [rsp + 0xc0]
mov ebx, dword [rsp + 0xb8]
mov ecx, dword [rsp + 0xb0]
mov r10d, dword [rsp + 0xa8]
mov eax, dword [rsp + 0xa0]
test byte [r8], 1
je 0x1400dee45
mov r8, qword [r8 + 0x10]
jmp 0x1400dee49
add r8, 2
mov rsi, qword [rdx]
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x38], 0
mov rcx, r8
mov edx, r9d
mov r8d, eax
mov r9d, r10d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp rax, 0xffffffffffffffff
je 0x1400deec3
mov rdi, rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x40]
mov qword [r15], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ebx, ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x30], 3
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9, r15
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, 1
sbb rbx, rbx
or rbx, qword [r15]
jmp 0x1400deeca
mov rbx, 0xffffffffffffffff
mov qword [r14], rbx
xor eax, eax
cmp rbx, 0xffffffffffffffff
sete al
lea esi, [rax + rax*4]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401207e0
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400df2f6
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r14d, ecx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea eax, [r14 - 5]
mov ebp, 5
cmp eax, 1
ja 0x1400df4cb
mov rbx, r8
mov r15, rdx
mov rbp, qword [rsp + 0x130]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
xor r12d, r12d
mov qword [rsp + 0xb0], r12
mov dword [rsp + 0x50], 0x68
mov esi, 2
mov r13b, 1
test byte [r9], r13b
je 0x1400df38e
mov r9, qword [r9 + 0x10]
jmp 0x1400df391
add r9, rsi
mov rcx, r9
call fcn.14013795c
mov rdi, rax
movzx eax, byte [rbp]
mov ecx, 2
test al, r13b
je 0x1400df3b4
mov rax, qword [rbp + 8]
mov rbp, qword [rbp + 0x10]
jmp 0x1400df3ba
add rbp, rsi
shr rax, 1
mov rsi, qword [rsp + 0x138]
test rax, rax
cmove rbp, rax
test byte [rbx], r13b
je 0x1400df3d4
mov rbx, qword [rbx + 0x10]
jmp 0x1400df3d7
add rbx, rcx
mov r15, qword [r15]
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebp, 5
test eax, eax
je 0x1400df4be
mov r13, rdi
cmp r14d, 6
mov r12d, 0x1fffff
mov edi, 0x101c01
cmove edi, r12d
mov rbx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov rcx, rax
mov rdx, rbx
mov r8, r15
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rbx, qword [rsi + 8]
test eax, eax
je 0x1400df4b2
add rsi, 8
cmp r14d, 6
mov edi, 0x100c43
cmove edi, r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov rcx, rax
mov rdx, rbx
mov r8, r15
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea ebp, [rcx + rcx*4]
jmp 0x1400df4bb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, r13
test rdi, rdi
je 0x1400df4cb
mov rcx, rdi
call fcn.14013b290
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401207e0
mov eax, ebp
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400df4f2
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, r8
mov r8, rdx
mov rdi, rcx
mov rsi, qword [rsp + 0x90]
mov edx, dword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
mov qword [rsi], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r9
xor r14d, r14d
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x1400df58a
mov rbx, rax
mov rdi, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x30], 3
mov rcx, rax
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea eax, [rcx + rcx*4]
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x1400e21fa
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x180
mov r12, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x178], rax
test dl, dl
je 0x1400e2286
lea rax, [0x1400f7840]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
lea rdi, [0x14016b8d0]
lea r8, str.NtMapViewOfSection
mov rcx, r12
mov rdx, rdi
mov r9d, 1
call fcn.1400e1bc0
lea rax, [0x1400f78b0]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
lea r8, str.NtUnmapViewOfSection
mov rcx, r12
mov rdx, rdi
mov r9d, 1
call fcn.1400e1bc0
jmp 0x1400e2292
cmp qword [r12 + 0x18], 0
je 0x1400e2429
mov rax, qword [r12]
mov r14, qword [rax]
mov dword [rsp + 0x20], 1
mov r13, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r8d, 0x10000
mov rcx, r14
xor edx, edx
mov r9d, 0x2000
call r13
mov rdi, rax
mov rsi, qword [r12 + 0x18]
shl rsi, 6
lea r15, [rsi + 0x60]
mov rcx, r15
call fcn.1400e1a14
mov rbx, rax
mov rax, 0xfffffffffffff000
mov rcx, rbx
and rcx, rax
lea rdx, [rcx + rdi]
and ebx, 0xfff
add rsi, 0x105f
and rsi, rax
mov dword [rsp + 0x20], 0x40
mov rcx, r14
mov r8, rsi
mov r9d, 0x1000
call r13
mov rdi, rax
test rax, rax
jne 0x1400e2340
lea rdx, str..._.._sandbox_win_src_interception.cc
lea r9, str.thunk_base
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov r8d, 0x188
call fcn.14002f600
mov rcx, rsi
call fcn.14002f710
add rdi, rbx
movaps xmm0, xmmword [section..rdata]
lea rsi, [rsp + 0x40]
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x50], xmm0
movups xmmword [rsi + 0x40], xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi], r15
mov dword [rsi + 0x18], 0
mov qword [rsi + 8], 0x20
lea rcx, [0x1401a46a0]
mov r8d, 0x150
xor edx, edx
call fcn.1401236f0
mov rcx, r12
mov rdx, rdi
mov r8, r15
mov r9, rsi
call fcn.1400e26d0
mov ebx, eax
test eax, eax
jne 0x1400e242b
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x38]
mov qword [rcx], rax
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x40]
mov r9d, 0x20
mov rcx, r14
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, 0x2a
test eax, eax
je 0x1400e242b
cmp qword [rsp + 0x38], 0x20
jne 0x1400e242b
lea rax, [rsp + 0x34]
mov dword [rax], 0xaaaaaaaa
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, rdi
mov r8, r15
mov r9d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [r12]
lea rdx, str.g_originals
lea r8, [0x1401a46a0]
mov r9d, 0x150
call fcn.1400c19f4
mov ebx, eax
jmp 0x1400e242b
xor ebx, ebx
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.1401207e0
mov eax, ebx
add rsp, 0x180
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400e74d0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x1a0
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [section..rdata]
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 0x1400e7563
mov ecx, 1
call fcn.1400302f0
test al, al
je 0x1400e7563
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_system_snapshot_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xb0
mov r9d, 1
call fcn.140030390
lea rcx, [rsp + 0x30]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, 0x2c
call fcn.140001c63
mov rcx, rsi
call fcn.14002f710
mov eax, dword [rsp + 0x180]
cmp eax, 0x100
mov esi, 0xff
cmovb esi, eax
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1401207e0
mov eax, esi
add rsp, 0x1a0
pop rsi
ret
Function at 0x1400f7444
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x28
mov edx, 4
call sub.ADVAPI32.dll_SystemFunction036
test al, al
setne al
add rsp, 0x28
ret
Function at 0x1400fa94b
Capabilities:
Delete directory

Disassembly:
jmp 0x1400fa7e0
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x190], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x1400fa810
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400fa84a
and eax, 0x410
cmp eax, 0x410
jne 0x1400fa84a
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401207e0
mov rcx, rsi
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
jmp 0x1400fa94b
test byte [rsi], 1
mov rcx, rbx
je 0x1400fa856
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x1400fa92d
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400fa92b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x94
mov r9d, 2
call fcn.140030be0
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.140001c63
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
mov bpl, 1
test dl, bpl
cmovne rbx, qword [rsi + 0x10]
mov rdi, rax
lea rdx, [rsp + 0x28]
mov qword [rdx], rbx
cmovne rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.14003af00
movzx r8d, byte [rsi]
test r8b, bpl
je 0x1400fa900
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x1400fa908
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001c63
test byte [rsp + 0x38], bpl
je 0x1400fa921
mov rcx, qword [rsp + 0x48]
call fcn.1401203c4
lea rcx, [rsp + 0x50]
call fcn.140030cb0
xor edi, edi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401207e0
mov eax, edi
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
ret
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x190], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x1400fa97b
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dil, 1
test eax, eax
jne 0x1400faa52
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400faa50
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x2f
mov r9d, 2
call fcn.140030be0
lea rcx, [rsp + 0x60]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.140001c63
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
mov bpl, 1
test dl, bpl
cmovne rbx, qword [rsi + 0x10]
mov rdi, rax
lea rdx, [rsp + 0x28]
mov qword [rdx], rbx
cmovne rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.14003af00
movzx r8d, byte [rsi]
test r8b, bpl
je 0x1400faa25
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x1400faa2d
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001c63
test byte [rsp + 0x38], bpl
je 0x1400faa46
mov rcx, qword [rsp + 0x48]
call fcn.1401203c4
lea rcx, [rsp + 0x50]
call fcn.140030cb0
xor edi, edi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401207e0
mov eax, edi
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1400fee7a
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [section..rdata]
lea rbx, [rsp + 0x160]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdi, [rcx + 0x18]
mov rcx, rdi
call fcn.1400ff928
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, rbx
call fcn.14010ac2a
test al, al
je 0x1400fef48
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1400fef91
mov rcx, rdi
call fcn.1400ff928
movsxd rdi, dword [rsp + 0x19c]
add rdi, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, rdi
mov r9, r15
call fcn.14010ac2a
test al, al
je 0x1400fefda
cmp dword [r15], 0x4550
jne 0x1400ff01d
mov sil, 1
test r14, r14
je 0x1400ff092
mov qword [r14], rdi
jmp 0x1400ff092
mov ecx, 1
call fcn.1400302f0
test al, al
je 0x1400ff090
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.140030390
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
jmp 0x1400ff05d
mov ecx, 1
call fcn.1400302f0
test al, al
je 0x1400ff090
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.140030390
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1400ff05d
mov ecx, 1
call fcn.1400302f0
test al, al
je 0x1400ff090
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.140030390
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1400fef86
mov ecx, 1
call fcn.1400302f0
test al, al
je 0x1400ff090
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.140030390
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
call fcn.140001c63
movzx r8d, byte [rsi]
mov cl, 1
test r8b, cl
je 0x1400ff077
mov r8, qword [rsi + 8]
mov rsi, qword [rsi + 0x10]
jmp 0x1400ff07d
shr r8, 1
inc rsi
mov rcx, rax
mov rdx, rsi
call fcn.140001c63
mov rcx, rdi
call fcn.14002f710
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1401207e0
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400ff0b4
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [section..rdata]
lea rbx, [rsp + 0x160]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdi, [rcx + 0x18]
mov rcx, rdi
call fcn.1400ff928
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, rbx
call fcn.14010ac2a
test al, al
je 0x1400ff182
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1400ff1cb
mov rcx, rdi
call fcn.1400ff928
movsxd rdi, dword [rsp + 0x19c]
add rdi, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, rdi
mov r9, r15
call fcn.14010ac2a
test al, al
je 0x1400ff214
cmp dword [r15], 0x4550
jne 0x1400ff257
mov sil, 1
test r14, r14
je 0x1400ff2cc
mov qword [r14], rdi
jmp 0x1400ff2cc
mov ecx, 1
call fcn.1400302f0
test al, al
je 0x1400ff2ca
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.140030390
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
jmp 0x1400ff297
mov ecx, 1
call fcn.1400302f0
test al, al
je 0x1400ff2ca
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.140030390
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1400ff297
mov ecx, 1
call fcn.1400302f0
test al, al
je 0x1400ff2ca
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.140030390
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1400ff1c0
mov ecx, 1
call fcn.1400302f0
test al, al
je 0x1400ff2ca
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.140030390
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
call fcn.140001c63
movzx r8d, byte [rsi]
mov cl, 1
test r8b, cl
je 0x1400ff2b1
mov r8, qword [rsi + 8]
mov rsi, qword [rsi + 0x10]
jmp 0x1400ff2b7
shr r8, 1
inc rsi
mov rcx, rax
mov rdx, rsi
call fcn.140001c63
mov rcx, rdi
call fcn.14002f710
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1401207e0
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1401021d0
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov dword [rcx + 0x48], 0x1003f
mov eax, dword [rdx + 0x234]
mov dword [rcx + 0x4c], eax
mov eax, dword [rdx + 0x238]
mov dword [rcx + 0x50], eax
mov eax, dword [rdx + 0x23c]
mov dword [rcx + 0x54], eax
mov eax, dword [rdx + 0x240]
mov dword [rcx + 0x58], eax
mov eax, dword [rdx + 0x24c]
mov dword [rcx + 0x5c], eax
mov eax, dword [rdx + 0x250]
mov dword [rcx + 0x60], eax
lea rdx, [rcx + 0x64]
lea rbx, [rdi + 0x34]
mov rcx, rbx
call fcn.1400db780
movzx eax, word [rdi + 0x30]
mov dword [rsi + 0xd4], eax
movzx eax, word [rdi + 0x2e]
mov dword [rsi + 0xd8], eax
movzx eax, word [rdi + 0x2c]
mov dword [rsi + 0xdc], eax
movzx eax, word [rdi + 0x2a]
mov dword [rsi + 0xe0], eax
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0xe4], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0xe8], eax
mov eax, dword [rdi + 4]
mov dword [rsi + 0xec], eax
mov eax, dword [rdi + 0xc]
mov dword [rsi + 0xf0], eax
mov eax, dword [rdi + 8]
mov dword [rsi + 0xf4], eax
mov eax, dword [rdi]
mov dword [rsi + 0xf8], eax
mov eax, dword [rdi + 0x18]
mov dword [rsi + 0xfc], eax
mov eax, dword [rdi + 0x20]
mov dword [rsi + 0x100], eax
movzx eax, word [rdi + 0x28]
mov dword [rsi + 0x104], eax
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x108], eax
mov eax, dword [rdi + 0x1c]
mov dword [rsi + 0x10c], eax
movzx eax, word [rdi + 0x32]
mov dword [rsi + 0x110], eax
add rsi, 0x114
mov r8d, 0x200
mov rcx, rsi
mov rdx, rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140123290