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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x14019a64f
mov r15, rbx
add r15, 0xfffffffffffffff8
je 0x14019a760
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 8], 0xfffffffffffffff8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14012ec00
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
cmp r14, r15
jae 0x14019a6aa
sub r15, r14
sar r15, 3
lea rax, [r15 + 1]
shr rax, 0x3f
lea r12, [r15 + rax]
inc r12
sar r12, 1
lea r15, [r14 + r12*8]
mov rax, r14
sub rax, rbx
sub r15, rax
sub r14, rbx
je 0x14019a699
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.140130690
mov rbx, qword [rsi + 0x10]
mov qword [rsi + 8], r15
lea rax, [rbx + r12*8]
mov qword [rsi + 0x10], rax
jmp 0x14019a61e
mov rax, r15
sub rax, rbx
sar rax, 2
cmp r15, rbx
mov r12d, 1
cmovne r12, rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x48], rax
mov rax, r12
shr rax, 0x3d
jne 0x14019a78c
lea rcx, [r12*8]
call fcn.14012c264
lea rdx, [r12*2 + 6]
and rdx, 0xfffffffffffffff8
add rdx, rax
mov rcx, r14
sub rcx, rbx
mov r9, r14
mov r8, rdx
sub r9, rbx
je 0x14019a72b
sar rcx, 3
lea r8, [r9 + rdx]
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x14019a760
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x14019a713
lea r9, [rax + r12*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x28]
mov qword [rcx], rbx
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r14
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r15
call fcn.14019a7a0
mov r15, qword [rsi + 8]
jmp 0x14019a61e
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.140167880
call fcn.140167880
int3

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x38], rax
movdqu xmm0, xmmword [rdx]
movdqa xmmword [rsp + 0x20], xmm0
mov rbx, qword [rcx + 0x50]
mov rax, qword [rcx + 0x58]
mov edi, 1
cmp rbx, rax
je 0x1401a7e74
mov rsi, r8
movdqu xmm0, xmmword [rbx]
pcmpeqb xmm0, xmmword [rsp + 0x20]
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x1401a7e8b
add rbx, 0x70
cmp rbx, rax
jne 0x1401a7e55
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14012ec00
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
cmp rbx, rax
je 0x1401a7e74
cmp byte [rbx + 0x27], 0
js 0x1401a7e9c
lea rcx, [rbx + 0x10]
jmp 0x1401a7ea0
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov edi, 1
cmovne edi, ecx
test edi, edi
jne 0x1401a7e74
mov qword [rsi], rbx
xor edi, edi
jmp 0x1401a7e74
Function at 0x1401a8030
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x30], rax
movdqu xmm0, xmmword [rdx]
movdqa xmmword [rsp + 0x20], xmm0
mov r14, qword [rcx + 0x50]
mov rax, qword [rcx + 0x58]
mov esi, 1
cmp r14, rax
je 0x1401a808a
mov rdi, r9
mov rbx, rcx
movdqu xmm0, xmmword [r14]
pcmpeqb xmm0, xmmword [rsp + 0x20]
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x1401a80a3
add r14, 0x70
cmp r14, rax
jne 0x1401a806a
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14012ec00
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
cmp r14, rax
je 0x1401a808a
mov eax, dword [r14 + 0x68]
cmp eax, r8d
je 0x1401a80c0
xor ecx, ecx
cmp eax, 1
sete cl
lea esi, [rcx + rcx*2]
inc esi
jmp 0x1401a808a
cmp byte [r14 + 0x27], 0
js 0x1401a80cd
lea rcx, [r14 + 0x10]
jmp 0x1401a80d1
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401a808a
shr eax, 3
and eax, 2
mov esi, eax
jne 0x1401a808a
mov byte [rbx + 0x48], 1
mov qword [rdi], r14
xor esi, esi
jmp 0x1401a808a

Function at 0x1401aa420
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x1402339f8]
test rax, rax
jne 0x1401aa464
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x1402339f8]
test rax, rax
je 0x1401aa451
cmp eax, 2
jne 0x1401aa4ad
cmp dword [0x140231b60], 2
jg 0x1401aa544
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x8f
mov r9d, 2
call fcn.1400066f0
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x1401aa537
mov eax, 1
lock xadd qword [0x140233a30], rax
inc rax
cmp rax, 2
jl 0x1401aa4d1
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1402339b8], eax
mov qword [0x1402339b0], rsi
mov rcx, qword [0x1402286a0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x140231b60], 2
jg 0x1401aa544
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xbb
mov r9d, 2
call fcn.1400066f0
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.140167320
mov rcx, rsi
call fcn.1400068f0
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.14012ec00
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
Function at 0x1401b2c90
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.14005fd90
test rax, rax
jne 0x1401b2cce
mov rcx, rdi
call fcn.140044690
test al, al
je 0x1401b2cce
mov r8d, 0x28
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140042c50
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x1401b4940
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 [0x140219028]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1401b496a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401b4989
mov edi, eax
bt eax, 0xa
jae 0x1401b4981
test bl, bl
je 0x1401b4997
and edi, 0x10
shr edi, 4
jmp 0x1401b4999
mov ecx, 2
call fcn.1400b9d80
test al, al
jne 0x1401b49b6
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.14012ec00
mov eax, edi
add rsp, 0x170
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 rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x80
mov r9d, 2
call fcn.140192990
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140167320
mov rcx, rax
mov rdx, rsi
call fcn.1401936a0
mov rcx, rdi
call fcn.140192a10
jmp 0x1401b4997

Function at 0x1401b4a10
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1401b4a3b
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x1401b4a6f
test bl, bl
je 0x1401b4a5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1401b4ae1
mov ecx, 2
call fcn.1400b9d80
test al, al
jne 0x1401b4a8c
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.14012ec00
mov eax, edi
add rsp, 0x170
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 rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x61
mov r9d, 2
call fcn.140192990
lea rcx, [rsp + 0x38]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140167320
mov rcx, rax
mov rdx, rsi
call fcn.1401936a0
mov rcx, rdi
call fcn.140192a10
jmp 0x1401b4a6d
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.1401b4940
test al, al
jne 0x1401b4a6f
mov ecx, 2
call fcn.1400b9d80
test al, al
je 0x1401b4a6d
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x5c
mov r9d, 2
call fcn.1400066f0
lea rcx, [rsp + 0x38]
mov rdx, rsi
call fcn.1401936a0
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.140167320
mov rcx, rdi
call fcn.1400068f0
jmp 0x1401b4a6d
Function at 0x1401b4b60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x170], rax
cmp byte [rcx + 0x17], 0
jns 0x1401b4b87
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401b4bb7
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14012ec00
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400b9d80
test al, al
jne 0x1401b4bc9
xor esi, esi
jmp 0x1401b4b9b
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, 0x73
mov r9d, 2
call fcn.140192990
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140167320
mov rcx, rax
mov rdx, rsi
call fcn.1401936a0
mov rcx, rdi
call fcn.140192a10
jmp 0x1401b4bc5

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

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x170], rax
cmp byte [rcx + 0x17], 0
jns 0x1401b4c47
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401b4c5e
and eax, 0x410
cmp eax, 0x410
je 0x1401b4ca3
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1401b4c6a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x1401b4c87
mov ecx, 2
call fcn.1400b9d80
test al, al
jne 0x1401b4cc4
xor edi, edi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14012ec00
mov eax, edi
add rsp, 0x178
pop rdi
pop rsi
ret
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14012ec00
mov rcx, rsi
add rsp, 0x178
pop rdi
pop rsi
jmp fcn.1401b4d20
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, 0x93
mov r9d, 2
call fcn.140192990
lea rcx, [rsp + 0x40]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.140167320
mov rcx, rax
mov rdx, rsi
call fcn.1401936a0
mov rcx, rdi
call fcn.140192a10
jmp 0x1401b4c85

