joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140045570
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x160
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xd8], 0xfffffffffffffffe
mov rsi, rcx
cmp byte [rcx + 0x17], 0
jns 0x140045599
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400455c2
and eax, 0x410
cmp eax, 0x410
jne 0x1400455c2
mov rcx, rsi
add rsp, 0x160
pop rdi
pop rsi
pop rbp
jmp fcn.140045680
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400455ce
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, eax
mov al, 1
test ecx, ecx
jne 0x140045638
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::LoggingRemoveFile_const_base::FilePath__
lea r8, str.third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rdi, [rbp - 0x50]
mov rcx, rdi
mov r9d, 0x93
call fcn.140005e40
lea rdx, str.DeleteFile
mov r8d, 0xb
mov rcx, rdi
call fcn.140003fb0
mov rcx, rax
mov rdx, rsi
call fcn.140007410
lea rcx, [rbp - 0x50]
call fcn.140005e70
xor eax, eax
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret

Function at 0x140045680
Capabilities:
Delete directory

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x168
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xe0], 0xfffffffffffffffe
mov rsi, rcx
cmp byte [rcx + 0x17], 0
jns 0x1400456aa
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140045712
mov ebx, eax
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace_::LoggingRemoveDirectoryImpl_const_base::FilePath__
lea r8, str.third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rdi, [rbp - 0x48]
mov rcx, rdi
mov r9d, 0x2f
call fcn.140005e40
lea rdx, str.RemoveDirectory
mov r8d, 0x10
mov rcx, rdi
call fcn.140003fb0
mov rcx, rax
mov rdx, rsi
call fcn.140007410
lea rcx, [rbp - 0x48]
call fcn.140005e70
mov eax, ebx
test eax, eax
setne al
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x140050be0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x158
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xd0], 0xfffffffffffffffe
test rdx, rdx
je 0x140050ca2
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
lea r15, [rbp - 0x50]
lea r12, str.Check_failed:_success
lea r13, [0x1400be442]
jmp 0x140050c38
add rdi, rbx
sub rsi, rbx
je 0x140050ca2
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x140050c30
mov dword [rsp + 0x20], 4
mov rcx, r15
lea rdx, str.void___cdecl_base::RandBytes_void___size_t_
lea r8, str.third_party_mini_chromium_mini_chromium_base_rand_util.cc
mov r9d, 0x7d
call fcn.140005340
mov r8d, 0x15
mov rcx, r15
mov rdx, r12
call fcn.140003fb0
mov r8d, 2
mov rcx, rax
mov rdx, r13
call fcn.140003fb0
mov rcx, r15
call fcn.140005c30
jmp 0x140050c30
add rsp, 0x158
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140051290
Capabilities:
Check os version
Create pipe

Disassembly:
push rsi
sub rsp, 0x60
test dl, dl
je 0x1400512ea
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xfe
mov edx, 0x80003
cmp eax, 6
jb 0x1400512f9
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x40], 0x18
xor ecx, ecx
call fcn.140051340
mov edx, 0x80003
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 1
lea rax, [rsp + 0x40]
jmp 0x1400512fb
mov edx, 3
xor eax, eax
cmp byte [rcx + 0x17], 0
js 0x140051304
jmp 0x140051307
xor eax, eax
mov rcx, rsi
cmp byte [rcx + 0x17], 0
jns 0x140051307
mov rcx, qword [rcx]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x200
mov dword [rsp + 0x20], 0x200
mov r8d, 6
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
nop
add rsp, 0x60
pop rsi
ret

Function at 0x140051e00
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
sub rsp, 0x168
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xe0], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140051f10]
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 0x140051ec6
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 4
lea rdx, str.void___cdecl_crashpad::Thread::Start_void_
lea r8, str.third_party_crashpad_crashpad_util_thread_thread_win.cc
lea rsi, [rbp - 0x48]
mov rcx, rsi
mov r9d, 0x1b
call fcn.140005e40
lea rdx, str.Check_failed:_platform_thread_
mov r8d, 0x1e
mov rcx, rsi
call fcn.140003fb0
lea rdx, [0x1400be442]
mov r8d, 2
mov rcx, rax
call fcn.140003fb0
lea rdx, [0x1400bf991]
mov r8d, 0xc
mov rcx, rax
call fcn.140003fb0
lea rcx, [rbp - 0x48]
call fcn.140005e70
nop
add rsp, 0x168
pop rsi
pop rbp
ret
Function at 0x1400524a0
Capabilities:
Check os version

Disassembly:
push rbp
push rsi
sub rsp, 0x168
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xe0], 0xfffffffffffffffe
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
and ecx, 0xfe
cmp ecx, 6
jb 0x140052575
and eax, 0xfeff
cmp eax, 6
je 0x140052575
mov eax, dword [0x1401035e0]
mov ecx, dword [0x1401025a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005258a
mov rcx, rsi
xor edx, edx
mov r8d, 0x10000000
call qword [0x1401035d8]
mov ecx, eax
mov al, 1
test ecx, ecx
jne 0x140052580
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace_::CrashpadInitializeCriticalSectionEx_CRITICAL_SECTION___DWORD__DWORD_
lea r8, str.third_party_crashpad_crashpad_util_win_critical_section_with_debug_info.cc
lea rsi, [rbp - 0x48]
mov rcx, rsi
mov r9d, 0x21
call fcn.140005e40
lea rdx, [0x1400c5ba3]
mov r8d, 0x1b
mov rcx, rsi
call fcn.140003fb0
lea rcx, [rbp - 0x48]
call fcn.140005e70
xor eax, eax
jmp 0x140052580
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, 1
add rsp, 0x168
pop rsi
pop rbp
ret
lea rcx, [0x1401035e0]
call fcn.14008dca0
cmp dword [0x1401035e0], 0xffffffff
jne 0x140052509
lea rcx, [0x1400bfcd4]
lea rdx, str.::InitializeCriticalSectionEx
mov r8b, 1
call fcn.140051790
mov qword [0x1401035d8], rax
lea rcx, [0x1401035e0]
call fcn.14008dd38
jmp 0x140052509
Function at 0x1400538d0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x168
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xe0], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 8], rdx
mov eax, dword [0x1401035f0]
mov ecx, dword [0x1401025a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140053b0e
mov rax, qword [0x1401035e8]
test rax, rax
je 0x1400539a3
lea rdx, [rbp + 0xdc]
mov rcx, rdi
call rax
test eax, eax
je 0x140053954
cmp dword [rbp + 0xdc], 0
setne byte [rsi + 0x81]
je 0x1400539aa
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x1400539ca
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace_::IsProcessWow64_HANDLE_
lea r8, str.third_party_crashpad_crashpad_util_win_process_info.cc
lea rbx, [rbp - 0x50]
mov rcx, rbx
mov r9d, 0x4c
call fcn.140005e40
lea rdx, [0x1400c5499]
mov r8d, 0xe
mov rcx, rbx
call fcn.140003fb0
lea rcx, [rbp - 0x50]
call fcn.140005e70
mov byte [rsi + 0x81], 0
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rbp - 0x50], 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.140053c50
test al, al
je 0x140053a6e
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
je 0x140053aad
call fcn.1400540d0
test al, al
je 0x140053aba
movzx edx, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.140052910
mov ecx, eax
mov al, 1
test cl, cl
jne 0x140053b02
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_HANDLE_
lea r8, str.third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rbp - 0x50]
mov rcx, rsi
mov r9d, 0x22d
call fcn.140005340
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
mov rcx, rsi
call fcn.140003fb0
jmp 0x140053af7
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_HANDLE_
lea r8, str.third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rbp - 0x50]
mov rcx, rsi
mov r9d, 0x21f
call fcn.140005340
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
mov rcx, rsi
call fcn.140003fb0
jmp 0x140053af7
call fcn.1400549a0
test al, al
jne 0x140053a0e
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_HANDLE_
lea r8, str.third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rbp - 0x50]
mov rcx, rsi
mov r9d, 0x228
call fcn.140005340
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
mov rcx, rsi
call fcn.140003fb0
lea rcx, [rbp - 0x50]
call fcn.140005c30
xor eax, eax
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1401035f0]
call fcn.14008dca0
cmp dword [0x1401035f0], 0xffffffff
jne 0x14005391d
lea rcx, [0x1400bfcd4]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.140051790
mov qword [0x1401035e8], rax
lea rcx, [0x1401035f0]
call fcn.14008dd38
jmp 0x14005391d
Function at 0x1400645b0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rsi
sub rsp, 0x188
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x100], 0xfffffffffffffffe
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp + 0xf0]
cmp eax, 0x100
jb 0x140064632
mov dword [rsp + 0x20], 1
lea rdx, str.virtual_uint8_t___cdecl_crashpad::internal::SystemSnapshotWin::CPUCount_void__const
lea r8, str.third_party_crashpad_crashpad_snapshot_win_system_snapshot_win.cc
lea rsi, [rbp - 0x50]
mov rcx, rsi
mov r9d, 0x10a
call fcn.140005340
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, 0x2c
mov rcx, rsi
call fcn.140003fb0
lea rcx, [rbp - 0x50]
call fcn.140005c30
mov eax, dword [rbp + 0xf0]
cmp eax, 0x100
jae 0x140064643
add rsp, 0x188
pop rsi
pop rbp
ret
mov al, 0xff
jmp 0x140064639
Function at 0x1400646b0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x100], 0xfffffffffffffffe
mov rsi, r8
mov rdi, rdx
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp + 0xf0]
cmp eax, 0x100
jb 0x14006473e
mov dword [rsp + 0x20], 1
lea rdx, str.virtual_uint8_t___cdecl_crashpad::internal::SystemSnapshotWin::CPUCount_void__const
lea r8, str.third_party_crashpad_crashpad_snapshot_win_system_snapshot_win.cc
lea rbx, [rbp - 0x50]
mov rcx, rbx
mov r9d, 0x10a
call fcn.140005340
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, 0x2c
mov rcx, rbx
call fcn.140003fb0
lea rcx, [rbp - 0x50]
call fcn.140005c30
mov eax, dword [rbp + 0xf0]
cmp eax, 0x100
jae 0x14006487e
test al, al
je 0x1400647aa
movzx r15d, al
lea r14, [r15*8]
lea rcx, [r14 + r14*2]
call fcn.14008de70
mov rbx, rax
lea r14, [r14 + r14*2]
add r14, 0xffffffffffffffe8
movzx eax, r14w
imul eax, eax, 0xaaab
shr eax, 0x11
and eax, 0xfffffff8
lea eax, [rax + rax*2]
mov ecx, r14d
sub ecx, eax
movzx eax, cx
sub r14, rax
lea r8, [r14 + 0x18]
mov rcx, rbx
xor edx, edx
call fcn.1400908d0
add r14, rbx
add r14, 0x18
shl r15d, 3
lea eax, [r15 + r15*2]
jmp 0x1400647b1
xor eax, eax
xor r14d, r14d
xor ebx, ebx
mov dword [rsp + 0x20], eax
mov ecx, 0xb
xor edx, edx
xor r8d, r8d
mov r9, rbx
call sub.POWRPROF.dll_CallNtPowerInformation
test eax, eax
je 0x1400647d6
mov qword [rdi], 0
xor eax, eax
jmp 0x140064828
cmp rbx, r14
je 0x14006480e
lea rax, [rbx + 0x18]
cmp rax, r14
je 0x14006480e
mov rcx, rax
mov rdx, rbx
jmp 0x1400647fc
add rcx, 0x18
mov rdx, r8
cmp rcx, r14
je 0x140064849
mov r9d, dword [rdx + 8]
mov r8, rcx
cmp r9d, dword [rcx + 8]
jb 0x1400647f0
mov r8, rdx
jmp 0x1400647f0
mov eax, dword [rbx + 8]
imul rax, rax, 0xf4240
mov qword [rdi], rax
mov rcx, rbx
mov eax, dword [rcx + 4]
imul rax, rax, 0xf4240
mov qword [rsi], rax
test rbx, rbx
je 0x140064838
mov rcx, rbx
call fcn.14008de68
nop
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov ecx, dword [r8 + 8]
imul rcx, rcx, 0xf4240
mov qword [rdi], rcx
mov rdx, rbx
jmp 0x14006486c
add rax, 0x18
mov rdx, rcx
cmp rax, r14
je 0x14006481e
mov r8d, dword [rdx + 4]
mov rcx, rax
cmp r8d, dword [rax + 4]
jb 0x140064860
mov rcx, rdx
jmp 0x140064860
mov al, 0xff
jmp 0x14006474d
Function at 0x1400804e0
Capabilities:
Parse pe header

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x190
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x108], 0xfffffffffffffffe
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
lea r14, [rcx + 0x18]
mov rcx, r14
call fcn.140080b70
lea r9, [rbp + 0xc8]
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
call fcn.14008ab60
test al, al
je 0x140080590
movzx eax, word [rbp + 0xc8]
cmp eax, 0x5a4d
jne 0x1400805ee
mov rcx, r14
call fcn.140080b70
movsxd r14, dword [rbp + 0x104]
add r14, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.14008ab60
test al, al
je 0x14008064c
cmp dword [rbx], 0x4550
jne 0x1400806a7
mov al, 1
test rdi, rdi
je 0x14008070b
mov qword [rdi], r14
jmp 0x14008070b
mov dword [rsp + 0x20], 1
lea rdx, str.bool___cdecl_crashpad::PEImageReader::ReadNtHeaders_NtHeadersType___WinVMAddress___const__NtHeadersType___IMAGE_NT_HEADERS64_
lea r8, str.third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rbp - 0x58]
mov rcx, rdi
mov r9d, 0x154
call fcn.140005340
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
mov rcx, rdi
call fcn.140003fb0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400805de
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140003fb0
jmp 0x140080700
mov dword [rsp + 0x20], 1
lea rdx, str.bool___cdecl_crashpad::PEImageReader::ReadNtHeaders_NtHeadersType___WinVMAddress___const__NtHeadersType___IMAGE_NT_HEADERS64_
lea r8, str.third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rbp - 0x58]
mov rcx, rdi
mov r9d, 0x15a
call fcn.140005340
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
mov rcx, rdi
call fcn.140003fb0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14008063c
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140003fb0
jmp 0x140080700
mov dword [rsp + 0x20], 1
lea rdx, str.bool___cdecl_crashpad::PEImageReader::ReadNtHeaders_NtHeadersType___WinVMAddress___const__NtHeadersType___IMAGE_NT_HEADERS64_
lea r8, str.third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rbp - 0x58]
mov rcx, rdi
mov r9d, 0x162
call fcn.140005340
lea rdx, str.could_not_read_nt_headers_from
mov r8d, 0x1f
mov rcx, rdi
call fcn.140003fb0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14008069a
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140003fb0
jmp 0x140080700
mov dword [rsp + 0x20], 1
lea rdx, str.bool___cdecl_crashpad::PEImageReader::ReadNtHeaders_NtHeadersType___WinVMAddress___const__NtHeadersType___IMAGE_NT_HEADERS64_
lea r8, str.third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rbp - 0x58]
mov rcx, rdi
mov r9d, 0x168
call fcn.140005340
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
mov rcx, rdi
call fcn.140003fb0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400806f5
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140003fb0
lea rcx, [rbp - 0x58]
call fcn.140005c30
xor eax, eax
add rsp, 0x190
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x1400807e0
Capabilities:
Parse pe header

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x190
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x108], 0xfffffffffffffffe
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
lea r14, [rcx + 0x18]
mov rcx, r14
call fcn.140080b70
lea r9, [rbp + 0xc8]
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
call fcn.14008ab60
test al, al
je 0x140080890
movzx eax, word [rbp + 0xc8]
cmp eax, 0x5a4d
jne 0x1400808ee
mov rcx, r14
call fcn.140080b70
movsxd r14, dword [rbp + 0x104]
add r14, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.14008ab60
test al, al
je 0x14008094c
cmp dword [rbx], 0x4550
jne 0x1400809a7
mov al, 1
test rdi, rdi
je 0x140080a0b
mov qword [rdi], r14
jmp 0x140080a0b
mov dword [rsp + 0x20], 1
lea rdx, str.bool___cdecl_crashpad::PEImageReader::ReadNtHeaders_NtHeadersType___WinVMAddress___const__NtHeadersType___IMAGE_NT_HEADERS_
lea r8, str.third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rbp - 0x58]
mov rcx, rdi
mov r9d, 0x154
call fcn.140005340
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
mov rcx, rdi
call fcn.140003fb0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400808de
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140003fb0
jmp 0x140080a00
mov dword [rsp + 0x20], 1
lea rdx, str.bool___cdecl_crashpad::PEImageReader::ReadNtHeaders_NtHeadersType___WinVMAddress___const__NtHeadersType___IMAGE_NT_HEADERS_
lea r8, str.third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rbp - 0x58]
mov rcx, rdi
mov r9d, 0x15a
call fcn.140005340
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
mov rcx, rdi
call fcn.140003fb0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14008093c
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140003fb0
jmp 0x140080a00
mov dword [rsp + 0x20], 1
lea rdx, str.bool___cdecl_crashpad::PEImageReader::ReadNtHeaders_NtHeadersType___WinVMAddress___const__NtHeadersType___IMAGE_NT_HEADERS_
lea r8, str.third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rbp - 0x58]
mov rcx, rdi
mov r9d, 0x162
call fcn.140005340
lea rdx, str.could_not_read_nt_headers_from
mov r8d, 0x1f
mov rcx, rdi
call fcn.140003fb0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14008099a
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140003fb0
jmp 0x140080a00
mov dword [rsp + 0x20], 1
lea rdx, str.bool___cdecl_crashpad::PEImageReader::ReadNtHeaders_NtHeadersType___WinVMAddress___const__NtHeadersType___IMAGE_NT_HEADERS_
lea r8, str.third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rbp - 0x58]
mov rcx, rdi
mov r9d, 0x168
call fcn.140005340
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
mov rcx, rdi
call fcn.140003fb0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400809f5
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140003fb0
lea rcx, [rbp - 0x58]
call fcn.140005c30
xor eax, eax
add rsp, 0x190
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x14008e17c
Capabilities:
Parse pe header

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

Function at 0x14009de28
Capabilities:
Parse pe header

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

Function at 0x1400a3b4c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140101920]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1400d5248]
mov rbp, rcx
call fcn.1400af4d4
xor edi, edi
test rax, rax
je 0x1400a3c32
mov ebx, edi
call fcn.1400a0508
mov r14d, dword [rax]
call fcn.1400a0508
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.1400b45c0
mov rsi, rax
test rax, rax
je 0x1400a3bc3
call fcn.1400a0508
mov dword [rax], r14d
jmp 0x1400a3bed
call fcn.1400a0508
cmp dword [rax], 0x22
jne 0x1400a3c2a
call fcn.1400a0508
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1400b45c0
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1400a3c2a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1400a3bf1
cmp rax, 3
je 0x1400a3c0c
mov rcx, rsi
call fcn.1400a3aa8
test al, al
je 0x1400a3c1d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1400a3c1d
mov dil, 1
mov rcx, rbx
call fcn.1400a5088
mov al, dil
jmp 0x1400a3c34
mov rcx, rbx
call fcn.1400a5088
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14008e7e0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1400a6cc0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400a6ce8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400a6ce8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400b0d08
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400aa8b0
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400b0da9
cmp ebx, dword [rsp + 0x30]
je 0x1400b0da2
test esi, esi
je 0x1400b0da2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400b0d7d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400b0d8a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400b0d67
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400b0d8e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400b0dab
mov eax, 1
jmp 0x1400b0dab
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret