joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004ffc0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1401cd238]
test rdi, rdi
jne 0x140050073
mov ecx, 0x50
call fcn.1400d7578
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1400d7578
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x140050095
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x1401cd238], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400500c1
mov rcx, rax
call fcn.1400f6694
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.1400500f0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d8aa0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
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.140110530
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.140110530
int3
Function at 0x1400500f0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.140042540
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140050284
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x140192678]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x1400502bb
lea rdx, [0x1401926c8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400502a9
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x1401dd008]
mov r14, rax
movsxd r12, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test r12, r12
je 0x1400502b1
test r12d, r12d
js 0x140050326
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.1400d7578
mov rbx, rax
mov qword [rsp + 0x30], rax
add r15, rax
mov qword [rsp + 0x40], r15
xor r13d, r13d
xor r15d, r15d
mov rcx, rbx
add rcx, r13
je 0x1400502ce
mov rdx, qword [r14 + r15]
call fcn.14010f790
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x1400501f2
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14004fbf0
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x140050246
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x140050284
cmp r15, rbx
je 0x14005027c
add r15, 0xffffffffffffffe8
jmp 0x14005026a
mov rcx, qword [r15]
call fcn.1400d75b4
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x14005027c
test r15, r15
je 0x1400502fa
cmp byte [r15 + 0x17], 0
jns 0x14005025e
jmp 0x140050256
mov rcx, rbx
call fcn.1400d75b4
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400d8aa0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x1400501a4
xor r15d, r15d
xor ebx, ebx
jmp 0x14005021f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x1400501a1
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.140110530
lea rax, str.null_pointer_given_to_destroy_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.__loc___nullptr
mov r8d, 0x44
call fcn.140110530
lea rcx, [rsp + 0x30]
call fcn.14010f500
int3

Function at 0x140054420
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
jne 0x14005443a
test r8d, r8d
jne 0x140054433
call fcn.140066e90
xor eax, eax
add rsp, 0x28
ret
mov r8d, r8d
add rsp, 0x28
jmp fcn.1400bdb10
Function at 0x14005b290
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401cd390]
mov ecx, dword [0x1401c1138]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005b2f0
lea rsi, [0x1401cd388]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400d8aa0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401cd390]
call fcn.1400d76d0
cmp dword [0x1401cd390], 0xffffffff
jne 0x14005b2cc
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400dabe0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.1400d7578
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1401cd3d8]
mov ecx, dword [0x1401c1138]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005b3b0
lea r8, [0x1401cd3a8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14005b4b0
mov qword [0x1401cd388], rsi
lea rcx, [0x1401cd390]
call fcn.1400d7768
jmp 0x14005b2cc
lea rcx, [0x1401cd3d8]
call fcn.1400d76d0
cmp dword [0x1401cd3d8], 0xffffffff
jne 0x14005b381
xorps xmm0, xmm0
movups xmmword [0x1401cd3c8], xmm0
movups xmmword [0x1401cd3b8], xmm0
movups xmmword [0x1401cd3a8], xmm0
lea rcx, [0x1401cd3a8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401cd3d8]
call fcn.1400d7768
jmp 0x14005b381

Function at 0x14005b400
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401cd3d8]
mov ecx, dword [0x1401c1138]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005b43b
movzx eax, word [0x1401cd3a8]
cmp eax, 9
jne 0x14005b483
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x1401cd3d8]
call fcn.1400d76d0
cmp dword [0x1401cd3d8], 0xffffffff
jne 0x14005b425
xorps xmm0, xmm0
movups xmmword [0x1401cd3c8], xmm0
movups xmmword [0x1401cd3b8], xmm0
movups xmmword [0x1401cd3a8], xmm0
lea rcx, [0x1401cd3a8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401cd3d8]
call fcn.1400d7768
jmp 0x14005b425
test eax, eax
je 0x14005b436
cmp eax, 6
jne 0x14005b493
mov eax, 2
jmp 0x14005b436
cmp eax, 0xc
jne 0x14005b49f
mov eax, 3
jmp 0x14005b436
mov eax, 4
jmp 0x14005b436
Function at 0x14005bd50
Capabilities:
Check if file exists
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x50]
mov qword [rbx + 0x40], rax
movaps xmm0, xmmword [0x1401849f0]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.MapImageToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x1b
call fcn.1400b7620
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400ad410
mov rcx, rsi
call fcn.1400aa9e0
test al, al
je 0x14005becd
mov rcx, rsi
call fcn.140042aa0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 0x11000002
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
cmp qword [rsi + 0x40], rax
je 0x14005be4b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x14005bef6
mov rax, rdi
inc rax
cmp rax, 2
jb 0x14005be3f
mov qword [rsi + 0x40], rdi
call fcn.1400b7640
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsi + 0x40]
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14005bf11
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
mov rcx, qword [rsi + 0x30]
movabs rbx, 0xfffffffc00000000
mov rax, rcx
and rax, rbx
cmp rax, qword [0x1401b1e88]
je 0x14005bf15
and rbx, rdi
cmp rbx, qword [0x1401b1e88]
je 0x14005bf1f
mov qword [rsi + 0x30], rdi
test rdi, rdi
je 0x14005bf11
lea rax, fcn.14013ff70
lea rcx, [rsp + 0x30]
mov qword [rcx], rax
mov qword [rcx + 8], rdi
call fcn.14006bcf0
mov eax, dword [rax + 0x50]
mov qword [rsi + 0x38], rax
mov dil, 1
lea rcx, [rsp + 0x50]
call fcn.1400ad680
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400d8aa0
mov eax, edi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400b7640
mov rcx, qword [rsi + 0x40]
call fcn.1400aa030
mov qword [rsi + 0x40], 0
jmp 0x14005be2a
xor edi, edi
jmp 0x14005becd
call fcn.1400a1690
jmp 0x14005be96
mov rcx, rdi
call fcn.1400a1190
jmp 0x14005bea2
Function at 0x14006b340
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x14006b310]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x1401cd668]
lea rdx, [0x14006b1b0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14006b450
cmp dword [0x1401cd670], 0
jne 0x14006b440
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1401cd674]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x14006b3ec
mov ecx, 1
mov edx, 0x28
call fcn.14009db10
test rax, rax
je 0x14006b440
mov r14, rax
mov ecx, dword [0x1401cd674]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14006b438
lea r15, [0x1401cd678]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x1401cd680]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400d8aa0
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
call fcn.14009da70
mov rcx, rsi
mov rax, rdi
call qword [0x1401dd008]
xor esi, esi
jmp 0x14006b41c
call fcn.1400ecf30
int3

Function at 0x14006b8a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401c0738]
cmp ecx, 0xffffffff
je 0x14006b97a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x14006b97a
mov eax, dword [0x1401ceed0]
mov ecx, dword [0x1401c1138]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006b984
mov rbx, qword [0x1401ceec8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14006b9ca
mov rax, qword [0x1401cd6b8]
inc rax
xor ecx, ecx
lea rdx, [0x1401cd6c0]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x14006b9d7
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x1401ceec0]
inc ecx
mov dword [0x1401ceec0], ecx
mov dword [rax + 0x14], ecx
mov qword [0x1401cd6b8], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x14006b9ec
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14006b9f0
jmp 0x14006b8ca
lea rcx, [0x1401ceed0]
call fcn.1400d76d0
cmp dword [0x1401ceed0], 0xffffffff
jne 0x14006b8ef
mov ecx, 8
call fcn.1400d7578
mov rbx, rax
mov rcx, rax
call fcn.1400aa510
mov qword [0x1401ceec8], rbx
lea rcx, [0x1401ceed0]
call fcn.1400d7768
jmp 0x14006b8ef
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14006b907
inc rcx
cmp rcx, 0x100
jne 0x14006b91a
jmp 0x14006b960
int3
Function at 0x14006b9f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.1400d8a40
sub rsp, rax
mov rax, qword [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x1401c0738]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x14006baa4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14006bb07
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1400dabe0
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.1400d75ec
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.1400da530
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400d8aa0
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.140080940
test al, al
je 0x14006bb0a
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x14006bae2
mov eax, 0xffffffff
lock cmpxchg dword [0x1401c0738], ecx
je 0x14006ba28
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1401c0738]
mov dword [rsp + 0x2c], ecx
jmp 0x14006ba28
lea rcx, [rsp + 0x2c]
call fcn.140080940
test al, al
je 0x14006bb0d
cmp dword [rsp + 0x2c], 0xffffffff
je 0x14006bb0d
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x14006babb
int3
int3
int3

Function at 0x14006bb20
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1401c0738]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
je 0x14006bb69
and rax, 0xfffffffffffffffc
je 0x14006bb9c
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x14006bb9c
mov rsi, qword [rax + rcx]
jmp 0x14006bb9e
lea rdx, [0x14019af5e]
lea r8, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r9d, 0x1f6
call fcn.1400b7620
movabs rdx, 0x141dd76000
mov rcx, rsi
call fcn.140138d90
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d8aa0
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x14006bbc0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401c0738]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14006bbfe
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x14006bbf7
call fcn.14006b9f0
jmp 0x14006bbde
Function at 0x14006c2d0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14006c2e0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x14006c301
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14006c321
cmp byte [r14 + 0x68], 0
jne 0x14006c3a3
or edi, 0x20000000
test dil, 8
jne 0x14006c3d7
xor r15d, r15d
cmp byte [r14 + 0x70], 0
mov r12d, 0
je 0x14006c33f
mov r12, qword [r14 + 0x78]
cmp byte [r14 + 0x50], 0
mov r13d, 0
je 0x14006c350
mov r13, qword [r14 + 0x58]
cmp byte [r14 + 0x28], 0
jne 0x14006c3b8
cmp byte [r14], 0
jne 0x14006c3c6
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14006c3f7
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x14006c3ae
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x14006c321
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14006c38e
lea rcx, [r14 + 0x30]
call fcn.140042aa0
mov r15, rax
jmp 0x14006c357
add r14, 8
mov rcx, r14
call fcn.140042aa0
mov r9, rax
jmp 0x14006c360
cmp byte [r14 + 0x88], 0
je 0x14006c3ec
or edi, 0x40000000
jmp 0x14006c32b
or edi, 0x10000000
jmp 0x14006c32b
cmp ebx, 4
jne 0x14006c406
mov edx, 6
jmp 0x14006c36d
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14006c418
mov edx, 7
jmp 0x14006c36d
cmp ebx, 1
jne 0x14006c427
mov edx, 4
jmp 0x14006c36d
xor edx, edx
jmp 0x14006c36d
Function at 0x14006c2e0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14006c2e0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x14006c301
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14006c321
cmp byte [r14 + 0x68], 0
jne 0x14006c3a3
or edi, 0x20000000
test dil, 8
jne 0x14006c3d7
xor r15d, r15d
cmp byte [r14 + 0x70], 0
mov r12d, 0
je 0x14006c33f
mov r12, qword [r14 + 0x78]
cmp byte [r14 + 0x50], 0
mov r13d, 0
je 0x14006c350
mov r13, qword [r14 + 0x58]
cmp byte [r14 + 0x28], 0
jne 0x14006c3b8
cmp byte [r14], 0
jne 0x14006c3c6
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14006c3f7
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x14006c3ae
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x14006c321
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14006c38e
lea rcx, [r14 + 0x30]
call fcn.140042aa0
mov r15, rax
jmp 0x14006c357
add r14, 8
mov rcx, r14
call fcn.140042aa0
mov r9, rax
jmp 0x14006c360
cmp byte [r14 + 0x88], 0
je 0x14006c3ec
or edi, 0x40000000
jmp 0x14006c32b
or edi, 0x10000000
jmp 0x14006c32b
cmp ebx, 4
jne 0x14006c406
mov edx, 6
jmp 0x14006c36d
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14006c418
mov edx, 7
jmp 0x14006c36d
cmp ebx, 1
jne 0x14006c427
mov edx, 4
jmp 0x14006c36d
xor edx, edx
jmp 0x14006c36d

Function at 0x14006c430
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r15, rcx
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14006c468
cmp byte [r15 + 0x68], 0
jne 0x14006c4f6
or edi, 0x20000000
test dil, 8
jne 0x14006c52d
xor r14d, r14d
cmp byte [r15 + 0x70], 0
mov r12d, 0
je 0x14006c486
mov r12, qword [r15 + 0x78]
cmp byte [r15 + 0x50], 0
mov r13d, 0
je 0x14006c497
mov r13, qword [r15 + 0x58]
cmp byte [r15 + 0x28], 0
jne 0x14006c50b
cmp byte [r15], 0
jne 0x14006c519
xor r9d, r9d
cmp ebx, 4
jne 0x14006c4e7
mov edx, 6
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
test eax, eax
jne 0x14006c501
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14006c54d
mov edx, 7
jmp 0x14006c4b1
or edi, 0x80000000
jmp 0x14006c468
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14006c4d2
lea rcx, [r15 + 0x30]
call fcn.140042aa0
mov r14, rax
jmp 0x14006c49e
add r15, 8
mov rcx, r15
call fcn.140042aa0
mov r9, rax
jmp 0x14006c4a7
cmp byte [r15 + 0x88], 0
je 0x14006c542
or edi, 0x40000000
jmp 0x14006c472
or edi, 0x10000000
jmp 0x14006c472
mov edx, 1
test ebx, ebx
je 0x14006c4b1
cmp ebx, 1
jne 0x14006c569
mov edx, 4
jmp 0x14006c4b1
xor edx, edx
jmp 0x14006c4b1
Function at 0x140070f20
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x140070f48
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140070f83
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140070fa3
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1400d8aa0
mov rcx, rsi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
jmp fcn.140071080
mov sil, 1
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1400d8aa0
mov eax, esi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400b7540
test al, al
jne 0x140070fb5
xor esi, esi
jmp 0x140070f86
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x266
mov r9d, 2
call fcn.140137dc0
lea rcx, [rsp + 0x68]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.14010fab0
mov rdi, rax
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x140071005
and r8d, 0x7f
jmp 0x14007100c
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.140098ee0
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
call fcn.1400aef10
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14007103c
and r8d, 0x7f
jmp 0x140071046
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.14010fab0
cmp byte [rsp + 0x57], 0
jns 0x140071062
mov rcx, qword [rsp + 0x40]
call fcn.1400d75b4
lea rcx, [rsp + 0x58]
call fcn.140137e40
jmp 0x140070fb1