joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b4030
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x1401d0348]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 0x120], 0
jne 0x1400b405b
call fcn.14014c1a8
mov eax, dword [0x1401d0348]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x188], 1
je 0x1400b4082
mov ecx, dword [rsi + 0x1928]
test ecx, ecx
je 0x1400b4086
xor edi, edi
jmp 0x1400b40e3
mov ecx, 1
lock xadd dword [rsi + 0x1928], ecx
cmp ecx, 0x7fffffff
je 0x1400b40ee
test rsi, rsi
je 0x1400b40f1
lea rbx, [rax + 0x188]
call fcn.1400e4730
mov edx, 0x568
mov rcx, rax
xor r8d, r8d
call fcn.140025e10
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.1400b4ac0
mov ecx, dword [0x1401d3600]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [rbx], rdi
lock dec dword [rsi + 0x1928]
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
int3
int3

Function at 0x1400b4970
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
cmp dword [rcx + 0xb78], 0x8000
jne 0x1400b4a9a
mov rsi, rcx
movzx eax, word [0x1401c36e8]
lea rax, [rax + rax*4]
cmp dword [rcx + rax*8 + 0x60], 0x200
jne 0x1400b4a9d
lea rcx, [0x1401c36a0]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400b49bd
cmp byte [0x1401d3658], 0
je 0x1400b49d2
jmp 0x1400b4a10
lea rcx, [0x1401c36a0]
call fcn.1400b5960
cmp byte [0x1401d3658], 0
jne 0x1400b4a10
cmp qword [0x1401d9250], 0
jne 0x1400b4aa3
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400b4aa6
mov dword [0x1401d3600], eax
mov dword [0x1401d9258], eax
lea rax, [0x1400b4760]
mov qword [0x1401d9250], rax
mov byte [0x1401d3658], 1
lea rcx, [0x1401c36a0]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor eax, eax
lock cmpxchg qword [0x1401d3660], rsi
jne 0x1400b4aa0
add rsi, 0x48
lea rax, [0x1400b4ab0]
mov qword [0x1401d9260], rax
xor eax, eax
lea rcx, [0x1401d3610]
jmp 0x1400b4a62
xor edx, edx
mov byte [rax + rcx], dl
inc rax
add rsi, 0x28
cmp rax, 0x48
je 0x1400b4a94
cmp qword [rsi], 0
je 0x1400b4a50
mov r8d, dword [rsi + 0x18]
mov dl, 0x80
cmp r8d, 0x81
jb 0x1400b4a52
mov dl, 0x40
cmp r8d, 0x101
jb 0x1400b4a52
cmp r8d, 0x201
setb dl
shl dl, 4
add dl, 0x10
jmp 0x1400b4a52
add rsp, 0x20
pop rsi
ret
int3
int3
int3
int3
int3
Function at 0x1400bec88
Capabilities:
Create thread

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rax, qword [0x1401c1028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 8]
mov ebx, 8
inc rax
cmp rax, 1
ja 0x1400bee01
mov rdi, rcx
cmp qword [rcx + 0x18], 0
jne 0x1400bee01
lea rbx, [rdi + 8]
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov rcx, rbx
mov rdx, rax
call fcn.14002873e
mov r15, qword [rbx]
mov ebx, 0x3b
lea rax, [r15 + 1]
cmp rax, 2
jb 0x1400bee01
mov ecx, 0x20
call fcn.14014b4a8
mov rbx, rax
mov qword [rax], rax
mov qword [rax + 8], rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
mov ecx, 0x18
call fcn.14014b4a8
mov r14, rax
mov rax, qword [rsi]
mov qword [rsi], 0
mov qword [r14], r15
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rbx
mov qword [rsp + 0x30], r14
mov rcx, qword [rdi + 0x18]
mov rax, qword [0x1401c35a0]
and rax, rcx
cmp rax, qword [0x1401c3588]
jne 0x1400bed61
call fcn.140085d60
mov rax, qword [0x1401c35a0]
and rax, rbx
cmp rax, qword [0x1401c3588]
jne 0x1400bed7c
mov rcx, rbx
call fcn.140085c20
mov qword [rdi + 0x18], rbx
lea r15, [rdi + 0x10]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400bee40]
xor ebx, ebx
xor ecx, ecx
xor edx, edx
mov r9, r14
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, r15
mov rdx, rax
call fcn.14002873e
mov rax, qword [rdi + 0x10]
inc rax
cmp rax, 1
ja 0x1400bedee
mov rcx, qword [rdi + 0x18]
mov rax, qword [0x1401c35a0]
and rax, rcx
cmp rax, qword [0x1401c3588]
jne 0x1400beddf
call fcn.140085d60
mov qword [rdi + 0x18], 0
mov ebx, 0x3b
jmp 0x1400bedf7
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1400bf33e
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x1400bee22
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov edx, 1
call qword [0x1401b4100]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14014c9b0
mov eax, ebx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400c0940
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x1401c1028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, qword [rcx]
mov rdx, qword [r14 + 8]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
lea rdi, [rsp + 0x20]
mov r8, rdi
call fcn.140065290
cmp byte [rsp + 0x37], 0
jns 0x1400c098f
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x37], 0
js 0x1400c09b0
test rsi, rsi
jne 0x1400c09c3
jmp 0x1400c0a83
mov rcx, qword [rsp + 0x20]
call fcn.14014b4e4
test rsi, rsi
je 0x1400c0a83
test edi, edi
je 0x1400c0a83
mov ecx, edi
add rcx, rcx
call fcn.14014b51c
mov rbx, rax
mov rcx, qword [r14]
mov rdx, qword [r14 + 8]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
lea r14, [rsp + 0x20]
mov r8, r14
call fcn.140065290
cmp byte [rsp + 0x37], 0
jns 0x1400c0a09
mov r14, qword [rsp + 0x20]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x37], 0
jns 0x1400c0a29
mov rcx, qword [rsp + 0x20]
call fcn.14014b4e4
test rbx, rbx
je 0x1400c0aa1
mov rcx, rbx
call fcn.14016c344
test rax, rax
js 0x1400c0aa4
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
lea r8, [rsp + 0x20]
mov rcx, rbx
mov rdx, rax
call fcn.140064ce0
cmp byte [rsi + 0x17], 0
jns 0x1400c0a6a
mov rcx, qword [rsi]
call fcn.14014b4e4
mov rax, qword [rsp + 0x30]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.14014b524
test edi, edi
setne bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14014c9b0
mov eax, ebx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
int3
Function at 0x1400c8320
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 [0x1401cf700]
cmp ecx, 0xffffffff
je 0x1400c8342
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400c8347
call fcn.1400c8460
mov eax, dword [0x1401d7710]
mov ecx, dword [0x1401d0348]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c8417
mov rbx, qword [0x1401d7708]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1400c8389
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x1401d5ef0]
inc rax
mov edx, 0x100
lea rcx, [0x1401d5f00]
nop
movzx r8d, al
lea r9, [r8 + r8*2]
cmp dword [rcx + r9*8], 0
je 0x1400c83ce
lea r8d, [rax + 1]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rcx + r9*8], 0
je 0x1400c83ce
add rax, 2
add rdx, 0xfffffffffffffffe
jne 0x1400c83a0
jmp 0x1400c83fd
lea rax, [rcx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x1401d7700]
inc ecx
mov dword [0x1401d7700], ecx
mov dword [rax + 0x14], ecx
mov qword [0x1401d5ef0], 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 0x1400c8459
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401d7710]
call fcn.14014b600
cmp dword [0x1401d7710], 0xffffffff
jne 0x1400c836c
mov ecx, 8
call fcn.14014b4a8
mov qword [rax], 0
mov qword [0x1401d7708], rax
lea rcx, [0x1401d7710]
call fcn.14014b698
jmp 0x1400c836c
int3