Function at 0x1401b4d20
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1401b4d48
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
test eax, eax
jne 0x1401b4d62
mov ecx, 2
call fcn.1400b9d80
test al, al
jne 0x1401b4d84
test edi, edi
setne bl
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.14012ec00
mov eax, ebx
add rsp, 0x170
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 rbx, [rsp + 0x28]
mov rcx, rbx
mov r8d, 0x2f
mov r9d, 2
call fcn.140192990
lea rcx, [rsp + 0x38]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.140167320
mov rcx, rax
mov rdx, rsi
call fcn.1401936a0
mov rcx, rbx
call fcn.140192a10
jmp 0x1401b4d62
Function at 0x1401b9880
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 [0x140219028]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1402344c8]
mov ecx, dword [0x140228d28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401b9ae9
mov rax, qword [0x1402344c0]
test rax, rax
je 0x1401b9967
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [0x140243008]
test eax, eax
je 0x1401b9915
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x1401b996e
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x1401b99a3
cmp dword [0x140231b60], 2
jg 0x1401b9967
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, 0x4c
mov r9d, 2
call fcn.140192990
lea rcx, [rsp + 0x40]
lea rdx, [0x1402011a0]
mov r8d, 0xe
call fcn.140167320
mov rcx, rbx
call fcn.140192a10
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x1401ee3a0]
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.1401b9b30
test al, al
jne 0x1401b9a26
cmp dword [0x140231b60], 2
jg 0x1401b9a07
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x21f
mov r9d, 2
call fcn.1400066f0
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.140167320
mov rcx, rsi
call fcn.1400068f0
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14012ec00
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
jne 0x1401b9a40
call fcn.1401ba3a0
jmp 0x1401b9a45
call fcn.1401b9d50
test al, al
jne 0x1401b9a89
cmp dword [0x140231b60], 2
jg 0x1401b9a07
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x228
mov r9d, 2
call fcn.1400066f0
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
jmp 0x1401b99fa
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1400a0950
mov sil, 1
test al, al
jne 0x1401b9a09
cmp dword [0x140231b60], 2
jg 0x1401b9a07
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22d
mov r9d, 2
call fcn.1400066f0
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1401b99fa
lea rcx, [0x1402344c8]
call fcn.14012c340
cmp dword [0x1402344c8], 0xffffffff
jne 0x1401b98cb
lea rcx, [0x1401f5a36]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.1400a0830
mov qword [0x1402344c0], rax
lea rcx, [0x1402344c8]
call fcn.14012c3a8
jmp 0x1401b98cb
Function at 0x1401c5960
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r8
mov rax, qword [0x140219028]
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 0x1401c59c0
mov eax, dword [rsp + 0x40]
mov dword [rsi], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14012ec00
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401d2e60
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 [0x140219028]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x1401ee3a0]
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.14016a540
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.1401db8d0
test al, al
je 0x1401d2fb5
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1401d2f2d
mov rcx, r14
call fcn.14016a540
movsxd r14, dword [rsp + 0x19c]
add r14, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.1401db8d0
test al, al
je 0x1401d2f76
cmp dword [rbx], 0x4550
jne 0x1401d2fe6
mov sil, 1
test rdi, rdi
je 0x1401d2fc5
mov qword [rdi], r14
jmp 0x1401d2fc5
mov ecx, 1
call fcn.1400b9d80
test al, al
je 0x1401d2fc3
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.1400066f0
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1401d305a
mov ecx, 1
call fcn.1400b9d80
test al, al
je 0x1401d2fc3
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.1400066f0
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1401d3054
mov ecx, 1
call fcn.1400b9d80
test al, al
jne 0x1401d3028
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14012ec00
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.1400b9d80
test al, al
je 0x1401d2fc3
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.1400066f0
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x1401d305a
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.1400066f0
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.140167320
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x1401d306f
and r8d, 0x7f
jmp 0x1401d3076
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140167320
mov rcx, rdi
call fcn.1400068f0
jmp 0x1401d2fc3
Function at 0x1401d3090
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 [0x140219028]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x1401ee3a0]
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.14016a540
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.1401db8d0
test al, al
je 0x1401d31e5
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1401d315d
mov rcx, r14
call fcn.14016a540
movsxd r14, dword [rsp + 0x19c]
add r14, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.1401db8d0
test al, al
je 0x1401d31a6
cmp dword [rbx], 0x4550
jne 0x1401d3216
mov sil, 1
test rdi, rdi
je 0x1401d31f5
mov qword [rdi], r14
jmp 0x1401d31f5
mov ecx, 1
call fcn.1400b9d80
test al, al
je 0x1401d31f3
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.1400066f0
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1401d328a
mov ecx, 1
call fcn.1400b9d80
test al, al
je 0x1401d31f3
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.1400066f0
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1401d3284
mov ecx, 1
call fcn.1400b9d80
test al, al
jne 0x1401d3258
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14012ec00
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.1400b9d80
test al, al
je 0x1401d31f3
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.1400066f0
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x1401d328a
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.1400066f0
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.140167320
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x1401d329f
and r8d, 0x7f
jmp 0x1401d32a6
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140167320
mov rcx, rdi
call fcn.1400068f0
jmp 0x1401d31f3
Function at 0x18000ebb0
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18000ebe0
xor eax, eax
jmp 0x18000eca3
mov rbp, rbx
cmp word [rax], si
je 0x18000ec05
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000ebec
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000ebe8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18000ead0
movsxd r14, eax
test eax, eax
jne 0x18000ec43
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000ebd9
mov rcx, r14
call fcn.18000d068
mov rdi, rax
test rax, rax
jne 0x18000ec5c
xor ecx, ecx
call fcn.18000d0c8
jmp 0x18000ec38
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18000ead0
test eax, eax
jne 0x18000ec8d
mov rcx, rdi
call fcn.18000d0c8
jmp 0x18000ec97
xor ecx, ecx
call fcn.18000d0c8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1800142c4
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x18000003c]
lea rsi, [0x180000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x18001433c
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x18001433c
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 0x18001433c
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x180014330
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x18001434e
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x18001431e
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 0x18001433e

Function at 0x180014880
Capabilities:
Parse pe header

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