joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402015d0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
cmp rbx, qword [rcx + 0x18]
je 0x140201616
mov r15, rbx
test r15, r15
je 0x140201724
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12, qword [rsi]
mov r14, qword [rsi + 8]
mov rax, r14
sub rax, r12
jbe 0x140201672
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r15, r14
sub r15, rax
sub rbx, r14
je 0x140201661
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.1401cd6f0
mov r14, qword [rsi + 8]
add r15, rbx
mov qword [rsi + 0x10], r15
lea rax, [r14 + r12*8]
mov qword [rsi + 8], rax
jmp 0x1402015f2
mov rax, rbx
sub rax, r12
sar rax, 2
cmp rbx, r12
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x140201737
lea rcx, [r13*8]
call fcn.14018f5b8
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rbx
mov r15, rcx
sub rdx, r14
je 0x1402016d7
xor r15d, r15d
mov r8, rcx
add r8, r15
je 0x140201724
mov r9, qword [r14 + r15]
mov qword [r8], r9
add r15, 8
cmp rdx, r15
jne 0x1402016bc
add r15, rcx
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], rdx
cmp rbx, r14
je 0x1402016f7
add rbx, 0xfffffffffffffff8
jne 0x1402016ea
jmp 0x140201711
test r12, r12
je 0x1402015f2
mov rcx, r12
call fcn.14018f5b0
mov r15, qword [rsi + 0x10]
jmp 0x1402015f2
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.1401ceb00
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1401ceb00
call fcn.1401ceb00
int3

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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, r8
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov r15, qword [rcx + 0x58]
cmp rdi, r15
je 0x140210196
mov rbx, rcx
lea r14, [rsp + 0x20]
mov rcx, rdi
mov rdx, r14
call fcn.14022a0a0
test al, al
jne 0x140210192
add rdi, 0x70
cmp rdi, r15
jne 0x14021017a
mov r15, qword [rbx + 0x58]
cmp rdi, r15
je 0x1402101cf
cmp byte [rdi + 0x27], 0
js 0x1402101a7
lea rcx, [rdi + 0x10]
jmp 0x1402101ab
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov ebx, 1
cmovne ebx, ecx
test ebx, ebx
jne 0x1402101d4
mov qword [rsi], rdi
xor ebx, ebx
jmp 0x1402101d4
mov ebx, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140191d80
mov eax, ebx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140210350
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, r9
mov ebp, r8d
mov rdi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rbx, qword [rcx + 0x50]
mov r15, qword [rcx + 0x58]
cmp rbx, r15
je 0x1402103aa
lea r14, [rsp + 0x20]
mov rcx, rbx
mov rdx, r14
call fcn.14022a0a0
test al, al
jne 0x1402103a6
add rbx, 0x70
cmp rbx, r15
jne 0x14021038e
mov r15, qword [rdi + 0x58]
mov r14d, 1
cmp rbx, r15
je 0x1402103fd
mov eax, dword [rbx + 0x68]
cmp eax, ebp
jne 0x1402103ee
cmp byte [rbx + 0x27], 0
jns 0x1402103c8
mov rcx, qword [rbx + 0x10]
jmp 0x1402103cc
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1402103fd
shr eax, 3
and eax, 2
mov r14d, eax
jne 0x1402103fd
mov byte [rdi + 0x48], 1
mov qword [rsi], rbx
xor r14d, r14d
jmp 0x1402103fd
xor ecx, ecx
cmp eax, 1
sete cl
lea r14d, [rcx + rcx*2]
inc r14d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140191d80
mov eax, r14d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1402159d0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rax, qword [0x1402cbd00]
test rax, rax
jne 0x140215a14
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x1402cbd00]
test rax, rax
je 0x140215a01
cmp eax, 2
jne 0x140215a5d
cmp dword [0x1402c5b38], 2
jg 0x140215af4
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, Ordinal_145
mov r9d, 2
call fcn.140024610
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x140215ae7
mov eax, 1
lock xadd qword [0x1402cbd38], rax
inc rax
cmp rax, 2
jl 0x140215a81
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1402cbcc0], eax
mov qword [0x1402cbcb8], rsi
mov rcx, qword [0x1402c1860]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1402c5b38], 2
jg 0x140215af4
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0xbc
mov r9d, 2
call fcn.140024610
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, reloc.WLDAP32.dll_Ordinal_46
call fcn.140172960
mov rcx, rsi
call fcn.14000b670
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140191d80
xor eax, eax
add rsp, 0x158
pop rdi
pop rsi
ret
Function at 0x14021cb20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rcx
mov rcx, r8
mov r8, rax
jmp fcn.14021cf10
Function at 0x140227590
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.14005c370
test rax, rax
jne 0x1402275ce
mov rcx, rdi
call fcn.140051550
test al, al
je 0x1402275ce
mov r8d, Ordinal_41
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140052bc0
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140229820
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 [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x14022984a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140229869
mov edi, eax
shr eax, 0xa
xor bl, 1
test al, bl
jne 0x1402298ca
and edi, 0x10
shr edi, 4
jmp 0x1402298cc
mov ecx, 2
call fcn.14018d920
test al, al
je 0x1402298ca
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, Ordinal_133
mov r9d, 2
call fcn.1401f8d90
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140172960
mov rcx, rax
mov rdx, rsi
call fcn.1401f9c40
mov rcx, rdi
call fcn.1401f8e00
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140191d80
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret

Function at 0x1402298f0
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x14022991b
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x1402299a2
test bl, bl
je 0x14022993f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1402299bf
mov ecx, 2
call fcn.14018d920
test al, al
je 0x1402299a0
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.1401f8d90
lea rcx, [rsp + 0x40]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140172960
mov rcx, rax
mov rdx, rsi
call fcn.1401f9c40
mov rcx, rdi
call fcn.1401f8e00
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140191d80
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.140229820
test al, al
jne 0x1402299a2
mov ecx, 2
call fcn.14018d920
test al, al
je 0x1402299a0
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x5c
mov r9d, 2
call fcn.140024610
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.1401f9c40
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.140172960
mov rcx, rdi
call fcn.14000b670
jmp 0x1402299a0
Function at 0x140229a30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x140229a57
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140229a87
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140191d80
mov eax, esi
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14018d920
test al, al
je 0x140229ae8
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, Ordinal_117
mov r9d, 2
call fcn.1401f8d90
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140172960
mov rcx, rax
mov rdx, rsi
call fcn.1401f9c40
mov rcx, rdi
call fcn.1401f8e00
xor esi, esi
jmp 0x140229a6b

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

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x140229b17
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 0x140229bcd
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140229b41
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x140229bb1
mov ecx, 2
call fcn.14018d920
test al, al
je 0x140229baf
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, reloc.WLDAP32.dll_Ordinal_147
mov r9d, 2
call fcn.1401f8d90
lea rcx, [rsp + 0x38]
lea rdx, str.DeleteFile
mov r8d, Ordinal_14
call fcn.140172960
mov rcx, rax
mov rdx, rsi
call fcn.1401f9c40
mov rcx, rdi
call fcn.1401f8e00
xor edi, edi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140191d80
mov eax, edi
add rsp, 0x168
pop rdi
pop rsi
ret
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140191d80
mov rcx, rsi
add rsp, 0x168
pop rdi
pop rsi
jmp fcn.140229bf0

Function at 0x140229bf0
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x140229c18
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
test eax, eax
je 0x140229c46
test edi, edi
setne bl
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140191d80
mov eax, ebx
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14018d920
test al, al
je 0x140229c24
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.1401f8d90
lea rcx, [rsp + 0x40]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.140172960
mov rcx, rax
mov rdx, rsi
call fcn.1401f9c40
mov rcx, rbx
call fcn.1401f8e00
jmp 0x140229c24
Function at 0x14023caa0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test ecx, ecx
sets al
test rdx, rdx
sete cl
or cl, al
je 0x14023cabc
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 0x14023cb00
test edi, edi
je 0x14023cab5
cmp byte [rsi + rdi - 1], 0xa
je 0x14023cab5
lea rcx, [0x1402749e7]
mov edx, 1
add rsp, 0x28
pop rdi
pop rsi
jmp 0x14023cb00
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1402b3040]
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 0x14023cb77
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 0x14023cb77
add rdi, rax
test ecx, ecx
jne 0x14023cb3d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140191d80
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x14023cb00
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test ecx, ecx
sets al
test rdx, rdx
sete cl
or cl, al
je 0x14023cabc
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 0x14023cb00
test edi, edi
je 0x14023cab5
cmp byte [rsi + rdi - 1], 0xa
je 0x14023cab5
lea rcx, [0x1402749e7]
mov edx, 1
add rsp, 0x28
pop rdi
pop rsi
jmp 0x14023cb00
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1402b3040]
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 0x14023cb77
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 0x14023cb77
add rdi, rax
test ecx, ecx
jne 0x14023cb3d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140191d80
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140240ab0
Capabilities:
Query or enumerate registry value

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

Function at 0x140240bd0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x190
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x188], rax
movaps xmm0, xmmword [0x14026f080]
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 0x140240c63
mov ecx, 1
call fcn.14018d920
test al, al
je 0x140240c63
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.140024610
lea rcx, [rsp + 0x30]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, Ordinal_46
call fcn.140172960
mov rcx, rsi
call fcn.14000b670
mov eax, dword [rsp + 0x170]
cmp eax, 0x100
mov esi, 0xff
cmovb esi, eax
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140191d80
mov eax, esi
add rsp, 0x190
pop rsi
ret
Function at 0x140254780
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x14026f080]
lea r15, [rsp + 0x150]
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.1401d3c90
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.14025d750
test al, al
je 0x140254897
movzx eax, word [rsp + 0x150]
cmp eax, 0x5a4d
jne 0x140254851
mov rcx, r14
call fcn.1401d3c90
movsxd r14, dword [rsp + 0x18c]
add r14, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.14025d750
test al, al
je 0x140254923
cmp dword [rbx], 0x4550
jne 0x140254962
mov sil, 1
test rdi, rdi
je 0x140254902
mov qword [rdi], r14
jmp 0x140254902
mov ecx, 1
call fcn.14018d920
test al, al
je 0x140254900
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.140024610
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1402548d7
mov ecx, 1
call fcn.14018d920
test al, al
je 0x140254900
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.140024610
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.140172960
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x1402548ed
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140172960
mov rcx, rdi
call fcn.14000b670
xor esi, esi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140191d80
mov eax, esi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.14018d920
test al, al
je 0x140254900
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.140024610
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1402548d1
mov ecx, 1
call fcn.14018d920
test al, al
je 0x140254900
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.140024610
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x1402548d7
Function at 0x1402549b0
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x14026f080]
lea r15, [rsp + 0x150]
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.1401d3c90
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.14025d750
test al, al
je 0x140254ac7
movzx eax, word [rsp + 0x150]
cmp eax, 0x5a4d
jne 0x140254a81
mov rcx, r14
call fcn.1401d3c90
movsxd r14, dword [rsp + 0x18c]
add r14, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.14025d750
test al, al
je 0x140254b53
cmp dword [rbx], 0x4550
jne 0x140254b92
mov sil, 1
test rdi, rdi
je 0x140254b32
mov qword [rdi], r14
jmp 0x140254b32
mov ecx, 1
call fcn.14018d920
test al, al
je 0x140254b30
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.140024610
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x140254b07
mov ecx, 1
call fcn.14018d920
test al, al
je 0x140254b30
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.140024610
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.140172960
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x140254b1d
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140172960
mov rcx, rdi
call fcn.14000b670
xor esi, esi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140191d80
mov eax, esi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.14018d920
test al, al
je 0x140254b30
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.140024610
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x140254b01
mov ecx, 1
call fcn.14018d920
test al, al
je 0x140254b30
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.140024610
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x140254b07
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140009850]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140009860]
mov dword [rax], 1
mov rax, qword [0x140009870]
mov dword [rax], 1
mov rax, qword [0x140009800]
cmp word [rax], 0x5a4d
jne 0x14000105e
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c8
mov rax, qword [0x140009840]
mov dword [0x14000c00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b8
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140009920]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140009900]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400097b0]
cmp dword [rax], 1
je 0x140001100
xor eax, eax
add rsp, 0x20
pop rbp
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x14000107b
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001118
cmp dx, 0x20b
jne 0x14000105e
cmp dword [rax + 0x84], 0xe
jbe 0x14000105e
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105e
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x20
pop rbp
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105e
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105e