Function at 0x1400c8460
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1028
call fcn.14014c950
sub rsp, rax
mov rax, qword [0x1401c1028]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov esi, dword [0x1401cf700]
cmp esi, 0xffffffff
jne 0x1400c84bd
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400c853c
mov esi, eax
mov eax, 0xffffffff
lock cmpxchg dword [0x1401cf700], esi
je 0x1400c84bd
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov esi, dword [0x1401cf700]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400c8539
lea rdi, [rsp + 0x20]
mov r8d, 0x1000
mov rcx, rdi
xor edx, edx
call fcn.14014ead0
lea rdx, [rsp + 0x23]
mov r14, qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, esi
call r14
mov ecx, 0x1000
call fcn.14014b51c
mov rbx, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rdi
call fcn.14014e420
mov rdx, rbx
or rdx, 3
mov ecx, esi
call r14
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14014c9b0
mov rax, rbx
add rsp, 0x1028
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
int3
Function at 0x1400e70e8
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x1401c1028]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400e710f
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x1400e7211
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400e7150
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14014c9b0
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.1400e7234
cmp dword [0x1401d3120], 2
jg 0x1400e720f
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.140073fd0
lea rcx, [rsp + 0x60]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140027941
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x1400e71ad
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rax
test rax, rax
js 0x1400e722d
je 0x1400e71c3
test rsi, rsi
je 0x1400e7230
lea rsi, [rsp + 0x38]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400658f0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400e71e9
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.140027941
cmp byte [rsp + 0x4f], 0
jns 0x1400e7205
mov rcx, qword [rsp + 0x38]
call fcn.14014b4e4
lea rcx, [rsp + 0x50]
call fcn.140074160
xor edi, edi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14014c9b0
mov eax, edi
add rsp, 0x198
pop rdi
pop rsi
ret
int3
int3

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

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rsi, rcx
mov rax, qword [0x1401c1028]
xor rax, rsp
mov qword [rsp + 0x170], rax
cmp byte [rcx + 0x17], 0
jns 0x1400e725b
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400e72df
mov dil, 1
test al, 0x10
jne 0x1400e733e
cmp dword [0x1401d3120], 2
jg 0x1400e733c
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x255
mov r9d, 2
call fcn.140072e00
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140027941
mov rcx, rax
mov rdx, rsi
call fcn.140065fe0
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.140027941
mov rcx, rdi
call fcn.140073340
jmp 0x1400e733c
cmp dword [0x1401d3120], 2
jg 0x1400e733c
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.140073fd0
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140027941
mov rcx, rax
mov rdx, rsi
call fcn.140065fe0
mov rcx, rdi
call fcn.140074160
xor edi, edi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14014c9b0
mov eax, edi
add rsp, 0x178
pop rdi
pop rsi
ret
Function at 0x1400e8bce
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, qword [0x1401c1028]
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 0x1400e8c5b
mov rsi, r8
movdqu xmm0, xmmword [rbx]
pcmpeqb xmm0, xmmword [rsp + 0x20]
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x1400e8c24
add rbx, 0x70
cmp rbx, rax
jne 0x1400e8c03
jmp 0x1400e8c5b
cmp rbx, rax
je 0x1400e8c5b
cmp byte [rbx + 0x27], 0
jns 0x1400e8c35
mov rcx, qword [rbx + 0x10]
jmp 0x1400e8c39
lea rcx, [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 0x1400e8c5b
mov qword [rsi], rbx
xor edi, edi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14014c9b0
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400ea3b2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
mov eax, dword [rcx + 0x68]
cmp eax, edx
jne 0x1400ea3c9
cmp byte [rcx + 0x27], 0
jns 0x1400ea3d8
mov rcx, qword [rcx + 0x10]
jmp 0x1400ea3dc
xor ecx, ecx
cmp eax, 1
sete cl
lea eax, [rcx + rcx*2]
inc eax
jmp 0x1400ea3f5
add rcx, 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
add rsp, 0x28
ret
Function at 0x1400f2600
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x1401c1028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x1401d9200]
test rax, rax
jne 0x1400f2644
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x1401d9200]
test rax, rax
je 0x1400f2631
cmp eax, 2
jne 0x1400f268d
cmp dword [0x1401d3120], 2
jg 0x1400f2724
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x90
mov r9d, 2
call fcn.140072e00
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x1400f2717
mov eax, 1
lock xadd qword [0x1401d9238], rax
inc rax
cmp rax, 2
jl 0x1400f26b1
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1401d91c0], eax
mov qword [0x1401d91b8], rsi
mov rcx, qword [0x1401cf708]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1401d3120], 2
jg 0x1400f2724
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xbc
mov r9d, 2
call fcn.140072e00
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.140027941
mov rcx, rsi
call fcn.140073340
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.14014c9b0
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
Function at 0x1401006aa
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp dword [rcx + 0x10], 0
mov rcx, qword [rcx]
jne 0x1401006ce
test rcx, rcx
jne 0x1401006ce
cmp dword [rsi + 0x14], 0
jne 0x1401006ce
cmp qword [rsi + 8], 0
je 0x1401006e7
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rdi, [rsi + 0x30]
mov rcx, rdi
xor edx, edx
call fcn.14010076c
mov rdx, qword [rsi + 0x48]
mov qword [rsi + 0x48], 0
test rdx, rdx
je 0x140100715
lea rcx, fcn.1400b67d0
xor r8d, r8d
call fcn.1400ba310
mov rcx, qword [rsi + 0x38]
mov rax, qword [0x1401c35a0]
and rax, rcx
cmp rax, qword [0x1401c3588]
jne 0x140100731
call fcn.140085d60
mov qword [rsi + 0x38], 0
mov rcx, rdi
xor edx, edx
call fcn.14010076c
lea rcx, [rsi + 0x28]
call fcn.140028790
lea rcx, [rsi + 0x20]
call fcn.140028790
lea rcx, [rsi + 0x18]
call fcn.140028790
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1401003e0
Function at 0x140105890
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
push rbx
mov r8, rcx
xor ebx, ebx
xor eax, eax
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x1401059b0
mov edi, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov esi, eax
mov r9d, ecx
mov r11d, edx
mov r10d, 0
cmp edi, 7
jb 0x1401058f0
mov eax, 7
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
mov r10d, ecx
and ebx, 0x20
shr ebx, 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 0x140105987
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
jmp 0x140105989
xor eax, eax
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
and bl, al
mov byte [r8 + 0x16], bl
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x1401059e5
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
jne 0x140105a22
jmp 0x1401059ee
movzx edx, byte [r8 + 0x19]
test dl, dl
jne 0x140105a22
cmp byte [r8 + 0x1a], 0
je 0x140105a22
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x140105a22
cmp ecx, 0x666f736f
jne 0x140105a22
cmp edx, 0x76482074
jne 0x140105a22
mov byte [r8 + 0x19], 1
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401089e0
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x1401c1028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov byte [rcx], 0
mov eax, dword [0x1401d0348]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x228]
mov qword [rsi + 8], rcx
mov rcx, qword [rax + 0x228]
mov qword [rax + 0x228], rsi
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x38], 0
mov dword [rsi + 0x40], 0
mov byte [rsi + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x58], r8
mov qword [rsi + 0x60], r9
movzx eax, byte [0x1401d2eaf]
test al, al
setne byte [rsi + 0x30]
je 0x140108a7e
lea rdi, [rsi + 0x20]
mov rax, qword [0x1401c3548]
lea rcx, [rsp + 0x28]
call qword [0x1401b4100]
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14014c9b0
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x14010a690
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, dword [0x1401d9370]
mov ecx, dword [0x1401d0348]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14010a7c0
mov ecx, dword [0x1401cf700]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14010a6f1
mov rcx, qword [0x1401d9360]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1401d9368]
jne 0x14010a6f1
add rax, rcx
cmp qword [rax], 0
jne 0x14010a77a
mov ecx, 4
call fcn.14014b4a8
mov rsi, rax
mov dword [rax], 0
mov ecx, dword [0x1401cf700]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14010a735
mov rcx, qword [0x1401d9360]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1401d9368]
jne 0x14010a735
add rax, rcx
mov rdi, qword [rax]
jmp 0x14010a737
xor edi, edi
mov ecx, dword [0x1401cf700]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14010a7b4
mov rcx, qword [0x1401d9360]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x1401d9368]
mov rdx, qword [0x1401d9360]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
test rdi, rdi
je 0x14010a77a
mov rcx, rdi
call fcn.14014b4e4
mov ecx, dword [0x1401cf700]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14010a7ab
mov rcx, qword [0x1401d9360]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1401d9368]
jne 0x14010a7ab
add rax, rcx
mov rax, qword [rax]
jmp 0x14010a7ad
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
test rsi, rsi
je 0x14010a76d
call fcn.1400c8460
jmp 0x14010a749
lea rcx, [0x1401d9370]
call fcn.14014b600
cmp dword [0x1401d9370], 0xffffffff
jne 0x14010a6bb
mov qword [0x1401d9368], 0
lea rcx, [0x1401d9360]
mov qword [0x1401d9360], 0xffffffffffffffff
lea rdx, [0x140063740]
call fcn.1400c8320
lea rcx, [0x1401d9370]
call fcn.14014b698
jmp 0x14010a6bb
Function at 0x14010dd92
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 [0x1401c1028]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x14010ddbc
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14010dddb
mov edi, eax
bt eax, 0xa
jae 0x14010ddd3
test bl, bl
je 0x14010de38
and edi, 0x10
shr edi, 4
jmp 0x14010de3a
cmp dword [0x1401d3120], 2
jg 0x14010de38
call qword [sym.imp.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.140073fd0
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140027941
mov rcx, rax
mov rdx, rsi
call fcn.140065fe0
mov rcx, rdi
call fcn.140074160
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.14014c9b0
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret

Function at 0x14010de57
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x1401c1028]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x14010de82
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x14010df73
test bl, bl
je 0x14010df14
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14010df14
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.14010dd92
test al, al
jne 0x14010df73
cmp dword [0x1401d3120], 2
jg 0x14010df71
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x5c
mov r9d, 2
call fcn.140072e00
lea rcx, [rsp + 0x38]
mov rdx, rsi
call fcn.140065fe0
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.140027941
mov rcx, rdi
call fcn.140073340
jmp 0x14010df71
cmp dword [0x1401d3120], 2
jg 0x14010df71
call qword [sym.imp.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.140073fd0
lea rcx, [rsp + 0x38]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140027941
mov rcx, rax
mov rdx, rsi
call fcn.140065fe0
mov rcx, rdi
call fcn.140074160
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.14014c9b0
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret