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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x1401879f0]
lea r15, [rsp + 0x60]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, str.MapFileRegionToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea r12, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x3a
call fcn.1400b5730
xor r14d, r14d
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.1400ac400
mov rcx, rsi
call fcn.1400a98d0
test al, al
je 0x14005a0d7
test ebx, ebx
jne 0x14005a10b
mov ebp, 2
mov ebx, 4
xor r15d, r15d
mov rcx, rsi
call fcn.14003ea60
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x28], 0
mov rcx, rax
xor edx, edx
mov r8d, ebp
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r14, rax
cmp qword [rsi + 0x40], rax
je 0x14005a05c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x14005a1c4
mov rax, r14
inc rax
cmp rax, 2
jb 0x14005a050
mov qword [rsi + 0x40], r14
call fcn.1400b5750
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi + 0x40]
inc r14
cmp r14, 2
jb 0x14005a106
mov dword [rsp + 0x3c], 0
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
cmp rcx, qword [0x14019fdb8]
jne 0x14005a14d
cmp rdx, qword [0x14019fdc0]
jne 0x14005a14d
mov rcx, rsi
call fcn.14003eba0
xor r14d, r14d
test rax, rax
jle 0x14005a0d7
mov qword [rsi + 0x38], rax
xor r8d, r8d
xor eax, eax
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x20], rax
mov edx, ebx
mov r9d, r14d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x14005a106
movsxd rcx, dword [rsp + 0x3c]
add rax, rcx
mov qword [rsi + 0x30], rax
mov r14b, 1
lea rcx, [rsp + 0x60]
call fcn.1400ac480
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400de0a0
mov eax, r14d
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14005a0d7
dec ebx
cmp ebx, 3
ja case.default.0x14005a124
lea rax, [0x14019fda4]
movsxd rcx, dword [rax + rbx*4]
add rcx, rax
jmp rcx
mov r14, qword [rdi + 8]
mov r15, r14
shr r15, 0x20
mov ebp, 4
mov ebx, 2
jmp 0x140059ff2
mov rcx, rsi
call fcn.140059dc0
mov r14d, eax
jmp 0x14005a0d7
xor eax, eax
lea r14, [rsp + 0x40]
mov qword [r14], rax
lea r9, [rsp + 0x30]
mov qword [r9], rax
lea r15, [rsp + 0x3c]
mov qword [rsp + 0x20], r15
mov r8, r14
call fcn.14005a400
mov rcx, qword [rdi + 8]
movsxd rax, dword [r15]
mov r8, rax
sar r8, 0x3f
add rax, rcx
adc r8, 0
mov edx, r8d
and edx, 1
neg rdx
xor r8, rdx
setne r8b
mov r14, qword [r14]
test r14, r14
js 0x14005a106
test r8b, r8b
jne 0x14005a106
test rdx, rdx
js 0x14005a106
mov r8, r14
shr r8, 0x20
mov qword [rsi + 0x38], rcx
jmp 0x14005a0ab
call fcn.1400b5750
mov rcx, qword [rsi + 0x40]
call fcn.1400a9190
mov qword [rsi + 0x40], 0
jmp 0x14005a03b
mov ebx, 0xaaaaaaaa
xor ebp, ebp
jmp 0x140059fef
mov ebp, 4
mov ebx, 2
jmp 0x140059fef
mov ebp, 8
mov ebx, 1
jmp 0x140059fef
Function at 0x140064c70
Capabilities:
Set thread local storage value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0x50], rax
test rcx, rcx
je 0x140064eb0
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x1401bb690], rax
jne 0x140064eb3
mov rsi, rcx
mov r14d, dword [rcx + 8]
add r14, 0x518
mov byte [rsp + 0x3f], 0xaa
cmp byte [rcx + 2], 0
sete al
bsr rdx, r14
xor rdx, 0xffffffffffffffc0
lea rcx, [0x140188ba0]
mov cl, byte [rdx + rcx + 0x41]
mov r8, r14
shr r8, cl
and r8d, 7
lea rcx, [0x140188bf0]
mov rcx, qword [rcx + rdx*8 + 0x208]
and rcx, r14
lea rdx, [r8 + rdx*8]
add rdx, 0x208
cmp rcx, 1
sbb rdx, 0xffffffffffffffff
lea rcx, [0x1401a0bd0]
movzx ecx, word [rcx + rdx*2 + 0x400]
cmp cx, 0x6e
setb dl
and dl, al
movzx eax, dl
or eax, ecx
movzx eax, ax
lea r12, [rax + rax*4]
mov eax, r12d
lea r15, [rsi + rax*8]
add r15, 0x48
lea rdi, [rsi + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140064e48
mov rax, qword [r15]
mov rbx, qword [rax]
test rbx, rbx
je 0x140064e55
mov byte [rsp + 0x3f], 0
mov r8, qword [rbx]
test r8, r8
je 0x140064e41
lea rdx, [rsi + 0x48]
mov r9d, r12d
mov rcx, r8
bswap rcx
mov r14d, dword [rdx + r9*8 + 0x18]
mov rdx, rcx
xor rdx, rbx
cmp rdx, 0x1fffff
ja 0x140064ebd
mov edx, ecx
and edx, 0x1fc000
je 0x140064ebd
prefetcht0 byte [rcx]
mov qword [rax], rcx
mov ecx, dword [rax + 0x18]
lea edx, [rcx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [rax + 0x18], ecx
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x18]
add rax, qword [rsi + 0x1498]
mov qword [rsi + 0x1498], rax
mov rcx, qword [rsi + 0x14a0]
cmp rcx, rax
cmova rax, rcx
mov qword [rsi + 0x14a0], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, rbx
mov rdx, rsi
call fcn.1400c6760
mov ecx, dword [0x1401cebd8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1401c8138]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x170], rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400de0a0
mov rax, rbx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ecx, ecx
jmp 0x140064da2
mov rcx, rdi
call fcn.1400c7530
jmp 0x140064d4c
lea rax, [rsp + 0x3f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov rcx, r15
mov rdx, rsi
mov r8d, 2
mov r9, r14
call fcn.1400d7290
test rax, rax
je 0x140064eb6
mov rbx, rax
and rax, 0xffffffffffe00000
mov ecx, ebx
shr ecx, 9
and ecx, 0xfe0
add rax, rcx
add rax, 0x1000
movzx ecx, byte [rax + 0x1e]
and ecx, 0x3f
shl ecx, 5
sub rax, rcx
jmp 0x140064dbc
int3
int3
xor ebx, ebx
jmp 0x140064de6
movaps xmm0, xmmword [0x1401879f0]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi], xmm0
lea rdx, str.first
mov rcx, rsi
call fcn.140114650
mov rcx, rsi
call fcn.140024cf0
mov rcx, r14
call fcn.140149c70
int3
Function at 0x14006e270
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 [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x14006e240]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x1401da7c8]
lea rdx, [0x14006e0e0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14006e368
cmp dword [0x1401da7d0], 0
jne 0x14006e375
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1401da7d4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x14006e31c
mov ecx, 1
mov edx, 0x28
call fcn.1400bad80
test rax, rax
je 0x14006e375
mov r14, rax
mov ecx, dword [0x1401da7d4]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14006e36d
lea r15, [0x1401da7d8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x1401da7e0]
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.1400de0a0
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400f2530
mov rcx, r14
call fcn.1400bace0
mov rcx, rsi
mov rax, rdi
call qword [0x1401ea008]
xor esi, esi
jmp 0x14006e34c

Function at 0x14006e7e0
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 [0x1401c76d0]
cmp ecx, 0xffffffff
je 0x14006e802
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14006e807
call fcn.14006e930
mov eax, dword [0x1401dc030]
mov ecx, dword [0x1401c8138]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006e8c0
mov rbx, qword [0x1401dc028]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14006e909
mov rcx, qword [0x1401da818]
inc rcx
xor edx, edx
lea rax, [0x1401da820]
lea r8d, [rcx + rdx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
mov r10d, r9d
cmp dword [rax + r10*8], 0
jne 0x14006e916
lea rcx, [rax + r10*8]
mov dword [rcx], 1
mov ecx, r9d
mov qword [rax + rcx*8 + 8], rdi
mov edx, dword [0x1401dc020]
inc edx
mov dword [0x1401dc020], edx
mov dword [rax + rcx*8 + 0x14], edx
mov qword [0x1401da818], r8
mov qword [rsi], r8
mov eax, dword [rax + rcx*8 + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x14006e906
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401dc030]
call fcn.1400dccd0
cmp dword [0x1401dc030], 0xffffffff
jne 0x14006e82c
mov ecx, 8
call fcn.1400dcb78
mov rbx, rax
mov rcx, rax
call fcn.1400a9410
mov qword [0x1401dc028], rbx
lea rcx, [0x1401dc030]
call fcn.1400dcd68
jmp 0x14006e82c
int3
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14006e844
inc rdx
cmp rdx, 0x100
jne 0x14006e857
jmp 0x14006e8a6
Function at 0x14006e930
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.1400de040
sub rsp, rax
mov rax, qword [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x1401c76d0]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x14006e9e4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14006ea22
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1400e01e0
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.1400dcbec
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.1400dfb30
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.1400de0a0
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.140083ae0
test al, al
je 0x14006ea25
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x14006ea28
mov eax, 0xffffffff
lock cmpxchg dword [0x1401c76d0], ecx
je 0x14006e968
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1401c76d0]
mov dword [rsp + 0x2c], ecx
jmp 0x14006e968
int3
int3
lea rcx, [rsp + 0x2c]
call fcn.140083ae0
test al, al
je 0x14006ea4d
cmp dword [rsp + 0x2c], 0xffffffff
je 0x14006ea4d
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x14006e9fb
int3

Function at 0x14006ea60
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1401c76d0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
je 0x14006eaa9
and rax, 0xfffffffffffffffc
je 0x14006eadc
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x14006eadc
mov rsi, qword [rax + rcx]
jmp 0x14006eade
lea rdx, [0x1401a01ea]
lea r8, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r9d, 0x1f6
call fcn.1400b5730
movabs rdx, 0x141dd76000
mov rcx, rsi
call fcn.140132830
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400de0a0
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x14006eb00
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401c76d0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14006eb3e
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 0x14006eb37
call fcn.14006e930
jmp 0x14006eb1e
Function at 0x14006f120
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14006f130
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 0x14006f151
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14006f171
cmp byte [r14 + 0x50], 0
jne 0x14006f1fc
or edi, 0x20000000
test dil, 8
jne 0x14006f207
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14006f18f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14006f1a0
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x14006f22e
cmp byte [r14 + 0x18], 0
jne 0x14006f23f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14006f24f
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 0x14006f224
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 0x14006f171
cmp byte [r14 + 0x68], 0
je 0x14006f219
or edi, 0x40000000
jmp 0x14006f17b
or edi, 0x10000000
jmp 0x14006f17b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14006f1e7
lea rcx, [r14 + 0x20]
call fcn.14003ea60
mov r15, rax
jmp 0x14006f1ab
mov rcx, r14
call fcn.14003ea60
mov r9, rax
jmp 0x14006f1b9
cmp ebx, 4
jne 0x14006f25e
mov edx, 6
jmp 0x14006f1c6
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14006f270
mov edx, 7
jmp 0x14006f1c6
cmp ebx, 1
jne 0x14006f27f
mov edx, 4
jmp 0x14006f1c6
xor edx, edx
jmp 0x14006f1c6
Function at 0x14006f130
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14006f130
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 0x14006f151
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14006f171
cmp byte [r14 + 0x50], 0
jne 0x14006f1fc
or edi, 0x20000000
test dil, 8
jne 0x14006f207
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14006f18f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14006f1a0
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x14006f22e
cmp byte [r14 + 0x18], 0
jne 0x14006f23f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14006f24f
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 0x14006f224
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 0x14006f171
cmp byte [r14 + 0x68], 0
je 0x14006f219
or edi, 0x40000000
jmp 0x14006f17b
or edi, 0x10000000
jmp 0x14006f17b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14006f1e7
lea rcx, [r14 + 0x20]
call fcn.14003ea60
mov r15, rax
jmp 0x14006f1ab
mov rcx, r14
call fcn.14003ea60
mov r9, rax
jmp 0x14006f1b9
cmp ebx, 4
jne 0x14006f25e
mov edx, 6
jmp 0x14006f1c6
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14006f270
mov edx, 7
jmp 0x14006f1c6
cmp ebx, 1
jne 0x14006f27f
mov edx, 4
jmp 0x14006f1c6
xor edx, edx
jmp 0x14006f1c6

Function at 0x14006f290
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 0x14006f2c8
cmp byte [r15 + 0x50], 0
jne 0x14006f35f
or edi, 0x20000000
test dil, 8
jne 0x14006f36a
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x14006f2e6
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x14006f2f7
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 0
jne 0x14006f391
cmp byte [r15 + 0x18], 0
jne 0x14006f3a2
xor r9d, r9d
cmp ebx, 4
jne 0x14006f350
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 0x14006f387
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 0x14006f3b2
mov edx, 7
jmp 0x14006f31a
or edi, 0x80000000
jmp 0x14006f2c8
cmp byte [r15 + 0x68], 0
je 0x14006f37c
or edi, 0x40000000
jmp 0x14006f2d2
or edi, 0x10000000
jmp 0x14006f2d2
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14006f33b
lea rcx, [r15 + 0x20]
call fcn.14003ea60
mov r14, rax
jmp 0x14006f302
mov rcx, r15
call fcn.14003ea60
mov r9, rax
jmp 0x14006f310
mov edx, 1
test ebx, ebx
je 0x14006f31a
cmp ebx, 1
jne 0x14006f3ce
mov edx, 4
jmp 0x14006f31a
xor edx, edx
jmp 0x14006f31a
Function at 0x140072bb0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x1401dc070], 0
jne 0x140072bed
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140072be0
mov dword [rdi], eax
mov dword [0x1401dc078], eax
mov qword [0x1401dc070], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3

Function at 0x140073b30
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x140073b58
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140073b93
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140073bb3
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1400de0a0
mov rcx, rsi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
jmp fcn.140073c90
mov sil, 1
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1400de0a0
mov eax, esi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400b54b0
test al, al
jne 0x140073bc5
xor esi, esi
jmp 0x140073b96
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, 0x265
mov r9d, 2
call fcn.140131680
lea rcx, [rsp + 0x68]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140114f60
mov rdi, rax
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x140073c15
and r8d, 0x7f
jmp 0x140073c1c
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.14009b8b0
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
call fcn.1400adf70
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x140073c4c
and r8d, 0x7f
jmp 0x140073c56
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.140114f60
cmp byte [rsp + 0x57], 0
jns 0x140073c72
mov rcx, qword [rsp + 0x40]
call fcn.1400dcbb4
lea rcx, [rsp + 0x58]
call fcn.140131700
jmp 0x140073bc1
Function at 0x140073c90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rsi, rcx
mov rax, qword [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0x170], rax
cmp byte [rcx + 0x17], 0
jns 0x140073cb7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140073cf5
mov dil, 1
test al, 0x10
je 0x140073ce5
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400de0a0
mov eax, edi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400b54b0
test al, al
je 0x140073d03
jmp 0x140073d5c
mov ecx, 2
call fcn.1400b54b0
test al, al
jne 0x140073d07
xor edi, edi
jmp 0x140073cc9
call sub.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.140131680
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140114f60
mov rcx, rax
mov rdx, rsi
call fcn.140132430
mov rcx, rdi
call fcn.140131700
jmp 0x140073d03
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x255
mov r9d, 2
call fcn.140048130
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140114f60
mov rcx, rax
mov rdx, rsi
call fcn.140132430
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.140114f60
mov rcx, rdi
call fcn.140048780
jmp 0x140073d03
Function at 0x140075230
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 [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.140073e50
mov rax, qword [rsi]
test rax, rax
je 0x1400752a7
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x1400752c3
lea rcx, [rsp + 0x28]
call fcn.140074900
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400de0a0
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x140075280
mov rcx, r14
mov rdx, rbx
call fcn.140076160
add r14, 0x68
mov qword [rdi + 8], r14
jmp 0x1400752d0
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 0
je 0x1400752db
add rbx, 0x70
cmp rbx, r15
je 0x140075280
jmp 0x1400752ca
cmp byte [rbx + 0x27], 0
js 0x1400752e7
lea rcx, [rbx + 0x10]
jmp 0x1400752eb
mov rcx, qword [rbx + 0x10]
call r12
test al, 0x10
jne 0x1400752d0
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
jb 0x1400752ae
mov rcx, rdi
mov rdx, rbx
call fcn.140075f90
mov r14, rax
jmp 0x1400752bd

Function at 0x140075310
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 [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.140073e50
mov rax, qword [rsi]
test rax, rax
je 0x140075387
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x14007538e
lea rcx, [rsp + 0x28]
call fcn.140074900
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400de0a0
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x140075360
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 2
jne 0x1400753cf
cmp byte [rbx + 0x27], 0
js 0x1400753a7
lea rcx, [rbx + 0x10]
jmp 0x1400753ab
mov rcx, qword [rbx + 0x10]
call r12
test al, 0x10
jne 0x1400753cf
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
jae 0x1400753da
mov rcx, r14
mov rdx, rbx
call fcn.140076160
add r14, 0x68
mov qword [rdi + 8], r14
add rbx, 0x70
cmp rbx, r15
je 0x140075360
jmp 0x140075395
mov rcx, rdi
mov rdx, rbx
call fcn.140075f90
mov r14, rax
jmp 0x1400753cb