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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov edi, edx
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 1
je 0x1401ff729
mov rcx, qword [rsi]
jmp 0x1401ff732
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1401ff785
mov dil, 1
test bl, bl
je 0x1401ff764
cmp byte [rsi + 8], 1
je 0x1401ff750
mov rcx, qword [rsi]
jmp 0x1401ff759
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x1401ff77b
call fcn.14019d280
int3
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 1
jne 0x1401ff79c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x1401ff79f
mov rcx, qword [rsi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401ff7b2
xor edi, edi
jmp 0x1401ff764
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 1
je 0x1401ff7c5
mov rcx, qword [rsi]
jmp 0x1401ff7ce
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dil, 1
jmp 0x1401ff764
Function at 0x1402025f0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x1402c5560], 0
je 0x140202640
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x140202633
call fcn.14019d280
int3
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x1402c5568]
test rdi, rdi
jne 0x14020270d
mov ecx, Ordinal_26
call fcn.14019aa78
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1401d6710
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x140272a70]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.140139b40
movsx rax, byte [rdi + 0x17]
mov rcx, rdi
test rax, rax
jns 0x1402026ba
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
je 0x1402026f1
add rax, rax
test rax, rax
je 0x1402026f1
lea rdx, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, rdx
jne 0x1402026c2
cmp rdx, 0xfffffffffffffffe
je 0x1402026f1
sar rdx, 1
inc rdx
mov rcx, rdi
mov r8, 0xffffffffffffffff
call fcn.14010aec0
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.14013e860
mov qword [0x1402c5568], rdi
test byte [0x1402b56d8], 1
je 0x140202619
cmp byte [rdi + 0x17], 0
jns 0x140202723
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], Ordinal_133
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1402c5560], rax
inc rax
cmp rax, 1
ja 0x140202619
lea rsi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1401d6710
mov word [rsi], 0
mov ecx, 0x104
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x14020285b
mov rcx, qword [0x1402c5568]
lea rdx, [rsp + 0x40]
call fcn.14002e870
mov rcx, qword [0x1402c5568]
movsx rax, byte [rcx + 0x17]
test rax, rax
js 0x14020286a
test al, al
je 0x14020287b
mov rdx, rcx
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1402027f1
lea rdx, [0x140279d30]
mov r8d, 1
call fcn.14013e860
mov rcx, qword [0x1402c5568]
lea rdx, str.debug.log
mov r8d, 9
call fcn.14013e860
mov rcx, qword [0x1402c5568]
cmp byte [rcx + 0x17], 0
jns 0x140202813
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], Ordinal_133
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1402c5560], rax
inc rax
cmp rax, 1
ja 0x140202862
mov qword [0x1402c5560], 0
xor esi, esi
jmp 0x140202619
mov sil, 1
jmp 0x140202619
mov rax, qword [rcx + 8]
test rax, rax
je 0x14020287b
mov rdx, qword [rcx]
jmp 0x1402027d0
ud2
Function at 0x140218da0
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 0x140218df6
mov rbx, rcx
lea r14, [rsp + 0x20]
mov rcx, rdi
mov rdx, r14
call fcn.14022f9b0
test al, al
jne 0x140218df2
add rdi, 0x70
cmp rdi, r15
jne 0x140218dda
mov r15, qword [rbx + 0x58]
cmp rdi, r15
je 0x140218e2f
cmp byte [rdi + 0x27], 0
js 0x140218e07
lea rcx, [rdi + 0x10]
jmp 0x140218e0b
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 eax, 1
cmovne eax, ecx
test eax, eax
jne 0x140218e34
mov qword [rsi], rdi
xor eax, eax
jmp 0x140218e34
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x140218e4b
call fcn.14019d280
int3
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140218fc0
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 0x14021901a
lea r14, [rsp + 0x20]
mov rcx, rbx
mov rdx, r14
call fcn.14022f9b0
test al, al
jne 0x140219016
add rbx, 0x70
cmp rbx, r15
jne 0x140218ffe
mov r15, qword [rdi + 0x58]
mov r14d, 1
cmp rbx, r15
je 0x14021906d
mov eax, dword [rbx + 0x68]
cmp eax, ebp
jne 0x14021905e
cmp byte [rbx + 0x27], 0
js 0x140219038
lea rcx, [rbx + 0x10]
jmp 0x14021903c
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14021906d
shr eax, 3
and eax, 2
mov r14d, eax
jne 0x14021906d
mov byte [rdi + 0x48], 1
mov qword [rsi], rbx
xor r14d, r14d
jmp 0x14021906d
xor ecx, ecx
cmp eax, 1
sete cl
lea r14d, [rcx + rcx*2]
inc r14d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x140219084
call fcn.14019d280
int3
mov eax, r14d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1402191f0
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x190], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x48]
mov qword [rbx], rax
mov rdx, rbx
call fcn.140057390
mov r12, qword [rbx]
test r12, r12
je 0x1402192a4
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x50], xmm0
mov r15, qword [r12 + 0x50]
mov rbx, qword [r12 + 0x58]
cmp r15, rbx
je 0x140219287
lea r14, [rsp + 0x50]
mov rcx, r15
mov rdx, r14
call fcn.14022f9b0
test al, al
jne 0x140219282
add r15, 0x70
cmp r15, rbx
jne 0x14021926a
mov rbx, qword [r12 + 0x58]
cmp r15, rbx
jne 0x1402192e3
mov esi, 1
cmp byte [rsp + 0x47], 0
jns 0x1402192a9
mov rcx, qword [rsp + 0x30]
call fcn.14019aab4
jmp 0x1402192a9
mov esi, 3
lea rcx, [rsp + 0x48]
call fcn.140056ae0
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x1402192cd
call fcn.14019d280
int3
mov eax, esi
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [r15 + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140166fa0
mov r13, qword [r12 + 0x58]
cmp r13, r15
je 0x140219473
lea rax, [r12 + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [r15 + 0x70]
mov rdx, r15
cmp rax, r13
je 0x14021931f
xor ebp, ebp
mov rbx, r15
jmp 0x1402193d3
sub rdx, r15
add rdx, r15
mov rcx, qword [rsp + 0x28]
call fcn.14021a3c0
mov byte [r12 + 0x48], 1
cmp byte [rsp + 0x47], 0
lea rcx, [rsp + 0x30]
jns 0x140219346
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1402193fd
mov rcx, rdi
mov rdx, rsi
call fcn.14022db80
xor esi, esi
jmp 0x140219291
mov rcx, qword [r14]
call fcn.14019aab4
mov rax, qword [rbx + 0xa8]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rbx + 0x98]
movups xmmword [r14], xmm0
mov byte [rbx + 0xaf], bpl
mov byte [rbx + 0x98], bpl
movups xmm0, xmmword [rbx + 0xb0]
movups xmm1, xmmword [rbx + 0xc0]
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm1
mov rax, qword [rbx + 0xd0]
mov qword [rbx + 0x60], rax
mov eax, dword [rbx + 0xd8]
mov dword [rbx + 0x68], eax
lea rdx, [rbx + 0x70]
add rbx, 0xe0
cmp rbx, r13
mov rbx, rdx
je 0x14021931f
movups xmm0, xmmword [rbx + 0x70]
movups xmmword [rbx], xmm0
lea rcx, [rbx + 0x10]
lea rdx, [rbx + 0x80]
call fcn.140066ae0
lea r14, [rbx + 0x28]
cmp byte [rbx + 0x3f], 0
jns 0x14021936e
jmp 0x140219366
mov esi, 2
mov ecx, 2
call fcn.140198e50
test al, al
je 0x140219291
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x50]
mov esi, 2
mov rcx, rdi
mov r8d, 0x36f
mov r9d, 2
call fcn.140202e20
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, Ordinal_14
call fcn.140181360
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140203db0
mov rcx, rdi
call fcn.140202e90
jmp 0x140219291
ud2
Function at 0x14021ecf0
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 [0x1402cbee0]
test rax, rax
jne 0x14021ed34
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x1402cbee0]
test rax, rax
je 0x14021ed21
cmp eax, 2
jne 0x14021ed7d
cmp dword [0x1402c5570], 2
jg 0x14021ee14
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, Ordinal_145
mov r9d, 2
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x14021ee07
mov eax, 1
lock xadd qword [0x1402cbf18], rax
inc rax
cmp rax, 2
jl 0x14021eda1
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1402cbea0], eax
mov qword [0x1402cbe98], rsi
mov rcx, qword [0x1402c1810]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1402c5570], 2
jg 0x14021ee14
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0xbc
mov r9d, 2
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, reloc.WLDAP32.dll_Ordinal_46
call fcn.140181360
mov rcx, rsi
call fcn.140001aa0
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
cmp rcx, qword [0x1402b3040]
je 0x14021ee42
call fcn.14019d280
int3
xor eax, eax
add rsp, 0x158
pop rdi
pop rsi
ret
Function at 0x14022cad0
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.140057ef0
test rax, rax
jne 0x14022cb0e
mov rcx, rdi
call fcn.14004ff60
test al, al
je 0x14022cb0e
mov r8d, Ordinal_41
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14004ecc0
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x14022f0e0
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 0x14022f10a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14022f152
test bl, bl
jne 0x14022f14a
mov ecx, eax
and ecx, 0x400
je 0x14022f14a
xor eax, eax
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x14022f13f
call fcn.14019d280
int3
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
and eax, 0x10
shr eax, 4
jmp 0x14022f125
mov ecx, 2
call fcn.140198e50
test al, al
je 0x14022f123
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.140202e20
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140181360
mov rcx, rax
mov rdx, rsi
call fcn.140203db0
mov rcx, rdi
call fcn.140202e90
jmp 0x14022f123

