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

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov al, byte [rcx + 8]
cmp al, byte [rdx + 8]
je 0x140029abb
test al, al
jne 0x140029acc
test rsi, rsi
je 0x140029ada
mov rcx, rsi
call fcn.1400321e0
mov byte [rsi + 8], 1
add rsp, 0x20
pop rsi
ret
test al, al
je 0x140029ab5
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp fcn.140029ae0
mov rcx, rsi
call fcn.140035520
mov byte [rsi + 8], 0
jmp 0x140029ab5
int3

Function at 0x140029ae0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, qword [rdx]
mov qword [rdx], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x140029b05
call fcn.1400b9400
cmp qword [rsi], rbx
je 0x140029b34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140029b41
cmp r14, 2
jb 0x140029b2c
mov qword [rsi], rbx
call fcn.1400b9400
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400b9400
mov rcx, qword [rsi]
call fcn.1401142f0
mov qword [rsi], 0
jmp 0x140029b1e

Function at 0x140029c10
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ebx, 0xffffffff
cmp r8, rbx
cmovb rbx, r8
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140029cb1
mov r15, qword [sym.imp.KERNEL32.dll_GetFileType]
lea r14, [rsp + 0x2c]
mov r12, qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x140029ca0
cmp eax, 0xffffffff
je 0x140029ceb
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14012f6f0
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, rdi
call r15
cmp eax, 3
je 0x140029cc5
mov eax, dword [rsp + 0x2c]
jmp 0x140029c80
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x140029c82
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
mov r9, r14
call r12
test eax, eax
jne 0x140029c73
jmp 0x140029cb1
int3
Function at 0x14002c080
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1058
call fcn.14012f690
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x1050], rax
lea r14, [rsp + 0x850]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.140131830
lea r9, [rsp + 0x4c]
mov dword [r9], 1
lea rax, [rsp + 0x48]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002c15b
mov eax, dword [rsp + 0x4c]
cmp eax, 1
jne 0x14002c1de
lea rbx, [rsp + 0x850]
mov rcx, rbx
call fcn.14012d784
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x14002c1c1
cmp rdi, 0xa
jbe 0x14002c15f
movzx r9d, al
mov edx, 0xa
mov r8, rdi
sub r8, rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, rsi
call fcn.14000c7a0
jmp 0x14002c191
mov edi, eax
jmp 0x14002c193
mov rbx, rsi
test rdi, rdi
je 0x14002c180
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x850]
mov rcx, rbx
call fcn.140131180
mov al, byte [rsi + 0x17]
test al, al
js 0x14002c1b2
mov eax, edi
and al, 0x7f
mov byte [rsi + 0x17], al
mov word [rbx + rdi*2], 0
xor edi, edi
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.14012f6f0
mov eax, edi
add rsp, 0x1058
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsi + 8], rdi
jmp 0x14002c18b
mov r9, qword [rsi + 8]
jmp 0x14002c133
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x14002c1b8
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x14002c162
cmp eax, 2
jne 0x14002c281
lea rdi, [rsp + 0x50]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.140131830
lea rcx, [rsp + 0x850]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x48], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x14002c28b
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.14012d784
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x14002c260
cmp rdi, 0xa
ja 0x14002c12a
mov rbx, rsi
test rdi, rdi
je 0x14002c180
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x50]
jmp 0x14002c175
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x14002c1b8
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x14002c247
mov edi, 0x3f4
jmp 0x14002c193
mov edi, 0xea
jmp 0x14002c193
Function at 0x14002c9a0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14002c9ca
call fcn.1400b9400
cmp qword [rsi], r14
je 0x14002c9f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14002ca4f
cmp r15, 2
jb 0x14002c9f1
mov qword [rsi], r14
call fcn.1400b9400
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14002ca1e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400b9400
mov rbx, qword [rdi]
cmp qword [0x140231c98], 0
je 0x14002ca68
mov rcx, qword [0x140231c98]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [0x140243008]
mov qword [rdi], 0
jmp 0x14002ca0f
call fcn.1400b9400
mov rcx, qword [rsi]
call fcn.1401142f0
mov qword [rsi], 0
jmp 0x14002c9e3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140200159]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002caa9
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14002caa3
call qword [0x140243008]
mov rcx, rax
xor edx, edx
call fcn.14002cab0
jmp 0x14002ca30
xor ecx, ecx
mov dl, 1
jmp 0x14002ca9c
xor ecx, ecx
jmp 0x14002ca9a
Function at 0x1400321e0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov rbx, qword [rdx]
mov qword [rdx], rax
lea r14, [rbx + 1]
cmp r14, 2
jb 0x140032206
call fcn.1400b9400
cmp qword [rsi], rbx
je 0x140032235
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140032242
cmp r14, 2
jb 0x14003222d
mov qword [rsi], rbx
call fcn.1400b9400
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400b9400
mov rcx, qword [rsi]
call fcn.1401142f0
mov qword [rsi], 0
jmp 0x14003221f

Function at 0x140033130
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rcx]
inc rax
cmp rax, 1
ja 0x1400332b8
mov rbx, r9
mov edi, r8d
mov ebp, edx
mov rsi, rcx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov r14, rax
cmp qword [rsi], rax
je 0x1400331b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140033295
mov rax, r14
inc rax
cmp rax, 2
jb 0x1400331ab
mov qword [rsi], r14
call fcn.1400b9400
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
lea rax, [r14 + 1]
cmp rax, 1
jbe 0x1400332e0
xor r15d, r15d
lea rcx, [rsp + 0x30]
mov r8d, 0x90
xor edx, edx
call fcn.140131830
test ebp, ebp
jne 0x140033280
mov ecx, 0xff
mov r15d, 0x408
mov dword [rsp + 0x58], 1
mov eax, r15d
mov dword [rsp + 0x2c], ecx
mov r15d, ecx
test rbx, rbx
je 0x140033211
or eax, 0x100
mov qword [rsp + 0xa0], rbx
or eax, 0x2000
mov dword [rsp + 0x40], eax
lea r8, [rsp + 0x30]
mov rcx, r14
mov edx, 9
mov r9d, 0x90
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
je 0x1400332ae
not edi
and r15d, edi
lea r8, [rsp + 0x2c]
mov dword [r8], r15d
mov rcx, qword [rsi]
mov edx, 4
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
xor esi, esi
test eax, eax
je 0x1400332ae
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14012f6f0
mov eax, esi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp ebp, 1
jne 0x1400332bf
mov ecx, 0xd8
mov r15d, 8
jmp 0x1400331ed
call fcn.1400b9400
mov rcx, qword [rsi]
call fcn.1401142f0
mov qword [rsi], 0
jmp 0x140033197
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14003325e
mov esi, 0x4df
jmp 0x14003325e
mov ecx, 0xc8
cmp ebp, 2
je 0x1400331f5
mov eax, 0
cmp ebp, 3
je 0x1400331ff
jmp 0x14003321a
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14012f6f0
nop
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x140035c70
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov eax, r8d
mov rsi, rdx
mov rdx, qword [0x140219028]
xor rdx, rsp
mov qword [rsp + 0x40], rdx
mov rcx, qword [rcx]
movabs rdx, 0xaaaaaaaaaaaaaaaa
lea r8, [rsp + 0x38]
mov qword [r8], rdx
or r9d, 8
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], 2
mov edx, r9d
xor r8d, r8d
mov r9d, eax
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x140035d42
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140035d42
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140035d3e
call fcn.1400b9400
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsi], 0
mov bpl, 1
test rbx, rbx
je 0x140035d21
cmp rbx, 0xffffffffffffffff
je 0x140035d49
call fcn.1400b9400
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsi], rbx
call fcn.1400b9400
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], bpl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14012f6f0
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
xor ebx, ebx
jmp 0x140035ce7
mov byte [rsi], 0
xor ebp, ebp
jmp 0x140035d21
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140035d19
Function at 0x14003bc20
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x14003bc47
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14003bc81
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14003bca0
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14012f6f0
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.14003bd80
mov sil, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14012f6f0
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
cmp dword [0x140231b60], 2
jg 0x14003bd6d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x265
mov r9d, 2
call fcn.140192850
lea rcx, [rsp + 0x60]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140167a60
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
js 0x14003bcfb
and eax, 0x7f
jmp 0x14003bd02
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rax
test rax, rax
js 0x14003bd74
test rsi, rsi
jne 0x14003bd1b
test rax, rax
jne 0x14003bd77
lea rsi, [rsp + 0x38]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400e23d0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14003bd3d
and r8d, 0x7f
jmp 0x14003bd47
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.140167a60
cmp byte [rsp + 0x4f], 0
jns 0x14003bd63
mov rcx, qword [rsp + 0x38]
call fcn.14012cd4c
lea rcx, [rsp + 0x50]
call fcn.1401928d0
xor esi, esi
jmp 0x14003bc84
int3
int3

Function at 0x14003bd80
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 0x14003bda7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003bdd5
mov dil, 1
test al, 0x10
je 0x14003be36
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14012f6f0
mov eax, edi
add rsp, 0x178
pop rdi
pop rsi
ret
cmp dword [0x140231b60], 2
jg 0x14003be32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x251
mov r9d, 2
call fcn.140192850
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140167a60
mov rcx, rax
mov rdx, rsi
call fcn.14005aae0
mov rcx, rdi
call fcn.1401928d0
xor edi, edi
jmp 0x14003bdb9
cmp dword [0x140231b60], 2
jg 0x14003be32
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x255
mov r9d, 2
call fcn.140006710
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140167a60
mov rcx, rax
mov rdx, rsi
call fcn.14005aae0
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.140167a60
mov rcx, rdi
call fcn.140006910
jmp 0x14003be32
Function at 0x14003bff0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp dword [rcx + 0x10], 0
mov rcx, qword [rcx]
je 0x14003c1a3
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
movabs rbx, 0xfffffffc00000000
mov rdi, qword [rsi + 0x30]
mov qword [rsi + 0x30], 0
test rdi, rdi
je 0x14003c092
mov rcx, qword [rdi + 0x20]
mov rdx, rdi
call fcn.14003c460
test al, al
je 0x14003c062
lea rcx, [rdi + 8]
call fcn.14003c1d0
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003c062
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rdi + 0x20]
mov rax, rcx
and rax, rbx
cmp rax, qword [0x140219dc8]
je 0x14003c17a
mov qword [rdi + 0x20], 0
lea rcx, [rdi + 8]
call fcn.14003c1d0
mov rcx, rdi
call fcn.14012cd4c
mov rdx, qword [rsi + 0x48]
mov qword [rsi + 0x48], 0
test rdx, rdx
je 0x14003c0b2
lea rcx, fcn.1400bdd50
xor r8d, r8d
call fcn.1400bace0
mov rcx, qword [rsi + 0x38]
and rbx, rcx
cmp rbx, qword [0x140219dc8]
je 0x14003c184
mov rdi, qword [rsi + 0x30]
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
test rdi, rdi
jne 0x14003c18e
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jb 0x14003c118
call fcn.1400b9400
mov rdi, qword [rsi + 0x28]
cmp qword [0x140231c98], 0
je 0x14003c139
mov rcx, qword [0x140231c98]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [0x140243008]
mov qword [rsi + 0x28], 0
lea rcx, [rsi + 0x20]
call fcn.140035520
lea rcx, [rsi + 0x18]
call fcn.140035520
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140032260
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140200159]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003c1c6
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14003c174
call qword [0x140243008]
mov rcx, rax
xor edx, edx
call fcn.14002cab0
jmp 0x14003c0fa
xor ecx, ecx
mov dl, 1
jmp 0x14003c16d
call fcn.1400ad190
jmp 0x14003c079
call fcn.1400ad190
jmp 0x14003c0c6
mov rcx, rdi
call fcn.14005ff80
mov rcx, rdi
call fcn.14012cd4c
jmp 0x14003c0da
test rcx, rcx
jne 0x14003c007
cmp dword [rsi + 0x14], 0
jne 0x14003c007
cmp qword [rsi + 8], 0
jne 0x14003c007
jmp 0x14003c020
xor ecx, ecx
jmp 0x14003c16b
Function at 0x14003ccb0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x14003cdd1
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x14003ce11
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr edi, 5
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x14003ce07
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
and al, dil
mov byte [r8 + 0x16], al
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x14003ce0b
xor ecx, ecx
mov eax, 0x80000007
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x14003ce19
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x14003cda4
mov dl, byte [r8 + 0x19]
jmp 0x14003ce00
xor r10d, r10d
jmp 0x14003cd0f
cmp byte [r8 + 0x1a], 0
je 0x14003ce04
xor ecx, ecx
mov eax, 0x40000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x14003ce04
cmp ecx, 0x666f736f
jne 0x14003ce04
cmp edx, 0x76482074
jne 0x14003ce04
mov byte [r8 + 0x19], 1
jmp 0x14003ce04
Function at 0x14003fed0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140131830
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14003ff78
cmp word [rsp + 0x70], 0
je 0x14003ff78
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14012d784
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1400f4860
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14012f6f0
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
jmp 0x14003ff47
xorps xmm0, xmm0
lea rcx, [rsp + 0x40]
movaps xmmword [rcx], xmm0
mov qword [rcx + 0x10], 0
call fcn.140043180
test al, al
jne 0x14003ff65
lea rax, [0x1401f984c]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1400f4860
cmp byte [rsp + 0x57], 0
jns 0x14003ff47
mov rcx, qword [rsp + 0x40]
call fcn.14012cd4c
jmp 0x14003ff47
Function at 0x140042900
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x170
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x168], rax
mov sil, 1
test r8, r8
je 0x14004298a
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov r12d, 0xffffffff
lea r15, [rsp + 0x28]
mov r13, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, r12
mov r8d, 0xffffffff
cmovb r8, rdi
mov dword [rsp + 0x28], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, r14
mov rdx, rbx
mov r9, r15
call r13
test eax, eax
je 0x1400429af
mov eax, dword [rsp + 0x28]
cmp rax, r12
je 0x140042a04
add rbx, rax
sub rdi, rax
jne 0x140042947
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.14012f6f0
mov eax, esi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp dword [0x140231b60], 2
jg 0x140042a00
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x8c
mov r9d, 2
call fcn.140192850
lea rcx, [rsp + 0x38]
lea rdx, [0x140206234]
mov r8d, 9
call fcn.140167a60
mov rcx, rsi
call fcn.1401928d0
xor esi, esi
jmp 0x14004298a
int3

Function at 0x140043180
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140131830
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x140043235
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14012d784
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400f4860
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140043270
cmp byte [rsi + 0x17], 0
js 0x14004325d
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
mov byte [rsp + 0x5f], 0
mov word [rsp + 0x48], 0
cmp byte [rsp + 0x47], 0
jns 0x140043235
mov rcx, qword [rsp + 0x30]
call fcn.14012cd4c
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14012f6f0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsi]
call fcn.14012cd4c
jmp 0x140043207
Function at 0x140044340
Capabilities:
Clear file content

Disassembly:
push rsi
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x178], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r8, [rsp + 0x170]
mov qword [r8], rax
xor edx, edx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400443b7
cmp qword [rsp + 0x170], 0
jne 0x140044408
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x14004440c
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14012f6f0
mov eax, esi
add rsp, 0x180
pop rsi
ret
cmp dword [0x140231b60], 2
jg 0x140044408
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0xf2
mov r9d, 2
call fcn.140192850
lea rcx, [rsp + 0x40]
lea rdx, [0x1402061ba]
mov r8d, 0x10
call fcn.140167a60
mov rcx, rsi
call fcn.1401928d0
xor esi, esi
jmp 0x14004439c
cmp dword [0x140231b60], 2
jg 0x140044408
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0xfc
mov r9d, 2
call fcn.140192850
lea rcx, [rsp + 0x40]
lea rdx, [0x1402061cb]
mov r8d, 0xc
jmp 0x1400443fb

Function at 0x14004abe0
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rdi, rdx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.14004b5b0
mov rax, qword [rsi]
test rax, rax
je 0x14004ac57
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x14004ac5e
lea rcx, [rsp + 0x28]
call fcn.14004acc0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14012f6f0
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x14004ac30
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 0
je 0x14004ac76
add rbx, 0x70
cmp rbx, r15
je 0x14004ac30
jmp 0x14004ac65
cmp byte [rbx + 0x27], 0
jns 0x14004ac82
mov rcx, qword [rbx + 0x10]
jmp 0x14004ac86
lea rcx, [rbx + 0x10]
call r12
test al, 0x10
jne 0x14004ac6b
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
jae 0x14004acac
mov rcx, r14
mov rdx, rbx
call fcn.140090da0
add r14, 0x68
mov qword [rdi + 8], r14
jmp 0x14004ac6b
mov rcx, rdi
mov rdx, rbx
call fcn.140090b90
mov r14, rax
jmp 0x14004aca6