joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14020a7e0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x1402a53b8]
test rax, rax
je 0x14020a91a
cmp eax, 2
jne 0x14020a857
cmp dword [0x1402a0cb8], 2
jg 0x14020a8ea
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x8e
mov r9d, 2
call fcn.140001120
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x14020a8dd
mov eax, 1
lock xadd qword [0x1402a53f0], rax
test rax, rax
jle 0x14020a877
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1402a5370], eax
mov qword [0x1402a5368], rsi
mov rcx, qword [0x14029d6f0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1402a0cb8], 2
jg 0x14020a8ea
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xba
mov r9d, 2
call fcn.140001120
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.1401b98e0
mov rcx, rsi
call fcn.140001210
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.14017e7b0
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 [0x1402a53b8]
test rax, rax
je 0x14020a921
jmp 0x14020a80e

Function at 0x1402198d0
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.1400e7830
test rax, rax
jne 0x14021990e
mov rcx, rdi
call fcn.14005c470
test al, al
je 0x14021990e
mov r8d, 0x28
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14005d150
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14021b520
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 [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x14021b54a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14021b56c
mov edi, eax
test bl, bl
jne 0x14021b564
mov eax, edi
and eax, 0x400
jne 0x14021b57a
and edi, 0x10
shr edi, 4
jmp 0x14021b57c
mov ecx, 2
call fcn.140109210
test al, al
jne 0x14021b599
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14017e7b0
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.1401dfc50
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1401b98e0
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.14014f5a0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14021b61f
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
jmp 0x14021b623
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1401b98e0
cmp byte [rsp + 0x57], 0
jns 0x14021b63f
mov rcx, qword [rsp + 0x40]
call fcn.14017b254
lea rcx, [rsp + 0x58]
call fcn.1401dfcd0
jmp 0x14021b57a
Function at 0x14021b650
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
cmp byte [rcx + 0x17], 0
jns 0x14021b67b
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
je 0x14021b6a7
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14017e7b0
mov eax, edi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
ret
test bl, bl
je 0x14021b6bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14021b764
mov ecx, 2
call fcn.140109210
test al, al
jne 0x14021b6ce
xor edi, edi
jmp 0x14021b68a
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.1401dfc50
lea rcx, [rsp + 0x50]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1401b98e0
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.14014f5a0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14021b7ff
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
jmp 0x14021b803
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.14021b520
test al, al
jne 0x14021b68a
mov ecx, 2
call fcn.140109210
test al, al
je 0x14021b6ca
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x5d
mov r9d, 2
call fcn.140001120
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.14014f5a0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14021b834
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
jmp 0x14021b838
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1401b98e0
cmp byte [rsp + 0x1a7], 0
jns 0x14021b825
mov rcx, qword [rsp + 0x190]
call fcn.14017b254
lea rcx, [rsp + 0x40]
call fcn.1401dfcd0
jmp 0x14021b6ca
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1401b98e0
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.1401b98e0
cmp byte [rsp + 0x1a7], 0
jns 0x14021b86f
mov rcx, qword [rsp + 0x190]
call fcn.14017b254
lea rcx, [rsp + 0x40]
call fcn.140001210
jmp 0x14021b6ca
Function at 0x14021b880
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x14021b8a7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14021b8d7
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14017e7b0
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140109210
test al, al
jne 0x14021b8e9
xor esi, esi
jmp 0x14021b8bb
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.1401dfc50
lea rcx, [rsp + 0x60]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1401b98e0
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.14014f5a0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14021b96f
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
jmp 0x14021b973
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1401b98e0
cmp byte [rsp + 0x4f], 0
jns 0x14021b98f
mov rcx, qword [rsp + 0x38]
call fcn.14017b254
lea rcx, [rsp + 0x50]
call fcn.1401dfcd0
jmp 0x14021b8e5
Function at 0x14021b9a0
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x14021b9c7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14021b9de
and eax, 0x410
cmp eax, 0x410
je 0x14021ba25
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14021b9ea
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
je 0x14021ba13
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14017e7b0
mov eax, edi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140109210
test al, al
jne 0x14021ba46
xor edi, edi
jmp 0x14021b9f7
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14017e7b0
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.14021bb00
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.1401dfc50
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.1401b98e0
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.14014f5a0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14021bacc
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
jmp 0x14021bad0
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1401b98e0
cmp byte [rsp + 0x4f], 0
jns 0x14021baec
mov rcx, qword [rsp + 0x38]
call fcn.14017b254
lea rcx, [rsp + 0x50]
call fcn.1401dfcd0
jmp 0x14021ba21
Function at 0x14021bb00
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x14021bb28
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x14021bb42
mov ecx, 2
call fcn.140109210
test al, al
jne 0x14021bb64
test esi, esi
setne bl
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14017e7b0
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.1401dfc50
lea rcx, [rsp + 0x68]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.1401b98e0
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.14014f5a0
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x14021bbea
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
jmp 0x14021bbee
and r8d, 0x7f
mov rcx, rbx
mov rdx, rdi
call fcn.1401b98e0
cmp byte [rsp + 0x57], 0
jns 0x14021bc0a
mov rcx, qword [rsp + 0x40]
call fcn.14017b254
lea rcx, [rsp + 0x58]
call fcn.1401dfcd0
jmp 0x14021bb42
Function at 0x140220580
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 [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1402a6240]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1402207fe
mov rax, qword [0x1402a6238]
test rax, rax
jne 0x14022069e
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x140270690]
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.140220850
test al, al
jne 0x140220737
cmp dword [0x1402a0cb8], 2
jg 0x14022067f
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x21e
mov r9d, 2
call fcn.140001120
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.1401b98e0
mov rcx, rsi
call fcn.140001210
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14017e7b0
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.0x1401e7f70.0]
test eax, eax
jne 0x140220714
cmp dword [0x1402a0cb8], 2
jg 0x1402205db
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.1401dfc50
lea rcx, [rsp + 0x40]
lea rdx, [0x140280282]
mov r8d, 0xe
call fcn.1401b98e0
mov rcx, rbx
call fcn.1401dfcd0
jmp 0x1402205db
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x1402205e2
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x140220617
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
jne 0x140220751
call fcn.1402210c0
jmp 0x140220756
call fcn.140220a70
test al, al
je 0x1402207ba
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1400eac40
mov sil, 1
test al, al
jne 0x140220681
cmp dword [0x1402a0cb8], 2
jg 0x14022067f
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22c
mov r9d, 2
call fcn.140001120
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x140220672
cmp dword [0x1402a0cb8], 2
jg 0x14022067f
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x227
mov r9d, 2
call fcn.140001120
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
jmp 0x140220672
lea rcx, [0x1402a6240]
call fcn.14017b2bc
cmp dword [0x1402a6240], 0xffffffff
jne 0x1402205cb
lea rcx, [0x1402726da]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.1400eab40
mov qword [0x1402a6238], rax
lea rcx, [0x1402a6240]
call fcn.14017b25c
jmp 0x1402205cb
Function at 0x14022c390
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r8
mov rax, qword [0x14029a038]
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 0x14022c3f0
mov eax, dword [rsp + 0x40]
mov dword [rsi], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14017e7b0
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x140238d70
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 [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x140270690]
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.1401be5e0
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.14023e930
test al, al
je 0x140238e36
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x140238e6b
mov rcx, r14
call fcn.1401be5e0
movsxd r14, dword [rsp + 0x19c]
add r14, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.14023e930
test al, al
je 0x140238eb0
cmp dword [rbx], 0x4550
jne 0x140238eec
mov sil, 1
test rdi, rdi
je 0x140238e4a
mov qword [rdi], r14
jmp 0x140238e4a
mov ecx, 1
call fcn.140109210
test al, al
jne 0x140238f32
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14017e7b0
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.140109210
test al, al
je 0x140238e48
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.140001120
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x140238f64
mov ecx, 1
call fcn.140109210
test al, al
je 0x140238e48
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.140001120
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x140238f5e
mov ecx, 1
call fcn.140109210
test al, al
je 0x140238e48
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.140001120
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x140238f64
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.140001120
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.1401b98e0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140238f7c
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
jmp 0x140238f80
and r8d, 0x7f
mov rcx, rax
mov rdx, rsi
call fcn.1401b98e0
mov rcx, rdi
call fcn.140001210
jmp 0x140238e48
Function at 0x140238fa0
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 [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x140270690]
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.1401be5e0
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.14023e930
test al, al
je 0x140239066
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x14023909b
mov rcx, r14
call fcn.1401be5e0
movsxd r14, dword [rsp + 0x19c]
add r14, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.14023e930
test al, al
je 0x1402390e0
cmp dword [rbx], 0x4550
jne 0x14023911c
mov sil, 1
test rdi, rdi
je 0x14023907a
mov qword [rdi], r14
jmp 0x14023907a
mov ecx, 1
call fcn.140109210
test al, al
jne 0x140239162
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14017e7b0
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.140109210
test al, al
je 0x140239078
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.140001120
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x140239194
mov ecx, 1
call fcn.140109210
test al, al
je 0x140239078
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.140001120
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x14023918e
mov ecx, 1
call fcn.140109210
test al, al
je 0x140239078
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.140001120
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x140239194
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.140001120
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.1401b98e0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1402391ac
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
jmp 0x1402391b0
and r8d, 0x7f
mov rcx, rax
mov rdx, rsi
call fcn.1401b98e0
mov rcx, rdi
call fcn.140001210
jmp 0x140239078
Function at 0x14003173c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1400317b4
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1400317b4
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1400317b4
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400317a8
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1400317c6
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140031796
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1400317b6

Function at 0x140033300
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003334a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003334a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003334a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003334a
cmp dword [rcx + 0x84], 0xe
jbe 0x14003334a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003334c
xor al, al
add rsp, 0x28
ret

Function at 0x14003c094
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003bdf8

Function at 0x140045fb0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140045fd8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140045fd8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1401583ae
Capabilities:
Encode data using xor

Disassembly:
lea rsp, [rsp + 0x10]
je 0x14015840e
push 0xffffffffda0d8c28
mov qword [rsp], r10
push rbx
mov ebx, 0xb410d907
lea r10, [0x140171fc8]
movzx ebx, byte [rbp + riz]
xor ebx, r9d
push 0xffffffffe0aed22d
and ebx, 0xff
mov ebx, dword [r10 + rbx*4]
shr r9d, 8
xor r9d, ebx
inc rbp
xor r9d, 0x822a9dae
dec rdx
lea rsp, [rsp + 8]
jne 0x1401583cf
push 0x4d1dd30a
pop rbx
pop rbx
pop r10
not r9d
call fcn.140169440