Function at 0x14022f1c0
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 0x14022f1eb
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x14022f272
test bl, bl
je 0x14022f20f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14022f299
mov ecx, 2
call fcn.140198e50
test al, al
je 0x14022f270
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.140202e20
lea rcx, [rsp + 0x40]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140181360
mov rcx, rax
mov rdx, rsi
call fcn.140203db0
mov rcx, rdi
call fcn.140202e90
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x14022f28c
call fcn.14019d280
int3
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.14022f0e0
test al, al
jne 0x14022f272
mov ecx, 2
call fcn.140198e50
test al, al
je 0x14022f270
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x5c
mov r9d, 2
call fcn.14002ea40
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.140203db0
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.140181360
mov rcx, rdi
call fcn.140001aa0
jmp 0x14022f270
Function at 0x14022f310
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 0x14022f337
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14022f36e
test eax, 0x410
sete al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x14022f364
call fcn.14019d280
int3
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140198e50
test al, al
je 0x14022f3cf
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.140202e20
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140181360
mov rcx, rax
mov rdx, rsi
call fcn.140203db0
mov rcx, rdi
call fcn.140202e90
xor eax, eax
jmp 0x14022f34a

Function at 0x14022f3e0
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 0x14022f407
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 0x14022f4c6
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14022f431
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, eax
mov al, 1
test ecx, ecx
jne 0x14022f4a2
mov ecx, 2
call fcn.140198e50
test al, al
je 0x14022f4a0
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.140202e20
lea rcx, [rsp + 0x38]
lea rdx, str.DeleteFile
mov r8d, Ordinal_14
call fcn.140181360
mov rcx, rax
mov rdx, rsi
call fcn.140203db0
mov rcx, rdi
call fcn.140202e90
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x14022f4bc
call fcn.14019d280
int3
add rsp, 0x168
pop rdi
pop rsi
ret
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14019d280
mov rcx, rsi
add rsp, 0x168
pop rdi
pop rsi
jmp fcn.14022f4f0
Function at 0x14022f4f0
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 0x14022f518
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
test eax, eax
je 0x14022f54e
test edi, edi
setne al
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x14022f543
call fcn.14019d280
int3
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140198e50
test al, al
je 0x14022f524
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.140202e20
lea rcx, [rsp + 0x40]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.140181360
mov rcx, rax
mov rdx, rsi
call fcn.140203db0
mov rcx, rbx
call fcn.140202e90
jmp 0x14022f524
Function at 0x140244050
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 0xaaaaaaaa
lea rdi, [rsp + 0x3c]
mov dword [rdi], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
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 al
jne 0x1402440af
mov ecx, dword [rsp + 0x38]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x1402440c6
call fcn.14019d280
int3
add rsp, 0x48
pop rdi
pop rsi
ret

Function at 0x140244170
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 [0x140272a70]
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 0x140244203
mov ecx, 1
call fcn.140198e50
test al, al
je 0x140244203
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.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, Ordinal_46
call fcn.140181360
mov rcx, rsi
call fcn.140001aa0
mov ecx, dword [rsp + 0x170]
cmp ecx, 0x100
mov eax, 0xff
cmovb eax, ecx
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x140244232
call fcn.14019d280
int3
add rsp, 0x190
pop rsi
ret
Function at 0x140257dc0
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 [0x140272a70]
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.1401da1b0
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.140261000
test al, al
je 0x140257ed3
cmp word [rsp + 0x150], 0x5a4d
jne 0x140257e8d
mov rcx, r14
call fcn.1401da1b0
movsxd r14, dword [rsp + 0x18c]
add r14, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.140261000
test al, al
je 0x140257f67
cmp dword [rbx], 0x4550
jne 0x140257fa6
mov al, 1
test rdi, rdi
je 0x140257f3e
mov qword [rdi], r14
jmp 0x140257f3e
mov ecx, 1
call fcn.140198e50
test al, al
je 0x140257f3c
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x140257f13
mov ecx, 1
call fcn.140198e50
test al, al
je 0x140257f3c
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.140181360
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x140257f29
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140181360
mov rcx, rdi
call fcn.140001aa0
xor eax, eax
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x140257f58
call fcn.14019d280
int3
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.140198e50
test al, al
je 0x140257f3c
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x140257f0d
mov ecx, 1
call fcn.140198e50
test al, al
je 0x140257f3c
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x140257f13